@outseta/api-client 0.3.10 → 0.3.11
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 +524 -0
- package/package.json +1 -1
- package/src/generated/models/accountAddPersonWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountAddPersonWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInformationRemovedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInformationRemovedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInformationRequestedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInformationRequestedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInformationUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInformationUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInvoiceCreatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInvoiceCreatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInvoiceDeletedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountBillingInvoiceEmailSentWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountBillingInvoiceEmailSentWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountCreatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountCreatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountDeletedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountDeletedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountPaidSubscriptionCreatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountPaidSubscriptionCreatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedActivityData.ts +10 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayload.ts +185 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadAccountStage.ts +20 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadBillingAddress.ts +58 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscription.ts +53 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoice.ts +53 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlan.ts +74 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadCurrentSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadDealsItem.ts +35 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscription.ts +53 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoice.ts +53 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlan.ts +74 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadLatestSubscriptionSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadMailingAddress.ts +58 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPaymentInformation.ts +75 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPersonAccountItem.ts +26 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPersonAccountItemPerson.ts +103 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPersonAccountItemPersonOAuthIntegrationStatus.ts +13 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimaryContact.ts +103 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus.ts +13 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimaryStripeSubscription.ts +66 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimarySubscription.ts +41 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadStripeInvoicesItem.ts +92 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadStripePaymentMethodsItem.ts +37 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadStripeSubscriptionsItem.ts +63 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItem.ts +50 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem.ts +22 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon.ts +40 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice.ts +53 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus.ts +18 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan.ts +74 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanAccountRegistrationMode.ts +13 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanContentGroupsItem.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanAddOnsItem.ts +16 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlanPlanFamily.ts +25 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem.ts +34 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOn.ts +51 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType.ts +14 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm.ts +15 -0
- package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadTaxIdsItem.ts +32 -0
- package/src/generated/models/accountPrimaryPersonUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountPrimaryPersonUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountRemovePersonWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountRemovePersonWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountStageUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountStageUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionAddOnsChangedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionCancellationRequestedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionPaymentCollectedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionPaymentDeclinedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionPlanUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionRenewalExtendedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountSubscriptionStartedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountSubscriptionStartedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/accountUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/accountUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/activityType.ts +2 -1
- package/src/generated/models/articleAddArticleBody.ts +7 -0
- package/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/discordUserAddedToServerWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/discordUserLinkedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/discordUserLinkedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/discordUserRemovedFromServerWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/discordUserRolesUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/index.ts +119 -0
- package/src/generated/models/personAccountAllOf.ts +3 -0
- package/src/generated/models/personAccountAllOfRole.ts +7 -0
- package/src/generated/models/personCreatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personCreatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personDeletedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personDeletedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailBounceWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailBounceWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailClickedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailClickedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailOpenedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailOpenedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailSpamWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailSpamWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailSubscribedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailSubscribedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personEmailUnsubscribedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personEmailUnsubscribedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personLeadFormSubmittedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personListConfirmedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personListSubscribedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personListUnsubscribedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personLoginWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personLoginWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personSegmentAddedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personSegmentAddedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personSegmentRemovedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personSegmentRemovedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personSupportTicketClosedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personSupportTicketCreatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personSupportTicketUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personTemporaryPasswordSetWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personTemporaryPasswordSetWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personTwoFactorRecoveryCodesRegeneratedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/personUpdatedWebhookPayloadPersonAccountItem.ts +6 -0
- package/src/generated/models/personUpdatedWebhookPayloadPersonAccountItemRole.ts +15 -0
- package/src/generated/models/teamRole.ts +14 -0
- package/src/generated/models/updateAccountMemberRoleModel.ts +7 -0
- package/src/generated/models/updateAccountMemberRoleModelRole.ts +7 -0
- package/src/generated/support/support.ts +44 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus } from './accountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountPersonRoleUpdatedWebhookPayloadPrimaryContact = {
|
|
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?: AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus;
|
|
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 AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus = typeof AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountPersonRoleUpdatedWebhookPayloadPrimaryContactOAuthIntegrationStatus = {
|
|
11
|
+
None: 0,
|
|
12
|
+
Gmail: 1,
|
|
13
|
+
} as const;
|
package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadPrimaryStripeSubscription.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @nullable
|
|
5
|
+
*/
|
|
6
|
+
export type AccountPersonRoleUpdatedWebhookPayloadPrimaryStripeSubscription = {
|
|
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 255
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
|
+
StripeId?: string | null;
|
|
23
|
+
IsLivemode?: boolean;
|
|
24
|
+
/** @nullable */
|
|
25
|
+
CancelAt?: string | null;
|
|
26
|
+
CancelAtPeriodEnd?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @maxLength 3
|
|
29
|
+
* @nullable
|
|
30
|
+
*/
|
|
31
|
+
Currency?: string | null;
|
|
32
|
+
/** @nullable */
|
|
33
|
+
EndedAt?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* @maxLength 30
|
|
36
|
+
* @nullable
|
|
37
|
+
*/
|
|
38
|
+
PauseCollection_Behavior?: string | null;
|
|
39
|
+
/** @nullable */
|
|
40
|
+
PauseCollection_ResumesAt?: string | null;
|
|
41
|
+
StartDate?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @maxLength 30
|
|
44
|
+
* @nullable
|
|
45
|
+
*/
|
|
46
|
+
Status?: string | null;
|
|
47
|
+
/** @nullable */
|
|
48
|
+
TrialEnd?: string | null;
|
|
49
|
+
/** @nullable */
|
|
50
|
+
AccountUid?: string | null;
|
|
51
|
+
/** @nullable */
|
|
52
|
+
BillingCycleAnchor?: string | null;
|
|
53
|
+
/** @nullable */
|
|
54
|
+
CollectionMethod?: string | null;
|
|
55
|
+
/** @nullable */
|
|
56
|
+
CustomerId?: string | null;
|
|
57
|
+
/** @nullable */
|
|
58
|
+
DaysUntilDue?: number | null;
|
|
59
|
+
/** @nullable */
|
|
60
|
+
ScheduleId?: string | null;
|
|
61
|
+
/** @nullable */
|
|
62
|
+
StripeDiscountIds?: string[] | null;
|
|
63
|
+
/** @nullable */
|
|
64
|
+
StripePriceIds?: string | null;
|
|
65
|
+
TrialPeriodDays?: number;
|
|
66
|
+
} | null;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm } from './accountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountPersonRoleUpdatedWebhookPayloadPrimarySubscription = {
|
|
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
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
20
|
+
BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm;
|
|
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
|
+
IsPlanUpgradeRequired?: boolean;
|
|
33
|
+
/** @nullable */
|
|
34
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
35
|
+
/** @nullable */
|
|
36
|
+
DiscountCode?: string | null;
|
|
37
|
+
/** @nullable */
|
|
38
|
+
DiscountCouponExpirationDate?: string | null;
|
|
39
|
+
/** @nullable */
|
|
40
|
+
Rate?: number | null;
|
|
41
|
+
} | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
5
|
+
*/
|
|
6
|
+
export type AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountPersonRoleUpdatedWebhookPayloadPrimarySubscriptionBillingRenewalTerm = {
|
|
11
|
+
Monthly: 1,
|
|
12
|
+
Yearly: 2,
|
|
13
|
+
Quarterly: 3,
|
|
14
|
+
OneTime: 4,
|
|
15
|
+
} as const;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
export type AccountPersonRoleUpdatedWebhookPayloadStripeInvoicesItem = {
|
|
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
|
+
* @maxLength 255
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
StripeId?: string | null;
|
|
20
|
+
IsLivemode?: boolean;
|
|
21
|
+
AmountDue?: number;
|
|
22
|
+
AmountPaid?: number;
|
|
23
|
+
AmountShipping?: number;
|
|
24
|
+
AttemptCount?: number;
|
|
25
|
+
Attempted?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @maxLength 3
|
|
28
|
+
* @nullable
|
|
29
|
+
*/
|
|
30
|
+
Currency?: string | null;
|
|
31
|
+
/** @nullable */
|
|
32
|
+
Description?: string | null;
|
|
33
|
+
/** @nullable */
|
|
34
|
+
FinalizedAt?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* @maxLength 500
|
|
37
|
+
* @nullable
|
|
38
|
+
*/
|
|
39
|
+
HostedInvoiceUrl?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* @maxLength 500
|
|
42
|
+
* @nullable
|
|
43
|
+
*/
|
|
44
|
+
InvoicePdf?: string | null;
|
|
45
|
+
/** @nullable */
|
|
46
|
+
NextPaymentAttempt?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* @maxLength 50
|
|
49
|
+
* @nullable
|
|
50
|
+
*/
|
|
51
|
+
Number?: string | null;
|
|
52
|
+
PeriodEnd?: string;
|
|
53
|
+
PeriodStart?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @maxLength 30
|
|
56
|
+
* @nullable
|
|
57
|
+
*/
|
|
58
|
+
Status?: string | null;
|
|
59
|
+
SubTotal?: number;
|
|
60
|
+
/** @nullable */
|
|
61
|
+
SubTotalExcludingTax?: number | null;
|
|
62
|
+
/**
|
|
63
|
+
* @maxLength 255
|
|
64
|
+
* @nullable
|
|
65
|
+
*/
|
|
66
|
+
SubscriptionId?: string | null;
|
|
67
|
+
/** @nullable */
|
|
68
|
+
Tax?: number | null;
|
|
69
|
+
Total?: number;
|
|
70
|
+
/** @nullable */
|
|
71
|
+
TotalExcludingTax?: number | null;
|
|
72
|
+
IsRefunded?: boolean;
|
|
73
|
+
CurrencyAmountCreditedPostPayment?: number;
|
|
74
|
+
CurrencyAmountCreditedPrePayment?: number;
|
|
75
|
+
CurrencyAmountDue?: number;
|
|
76
|
+
CurrencyAmountPaid?: number;
|
|
77
|
+
/** @nullable */
|
|
78
|
+
CurrencySymbol?: string | null;
|
|
79
|
+
CurrencyTotal?: number;
|
|
80
|
+
CurrencyTotalExcludingTax?: number;
|
|
81
|
+
CurrencySubTotal?: number;
|
|
82
|
+
CurrencySubTotalExcludingTax?: number;
|
|
83
|
+
CurrencyTax?: number;
|
|
84
|
+
/** @nullable */
|
|
85
|
+
DaysUntilDue?: number | null;
|
|
86
|
+
/** @nullable */
|
|
87
|
+
CustomerId?: string | null;
|
|
88
|
+
/** @nullable */
|
|
89
|
+
PaymentStatus?: string | null;
|
|
90
|
+
/** @nullable */
|
|
91
|
+
StripePaymentMethodId?: string | null;
|
|
92
|
+
};
|
package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadStripePaymentMethodsItem.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
export type AccountPersonRoleUpdatedWebhookPayloadStripePaymentMethodsItem = {
|
|
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
|
+
* @maxLength 255
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
StripeId?: string | null;
|
|
20
|
+
IsLivemode?: boolean;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
Card_Brand?: string | null;
|
|
23
|
+
/** @nullable */
|
|
24
|
+
Card_ExpMonth?: number | null;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
Card_ExpYear?: number | null;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
Card_Wallet_Type?: string | null;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
BankName?: string | null;
|
|
31
|
+
/** @nullable */
|
|
32
|
+
Last4?: string | null;
|
|
33
|
+
/** @nullable */
|
|
34
|
+
Type?: string | null;
|
|
35
|
+
/** @nullable */
|
|
36
|
+
Label?: string | null;
|
|
37
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
export type AccountPersonRoleUpdatedWebhookPayloadStripeSubscriptionsItem = {
|
|
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
|
+
* @maxLength 255
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
StripeId?: string | null;
|
|
20
|
+
IsLivemode?: boolean;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
CancelAt?: string | null;
|
|
23
|
+
CancelAtPeriodEnd?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @maxLength 3
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
|
+
Currency?: string | null;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
EndedAt?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* @maxLength 30
|
|
33
|
+
* @nullable
|
|
34
|
+
*/
|
|
35
|
+
PauseCollection_Behavior?: string | null;
|
|
36
|
+
/** @nullable */
|
|
37
|
+
PauseCollection_ResumesAt?: string | null;
|
|
38
|
+
StartDate?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @maxLength 30
|
|
41
|
+
* @nullable
|
|
42
|
+
*/
|
|
43
|
+
Status?: string | null;
|
|
44
|
+
/** @nullable */
|
|
45
|
+
TrialEnd?: string | null;
|
|
46
|
+
/** @nullable */
|
|
47
|
+
AccountUid?: string | null;
|
|
48
|
+
/** @nullable */
|
|
49
|
+
BillingCycleAnchor?: string | null;
|
|
50
|
+
/** @nullable */
|
|
51
|
+
CollectionMethod?: string | null;
|
|
52
|
+
/** @nullable */
|
|
53
|
+
CustomerId?: string | null;
|
|
54
|
+
/** @nullable */
|
|
55
|
+
DaysUntilDue?: number | null;
|
|
56
|
+
/** @nullable */
|
|
57
|
+
ScheduleId?: string | null;
|
|
58
|
+
/** @nullable */
|
|
59
|
+
StripeDiscountIds?: string[] | null;
|
|
60
|
+
/** @nullable */
|
|
61
|
+
StripePriceIds?: string | null;
|
|
62
|
+
TrialPeriodDays?: number;
|
|
63
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm';
|
|
3
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan';
|
|
4
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem';
|
|
5
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem';
|
|
6
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice';
|
|
7
|
+
|
|
8
|
+
export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItem = {
|
|
9
|
+
/**
|
|
10
|
+
* @maxLength 10
|
|
11
|
+
* @nullable
|
|
12
|
+
*/
|
|
13
|
+
Uid?: string | null;
|
|
14
|
+
/** @nullable */
|
|
15
|
+
_objectType?: string | null;
|
|
16
|
+
/** @minLength 1 */
|
|
17
|
+
Created: string;
|
|
18
|
+
/** @minLength 1 */
|
|
19
|
+
Updated: string;
|
|
20
|
+
/** `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time */
|
|
21
|
+
BillingRenewalTerm?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm;
|
|
22
|
+
/** @nullable */
|
|
23
|
+
Plan?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemPlan;
|
|
24
|
+
/** @nullable */
|
|
25
|
+
Quantity?: number | null;
|
|
26
|
+
StartDate?: string;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
EndDate?: string | null;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
ExpirationDate?: string | null;
|
|
31
|
+
/** @nullable */
|
|
32
|
+
RenewalDate?: string | null;
|
|
33
|
+
/** @nullable */
|
|
34
|
+
NewRequiredQuantity?: number | null;
|
|
35
|
+
IsPlanUpgradeRequired?: boolean;
|
|
36
|
+
/** @nullable */
|
|
37
|
+
PlanUpgradeRequiredMessage?: string | null;
|
|
38
|
+
/** @nullable */
|
|
39
|
+
SubscriptionAddOns?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemSubscriptionAddOnsItem[] | null;
|
|
40
|
+
/** @nullable */
|
|
41
|
+
DiscountCouponSubscriptions?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem[] | null;
|
|
42
|
+
/** @nullable */
|
|
43
|
+
DiscountCode?: string | null;
|
|
44
|
+
/** @nullable */
|
|
45
|
+
DiscountCouponExpirationDate?: string | null;
|
|
46
|
+
/** @nullable */
|
|
47
|
+
LatestInvoice?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice;
|
|
48
|
+
/** @nullable */
|
|
49
|
+
Rate?: number | null;
|
|
50
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* `1` - Monthly, `2` - Yearly, `3` - Quarterly, `4` - One Time
|
|
5
|
+
*/
|
|
6
|
+
export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemBillingRenewalTerm = {
|
|
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 { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon';
|
|
3
|
+
|
|
4
|
+
export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItem = {
|
|
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?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon;
|
|
22
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCoupon = {
|
|
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?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration;
|
|
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 AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemDiscountCouponSubscriptionsItemDiscountCouponDuration = {
|
|
11
|
+
Forever: 1,
|
|
12
|
+
Once: 2,
|
|
13
|
+
Repeating: 3,
|
|
14
|
+
} as const;
|
package/src/generated/models/accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus } from './accountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nullable
|
|
6
|
+
*/
|
|
7
|
+
export type AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoice = {
|
|
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?: AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus;
|
|
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 AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus[keyof typeof AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus];
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
10
|
+
export const AccountPersonRoleUpdatedWebhookPayloadSubscriptionsItemLatestInvoiceBillingInvoiceStatus = {
|
|
11
|
+
Unpaid: 1,
|
|
12
|
+
Paid: 2,
|
|
13
|
+
Partial: 3,
|
|
14
|
+
Uncollected: 4,
|
|
15
|
+
Refunded: 5,
|
|
16
|
+
Uncollectible: 6,
|
|
17
|
+
Processing: 7,
|
|
18
|
+
} as const;
|