@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.
- package/dist/index.js +174 -0
- package/package.json +1 -1
- package/src/generated/models/accountBillingInvoiceDeletedActivityData.ts +11 -0
- package/src/generated/models/accountBillingInvoiceDeletedActivityDataInvoice.ts +6 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayload.ts +185 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadAccountStage.ts +20 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadBillingAddress.ts +58 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscription.ts +53 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoice.ts +53 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlan.ts +74 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadDealsItem.ts +35 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscription.ts +53 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoice.ts +53 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan.ts +74 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadMailingAddress.ts +58 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPaymentInformation.ts +75 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItem.ts +20 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson.ts +103 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus.ts +13 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryContact.ts +103 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus.ts +13 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimaryStripeSubscription.ts +66 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimarySubscription.ts +41 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPrimarySubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripeInvoicesItem.ts +92 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripePaymentMethodsItem.ts +37 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadStripeSubscriptionsItem.ts +63 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItem.ts +50 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoice.ts +53 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlan.ts +74 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadTaxIdsItem.ts +32 -0
- package/src/generated/models/index.ts +68 -0
package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan.ts
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily';
|
|
3
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode';
|
|
4
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem';
|
|
5
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @nullable
|
|
9
|
+
*/
|
|
10
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlan = {
|
|
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily;
|
|
31
|
+
/** `1` - Individual, `2` - Team */
|
|
32
|
+
AccountRegistrationMode?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode;
|
|
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem[] | null;
|
|
70
|
+
/** @nullable */
|
|
71
|
+
ContentGroups?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem[] | 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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode = {
|
|
11
|
+
Individual: 1,
|
|
12
|
+
Team: 2,
|
|
13
|
+
} as const;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanContentGroupsItem = {
|
|
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem = {
|
|
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionPlanPlanFamily = {
|
|
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 { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm';
|
|
3
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn';
|
|
4
|
+
|
|
5
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem = {
|
|
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm;
|
|
19
|
+
/** @nullable */
|
|
20
|
+
AddOn?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn;
|
|
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 { AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType } from './accountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn = {
|
|
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?: AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType;
|
|
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType = {
|
|
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 AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm = {
|
|
11
|
+
Monthly: 1,
|
|
12
|
+
Yearly: 2,
|
|
13
|
+
Quarterly: 3,
|
|
14
|
+
OneTime: 4,
|
|
15
|
+
} as const;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @nullable
|
|
5
|
+
*/
|
|
6
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadMailingAddress = {
|
|
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,75 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @nullable
|
|
5
|
+
*/
|
|
6
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPaymentInformation = {
|
|
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
|
+
CustomerToken?: string | null;
|
|
23
|
+
/** @nullable */
|
|
24
|
+
LastFourDigits?: string | null;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
LatestFailureDateTime?: string | null;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
LatestFailureDescription?: string | null;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
LatestSuccessDateTime?: string | null;
|
|
31
|
+
NumberOfFailures?: number;
|
|
32
|
+
/** @nullable */
|
|
33
|
+
PaymentClientSecret?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* @maxLength 50
|
|
36
|
+
* @nullable
|
|
37
|
+
*/
|
|
38
|
+
PaymentMethodType?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* @maxLength 250
|
|
41
|
+
* @nullable
|
|
42
|
+
*/
|
|
43
|
+
PaymentToken?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* @maxLength 100
|
|
46
|
+
* @nullable
|
|
47
|
+
*/
|
|
48
|
+
BankName?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* @maxLength 50
|
|
51
|
+
* @nullable
|
|
52
|
+
*/
|
|
53
|
+
BankAccountType?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* @maxLength 50
|
|
56
|
+
* @nullable
|
|
57
|
+
*/
|
|
58
|
+
BankAccountHolderType?: string | null;
|
|
59
|
+
/** @nullable */
|
|
60
|
+
NameOnCard?: string | null;
|
|
61
|
+
/** @nullable */
|
|
62
|
+
CardType?: string | null;
|
|
63
|
+
/** @nullable */
|
|
64
|
+
ExpirationMonth?: string | null;
|
|
65
|
+
/** @nullable */
|
|
66
|
+
ExpirationYear?: string | null;
|
|
67
|
+
/** @nullable */
|
|
68
|
+
Mode?: string | null;
|
|
69
|
+
/** @nullable */
|
|
70
|
+
OneTimeToken?: string | null;
|
|
71
|
+
/** @nullable */
|
|
72
|
+
RecaptchaToken?: string | null;
|
|
73
|
+
/** @nullable */
|
|
74
|
+
SetupIntent?: string | null;
|
|
75
|
+
} | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson } from './accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson';
|
|
3
|
+
|
|
4
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItem = {
|
|
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
|
+
Person?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson;
|
|
18
|
+
IsPrimary?: boolean;
|
|
19
|
+
ReceiveInvoices?: boolean;
|
|
20
|
+
};
|
package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson.ts
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus } from './accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPerson = {
|
|
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
|
+
Email?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* @maxLength 250
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
|
+
FirstName?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* @maxLength 250
|
|
31
|
+
* @nullable
|
|
32
|
+
*/
|
|
33
|
+
LastName?: string | null;
|
|
34
|
+
/** @nullable */
|
|
35
|
+
PasswordLastUpdated?: string | null;
|
|
36
|
+
PasswordMustChange?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @maxLength 250
|
|
39
|
+
* @nullable
|
|
40
|
+
*/
|
|
41
|
+
PhoneMobile?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* @maxLength 250
|
|
44
|
+
* @nullable
|
|
45
|
+
*/
|
|
46
|
+
PhoneWork?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* @maxLength 250
|
|
49
|
+
* @nullable
|
|
50
|
+
*/
|
|
51
|
+
ProfileImageS3Url?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* @maxLength 250
|
|
54
|
+
* @nullable
|
|
55
|
+
*/
|
|
56
|
+
Title?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* @maxLength 100
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
Timezone?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* @maxLength 50
|
|
64
|
+
* @nullable
|
|
65
|
+
*/
|
|
66
|
+
Language?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* @maxLength 250
|
|
69
|
+
* @nullable
|
|
70
|
+
*/
|
|
71
|
+
IPAddress?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* @maxLength 250
|
|
74
|
+
* @nullable
|
|
75
|
+
*/
|
|
76
|
+
Referer?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* @maxLength 1000
|
|
79
|
+
* @nullable
|
|
80
|
+
*/
|
|
81
|
+
UserAgent?: string | null;
|
|
82
|
+
/** @nullable */
|
|
83
|
+
LastLoginDateTime?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* @maxLength 50
|
|
86
|
+
* @nullable
|
|
87
|
+
*/
|
|
88
|
+
OAuthGoogleProfileId?: string | null;
|
|
89
|
+
/** @nullable */
|
|
90
|
+
AccountUids?: string | null;
|
|
91
|
+
/** @nullable */
|
|
92
|
+
FullName?: string | null;
|
|
93
|
+
HasLoggedIn?: boolean;
|
|
94
|
+
/** `0` - None, `1` - Gmail */
|
|
95
|
+
OAuthIntegrationStatus?: AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus;
|
|
96
|
+
OptInToEmailList?: boolean;
|
|
97
|
+
/** @nullable */
|
|
98
|
+
Password?: string | null;
|
|
99
|
+
/** @nullable */
|
|
100
|
+
UserAgentPlatformBrowser?: string | null;
|
|
101
|
+
HasUnsubscribed?: boolean;
|
|
102
|
+
IsConnectedToDiscord?: boolean;
|
|
103
|
+
} | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `0` - None, `1` - Gmail
|
|
5
|
+
*/
|
|
6
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus = {
|
|
11
|
+
None: 0,
|
|
12
|
+
Gmail: 1,
|
|
13
|
+
} as const;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus } from './accountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimaryContact = {
|
|
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
|
+
Email?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* @maxLength 250
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
|
+
FirstName?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* @maxLength 250
|
|
31
|
+
* @nullable
|
|
32
|
+
*/
|
|
33
|
+
LastName?: string | null;
|
|
34
|
+
/** @nullable */
|
|
35
|
+
PasswordLastUpdated?: string | null;
|
|
36
|
+
PasswordMustChange?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @maxLength 250
|
|
39
|
+
* @nullable
|
|
40
|
+
*/
|
|
41
|
+
PhoneMobile?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* @maxLength 250
|
|
44
|
+
* @nullable
|
|
45
|
+
*/
|
|
46
|
+
PhoneWork?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* @maxLength 250
|
|
49
|
+
* @nullable
|
|
50
|
+
*/
|
|
51
|
+
ProfileImageS3Url?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* @maxLength 250
|
|
54
|
+
* @nullable
|
|
55
|
+
*/
|
|
56
|
+
Title?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* @maxLength 100
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
Timezone?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* @maxLength 50
|
|
64
|
+
* @nullable
|
|
65
|
+
*/
|
|
66
|
+
Language?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* @maxLength 250
|
|
69
|
+
* @nullable
|
|
70
|
+
*/
|
|
71
|
+
IPAddress?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* @maxLength 250
|
|
74
|
+
* @nullable
|
|
75
|
+
*/
|
|
76
|
+
Referer?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* @maxLength 1000
|
|
79
|
+
* @nullable
|
|
80
|
+
*/
|
|
81
|
+
UserAgent?: string | null;
|
|
82
|
+
/** @nullable */
|
|
83
|
+
LastLoginDateTime?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* @maxLength 50
|
|
86
|
+
* @nullable
|
|
87
|
+
*/
|
|
88
|
+
OAuthGoogleProfileId?: string | null;
|
|
89
|
+
/** @nullable */
|
|
90
|
+
AccountUids?: string | null;
|
|
91
|
+
/** @nullable */
|
|
92
|
+
FullName?: string | null;
|
|
93
|
+
HasLoggedIn?: boolean;
|
|
94
|
+
/** `0` - None, `1` - Gmail */
|
|
95
|
+
OAuthIntegrationStatus?: AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus;
|
|
96
|
+
OptInToEmailList?: boolean;
|
|
97
|
+
/** @nullable */
|
|
98
|
+
Password?: string | null;
|
|
99
|
+
/** @nullable */
|
|
100
|
+
UserAgentPlatformBrowser?: string | null;
|
|
101
|
+
HasUnsubscribed?: boolean;
|
|
102
|
+
IsConnectedToDiscord?: boolean;
|
|
103
|
+
} | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `0` - None, `1` - Gmail
|
|
5
|
+
*/
|
|
6
|
+
export type AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus = typeof AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus[keyof typeof AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountBillingInvoiceDeletedWebhookPayloadPrimaryContactOAuthIntegrationStatus = {
|
|
11
|
+
None: 0,
|
|
12
|
+
Gmail: 1,
|
|
13
|
+
} as const;
|