@stigg/typescript 0.1.0-alpha.2 → 0.1.0-alpha.4
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/CHANGELOG.md +17 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/v1/coupons.d.mts +28 -78
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +28 -78
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +3 -3
- package/resources/v1/coupons.mjs +3 -3
- package/resources/v1/customers/customers.d.mts +132 -48
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +132 -48
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +21 -15
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +21 -15
- package/resources/v1/customers/customers.mjs.map +1 -1
- package/resources/v1/customers/index.d.mts +2 -2
- package/resources/v1/customers/index.d.mts.map +1 -1
- package/resources/v1/customers/index.d.ts +2 -2
- package/resources/v1/customers/index.d.ts.map +1 -1
- package/resources/v1/customers/index.js +3 -3
- package/resources/v1/customers/index.js.map +1 -1
- package/resources/v1/customers/index.mjs +1 -1
- package/resources/v1/customers/index.mjs.map +1 -1
- package/resources/v1/customers/payment-method.d.mts +5 -2
- package/resources/v1/customers/payment-method.d.mts.map +1 -1
- package/resources/v1/customers/payment-method.d.ts +5 -2
- package/resources/v1/customers/payment-method.d.ts.map +1 -1
- package/resources/v1/customers/payment-method.js +2 -2
- package/resources/v1/customers/payment-method.mjs +2 -2
- package/resources/v1/customers/promotional-entitlements.d.mts +350 -0
- package/resources/v1/customers/promotional-entitlements.d.mts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.d.ts +350 -0
- package/resources/v1/customers/promotional-entitlements.d.ts.map +1 -0
- package/resources/v1/customers/promotional-entitlements.js +23 -0
- package/resources/v1/customers/promotional-entitlements.js.map +1 -0
- package/resources/v1/customers/promotional-entitlements.mjs +19 -0
- package/resources/v1/customers/promotional-entitlements.mjs.map +1 -0
- package/resources/v1/events.d.mts +62 -0
- package/resources/v1/events.d.mts.map +1 -0
- package/resources/v1/events.d.ts +62 -0
- package/resources/v1/events.d.ts.map +1 -0
- package/resources/v1/events.js +15 -0
- package/resources/v1/events.js.map +1 -0
- package/resources/v1/events.mjs +11 -0
- package/resources/v1/events.mjs.map +1 -0
- package/resources/v1/index.d.mts +6 -4
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +6 -4
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +5 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +3 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +11 -19
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +11 -19
- package/resources/v1/subscriptions/future-update.d.ts.map +1 -1
- package/resources/v1/subscriptions/future-update.js +2 -2
- package/resources/v1/subscriptions/future-update.js.map +1 -1
- package/resources/v1/subscriptions/future-update.mjs +2 -2
- package/resources/v1/subscriptions/future-update.mjs.map +1 -1
- package/resources/v1/subscriptions/index.d.mts +2 -2
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts +2 -2
- package/resources/v1/subscriptions/index.d.ts.map +1 -1
- package/resources/v1/subscriptions/index.js.map +1 -1
- package/resources/v1/subscriptions/index.mjs +1 -1
- package/resources/v1/subscriptions/index.mjs.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +1354 -446
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +1354 -446
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +29 -11
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +30 -12
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/usage.d.mts +229 -0
- package/resources/v1/usage.d.mts.map +1 -0
- package/resources/v1/usage.d.ts +229 -0
- package/resources/v1/usage.d.ts.map +1 -0
- package/resources/v1/usage.js +23 -0
- package/resources/v1/usage.js.map +1 -0
- package/resources/v1/usage.mjs +19 -0
- package/resources/v1/usage.mjs.map +1 -0
- package/resources/v1/v1.d.mts +14 -149
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +14 -149
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +8 -12
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +8 -12
- package/resources/v1/v1.mjs.map +1 -1
- package/src/client.ts +2 -14
- package/src/resources/index.ts +1 -7
- package/src/resources/v1/coupons.ts +28 -211
- package/src/resources/v1/customers/customers.ts +167 -62
- package/src/resources/v1/customers/index.ts +10 -2
- package/src/resources/v1/customers/payment-method.ts +5 -2
- package/src/resources/v1/customers/promotional-entitlements.ts +466 -0
- package/src/resources/v1/events.ts +73 -0
- package/src/resources/v1/index.ts +19 -15
- package/src/resources/v1/subscriptions/future-update.ts +11 -27
- package/src/resources/v1/subscriptions/index.ts +8 -11
- package/src/resources/v1/subscriptions/subscriptions.ts +2987 -689
- package/src/resources/v1/usage.ts +283 -0
- package/src/resources/v1/v1.ts +50 -197
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/customers/usage.d.mts +0 -98
- package/resources/v1/customers/usage.d.mts.map +0 -1
- package/resources/v1/customers/usage.d.ts +0 -98
- package/resources/v1/customers/usage.d.ts.map +0 -1
- package/resources/v1/customers/usage.js +0 -20
- package/resources/v1/customers/usage.js.map +0 -1
- package/resources/v1/customers/usage.mjs +0 -16
- package/resources/v1/customers/usage.mjs.map +0 -1
- package/src/resources/v1/customers/usage.ts +0 -132
|
@@ -1,44 +1,57 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as PaymentMethodAPI from "./payment-method.js";
|
|
3
3
|
import { PaymentMethod, PaymentMethodAttachParams } from "./payment-method.js";
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
4
|
+
import * as PromotionalEntitlementsAPI from "./promotional-entitlements.js";
|
|
5
|
+
import { PromotionalEntitlementGrantParams, PromotionalEntitlementGrantResponse, PromotionalEntitlementRevokeParams, PromotionalEntitlementRevokeResponse, PromotionalEntitlements } from "./promotional-entitlements.js";
|
|
6
6
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
7
7
|
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../../core/pagination.js";
|
|
8
8
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
9
9
|
export declare class Customers extends APIResource {
|
|
10
10
|
paymentMethod: PaymentMethodAPI.PaymentMethod;
|
|
11
|
-
|
|
11
|
+
promotionalEntitlements: PromotionalEntitlementsAPI.PromotionalEntitlements;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
create(body: CustomerCreateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Get a single Customer by id
|
|
13
|
+
* Get a single customer by ID
|
|
18
14
|
*/
|
|
19
15
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
20
16
|
/**
|
|
21
|
-
* Update
|
|
17
|
+
* Update a customer
|
|
22
18
|
*/
|
|
23
19
|
update(id: string, body: CustomerUpdateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
24
20
|
/**
|
|
25
|
-
* Get a list of
|
|
21
|
+
* Get a list of customers
|
|
26
22
|
*/
|
|
27
23
|
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): PagePromise<CustomerListResponsesMyCursorIDPage, CustomerListResponse>;
|
|
28
24
|
/**
|
|
29
|
-
*
|
|
25
|
+
* Archive customer
|
|
30
26
|
*/
|
|
31
27
|
archive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
32
28
|
/**
|
|
33
|
-
*
|
|
29
|
+
* Bulk import customers
|
|
30
|
+
*/
|
|
31
|
+
import(body: CustomerImportParams, options?: RequestOptions): APIPromise<CustomerImportResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Provision customer
|
|
34
|
+
*/
|
|
35
|
+
provision(body: CustomerProvisionParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Unarchive customer
|
|
34
38
|
*/
|
|
35
39
|
unarchive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
36
40
|
}
|
|
37
41
|
export type CustomerListResponsesMyCursorIDPage = MyCursorIDPage<CustomerListResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Response object
|
|
44
|
+
*/
|
|
38
45
|
export interface CustomerResponse {
|
|
46
|
+
/**
|
|
47
|
+
* A customer can be either an organization or an individual
|
|
48
|
+
*/
|
|
39
49
|
data: CustomerResponse.Data;
|
|
40
50
|
}
|
|
41
51
|
export declare namespace CustomerResponse {
|
|
52
|
+
/**
|
|
53
|
+
* A customer can be either an organization or an individual
|
|
54
|
+
*/
|
|
42
55
|
interface Data {
|
|
43
56
|
/**
|
|
44
57
|
* Customer slug
|
|
@@ -109,6 +122,9 @@ export declare namespace CustomerResponse {
|
|
|
109
122
|
*/
|
|
110
123
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
111
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* External billing or CRM integration link
|
|
127
|
+
*/
|
|
112
128
|
interface Integration {
|
|
113
129
|
/**
|
|
114
130
|
* Integration details
|
|
@@ -125,6 +141,9 @@ export declare namespace CustomerResponse {
|
|
|
125
141
|
}
|
|
126
142
|
}
|
|
127
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* A customer can be either an organization or an individual
|
|
146
|
+
*/
|
|
128
147
|
export interface CustomerListResponse {
|
|
129
148
|
/**
|
|
130
149
|
* Customer slug
|
|
@@ -195,6 +214,9 @@ export declare namespace CustomerListResponse {
|
|
|
195
214
|
*/
|
|
196
215
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
197
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* External billing or CRM integration link
|
|
219
|
+
*/
|
|
198
220
|
interface Integration {
|
|
199
221
|
/**
|
|
200
222
|
* Integration details
|
|
@@ -210,19 +232,31 @@ export declare namespace CustomerListResponse {
|
|
|
210
232
|
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
211
233
|
}
|
|
212
234
|
}
|
|
213
|
-
|
|
235
|
+
/**
|
|
236
|
+
* Response object
|
|
237
|
+
*/
|
|
238
|
+
export interface CustomerImportResponse {
|
|
214
239
|
/**
|
|
215
|
-
*
|
|
240
|
+
* List of newly created customer IDs from the import operation.
|
|
216
241
|
*/
|
|
217
|
-
|
|
242
|
+
data: CustomerImportResponse.Data;
|
|
243
|
+
}
|
|
244
|
+
export declare namespace CustomerImportResponse {
|
|
218
245
|
/**
|
|
219
|
-
*
|
|
246
|
+
* List of newly created customer IDs from the import operation.
|
|
220
247
|
*/
|
|
221
|
-
|
|
248
|
+
interface Data {
|
|
249
|
+
/**
|
|
250
|
+
* Customer IDs created during import
|
|
251
|
+
*/
|
|
252
|
+
newCustomers: Array<string>;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
export interface CustomerUpdateParams {
|
|
222
256
|
/**
|
|
223
|
-
*
|
|
257
|
+
* Customer level coupon
|
|
224
258
|
*/
|
|
225
|
-
|
|
259
|
+
couponId?: string | null;
|
|
226
260
|
/**
|
|
227
261
|
* The email of the customer
|
|
228
262
|
*/
|
|
@@ -230,7 +264,7 @@ export interface CustomerCreateParams {
|
|
|
230
264
|
/**
|
|
231
265
|
* List of integrations
|
|
232
266
|
*/
|
|
233
|
-
integrations?: Array<
|
|
267
|
+
integrations?: Array<CustomerUpdateParams.Integration>;
|
|
234
268
|
/**
|
|
235
269
|
* Additional metadata
|
|
236
270
|
*/
|
|
@@ -242,52 +276,76 @@ export interface CustomerCreateParams {
|
|
|
242
276
|
*/
|
|
243
277
|
name?: string | null;
|
|
244
278
|
}
|
|
245
|
-
export declare namespace
|
|
279
|
+
export declare namespace CustomerUpdateParams {
|
|
246
280
|
/**
|
|
247
|
-
*
|
|
281
|
+
* External billing or CRM integration link
|
|
248
282
|
*/
|
|
249
|
-
interface
|
|
283
|
+
interface Integration {
|
|
250
284
|
/**
|
|
251
|
-
*
|
|
285
|
+
* Integration details
|
|
252
286
|
*/
|
|
253
|
-
|
|
287
|
+
id: string;
|
|
254
288
|
/**
|
|
255
|
-
*
|
|
289
|
+
* Synced entity id
|
|
256
290
|
*/
|
|
257
|
-
|
|
291
|
+
syncedEntityId: string | null;
|
|
258
292
|
/**
|
|
259
|
-
* The
|
|
293
|
+
* The vendor identifier of integration
|
|
260
294
|
*/
|
|
261
|
-
|
|
295
|
+
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
export interface CustomerListParams extends MyCursorIDPageParams {
|
|
299
|
+
}
|
|
300
|
+
export interface CustomerImportParams {
|
|
301
|
+
/**
|
|
302
|
+
* List of customer objects to import
|
|
303
|
+
*/
|
|
304
|
+
customers: Array<CustomerImportParams.Customer>;
|
|
305
|
+
}
|
|
306
|
+
export declare namespace CustomerImportParams {
|
|
307
|
+
interface Customer {
|
|
262
308
|
/**
|
|
263
|
-
*
|
|
309
|
+
* Customer slug
|
|
264
310
|
*/
|
|
265
|
-
|
|
311
|
+
id: string;
|
|
266
312
|
/**
|
|
267
|
-
* The
|
|
313
|
+
* The email of the customer
|
|
268
314
|
*/
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
interface Integration {
|
|
315
|
+
email: string | null;
|
|
272
316
|
/**
|
|
273
|
-
*
|
|
317
|
+
* The name of the customer
|
|
274
318
|
*/
|
|
275
|
-
|
|
319
|
+
name: string | null;
|
|
276
320
|
/**
|
|
277
|
-
*
|
|
321
|
+
* Additional metadata
|
|
278
322
|
*/
|
|
279
|
-
|
|
323
|
+
metadata?: {
|
|
324
|
+
[key: string]: string;
|
|
325
|
+
};
|
|
280
326
|
/**
|
|
281
|
-
*
|
|
327
|
+
* Billing provider payment method id
|
|
282
328
|
*/
|
|
283
|
-
|
|
329
|
+
paymentMethodId?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Timestamp of when the record was last updated
|
|
332
|
+
*/
|
|
333
|
+
updatedAt?: string;
|
|
284
334
|
}
|
|
285
335
|
}
|
|
286
|
-
export interface
|
|
336
|
+
export interface CustomerProvisionParams {
|
|
337
|
+
/**
|
|
338
|
+
* Customer slug
|
|
339
|
+
*/
|
|
340
|
+
id: string;
|
|
287
341
|
/**
|
|
288
342
|
* Customer level coupon
|
|
289
343
|
*/
|
|
290
344
|
couponId?: string | null;
|
|
345
|
+
/**
|
|
346
|
+
* The default payment method details
|
|
347
|
+
*/
|
|
348
|
+
defaultPaymentMethod?: CustomerProvisionParams.DefaultPaymentMethod | null;
|
|
291
349
|
/**
|
|
292
350
|
* The email of the customer
|
|
293
351
|
*/
|
|
@@ -295,7 +353,7 @@ export interface CustomerUpdateParams {
|
|
|
295
353
|
/**
|
|
296
354
|
* List of integrations
|
|
297
355
|
*/
|
|
298
|
-
integrations?: Array<
|
|
356
|
+
integrations?: Array<CustomerProvisionParams.Integration>;
|
|
299
357
|
/**
|
|
300
358
|
* Additional metadata
|
|
301
359
|
*/
|
|
@@ -307,7 +365,35 @@ export interface CustomerUpdateParams {
|
|
|
307
365
|
*/
|
|
308
366
|
name?: string | null;
|
|
309
367
|
}
|
|
310
|
-
export declare namespace
|
|
368
|
+
export declare namespace CustomerProvisionParams {
|
|
369
|
+
/**
|
|
370
|
+
* The default payment method details
|
|
371
|
+
*/
|
|
372
|
+
interface DefaultPaymentMethod {
|
|
373
|
+
/**
|
|
374
|
+
* The default payment method id
|
|
375
|
+
*/
|
|
376
|
+
billingId: string | null;
|
|
377
|
+
/**
|
|
378
|
+
* The expiration month of the default payment method
|
|
379
|
+
*/
|
|
380
|
+
cardExpiryMonth: number | null;
|
|
381
|
+
/**
|
|
382
|
+
* The expiration year of the default payment method
|
|
383
|
+
*/
|
|
384
|
+
cardExpiryYear: number | null;
|
|
385
|
+
/**
|
|
386
|
+
* The last 4 digits of the default payment method
|
|
387
|
+
*/
|
|
388
|
+
cardLast4Digits: string | null;
|
|
389
|
+
/**
|
|
390
|
+
* The default payment method type
|
|
391
|
+
*/
|
|
392
|
+
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* External billing or CRM integration link
|
|
396
|
+
*/
|
|
311
397
|
interface Integration {
|
|
312
398
|
/**
|
|
313
399
|
* Integration details
|
|
@@ -323,11 +409,9 @@ export declare namespace CustomerUpdateParams {
|
|
|
323
409
|
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
324
410
|
}
|
|
325
411
|
}
|
|
326
|
-
export interface CustomerListParams extends MyCursorIDPageParams {
|
|
327
|
-
}
|
|
328
412
|
export declare namespace Customers {
|
|
329
|
-
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type
|
|
413
|
+
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerImportResponse as CustomerImportResponse, type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, type CustomerImportParams as CustomerImportParams, type CustomerProvisionParams as CustomerProvisionParams, };
|
|
330
414
|
export { PaymentMethod as PaymentMethod, type PaymentMethodAttachParams as PaymentMethodAttachParams };
|
|
331
|
-
export {
|
|
415
|
+
export { PromotionalEntitlements as PromotionalEntitlements, type PromotionalEntitlementGrantResponse as PromotionalEntitlementGrantResponse, type PromotionalEntitlementRevokeResponse as PromotionalEntitlementRevokeResponse, type PromotionalEntitlementGrantParams as PromotionalEntitlementGrantParams, type PromotionalEntitlementRevokeParams as PromotionalEntitlementRevokeParams, };
|
|
332
416
|
}
|
|
333
417
|
//# sourceMappingURL=customers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAAE,yBAAyB,EAAE;OAC5C,KAAK,
|
|
1
|
+
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAAE,yBAAyB,EAAE;OAC5C,KAAK,0BAA0B;OAC/B,EACL,iCAAiC,EACjC,mCAAmC,EACnC,kCAAkC,EAClC,oCAAoC,EACpC,uBAAuB,EACxB;OACM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ACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;QAE/B;;WAEG;QACH,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;KACpC;IAED;;OAEG;IACH,UAAiB,WAAW;QAC1B;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAE9B;;WAEG;QACH,gBAAgB,EACZ,OAAO,GACP,OAAO,GACP,QAAQ,GACR,SAAS,GACT,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;KACjB;CACF;AAKD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;IAEvG,OAAO,EACL,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -6,36 +6,30 @@ const tslib_1 = require("../../../internal/tslib.js");
|
|
|
6
6
|
const resource_1 = require("../../../core/resource.js");
|
|
7
7
|
const PaymentMethodAPI = tslib_1.__importStar(require("./payment-method.js"));
|
|
8
8
|
const payment_method_1 = require("./payment-method.js");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const PromotionalEntitlementsAPI = tslib_1.__importStar(require("./promotional-entitlements.js"));
|
|
10
|
+
const promotional_entitlements_1 = require("./promotional-entitlements.js");
|
|
11
11
|
const pagination_1 = require("../../../core/pagination.js");
|
|
12
12
|
const path_1 = require("../../../internal/utils/path.js");
|
|
13
13
|
class Customers extends resource_1.APIResource {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments);
|
|
16
16
|
this.paymentMethod = new PaymentMethodAPI.PaymentMethod(this._client);
|
|
17
|
-
this.
|
|
17
|
+
this.promotionalEntitlements = new PromotionalEntitlementsAPI.PromotionalEntitlements(this._client);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
create(body, options) {
|
|
23
|
-
return this._client.post('/api/v1/customers', { body, ...options });
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Get a single Customer by id
|
|
20
|
+
* Get a single customer by ID
|
|
27
21
|
*/
|
|
28
22
|
retrieve(id, options) {
|
|
29
23
|
return this._client.get((0, path_1.path) `/api/v1/customers/${id}`, options);
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
|
-
* Update
|
|
26
|
+
* Update a customer
|
|
33
27
|
*/
|
|
34
28
|
update(id, body, options) {
|
|
35
29
|
return this._client.patch((0, path_1.path) `/api/v1/customers/${id}`, { body, ...options });
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
38
|
-
* Get a list of
|
|
32
|
+
* Get a list of customers
|
|
39
33
|
*/
|
|
40
34
|
list(query = {}, options) {
|
|
41
35
|
return this._client.getAPIList('/api/v1/customers', (pagination_1.MyCursorIDPage), {
|
|
@@ -44,13 +38,25 @@ class Customers extends resource_1.APIResource {
|
|
|
44
38
|
});
|
|
45
39
|
}
|
|
46
40
|
/**
|
|
47
|
-
*
|
|
41
|
+
* Archive customer
|
|
48
42
|
*/
|
|
49
43
|
archive(id, options) {
|
|
50
44
|
return this._client.post((0, path_1.path) `/api/v1/customers/${id}/archive`, options);
|
|
51
45
|
}
|
|
52
46
|
/**
|
|
53
|
-
*
|
|
47
|
+
* Bulk import customers
|
|
48
|
+
*/
|
|
49
|
+
import(body, options) {
|
|
50
|
+
return this._client.post('/api/v1/customers/import', { body, ...options });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Provision customer
|
|
54
|
+
*/
|
|
55
|
+
provision(body, options) {
|
|
56
|
+
return this._client.post('/api/v1/customers', { body, ...options });
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Unarchive customer
|
|
54
60
|
*/
|
|
55
61
|
unarchive(id, options) {
|
|
56
62
|
return this._client.post((0, path_1.path) `/api/v1/customers/${id}/unarchive`, options);
|
|
@@ -58,5 +64,5 @@ class Customers extends resource_1.APIResource {
|
|
|
58
64
|
}
|
|
59
65
|
exports.Customers = Customers;
|
|
60
66
|
Customers.PaymentMethod = payment_method_1.PaymentMethod;
|
|
61
|
-
Customers.
|
|
67
|
+
Customers.PromotionalEntitlements = promotional_entitlements_1.PromotionalEntitlements;
|
|
62
68
|
//# sourceMappingURL=customers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,8EAAqD;AACrD,wDAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,8EAAqD;AACrD,wDAA4E;AAC5E,kGAAyE;AACzE,4EAMoC;AAEpC,4DAAkG;AAElG,0DAAoD;AAEpD,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,kBAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjG,4BAAuB,GACrB,IAA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;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AA3DD,8BA2DC;AAydD,SAAS,CAAC,aAAa,GAAG,8BAAa,CAAC;AACxC,SAAS,CAAC,uBAAuB,GAAG,kDAAuB,CAAC"}
|
|
@@ -2,36 +2,30 @@
|
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as PaymentMethodAPI from "./payment-method.mjs";
|
|
4
4
|
import { PaymentMethod } from "./payment-method.mjs";
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
5
|
+
import * as PromotionalEntitlementsAPI from "./promotional-entitlements.mjs";
|
|
6
|
+
import { PromotionalEntitlements, } from "./promotional-entitlements.mjs";
|
|
7
7
|
import { MyCursorIDPage } from "../../../core/pagination.mjs";
|
|
8
8
|
import { path } from "../../../internal/utils/path.mjs";
|
|
9
9
|
export class Customers extends APIResource {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
12
|
this.paymentMethod = new PaymentMethodAPI.PaymentMethod(this._client);
|
|
13
|
-
this.
|
|
13
|
+
this.promotionalEntitlements = new PromotionalEntitlementsAPI.PromotionalEntitlements(this._client);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
create(body, options) {
|
|
19
|
-
return this._client.post('/api/v1/customers', { body, ...options });
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Get a single Customer by id
|
|
16
|
+
* Get a single customer by ID
|
|
23
17
|
*/
|
|
24
18
|
retrieve(id, options) {
|
|
25
19
|
return this._client.get(path `/api/v1/customers/${id}`, options);
|
|
26
20
|
}
|
|
27
21
|
/**
|
|
28
|
-
* Update
|
|
22
|
+
* Update a customer
|
|
29
23
|
*/
|
|
30
24
|
update(id, body, options) {
|
|
31
25
|
return this._client.patch(path `/api/v1/customers/${id}`, { body, ...options });
|
|
32
26
|
}
|
|
33
27
|
/**
|
|
34
|
-
* Get a list of
|
|
28
|
+
* Get a list of customers
|
|
35
29
|
*/
|
|
36
30
|
list(query = {}, options) {
|
|
37
31
|
return this._client.getAPIList('/api/v1/customers', (MyCursorIDPage), {
|
|
@@ -40,18 +34,30 @@ export class Customers extends APIResource {
|
|
|
40
34
|
});
|
|
41
35
|
}
|
|
42
36
|
/**
|
|
43
|
-
*
|
|
37
|
+
* Archive customer
|
|
44
38
|
*/
|
|
45
39
|
archive(id, options) {
|
|
46
40
|
return this._client.post(path `/api/v1/customers/${id}/archive`, options);
|
|
47
41
|
}
|
|
48
42
|
/**
|
|
49
|
-
*
|
|
43
|
+
* Bulk import customers
|
|
44
|
+
*/
|
|
45
|
+
import(body, options) {
|
|
46
|
+
return this._client.post('/api/v1/customers/import', { body, ...options });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Provision customer
|
|
50
|
+
*/
|
|
51
|
+
provision(body, options) {
|
|
52
|
+
return this._client.post('/api/v1/customers', { body, ...options });
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Unarchive customer
|
|
50
56
|
*/
|
|
51
57
|
unarchive(id, options) {
|
|
52
58
|
return this._client.post(path `/api/v1/customers/${id}/unarchive`, options);
|
|
53
59
|
}
|
|
54
60
|
}
|
|
55
61
|
Customers.PaymentMethod = PaymentMethod;
|
|
56
|
-
Customers.
|
|
62
|
+
Customers.PromotionalEntitlements = PromotionalEntitlements;
|
|
57
63
|
//# sourceMappingURL=customers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../../src/resources/v1/customers/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,gBAAgB;OACrB,EAAE,aAAa,EAA6B;OAC5C,KAAK,
|
|
1
|
+
{"version":3,"file":"customers.mjs","sourceRoot":"","s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,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,IAA6B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;OAEG;IACH,SAAS,CAAC,EAAU,EAAE,OAAwB;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,qBAAqB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AAydD,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC;AACxC,SAAS,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Customers, type CustomerResponse, type CustomerListResponse, type
|
|
1
|
+
export { Customers, type CustomerResponse, type CustomerListResponse, type CustomerImportResponse, type CustomerUpdateParams, type CustomerListParams, type CustomerImportParams, type CustomerProvisionParams, type CustomerListResponsesMyCursorIDPage, } from "./customers.mjs";
|
|
2
2
|
export { PaymentMethod, type PaymentMethodAttachParams } from "./payment-method.mjs";
|
|
3
|
-
export {
|
|
3
|
+
export { PromotionalEntitlements, type PromotionalEntitlementGrantResponse, type PromotionalEntitlementRevokeResponse, type PromotionalEntitlementGrantParams, type PromotionalEntitlementRevokeParams, } from "./promotional-entitlements.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,GACzC;OACM,EAAE,aAAa,EAAE,KAAK,yBAAyB,EAAE;OACjD,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Customers, type CustomerResponse, type CustomerListResponse, type
|
|
1
|
+
export { Customers, type CustomerResponse, type CustomerListResponse, type CustomerImportResponse, type CustomerUpdateParams, type CustomerListParams, type CustomerImportParams, type CustomerProvisionParams, type CustomerListResponsesMyCursorIDPage, } from "./customers.js";
|
|
2
2
|
export { PaymentMethod, type PaymentMethodAttachParams } from "./payment-method.js";
|
|
3
|
-
export {
|
|
3
|
+
export { PromotionalEntitlements, type PromotionalEntitlementGrantResponse, type PromotionalEntitlementRevokeResponse, type PromotionalEntitlementGrantParams, type PromotionalEntitlementRevokeParams, } from "./promotional-entitlements.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,GACzC;OACM,EAAE,aAAa,EAAE,KAAK,yBAAyB,EAAE;OACjD,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.PromotionalEntitlements = exports.PaymentMethod = exports.Customers = void 0;
|
|
5
5
|
var customers_1 = require("./customers.js");
|
|
6
6
|
Object.defineProperty(exports, "Customers", { enumerable: true, get: function () { return customers_1.Customers; } });
|
|
7
7
|
var payment_method_1 = require("./payment-method.js");
|
|
8
8
|
Object.defineProperty(exports, "PaymentMethod", { enumerable: true, get: function () { return payment_method_1.PaymentMethod; } });
|
|
9
|
-
var
|
|
10
|
-
Object.defineProperty(exports, "
|
|
9
|
+
var promotional_entitlements_1 = require("./promotional-entitlements.js");
|
|
10
|
+
Object.defineProperty(exports, "PromotionalEntitlements", { enumerable: true, get: function () { return promotional_entitlements_1.PromotionalEntitlements; } });
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAUqB;AATnB,sGAAA,SAAS,OAAA;AAUX,sDAAiF;AAAxE,+GAAA,aAAa,OAAA;AACtB,0EAMoC;AALlC,mIAAA,uBAAuB,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Customers, } from "./customers.mjs";
|
|
3
3
|
export { PaymentMethod } from "./payment-method.mjs";
|
|
4
|
-
export {
|
|
4
|
+
export { PromotionalEntitlements, } from "./promotional-entitlements.mjs";
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/v1/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GASV;OACM,EAAE,aAAa,EAAkC;OACjD,EACL,uBAAuB,GAKxB"}
|
|
@@ -4,11 +4,11 @@ import { APIPromise } from "../../../core/api-promise.mjs";
|
|
|
4
4
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
5
|
export declare class PaymentMethod extends APIResource {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Attach payment method
|
|
8
8
|
*/
|
|
9
9
|
attach(id: string, body: PaymentMethodAttachParams, options?: RequestOptions): APIPromise<CustomersAPI.CustomerResponse>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Detach payment method
|
|
12
12
|
*/
|
|
13
13
|
detach(id: string, options?: RequestOptions): APIPromise<CustomersAPI.CustomerResponse>;
|
|
14
14
|
}
|
|
@@ -25,6 +25,9 @@ export interface PaymentMethodAttachParams {
|
|
|
25
25
|
* The vendor identifier of integration
|
|
26
26
|
*/
|
|
27
27
|
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
28
|
+
/**
|
|
29
|
+
* Customers selected currency
|
|
30
|
+
*/
|
|
28
31
|
billingCurrency?: 'usd' | 'aed' | 'all' | 'amd' | 'ang' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bsd' | 'bwp' | 'byn' | 'bzd' | 'brl' | 'cad' | 'cdf' | 'chf' | 'cny' | 'czk' | 'dkk' | 'dop' | 'dzd' | 'egp' | 'etb' | 'eur' | 'fjd' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gyd' | 'hkd' | 'hrk' | 'htg' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mmk' | 'mnt' | 'mop' | 'mro' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nok' | 'npr' | 'nzd' | 'pgk' | 'php' | 'pkr' | 'pln' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'sle' | 'sll' | 'sos' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'tzs' | 'uah' | 'uzs' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'yer' | 'zar' | 'zmw' | 'clp' | 'djf' | 'gnf' | 'ugx' | 'pyg' | 'xof' | 'xpf' | null;
|
|
29
32
|
}
|
|
30
33
|
export declare namespace PaymentMethod {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-method.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/customers/payment-method.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa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ACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,IAAI,CAAC;CACV;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
|
|
1
|
+
{"version":3,"file":"payment-method.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/customers/payment-method.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,gBAAgB,CAAC;IAI5C;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,gBAAgB,CAAC;CAGxF;A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GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,IAAI,CAAC;CACV;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;CACxE"}
|