@outseta/api-client 0.3.8 → 0.3.9

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.
Files changed (71) hide show
  1. package/dist/index.js +174 -0
  2. package/package.json +1 -1
  3. package/src/generated/models/accountBillingInvoiceDeletedActivityData.ts +11 -0
  4. package/src/generated/models/accountBillingInvoiceDeletedActivityDataInvoice.ts +6 -0
  5. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayload.ts +185 -0
  6. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadAccountStage.ts +20 -0
  7. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadBillingAddress.ts +58 -0
  8. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscription.ts +53 -0
  9. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm.ts +15 -0
  10. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
  11. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
  12. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
  13. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice.ts +53 -0
  14. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
  15. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan.ts +74 -0
  16. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode.ts +13 -0
  17. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem.ts +25 -0
  18. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem.ts +16 -0
  19. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily.ts +25 -0
  20. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem.ts +34 -0
  21. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
  22. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
  23. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
  24. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadDealsItem.ts +35 -0
  25. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscription.ts +53 -0
  26. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm.ts +15 -0
  27. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
  28. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
  29. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
  30. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice.ts +53 -0
  31. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
  32. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan.ts +74 -0
  33. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode.ts +13 -0
  34. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem.ts +25 -0
  35. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem.ts +16 -0
  36. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily.ts +25 -0
  37. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem.ts +34 -0
  38. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
  39. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
  40. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
  41. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadMailingAddress.ts +58 -0
  42. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPaymentInformation.ts +75 -0
  43. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItem.ts +20 -0
  44. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson.ts +103 -0
  45. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus.ts +13 -0
  46. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryContact.ts +103 -0
  47. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus.ts +13 -0
  48. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription.ts +66 -0
  49. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimarySubscription.ts +41 -0
  50. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm.ts +15 -0
  51. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem.ts +92 -0
  52. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem.ts +37 -0
  53. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem.ts +63 -0
  54. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem.ts +50 -0
  55. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm.ts +15 -0
  56. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem.ts +22 -0
  57. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
  58. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
  59. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoice.ts +53 -0
  60. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus.ts +18 -0
  61. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlan.ts +74 -0
  62. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode.ts +13 -0
  63. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanContentGroupsItem.ts +25 -0
  64. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem.ts +16 -0
  65. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanFamily.ts +25 -0
  66. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem.ts +34 -0
  67. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn.ts +51 -0
  68. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
  69. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
  70. package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadTaxIdsItem.ts +32 -0
  71. package/src/generated/models/index.ts +68 -0
package/dist/index.js CHANGED
@@ -1235,6 +1235,158 @@ var AccountAddPersonWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBilling
1235
1235
  Quarterly: 3,
1236
1236
  OneTime: 4
1237
1237
  };
