@nimee/shared-types 1.0.297 → 1.0.300
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/dist/payment/charge.d.ts +1 -0
- package/dist/payment/endUserSeasonTicket.d.ts +1 -0
- package/dist/payment/endUserSeasonTicket.js.map +1 -1
- package/dist/payment/seasonTicket.d.ts +3 -1
- package/dist/payment/seasonTicket.js +1 -0
- package/dist/payment/seasonTicket.js.map +1 -1
- package/package.json +1 -1
- package/src/payment/charge.ts +1 -0
- package/src/payment/endUserSeasonTicket.ts +1 -0
- package/src/payment/seasonTicket.ts +2 -0
package/dist/payment/charge.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"endUserSeasonTicket.js","sourceRoot":"","sources":["../../src/payment/endUserSeasonTicket.ts"],"names":[],"mappings":";;;AA+FA,IAAY,uBAYX;AAZD,WAAY,uBAAuB;IACjC,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;IACnB,kDAAuB,CAAA;IACvB,wEAA6C,CAAA;IAC7C,4CAAiB,CAAA;IACjB,kDAAuB,CAAA;IACvB,8CAAmB,CAAA;IACnB,4CAAiB,CAAA;IACjB,0EAA+C,CAAA;IAC/C,0EAA+C,CAAA;IAC/C,gDAAqB,CAAA;AACvB,CAAC,EAZW,uBAAuB,uCAAvB,uBAAuB,QAYlC;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;IACf,8BAAe,CAAA;AACjB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
|
|
@@ -42,6 +42,7 @@ export interface ISeasonTicketModel {
|
|
|
42
42
|
entryPassTotalTicketsAllowed?: number;
|
|
43
43
|
isPublic: boolean;
|
|
44
44
|
description?: string;
|
|
45
|
+
maxInstallments?: number;
|
|
45
46
|
externalProductId?: string;
|
|
46
47
|
externalPriceId?: string;
|
|
47
48
|
familyEnabled?: boolean;
|
|
@@ -66,7 +67,8 @@ export declare enum IPaymentSeasonTicketIterationType {
|
|
|
66
67
|
DAILY = 1,
|
|
67
68
|
WEEKLY = 2,
|
|
68
69
|
MONTHLY = 3,
|
|
69
|
-
YEARLY = 4
|
|
70
|
+
YEARLY = 4,
|
|
71
|
+
ONE_TIME = 5
|
|
70
72
|
}
|
|
71
73
|
export declare enum ISeasonTicketType {
|
|
72
74
|
SEASON_TICKET = "season-ticket",
|
|
@@ -7,6 +7,7 @@ var IPaymentSeasonTicketIterationType;
|
|
|
7
7
|
IPaymentSeasonTicketIterationType[IPaymentSeasonTicketIterationType["WEEKLY"] = 2] = "WEEKLY";
|
|
8
8
|
IPaymentSeasonTicketIterationType[IPaymentSeasonTicketIterationType["MONTHLY"] = 3] = "MONTHLY";
|
|
9
9
|
IPaymentSeasonTicketIterationType[IPaymentSeasonTicketIterationType["YEARLY"] = 4] = "YEARLY";
|
|
10
|
+
IPaymentSeasonTicketIterationType[IPaymentSeasonTicketIterationType["ONE_TIME"] = 5] = "ONE_TIME";
|
|
10
11
|
})(IPaymentSeasonTicketIterationType || (exports.IPaymentSeasonTicketIterationType = IPaymentSeasonTicketIterationType = {}));
|
|
11
12
|
var ISeasonTicketType;
|
|
12
13
|
(function (ISeasonTicketType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seasonTicket.js","sourceRoot":"","sources":["../../src/payment/seasonTicket.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"seasonTicket.js","sourceRoot":"","sources":["../../src/payment/seasonTicket.ts"],"names":[],"mappings":";;;AA2CA,IAAY,iCAMX;AAND,WAAY,iCAAiC;IAC3C,2FAAS,CAAA;IACT,6FAAU,CAAA;IACV,+FAAW,CAAA;IACX,6FAAU,CAAA;IACV,iGAAY,CAAA;AACd,CAAC,EANW,iCAAiC,iDAAjC,iCAAiC,QAM5C;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,oDAA+B,CAAA;IAC/B,8CAAyB,CAAA;AAC3B,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
|
package/package.json
CHANGED
package/src/payment/charge.ts
CHANGED
|
@@ -69,6 +69,7 @@ export interface IChargeModel {
|
|
|
69
69
|
// payme_signature: string; // 75e99dbcb25cdfbe1c62f0b9376f4144
|
|
70
70
|
sale_invoice_url?: string; // https://www.example.com/XXXXXX.pdf Sale invoice URL, if the seller has enabled the invoices
|
|
71
71
|
sale_invoice_number?: string; // Invoice document number from invoice provider (e.g. iCount doc_number)
|
|
72
|
+
marketplace?: string;
|
|
72
73
|
event: string;
|
|
73
74
|
account: string;
|
|
74
75
|
seller?: string;
|
|
@@ -67,6 +67,7 @@ export interface IEndUserSeasonTicketModel {
|
|
|
67
67
|
comment?: string;
|
|
68
68
|
businessCode?: string;
|
|
69
69
|
businessName?: string;
|
|
70
|
+
installments?: number;
|
|
70
71
|
// Provider-agnostic fields for multi-provider support
|
|
71
72
|
paymentProvider?: PaymentProviders;
|
|
72
73
|
externalCustomerId?: string; // Stripe: cus_xxx, Payme: BUYER-xxx
|
|
@@ -17,6 +17,7 @@ export interface ISeasonTicketModel {
|
|
|
17
17
|
entryPassTotalTicketsAllowed?: number;
|
|
18
18
|
isPublic: boolean;
|
|
19
19
|
description?: string;
|
|
20
|
+
maxInstallments?: number;
|
|
20
21
|
// Provider-agnostic fields for multi-provider support
|
|
21
22
|
externalProductId?: string; // Stripe: prod_xxx, Payme: product_id
|
|
22
23
|
externalPriceId?: string; // Stripe: price_xxx, Payme: plan_id
|
|
@@ -45,6 +46,7 @@ export enum IPaymentSeasonTicketIterationType {
|
|
|
45
46
|
WEEKLY = 2,
|
|
46
47
|
MONTHLY = 3,
|
|
47
48
|
YEARLY = 4,
|
|
49
|
+
ONE_TIME = 5,
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
export enum ISeasonTicketType {
|