@wix/app-management 1.0.13 → 1.0.14
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/build/cjs/service-plugins-context.d.ts +1 -0
- package/build/cjs/service-plugins-context.js +28 -0
- package/build/cjs/service-plugins-context.js.map +1 -0
- package/build/cjs/service-plugins.d.ts +1 -0
- package/build/cjs/service-plugins.js +28 -0
- package/build/cjs/service-plugins.js.map +1 -0
- package/build/es/service-plugins-context.d.ts +1 -0
- package/build/es/service-plugins-context.js +2 -0
- package/build/es/service-plugins-context.js.map +1 -0
- package/build/es/service-plugins.d.ts +1 -0
- package/build/es/service-plugins.js +2 -0
- package/build/es/service-plugins.js.map +1 -0
- package/package.json +10 -9
- package/service-plugins/context/package.json +7 -0
- package/service-plugins/package.json +7 -0
- package/type-bundles/context.bundle.d.ts +169 -29
- package/type-bundles/index.bundle.d.ts +152 -20
- package/type-bundles/service-plugins-context.bundle.d.ts +363 -0
- package/type-bundles/service-plugins.bundle.d.ts +365 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
interface GetChargeLimitRequest {
|
|
2
|
+
/**
|
|
3
|
+
* ID of the subscription for which Wix retrieves the charge limit. Equals
|
|
4
|
+
* `null` in case Wix hasn't created the subscription when retrieving an
|
|
5
|
+
* initial charge limit. To track usage and billing for apps, we recommend to
|
|
6
|
+
* use `instanceId` instead of the `subscriptionId`.
|
|
7
|
+
*/
|
|
8
|
+
subscriptionId?: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* Supported values: `AUD`, `BRL`, `CAD`, `EUR`, `GBP`, `ILS`, `INR`, `JPY`, `MXN`, `PLN`, `RUB`, `TRY`, `USD`.
|
|
11
|
+
*
|
|
12
|
+
* 3-letter currency code in
|
|
13
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)
|
|
14
|
+
* format of the charge limit. Wix may add supported currencies in the future.
|
|
15
|
+
*/
|
|
16
|
+
currency?: string;
|
|
17
|
+
}
|
|
18
|
+
interface GetChargeLimitResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Retrieved charge limit for the app instance. You can't update the
|
|
21
|
+
* charge limit after you've set an initial value. Site owners can increase the
|
|
22
|
+
* limit in their site's dashboard, currently they aren't allowed to decrease it.
|
|
23
|
+
*/
|
|
24
|
+
chargeLimit?: string | null;
|
|
25
|
+
}
|
|
26
|
+
interface ListChargesRequest {
|
|
27
|
+
/**
|
|
28
|
+
* ID of the subscription for which Wix retrieves your custom charges.
|
|
29
|
+
* To track usage and billing for apps, we recommend to use `instanceId` instead
|
|
30
|
+
* of the `subscriptionId`.
|
|
31
|
+
*/
|
|
32
|
+
subscriptionId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Supported values: `AUD`, `BRL`, `CAD`, `EUR`, `GBP`, `ILS`, `INR`, `JPY`, `MXN`, `PLN`, `RUB`, `TRY`, `USD`.
|
|
35
|
+
*
|
|
36
|
+
* 3-letter currency code in
|
|
37
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)
|
|
38
|
+
* format of your charges to return. Wix may add supported currencies in the future.
|
|
39
|
+
*/
|
|
40
|
+
currency?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Begin of the period Wix retrieves the app instance's charges for in
|
|
43
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
44
|
+
*/
|
|
45
|
+
periodStart?: Date;
|
|
46
|
+
/**
|
|
47
|
+
* End of the period Wix retrieves the app instance's charges for in
|
|
48
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
49
|
+
*/
|
|
50
|
+
periodEnd?: Date;
|
|
51
|
+
/**
|
|
52
|
+
* Information about what Wix intends to do with the retrieved charges.
|
|
53
|
+
*
|
|
54
|
+
* + `"DISPLAY_ONLY"`: Inform the customer about how much your app would charge them at the moment. Wix doesn't create an invoice.
|
|
55
|
+
* + `"CREATE_INVOICE"`: Create an invoice for the customer.
|
|
56
|
+
*/
|
|
57
|
+
intent?: Intent;
|
|
58
|
+
}
|
|
59
|
+
declare enum Intent {
|
|
60
|
+
/** retrieving the current charges for display purposes only */
|
|
61
|
+
DISPLAY_ONLY = "DISPLAY_ONLY",
|
|
62
|
+
/** retrieving the current charges with the intention of creating an invoice and billing the user */
|
|
63
|
+
CREATE_INVOICE = "CREATE_INVOICE"
|
|
64
|
+
}
|
|
65
|
+
interface ListChargesResponse {
|
|
66
|
+
/**
|
|
67
|
+
* Retrieved charges.
|
|
68
|
+
*
|
|
69
|
+
* Max: 5 charges
|
|
70
|
+
*/
|
|
71
|
+
charges?: ChargeLineItem[];
|
|
72
|
+
}
|
|
73
|
+
interface ChargeLineItem {
|
|
74
|
+
/**
|
|
75
|
+
* ID of the charge. Make sure to save the charge ID on your servers for future
|
|
76
|
+
* reference. Identical to `lineItem.chargeId` in the
|
|
77
|
+
* [Invoice Created Event](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/invoice-created-event).
|
|
78
|
+
*
|
|
79
|
+
* Max: 64 characters
|
|
80
|
+
*/
|
|
81
|
+
_id?: string | null;
|
|
82
|
+
/** Charge description. */
|
|
83
|
+
description?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Charge amount in the currency that's specified in the request. Use a whole number
|
|
86
|
+
* or separate major and minor units with a dot. For example, `10` or `1.99`. If
|
|
87
|
+
* you return an amount with more minor units than supported according to
|
|
88
|
+
* [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#Active_codes),
|
|
89
|
+
* Wix truncates the additional minor units.
|
|
90
|
+
*
|
|
91
|
+
* Min: `0.50`
|
|
92
|
+
*/
|
|
93
|
+
amount?: string;
|
|
94
|
+
}
|
|
95
|
+
interface ChargesRejectedRequest {
|
|
96
|
+
/**
|
|
97
|
+
* ID of the subscription for which Wix hasn't accepted your custom charges.
|
|
98
|
+
* To track usage and billing for apps, we recommend to use `instanceId` instead
|
|
99
|
+
* of the `subscriptionId`.
|
|
100
|
+
*/
|
|
101
|
+
subscriptionId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Supported values: `AUD`, `BRL`, `CAD`, `EUR`, `GBP`, `ILS`, `INR`, `JPY`, `MXN`, `PLN`, `RUB`, `TRY`, `USD`.
|
|
104
|
+
*
|
|
105
|
+
* 3-letter currency code in
|
|
106
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)
|
|
107
|
+
* format of the charges. Wix may add supported currencies in the future.
|
|
108
|
+
*/
|
|
109
|
+
currency?: string;
|
|
110
|
+
/**
|
|
111
|
+
* IDs of the rejected charges.
|
|
112
|
+
*
|
|
113
|
+
* Max: 5 charges
|
|
114
|
+
*/
|
|
115
|
+
chargeIds?: string[] | null;
|
|
116
|
+
/**
|
|
117
|
+
* Maximum amount that your app may charge the customer per billing cycle.
|
|
118
|
+
*
|
|
119
|
+
* Min: `0.50`
|
|
120
|
+
*/
|
|
121
|
+
chargeLimit?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* Information about why Wix has rejected your app's charges.
|
|
124
|
+
*
|
|
125
|
+
* + `"UNKNOWN_REASON"`: There is no information about why Wix has rejected the charges.
|
|
126
|
+
* + `"CHARGE_LIMIT_EXCEEDED"`: The sum of the charges is higher than the limit that you may charge the customer per billing cycle.
|
|
127
|
+
* + `"TOO_MANY_CHARGES"`: You can't provide more than 5 charges per invoice.
|
|
128
|
+
* + `"INVALID_FORMAT"`: You must submit charges as whole numbers or use a dot to separate major and minor units. For example, `10` or `1.50`. Currently, Wix doesn't validate whether the submitted number of decimals for the minor unit is supported for the given currency.
|
|
129
|
+
*
|
|
130
|
+
* Max: 20 reasons
|
|
131
|
+
*/
|
|
132
|
+
reasons?: ChargesRejectedReason[];
|
|
133
|
+
}
|
|
134
|
+
declare enum ChargesRejectedReason {
|
|
135
|
+
UNKNOWN = "UNKNOWN",
|
|
136
|
+
CHARGE_LIMIT_EXCEEDED = "CHARGE_LIMIT_EXCEEDED",
|
|
137
|
+
TOO_MANY_CHARGES = "TOO_MANY_CHARGES",
|
|
138
|
+
INVALID_FORMAT = "INVALID_FORMAT"
|
|
139
|
+
}
|
|
140
|
+
interface ChargesRejectedResponse {
|
|
141
|
+
}
|
|
142
|
+
interface InvoiceCreatedRequest {
|
|
143
|
+
/**
|
|
144
|
+
* ID of the subscription for which Wix has created an invoice that includes
|
|
145
|
+
* your custom charges. To track usage and billing for apps, we recommend to use
|
|
146
|
+
* `instanceId` instead of the `subscriptionId`.
|
|
147
|
+
*/
|
|
148
|
+
subscriptionId?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Supported values: `AUD`, `BRL`, `CAD`, `EUR`, `GBP`, `ILS`, `INR`, `JPY`, `MXN`, `PLN`, `RUB`, `TRY`, `USD`.
|
|
151
|
+
*
|
|
152
|
+
* 3-letter currency code in
|
|
153
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)
|
|
154
|
+
* format of the charges. Wix may add supported currencies in the future.
|
|
155
|
+
*/
|
|
156
|
+
currency?: string;
|
|
157
|
+
/** ID of the created invoice. */
|
|
158
|
+
invoiceId?: string;
|
|
159
|
+
/** Line items included in the invoice. */
|
|
160
|
+
lineItems?: InvoiceLineItem[];
|
|
161
|
+
}
|
|
162
|
+
interface InvoiceLineItem {
|
|
163
|
+
/**
|
|
164
|
+
* ID of the charge as returned in
|
|
165
|
+
* [List Charges](https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/list-charges).
|
|
166
|
+
*
|
|
167
|
+
* Max: 64 characters
|
|
168
|
+
*/
|
|
169
|
+
chargeId?: string | null;
|
|
170
|
+
/** Charge amount. */
|
|
171
|
+
amount?: string;
|
|
172
|
+
/** ID of the line item in the invoice that Wix sends to the customer. */
|
|
173
|
+
_id?: string;
|
|
174
|
+
}
|
|
175
|
+
interface InvoiceCreatedResponse {
|
|
176
|
+
}
|
|
177
|
+
interface ChargeLimitUpdatedRequest {
|
|
178
|
+
/**
|
|
179
|
+
* ID of the subscription for which the charge limit has been updated.
|
|
180
|
+
* To track usage and billing for apps, we recommend to use `instanceId` instead
|
|
181
|
+
* of the `subscriptionId`.
|
|
182
|
+
*/
|
|
183
|
+
subscriptionId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Supported values: `AUD`, `BRL`, `CAD`, `EUR`, `GBP`, `ILS`, `INR`, `JPY`, `MXN`, `PLN`, `RUB`, `TRY`, `USD`.
|
|
186
|
+
*
|
|
187
|
+
* 3-letter currency code in
|
|
188
|
+
* [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes)
|
|
189
|
+
* format of the charges. Wix may add supported currencies in the future.
|
|
190
|
+
*/
|
|
191
|
+
currency?: string;
|
|
192
|
+
/** Updated charge limit. */
|
|
193
|
+
chargeLimit?: string | null;
|
|
194
|
+
}
|
|
195
|
+
interface ChargeLimitUpdatedResponse {
|
|
196
|
+
}
|
|
197
|
+
interface CustomChargesConfig {
|
|
198
|
+
/**
|
|
199
|
+
* Base part of your integration's deployment URI for the Custom Charges SPI.
|
|
200
|
+
* For example `"https://provider.example.com"`, if Wix should call your
|
|
201
|
+
* integration at `https://provider.example.com/v1/charge-limit` for the
|
|
202
|
+
* [Get Charge Limit]https://dev.wix.com/docs/rest/api-reference/app-management/apps/custom-charges-spi/custom-charges-provider-v1/get-charge-limit)
|
|
203
|
+
* endpoint.
|
|
204
|
+
*/
|
|
205
|
+
baseUri?: SpiBaseUri;
|
|
206
|
+
}
|
|
207
|
+
interface SpiBaseUri {
|
|
208
|
+
/** URI that will be used by the host to call the implementer. The path-suffix defined on the method will be appended to it */
|
|
209
|
+
baseUri?: string;
|
|
210
|
+
/** override method mappings per method */
|
|
211
|
+
alternativeUris?: AlternativeUri[];
|
|
212
|
+
}
|
|
213
|
+
interface AlternativeUri {
|
|
214
|
+
/** name of the method as it appears in the proto */
|
|
215
|
+
methodName?: string;
|
|
216
|
+
/** absolute uri that will be used by the host to call that method. The path-suffix mapped from the method http option will NOT be appended to this URI. For TPAs. it must be https */
|
|
217
|
+
absoluteUri?: string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* this message is not directly used by any service,
|
|
221
|
+
* it exists to describe the expected parameters that SHOULD be provided to invoked Velo methods as part of open-platform.
|
|
222
|
+
* e.g. SPIs, event-handlers, etc..
|
|
223
|
+
* NOTE: this context object MUST be provided as the last argument in each Velo method signature.
|
|
224
|
+
*
|
|
225
|
+
* Example:
|
|
226
|
+
* ```typescript
|
|
227
|
+
* export function wixStores_onOrderCanceled({ event, metadata }: OrderCanceledEvent) {
|
|
228
|
+
* ...
|
|
229
|
+
* }
|
|
230
|
+
* ```
|
|
231
|
+
*/
|
|
232
|
+
interface Context {
|
|
233
|
+
/** A unique identifier for each request. Can be used for logging / troubleshooting */
|
|
234
|
+
requestId?: string | null;
|
|
235
|
+
/** 3 capital letters string representing a currency according to ISO-4217 */
|
|
236
|
+
currency?: string | null;
|
|
237
|
+
/** The identification type and identity data */
|
|
238
|
+
identity?: IdentificationData;
|
|
239
|
+
/** A string representing a language and region in the format of "xx-XX". First 2 letters represent the language code according to ISO 639-1. This is followed by a dash "-", and then a by 2 capital letters representing the region according to ISO 3166-2 */
|
|
240
|
+
languages?: string[];
|
|
241
|
+
/** App instance ID of SPI in context */
|
|
242
|
+
instanceId?: string | null;
|
|
243
|
+
}
|
|
244
|
+
declare enum IdentityType {
|
|
245
|
+
UNKNOWN = "UNKNOWN",
|
|
246
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
247
|
+
MEMBER = "MEMBER",
|
|
248
|
+
WIX_USER = "WIX_USER",
|
|
249
|
+
APP = "APP"
|
|
250
|
+
}
|
|
251
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
252
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
253
|
+
anonymousVisitorId?: string;
|
|
254
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
255
|
+
memberId?: string;
|
|
256
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
257
|
+
wixUserId?: string;
|
|
258
|
+
/** ID of an app. */
|
|
259
|
+
appId?: string;
|
|
260
|
+
/** @readonly */
|
|
261
|
+
identityType?: IdentityType;
|
|
262
|
+
}
|
|
263
|
+
/** @oneof */
|
|
264
|
+
interface IdentificationDataIdOneOf {
|
|
265
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
266
|
+
anonymousVisitorId?: string;
|
|
267
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
268
|
+
memberId?: string;
|
|
269
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
270
|
+
wixUserId?: string;
|
|
271
|
+
/** ID of an app. */
|
|
272
|
+
appId?: string;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
type ServicePluginMethodInput = {
|
|
276
|
+
request: any;
|
|
277
|
+
metadata: any;
|
|
278
|
+
};
|
|
279
|
+
type ServicePluginContract = Record<string, (payload: ServicePluginMethodInput) => unknown | Promise<unknown>>;
|
|
280
|
+
type ServicePluginMethodMetadata = {
|
|
281
|
+
name: string;
|
|
282
|
+
primaryHttpMappingPath: string;
|
|
283
|
+
transformations: {
|
|
284
|
+
fromREST: (...args: unknown[]) => ServicePluginMethodInput;
|
|
285
|
+
toREST: (...args: unknown[]) => unknown;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
type ServicePluginDefinition<Contract extends ServicePluginContract> = {
|
|
289
|
+
__type: 'service-plugin-definition';
|
|
290
|
+
componentType: string;
|
|
291
|
+
methods: ServicePluginMethodMetadata[];
|
|
292
|
+
__contract: Contract;
|
|
293
|
+
};
|
|
294
|
+
declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
|
|
295
|
+
type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
|
|
296
|
+
|
|
297
|
+
declare global {
|
|
298
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
299
|
+
interface SymbolConstructor {
|
|
300
|
+
readonly observable: symbol;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
interface GetChargeLimitEnvelope {
|
|
305
|
+
request: GetChargeLimitRequest;
|
|
306
|
+
metadata: Context;
|
|
307
|
+
}
|
|
308
|
+
interface ListChargesEnvelope {
|
|
309
|
+
request: ListChargesRequest;
|
|
310
|
+
metadata: Context;
|
|
311
|
+
}
|
|
312
|
+
interface ChargesRejectedEventEnvelope {
|
|
313
|
+
request: ChargesRejectedRequest;
|
|
314
|
+
metadata: Context;
|
|
315
|
+
}
|
|
316
|
+
interface InvoiceCreatedEventEnvelope {
|
|
317
|
+
request: InvoiceCreatedRequest;
|
|
318
|
+
metadata: Context;
|
|
319
|
+
}
|
|
320
|
+
interface ChargeLimitUpdatedEventEnvelope {
|
|
321
|
+
request: ChargeLimitUpdatedRequest;
|
|
322
|
+
metadata: Context;
|
|
323
|
+
}
|
|
324
|
+
declare const provideHandlers$1: ServicePluginDefinition<{
|
|
325
|
+
getChargeLimit(payload: GetChargeLimitEnvelope): GetChargeLimitResponse | Promise<GetChargeLimitResponse>;
|
|
326
|
+
listCharges(payload: ListChargesEnvelope): ListChargesResponse | Promise<ListChargesResponse>;
|
|
327
|
+
chargesRejectedEvent(payload: ChargesRejectedEventEnvelope): ChargesRejectedResponse | Promise<ChargesRejectedResponse>;
|
|
328
|
+
invoiceCreatedEvent(payload: InvoiceCreatedEventEnvelope): InvoiceCreatedResponse | Promise<InvoiceCreatedResponse>;
|
|
329
|
+
chargeLimitUpdatedEvent(payload: ChargeLimitUpdatedEventEnvelope): ChargeLimitUpdatedResponse | Promise<ChargeLimitUpdatedResponse>;
|
|
330
|
+
}>;
|
|
331
|
+
|
|
332
|
+
declare const provideHandlers: BuildServicePluginDefinition<typeof provideHandlers$1>;
|
|
333
|
+
|
|
334
|
+
type context_AlternativeUri = AlternativeUri;
|
|
335
|
+
type context_ChargeLimitUpdatedRequest = ChargeLimitUpdatedRequest;
|
|
336
|
+
type context_ChargeLimitUpdatedResponse = ChargeLimitUpdatedResponse;
|
|
337
|
+
type context_ChargeLineItem = ChargeLineItem;
|
|
338
|
+
type context_ChargesRejectedReason = ChargesRejectedReason;
|
|
339
|
+
declare const context_ChargesRejectedReason: typeof ChargesRejectedReason;
|
|
340
|
+
type context_ChargesRejectedRequest = ChargesRejectedRequest;
|
|
341
|
+
type context_ChargesRejectedResponse = ChargesRejectedResponse;
|
|
342
|
+
type context_Context = Context;
|
|
343
|
+
type context_CustomChargesConfig = CustomChargesConfig;
|
|
344
|
+
type context_GetChargeLimitRequest = GetChargeLimitRequest;
|
|
345
|
+
type context_GetChargeLimitResponse = GetChargeLimitResponse;
|
|
346
|
+
type context_IdentificationData = IdentificationData;
|
|
347
|
+
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
348
|
+
type context_IdentityType = IdentityType;
|
|
349
|
+
declare const context_IdentityType: typeof IdentityType;
|
|
350
|
+
type context_Intent = Intent;
|
|
351
|
+
declare const context_Intent: typeof Intent;
|
|
352
|
+
type context_InvoiceCreatedRequest = InvoiceCreatedRequest;
|
|
353
|
+
type context_InvoiceCreatedResponse = InvoiceCreatedResponse;
|
|
354
|
+
type context_InvoiceLineItem = InvoiceLineItem;
|
|
355
|
+
type context_ListChargesRequest = ListChargesRequest;
|
|
356
|
+
type context_ListChargesResponse = ListChargesResponse;
|
|
357
|
+
type context_SpiBaseUri = SpiBaseUri;
|
|
358
|
+
declare const context_provideHandlers: typeof provideHandlers;
|
|
359
|
+
declare namespace context {
|
|
360
|
+
export { type context_AlternativeUri as AlternativeUri, type context_ChargeLimitUpdatedRequest as ChargeLimitUpdatedRequest, type context_ChargeLimitUpdatedResponse as ChargeLimitUpdatedResponse, type context_ChargeLineItem as ChargeLineItem, context_ChargesRejectedReason as ChargesRejectedReason, type context_ChargesRejectedRequest as ChargesRejectedRequest, type context_ChargesRejectedResponse as ChargesRejectedResponse, type context_Context as Context, type context_CustomChargesConfig as CustomChargesConfig, type context_GetChargeLimitRequest as GetChargeLimitRequest, type context_GetChargeLimitResponse as GetChargeLimitResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, context_IdentityType as IdentityType, context_Intent as Intent, type context_InvoiceCreatedRequest as InvoiceCreatedRequest, type context_InvoiceCreatedResponse as InvoiceCreatedResponse, type context_InvoiceLineItem as InvoiceLineItem, type context_ListChargesRequest as ListChargesRequest, type context_ListChargesResponse as ListChargesResponse, type context_SpiBaseUri as SpiBaseUri, context_provideHandlers as provideHandlers };
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export { context as customCharges };
|