@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.
- 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 +349 -269
- package/lib/{schemas → domain/schemas}/index.mjs +222 -217
- 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/schemas/checkoutSession.schema.ts +3 -2
- 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 +15 -15
- package/lib/enum/index.d.mts +0 -189
- package/lib/enum/index.d.ts +0 -189
- package/lib/enum/index.js +0 -231
- package/lib/enum/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
- /package/lib/eject/{types → domain/types}/stripe.dto.types.ts +0 -0
- /package/lib/eject/{types → domain/types}/stripe.entity.types.ts +0 -0
package/lib/services/index.d.mts
CHANGED
|
@@ -1,223 +1,738 @@
|
|
|
1
1
|
import { IdDto, InstanceTypeRecord, IdsDto } from '@forklaunch/common';
|
|
2
2
|
import { TtlCache } from '@forklaunch/core/cache';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import {
|
|
4
|
+
OpenTelemetryCollector,
|
|
5
|
+
MetricsDefinition,
|
|
6
|
+
TelemetryOptions
|
|
7
|
+
} from '@forklaunch/core/http';
|
|
8
|
+
import {
|
|
9
|
+
BaseBillingPortalService,
|
|
10
|
+
BaseCheckoutSessionService,
|
|
11
|
+
BasePaymentLinkService,
|
|
12
|
+
BasePlanService,
|
|
13
|
+
BaseSubscriptionService
|
|
14
|
+
} from '@forklaunch/implementation-billing-base/services';
|
|
15
|
+
import {
|
|
16
|
+
BillingPortalService,
|
|
17
|
+
CheckoutSessionService,
|
|
18
|
+
PaymentLinkService,
|
|
19
|
+
PlanService,
|
|
20
|
+
SubscriptionService
|
|
21
|
+
} from '@forklaunch/interfaces-billing/interfaces';
|
|
22
|
+
import {
|
|
23
|
+
ResponseMapperConstructor,
|
|
24
|
+
RequestMapperConstructor,
|
|
25
|
+
InternalMapper
|
|
26
|
+
} from '@forklaunch/internal';
|
|
7
27
|
import { AnySchemaValidator } from '@forklaunch/validator';
|
|
8
28
|
import { EntityManager } from '@mikro-orm/core';
|
|
9
29
|
import Stripe__default from 'stripe';
|
|
10
|
-
import {
|
|
11
|
-
|
|
30
|
+
import {
|
|
31
|
+
StripeBillingPortalEntities,
|
|
32
|
+
StripeBillingPortalDtos,
|
|
33
|
+
StripeCreateBillingPortalDto,
|
|
34
|
+
StripeUpdateBillingPortalDto,
|
|
35
|
+
StripeBillingPortalDto,
|
|
36
|
+
StripeCheckoutSessionEntities,
|
|
37
|
+
StripeCheckoutSessionDtos,
|
|
38
|
+
StripePaymentLinkEntities,
|
|
39
|
+
StripePaymentLinkDtos,
|
|
40
|
+
StripeCreatePaymentLinkDto,
|
|
41
|
+
StripeUpdatePaymentLinkDto,
|
|
42
|
+
StripePaymentLinkDto,
|
|
43
|
+
StripePlanEntities,
|
|
44
|
+
StripePlanDtos,
|
|
45
|
+
StripeCreatePlanDto,
|
|
46
|
+
StripeUpdatePlanDto,
|
|
47
|
+
StripePlanDto,
|
|
48
|
+
StripeSubscriptionEntities,
|
|
49
|
+
StripeSubscriptionDtos,
|
|
50
|
+
StripeCreateSubscriptionDto,
|
|
51
|
+
StripeUpdateSubscriptionDto,
|
|
52
|
+
StripeSubscriptionDto
|
|
53
|
+
} from '../domain/types/index.mjs';
|
|
54
|
+
import {
|
|
55
|
+
PaymentMethodEnum,
|
|
56
|
+
CurrencyEnum,
|
|
57
|
+
PlanCadenceEnum,
|
|
58
|
+
BillingProviderEnum
|
|
59
|
+
} from '../domain/enum/index.mjs';
|
|
12
60
|
import '@forklaunch/interfaces-billing/types';
|
|
13
61
|
|
|
14
|
-
declare class StripeBillingPortalService<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
62
|
+
declare class StripeBillingPortalService<
|
|
63
|
+
SchemaValidator extends AnySchemaValidator,
|
|
64
|
+
Entities extends StripeBillingPortalEntities,
|
|
65
|
+
Dto extends StripeBillingPortalDtos = StripeBillingPortalDtos
|
|
66
|
+
> implements
|
|
67
|
+
BillingPortalService<{
|
|
68
|
+
CreateBillingPortalDto: StripeCreateBillingPortalDto;
|
|
69
|
+
UpdateBillingPortalDto: StripeUpdateBillingPortalDto;
|
|
70
|
+
BillingPortalDto: StripeBillingPortalDto;
|
|
71
|
+
IdDto: IdDto;
|
|
72
|
+
}>
|
|
73
|
+
{
|
|
74
|
+
protected stripeClient: Stripe__default;
|
|
75
|
+
protected em: EntityManager;
|
|
76
|
+
protected cache: TtlCache;
|
|
77
|
+
protected openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
78
|
+
protected schemaValidator: SchemaValidator;
|
|
79
|
+
protected mappers: {
|
|
80
|
+
BillingPortalMapper: ResponseMapperConstructor<
|
|
81
|
+
SchemaValidator,
|
|
82
|
+
Dto['BillingPortalMapper'],
|
|
83
|
+
Entities['BillingPortalMapper']
|
|
84
|
+
>;
|
|
85
|
+
CreateBillingPortalMapper: RequestMapperConstructor<
|
|
86
|
+
SchemaValidator,
|
|
87
|
+
Dto['CreateBillingPortalMapper'],
|
|
88
|
+
Entities['CreateBillingPortalMapper'],
|
|
89
|
+
(
|
|
90
|
+
dto: Dto['CreateBillingPortalMapper'],
|
|
91
|
+
em: EntityManager,
|
|
92
|
+
session: Stripe__default.BillingPortal.Session
|
|
93
|
+
) => Promise<Entities['CreateBillingPortalMapper']>
|
|
94
|
+
>;
|
|
95
|
+
UpdateBillingPortalMapper: RequestMapperConstructor<
|
|
96
|
+
SchemaValidator,
|
|
97
|
+
Dto['UpdateBillingPortalMapper'],
|
|
98
|
+
Entities['UpdateBillingPortalMapper'],
|
|
99
|
+
(
|
|
100
|
+
dto: Dto['UpdateBillingPortalMapper'],
|
|
101
|
+
em: EntityManager,
|
|
102
|
+
session: Stripe__default.BillingPortal.Session
|
|
103
|
+
) => Promise<Entities['UpdateBillingPortalMapper']>
|
|
104
|
+
>;
|
|
105
|
+
};
|
|
106
|
+
readonly options?:
|
|
107
|
+
| {
|
|
31
108
|
telemetry?: TelemetryOptions;
|
|
32
109
|
enableDatabaseBackup?: boolean;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
110
|
+
}
|
|
111
|
+
| undefined;
|
|
112
|
+
private readonly billingPortalSessionExpiryDurationMs;
|
|
113
|
+
baseBillingPortalService: BaseBillingPortalService<
|
|
114
|
+
SchemaValidator,
|
|
115
|
+
Entities,
|
|
116
|
+
Entities
|
|
117
|
+
>;
|
|
118
|
+
protected _mappers: InternalMapper<InstanceTypeRecord<typeof this.mappers>>;
|
|
119
|
+
constructor(
|
|
120
|
+
stripeClient: Stripe__default,
|
|
121
|
+
em: EntityManager,
|
|
122
|
+
cache: TtlCache,
|
|
123
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
124
|
+
schemaValidator: SchemaValidator,
|
|
125
|
+
mappers: {
|
|
126
|
+
BillingPortalMapper: ResponseMapperConstructor<
|
|
127
|
+
SchemaValidator,
|
|
128
|
+
Dto['BillingPortalMapper'],
|
|
129
|
+
Entities['BillingPortalMapper']
|
|
130
|
+
>;
|
|
131
|
+
CreateBillingPortalMapper: RequestMapperConstructor<
|
|
132
|
+
SchemaValidator,
|
|
133
|
+
Dto['CreateBillingPortalMapper'],
|
|
134
|
+
Entities['CreateBillingPortalMapper'],
|
|
135
|
+
(
|
|
136
|
+
dto: Dto['CreateBillingPortalMapper'],
|
|
137
|
+
em: EntityManager,
|
|
138
|
+
session: Stripe__default.BillingPortal.Session
|
|
139
|
+
) => Promise<Entities['CreateBillingPortalMapper']>
|
|
140
|
+
>;
|
|
141
|
+
UpdateBillingPortalMapper: RequestMapperConstructor<
|
|
142
|
+
SchemaValidator,
|
|
143
|
+
Dto['UpdateBillingPortalMapper'],
|
|
144
|
+
Entities['UpdateBillingPortalMapper'],
|
|
145
|
+
(
|
|
146
|
+
dto: Dto['UpdateBillingPortalMapper'],
|
|
147
|
+
em: EntityManager,
|
|
148
|
+
session: Stripe__default.BillingPortal.Session
|
|
149
|
+
) => Promise<Entities['UpdateBillingPortalMapper']>
|
|
150
|
+
>;
|
|
151
|
+
},
|
|
152
|
+
options?:
|
|
153
|
+
| {
|
|
154
|
+
telemetry?: TelemetryOptions;
|
|
155
|
+
enableDatabaseBackup?: boolean;
|
|
156
|
+
}
|
|
157
|
+
| undefined
|
|
158
|
+
);
|
|
159
|
+
createBillingPortalSession(
|
|
160
|
+
billingPortalDto: Dto['CreateBillingPortalMapper']
|
|
161
|
+
): Promise<Dto['BillingPortalMapper']>;
|
|
162
|
+
getBillingPortalSession(idDto: IdDto): Promise<Dto['BillingPortalMapper']>;
|
|
163
|
+
expireBillingPortalSession(idDto: IdDto): Promise<void>;
|
|
164
|
+
updateBillingPortalSession(
|
|
165
|
+
billingPortalDto: Dto['UpdateBillingPortalMapper']
|
|
166
|
+
): Promise<Dto['BillingPortalMapper']>;
|
|
49
167
|
}
|
|
50
168
|
|
|
51
|
-
declare class StripeCheckoutSessionService<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
169
|
+
declare class StripeCheckoutSessionService<
|
|
170
|
+
SchemaValidator extends AnySchemaValidator,
|
|
171
|
+
StatusEnum,
|
|
172
|
+
Entities extends StripeCheckoutSessionEntities<StatusEnum>,
|
|
173
|
+
Dto extends
|
|
174
|
+
StripeCheckoutSessionDtos<StatusEnum> = StripeCheckoutSessionDtos<StatusEnum>
|
|
175
|
+
> implements
|
|
176
|
+
CheckoutSessionService<
|
|
177
|
+
typeof PaymentMethodEnum,
|
|
178
|
+
typeof CurrencyEnum,
|
|
179
|
+
StatusEnum,
|
|
180
|
+
{
|
|
181
|
+
CreateCheckoutSessionDto: Dto['CreateCheckoutSessionMapper'];
|
|
182
|
+
CheckoutSessionDto: Dto['CheckoutSessionMapper'];
|
|
183
|
+
IdDto: IdDto;
|
|
184
|
+
}
|
|
185
|
+
>
|
|
186
|
+
{
|
|
187
|
+
protected readonly stripeClient: Stripe__default;
|
|
188
|
+
protected readonly em: EntityManager;
|
|
189
|
+
protected readonly cache: TtlCache;
|
|
190
|
+
protected readonly openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
191
|
+
protected readonly schemaValidator: SchemaValidator;
|
|
192
|
+
protected readonly mappers: {
|
|
193
|
+
CheckoutSessionMapper: ResponseMapperConstructor<
|
|
194
|
+
SchemaValidator,
|
|
195
|
+
Dto['CheckoutSessionMapper'],
|
|
196
|
+
Entities['CheckoutSessionMapper']
|
|
197
|
+
>;
|
|
198
|
+
CreateCheckoutSessionMapper: RequestMapperConstructor<
|
|
199
|
+
SchemaValidator,
|
|
200
|
+
Dto['CreateCheckoutSessionMapper'],
|
|
201
|
+
Entities['CreateCheckoutSessionMapper'],
|
|
202
|
+
(
|
|
203
|
+
dto: Dto['CreateCheckoutSessionMapper'],
|
|
204
|
+
em: EntityManager,
|
|
205
|
+
session: Stripe__default.Checkout.Session
|
|
206
|
+
) => Promise<Entities['CreateCheckoutSessionMapper']>
|
|
207
|
+
>;
|
|
208
|
+
UpdateCheckoutSessionMapper: RequestMapperConstructor<
|
|
209
|
+
SchemaValidator,
|
|
210
|
+
Dto['UpdateCheckoutSessionMapper'],
|
|
211
|
+
Entities['UpdateCheckoutSessionMapper'],
|
|
212
|
+
(
|
|
213
|
+
dto: Dto['UpdateCheckoutSessionMapper'],
|
|
214
|
+
em: EntityManager,
|
|
215
|
+
session: Stripe__default.Checkout.Session
|
|
216
|
+
) => Promise<Entities['UpdateCheckoutSessionMapper']>
|
|
217
|
+
>;
|
|
218
|
+
};
|
|
219
|
+
readonly options?:
|
|
220
|
+
| {
|
|
67
221
|
enableDatabaseBackup?: boolean;
|
|
68
222
|
telemetry?: TelemetryOptions;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
223
|
+
}
|
|
224
|
+
| undefined;
|
|
225
|
+
baseCheckoutSessionService: BaseCheckoutSessionService<
|
|
226
|
+
SchemaValidator,
|
|
227
|
+
typeof PaymentMethodEnum,
|
|
228
|
+
typeof CurrencyEnum,
|
|
229
|
+
StatusEnum,
|
|
230
|
+
Entities,
|
|
231
|
+
Entities
|
|
232
|
+
>;
|
|
233
|
+
protected _mappers: InternalMapper<InstanceTypeRecord<typeof this.mappers>>;
|
|
234
|
+
constructor(
|
|
235
|
+
stripeClient: Stripe__default,
|
|
236
|
+
em: EntityManager,
|
|
237
|
+
cache: TtlCache,
|
|
238
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
239
|
+
schemaValidator: SchemaValidator,
|
|
240
|
+
mappers: {
|
|
241
|
+
CheckoutSessionMapper: ResponseMapperConstructor<
|
|
242
|
+
SchemaValidator,
|
|
243
|
+
Dto['CheckoutSessionMapper'],
|
|
244
|
+
Entities['CheckoutSessionMapper']
|
|
245
|
+
>;
|
|
246
|
+
CreateCheckoutSessionMapper: RequestMapperConstructor<
|
|
247
|
+
SchemaValidator,
|
|
248
|
+
Dto['CreateCheckoutSessionMapper'],
|
|
249
|
+
Entities['CreateCheckoutSessionMapper'],
|
|
250
|
+
(
|
|
251
|
+
dto: Dto['CreateCheckoutSessionMapper'],
|
|
252
|
+
em: EntityManager,
|
|
253
|
+
session: Stripe__default.Checkout.Session
|
|
254
|
+
) => Promise<Entities['CreateCheckoutSessionMapper']>
|
|
255
|
+
>;
|
|
256
|
+
UpdateCheckoutSessionMapper: RequestMapperConstructor<
|
|
257
|
+
SchemaValidator,
|
|
258
|
+
Dto['UpdateCheckoutSessionMapper'],
|
|
259
|
+
Entities['UpdateCheckoutSessionMapper'],
|
|
260
|
+
(
|
|
261
|
+
dto: Dto['UpdateCheckoutSessionMapper'],
|
|
262
|
+
em: EntityManager,
|
|
263
|
+
session: Stripe__default.Checkout.Session
|
|
264
|
+
) => Promise<Entities['UpdateCheckoutSessionMapper']>
|
|
265
|
+
>;
|
|
266
|
+
},
|
|
267
|
+
options?:
|
|
268
|
+
| {
|
|
269
|
+
enableDatabaseBackup?: boolean;
|
|
270
|
+
telemetry?: TelemetryOptions;
|
|
271
|
+
}
|
|
272
|
+
| undefined
|
|
273
|
+
);
|
|
274
|
+
createCheckoutSession(
|
|
275
|
+
checkoutSessionDto: Dto['CreateCheckoutSessionMapper']
|
|
276
|
+
): Promise<Dto['CheckoutSessionMapper']>;
|
|
277
|
+
getCheckoutSession({ id }: IdDto): Promise<Dto['CheckoutSessionMapper']>;
|
|
278
|
+
expireCheckoutSession({ id }: IdDto): Promise<void>;
|
|
279
|
+
handleCheckoutSuccess({ id }: IdDto): Promise<void>;
|
|
280
|
+
handleCheckoutFailure({ id }: IdDto): Promise<void>;
|
|
85
281
|
}
|
|
86
282
|
|
|
87
|
-
declare class StripePaymentLinkService<
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
283
|
+
declare class StripePaymentLinkService<
|
|
284
|
+
SchemaValidator extends AnySchemaValidator,
|
|
285
|
+
StatusEnum,
|
|
286
|
+
Entities extends StripePaymentLinkEntities<StatusEnum>,
|
|
287
|
+
Dto extends
|
|
288
|
+
StripePaymentLinkDtos<StatusEnum> = StripePaymentLinkDtos<StatusEnum>
|
|
289
|
+
> implements
|
|
290
|
+
PaymentLinkService<
|
|
291
|
+
PaymentMethodEnum,
|
|
292
|
+
CurrencyEnum,
|
|
293
|
+
StatusEnum,
|
|
294
|
+
{
|
|
295
|
+
CreatePaymentLinkDto: StripeCreatePaymentLinkDto<StatusEnum>;
|
|
296
|
+
UpdatePaymentLinkDto: StripeUpdatePaymentLinkDto<StatusEnum>;
|
|
297
|
+
PaymentLinkDto: StripePaymentLinkDto<StatusEnum>;
|
|
298
|
+
IdDto: IdDto;
|
|
299
|
+
IdsDto: IdsDto;
|
|
300
|
+
}
|
|
301
|
+
>
|
|
302
|
+
{
|
|
303
|
+
protected readonly stripeClient: Stripe__default;
|
|
304
|
+
protected readonly em: EntityManager;
|
|
305
|
+
protected readonly cache: TtlCache;
|
|
306
|
+
protected readonly openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
307
|
+
protected readonly schemaValidator: SchemaValidator;
|
|
308
|
+
protected readonly mappers: {
|
|
309
|
+
PaymentLinkMapper: ResponseMapperConstructor<
|
|
310
|
+
SchemaValidator,
|
|
311
|
+
Dto['PaymentLinkMapper'],
|
|
312
|
+
Entities['PaymentLinkMapper']
|
|
313
|
+
>;
|
|
314
|
+
CreatePaymentLinkMapper: RequestMapperConstructor<
|
|
315
|
+
SchemaValidator,
|
|
316
|
+
Dto['CreatePaymentLinkMapper'],
|
|
317
|
+
Entities['CreatePaymentLinkMapper'],
|
|
318
|
+
(
|
|
319
|
+
dto: Dto['CreatePaymentLinkMapper'],
|
|
320
|
+
em: EntityManager,
|
|
321
|
+
paymentLink: Stripe__default.PaymentLink
|
|
322
|
+
) => Promise<Entities['CreatePaymentLinkMapper']>
|
|
323
|
+
>;
|
|
324
|
+
UpdatePaymentLinkMapper: RequestMapperConstructor<
|
|
325
|
+
SchemaValidator,
|
|
326
|
+
Dto['UpdatePaymentLinkMapper'],
|
|
327
|
+
Entities['UpdatePaymentLinkMapper'],
|
|
328
|
+
(
|
|
329
|
+
dto: Dto['UpdatePaymentLinkMapper'],
|
|
330
|
+
em: EntityManager,
|
|
331
|
+
paymentLink: Stripe__default.PaymentLink
|
|
332
|
+
) => Promise<Entities['UpdatePaymentLinkMapper']>
|
|
333
|
+
>;
|
|
334
|
+
};
|
|
335
|
+
readonly options?:
|
|
336
|
+
| {
|
|
115
337
|
enableDatabaseBackup?: boolean;
|
|
116
338
|
telemetry?: TelemetryOptions;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
339
|
+
}
|
|
340
|
+
| undefined;
|
|
341
|
+
basePaymentLinkService: BasePaymentLinkService<
|
|
342
|
+
SchemaValidator,
|
|
343
|
+
typeof PaymentMethodEnum,
|
|
344
|
+
typeof CurrencyEnum,
|
|
345
|
+
StatusEnum,
|
|
346
|
+
Entities,
|
|
347
|
+
Entities
|
|
348
|
+
>;
|
|
349
|
+
protected _mappers: InternalMapper<InstanceTypeRecord<typeof this.mappers>>;
|
|
350
|
+
constructor(
|
|
351
|
+
stripeClient: Stripe__default,
|
|
352
|
+
em: EntityManager,
|
|
353
|
+
cache: TtlCache,
|
|
354
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
355
|
+
schemaValidator: SchemaValidator,
|
|
356
|
+
mappers: {
|
|
357
|
+
PaymentLinkMapper: ResponseMapperConstructor<
|
|
358
|
+
SchemaValidator,
|
|
359
|
+
Dto['PaymentLinkMapper'],
|
|
360
|
+
Entities['PaymentLinkMapper']
|
|
361
|
+
>;
|
|
362
|
+
CreatePaymentLinkMapper: RequestMapperConstructor<
|
|
363
|
+
SchemaValidator,
|
|
364
|
+
Dto['CreatePaymentLinkMapper'],
|
|
365
|
+
Entities['CreatePaymentLinkMapper'],
|
|
366
|
+
(
|
|
367
|
+
dto: Dto['CreatePaymentLinkMapper'],
|
|
368
|
+
em: EntityManager,
|
|
369
|
+
paymentLink: Stripe__default.PaymentLink
|
|
370
|
+
) => Promise<Entities['CreatePaymentLinkMapper']>
|
|
371
|
+
>;
|
|
372
|
+
UpdatePaymentLinkMapper: RequestMapperConstructor<
|
|
373
|
+
SchemaValidator,
|
|
374
|
+
Dto['UpdatePaymentLinkMapper'],
|
|
375
|
+
Entities['UpdatePaymentLinkMapper'],
|
|
376
|
+
(
|
|
377
|
+
dto: Dto['UpdatePaymentLinkMapper'],
|
|
378
|
+
em: EntityManager,
|
|
379
|
+
paymentLink: Stripe__default.PaymentLink
|
|
380
|
+
) => Promise<Entities['UpdatePaymentLinkMapper']>
|
|
381
|
+
>;
|
|
382
|
+
},
|
|
383
|
+
options?:
|
|
384
|
+
| {
|
|
385
|
+
enableDatabaseBackup?: boolean;
|
|
386
|
+
telemetry?: TelemetryOptions;
|
|
387
|
+
}
|
|
388
|
+
| undefined
|
|
389
|
+
);
|
|
390
|
+
createPaymentLink(
|
|
391
|
+
paymentLinkDto: Dto['CreatePaymentLinkMapper']
|
|
392
|
+
): Promise<Dto['PaymentLinkMapper']>;
|
|
393
|
+
updatePaymentLink(
|
|
394
|
+
paymentLinkDto: Dto['UpdatePaymentLinkMapper']
|
|
395
|
+
): Promise<Dto['PaymentLinkMapper']>;
|
|
396
|
+
getPaymentLink({ id }: IdDto): Promise<Dto['PaymentLinkMapper']>;
|
|
397
|
+
expirePaymentLink({ id }: IdDto): Promise<void>;
|
|
398
|
+
handlePaymentSuccess({ id }: IdDto): Promise<void>;
|
|
399
|
+
handlePaymentFailure({ id }: IdDto): Promise<void>;
|
|
400
|
+
listPaymentLinks(idsDto?: IdsDto): Promise<Dto['PaymentLinkMapper'][]>;
|
|
125
401
|
}
|
|
126
402
|
|
|
127
|
-
declare class StripePlanService<
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
403
|
+
declare class StripePlanService<
|
|
404
|
+
SchemaValidator extends AnySchemaValidator,
|
|
405
|
+
Entities extends StripePlanEntities,
|
|
406
|
+
Dto extends StripePlanDtos = StripePlanDtos
|
|
407
|
+
> implements
|
|
408
|
+
PlanService<
|
|
409
|
+
typeof PlanCadenceEnum,
|
|
410
|
+
typeof CurrencyEnum,
|
|
411
|
+
typeof BillingProviderEnum,
|
|
412
|
+
{
|
|
413
|
+
CreatePlanDto: StripeCreatePlanDto;
|
|
414
|
+
UpdatePlanDto: StripeUpdatePlanDto;
|
|
415
|
+
PlanDto: StripePlanDto;
|
|
416
|
+
IdDto: IdDto;
|
|
417
|
+
IdsDto: IdsDto;
|
|
418
|
+
}
|
|
419
|
+
>
|
|
420
|
+
{
|
|
421
|
+
protected readonly stripeClient: Stripe__default;
|
|
422
|
+
protected readonly em: EntityManager;
|
|
423
|
+
protected readonly openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
424
|
+
protected readonly schemaValidator: SchemaValidator;
|
|
425
|
+
protected readonly mappers: {
|
|
426
|
+
PlanMapper: ResponseMapperConstructor<
|
|
427
|
+
SchemaValidator,
|
|
428
|
+
Dto['PlanMapper'],
|
|
429
|
+
Entities['PlanMapper']
|
|
430
|
+
>;
|
|
431
|
+
CreatePlanMapper: RequestMapperConstructor<
|
|
432
|
+
SchemaValidator,
|
|
433
|
+
Dto['CreatePlanMapper'],
|
|
434
|
+
Entities['CreatePlanMapper'],
|
|
435
|
+
(
|
|
436
|
+
dto: Dto['CreatePlanMapper'],
|
|
437
|
+
em: EntityManager,
|
|
438
|
+
plan: Stripe__default.Plan
|
|
439
|
+
) => Promise<Entities['CreatePlanMapper']>
|
|
440
|
+
>;
|
|
441
|
+
UpdatePlanMapper: RequestMapperConstructor<
|
|
442
|
+
SchemaValidator,
|
|
443
|
+
Dto['UpdatePlanMapper'],
|
|
444
|
+
Entities['UpdatePlanMapper'],
|
|
445
|
+
(
|
|
446
|
+
dto: Dto['UpdatePlanMapper'],
|
|
447
|
+
em: EntityManager,
|
|
448
|
+
plan: Stripe__default.Plan
|
|
449
|
+
) => Promise<Entities['UpdatePlanMapper']>
|
|
450
|
+
>;
|
|
451
|
+
};
|
|
452
|
+
readonly options?:
|
|
453
|
+
| {
|
|
154
454
|
telemetry?: TelemetryOptions;
|
|
155
455
|
databaseTableName?: string;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
456
|
+
}
|
|
457
|
+
| undefined;
|
|
458
|
+
basePlanService: BasePlanService<
|
|
459
|
+
SchemaValidator,
|
|
460
|
+
typeof PlanCadenceEnum,
|
|
461
|
+
typeof CurrencyEnum,
|
|
462
|
+
typeof BillingProviderEnum,
|
|
463
|
+
Entities,
|
|
464
|
+
Entities
|
|
465
|
+
>;
|
|
466
|
+
protected _mappers: InternalMapper<InstanceTypeRecord<typeof this.mappers>>;
|
|
467
|
+
constructor(
|
|
468
|
+
stripeClient: Stripe__default,
|
|
469
|
+
em: EntityManager,
|
|
470
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
471
|
+
schemaValidator: SchemaValidator,
|
|
472
|
+
mappers: {
|
|
473
|
+
PlanMapper: ResponseMapperConstructor<
|
|
474
|
+
SchemaValidator,
|
|
475
|
+
Dto['PlanMapper'],
|
|
476
|
+
Entities['PlanMapper']
|
|
477
|
+
>;
|
|
478
|
+
CreatePlanMapper: RequestMapperConstructor<
|
|
479
|
+
SchemaValidator,
|
|
480
|
+
Dto['CreatePlanMapper'],
|
|
481
|
+
Entities['CreatePlanMapper'],
|
|
482
|
+
(
|
|
483
|
+
dto: Dto['CreatePlanMapper'],
|
|
484
|
+
em: EntityManager,
|
|
485
|
+
plan: Stripe__default.Plan
|
|
486
|
+
) => Promise<Entities['CreatePlanMapper']>
|
|
487
|
+
>;
|
|
488
|
+
UpdatePlanMapper: RequestMapperConstructor<
|
|
489
|
+
SchemaValidator,
|
|
490
|
+
Dto['UpdatePlanMapper'],
|
|
491
|
+
Entities['UpdatePlanMapper'],
|
|
492
|
+
(
|
|
493
|
+
dto: Dto['UpdatePlanMapper'],
|
|
494
|
+
em: EntityManager,
|
|
495
|
+
plan: Stripe__default.Plan
|
|
496
|
+
) => Promise<Entities['UpdatePlanMapper']>
|
|
497
|
+
>;
|
|
498
|
+
},
|
|
499
|
+
options?:
|
|
500
|
+
| {
|
|
501
|
+
telemetry?: TelemetryOptions;
|
|
502
|
+
databaseTableName?: string;
|
|
503
|
+
}
|
|
504
|
+
| undefined
|
|
505
|
+
);
|
|
506
|
+
createPlan(
|
|
507
|
+
planDto: Dto['CreatePlanMapper'],
|
|
508
|
+
em?: EntityManager
|
|
509
|
+
): Promise<Dto['PlanMapper']>;
|
|
510
|
+
getPlan(idDto: IdDto, em?: EntityManager): Promise<Dto['PlanMapper']>;
|
|
511
|
+
updatePlan(
|
|
512
|
+
planDto: Dto['UpdatePlanMapper'],
|
|
513
|
+
em?: EntityManager
|
|
514
|
+
): Promise<Dto['PlanMapper']>;
|
|
515
|
+
deletePlan(
|
|
516
|
+
idDto: {
|
|
517
|
+
id: string;
|
|
518
|
+
},
|
|
519
|
+
em?: EntityManager
|
|
520
|
+
): Promise<void>;
|
|
521
|
+
listPlans(idsDto?: IdsDto, em?: EntityManager): Promise<Dto['PlanMapper'][]>;
|
|
164
522
|
}
|
|
165
523
|
|
|
166
|
-
declare class StripeSubscriptionService<
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
524
|
+
declare class StripeSubscriptionService<
|
|
525
|
+
SchemaValidator extends AnySchemaValidator,
|
|
526
|
+
PartyType,
|
|
527
|
+
Entities extends StripeSubscriptionEntities<PartyType>,
|
|
528
|
+
Dto extends
|
|
529
|
+
StripeSubscriptionDtos<PartyType> = StripeSubscriptionDtos<PartyType>
|
|
530
|
+
> implements
|
|
531
|
+
SubscriptionService<
|
|
532
|
+
PartyType,
|
|
533
|
+
typeof BillingProviderEnum,
|
|
534
|
+
{
|
|
535
|
+
CreateSubscriptionDto: StripeCreateSubscriptionDto<PartyType>;
|
|
536
|
+
UpdateSubscriptionDto: StripeUpdateSubscriptionDto<PartyType>;
|
|
537
|
+
SubscriptionDto: StripeSubscriptionDto<PartyType>;
|
|
538
|
+
IdDto: IdDto;
|
|
539
|
+
IdsDto: IdsDto;
|
|
540
|
+
}
|
|
541
|
+
>
|
|
542
|
+
{
|
|
543
|
+
protected readonly stripe: Stripe__default;
|
|
544
|
+
protected readonly em: EntityManager;
|
|
545
|
+
protected readonly openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
546
|
+
protected readonly schemaValidator: SchemaValidator;
|
|
547
|
+
protected readonly mappers: {
|
|
548
|
+
SubscriptionMapper: ResponseMapperConstructor<
|
|
549
|
+
SchemaValidator,
|
|
550
|
+
Dto['SubscriptionMapper'],
|
|
551
|
+
Entities['SubscriptionMapper']
|
|
552
|
+
>;
|
|
553
|
+
CreateSubscriptionMapper: RequestMapperConstructor<
|
|
554
|
+
SchemaValidator,
|
|
555
|
+
Dto['CreateSubscriptionMapper'],
|
|
556
|
+
Entities['CreateSubscriptionMapper'],
|
|
557
|
+
(
|
|
558
|
+
dto: Dto['CreateSubscriptionMapper'],
|
|
559
|
+
em: EntityManager,
|
|
560
|
+
subscription: Stripe__default.Subscription
|
|
561
|
+
) => Promise<Entities['CreateSubscriptionMapper']>
|
|
562
|
+
>;
|
|
563
|
+
UpdateSubscriptionMapper: RequestMapperConstructor<
|
|
564
|
+
SchemaValidator,
|
|
565
|
+
Dto['UpdateSubscriptionMapper'],
|
|
566
|
+
Entities['UpdateSubscriptionMapper'],
|
|
567
|
+
(
|
|
568
|
+
dto: Dto['UpdateSubscriptionMapper'],
|
|
569
|
+
em: EntityManager,
|
|
570
|
+
subscription: Stripe__default.Subscription
|
|
571
|
+
) => Promise<Entities['UpdateSubscriptionMapper']>
|
|
572
|
+
>;
|
|
573
|
+
};
|
|
574
|
+
readonly options?:
|
|
575
|
+
| {
|
|
193
576
|
telemetry?: TelemetryOptions;
|
|
194
577
|
databaseTableName?: string;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
578
|
+
}
|
|
579
|
+
| undefined;
|
|
580
|
+
baseSubscriptionService: BaseSubscriptionService<
|
|
581
|
+
SchemaValidator,
|
|
582
|
+
PartyType,
|
|
583
|
+
typeof BillingProviderEnum,
|
|
584
|
+
Entities,
|
|
585
|
+
Entities
|
|
586
|
+
>;
|
|
587
|
+
protected _mappers: InternalMapper<InstanceTypeRecord<typeof this.mappers>>;
|
|
588
|
+
constructor(
|
|
589
|
+
stripe: Stripe__default,
|
|
590
|
+
em: EntityManager,
|
|
591
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
592
|
+
schemaValidator: SchemaValidator,
|
|
593
|
+
mappers: {
|
|
594
|
+
SubscriptionMapper: ResponseMapperConstructor<
|
|
595
|
+
SchemaValidator,
|
|
596
|
+
Dto['SubscriptionMapper'],
|
|
597
|
+
Entities['SubscriptionMapper']
|
|
598
|
+
>;
|
|
599
|
+
CreateSubscriptionMapper: RequestMapperConstructor<
|
|
600
|
+
SchemaValidator,
|
|
601
|
+
Dto['CreateSubscriptionMapper'],
|
|
602
|
+
Entities['CreateSubscriptionMapper'],
|
|
603
|
+
(
|
|
604
|
+
dto: Dto['CreateSubscriptionMapper'],
|
|
605
|
+
em: EntityManager,
|
|
606
|
+
subscription: Stripe__default.Subscription
|
|
607
|
+
) => Promise<Entities['CreateSubscriptionMapper']>
|
|
608
|
+
>;
|
|
609
|
+
UpdateSubscriptionMapper: RequestMapperConstructor<
|
|
610
|
+
SchemaValidator,
|
|
611
|
+
Dto['UpdateSubscriptionMapper'],
|
|
612
|
+
Entities['UpdateSubscriptionMapper'],
|
|
613
|
+
(
|
|
614
|
+
dto: Dto['UpdateSubscriptionMapper'],
|
|
615
|
+
em: EntityManager,
|
|
616
|
+
subscription: Stripe__default.Subscription
|
|
617
|
+
) => Promise<Entities['UpdateSubscriptionMapper']>
|
|
618
|
+
>;
|
|
619
|
+
},
|
|
620
|
+
options?:
|
|
621
|
+
| {
|
|
622
|
+
telemetry?: TelemetryOptions;
|
|
623
|
+
databaseTableName?: string;
|
|
624
|
+
}
|
|
625
|
+
| undefined
|
|
626
|
+
);
|
|
627
|
+
createSubscription(
|
|
628
|
+
subscriptionDto: Dto['CreateSubscriptionMapper'],
|
|
629
|
+
em?: EntityManager
|
|
630
|
+
): Promise<Dto['SubscriptionMapper']>;
|
|
631
|
+
getSubscription(
|
|
632
|
+
idDto: IdDto,
|
|
633
|
+
em?: EntityManager
|
|
634
|
+
): Promise<Dto['SubscriptionMapper']>;
|
|
635
|
+
getUserSubscription(
|
|
636
|
+
idDto: IdDto,
|
|
637
|
+
em?: EntityManager
|
|
638
|
+
): Promise<Dto['SubscriptionMapper']>;
|
|
639
|
+
getOrganizationSubscription(
|
|
640
|
+
idDto: IdDto,
|
|
641
|
+
em?: EntityManager
|
|
642
|
+
): Promise<Dto['SubscriptionMapper']>;
|
|
643
|
+
updateSubscription(
|
|
644
|
+
subscriptionDto: Dto['UpdateSubscriptionMapper'],
|
|
645
|
+
em?: EntityManager
|
|
646
|
+
): Promise<Dto['SubscriptionMapper']>;
|
|
647
|
+
deleteSubscription(
|
|
648
|
+
idDto: {
|
|
649
|
+
id: string;
|
|
650
|
+
},
|
|
651
|
+
em?: EntityManager
|
|
652
|
+
): Promise<void>;
|
|
653
|
+
listSubscriptions(
|
|
654
|
+
idsDto: IdsDto,
|
|
655
|
+
em?: EntityManager
|
|
656
|
+
): Promise<Dto['SubscriptionMapper'][]>;
|
|
657
|
+
cancelSubscription(idDto: IdDto, em?: EntityManager): Promise<void>;
|
|
658
|
+
resumeSubscription(idDto: IdDto, em?: EntityManager): Promise<void>;
|
|
207
659
|
}
|
|
208
660
|
|
|
209
|
-
declare class StripeWebhookService<
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
661
|
+
declare class StripeWebhookService<
|
|
662
|
+
SchemaValidator extends AnySchemaValidator,
|
|
663
|
+
StatusEnum,
|
|
664
|
+
PartyEnum,
|
|
665
|
+
BillingPortalEntities extends
|
|
666
|
+
StripeBillingPortalEntities = StripeBillingPortalEntities,
|
|
667
|
+
CheckoutSessionEntities extends
|
|
668
|
+
StripeCheckoutSessionEntities<StatusEnum> = StripeCheckoutSessionEntities<StatusEnum>,
|
|
669
|
+
PaymentLinkEntities extends
|
|
670
|
+
StripePaymentLinkEntities<StatusEnum> = StripePaymentLinkEntities<StatusEnum>,
|
|
671
|
+
PlanEntities extends StripePlanEntities = StripePlanEntities,
|
|
672
|
+
SubscriptionEntities extends
|
|
673
|
+
StripeSubscriptionEntities<PartyEnum> = StripeSubscriptionEntities<PartyEnum>
|
|
674
|
+
> {
|
|
675
|
+
protected readonly stripeClient: Stripe__default;
|
|
676
|
+
protected readonly em: EntityManager;
|
|
677
|
+
protected readonly schemaValidator: SchemaValidator;
|
|
678
|
+
protected readonly openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>;
|
|
679
|
+
protected readonly billingPortalService: StripeBillingPortalService<
|
|
680
|
+
SchemaValidator,
|
|
681
|
+
BillingPortalEntities
|
|
682
|
+
>;
|
|
683
|
+
protected readonly checkoutSessionService: StripeCheckoutSessionService<
|
|
684
|
+
SchemaValidator,
|
|
685
|
+
StatusEnum,
|
|
686
|
+
CheckoutSessionEntities
|
|
687
|
+
>;
|
|
688
|
+
protected readonly paymentLinkService: StripePaymentLinkService<
|
|
689
|
+
SchemaValidator,
|
|
690
|
+
StatusEnum,
|
|
691
|
+
PaymentLinkEntities
|
|
692
|
+
>;
|
|
693
|
+
protected readonly planService: StripePlanService<
|
|
694
|
+
SchemaValidator,
|
|
695
|
+
PlanEntities
|
|
696
|
+
>;
|
|
697
|
+
protected readonly subscriptionService: StripeSubscriptionService<
|
|
698
|
+
SchemaValidator,
|
|
699
|
+
PartyEnum,
|
|
700
|
+
SubscriptionEntities
|
|
701
|
+
>;
|
|
702
|
+
constructor(
|
|
703
|
+
stripeClient: Stripe__default,
|
|
704
|
+
em: EntityManager,
|
|
705
|
+
schemaValidator: SchemaValidator,
|
|
706
|
+
openTelemetryCollector: OpenTelemetryCollector<MetricsDefinition>,
|
|
707
|
+
billingPortalService: StripeBillingPortalService<
|
|
708
|
+
SchemaValidator,
|
|
709
|
+
BillingPortalEntities
|
|
710
|
+
>,
|
|
711
|
+
checkoutSessionService: StripeCheckoutSessionService<
|
|
712
|
+
SchemaValidator,
|
|
713
|
+
StatusEnum,
|
|
714
|
+
CheckoutSessionEntities
|
|
715
|
+
>,
|
|
716
|
+
paymentLinkService: StripePaymentLinkService<
|
|
717
|
+
SchemaValidator,
|
|
718
|
+
StatusEnum,
|
|
719
|
+
PaymentLinkEntities
|
|
720
|
+
>,
|
|
721
|
+
planService: StripePlanService<SchemaValidator, PlanEntities>,
|
|
722
|
+
subscriptionService: StripeSubscriptionService<
|
|
723
|
+
SchemaValidator,
|
|
724
|
+
PartyEnum,
|
|
725
|
+
SubscriptionEntities
|
|
726
|
+
>
|
|
727
|
+
);
|
|
728
|
+
handleWebhookEvent(event: Stripe__default.Event): Promise<void>;
|
|
221
729
|
}
|
|
222
730
|
|
|
223
|
-
export {
|
|
731
|
+
export {
|
|
732
|
+
StripeBillingPortalService,
|
|
733
|
+
StripeCheckoutSessionService,
|
|
734
|
+
StripePaymentLinkService,
|
|
735
|
+
StripePlanService,
|
|
736
|
+
StripeSubscriptionService,
|
|
737
|
+
StripeWebhookService
|
|
738
|
+
};
|