@forklaunch/implementation-billing-stripe 0.0.2 → 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.
Files changed (35) hide show
  1. package/lib/domain/enum/index.d.mts +194 -0
  2. package/lib/domain/enum/index.d.ts +194 -0
  3. package/lib/domain/enum/index.js +236 -0
  4. package/lib/domain/enum/index.mjs +201 -0
  5. package/lib/domain/schemas/index.d.mts +4142 -0
  6. package/lib/domain/schemas/index.d.ts +4142 -0
  7. package/lib/{schemas → domain/schemas}/index.js +349 -269
  8. package/lib/{schemas → domain/schemas}/index.mjs +222 -217
  9. package/lib/domain/types/index.d.mts +280 -0
  10. package/lib/domain/types/index.d.ts +280 -0
  11. package/lib/{types → domain/types}/index.js +9 -5
  12. package/lib/eject/domain/schemas/checkoutSession.schema.ts +3 -2
  13. package/lib/eject/services/billingPortal.service.ts +2 -2
  14. package/lib/eject/services/checkoutSession.service.ts +4 -4
  15. package/lib/eject/services/paymentLink.service.ts +4 -4
  16. package/lib/eject/services/plan.service.ts +5 -5
  17. package/lib/eject/services/subscription.service.ts +3 -3
  18. package/lib/eject/services/webhook.service.ts +5 -5
  19. package/lib/services/index.d.mts +709 -194
  20. package/lib/services/index.d.ts +709 -194
  21. package/lib/services/index.js +359 -244
  22. package/lib/services/index.mjs +298 -205
  23. package/package.json +15 -15
  24. package/lib/enum/index.d.mts +0 -189
  25. package/lib/enum/index.d.ts +0 -189
  26. package/lib/enum/index.js +0 -231
  27. package/lib/enum/index.mjs +0 -201
  28. package/lib/schemas/index.d.mts +0 -376
  29. package/lib/schemas/index.d.ts +0 -376
  30. package/lib/types/index.d.mts +0 -121
  31. package/lib/types/index.d.ts +0 -121
  32. /package/lib/{types → domain/types}/index.mjs +0 -0
  33. /package/lib/eject/{types → domain/types}/index.ts +0 -0
  34. /package/lib/eject/{types → domain/types}/stripe.dto.types.ts +0 -0
  35. /package/lib/eject/{types → domain/types}/stripe.entity.types.ts +0 -0
@@ -1,8 +1,8 @@
1
- // schemas/billingPortal.schema.ts
2
- import { serviceSchemaResolver } from "@forklaunch/internal";
1
+ // domain/schemas/billingPortal.schema.ts
2
+ import { serviceSchemaResolver } from '@forklaunch/internal';
3
3
 
