@forklaunch/implementation-billing-stripe 0.0.1 → 0.0.3
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/lib/domain/enum/index.d.mts +194 -0
- package/lib/domain/enum/index.d.ts +194 -0
- package/lib/domain/enum/index.js +236 -0
- package/lib/domain/enum/index.mjs +201 -0
- package/lib/domain/schemas/index.d.mts +4142 -0
- package/lib/domain/schemas/index.d.ts +4142 -0
- package/lib/{schemas → domain/schemas}/index.js +351 -275
- package/lib/{schemas → domain/schemas}/index.mjs +224 -223
- package/lib/domain/types/index.d.mts +280 -0
- package/lib/domain/types/index.d.ts +280 -0
- package/lib/{types → domain/types}/index.js +9 -5
- package/lib/eject/domain/enum/billingProvider.enum.ts +3 -0
- package/lib/eject/domain/enum/currency.enum.ts +137 -0
- package/lib/eject/domain/enum/index.ts +4 -0
- package/lib/eject/domain/enum/paymentMethod.enum.ts +39 -0
- package/lib/eject/domain/enum/planCadence.enum.ts +5 -0
- package/lib/eject/domain/schemas/checkoutSession.schema.ts +2 -2
- package/lib/eject/domain/schemas/paymentLink.schema.ts +2 -2
- package/lib/eject/domain/schemas/plan.schema.ts +3 -3
- package/lib/eject/domain/schemas/subscription.schema.ts +1 -1
- package/lib/eject/{types → domain/types}/stripe.dto.types.ts +4 -4
- package/lib/eject/{types → domain/types}/stripe.entity.types.ts +4 -4
- package/lib/eject/services/billingPortal.service.ts +2 -2
- package/lib/eject/services/checkoutSession.service.ts +4 -4
- package/lib/eject/services/paymentLink.service.ts +4 -4
- package/lib/eject/services/plan.service.ts +5 -5
- package/lib/eject/services/subscription.service.ts +3 -3
- package/lib/eject/services/webhook.service.ts +5 -5
- package/lib/services/index.d.mts +709 -194
- package/lib/services/index.d.ts +709 -194
- package/lib/services/index.js +359 -244
- package/lib/services/index.mjs +298 -205
- package/package.json +16 -16
- package/lib/domain/index.d.mts +0 -189
- package/lib/domain/index.d.ts +0 -189
- package/lib/domain/index.js +0 -231
- package/lib/domain/index.mjs +0 -201
- package/lib/schemas/index.d.mts +0 -376
- package/lib/schemas/index.d.ts +0 -376
- package/lib/types/index.d.mts +0 -121
- package/lib/types/index.d.ts +0 -121
- /package/lib/{types → domain/types}/index.mjs +0 -0
- /package/lib/eject/{types → domain/types}/index.ts +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
declare enum BillingProviderEnum {
|
|
2
|
+
STRIPE = 'stripe'
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare enum CurrencyEnum {
|
|
6
|
+
USD = 'USD',
|
|
7
|
+
AED = 'AED',
|
|
8
|
+
AFN = 'AFN',
|
|
9
|
+
ALL = 'ALL',
|
|
10
|
+
AMD = 'AMD',
|
|
11
|
+
ANG = 'ANG',
|
|
12
|
+
AOA = 'AOA',
|
|
13
|
+
ARS = 'ARS',
|
|
14
|
+
AUD = 'AUD',
|
|
15
|
+
AWG = 'AWG',
|
|
16
|
+
AZN = 'AZN',
|
|
17
|
+
BAM = 'BAM',
|
|
18
|
+
BBD = 'BBD',
|
|
19
|
+
BDT = 'BDT',
|
|
20
|
+
BGN = 'BGN',
|
|
21
|
+
BIF = 'BIF',
|
|
22
|
+
BMD = 'BMD',
|
|
23
|
+
BND = 'BND',
|
|
24
|
+
BOB = 'BOB',
|
|
25
|
+
BRL = 'BRL',
|
|
26
|
+
BSD = 'BSD',
|
|
27
|
+
BWP = 'BWP',
|
|
28
|
+
BYN = 'BYN',
|
|
29
|
+
BZD = 'BZD',
|
|
30
|
+
CAD = 'CAD',
|
|
31
|
+
CDF = 'CDF',
|
|
32
|
+
CHF = 'CHF',
|
|
33
|
+
CLP = 'CLP',
|
|
34
|
+
CNY = 'CNY',
|
|
35
|
+
COP = 'COP',
|
|
36
|
+
CRC = 'CRC',
|
|
37
|
+
CVE = 'CVE',
|
|
38
|
+
CZK = 'CZK',
|
|
39
|
+
DJF = 'DJF',
|
|
40
|
+
DKK = 'DKK',
|
|
41
|
+
DOP = 'DOP',
|
|
42
|
+
DZD = 'DZD',
|
|
43
|
+
EGP = 'EGP',
|
|
44
|
+
ETB = 'ETB',
|
|
45
|
+
EUR = 'EUR',
|
|
46
|
+
FJD = 'FJD',
|
|
47
|
+
FKP = 'FKP',
|
|
48
|
+
GBP = 'GBP',
|
|
49
|
+
GEL = 'GEL',
|
|
50
|
+
GIP = 'GIP',
|
|
51
|
+
GMD = 'GMD',
|
|
52
|
+
GNF = 'GNF',
|
|
53
|
+
GTQ = 'GTQ',
|
|
54
|
+
GYD = 'GYD',
|
|
55
|
+
HKD = 'HKD',
|
|
56
|
+
HNL = 'HNL',
|
|
57
|
+
HTG = 'HTG',
|
|
58
|
+
HUF = 'HUF',
|
|
59
|
+
IDR = 'IDR',
|
|
60
|
+
ILS = 'ILS',
|
|
61
|
+
INR = 'INR',
|
|
62
|
+
ISK = 'ISK',
|
|
63
|
+
JMD = 'JMD',
|
|
64
|
+
JPY = 'JPY',
|
|
65
|
+
KES = 'KES',
|
|
66
|
+
KGS = 'KGS',
|
|
67
|
+
KHR = 'KHR',
|
|
68
|
+
KMF = 'KMF',
|
|
69
|
+
KRW = 'KRW',
|
|
70
|
+
KYD = 'KYD',
|
|
71
|
+
KZT = 'KZT',
|
|
72
|
+
LAK = 'LAK',
|
|
73
|
+
LBP = 'LBP',
|
|
74
|
+
LKR = 'LKR',
|
|
75
|
+
LRD = 'LRD',
|
|
76
|
+
LSL = 'LSL',
|
|
77
|
+
MAD = 'MAD',
|
|
78
|
+
MDL = 'MDL',
|
|
79
|
+
MGA = 'MGA',
|
|
80
|
+
MKD = 'MKD',
|
|
81
|
+
MMK = 'MMK',
|
|
82
|
+
MNT = 'MNT',
|
|
83
|
+
MOP = 'MOP',
|
|
84
|
+
MUR = 'MUR',
|
|
85
|
+
MVR = 'MVR',
|
|
86
|
+
MWK = 'MWK',
|
|
87
|
+
MXN = 'MXN',
|
|
88
|
+
MYR = 'MYR',
|
|
89
|
+
MZN = 'MZN',
|
|
90
|
+
NAD = 'NAD',
|
|
91
|
+
NGN = 'NGN',
|
|
92
|
+
NIO = 'NIO',
|
|
93
|
+
NOK = 'NOK',
|
|
94
|
+
NPR = 'NPR',
|
|
95
|
+
NZD = 'NZD',
|
|
96
|
+
PAB = 'PAB',
|
|
97
|
+
PEN = 'PEN',
|
|
98
|
+
PGK = 'PGK',
|
|
99
|
+
PHP = 'PHP',
|
|
100
|
+
PKR = 'PKR',
|
|
101
|
+
PLN = 'PLN',
|
|
102
|
+
PYG = 'PYG',
|
|
103
|
+
QAR = 'QAR',
|
|
104
|
+
RON = 'RON',
|
|
105
|
+
RSD = 'RSD',
|
|
106
|
+
RUB = 'RUB',
|
|
107
|
+
RWF = 'RWF',
|
|
108
|
+
SAR = 'SAR',
|
|
109
|
+
SBD = 'SBD',
|
|
110
|
+
SCR = 'SCR',
|
|
111
|
+
SEK = 'SEK',
|
|
112
|
+
SGD = 'SGD',
|
|
113
|
+
SHP = 'SHP',
|
|
114
|
+
SLE = 'SLE',
|
|
115
|
+
SOS = 'SOS',
|
|
116
|
+
SRD = 'SRD',
|
|
117
|
+
STD = 'STD',
|
|
118
|
+
SZL = 'SZL',
|
|
119
|
+
THB = 'THB',
|
|
120
|
+
TJS = 'TJS',
|
|
121
|
+
TOP = 'TOP',
|
|
122
|
+
TRY = 'TRY',
|
|
123
|
+
TTD = 'TTD',
|
|
124
|
+
TWD = 'TWD',
|
|
125
|
+
TZS = 'TZS',
|
|
126
|
+
UAH = 'UAH',
|
|
127
|
+
UGX = 'UGX',
|
|
128
|
+
UYU = 'UYU',
|
|
129
|
+
UZS = 'UZS',
|
|
130
|
+
VND = 'VND',
|
|
131
|
+
VUV = 'VUV',
|
|
132
|
+
WST = 'WST',
|
|
133
|
+
XAF = 'XAF',
|
|
134
|
+
XCD = 'XCD',
|
|
135
|
+
XCG = 'XCG',
|
|
136
|
+
XOF = 'XOF',
|
|
137
|
+
XPF = 'XPF',
|
|
138
|
+
YER = 'YER',
|
|
139
|
+
ZAR = 'ZAR',
|
|
140
|
+
ZMW = 'ZMW'
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare enum PaymentMethodEnum {
|
|
144
|
+
AFFIRM = 'affirm',
|
|
145
|
+
AFTERPAY_CLEARPAY = 'afterpay_clearpay',
|
|
146
|
+
ALIPAY = 'alipay',
|
|
147
|
+
ALMA = 'alma',
|
|
148
|
+
AU_BECS_DEBIT = 'au_becs_debit',
|
|
149
|
+
BACS_DEBIT = 'bacs_debit',
|
|
150
|
+
BANCONTACT = 'bancontact',
|
|
151
|
+
BILLIE = 'billie',
|
|
152
|
+
BLIK = 'blik',
|
|
153
|
+
BOLETO = 'boleto',
|
|
154
|
+
CARD = 'card',
|
|
155
|
+
CASHAPP = 'cashapp',
|
|
156
|
+
EPS = 'eps',
|
|
157
|
+
FPX = 'fpx',
|
|
158
|
+
GIROPAY = 'giropay',
|
|
159
|
+
GRABPAY = 'grabpay',
|
|
160
|
+
IDEAL = 'ideal',
|
|
161
|
+
KLARNA = 'klarna',
|
|
162
|
+
KONBINI = 'konbini',
|
|
163
|
+
LINK = 'link',
|
|
164
|
+
MOBILEPAY = 'mobilepay',
|
|
165
|
+
MULTIBANCO = 'multibanco',
|
|
166
|
+
OXXO = 'oxxo',
|
|
167
|
+
P24 = 'p24',
|
|
168
|
+
PAY_BY_BANK = 'pay_by_bank',
|
|
169
|
+
PAYNOW = 'paynow',
|
|
170
|
+
PAYPAL = 'paypal',
|
|
171
|
+
PIX = 'pix',
|
|
172
|
+
PROMPTPAY = 'promptpay',
|
|
173
|
+
SATISPAY = 'satispay',
|
|
174
|
+
SEPA_DEBIT = 'sepa_debit',
|
|
175
|
+
SOFORT = 'sofort',
|
|
176
|
+
SWISH = 'swish',
|
|
177
|
+
TWINT = 'twint',
|
|
178
|
+
US_BANK_ACCOUNT = 'us_bank_account',
|
|
179
|
+
WECHAT_PAY = 'wechat_pay',
|
|
180
|
+
ZIP = 'zip'
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare enum PlanCadenceEnum {
|
|
184
|
+
WEEKLY = 'week',
|
|
185
|
+
MONTHLY = 'month',
|
|
186
|
+
ANNUALLY = 'year'
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export {
|
|
190
|
+
BillingProviderEnum,
|
|
191
|
+
CurrencyEnum,
|
|
192
|
+
PaymentMethodEnum,
|
|
193
|
+
PlanCadenceEnum
|
|
194
|
+
};
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
declare enum BillingProviderEnum {
|
|
2
|
+
STRIPE = 'stripe'
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare enum CurrencyEnum {
|
|
6
|
+
USD = 'USD',
|
|
7
|
+
AED = 'AED',
|
|
8
|
+
AFN = 'AFN',
|
|
9
|
+
ALL = 'ALL',
|
|
10
|
+
AMD = 'AMD',
|
|
11
|
+
ANG = 'ANG',
|
|
12
|
+
AOA = 'AOA',
|
|
13
|
+
ARS = 'ARS',
|
|
14
|
+
AUD = 'AUD',
|
|
15
|
+
AWG = 'AWG',
|
|
16
|
+
AZN = 'AZN',
|
|
17
|
+
BAM = 'BAM',
|
|
18
|
+
BBD = 'BBD',
|
|
19
|
+
BDT = 'BDT',
|
|
20
|
+
BGN = 'BGN',
|
|
21
|
+
BIF = 'BIF',
|
|
22
|
+
BMD = 'BMD',
|
|
23
|
+
BND = 'BND',
|
|
24
|
+
BOB = 'BOB',
|
|
25
|
+
BRL = 'BRL',
|
|
26
|
+
BSD = 'BSD',
|
|
27
|
+
BWP = 'BWP',
|
|
28
|
+
BYN = 'BYN',
|
|
29
|
+
BZD = 'BZD',
|
|
30
|
+
CAD = 'CAD',
|
|
31
|
+
CDF = 'CDF',
|
|
32
|
+
CHF = 'CHF',
|
|
33
|
+
CLP = 'CLP',
|
|
34
|
+
CNY = 'CNY',
|
|
35
|
+
COP = 'COP',
|
|
36
|
+
CRC = 'CRC',
|
|
37
|
+
CVE = 'CVE',
|
|
38
|
+
CZK = 'CZK',
|
|
39
|
+
DJF = 'DJF',
|
|
40
|
+
DKK = 'DKK',
|
|
41
|
+
DOP = 'DOP',
|
|
42
|
+
DZD = 'DZD',
|
|
43
|
+
EGP = 'EGP',
|
|
44
|
+
ETB = 'ETB',
|
|
45
|
+
EUR = 'EUR',
|
|
46
|
+
FJD = 'FJD',
|
|
47
|
+
FKP = 'FKP',
|
|
48
|
+
GBP = 'GBP',
|
|
49
|
+
GEL = 'GEL',
|
|
50
|
+
GIP = 'GIP',
|
|
51
|
+
GMD = 'GMD',
|
|
52
|
+
GNF = 'GNF',
|
|
53
|
+
GTQ = 'GTQ',
|
|
54
|
+
GYD = 'GYD',
|
|
55
|
+
HKD = 'HKD',
|
|
56
|
+
HNL = 'HNL',
|
|
57
|
+
HTG = 'HTG',
|
|
58
|
+
HUF = 'HUF',
|
|
59
|
+
IDR = 'IDR',
|
|
60
|
+
ILS = 'ILS',
|
|
61
|
+
INR = 'INR',
|
|
62
|
+
ISK = 'ISK',
|
|
63
|
+
JMD = 'JMD',
|
|
64
|
+
JPY = 'JPY',
|
|
65
|
+
KES = 'KES',
|
|
66
|
+
KGS = 'KGS',
|
|
67
|
+
KHR = 'KHR',
|
|
68
|
+
KMF = 'KMF',
|
|
69
|
+
KRW = 'KRW',
|
|
70
|
+
KYD = 'KYD',
|
|
71
|
+
KZT = 'KZT',
|
|
72
|
+
LAK = 'LAK',
|
|
73
|
+
LBP = 'LBP',
|
|
74
|
+
LKR = 'LKR',
|
|
75
|
+
LRD = 'LRD',
|
|
76
|
+
LSL = 'LSL',
|
|
77
|
+
MAD = 'MAD',
|
|
78
|
+
MDL = 'MDL',
|
|
79
|
+
MGA = 'MGA',
|
|
80
|
+
MKD = 'MKD',
|
|
81
|
+
MMK = 'MMK',
|
|
82
|
+
MNT = 'MNT',
|
|
83
|
+
MOP = 'MOP',
|
|
84
|
+
MUR = 'MUR',
|
|
85
|
+
MVR = 'MVR',
|
|
86
|
+
MWK = 'MWK',
|
|
87
|
+
MXN = 'MXN',
|
|
88
|
+
MYR = 'MYR',
|
|
89
|
+
MZN = 'MZN',
|
|
90
|
+
NAD = 'NAD',
|
|
91
|
+
NGN = 'NGN',
|
|
92
|
+
NIO = 'NIO',
|
|
93
|
+
NOK = 'NOK',
|
|
94
|
+
NPR = 'NPR',
|
|
95
|
+
NZD = 'NZD',
|
|
96
|
+
PAB = 'PAB',
|
|
97
|
+
PEN = 'PEN',
|
|
98
|
+
PGK = 'PGK',
|
|
99
|
+
PHP = 'PHP',
|
|
100
|
+
PKR = 'PKR',
|
|
101
|
+
PLN = 'PLN',
|
|
102
|
+
PYG = 'PYG',
|
|
103
|
+
QAR = 'QAR',
|
|
104
|
+
RON = 'RON',
|
|
105
|
+
RSD = 'RSD',
|
|
106
|
+
RUB = 'RUB',
|
|
107
|
+
RWF = 'RWF',
|
|
108
|
+
SAR = 'SAR',
|
|
109
|
+
SBD = 'SBD',
|
|
110
|
+
SCR = 'SCR',
|
|
111
|
+
SEK = 'SEK',
|
|
112
|
+
SGD = 'SGD',
|
|
113
|
+
SHP = 'SHP',
|
|
114
|
+
SLE = 'SLE',
|
|
115
|
+
SOS = 'SOS',
|
|
116
|
+
SRD = 'SRD',
|
|
117
|
+
STD = 'STD',
|
|
118
|
+
SZL = 'SZL',
|
|
119
|
+
THB = 'THB',
|
|
120
|
+
TJS = 'TJS',
|
|
121
|
+
TOP = 'TOP',
|
|
122
|
+
TRY = 'TRY',
|
|
123
|
+
TTD = 'TTD',
|
|
124
|
+
TWD = 'TWD',
|
|
125
|
+
TZS = 'TZS',
|
|
126
|
+
UAH = 'UAH',
|
|
127
|
+
UGX = 'UGX',
|
|
128
|
+
UYU = 'UYU',
|
|
129
|
+
UZS = 'UZS',
|
|
130
|
+
VND = 'VND',
|
|
131
|
+
VUV = 'VUV',
|
|
132
|
+
WST = 'WST',
|
|
133
|
+
XAF = 'XAF',
|
|
134
|
+
XCD = 'XCD',
|
|
135
|
+
XCG = 'XCG',
|
|
136
|
+
XOF = 'XOF',
|
|
137
|
+
XPF = 'XPF',
|
|
138
|
+
YER = 'YER',
|
|
139
|
+
ZAR = 'ZAR',
|
|
140
|
+
ZMW = 'ZMW'
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare enum PaymentMethodEnum {
|
|
144
|
+
AFFIRM = 'affirm',
|
|
145
|
+
AFTERPAY_CLEARPAY = 'afterpay_clearpay',
|
|
146
|
+
ALIPAY = 'alipay',
|
|
147
|
+
ALMA = 'alma',
|
|
148
|
+
AU_BECS_DEBIT = 'au_becs_debit',
|
|
149
|
+
BACS_DEBIT = 'bacs_debit',
|
|
150
|
+
BANCONTACT = 'bancontact',
|
|
151
|
+
BILLIE = 'billie',
|
|
152
|
+
BLIK = 'blik',
|
|
153
|
+
BOLETO = 'boleto',
|
|
154
|
+
CARD = 'card',
|
|
155
|
+
CASHAPP = 'cashapp',
|
|
156
|
+
EPS = 'eps',
|
|
157
|
+
FPX = 'fpx',
|
|
158
|
+
GIROPAY = 'giropay',
|
|
159
|
+
GRABPAY = 'grabpay',
|
|
160
|
+
IDEAL = 'ideal',
|
|
161
|
+
KLARNA = 'klarna',
|
|
162
|
+
KONBINI = 'konbini',
|
|
163
|
+
LINK = 'link',
|
|
164
|
+
MOBILEPAY = 'mobilepay',
|
|
165
|
+
MULTIBANCO = 'multibanco',
|
|
166
|
+
OXXO = 'oxxo',
|
|
167
|
+
P24 = 'p24',
|
|
168
|
+
PAY_BY_BANK = 'pay_by_bank',
|
|
169
|
+
PAYNOW = 'paynow',
|
|
170
|
+
PAYPAL = 'paypal',
|
|
171
|
+
PIX = 'pix',
|
|
172
|
+
PROMPTPAY = 'promptpay',
|
|
173
|
+
SATISPAY = 'satispay',
|
|
174
|
+
SEPA_DEBIT = 'sepa_debit',
|
|
175
|
+
SOFORT = 'sofort',
|
|
176
|
+
SWISH = 'swish',
|
|
177
|
+
TWINT = 'twint',
|
|
178
|
+
US_BANK_ACCOUNT = 'us_bank_account',
|
|
179
|
+
WECHAT_PAY = 'wechat_pay',
|
|
180
|
+
ZIP = 'zip'
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare enum PlanCadenceEnum {
|
|
184
|
+
WEEKLY = 'week',
|
|
185
|
+
MONTHLY = 'month',
|
|
186
|
+
ANNUALLY = 'year'
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export {
|
|
190
|
+
BillingProviderEnum,
|
|
191
|
+
CurrencyEnum,
|
|
192
|
+
PaymentMethodEnum,
|
|
193
|
+
PlanCadenceEnum
|
|
194
|
+
};
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if ((from && typeof from === 'object') || typeof from === 'function') {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toCommonJS = (mod) =>
|
|
22
|
+
__copyProps(__defProp({}, '__esModule', { value: true }), mod);
|
|
23
|
+
|
|
24
|
+
// domain/enum/index.ts
|
|
25
|
+
var enum_exports = {};
|
|
26
|
+
__export(enum_exports, {
|
|
27
|
+
BillingProviderEnum: () => BillingProviderEnum,
|
|
28
|
+
CurrencyEnum: () => CurrencyEnum,
|
|
29
|
+
PaymentMethodEnum: () => PaymentMethodEnum,
|
|
30
|
+
PlanCadenceEnum: () => PlanCadenceEnum
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(enum_exports);
|
|
33
|
+
|
|
34
|
+
// domain/enum/billingProvider.enum.ts
|
|
35
|
+
var BillingProviderEnum = /* @__PURE__ */ ((BillingProviderEnum2) => {
|
|
36
|
+
BillingProviderEnum2['STRIPE'] = 'stripe';
|
|
37
|
+
return BillingProviderEnum2;
|
|
38
|
+
})(BillingProviderEnum || {});
|
|
39
|
+
|
|
40
|
+
// domain/enum/currency.enum.ts
|
|
41
|
+
var CurrencyEnum = /* @__PURE__ */ ((CurrencyEnum2) => {
|
|
42
|
+
CurrencyEnum2['USD'] = 'USD';
|
|
43
|
+
CurrencyEnum2['AED'] = 'AED';
|
|
44
|
+
CurrencyEnum2['AFN'] = 'AFN';
|
|
45
|
+
CurrencyEnum2['ALL'] = 'ALL';
|
|
46
|
+
CurrencyEnum2['AMD'] = 'AMD';
|
|
47
|
+
CurrencyEnum2['ANG'] = 'ANG';
|
|
48
|
+
CurrencyEnum2['AOA'] = 'AOA';
|
|
49
|
+
CurrencyEnum2['ARS'] = 'ARS';
|
|
50
|
+
CurrencyEnum2['AUD'] = 'AUD';
|
|
51
|
+
CurrencyEnum2['AWG'] = 'AWG';
|
|
52
|
+
CurrencyEnum2['AZN'] = 'AZN';
|
|
53
|
+
CurrencyEnum2['BAM'] = 'BAM';
|
|
54
|
+
CurrencyEnum2['BBD'] = 'BBD';
|
|
55
|
+
CurrencyEnum2['BDT'] = 'BDT';
|
|
56
|
+
CurrencyEnum2['BGN'] = 'BGN';
|
|
57
|
+
CurrencyEnum2['BIF'] = 'BIF';
|
|
58
|
+
CurrencyEnum2['BMD'] = 'BMD';
|
|
59
|
+
CurrencyEnum2['BND'] = 'BND';
|
|
60
|
+
CurrencyEnum2['BOB'] = 'BOB';
|
|
61
|
+
CurrencyEnum2['BRL'] = 'BRL';
|
|
62
|
+
CurrencyEnum2['BSD'] = 'BSD';
|
|
63
|
+
CurrencyEnum2['BWP'] = 'BWP';
|
|
64
|
+
CurrencyEnum2['BYN'] = 'BYN';
|
|
65
|
+
CurrencyEnum2['BZD'] = 'BZD';
|
|
66
|
+
CurrencyEnum2['CAD'] = 'CAD';
|
|
67
|
+
CurrencyEnum2['CDF'] = 'CDF';
|
|
68
|
+
CurrencyEnum2['CHF'] = 'CHF';
|
|
69
|
+
CurrencyEnum2['CLP'] = 'CLP';
|
|
70
|
+
CurrencyEnum2['CNY'] = 'CNY';
|
|
71
|
+
CurrencyEnum2['COP'] = 'COP';
|
|
72
|
+
CurrencyEnum2['CRC'] = 'CRC';
|
|
73
|
+
CurrencyEnum2['CVE'] = 'CVE';
|
|
74
|
+
CurrencyEnum2['CZK'] = 'CZK';
|
|
75
|
+
CurrencyEnum2['DJF'] = 'DJF';
|
|
76
|
+
CurrencyEnum2['DKK'] = 'DKK';
|
|
77
|
+
CurrencyEnum2['DOP'] = 'DOP';
|
|
78
|
+
CurrencyEnum2['DZD'] = 'DZD';
|
|
79
|
+
CurrencyEnum2['EGP'] = 'EGP';
|
|
80
|
+
CurrencyEnum2['ETB'] = 'ETB';
|
|
81
|
+
CurrencyEnum2['EUR'] = 'EUR';
|
|
82
|
+
CurrencyEnum2['FJD'] = 'FJD';
|
|
83
|
+
CurrencyEnum2['FKP'] = 'FKP';
|
|
84
|
+
CurrencyEnum2['GBP'] = 'GBP';
|
|
85
|
+
CurrencyEnum2['GEL'] = 'GEL';
|
|
86
|
+
CurrencyEnum2['GIP'] = 'GIP';
|
|
87
|
+
CurrencyEnum2['GMD'] = 'GMD';
|
|
88
|
+
CurrencyEnum2['GNF'] = 'GNF';
|
|
89
|
+
CurrencyEnum2['GTQ'] = 'GTQ';
|
|
90
|
+
CurrencyEnum2['GYD'] = 'GYD';
|
|
91
|
+
CurrencyEnum2['HKD'] = 'HKD';
|
|
92
|
+
CurrencyEnum2['HNL'] = 'HNL';
|
|
93
|
+
CurrencyEnum2['HTG'] = 'HTG';
|
|
94
|
+
CurrencyEnum2['HUF'] = 'HUF';
|
|
95
|
+
CurrencyEnum2['IDR'] = 'IDR';
|
|
96
|
+
CurrencyEnum2['ILS'] = 'ILS';
|
|
97
|
+
CurrencyEnum2['INR'] = 'INR';
|
|
98
|
+
CurrencyEnum2['ISK'] = 'ISK';
|
|
99
|
+
CurrencyEnum2['JMD'] = 'JMD';
|
|
100
|
+
CurrencyEnum2['JPY'] = 'JPY';
|
|
101
|
+
CurrencyEnum2['KES'] = 'KES';
|
|
102
|
+
CurrencyEnum2['KGS'] = 'KGS';
|
|
103
|
+
CurrencyEnum2['KHR'] = 'KHR';
|
|
104
|
+
CurrencyEnum2['KMF'] = 'KMF';
|
|
105
|
+
CurrencyEnum2['KRW'] = 'KRW';
|
|
106
|
+
CurrencyEnum2['KYD'] = 'KYD';
|
|
107
|
+
CurrencyEnum2['KZT'] = 'KZT';
|
|
108
|
+
CurrencyEnum2['LAK'] = 'LAK';
|
|
109
|
+
CurrencyEnum2['LBP'] = 'LBP';
|
|
110
|
+
CurrencyEnum2['LKR'] = 'LKR';
|
|
111
|
+
CurrencyEnum2['LRD'] = 'LRD';
|
|
112
|
+
CurrencyEnum2['LSL'] = 'LSL';
|
|
113
|
+
CurrencyEnum2['MAD'] = 'MAD';
|
|
114
|
+
CurrencyEnum2['MDL'] = 'MDL';
|
|
115
|
+
CurrencyEnum2['MGA'] = 'MGA';
|
|
116
|
+
CurrencyEnum2['MKD'] = 'MKD';
|
|
117
|
+
CurrencyEnum2['MMK'] = 'MMK';
|
|
118
|
+
CurrencyEnum2['MNT'] = 'MNT';
|
|
119
|
+
CurrencyEnum2['MOP'] = 'MOP';
|
|
120
|
+
CurrencyEnum2['MUR'] = 'MUR';
|
|
121
|
+
CurrencyEnum2['MVR'] = 'MVR';
|
|
122
|
+
CurrencyEnum2['MWK'] = 'MWK';
|
|
123
|
+
CurrencyEnum2['MXN'] = 'MXN';
|
|
124
|
+
CurrencyEnum2['MYR'] = 'MYR';
|
|
125
|
+
CurrencyEnum2['MZN'] = 'MZN';
|
|
126
|
+
CurrencyEnum2['NAD'] = 'NAD';
|
|
127
|
+
CurrencyEnum2['NGN'] = 'NGN';
|
|
128
|
+
CurrencyEnum2['NIO'] = 'NIO';
|
|
129
|
+
CurrencyEnum2['NOK'] = 'NOK';
|
|
130
|
+
CurrencyEnum2['NPR'] = 'NPR';
|
|
131
|
+
CurrencyEnum2['NZD'] = 'NZD';
|
|
132
|
+
CurrencyEnum2['PAB'] = 'PAB';
|
|
133
|
+
CurrencyEnum2['PEN'] = 'PEN';
|
|
134
|
+
CurrencyEnum2['PGK'] = 'PGK';
|
|
135
|
+
CurrencyEnum2['PHP'] = 'PHP';
|
|
136
|
+
CurrencyEnum2['PKR'] = 'PKR';
|
|
137
|
+
CurrencyEnum2['PLN'] = 'PLN';
|
|
138
|
+
CurrencyEnum2['PYG'] = 'PYG';
|
|
139
|
+
CurrencyEnum2['QAR'] = 'QAR';
|
|
140
|
+
CurrencyEnum2['RON'] = 'RON';
|
|
141
|
+
CurrencyEnum2['RSD'] = 'RSD';
|
|
142
|
+
CurrencyEnum2['RUB'] = 'RUB';
|
|
143
|
+
CurrencyEnum2['RWF'] = 'RWF';
|
|
144
|
+
CurrencyEnum2['SAR'] = 'SAR';
|
|
145
|
+
CurrencyEnum2['SBD'] = 'SBD';
|
|
146
|
+
CurrencyEnum2['SCR'] = 'SCR';
|
|
147
|
+
CurrencyEnum2['SEK'] = 'SEK';
|
|
148
|
+
CurrencyEnum2['SGD'] = 'SGD';
|
|
149
|
+
CurrencyEnum2['SHP'] = 'SHP';
|
|
150
|
+
CurrencyEnum2['SLE'] = 'SLE';
|
|
151
|
+
CurrencyEnum2['SOS'] = 'SOS';
|
|
152
|
+
CurrencyEnum2['SRD'] = 'SRD';
|
|
153
|
+
CurrencyEnum2['STD'] = 'STD';
|
|
154
|
+
CurrencyEnum2['SZL'] = 'SZL';
|
|
155
|
+
CurrencyEnum2['THB'] = 'THB';
|
|
156
|
+
CurrencyEnum2['TJS'] = 'TJS';
|
|
157
|
+
CurrencyEnum2['TOP'] = 'TOP';
|
|
158
|
+
CurrencyEnum2['TRY'] = 'TRY';
|
|
159
|
+
CurrencyEnum2['TTD'] = 'TTD';
|
|
160
|
+
CurrencyEnum2['TWD'] = 'TWD';
|
|
161
|
+
CurrencyEnum2['TZS'] = 'TZS';
|
|
162
|
+
CurrencyEnum2['UAH'] = 'UAH';
|
|
163
|
+
CurrencyEnum2['UGX'] = 'UGX';
|
|
164
|
+
CurrencyEnum2['UYU'] = 'UYU';
|
|
165
|
+
CurrencyEnum2['UZS'] = 'UZS';
|
|
166
|
+
CurrencyEnum2['VND'] = 'VND';
|
|
167
|
+
CurrencyEnum2['VUV'] = 'VUV';
|
|
168
|
+
CurrencyEnum2['WST'] = 'WST';
|
|
169
|
+
CurrencyEnum2['XAF'] = 'XAF';
|
|
170
|
+
CurrencyEnum2['XCD'] = 'XCD';
|
|
171
|
+
CurrencyEnum2['XCG'] = 'XCG';
|
|
172
|
+
CurrencyEnum2['XOF'] = 'XOF';
|
|
173
|
+
CurrencyEnum2['XPF'] = 'XPF';
|
|
174
|
+
CurrencyEnum2['YER'] = 'YER';
|
|
175
|
+
CurrencyEnum2['ZAR'] = 'ZAR';
|
|
176
|
+
CurrencyEnum2['ZMW'] = 'ZMW';
|
|
177
|
+
return CurrencyEnum2;
|
|
178
|
+
})(CurrencyEnum || {});
|
|
179
|
+
|
|
180
|
+
// domain/enum/paymentMethod.enum.ts
|
|
181
|
+
var PaymentMethodEnum = /* @__PURE__ */ ((PaymentMethodEnum2) => {
|
|
182
|
+
PaymentMethodEnum2['AFFIRM'] = 'affirm';
|
|
183
|
+
PaymentMethodEnum2['AFTERPAY_CLEARPAY'] = 'afterpay_clearpay';
|
|
184
|
+
PaymentMethodEnum2['ALIPAY'] = 'alipay';
|
|
185
|
+
PaymentMethodEnum2['ALMA'] = 'alma';
|
|
186
|
+
PaymentMethodEnum2['AU_BECS_DEBIT'] = 'au_becs_debit';
|
|
187
|
+
PaymentMethodEnum2['BACS_DEBIT'] = 'bacs_debit';
|
|
188
|
+
PaymentMethodEnum2['BANCONTACT'] = 'bancontact';
|
|
189
|
+
PaymentMethodEnum2['BILLIE'] = 'billie';
|
|
190
|
+
PaymentMethodEnum2['BLIK'] = 'blik';
|
|
191
|
+
PaymentMethodEnum2['BOLETO'] = 'boleto';
|
|
192
|
+
PaymentMethodEnum2['CARD'] = 'card';
|
|
193
|
+
PaymentMethodEnum2['CASHAPP'] = 'cashapp';
|
|
194
|
+
PaymentMethodEnum2['EPS'] = 'eps';
|
|
195
|
+
PaymentMethodEnum2['FPX'] = 'fpx';
|
|
196
|
+
PaymentMethodEnum2['GIROPAY'] = 'giropay';
|
|
197
|
+
PaymentMethodEnum2['GRABPAY'] = 'grabpay';
|
|
198
|
+
PaymentMethodEnum2['IDEAL'] = 'ideal';
|
|
199
|
+
PaymentMethodEnum2['KLARNA'] = 'klarna';
|
|
200
|
+
PaymentMethodEnum2['KONBINI'] = 'konbini';
|
|
201
|
+
PaymentMethodEnum2['LINK'] = 'link';
|
|
202
|
+
PaymentMethodEnum2['MOBILEPAY'] = 'mobilepay';
|
|
203
|
+
PaymentMethodEnum2['MULTIBANCO'] = 'multibanco';
|
|
204
|
+
PaymentMethodEnum2['OXXO'] = 'oxxo';
|
|
205
|
+
PaymentMethodEnum2['P24'] = 'p24';
|
|
206
|
+
PaymentMethodEnum2['PAY_BY_BANK'] = 'pay_by_bank';
|
|
207
|
+
PaymentMethodEnum2['PAYNOW'] = 'paynow';
|
|
208
|
+
PaymentMethodEnum2['PAYPAL'] = 'paypal';
|
|
209
|
+
PaymentMethodEnum2['PIX'] = 'pix';
|
|
210
|
+
PaymentMethodEnum2['PROMPTPAY'] = 'promptpay';
|
|
211
|
+
PaymentMethodEnum2['SATISPAY'] = 'satispay';
|
|
212
|
+
PaymentMethodEnum2['SEPA_DEBIT'] = 'sepa_debit';
|
|
213
|
+
PaymentMethodEnum2['SOFORT'] = 'sofort';
|
|
214
|
+
PaymentMethodEnum2['SWISH'] = 'swish';
|
|
215
|
+
PaymentMethodEnum2['TWINT'] = 'twint';
|
|
216
|
+
PaymentMethodEnum2['US_BANK_ACCOUNT'] = 'us_bank_account';
|
|
217
|
+
PaymentMethodEnum2['WECHAT_PAY'] = 'wechat_pay';
|
|
218
|
+
PaymentMethodEnum2['ZIP'] = 'zip';
|
|
219
|
+
return PaymentMethodEnum2;
|
|
220
|
+
})(PaymentMethodEnum || {});
|
|
221
|
+
|
|
222
|
+
// domain/enum/planCadence.enum.ts
|
|
223
|
+
var PlanCadenceEnum = /* @__PURE__ */ ((PlanCadenceEnum2) => {
|
|
224
|
+
PlanCadenceEnum2['WEEKLY'] = 'week';
|
|
225
|
+
PlanCadenceEnum2['MONTHLY'] = 'month';
|
|
226
|
+
PlanCadenceEnum2['ANNUALLY'] = 'year';
|
|
227
|
+
return PlanCadenceEnum2;
|
|
228
|
+
})(PlanCadenceEnum || {});
|
|
229
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
230
|
+
0 &&
|
|
231
|
+
(module.exports = {
|
|
232
|
+
BillingProviderEnum,
|
|
233
|
+
CurrencyEnum,
|
|
234
|
+
PaymentMethodEnum,
|
|
235
|
+
PlanCadenceEnum
|
|
236
|
+
});
|