diff --git a/src/api/order/content-types/order/schema.json b/src/api/order/content-types/order/schema.json index 5f783eb..a58fa3f 100644 --- a/src/api/order/content-types/order/schema.json +++ b/src/api/order/content-types/order/schema.json @@ -83,6 +83,18 @@ "paymentStatus": { "type": "string" }, + "paypalOrderId": { + "type": "string", + "private": true + }, + "paypalCaptureId": { + "type": "string", + "private": true + }, + "paymentCapturedAt": { + "type": "datetime", + "private": true + }, "emailSent": { "type": "boolean", "default": false diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index fbd56db..5f83aed 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -389,7 +389,10 @@ export interface ApiOrderOrder extends Schema.CollectionType { invoiceSent: Attribute.Boolean & Attribute.DefaultTo; payment: Attribute.Relation<"api::order.order", "oneToOne", "api::payment.payment">; paymentAuthorised: Attribute.Boolean & Attribute.DefaultTo; + paymentCapturedAt: Attribute.DateTime & Attribute.Private; paymentStatus: Attribute.String; + paypalCaptureId: Attribute.String & Attribute.Private; + paypalOrderId: Attribute.String & Attribute.Private; subtotal: Attribute.Decimal; total: Attribute.Decimal; updatedAt: Attribute.DateTime;