@whop/sdk 0.0.34 → 0.0.35
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 +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/affiliates/affiliates.d.mts +345 -0
- package/resources/affiliates/affiliates.d.mts.map +1 -0
- package/resources/affiliates/affiliates.d.ts +345 -0
- package/resources/affiliates/affiliates.d.ts.map +1 -0
- package/resources/affiliates/affiliates.js +112 -0
- package/resources/affiliates/affiliates.js.map +1 -0
- package/resources/affiliates/affiliates.mjs +107 -0
- package/resources/affiliates/affiliates.mjs.map +1 -0
- package/resources/affiliates/index.d.mts +3 -0
- package/resources/affiliates/index.d.mts.map +1 -0
- package/resources/affiliates/index.d.ts +3 -0
- package/resources/affiliates/index.d.ts.map +1 -0
- package/resources/affiliates/index.js +9 -0
- package/resources/affiliates/index.js.map +1 -0
- package/resources/affiliates/index.mjs +4 -0
- package/resources/affiliates/index.mjs.map +1 -0
- package/resources/affiliates/overrides.d.mts +443 -0
- package/resources/affiliates/overrides.d.mts.map +1 -0
- package/resources/affiliates/overrides.d.ts +443 -0
- package/resources/affiliates/overrides.d.ts.map +1 -0
- package/resources/affiliates/overrides.js +117 -0
- package/resources/affiliates/overrides.js.map +1 -0
- package/resources/affiliates/overrides.mjs +113 -0
- package/resources/affiliates/overrides.mjs.map +1 -0
- package/resources/affiliates.d.mts +2 -0
- package/resources/affiliates.d.mts.map +1 -0
- package/resources/affiliates.d.ts +2 -0
- package/resources/affiliates.d.ts.map +1 -0
- package/resources/affiliates.js +6 -0
- package/resources/affiliates.js.map +1 -0
- package/resources/affiliates.mjs +3 -0
- package/resources/affiliates.mjs.map +1 -0
- package/resources/ai-chats.d.mts +21 -2
- package/resources/ai-chats.d.mts.map +1 -1
- package/resources/ai-chats.d.ts +21 -2
- package/resources/ai-chats.d.ts.map +1 -1
- package/resources/ai-chats.js +2 -1
- package/resources/ai-chats.js.map +1 -1
- package/resources/ai-chats.mjs +2 -1
- package/resources/ai-chats.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/payments.d.mts +1 -1
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +1 -1
- package/resources/payments.d.ts.map +1 -1
- package/resources/setup-intents.d.mts +74 -0
- package/resources/setup-intents.d.mts.map +1 -1
- package/resources/setup-intents.d.ts +74 -0
- package/resources/setup-intents.d.ts.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +30 -0
- package/src/resources/affiliates/affiliates.ts +467 -0
- package/src/resources/affiliates/index.ts +32 -0
- package/src/resources/affiliates/overrides.ts +585 -0
- package/src/resources/affiliates.ts +3 -0
- package/src/resources/ai-chats.ts +25 -1
- package/src/resources/index.ts +12 -0
- package/src/resources/payments.ts +1 -0
- package/src/resources/setup-intents.ts +90 -0
- package/src/resources/shared.ts +1 -0
- 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
|
@@ -192,6 +192,11 @@ export namespace SetupIntent {
|
|
|
192
192
|
*/
|
|
193
193
|
created_at: string;
|
|
194
194
|
|
|
195
|
+
/**
|
|
196
|
+
* The mailing address associated with the payment method's user
|
|
197
|
+
*/
|
|
198
|
+
mailing_address: PaymentMethod.MailingAddress | null;
|
|
199
|
+
|
|
195
200
|
/**
|
|
196
201
|
* The payment method type of the payment method
|
|
197
202
|
*/
|
|
@@ -224,6 +229,46 @@ export namespace SetupIntent {
|
|
|
224
229
|
*/
|
|
225
230
|
last4: string | null;
|
|
226
231
|
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* The mailing address associated with the payment method's user
|
|
235
|
+
*/
|
|
236
|
+
export interface MailingAddress {
|
|
237
|
+
/**
|
|
238
|
+
* The city of the address.
|
|
239
|
+
*/
|
|
240
|
+
city: string | null;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The country of the address.
|
|
244
|
+
*/
|
|
245
|
+
country: string | null;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The line 1 of the address.
|
|
249
|
+
*/
|
|
250
|
+
line1: string | null;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The line 2 of the address.
|
|
254
|
+
*/
|
|
255
|
+
line2: string | null;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The name of the customer.
|
|
259
|
+
*/
|
|
260
|
+
name: string | null;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* The postal code of the address.
|
|
264
|
+
*/
|
|
265
|
+
postal_code: string | null;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The state of the address.
|
|
269
|
+
*/
|
|
270
|
+
state: string | null;
|
|
271
|
+
}
|
|
227
272
|
}
|
|
228
273
|
}
|
|
229
274
|
|
|
@@ -375,6 +420,11 @@ export namespace SetupIntentListResponse {
|
|
|
375
420
|
*/
|
|
376
421
|
created_at: string;
|
|
377
422
|
|
|
423
|
+
/**
|
|
424
|
+
* The mailing address associated with the payment method's user
|
|
425
|
+
*/
|
|
426
|
+
mailing_address: PaymentMethod.MailingAddress | null;
|
|
427
|
+
|
|
378
428
|
/**
|
|
379
429
|
* The payment method type of the payment method
|
|
380
430
|
*/
|
|
@@ -407,6 +457,46 @@ export namespace SetupIntentListResponse {
|
|
|
407
457
|
*/
|
|
408
458
|
last4: string | null;
|
|
409
459
|
}
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The mailing address associated with the payment method's user
|
|
463
|
+
*/
|
|
464
|
+
export interface MailingAddress {
|
|
465
|
+
/**
|
|
466
|
+
* The city of the address.
|
|
467
|
+
*/
|
|
468
|
+
city: string | null;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* The country of the address.
|
|
472
|
+
*/
|
|
473
|
+
country: string | null;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* The line 1 of the address.
|
|
477
|
+
*/
|
|
478
|
+
line1: string | null;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* The line 2 of the address.
|
|
482
|
+
*/
|
|
483
|
+
line2: string | null;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* The name of the customer.
|
|
487
|
+
*/
|
|
488
|
+
name: string | null;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* The postal code of the address.
|
|
492
|
+
*/
|
|
493
|
+
postal_code: string | null;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* The state of the address.
|
|
497
|
+
*/
|
|
498
|
+
state: string | null;
|
|
499
|
+
}
|
|
410
500
|
}
|
|
411
501
|
}
|
|
412
502
|
|
package/src/resources/shared.ts
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.0.
|
|
1
|
+
export const VERSION = '0.0.35'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.35";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.35";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.0.
|
|
1
|
+
export const VERSION = '0.0.35'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|