@stigg/typescript 0.1.0-alpha.1 → 0.1.0-alpha.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/CHANGELOG.md +20 -0
- package/README.md +31 -0
- package/core/pagination.d.mts +11 -5
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +11 -5
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +9 -9
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +9 -9
- package/core/pagination.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/v1/coupons.d.mts +100 -86
- package/resources/v1/coupons.d.mts.map +1 -1
- package/resources/v1/coupons.d.ts +100 -86
- package/resources/v1/coupons.d.ts.map +1 -1
- package/resources/v1/coupons.js +8 -4
- package/resources/v1/coupons.js.map +1 -1
- package/resources/v1/coupons.mjs +8 -4
- package/resources/v1/coupons.mjs.map +1 -1
- package/resources/v1/customers/customers.d.mts +101 -96
- package/resources/v1/customers/customers.d.mts.map +1 -1
- package/resources/v1/customers/customers.d.ts +101 -96
- package/resources/v1/customers/customers.d.ts.map +1 -1
- package/resources/v1/customers/customers.js +11 -7
- package/resources/v1/customers/customers.js.map +1 -1
- package/resources/v1/customers/customers.mjs +11 -7
- 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.map +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/usage.d.mts +0 -94
- package/resources/v1/customers/usage.d.mts.map +1 -1
- package/resources/v1/customers/usage.d.ts +0 -94
- package/resources/v1/customers/usage.d.ts.map +1 -1
- package/resources/v1/customers/usage.js +0 -11
- package/resources/v1/customers/usage.js.map +1 -1
- package/resources/v1/customers/usage.mjs +0 -11
- package/resources/v1/customers/usage.mjs.map +1 -1
- package/resources/v1/index.d.mts +3 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/subscriptions/future-update.d.mts +8 -2
- package/resources/v1/subscriptions/future-update.d.mts.map +1 -1
- package/resources/v1/subscriptions/future-update.d.ts +8 -2
- 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.mjs +2 -2
- package/resources/v1/subscriptions/index.d.mts +1 -1
- package/resources/v1/subscriptions/index.d.mts.map +1 -1
- package/resources/v1/subscriptions/index.d.ts +1 -1
- 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.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.mts +1092 -111
- package/resources/v1/subscriptions/subscriptions.d.mts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.d.ts +1092 -111
- package/resources/v1/subscriptions/subscriptions.d.ts.map +1 -1
- package/resources/v1/subscriptions/subscriptions.js +12 -8
- package/resources/v1/subscriptions/subscriptions.js.map +1 -1
- package/resources/v1/subscriptions/subscriptions.mjs +12 -8
- package/resources/v1/subscriptions/subscriptions.mjs.map +1 -1
- package/resources/v1/v1.d.mts +32 -9
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +32 -9
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +2 -2
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +2 -2
- package/resources/v1/v1.mjs.map +1 -1
- package/src/core/pagination.ts +24 -18
- package/src/resources/v1/coupons.ts +223 -212
- package/src/resources/v1/customers/customers.ts +121 -120
- package/src/resources/v1/customers/index.ts +2 -1
- package/src/resources/v1/customers/payment-method.ts +5 -2
- package/src/resources/v1/customers/usage.ts +1 -128
- package/src/resources/v1/index.ts +3 -0
- package/src/resources/v1/subscriptions/future-update.ts +8 -2
- package/src/resources/v1/subscriptions/index.ts +1 -0
- package/src/resources/v1/subscriptions/subscriptions.ts +2201 -153
- package/src/resources/v1/v1.ts +32 -3
- 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
|
@@ -2,41 +2,52 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
2
2
|
import * as PaymentMethodAPI from "./payment-method.mjs";
|
|
3
3
|
import { PaymentMethod, PaymentMethodAttachParams } from "./payment-method.mjs";
|
|
4
4
|
import * as UsageAPI from "./usage.mjs";
|
|
5
|
-
import { Usage
|
|
5
|
+
import { Usage } from "./usage.mjs";
|
|
6
6
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
7
|
+
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../../core/pagination.mjs";
|
|
7
8
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
8
9
|
export declare class Customers extends APIResource {
|
|
9
10
|
paymentMethod: PaymentMethodAPI.PaymentMethod;
|
|
10
11
|
usage: UsageAPI.Usage;
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Provision customer
|
|
13
14
|
*/
|
|
14
15
|
create(body: CustomerCreateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
15
16
|
/**
|
|
16
|
-
* Get a single
|
|
17
|
+
* Get a single customer by ID
|
|
17
18
|
*/
|
|
18
19
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
19
20
|
/**
|
|
20
|
-
* Update
|
|
21
|
+
* Update a customer
|
|
21
22
|
*/
|
|
22
23
|
update(id: string, body: CustomerUpdateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
23
24
|
/**
|
|
24
|
-
* Get a list of
|
|
25
|
+
* Get a list of customers
|
|
25
26
|
*/
|
|
26
|
-
list(query?: CustomerListParams | null | undefined, options?: RequestOptions):
|
|
27
|
+
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): PagePromise<CustomerListResponsesMyCursorIDPage, CustomerListResponse>;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Archive customer
|
|
29
30
|
*/
|
|
30
31
|
archive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Unarchive customer
|
|
33
34
|
*/
|
|
34
35
|
unarchive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
35
36
|
}
|
|
37
|
+
export type CustomerListResponsesMyCursorIDPage = MyCursorIDPage<CustomerListResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Response object
|
|
40
|
+
*/
|
|
36
41
|
export interface CustomerResponse {
|
|
42
|
+
/**
|
|
43
|
+
* A customer can be either an organization or an individual
|
|
44
|
+
*/
|
|
37
45
|
data: CustomerResponse.Data;
|
|
38
46
|
}
|
|
39
47
|
export declare namespace CustomerResponse {
|
|
48
|
+
/**
|
|
49
|
+
* A customer can be either an organization or an individual
|
|
50
|
+
*/
|
|
40
51
|
interface Data {
|
|
41
52
|
/**
|
|
42
53
|
* Customer slug
|
|
@@ -107,6 +118,9 @@ export declare namespace CustomerResponse {
|
|
|
107
118
|
*/
|
|
108
119
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
109
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* External billing or CRM integration link
|
|
123
|
+
*/
|
|
110
124
|
interface Integration {
|
|
111
125
|
/**
|
|
112
126
|
* Integration details
|
|
@@ -123,98 +137,95 @@ export declare namespace CustomerResponse {
|
|
|
123
137
|
}
|
|
124
138
|
}
|
|
125
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* A customer can be either an organization or an individual
|
|
142
|
+
*/
|
|
126
143
|
export interface CustomerListResponse {
|
|
127
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Customer slug
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* Timestamp of when the record was deleted
|
|
150
|
+
*/
|
|
151
|
+
archivedAt: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Timestamp of when the record was created
|
|
154
|
+
*/
|
|
155
|
+
createdAt: string;
|
|
156
|
+
/**
|
|
157
|
+
* Timestamp of when the record was last updated
|
|
158
|
+
*/
|
|
159
|
+
updatedAt: string;
|
|
160
|
+
/**
|
|
161
|
+
* Customer level coupon
|
|
162
|
+
*/
|
|
163
|
+
couponId?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* The default payment method details
|
|
166
|
+
*/
|
|
167
|
+
defaultPaymentMethod?: CustomerListResponse.DefaultPaymentMethod | null;
|
|
168
|
+
/**
|
|
169
|
+
* The email of the customer
|
|
170
|
+
*/
|
|
171
|
+
email?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* List of integrations
|
|
174
|
+
*/
|
|
175
|
+
integrations?: Array<CustomerListResponse.Integration>;
|
|
176
|
+
/**
|
|
177
|
+
* Additional metadata
|
|
178
|
+
*/
|
|
179
|
+
metadata?: {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* The name of the customer
|
|
184
|
+
*/
|
|
185
|
+
name?: string | null;
|
|
128
186
|
}
|
|
129
187
|
export declare namespace CustomerListResponse {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
id: string;
|
|
135
|
-
/**
|
|
136
|
-
* Timestamp of when the record was deleted
|
|
137
|
-
*/
|
|
138
|
-
archivedAt: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Timestamp of when the record was created
|
|
141
|
-
*/
|
|
142
|
-
createdAt: string;
|
|
143
|
-
/**
|
|
144
|
-
* Cursor ID for query pagination
|
|
145
|
-
*/
|
|
146
|
-
cursorId: string;
|
|
188
|
+
/**
|
|
189
|
+
* The default payment method details
|
|
190
|
+
*/
|
|
191
|
+
interface DefaultPaymentMethod {
|
|
147
192
|
/**
|
|
148
|
-
*
|
|
193
|
+
* The default payment method id
|
|
149
194
|
*/
|
|
150
|
-
|
|
195
|
+
billingId: string | null;
|
|
151
196
|
/**
|
|
152
|
-
*
|
|
197
|
+
* The expiration month of the default payment method
|
|
153
198
|
*/
|
|
154
|
-
|
|
199
|
+
cardExpiryMonth: number | null;
|
|
155
200
|
/**
|
|
156
|
-
* The default payment method
|
|
201
|
+
* The expiration year of the default payment method
|
|
157
202
|
*/
|
|
158
|
-
|
|
203
|
+
cardExpiryYear: number | null;
|
|
159
204
|
/**
|
|
160
|
-
* The
|
|
205
|
+
* The last 4 digits of the default payment method
|
|
161
206
|
*/
|
|
162
|
-
|
|
207
|
+
cardLast4Digits: string | null;
|
|
163
208
|
/**
|
|
164
|
-
*
|
|
209
|
+
* The default payment method type
|
|
165
210
|
*/
|
|
166
|
-
|
|
211
|
+
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* External billing or CRM integration link
|
|
215
|
+
*/
|
|
216
|
+
interface Integration {
|
|
167
217
|
/**
|
|
168
|
-
*
|
|
218
|
+
* Integration details
|
|
169
219
|
*/
|
|
170
|
-
|
|
171
|
-
[key: string]: string;
|
|
172
|
-
};
|
|
220
|
+
id: string;
|
|
173
221
|
/**
|
|
174
|
-
*
|
|
222
|
+
* Synced entity id
|
|
175
223
|
*/
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
namespace Data {
|
|
224
|
+
syncedEntityId: string | null;
|
|
179
225
|
/**
|
|
180
|
-
* The
|
|
226
|
+
* The vendor identifier of integration
|
|
181
227
|
*/
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* The default payment method id
|
|
185
|
-
*/
|
|
186
|
-
billingId: string | null;
|
|
187
|
-
/**
|
|
188
|
-
* The expiration month of the default payment method
|
|
189
|
-
*/
|
|
190
|
-
cardExpiryMonth: number | null;
|
|
191
|
-
/**
|
|
192
|
-
* The expiration year of the default payment method
|
|
193
|
-
*/
|
|
194
|
-
cardExpiryYear: number | null;
|
|
195
|
-
/**
|
|
196
|
-
* The last 4 digits of the default payment method
|
|
197
|
-
*/
|
|
198
|
-
cardLast4Digits: string | null;
|
|
199
|
-
/**
|
|
200
|
-
* The default payment method type
|
|
201
|
-
*/
|
|
202
|
-
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
203
|
-
}
|
|
204
|
-
interface Integration {
|
|
205
|
-
/**
|
|
206
|
-
* Integration details
|
|
207
|
-
*/
|
|
208
|
-
id: string;
|
|
209
|
-
/**
|
|
210
|
-
* Synced entity id
|
|
211
|
-
*/
|
|
212
|
-
syncedEntityId: string | null;
|
|
213
|
-
/**
|
|
214
|
-
* The vendor identifier of integration
|
|
215
|
-
*/
|
|
216
|
-
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
217
|
-
}
|
|
228
|
+
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
218
229
|
}
|
|
219
230
|
}
|
|
220
231
|
export interface CustomerCreateParams {
|
|
@@ -275,6 +286,9 @@ export declare namespace CustomerCreateParams {
|
|
|
275
286
|
*/
|
|
276
287
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
277
288
|
}
|
|
289
|
+
/**
|
|
290
|
+
* External billing or CRM integration link
|
|
291
|
+
*/
|
|
278
292
|
interface Integration {
|
|
279
293
|
/**
|
|
280
294
|
* Integration details
|
|
@@ -315,6 +329,9 @@ export interface CustomerUpdateParams {
|
|
|
315
329
|
name?: string | null;
|
|
316
330
|
}
|
|
317
331
|
export declare namespace CustomerUpdateParams {
|
|
332
|
+
/**
|
|
333
|
+
* External billing or CRM integration link
|
|
334
|
+
*/
|
|
318
335
|
interface Integration {
|
|
319
336
|
/**
|
|
320
337
|
* Integration details
|
|
@@ -330,23 +347,11 @@ export declare namespace CustomerUpdateParams {
|
|
|
330
347
|
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
331
348
|
}
|
|
332
349
|
}
|
|
333
|
-
export interface CustomerListParams {
|
|
334
|
-
/**
|
|
335
|
-
* Ending before this UUID for pagination
|
|
336
|
-
*/
|
|
337
|
-
endingBefore?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Items per page
|
|
340
|
-
*/
|
|
341
|
-
limit?: number;
|
|
342
|
-
/**
|
|
343
|
-
* Starting after this UUID for pagination
|
|
344
|
-
*/
|
|
345
|
-
startingAfter?: string;
|
|
350
|
+
export interface CustomerListParams extends MyCursorIDPageParams {
|
|
346
351
|
}
|
|
347
352
|
export declare namespace Customers {
|
|
348
|
-
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
353
|
+
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
349
354
|
export { PaymentMethod as PaymentMethod, type PaymentMethodAttachParams as PaymentMethodAttachParams };
|
|
350
|
-
export { Usage as Usage
|
|
355
|
+
export { Usage as Usage };
|
|
351
356
|
}
|
|
352
357
|
//# sourceMappingURL=customers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.mts","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,QAAQ;OACb,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"customers.d.mts","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,QAAQ;OACb,EAAE,KAAK,EAAE;OACT,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI5E;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAItG;;OAEG;IACH,IAAI,CACF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AQ,GACR,SAAS,GACT,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;KACjB;CACF;AAED,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB;CAAG;AAKnE,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,OAAO,EAAE,aAAa,IAAI,aAAa,EAAE,KAAK,yBAAyB,IAAI,yBAAyB,EAAE,CAAC;IAEvG,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,CAAC;CAC3B"}
|
|
@@ -2,41 +2,52 @@ 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
4
|
import * as UsageAPI from "./usage.js";
|
|
5
|
-
import { Usage
|
|
5
|
+
import { Usage } from "./usage.js";
|
|
6
6
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
7
|
+
import { MyCursorIDPage, type MyCursorIDPageParams, PagePromise } from "../../../core/pagination.js";
|
|
7
8
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
8
9
|
export declare class Customers extends APIResource {
|
|
9
10
|
paymentMethod: PaymentMethodAPI.PaymentMethod;
|
|
10
11
|
usage: UsageAPI.Usage;
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Provision customer
|
|
13
14
|
*/
|
|
14
15
|
create(body: CustomerCreateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
15
16
|
/**
|
|
16
|
-
* Get a single
|
|
17
|
+
* Get a single customer by ID
|
|
17
18
|
*/
|
|
18
19
|
retrieve(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
19
20
|
/**
|
|
20
|
-
* Update
|
|
21
|
+
* Update a customer
|
|
21
22
|
*/
|
|
22
23
|
update(id: string, body: CustomerUpdateParams, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
23
24
|
/**
|
|
24
|
-
* Get a list of
|
|
25
|
+
* Get a list of customers
|
|
25
26
|
*/
|
|
26
|
-
list(query?: CustomerListParams | null | undefined, options?: RequestOptions):
|
|
27
|
+
list(query?: CustomerListParams | null | undefined, options?: RequestOptions): PagePromise<CustomerListResponsesMyCursorIDPage, CustomerListResponse>;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* Archive customer
|
|
29
30
|
*/
|
|
30
31
|
archive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Unarchive customer
|
|
33
34
|
*/
|
|
34
35
|
unarchive(id: string, options?: RequestOptions): APIPromise<CustomerResponse>;
|
|
35
36
|
}
|
|
37
|
+
export type CustomerListResponsesMyCursorIDPage = MyCursorIDPage<CustomerListResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Response object
|
|
40
|
+
*/
|
|
36
41
|
export interface CustomerResponse {
|
|
42
|
+
/**
|
|
43
|
+
* A customer can be either an organization or an individual
|
|
44
|
+
*/
|
|
37
45
|
data: CustomerResponse.Data;
|
|
38
46
|
}
|
|
39
47
|
export declare namespace CustomerResponse {
|
|
48
|
+
/**
|
|
49
|
+
* A customer can be either an organization or an individual
|
|
50
|
+
*/
|
|
40
51
|
interface Data {
|
|
41
52
|
/**
|
|
42
53
|
* Customer slug
|
|
@@ -107,6 +118,9 @@ export declare namespace CustomerResponse {
|
|
|
107
118
|
*/
|
|
108
119
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
109
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* External billing or CRM integration link
|
|
123
|
+
*/
|
|
110
124
|
interface Integration {
|
|
111
125
|
/**
|
|
112
126
|
* Integration details
|
|
@@ -123,98 +137,95 @@ export declare namespace CustomerResponse {
|
|
|
123
137
|
}
|
|
124
138
|
}
|
|
125
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* A customer can be either an organization or an individual
|
|
142
|
+
*/
|
|
126
143
|
export interface CustomerListResponse {
|
|
127
|
-
|
|
144
|
+
/**
|
|
145
|
+
* Customer slug
|
|
146
|
+
*/
|
|
147
|
+
id: string;
|
|
148
|
+
/**
|
|
149
|
+
* Timestamp of when the record was deleted
|
|
150
|
+
*/
|
|
151
|
+
archivedAt: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Timestamp of when the record was created
|
|
154
|
+
*/
|
|
155
|
+
createdAt: string;
|
|
156
|
+
/**
|
|
157
|
+
* Timestamp of when the record was last updated
|
|
158
|
+
*/
|
|
159
|
+
updatedAt: string;
|
|
160
|
+
/**
|
|
161
|
+
* Customer level coupon
|
|
162
|
+
*/
|
|
163
|
+
couponId?: string | null;
|
|
164
|
+
/**
|
|
165
|
+
* The default payment method details
|
|
166
|
+
*/
|
|
167
|
+
defaultPaymentMethod?: CustomerListResponse.DefaultPaymentMethod | null;
|
|
168
|
+
/**
|
|
169
|
+
* The email of the customer
|
|
170
|
+
*/
|
|
171
|
+
email?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* List of integrations
|
|
174
|
+
*/
|
|
175
|
+
integrations?: Array<CustomerListResponse.Integration>;
|
|
176
|
+
/**
|
|
177
|
+
* Additional metadata
|
|
178
|
+
*/
|
|
179
|
+
metadata?: {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* The name of the customer
|
|
184
|
+
*/
|
|
185
|
+
name?: string | null;
|
|
128
186
|
}
|
|
129
187
|
export declare namespace CustomerListResponse {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
id: string;
|
|
135
|
-
/**
|
|
136
|
-
* Timestamp of when the record was deleted
|
|
137
|
-
*/
|
|
138
|
-
archivedAt: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Timestamp of when the record was created
|
|
141
|
-
*/
|
|
142
|
-
createdAt: string;
|
|
143
|
-
/**
|
|
144
|
-
* Cursor ID for query pagination
|
|
145
|
-
*/
|
|
146
|
-
cursorId: string;
|
|
188
|
+
/**
|
|
189
|
+
* The default payment method details
|
|
190
|
+
*/
|
|
191
|
+
interface DefaultPaymentMethod {
|
|
147
192
|
/**
|
|
148
|
-
*
|
|
193
|
+
* The default payment method id
|
|
149
194
|
*/
|
|
150
|
-
|
|
195
|
+
billingId: string | null;
|
|
151
196
|
/**
|
|
152
|
-
*
|
|
197
|
+
* The expiration month of the default payment method
|
|
153
198
|
*/
|
|
154
|
-
|
|
199
|
+
cardExpiryMonth: number | null;
|
|
155
200
|
/**
|
|
156
|
-
* The default payment method
|
|
201
|
+
* The expiration year of the default payment method
|
|
157
202
|
*/
|
|
158
|
-
|
|
203
|
+
cardExpiryYear: number | null;
|
|
159
204
|
/**
|
|
160
|
-
* The
|
|
205
|
+
* The last 4 digits of the default payment method
|
|
161
206
|
*/
|
|
162
|
-
|
|
207
|
+
cardLast4Digits: string | null;
|
|
163
208
|
/**
|
|
164
|
-
*
|
|
209
|
+
* The default payment method type
|
|
165
210
|
*/
|
|
166
|
-
|
|
211
|
+
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* External billing or CRM integration link
|
|
215
|
+
*/
|
|
216
|
+
interface Integration {
|
|
167
217
|
/**
|
|
168
|
-
*
|
|
218
|
+
* Integration details
|
|
169
219
|
*/
|
|
170
|
-
|
|
171
|
-
[key: string]: string;
|
|
172
|
-
};
|
|
220
|
+
id: string;
|
|
173
221
|
/**
|
|
174
|
-
*
|
|
222
|
+
* Synced entity id
|
|
175
223
|
*/
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
namespace Data {
|
|
224
|
+
syncedEntityId: string | null;
|
|
179
225
|
/**
|
|
180
|
-
* The
|
|
226
|
+
* The vendor identifier of integration
|
|
181
227
|
*/
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* The default payment method id
|
|
185
|
-
*/
|
|
186
|
-
billingId: string | null;
|
|
187
|
-
/**
|
|
188
|
-
* The expiration month of the default payment method
|
|
189
|
-
*/
|
|
190
|
-
cardExpiryMonth: number | null;
|
|
191
|
-
/**
|
|
192
|
-
* The expiration year of the default payment method
|
|
193
|
-
*/
|
|
194
|
-
cardExpiryYear: number | null;
|
|
195
|
-
/**
|
|
196
|
-
* The last 4 digits of the default payment method
|
|
197
|
-
*/
|
|
198
|
-
cardLast4Digits: string | null;
|
|
199
|
-
/**
|
|
200
|
-
* The default payment method type
|
|
201
|
-
*/
|
|
202
|
-
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
203
|
-
}
|
|
204
|
-
interface Integration {
|
|
205
|
-
/**
|
|
206
|
-
* Integration details
|
|
207
|
-
*/
|
|
208
|
-
id: string;
|
|
209
|
-
/**
|
|
210
|
-
* Synced entity id
|
|
211
|
-
*/
|
|
212
|
-
syncedEntityId: string | null;
|
|
213
|
-
/**
|
|
214
|
-
* The vendor identifier of integration
|
|
215
|
-
*/
|
|
216
|
-
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
217
|
-
}
|
|
228
|
+
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
218
229
|
}
|
|
219
230
|
}
|
|
220
231
|
export interface CustomerCreateParams {
|
|
@@ -275,6 +286,9 @@ export declare namespace CustomerCreateParams {
|
|
|
275
286
|
*/
|
|
276
287
|
type: 'CARD' | 'BANK' | 'CASH_APP';
|
|
277
288
|
}
|
|
289
|
+
/**
|
|
290
|
+
* External billing or CRM integration link
|
|
291
|
+
*/
|
|
278
292
|
interface Integration {
|
|
279
293
|
/**
|
|
280
294
|
* Integration details
|
|
@@ -315,6 +329,9 @@ export interface CustomerUpdateParams {
|
|
|
315
329
|
name?: string | null;
|
|
316
330
|
}
|
|
317
331
|
export declare namespace CustomerUpdateParams {
|
|
332
|
+
/**
|
|
333
|
+
* External billing or CRM integration link
|
|
334
|
+
*/
|
|
318
335
|
interface Integration {
|
|
319
336
|
/**
|
|
320
337
|
* Integration details
|
|
@@ -330,23 +347,11 @@ export declare namespace CustomerUpdateParams {
|
|
|
330
347
|
vendorIdentifier: 'AUTH0' | 'ZUORA' | 'STRIPE' | 'HUBSPOT' | 'AWS_MARKETPLACE' | 'SNOWFLAKE' | 'SALESFORCE' | 'BIG_QUERY' | 'OPEN_FGA' | 'APP_STORE';
|
|
331
348
|
}
|
|
332
349
|
}
|
|
333
|
-
export interface CustomerListParams {
|
|
334
|
-
/**
|
|
335
|
-
* Ending before this UUID for pagination
|
|
336
|
-
*/
|
|
337
|
-
endingBefore?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Items per page
|
|
340
|
-
*/
|
|
341
|
-
limit?: number;
|
|
342
|
-
/**
|
|
343
|
-
* Starting after this UUID for pagination
|
|
344
|
-
*/
|
|
345
|
-
startingAfter?: string;
|
|
350
|
+
export interface CustomerListParams extends MyCursorIDPageParams {
|
|
346
351
|
}
|
|
347
352
|
export declare namespace Customers {
|
|
348
|
-
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
353
|
+
export { type CustomerResponse as CustomerResponse, type CustomerListResponse as CustomerListResponse, type CustomerListResponsesMyCursorIDPage as CustomerListResponsesMyCursorIDPage, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerListParams as CustomerListParams, };
|
|
349
354
|
export { PaymentMethod as PaymentMethod, type PaymentMethodAttachParams as PaymentMethodAttachParams };
|
|
350
|
-
export { Usage as Usage
|
|
355
|
+
export { Usage as Usage };
|
|
351
356
|
}
|
|
352
357
|
//# 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,QAAQ;OACb,EAAE,KAAK,EAAE,
|
|
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,QAAQ;OACb,EAAE,KAAK,EAAE;OACT,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,WAAW,EAAE;OAC1D,EAAE,cAAc,EAAE;AAGzB,qBAAa,SAAU,SAAQ,WAAW;IACxC,aAAa,EAAE,gBAAgB,CAAC,aAAa,CAAoD;IACjG,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IAEzD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI1F;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI5E;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,E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