@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
@@ -0,0 +1,53 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice = {
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
+ InvoiceDate?: string;
20
+ /** @nullable */
21
+ PaymentReminderSentDate?: string | null;
22
+ Number?: number;
23
+ /** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
24
+ BillingInvoiceStatus?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus;
25
+ Amount?: number;
26
+ AmountOutstanding?: number;
27
+ IsUserGenerated?: boolean;
28
+ /**
29
+ * @maxLength 50
30
+ * @nullable
31
+ */
32
+ StripeTaxCalculationId?: string | null;
33
+ /**
34
+ * @maxLength 10
35
+ * @nullable
36
+ */
37
+ StripeTaxBehavior?: string | null;
38
+ AmountCredit?: number;
39
+ AmountDiscount?: number;
40
+ AmountPaid?: number;
41
+ AmountRefunded?: number;
42
+ AmountSubtotal?: number;
43
+ AmountTax?: number;
44
+ AmountTaxRefunded?: number;
45
+ IsTaxable?: boolean;
46
+ HasPaymentGatewayTransactions?: boolean;
47
+ /** @nullable */
48
+ StripePaymentTransactionIds?: string | null;
49
+ /** @nullable */
50
+ StripeRefundTransactionIds?: string | null;
51
+ /** @nullable */
52
+ StripeTaxRefundTransactionIds?: string | null;
53
+ } | null;
@@ -0,0 +1,18 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus = {
11
+ Unpaid: 1,
12
+ Paid: 2,
13
+ Partial: 3,
14
+ Uncollected: 4,
15
+ Refunded: 5,
16
+ Uncollectible: 6,
17
+ Processing: 7,
18
+ } as const;
@@ -0,0 +1,74 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily';
3
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode';
4
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem';
5
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem';
6
+
7
+ /**
8
+ * @nullable
9
+ */
10
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan = {
11
+ /**
12
+ * @maxLength 10
13
+ * @nullable
14
+ */
15
+ Uid?: string | null;
16
+ /** @nullable */
17
+ _objectType?: string | null;
18
+ /** @minLength 1 */
19
+ Created?: string;
20
+ /** @minLength 1 */
21
+ Updated?: string;
22
+ /**
23
+ * @maxLength 250
24
+ * @nullable
25
+ */
26
+ Name?: string | null;
27
+ /** @nullable */
28
+ Description?: string | null;
29
+ /** @nullable */
30
+ PlanFamily?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily;
31
+ /** `1` - Individual, `2` - Team */
32
+ AccountRegistrationMode?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode;
33
+ IsQuantityEditable?: boolean;
34
+ MinimumQuantity?: number;
35
+ /** @nullable */
36
+ MaximumPeople?: number | null;
37
+ MonthlyRate?: number;
38
+ AnnualRate?: number;
39
+ QuarterlyRate?: number;
40
+ OneTimeRate?: number;
41
+ SetupFee?: number;
42
+ SkipSetupFeeOnPlanChange?: boolean;
43
+ IsTaxable?: boolean;
44
+ IsActive?: boolean;
45
+ IsPerUser?: boolean;
46
+ RequirePaymentInformation?: boolean;
47
+ TrialPeriodDays?: number;
48
+ /** @nullable */
49
+ TrialUntilDate?: string | null;
50
+ ExpiresAfterMonths?: number;
51
+ /** @nullable */
52
+ ExpirationDate?: string | null;
53
+ /**
54
+ * @maxLength 250
55
+ * @nullable
56
+ */
57
+ PostLoginPath?: string | null;
58
+ /**
59
+ * @maxLength 15
60
+ * @nullable
61
+ */
62
+ StripeTaxCodeId?: string | null;
63
+ /**
64
+ * @maxLength 250
65
+ * @nullable
66
+ */
67
+ UnitOfMeasure?: string | null;
68
+ /** @nullable */
69
+ PlanAddOns?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem[] | null;
70
+ /** @nullable */
71
+ ContentGroups?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem[] | null;
72
+ /** @nullable */
73
+ NumberOfSubscriptions?: number | null;
74
+ } | null;
@@ -0,0 +1,13 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Individual, `2` - Team
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode = {
11
+ Individual: 1,
12
+ Team: 2,
13
+ } as const;
@@ -0,0 +1,25 @@
1
+ // @ts-nocheck
2
+
3
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem = {
4
+ /**
5
+ * @maxLength 10
6
+ * @nullable
7
+ */
8
+ Uid?: string | null;
9
+ /** @nullable */
10
+ _objectType?: string | null;
11
+ /** @minLength 1 */
12
+ Created: string;
13
+ /** @minLength 1 */
14
+ Updated: string;
15
+ /**
16
+ * @minLength 1
17
+ * @maxLength 50
18
+ */
19
+ Name: string;
20
+ /**
21
+ * @maxLength 1024
22
+ * @nullable
23
+ */
24
+ AccessDeniedPath?: string | null;
25
+ };
@@ -0,0 +1,16 @@
1
+ // @ts-nocheck
2
+
3
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem = {
4
+ /**
5
+ * @maxLength 10
6
+ * @nullable
7
+ */
8
+ Uid?: string | null;
9
+ /** @nullable */
10
+ _objectType?: string | null;
11
+ /** @minLength 1 */
12
+ Created: string;
13
+ /** @minLength 1 */
14
+ Updated: string;
15
+ IsUserSelectable: boolean;
16
+ };
@@ -0,0 +1,25 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * @nullable
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily = {
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
+ Name?: string | null;
23
+ IsActive?: boolean;
24
+ IsDefault?: boolean;
25
+ } | null;
@@ -0,0 +1,34 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm';
3
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn';
4
+
5
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem = {
6
+ /**
7
+ * @maxLength 10
8
+ * @nullable
9
+ */
10
+ Uid?: string | null;
11
+ /** @nullable */
12
+ _objectType?: string | null;
13
+ /** @minLength 1 */
14
+ Created: string;
15
+ /** @minLength 1 */
16
+ Updated: string;
17
+ /** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
18
+ BillingRenewalTerm?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
19
+ /** @nullable */
20
+ AddOn?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn;
21
+ /** @nullable */
22
+ Quantity?: number | null;
23
+ StartDate?: string;
24
+ /** @nullable */
25
+ EndDate?: string | null;
26
+ /** @nullable */
27
+ ExpirationDate?: string | null;
28
+ /** @nullable */
29
+ RenewalDate?: string | null;
30
+ /** @nullable */
31
+ NewRequiredQuantity?: number | null;
32
+ /** @nullable */
33
+ Rate?: number | null;
34
+ };
@@ -0,0 +1,51 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType } from './accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn = {
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
+ /**
20
+ * @maxLength 250
21
+ * @nullable
22
+ */
23
+ Name?: string | null;
24
+ /** `1` - Recurring, `2` - Usage, `3` - OneTime */
25
+ BillingAddOnType?: AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
26
+ IsQuantityEditable?: boolean;
27
+ MinimumQuantity?: number;
28
+ MonthlyRate?: number;
29
+ AnnualRate?: number;
30
+ SetupFee?: number;
31
+ /**
32
+ * @maxLength 250
33
+ * @nullable
34
+ */
35
+ UnitOfMeasure?: string | null;
36
+ IsTaxable?: boolean;
37
+ IsBilledDuringTrial?: boolean;
38
+ ExpiresAfterMonths?: number;
39
+ /** @nullable */
40
+ ExpirationDate?: string | null;
41
+ /**
42
+ * @maxLength 15
43
+ * @nullable
44
+ */
45
+ StripeTaxCodeId?: string | null;
46
+ IsPerUser?: boolean;
47
+ QuarterlyRate?: number;
48
+ OneTimeRate?: number;
49
+ SubscriptionCount?: number;
50
+ Quantity?: number;
51
+ } | null;
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Recurring, `2` - Usage, `3` - OneTime
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
11
+ Recurring: 1,
12
+ Usage: 2,
13
+ OneTime: 3,
14
+ } as const;
@@ -0,0 +1,15 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
11
+ Monthly: 1,
12
+ Yearly: 2,
13
+ Quarterly: 3,
14
+ OneTime: 4,
15
+ } as const;
@@ -0,0 +1,35 @@
1
+ // @ts-nocheck
2
+
3
+ export type AccountBillingInvoiceDeletedWebhookPayloadDealsItem = {
4
+ /**
5
+ * @maxLength 10
6
+ * @nullable
7
+ */
8
+ Uid?: string | null;
9
+ /** @nullable */
10
+ _objectType?: string | null;
11
+ /** @minLength 1 */
12
+ Created: string;
13
+ /** @minLength 1 */
14
+ Updated: string;
15
+ /**
16
+ * @minLength 1
17
+ * @maxLength 250
18
+ */
19
+ Name: string;
20
+ /** @nullable */
21
+ Amount?: number | null;
22
+ /** @nullable */
23
+ DueDate?: string | null;
24
+ /**
25
+ * @maxLength 50
26
+ * @nullable
27
+ */
28
+ AssignedToPersonClientIdentifier?: string | null;
29
+ Weight?: number;
30
+ /** @nullable */
31
+ Contacts?: string | null;
32
+ AccountId?: number;
33
+ /** @nullable */
34
+ PipelineUid?: string | null;
35
+ };
@@ -0,0 +1,53 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm';
3
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan';
4
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem';
5
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem';
6
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice';
7
+
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscription = {
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm;
25
+ /** @nullable */
26
+ Plan?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan;
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem[] | null;
43
+ /** @nullable */
44
+ DiscountCouponSubscriptions?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem[] | null;
45
+ /** @nullable */
46
+ DiscountCode?: string | null;
47
+ /** @nullable */
48
+ DiscountCouponExpirationDate?: string | null;
49
+ /** @nullable */
50
+ LatestInvoice?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice;
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm = {
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 { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon';
3
+
4
+ export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem = {
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon;
22
+ };
@@ -0,0 +1,40 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon = {
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration;
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration = {
11
+ Forever: 1,
12
+ Once: 2,
13
+ Repeating: 3,
14
+ } as const;
@@ -0,0 +1,53 @@
1
+ // @ts-nocheck
2
+ import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice = {
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
+ InvoiceDate?: string;
20
+ /** @nullable */
21
+ PaymentReminderSentDate?: string | null;
22
+ Number?: number;
23
+ /** `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing */
24
+ BillingInvoiceStatus?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus;
25
+ Amount?: number;
26
+ AmountOutstanding?: number;
27
+ IsUserGenerated?: boolean;
28
+ /**
29
+ * @maxLength 50
30
+ * @nullable
31
+ */
32
+ StripeTaxCalculationId?: string | null;
33
+ /**
34
+ * @maxLength 10
35
+ * @nullable
36
+ */
37
+ StripeTaxBehavior?: string | null;
38
+ AmountCredit?: number;
39
+ AmountDiscount?: number;
40
+ AmountPaid?: number;
41
+ AmountRefunded?: number;
42
+ AmountSubtotal?: number;
43
+ AmountTax?: number;
44
+ AmountTaxRefunded?: number;
45
+ IsTaxable?: boolean;
46
+ HasPaymentGatewayTransactions?: boolean;
47
+ /** @nullable */
48
+ StripePaymentTransactionIds?: string | null;
49
+ /** @nullable */
50
+ StripeRefundTransactionIds?: string | null;
51
+ /** @nullable */
52
+ StripeTaxRefundTransactionIds?: string | null;
53
+ } | null;
@@ -0,0 +1,18 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Unpaid, `2` - Paid, `3` - Partial, `4` - Uncollected, `5` - Refunded, `6` - Uncollectible, `7` - Processing
5
+ */
6
+ export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus = {
11
+ Unpaid: 1,
12
+ Paid: 2,
13
+ Partial: 3,
14
+ Uncollected: 4,
15
+ Refunded: 5,
16
+ Uncollectible: 6,
17
+ Processing: 7,
18
+ } as const;