@aptly-as/types 2.5.11 → 2.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/enums/index.d.ts +1 -0
- package/enums/index.js +1 -0
- package/models/order.d.ts +3 -1
- package/package.json +1 -1
package/enums/index.d.ts
CHANGED
|
@@ -142,6 +142,7 @@ export declare enum AptlyEmailType {
|
|
|
142
142
|
OrderSigned = "order-signed",
|
|
143
143
|
OrderSignedManually = "order-signed-manually",
|
|
144
144
|
OrderPay = "order-pay",
|
|
145
|
+
OrderPayNotify = "order-pay-notify",
|
|
145
146
|
OrderPayFailed = "order-pay-failed",
|
|
146
147
|
OrderPayed = "order-payed",
|
|
147
148
|
OrderReceipt = "order-receipt",
|
package/enums/index.js
CHANGED
|
@@ -162,6 +162,7 @@ export var AptlyEmailType;
|
|
|
162
162
|
AptlyEmailType["OrderSigned"] = "order-signed";
|
|
163
163
|
AptlyEmailType["OrderSignedManually"] = "order-signed-manually";
|
|
164
164
|
AptlyEmailType["OrderPay"] = "order-pay";
|
|
165
|
+
AptlyEmailType["OrderPayNotify"] = "order-pay-notify";
|
|
165
166
|
AptlyEmailType["OrderPayFailed"] = "order-pay-failed";
|
|
166
167
|
AptlyEmailType["OrderPayed"] = "order-payed";
|
|
167
168
|
AptlyEmailType["OrderReceipt"] = "order-receipt";
|
package/models/order.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export interface AptlyOrderSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DAT
|
|
|
48
48
|
}
|
|
49
49
|
export type AptlyOrderPaymentSession = AptlyOrderPaymentSessionSchema<string, string>;
|
|
50
50
|
export interface AptlyOrderPaymentSessionSchema<ID, DATE> {
|
|
51
|
-
app?: ID
|
|
51
|
+
app?: ID | AptlyAppSchema<ID, DATE>;
|
|
52
52
|
status?: AptlyOrderPaymentStatus;
|
|
53
53
|
url?: string;
|
|
54
54
|
id?: string;
|
|
@@ -57,6 +57,7 @@ export interface AptlyOrderPaymentSessionSchema<ID, DATE> {
|
|
|
57
57
|
expiresAt?: DATE | null;
|
|
58
58
|
paidAt?: DATE | null;
|
|
59
59
|
capturedAt?: DATE | null;
|
|
60
|
+
notifiedAt?: DATE | null;
|
|
60
61
|
}
|
|
61
62
|
export type AptlyOrderSignee = AptlyOrderSigneeSchema<string, string>;
|
|
62
63
|
export interface AptlyOrderSigneeSchema<ID, DATE> {
|
|
@@ -79,6 +80,7 @@ export interface AptlyOrderPricePipelineItemSchema<ID> {
|
|
|
79
80
|
export type AptlyOrderSignage = AptlyOrderSignageSchema<string, string>;
|
|
80
81
|
export interface AptlyOrderSignageSchema<ID, DATE> {
|
|
81
82
|
signed: boolean;
|
|
83
|
+
app?: ID | AptlyAppSchema<ID, DATE>;
|
|
82
84
|
createdAt?: DATE | null;
|
|
83
85
|
expiresAt?: DATE | null;
|
|
84
86
|
signedAt?: DATE | null;
|