4
- // schemas/typebox/billingPortal.schema.ts
5
- import { date, optional, string, type } from "@forklaunch/validator/typebox";
4
+ // domain/schemas/typebox/billingPortal.schema.ts
5
+ import { date, optional, string, type } from '@forklaunch/validator/typebox';
6
6
  var CreateBillingPortalSchema = {
7
7
  id: optional(string),
8
8
  customerId: string,
@@ -31,8 +31,13 @@ var StripeBillingPortalServiceSchemas = {
31
31
  BillingPortalSchema
32
32
  };
33
33
 
34
- // schemas/zod/billingPortal.schema.ts
35
- import { date as date2, optional as optional2, string as string2, type as type2 } from "@forklaunch/validator/zod";
34
+ // domain/schemas/zod/billingPortal.schema.ts
35
+ import {
36
+ date as date2,
37
+ optional as optional2,
38
+ string as string2,
39
+ type as type2
40
+ } from '@forklaunch/validator/zod';
36
41
  var CreateBillingPortalSchema2 = {
37
42
  id: optional2(string2),
38
43
  customerId: string2,
@@ -61,16 +66,16 @@ var StripeBillingPortalServiceSchemas2 = {
61
66
  BillingPortalSchema: BillingPortalSchema2
62
67
  };
63
68
 
64
- // schemas/billingPortal.schema.ts
69
+ // domain/schemas/billingPortal.schema.ts
65
70
  var StripeBillingPortalServiceSchemas3 = serviceSchemaResolver(
66
71
  () => StripeBillingPortalServiceSchemas,
67
72
  () => StripeBillingPortalServiceSchemas2
68
73
  );
69
74
 
70
- // schemas/checkoutSession.schema.ts
71
- import { serviceSchemaResolver as serviceSchemaResolver2 } from "@forklaunch/internal";
75
+ // domain/schemas/checkoutSession.schema.ts
76
+ import { serviceSchemaResolver as serviceSchemaResolver2 } from '@forklaunch/internal';
72
77
 
73
- // schemas/typebox/checkoutSession.schema.ts
78
+ // domain/schemas/typebox/checkoutSession.schema.ts
74
79
  import {
75
80
  array,
76
81
  date as date3,
@@ -79,191 +84,191 @@ import {
79
84
  string as string3,
80
85
  type as type3,
81
86
  unknown
82
- } from "@forklaunch/validator/typebox";
87
+ } from '@forklaunch/validator/typebox';
83
88
 
84
- // enum/currency.enum.ts
89
+ // domain/enum/currency.enum.ts
85
90
  var CurrencyEnum = /* @__PURE__ */ ((CurrencyEnum2) => {
86
- CurrencyEnum2["USD"] = "USD";
87
- CurrencyEnum2["AED"] = "AED";
88
- CurrencyEnum2["AFN"] = "AFN";
89
- CurrencyEnum2["ALL"] = "ALL";
90
- CurrencyEnum2["AMD"] = "AMD";
91
- CurrencyEnum2["ANG"] = "ANG";
92
- CurrencyEnum2["AOA"] = "AOA";
93
- CurrencyEnum2["ARS"] = "ARS";
94
- CurrencyEnum2["AUD"] = "AUD";
95
- CurrencyEnum2["AWG"] = "AWG";
96
- CurrencyEnum2["AZN"] = "AZN";
97
- CurrencyEnum2["BAM"] = "BAM";
98
- CurrencyEnum2["BBD"] = "BBD";
99
- CurrencyEnum2["BDT"] = "BDT";
100
- CurrencyEnum2["BGN"] = "BGN";
101
- CurrencyEnum2["BIF"] = "BIF";
102
- CurrencyEnum2["BMD"] = "BMD";
103
- CurrencyEnum2["BND"] = "BND";
104
- CurrencyEnum2["BOB"] = "BOB";
105
- CurrencyEnum2["BRL"] = "BRL";
106
- CurrencyEnum2["BSD"] = "BSD";
107
- CurrencyEnum2["BWP"] = "BWP";
108
- CurrencyEnum2["BYN"] = "BYN";
109
- CurrencyEnum2["BZD"] = "BZD";
110
- CurrencyEnum2["CAD"] = "CAD";
111
- CurrencyEnum2["CDF"] = "CDF";
112
- CurrencyEnum2["CHF"] = "CHF";
113
- CurrencyEnum2["CLP"] = "CLP";
114
- CurrencyEnum2["CNY"] = "CNY";
115
- CurrencyEnum2["COP"] = "COP";
116
- CurrencyEnum2["CRC"] = "CRC";
117
- CurrencyEnum2["CVE"] = "CVE";
118
- CurrencyEnum2["CZK"] = "CZK";
119
- CurrencyEnum2["DJF"] = "DJF";
120
- CurrencyEnum2["DKK"] = "DKK";
121
- CurrencyEnum2["DOP"] = "DOP";
122
- CurrencyEnum2["DZD"] = "DZD";
123
- CurrencyEnum2["EGP"] = "EGP";
124
- CurrencyEnum2["ETB"] = "ETB";
125
- CurrencyEnum2["EUR"] = "EUR";
126
- CurrencyEnum2["FJD"] = "FJD";
127
- CurrencyEnum2["FKP"] = "FKP";
128
- CurrencyEnum2["GBP"] = "GBP";
129
- CurrencyEnum2["GEL"] = "GEL";
130
- CurrencyEnum2["GIP"] = "GIP";
131
- CurrencyEnum2["GMD"] = "GMD";
132
- CurrencyEnum2["GNF"] = "GNF";
133
- CurrencyEnum2["GTQ"] = "GTQ";
134
- CurrencyEnum2["GYD"] = "GYD";
135
- CurrencyEnum2["HKD"] = "HKD";
136
- CurrencyEnum2["HNL"] = "HNL";
137
- CurrencyEnum2["HTG"] = "HTG";
138
- CurrencyEnum2["HUF"] = "HUF";
139
- CurrencyEnum2["IDR"] = "IDR";
140
- CurrencyEnum2["ILS"] = "ILS";
141
- CurrencyEnum2["INR"] = "INR";
142
- CurrencyEnum2["ISK"] = "ISK";
143
- CurrencyEnum2["JMD"] = "JMD";
144
- CurrencyEnum2["JPY"] = "JPY";
145
- CurrencyEnum2["KES"] = "KES";
146
- CurrencyEnum2["KGS"] = "KGS";
147
- CurrencyEnum2["KHR"] = "KHR";
148
- CurrencyEnum2["KMF"] = "KMF";
149
- CurrencyEnum2["KRW"] = "KRW";
150
- CurrencyEnum2["KYD"] = "KYD";
151
- CurrencyEnum2["KZT"] = "KZT";
152
- CurrencyEnum2["LAK"] = "LAK";
153
- CurrencyEnum2["LBP"] = "LBP";
154
- CurrencyEnum2["LKR"] = "LKR";
155
- CurrencyEnum2["LRD"] = "LRD";
156
- CurrencyEnum2["LSL"] = "LSL";
157
- CurrencyEnum2["MAD"] = "MAD";
158
- CurrencyEnum2["MDL"] = "MDL";
159
- CurrencyEnum2["MGA"] = "MGA";
160
- CurrencyEnum2["MKD"] = "MKD";
161
- CurrencyEnum2["MMK"] = "MMK";
162
- CurrencyEnum2["MNT"] = "MNT";
163
- CurrencyEnum2["MOP"] = "MOP";
164
- CurrencyEnum2["MUR"] = "MUR";
165
- CurrencyEnum2["MVR"] = "MVR";
166
- CurrencyEnum2["MWK"] = "MWK";
167
- CurrencyEnum2["MXN"] = "MXN";
168
- CurrencyEnum2["MYR"] = "MYR";
169
- CurrencyEnum2["MZN"] = "MZN";
170
- CurrencyEnum2["NAD"] = "NAD";
171
- CurrencyEnum2["NGN"] = "NGN";
172
- CurrencyEnum2["NIO"] = "NIO";
173
- CurrencyEnum2["NOK"] = "NOK";
174
- CurrencyEnum2["NPR"] = "NPR";
175
- CurrencyEnum2["NZD"] = "NZD";
176
- CurrencyEnum2["PAB"] = "PAB";
177
- CurrencyEnum2["PEN"] = "PEN";
178
- CurrencyEnum2["PGK"] = "PGK";
179
- CurrencyEnum2["PHP"] = "PHP";
180
- CurrencyEnum2["PKR"] = "PKR";
181
- CurrencyEnum2["PLN"] = "PLN";
182
- CurrencyEnum2["PYG"] = "PYG";
183
- CurrencyEnum2["QAR"] = "QAR";
184
- CurrencyEnum2["RON"] = "RON";
185
- CurrencyEnum2["RSD"] = "RSD";
186
- CurrencyEnum2["RUB"] = "RUB";
187
- CurrencyEnum2["RWF"] = "RWF";
188
- CurrencyEnum2["SAR"] = "SAR";
189
- CurrencyEnum2["SBD"] = "SBD";
190
- CurrencyEnum2["SCR"] = "SCR";
191
- CurrencyEnum2["SEK"] = "SEK";
192
- CurrencyEnum2["SGD"] = "SGD";
193
- CurrencyEnum2["SHP"] = "SHP";
194
- CurrencyEnum2["SLE"] = "SLE";
195
- CurrencyEnum2["SOS"] = "SOS";
196
- CurrencyEnum2["SRD"] = "SRD";
197
- CurrencyEnum2["STD"] = "STD";
198
- CurrencyEnum2["SZL"] = "SZL";
199
- CurrencyEnum2["THB"] = "THB";
200
- CurrencyEnum2["TJS"] = "TJS";
201
- CurrencyEnum2["TOP"] = "TOP";
202
- CurrencyEnum2["TRY"] = "TRY";
203
- CurrencyEnum2["TTD"] = "TTD";
204
- CurrencyEnum2["TWD"] = "TWD";
205
- CurrencyEnum2["TZS"] = "TZS";
206
- CurrencyEnum2["UAH"] = "UAH";
207
- CurrencyEnum2["UGX"] = "UGX";
208
- CurrencyEnum2["UYU"] = "UYU";
209
- CurrencyEnum2["UZS"] = "UZS";
210
- CurrencyEnum2["VND"] = "VND";
211
- CurrencyEnum2["VUV"] = "VUV";
212
- CurrencyEnum2["WST"] = "WST";
213
- CurrencyEnum2["XAF"] = "XAF";
214
- CurrencyEnum2["XCD"] = "XCD";
215
- CurrencyEnum2["XCG"] = "XCG";
216
- CurrencyEnum2["XOF"] = "XOF";
217
- CurrencyEnum2["XPF"] = "XPF";
218
- CurrencyEnum2["YER"] = "YER";
219
- CurrencyEnum2["ZAR"] = "ZAR";
220
- CurrencyEnum2["ZMW"] = "ZMW";
91
+ CurrencyEnum2['USD'] = 'USD';
92
+ CurrencyEnum2['AED'] = 'AED';
93
+ CurrencyEnum2['AFN'] = 'AFN';
94
+ CurrencyEnum2['ALL'] = 'ALL';
95
+ CurrencyEnum2['AMD'] = 'AMD';
96
+ CurrencyEnum2['ANG'] = 'ANG';
97
+ CurrencyEnum2['AOA'] = 'AOA';
98
+ CurrencyEnum2['ARS'] = 'ARS';
99
+ CurrencyEnum2['AUD'] = 'AUD';
100
+ CurrencyEnum2['AWG'] = 'AWG';
101
+ CurrencyEnum2['AZN'] = 'AZN';
102
+ CurrencyEnum2['BAM'] = 'BAM';
103
+ CurrencyEnum2['BBD'] = 'BBD';
104
+ CurrencyEnum2['BDT'] = 'BDT';
105
+ CurrencyEnum2['BGN'] = 'BGN';
106
+ CurrencyEnum2['BIF'] = 'BIF';
107
+ CurrencyEnum2['BMD'] = 'BMD';
108
+ CurrencyEnum2['BND'] = 'BND';
109
+ CurrencyEnum2['BOB'] = 'BOB';
110
+ CurrencyEnum2['BRL'] = 'BRL';
111
+ CurrencyEnum2['BSD'] = 'BSD';
112
+ CurrencyEnum2['BWP'] = 'BWP';
113
+ CurrencyEnum2['BYN'] = 'BYN';
114
+ CurrencyEnum2['BZD'] = 'BZD';
115
+ CurrencyEnum2['CAD'] = 'CAD';
116
+ CurrencyEnum2['CDF'] = 'CDF';
117
+ CurrencyEnum2['CHF'] = 'CHF';
118
+ CurrencyEnum2['CLP'] = 'CLP';
119
+ CurrencyEnum2['CNY'] = 'CNY';
120
+ CurrencyEnum2['COP'] = 'COP';
121
+ CurrencyEnum2['CRC'] = 'CRC';
122
+ CurrencyEnum2['CVE'] = 'CVE';
123
+ CurrencyEnum2['CZK'] = 'CZK';
124
+ CurrencyEnum2['DJF'] = 'DJF';
125
+ CurrencyEnum2['DKK'] = 'DKK';
126
+ CurrencyEnum2['DOP'] = 'DOP';
127
+ CurrencyEnum2['DZD'] = 'DZD';
128
+ CurrencyEnum2['EGP'] = 'EGP';
129
+ CurrencyEnum2['ETB'] = 'ETB';
130
+ CurrencyEnum2['EUR'] = 'EUR';
131
+ CurrencyEnum2['FJD'] = 'FJD';
132
+ CurrencyEnum2['FKP'] = 'FKP';
133
+ CurrencyEnum2['GBP'] = 'GBP';
134
+ CurrencyEnum2['GEL'] = 'GEL';
135
+ CurrencyEnum2['GIP'] = 'GIP';
136
+ CurrencyEnum2['GMD'] = 'GMD';
137
+ CurrencyEnum2['GNF'] = 'GNF';
138
+ CurrencyEnum2['GTQ'] = 'GTQ';
139
+ CurrencyEnum2['GYD'] = 'GYD';
140
+ CurrencyEnum2['HKD'] = 'HKD';
141
+ CurrencyEnum2['HNL'] = 'HNL';
142
+ CurrencyEnum2['HTG'] = 'HTG';
143
+ CurrencyEnum2['HUF'] = 'HUF';
144
+ CurrencyEnum2['IDR'] = 'IDR';
145
+ CurrencyEnum2['ILS'] = 'ILS';
146
+ CurrencyEnum2['INR'] = 'INR';
147
+ CurrencyEnum2['ISK'] = 'ISK';
148
+ CurrencyEnum2['JMD'] = 'JMD';
149
+ CurrencyEnum2['JPY'] = 'JPY';
150
+ CurrencyEnum2['KES'] = 'KES';
151
+ CurrencyEnum2['KGS'] = 'KGS';
152
+ CurrencyEnum2['KHR'] = 'KHR';
153
+ CurrencyEnum2['KMF'] = 'KMF';
154
+ CurrencyEnum2['KRW'] = 'KRW';
155
+ CurrencyEnum2['KYD'] = 'KYD';
156
+ CurrencyEnum2['KZT'] = 'KZT';
157
+ CurrencyEnum2['LAK'] = 'LAK';
158
+ CurrencyEnum2['LBP'] = 'LBP';
159
+ CurrencyEnum2['LKR'] = 'LKR';
160
+ CurrencyEnum2['LRD'] = 'LRD';
161
+ CurrencyEnum2['LSL'] = 'LSL';
162
+ CurrencyEnum2['MAD'] = 'MAD';
163
+ CurrencyEnum2['MDL'] = 'MDL';
164
+ CurrencyEnum2['MGA'] = 'MGA';
165
+ CurrencyEnum2['MKD'] = 'MKD';
166
+ CurrencyEnum2['MMK'] = 'MMK';
167
+ CurrencyEnum2['MNT'] = 'MNT';
168
+ CurrencyEnum2['MOP'] = 'MOP';
169
+ CurrencyEnum2['MUR'] = 'MUR';
170
+ CurrencyEnum2['MVR'] = 'MVR';
171
+ CurrencyEnum2['MWK'] = 'MWK';
172
+ CurrencyEnum2['MXN'] = 'MXN';
173
+ CurrencyEnum2['MYR'] = 'MYR';
174
+ CurrencyEnum2['MZN'] = 'MZN';
175
+ CurrencyEnum2['NAD'] = 'NAD';
176
+ CurrencyEnum2['NGN'] = 'NGN';
177
+ CurrencyEnum2['NIO'] = 'NIO';
178
+ CurrencyEnum2['NOK'] = 'NOK';
179
+ CurrencyEnum2['NPR'] = 'NPR';
180
+ CurrencyEnum2['NZD'] = 'NZD';
181
+ CurrencyEnum2['PAB'] = 'PAB';
182
+ CurrencyEnum2['PEN'] = 'PEN';
183
+ CurrencyEnum2['PGK'] = 'PGK';
184
+ CurrencyEnum2['PHP'] = 'PHP';
185
+ CurrencyEnum2['PKR'] = 'PKR';
186
+ CurrencyEnum2['PLN'] = 'PLN';
187
+ CurrencyEnum2['PYG'] = 'PYG';
188
+ CurrencyEnum2['QAR'] = 'QAR';
189
+ CurrencyEnum2['RON'] = 'RON';
190
+ CurrencyEnum2['RSD'] = 'RSD';
191
+ CurrencyEnum2['RUB'] = 'RUB';
192
+ CurrencyEnum2['RWF'] = 'RWF';
193
+ CurrencyEnum2['SAR'] = 'SAR';
194
+ CurrencyEnum2['SBD'] = 'SBD';
195
+ CurrencyEnum2['SCR'] = 'SCR';
196
+ CurrencyEnum2['SEK'] = 'SEK';
197
+ CurrencyEnum2['SGD'] = 'SGD';
198
+ CurrencyEnum2['SHP'] = 'SHP';
199
+ CurrencyEnum2['SLE'] = 'SLE';
200
+ CurrencyEnum2['SOS'] = 'SOS';
201
+ CurrencyEnum2['SRD'] = 'SRD';
202
+ CurrencyEnum2['STD'] = 'STD';
203
+ CurrencyEnum2['SZL'] = 'SZL';
204
+ CurrencyEnum2['THB'] = 'THB';
205
+ CurrencyEnum2['TJS'] = 'TJS';
206
+ CurrencyEnum2['TOP'] = 'TOP';
207
+ CurrencyEnum2['TRY'] = 'TRY';
208
+ CurrencyEnum2['TTD'] = 'TTD';
209
+ CurrencyEnum2['TWD'] = 'TWD';
210
+ CurrencyEnum2['TZS'] = 'TZS';
211
+ CurrencyEnum2['UAH'] = 'UAH';
212
+ CurrencyEnum2['UGX'] = 'UGX';
213
+ CurrencyEnum2['UYU'] = 'UYU';
214
+ CurrencyEnum2['UZS'] = 'UZS';
215
+ CurrencyEnum2['VND'] = 'VND';
216
+ CurrencyEnum2['VUV'] = 'VUV';
217
+ CurrencyEnum2['WST'] = 'WST';
218
+ CurrencyEnum2['XAF'] = 'XAF';
219
+ CurrencyEnum2['XCD'] = 'XCD';
220
+ CurrencyEnum2['XCG'] = 'XCG';
221
+ CurrencyEnum2['XOF'] = 'XOF';
222
+ CurrencyEnum2['XPF'] = 'XPF';
223
+ CurrencyEnum2['YER'] = 'YER';
224
+ CurrencyEnum2['ZAR'] = 'ZAR';
225
+ CurrencyEnum2['ZMW'] = 'ZMW';
221
226
  return CurrencyEnum2;
222
227
  })(CurrencyEnum || {});
223
228
 
224
- // enum/paymentMethod.enum.ts
229
+ // domain/enum/paymentMethod.enum.ts
225
230
  var PaymentMethodEnum = /* @__PURE__ */ ((PaymentMethodEnum2) => {
226
- PaymentMethodEnum2["AFFIRM"] = "affirm";
227
- PaymentMethodEnum2["AFTERPAY_CLEARPAY"] = "afterpay_clearpay";
228
- PaymentMethodEnum2["ALIPAY"] = "alipay";
229
- PaymentMethodEnum2["ALMA"] = "alma";
230
- PaymentMethodEnum2["AU_BECS_DEBIT"] = "au_becs_debit";
231
- PaymentMethodEnum2["BACS_DEBIT"] = "bacs_debit";
232
- PaymentMethodEnum2["BANCONTACT"] = "bancontact";
233
- PaymentMethodEnum2["BILLIE"] = "billie";
234
- PaymentMethodEnum2["BLIK"] = "blik";
235
- PaymentMethodEnum2["BOLETO"] = "boleto";
236
- PaymentMethodEnum2["CARD"] = "card";
237
- PaymentMethodEnum2["CASHAPP"] = "cashapp";
238
- PaymentMethodEnum2["EPS"] = "eps";
239
- PaymentMethodEnum2["FPX"] = "fpx";
240
- PaymentMethodEnum2["GIROPAY"] = "giropay";
241
- PaymentMethodEnum2["GRABPAY"] = "grabpay";
242
- PaymentMethodEnum2["IDEAL"] = "ideal";
243
- PaymentMethodEnum2["KLARNA"] = "klarna";
244
- PaymentMethodEnum2["KONBINI"] = "konbini";
245
- PaymentMethodEnum2["LINK"] = "link";
246
- PaymentMethodEnum2["MOBILEPAY"] = "mobilepay";
247
- PaymentMethodEnum2["MULTIBANCO"] = "multibanco";
248
- PaymentMethodEnum2["OXXO"] = "oxxo";
249
- PaymentMethodEnum2["P24"] = "p24";
250
- PaymentMethodEnum2["PAY_BY_BANK"] = "pay_by_bank";
251
- PaymentMethodEnum2["PAYNOW"] = "paynow";
252
- PaymentMethodEnum2["PAYPAL"] = "paypal";
253
- PaymentMethodEnum2["PIX"] = "pix";
254
- PaymentMethodEnum2["PROMPTPAY"] = "promptpay";
255
- PaymentMethodEnum2["SATISPAY"] = "satispay";
256
- PaymentMethodEnum2["SEPA_DEBIT"] = "sepa_debit";
257
- PaymentMethodEnum2["SOFORT"] = "sofort";
258
- PaymentMethodEnum2["SWISH"] = "swish";
259
- PaymentMethodEnum2["TWINT"] = "twint";
260
- PaymentMethodEnum2["US_BANK_ACCOUNT"] = "us_bank_account";
261
- PaymentMethodEnum2["WECHAT_PAY"] = "wechat_pay";
262
- PaymentMethodEnum2["ZIP"] = "zip";
231
+ PaymentMethodEnum2['AFFIRM'] = 'affirm';
232
+ PaymentMethodEnum2['AFTERPAY_CLEARPAY'] = 'afterpay_clearpay';
233
+ PaymentMethodEnum2['ALIPAY'] = 'alipay';
234
+ PaymentMethodEnum2['ALMA'] = 'alma';
235
+ PaymentMethodEnum2['AU_BECS_DEBIT'] = 'au_becs_debit';
236
+ PaymentMethodEnum2['BACS_DEBIT'] = 'bacs_debit';
237
+ PaymentMethodEnum2['BANCONTACT'] = 'bancontact';
238
+ PaymentMethodEnum2['BILLIE'] = 'billie';
239
+ PaymentMethodEnum2['BLIK'] = 'blik';
240
+ PaymentMethodEnum2['BOLETO'] = 'boleto';
241
+ PaymentMethodEnum2['CARD'] = 'card';
242
+ PaymentMethodEnum2['CASHAPP'] = 'cashapp';
243
+ PaymentMethodEnum2['EPS'] = 'eps';
244
+ PaymentMethodEnum2['FPX'] = 'fpx';
245
+ PaymentMethodEnum2['GIROPAY'] = 'giropay';
246
+ PaymentMethodEnum2['GRABPAY'] = 'grabpay';
247
+ PaymentMethodEnum2['IDEAL'] = 'ideal';
248
+ PaymentMethodEnum2['KLARNA'] = 'klarna';
249
+ PaymentMethodEnum2['KONBINI'] = 'konbini';
250
+ PaymentMethodEnum2['LINK'] = 'link';
251
+ PaymentMethodEnum2['MOBILEPAY'] = 'mobilepay';
252
+ PaymentMethodEnum2['MULTIBANCO'] = 'multibanco';
253
+ PaymentMethodEnum2['OXXO'] = 'oxxo';
254
+ PaymentMethodEnum2['P24'] = 'p24';
255
+ PaymentMethodEnum2['PAY_BY_BANK'] = 'pay_by_bank';
256
+ PaymentMethodEnum2['PAYNOW'] = 'paynow';
257
+ PaymentMethodEnum2['PAYPAL'] = 'paypal';
258
+ PaymentMethodEnum2['PIX'] = 'pix';
259
+ PaymentMethodEnum2['PROMPTPAY'] = 'promptpay';
260
+ PaymentMethodEnum2['SATISPAY'] = 'satispay';
261
+ PaymentMethodEnum2['SEPA_DEBIT'] = 'sepa_debit';
262
+ PaymentMethodEnum2['SOFORT'] = 'sofort';
263
+ PaymentMethodEnum2['SWISH'] = 'swish';
264
+ PaymentMethodEnum2['TWINT'] = 'twint';
265
+ PaymentMethodEnum2['US_BANK_ACCOUNT'] = 'us_bank_account';
266
+ PaymentMethodEnum2['WECHAT_PAY'] = 'wechat_pay';
267
+ PaymentMethodEnum2['ZIP'] = 'zip';
263
268
  return PaymentMethodEnum2;
264
269
  })(PaymentMethodEnum || {});
265
270
 
266
- // schemas/typebox/checkoutSession.schema.ts
271
+ // domain/schemas/typebox/checkoutSession.schema.ts
267
272
  var CreateCheckoutSessionSchema = (StatusEnum) => ({
268
273
  id: optional3(string3),
269
274
  customerId: string3,
@@ -306,7 +311,7 @@ var StripeCheckoutSessionServiceSchemas = {
306
311
  CheckoutSessionSchema
307
312
  };
308
313
 
309
- // schemas/zod/checkoutSession.schema.ts
314
+ // domain/schemas/zod/checkoutSession.schema.ts
310
315
  import {
311
316
  array as array2,
312
317
  date as date4,
@@ -315,7 +320,7 @@ import {
315
320
  string as string4,
316
321
  type as type4,
317
322
  unknown as unknown2
318
- } from "@forklaunch/validator/zod";
323
+ } from '@forklaunch/validator/zod';
319
324
  var CreateCheckoutSessionSchema2 = (StatusEnum) => ({
320
325
  id: optional4(string4),
321
326
  customerId: string4,
@@ -358,16 +363,16 @@ var StripeCheckoutSessionServiceSchemas2 = {
358
363
  CheckoutSessionSchema: CheckoutSessionSchema2
359
364
  };
360
365
 
361
- // schemas/checkoutSession.schema.ts
366
+ // domain/schemas/checkoutSession.schema.ts
362
367
  var StripeCheckoutSessionServiceSchemas3 = serviceSchemaResolver2(
363
368
  () => StripeCheckoutSessionServiceSchemas,
364
369
  () => StripeCheckoutSessionServiceSchemas2
365
370
  );
366
371
 
367
- // schemas/paymentLink.schema.ts
368
- import { serviceSchemaResolver as serviceSchemaResolver3 } from "@forklaunch/internal";
372
+ // domain/schemas/paymentLink.schema.ts
373
+ import { serviceSchemaResolver as serviceSchemaResolver3 } from '@forklaunch/internal';
369
374
 
370
- // schemas/typebox/paymentLink.schema.ts
375
+ // domain/schemas/typebox/paymentLink.schema.ts
371
376
  import {
372
377
  array as array3,
373
378
  date as date5,
@@ -376,7 +381,7 @@ import {
376
381
  optional as optional5,
377
382
  string as string5,
378
383
  type as type5
379
- } from "@forklaunch/validator/typebox";
384
+ } from '@forklaunch/validator/typebox';
380
385
  var CreatePaymentLinkSchema = (StatusEnum) => ({
381
386
  id: optional5(string5),
382
387
  amount: number,
@@ -409,7 +414,7 @@ var StripePaymentLinkServiceSchemas = {
409
414
  PaymentLinkSchema
410
415
  };
411
416
 
412
- // schemas/zod/paymentLink.schema.ts
417
+ // domain/schemas/zod/paymentLink.schema.ts
413
418
  import {
414
419
  array as array4,
415
420
  date as date6,
@@ -418,7 +423,7 @@ import {
418
423
  optional as optional6,
419
424
  string as string6,
420
425
  type as type6
421
- } from "@forklaunch/validator/zod";
426
+ } from '@forklaunch/validator/zod';
422
427
  var CreatePaymentLinkSchema2 = (StatusEnum) => ({
423
428
  id: optional6(string6),
424
429
  amount: number2,
@@ -451,16 +456,16 @@ var StripePaymentLinkServiceSchemas2 = {
451
456
  PaymentLinkSchema: PaymentLinkSchema2
452
457
  };
453
458
 
454
- // schemas/paymentLink.schema.ts
459
+ // domain/schemas/paymentLink.schema.ts
455
460
  var StripePaymentLinkServiceSchemas3 = serviceSchemaResolver3(
456
461
  () => StripePaymentLinkServiceSchemas,
457
462
  () => StripePaymentLinkServiceSchemas2
458
463
  );
459
464
 
460
- // schemas/plan.schema.ts
461
- import { serviceSchemaResolver as serviceSchemaResolver4 } from "@forklaunch/internal";
465
+ // domain/schemas/plan.schema.ts
466
+ import { serviceSchemaResolver as serviceSchemaResolver4 } from '@forklaunch/internal';
462
467
 
463
- // schemas/typebox/plan.schema.ts
468
+ // domain/schemas/typebox/plan.schema.ts
464
469
  import {
465
470
  array as array5,
466
471
  boolean,
@@ -470,23 +475,23 @@ import {
470
475
  optional as optional7,
471
476
  string as string7,
472
477
  type as type7
473
- } from "@forklaunch/validator/typebox";
478
+ } from '@forklaunch/validator/typebox';
474
479
 
475
- // enum/billingProvider.enum.ts
480
+ // domain/enum/billingProvider.enum.ts
476
481
  var BillingProviderEnum = /* @__PURE__ */ ((BillingProviderEnum2) => {
477
- BillingProviderEnum2["STRIPE"] = "stripe";
482
+ BillingProviderEnum2['STRIPE'] = 'stripe';
478
483
  return BillingProviderEnum2;
479
484
  })(BillingProviderEnum || {});
480
485
 
481
- // enum/planCadence.enum.ts
486
+ // domain/enum/planCadence.enum.ts
482
487
  var PlanCadenceEnum = /* @__PURE__ */ ((PlanCadenceEnum2) => {
483
- PlanCadenceEnum2["WEEKLY"] = "week";
484
- PlanCadenceEnum2["MONTHLY"] = "month";
485
- PlanCadenceEnum2["ANNUALLY"] = "year";
488
+ PlanCadenceEnum2['WEEKLY'] = 'week';
489
+ PlanCadenceEnum2['MONTHLY'] = 'month';
490
+ PlanCadenceEnum2['ANNUALLY'] = 'year';
486
491
  return PlanCadenceEnum2;
487
492
  })(PlanCadenceEnum || {});
488
493
 
489
- // schemas/typebox/plan.schema.ts
494
+ // domain/schemas/typebox/plan.schema.ts
490
495
  var CreatePlanSchema = {
491
496
  id: optional7(string7),
492
497
  name: string7,
@@ -534,7 +539,7 @@ var StripePlanServiceSchemas = {
534
539
  PlanSchema
535
540
  };
536
541
 
537
- // schemas/zod/plan.schema.ts
542
+ // domain/schemas/zod/plan.schema.ts
538
543
  import {
539
544
  array as array6,
540
545
  boolean as boolean2,
@@ -544,7 +549,7 @@ import {
544
549
  optional as optional8,
545
550
  string as string8,
546
551
  type as type8
547
- } from "@forklaunch/validator/zod";
552
+ } from '@forklaunch/validator/zod';
548
553
  var CreatePlanSchema2 = {
549
554
  id: optional8(string8),
550
555
  name: string8,
@@ -592,16 +597,16 @@ var StripePlanServiceSchemas2 = {
592
597
  PlanSchema: PlanSchema2
593
598
  };
594
599
 
595
- // schemas/plan.schema.ts
600
+ // domain/schemas/plan.schema.ts
596
601
  var StripePlanServiceSchemas3 = serviceSchemaResolver4(
597
602
  () => StripePlanServiceSchemas,
598
603
  () => StripePlanServiceSchemas2
599
604
  );
600
605
 
601
- // schemas/subscription.schema.ts
602
- import { serviceSchemaResolver as serviceSchemaResolver5 } from "@forklaunch/internal";
606
+ // domain/schemas/subscription.schema.ts
607
+ import { serviceSchemaResolver as serviceSchemaResolver5 } from '@forklaunch/internal';
603
608
 
604
- // schemas/typebox/subscription.schema.ts
609
+ // domain/schemas/typebox/subscription.schema.ts
605
610
  import {
606
611
  boolean as boolean3,
607
612
  date as date9,
@@ -609,7 +614,7 @@ import {
609
614
  optional as optional9,
610
615
  string as string9,
611
616
  type as type9
612
- } from "@forklaunch/validator/typebox";
617
+ } from '@forklaunch/validator/typebox';
613
618
  var CreateSubscriptionSchema = (PartyEnum) => ({
614
619
  id: optional9(string9),
615
620
  partyId: string9,
@@ -660,7 +665,7 @@ var StripeSubscriptionServiceSchemas = {
660
665
  SubscriptionSchema
661
666
  };
662
667
 
663
- // schemas/zod/subscription.schema.ts
668
+ // domain/schemas/zod/subscription.schema.ts
664
669
  import {
665
670
  boolean as boolean4,
666
671
  date as date10,
@@ -668,7 +673,7 @@ import {
668
673
  optional as optional10,
669
674
  string as string10,
670
675
  type as type10
671
- } from "@forklaunch/validator/zod";
676
+ } from '@forklaunch/validator/zod';
672
677
  var CreateSubscriptionSchema2 = (PartyEnum) => ({
673
678
  id: optional10(string10),
674
679
  partyId: string10,
@@ -719,7 +724,7 @@ var StripeSubscriptionServiceSchemas2 = {
719
724
  SubscriptionSchema: SubscriptionSchema2
720
725
  };
721
726
 
722
- // schemas/subscription.schema.ts
727
+ // domain/schemas/subscription.schema.ts
723
728
  var StripeSubscriptionServiceSchemas3 = serviceSchemaResolver5(
724
729
  () => StripeSubscriptionServiceSchemas,
725
730
  () => StripeSubscriptionServiceSchemas2