1238
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadAccountStage.ts
1239
+ var AccountBillingInvoiceDeletedWebhookPayloadAccountStage = {
1240
+ Trialing: 2,
1241
+ Subscribing: 3,
1242
+ Cancelling: 4,
1243
+ Expired: 5,
1244
+ TrialExpired: 6,
1245
+ PastDue: 7,
1246
+ CancellingTrial: 8,
1247
+ Paused: 9,
1248
+ Created: 10
1249
+ };
1250
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm.ts
1251
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = {
1252
+ Monthly: 1,
1253
+ Yearly: 2,
1254
+ Quarterly: 3,
1255
+ OneTime: 4
1256
+ };
1257
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts
1258
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
1259
+ Forever: 1,
1260
+ Once: 2,
1261
+ Repeating: 3
1262
+ };
1263
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus.ts
1264
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = {
1265
+ Unpaid: 1,
1266
+ Paid: 2,
1267
+ Partial: 3,
1268
+ Uncollected: 4,
1269
+ Refunded: 5,
1270
+ Uncollectible: 6,
1271
+ Processing: 7
1272
+ };
1273
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode.ts
1274
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = {
1275
+ Individual: 1,
1276
+ Team: 2
1277
+ };
1278
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts
1279
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
1280
+ Recurring: 1,
1281
+ Usage: 2,
1282
+ OneTime: 3
1283
+ };
1284
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts
1285
+ var AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
1286
+ Monthly: 1,
1287
+ Yearly: 2,
1288
+ Quarterly: 3,
1289
+ OneTime: 4
1290
+ };
1291
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm.ts
1292
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm = {
1293
+ Monthly: 1,
1294
+ Yearly: 2,
1295
+ Quarterly: 3,
1296
+ OneTime: 4
1297
+ };
1298
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts
1299
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
1300
+ Forever: 1,
1301
+ Once: 2,
1302
+ Repeating: 3
1303
+ };
1304
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus.ts
1305
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = {
1306
+ Unpaid: 1,
1307
+ Paid: 2,
1308
+ Partial: 3,
1309
+ Uncollected: 4,
1310
+ Refunded: 5,
1311
+ Uncollectible: 6,
1312
+ Processing: 7
1313
+ };
1314
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode.ts
1315
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = {
1316
+ Individual: 1,
1317
+ Team: 2
1318
+ };
1319
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts
1320
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
1321
+ Recurring: 1,
1322
+ Usage: 2,
1323
+ OneTime: 3
1324
+ };
1325
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts
1326
+ var AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
1327
+ Monthly: 1,
1328
+ Yearly: 2,
1329
+ Quarterly: 3,
1330
+ OneTime: 4
1331
+ };
1332
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus.ts
1333
+ var AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = {
1334
+ None: 0,
1335
+ Gmail: 1
1336
+ };
1337
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus.ts
1338
+ var AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus = {
1339
+ None: 0,
1340
+ Gmail: 1
1341
+ };
1342
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm.ts
1343
+ var AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = {
1344
+ Monthly: 1,
1345
+ Yearly: 2,
1346
+ Quarterly: 3,
1347
+ OneTime: 4
1348
+ };
1349
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm.ts
1350
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm = {
1351
+ Monthly: 1,
1352
+ Yearly: 2,
1353
+ Quarterly: 3,
1354
+ OneTime: 4
1355
+ };
1356
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration.ts
1357
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = {
1358
+ Forever: 1,
1359
+ Once: 2,
1360
+ Repeating: 3
1361
+ };
1362
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus.ts
1363
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = {
1364
+ Unpaid: 1,
1365
+ Paid: 2,
1366
+ Partial: 3,
1367
+ Uncollected: 4,
1368
+ Refunded: 5,
1369
+ Uncollectible: 6,
1370
+ Processing: 7
1371
+ };
1372
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode.ts
1373
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode = {
1374
+ Individual: 1,
1375
+ Team: 2
1376
+ };
1377
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType.ts
1378
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType = {
1379
+ Recurring: 1,
1380
+ Usage: 2,
1381
+ OneTime: 3
1382
+ };
1383
+ // src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm.ts
1384
+ var AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm = {
1385
+ Monthly: 1,
1386
+ Yearly: 2,
1387
+ Quarterly: 3,
1388
+ OneTime: 4
1389
+ };
1238
1390
  // src/generated/models/accountPaidSubscriptionCreatedWebhookPayloadAccountStage.ts
1239
1391
  var AccountPaidSubscriptionCreatedWebhookPayloadAccountStage = {
1240
1392
  Trialing: 2,
@@ -4082,6 +4234,28 @@ export {
4082
4234
  AccountPaidSubscriptionCreatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration,
4083
4235
  AccountPaidSubscriptionCreatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm,
4084
4236
  AccountPaidSubscriptionCreatedWebhookPayloadAccountStage,
4237
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm,
4238
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType,
4239
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode,
4240
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus,
4241
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration,
4242
+ AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm,
4243
+ AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm,
4244
+ AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus,
4245
+ AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus,
4246
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm,
4247
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType,
4248
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode,
4249
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus,
4250
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration,
4251
+ AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm,
4252
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm,
4253
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType,
4254
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode,
4255
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus,
4256
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration,
4257
+ AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm,
4258
+ AccountBillingInvoiceDeletedWebhookPayloadAccountStage,
4085
4259
  AccountAddPersonWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm,
4086
4260
  AccountAddPersonWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType,
4087
4261
  AccountAddPersonWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -0,0 +1,11 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedActivityDataInvoice } from './accountBillingInvoiceDeletedActivityDataInvoice';
3
+
4
+ export interface AccountBillingInvoiceDeletedActivityData {
5
+ /** @nullable */
6
+ Invoice?: AccountBillingInvoiceDeletedActivityDataInvoice;
7
+ /** @nullable */
8
+ AccountUid?: string | null;
9
+ /** @nullable */
10
+ CurrentPrincipal?: string | null;
11
+ }
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * @nullable
5
+ */
6
+ export type AccountBillingInvoiceDeletedActivityDataInvoice = unknown | null;
@@ -0,0 +1,185 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadBillingAddress } from './accountBillingInvoiceDeletedWebhookPayloadBillingAddress';
3
+ import type { AccountBillingInvoiceDeletedWebhookPayloadMailingAddress } from './accountBillingInvoiceDeletedWebhookPayloadMailingAddress';
4
+ import type { AccountBillingInvoiceDeletedWebhookPayloadAccountStage } from './accountBillingInvoiceDeletedWebhookPayloadAccountStage';
5
+ import type { AccountBillingInvoiceDeletedWebhookPayloadPaymentInformation } from './accountBillingInvoiceDeletedWebhookPayloadPaymentInformation';
6
+ import type { AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem } from './accountBillingInvoiceDeletedWebhookPayloadPersonAccountItem';
7
+ import type { AccountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem } from './accountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem';
8
+ import type { AccountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem } from './accountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem';
9
+ import type { AccountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem } from './accountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem';
10
+ import type { AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem } from './accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem';
11
+ import type { AccountBillingInvoiceDeletedWebhookPayloadDealsItem } from './accountBillingInvoiceDeletedWebhookPayloadDealsItem';
12
+ import type { AccountBillingInvoiceDeletedWebhookPayloadTaxIdsItem } from './accountBillingInvoiceDeletedWebhookPayloadTaxIdsItem';
13
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscription } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscription';
14
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscription } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscription';
15
+ import type { AccountBillingInvoiceDeletedWebhookPayloadPrimaryContact } from './accountBillingInvoiceDeletedWebhookPayloadPrimaryContact';
16
+ import type { AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscription } from './accountBillingInvoiceDeletedWebhookPayloadPrimarySubscription';
17
+ import type { AccountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription } from './accountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription';
18
+ import type { AccountBillingInvoiceDeletedActivityData } from './accountBillingInvoiceDeletedActivityData';
19
+
20
+ export interface AccountBillingInvoiceDeletedWebhookPayload {
21
+ /**
22
+ * @maxLength 10
23
+ * @nullable
24
+ */
25
+ Uid?: string | null;
26
+ /** @nullable */
27
+ _objectType?: string | null;
28
+ /** @minLength 1 */
29
+ Created: string;
30
+ /** @minLength 1 */
31
+ Updated: string;
32
+ /**
33
+ * @maxLength 255
34
+ * @nullable
35
+ */
36
+ StripeId?: string | null;
37
+ IsLivemode?: boolean;
38
+ /**
39
+ * @minLength 1
40
+ * @maxLength 250
41
+ */
42
+ Name: string;
43
+ /**
44
+ * @maxLength 250
45
+ * @nullable
46
+ */
47
+ ClientIdentifier?: string | null;
48
+ /**
49
+ * @maxLength 3
50
+ * @nullable
51
+ */
52
+ Currency?: string | null;
53
+ /** @nullable */
54
+ InvoiceNotes?: string | null;
55
+ IsDemo?: boolean;
56
+ /** @nullable */
57
+ BillingAddress?: AccountBillingInvoiceDeletedWebhookPayloadBillingAddress;
58
+ /** @nullable */
59
+ MailingAddress?: AccountBillingInvoiceDeletedWebhookPayloadMailingAddress;
60
+ /** `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created */
61
+ AccountStage?: AccountBillingInvoiceDeletedWebhookPayloadAccountStage;
62
+ /** @nullable */
63
+ PaymentInformation?: AccountBillingInvoiceDeletedWebhookPayloadPaymentInformation;
64
+ /** @nullable */
65
+ PersonAccount?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem[] | null;
66
+ /**
67
+ * @maxLength 50
68
+ * @nullable
69
+ */
70
+ StripeDefaultPaymentMethodId?: string | null;
71
+ /** @nullable */
72
+ StripeInvoices?: AccountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem[] | null;
73
+ /** @nullable */
74
+ StripePaymentMethods?: AccountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem[] | null;
75
+ /** @nullable */
76
+ StripeSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem[] | null;
77
+ /** @nullable */
78
+ Subscriptions?: AccountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem[] | null;
79
+ /** @nullable */
80
+ Deals?: AccountBillingInvoiceDeletedWebhookPayloadDealsItem[] | null;
81
+ /** @nullable */
82
+ LastLoginDateTime?: string | null;
83
+ /**
84
+ * @maxLength 255
85
+ * @nullable
86
+ */
87
+ AccountSpecificPageUrl1?: string | null;
88
+ /**
89
+ * @maxLength 255
90
+ * @nullable
91
+ */
92
+ AccountSpecificPageUrl2?: string | null;
93
+ /**
94
+ * @maxLength 255
95
+ * @nullable
96
+ */
97
+ AccountSpecificPageUrl3?: string | null;
98
+ /**
99
+ * @maxLength 255
100
+ * @nullable
101
+ */
102
+ AccountSpecificPageUrl4?: string | null;
103
+ /**
104
+ * @maxLength 255
105
+ * @nullable
106
+ */
107
+ AccountSpecificPageUrl5?: string | null;
108
+ /**
109
+ * @maxLength 255
110
+ * @nullable
111
+ */
112
+ AccountSpecificPageUrl6?: string | null;
113
+ /**
114
+ * @maxLength 255
115
+ * @nullable
116
+ */
117
+ AccountSpecificPageUrl7?: string | null;
118
+ /**
119
+ * @maxLength 255
120
+ * @nullable
121
+ */
122
+ AccountSpecificPageUrl8?: string | null;
123
+ /**
124
+ * @maxLength 255
125
+ * @nullable
126
+ */
127
+ AccountSpecificPageUrl9?: string | null;
128
+ /**
129
+ * @maxLength 255
130
+ * @nullable
131
+ */
132
+ AccountSpecificPageUrl10?: string | null;
133
+ /** @nullable */
134
+ RewardFulReferralId?: string | null;
135
+ /**
136
+ * @maxLength 36
137
+ * @nullable
138
+ */
139
+ ToltReferralId?: string | null;
140
+ /** @nullable */
141
+ TaxIds?: AccountBillingInvoiceDeletedWebhookPayloadTaxIdsItem[] | null;
142
+ /**
143
+ * @maxLength 20
144
+ * @nullable
145
+ */
146
+ TaxStatus?: string | null;
147
+ /** @nullable */
148
+ AccountStageLabel?: string | null;
149
+ /** @nullable */
150
+ CurrentStripeProducts?: string | null;
151
+ /** @nullable */
152
+ CurrentSubscription?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscription;
153
+ /** @nullable */
154
+ DomainName?: string | null;
155
+ HasLoggedIn?: boolean;
156
+ /** @nullable */
157
+ LatestSubscription?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscription;
158
+ LifetimeRevenue?: number;
159
+ /** @nullable */
160
+ NextStripeInvoiceDate?: string | null;
161
+ /** @nullable */
162
+ Nonce?: string | null;
163
+ /** @nullable */
164
+ PrimaryContact?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryContact;
165
+ /** @nullable */
166
+ PrimarySubscription?: AccountBillingInvoiceDeletedWebhookPayloadPrimarySubscription;
167
+ /** @nullable */
168
+ PrimaryStripeSubscription?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription;
169
+ /** @nullable */
170
+ RecaptchaToken?: string | null;
171
+ /** @nullable */
172
+ StripeNextInvoiceSequence?: number | null;
173
+ /** @nullable */
174
+ StripePrice?: string[] | null;
175
+ /** @nullable */
176
+ StripePromotionCode?: string | null;
177
+ /** @nullable */
178
+ TaxId?: string | null;
179
+ TaxIdIsInvalid?: boolean;
180
+ /** @nullable */
181
+ TaxIdType?: string | null;
182
+ /** @nullable */
183
+ WebflowSlug?: string | null;
184
+ ActivityEventData?: AccountBillingInvoiceDeletedActivityData;
185
+ }
@@ -0,0 +1,20 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadAccountStage = typeof AccountBillingInvoiceDeletedWebhookPayloadAccountStage[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadAccountStage];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadAccountStage = {
11
+ Trialing: 2,
12
+ Subscribing: 3,
13
+ Cancelling: 4,
14
+ Expired: 5,
15
+ TrialExpired: 6,
16
+ PastDue: 7,
17
+ CancellingTrial: 8,
18
+ Paused: 9,
19
+ Created: 10,
20
+ } as const;
@@ -0,0 +1,58 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * @nullable
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadBillingAddress = {
7
+ /**
8
+ * @maxLength 10
9
+ * @nullable
10
+ */
11
+ Uid?: string | null;
12
+ /** @nullable */
13
+ _objectType?: string | null;
14
+ /** @minLength 1 */
15
+ Created?: string;
16
+ /** @minLength 1 */
17
+ Updated?: string;
18
+ /**
19
+ * @maxLength 250
20
+ * @nullable
21
+ */
22
+ AddressLine1?: string | null;
23
+ /**
24
+ * @maxLength 250
25
+ * @nullable
26
+ */
27
+ AddressLine2?: string | null;
28
+ /**
29
+ * @maxLength 250
30
+ * @nullable
31
+ */
32
+ AddressLine3?: string | null;
33
+ /**
34
+ * @maxLength 250
35
+ * @nullable
36
+ */
37
+ City?: string | null;
38
+ /**
39
+ * @maxLength 250
40
+ * @nullable
41
+ */
42
+ State?: string | null;
43
+ /**
44
+ * @maxLength 250
45
+ * @nullable
46
+ */
47
+ PostalCode?: string | null;
48
+ /**
49
+ * @maxLength 250
50
+ * @nullable
51
+ */
52
+ Country?: string | null;
53
+ /**
54
+ * @maxLength 250
55
+ * @nullable
56
+ */
57
+ GeoLocation?: string | null;
58
+ } | null;
@@ -0,0 +1,53 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm';
3
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan';
4
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem';
5
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem';
6
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice';
7
+
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscription = {
12
+ /**
13
+ * @maxLength 10
14
+ * @nullable
15
+ */
16
+ Uid?: string | null;
17
+ /** @nullable */
18
+ _objectType?: string | null;
19
+ /** @minLength 1 */
20
+ Created?: string;
21
+ /** @minLength 1 */
22
+ Updated?: string;
23
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
24
+ BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm;
25
+ /** @nullable */
26
+ Plan?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan;
27
+ /** @nullable */
28
+ Quantity?: number | null;
29
+ StartDate?: string;
30
+ /** @nullable */
31
+ EndDate?: string | null;
32
+ /** @nullable */
33
+ ExpirationDate?: string | null;
34
+ /** @nullable */
35
+ RenewalDate?: string | null;
36
+ /** @nullable */
37
+ NewRequiredQuantity?: number | null;
38
+ IsPlanUpgradeRequired?: boolean;
39
+ /** @nullable */
40
+ PlanUpgradeRequiredMessage?: string | null;
41
+ /** @nullable */
42
+ SubscriptionAddOns?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem[] | null;
43
+ /** @nullable */
44
+ DiscountCouponSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem[] | null;
45
+ /** @nullable */
46
+ DiscountCode?: string | null;
47
+ /** @nullable */
48
+ DiscountCouponExpirationDate?: string | null;
49
+ /** @nullable */
50
+ LatestInvoice?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice;
51
+ /** @nullable */
52
+ Rate?: number | null;
53
+ } | null;
@@ -0,0 +1,15 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm = {
11
+ Monthly: 1,
12
+ Yearly: 2,
13
+ Quarterly: 3,
14
+ OneTime: 4,
15
+ } as const;
@@ -0,0 +1,22 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon';
3
+
4
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem = {
5
+ /**
6
+ * @maxLength 10
7
+ * @nullable
8
+ */
9
+ Uid?: string | null;
10
+ /** @nullable */
11
+ _objectType?: string | null;
12
+ /** @minLength 1 */
13
+ Created: string;
14
+ /** @minLength 1 */
15
+ Updated: string;
16
+ /** @nullable */
17
+ RedeemedDate?: string | null;
18
+ /** @nullable */
19
+ ExpireDate?: string | null;
20
+ /** @nullable */
21
+ DiscountCoupon?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
22
+ };
@@ -0,0 +1,40 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
8
+ /**
9
+ * @maxLength 10
10
+ * @nullable
11
+ */
12
+ Uid?: string | null;
13
+ /** @nullable */
14
+ _objectType?: string | null;
15
+ /** @minLength 1 */
16
+ Created?: string;
17
+ /** @minLength 1 */
18
+ Updated?: string;
19
+ /** @nullable */
20
+ UniqueIdentifier?: string | null;
21
+ /** @nullable */
22
+ Name?: string | null;
23
+ IsActive?: boolean;
24
+ /** @nullable */
25
+ AmountOff?: number | null;
26
+ /** @nullable */
27
+ PercentOff?: number | null;
28
+ /** @nullable */
29
+ RedeemBy?: string | null;
30
+ /** `1` - Forever, `2` - Once, `3` - Repeating */
31
+ Duration?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
32
+ /** @nullable */
33
+ DurationInMonths?: number | null;
34
+ TimesRedeemed?: number;
35
+ /** @nullable */
36
+ MaxRedemptions?: number | null;
37
+ ApplyToAddOns?: boolean;
38
+ /** @nullable */
39
+ PlanUids?: string | null;
40
+ } | null;
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Forever, `2` - Once, `3` - Repeating
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
11
+ Forever: 1,
12
+ Once: 2,
13
+ Repeating: 3,
14
+ } as const;