@outseta/react 0.2.0 → 0.2.1
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/package.json +2 -2
- package/src/generated/activity/activity.ts +395 -0
- package/src/generated/billing/billing.ts +1333 -0
- package/src/generated/crm/crm.ts +1528 -63
- package/src/generated/email/email.ts +992 -0
- package/src/generated/outsetaAPI.schemas.ts +334 -27
- package/src/generated/support/support.ts +478 -1
- package/src/mutator.ts +32 -11
|
@@ -219,11 +219,6 @@ For help regarding the Outseta API please email [support@outseta.com](mailto:sup
|
|
|
219
219
|
|
|
220
220
|
* OpenAPI spec version: v1
|
|
221
221
|
*/
|
|
222
|
-
export interface TagUidList {
|
|
223
|
-
/** @nullable */
|
|
224
|
-
TagUids?: string[] | null;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
222
|
export type TranslationAllOf = {
|
|
228
223
|
/**
|
|
229
224
|
* @minLength 1
|
|
@@ -575,12 +570,12 @@ export type PersonAllOf = {
|
|
|
575
570
|
/** @nullable */
|
|
576
571
|
LeadFormSubmissions?: LeadFormSubmission[] | null;
|
|
577
572
|
/** @nullable */
|
|
578
|
-
EmailListPerson?: EmailListPerson[] | null;
|
|
579
|
-
/** @nullable */
|
|
580
573
|
Account?: PersonAllOfAccount;
|
|
581
574
|
/** @nullable */
|
|
582
575
|
AccountUids?: string | null;
|
|
583
576
|
/** @nullable */
|
|
577
|
+
EmailListPerson?: EmailListPerson[] | null;
|
|
578
|
+
/** @nullable */
|
|
584
579
|
FullName?: string | null;
|
|
585
580
|
HasLoggedIn?: boolean;
|
|
586
581
|
OAuthIntegrationStatus?: OAuthService;
|
|
@@ -856,7 +851,7 @@ export type AccountAllOf = {
|
|
|
856
851
|
export type Account = AbstractStripeBeanOfCustomer & AccountAllOf;
|
|
857
852
|
|
|
858
853
|
/**
|
|
859
|
-
* `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused
|
|
854
|
+
* `2` - Trialing, `3` - Subscribing, `4` - Cancelling, `5` - Expired, `6` - Trial Expired, `7` - Past Due, `8` - Cancelling Trial, `9` - Paused, `10` - Created
|
|
860
855
|
*/
|
|
861
856
|
export type AccountStage = typeof AccountStage[keyof typeof AccountStage];
|
|
862
857
|
|
|
@@ -874,6 +869,7 @@ export const AccountStage = {
|
|
|
874
869
|
/** Cancelling Trial */
|
|
875
870
|
CancellingTrial: 8,
|
|
876
871
|
Paused: 9,
|
|
872
|
+
Created: 10,
|
|
877
873
|
} as const;
|
|
878
874
|
|
|
879
875
|
export type PaymentInformationAllOf = {
|
|
@@ -957,6 +953,8 @@ export type StripeInvoiceAllOf = {
|
|
|
957
953
|
Currency?: string | null;
|
|
958
954
|
/** @nullable */
|
|
959
955
|
Description?: string | null;
|
|
956
|
+
/** @nullable */
|
|
957
|
+
FinalizedAt?: string | null;
|
|
960
958
|
/**
|
|
961
959
|
* @maxLength 500
|
|
962
960
|
* @nullable
|
|
@@ -992,6 +990,11 @@ export type StripeInvoiceAllOf = {
|
|
|
992
990
|
SubTotal?: number;
|
|
993
991
|
/** @nullable */
|
|
994
992
|
SubTotalExcludingTax?: number | null;
|
|
993
|
+
/**
|
|
994
|
+
* @maxLength 255
|
|
995
|
+
* @nullable
|
|
996
|
+
*/
|
|
997
|
+
SubscriptionId?: string | null;
|
|
995
998
|
/** @nullable */
|
|
996
999
|
Tax?: number | null;
|
|
997
1000
|
Total?: number;
|
|
@@ -1000,6 +1003,8 @@ export type StripeInvoiceAllOf = {
|
|
|
1000
1003
|
/** @nullable */
|
|
1001
1004
|
Account?: StripeInvoiceAllOfAccount;
|
|
1002
1005
|
IsRefunded?: boolean;
|
|
1006
|
+
CurrencyAmountCreditedPostPayment?: number;
|
|
1007
|
+
CurrencyAmountCreditedPrePayment?: number;
|
|
1003
1008
|
CurrencyAmountDue?: number;
|
|
1004
1009
|
CurrencyAmountPaid?: number;
|
|
1005
1010
|
/** @nullable */
|
|
@@ -1152,6 +1157,11 @@ export type StripeProductAllOf = {
|
|
|
1152
1157
|
* @nullable
|
|
1153
1158
|
*/
|
|
1154
1159
|
Name?: string | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* @maxLength 255
|
|
1162
|
+
* @nullable
|
|
1163
|
+
*/
|
|
1164
|
+
DefaultPriceId?: string | null;
|
|
1155
1165
|
/** @nullable */
|
|
1156
1166
|
Description?: string | null;
|
|
1157
1167
|
IsActive?: boolean;
|
|
@@ -1502,6 +1512,8 @@ export type StripePriceAllOf = {
|
|
|
1502
1512
|
/** @nullable */
|
|
1503
1513
|
CurrencyUnitAmountDecimal?: number | null;
|
|
1504
1514
|
/** @nullable */
|
|
1515
|
+
Recurring_IntervalDays?: number | null;
|
|
1516
|
+
/** @nullable */
|
|
1505
1517
|
Recurring_Description?: string | null;
|
|
1506
1518
|
/** @nullable */
|
|
1507
1519
|
StripeMeterId?: string | null;
|
|
@@ -1719,8 +1731,12 @@ export type StripeSubscriptionAllOf = {
|
|
|
1719
1731
|
/** @nullable */
|
|
1720
1732
|
AccountUid?: string | null;
|
|
1721
1733
|
/** @nullable */
|
|
1734
|
+
CollectionMethod?: string | null;
|
|
1735
|
+
/** @nullable */
|
|
1722
1736
|
CustomerId?: string | null;
|
|
1723
1737
|
/** @nullable */
|
|
1738
|
+
DaysUntilDue?: number | null;
|
|
1739
|
+
/** @nullable */
|
|
1724
1740
|
ScheduleId?: string | null;
|
|
1725
1741
|
/** @nullable */
|
|
1726
1742
|
StripeDiscountIds?: string[] | null;
|
|
@@ -2229,6 +2245,10 @@ export type StripeCreditNoteAllOf = {
|
|
|
2229
2245
|
* @nullable
|
|
2230
2246
|
*/
|
|
2231
2247
|
InvoiceId?: string | null;
|
|
2248
|
+
/** @nullable */
|
|
2249
|
+
OutOfBandAmount?: number | null;
|
|
2250
|
+
PostPaymentAmount?: number;
|
|
2251
|
+
PrePaymentAmount?: number;
|
|
2232
2252
|
/**
|
|
2233
2253
|
* @maxLength 30
|
|
2234
2254
|
* @nullable
|
|
@@ -2240,6 +2260,11 @@ export type StripeCreditNoteAllOf = {
|
|
|
2240
2260
|
*/
|
|
2241
2261
|
Status?: string | null;
|
|
2242
2262
|
Total?: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* @maxLength 30
|
|
2265
|
+
* @nullable
|
|
2266
|
+
*/
|
|
2267
|
+
Type?: string | null;
|
|
2243
2268
|
/** @nullable */
|
|
2244
2269
|
CurrencySymbol?: string | null;
|
|
2245
2270
|
CurrencyTotal?: number;
|
|
@@ -2499,7 +2524,15 @@ export type InvoiceAllOf = {
|
|
|
2499
2524
|
AmountRefunded?: number;
|
|
2500
2525
|
AmountSubtotal?: number;
|
|
2501
2526
|
AmountTax?: number;
|
|
2527
|
+
AmountTaxRefunded?: number;
|
|
2502
2528
|
IsTaxable?: boolean;
|
|
2529
|
+
HasPaymentGatewayTransactions?: boolean;
|
|
2530
|
+
/** @nullable */
|
|
2531
|
+
StripePaymentTransactionIds?: string | null;
|
|
2532
|
+
/** @nullable */
|
|
2533
|
+
StripeRefundTransactionIds?: string | null;
|
|
2534
|
+
/** @nullable */
|
|
2535
|
+
StripeTaxRefundTransactionIds?: string | null;
|
|
2503
2536
|
};
|
|
2504
2537
|
|
|
2505
2538
|
export type Invoice = AbstractQcountBean & InvoiceAllOf;
|
|
@@ -3341,7 +3374,7 @@ export type QcountConfigAllOf = {
|
|
|
3341
3374
|
export type QcountConfig = AbstractQcountBean & QcountConfigAllOf;
|
|
3342
3375
|
|
|
3343
3376
|
/**
|
|
3344
|
-
* `100` - Slack, `102` - MagicLinkApiKey, `103` - MagicLinkApiKeySecret, `104` - OAuth_HideCreateAccountLink, `105` - Chat_IsOffline, `106` - HostedPageCustomCode, `107` - RegistrationConfirmationEmailDelaySeconds, `108` - AccountCancellationReasons, `110` - WebhookSignatureKey, `111` - HostedProfileBackLink, `112` - AccountCancellationReasonRequired, `114` - Email_OutsetaBrandingDisabled, `115` - Email_MarketingIpPool, `116` - Email_TransactionalIpPool, `117` - Email_LifecycleIpPool, `118` - Email_DomainAuthenticationConfigured, `119` - Email_BlacklistedInboundEmails, `120` - CRM_TeamMemberInviteEmailDisabled, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `300` - SqsQueueEnabled, `301` - PersonSegmentationStatusEnabled, `304` - SqsCampaignEmailQueueEnabled, `310` - Account_AutoIncrementClientIdentifier, `402` - SqsEmailLogQueueUrlOverride, `500` - Logging_Webhook_Enabled, `501` - Logging_Activty_Enabled, `550` - CopyQcount_AddOnMap, `551` - CopyQcount_AccountMap, `552` - CopyQcount_DiscountCouponMap, `553` - CopyQcount_InvoiceMap, `554` - CopyQcount_PersonMap, `555` - CopyQcount_PlanMap, `556` - CopyQcount_PlanFamilyMap, `557` - CopyQcount_SubscriptionMap, `558` - CopyQcount_TransactionMap, `570` - StripeMigration_LastAccountId, `571` - StripeMigration_LastInvoiceId, `572` - StripeMigration_LastExpiredSubscriptionId, `573` - StripeMigration_LastPostExportSubscriptionId, `574` - StripeMigration_LastUsageId, `575` - StripeMigration_SubscriptionExportDate, `576` - StripeMigration_SubscriptionExportIds, `577` - StripeMigration_SubscriptionAddOnExportIds, `578` - StripeMigration_SubscriptionCutoverDate, `579` - StripeMigration_LastPreCutoverExportSubscriptionId, `601` - SqsSendGridWebHookEventQueueUrlOverride
|
|
3377
|
+
* `100` - Slack, `102` - MagicLinkApiKey, `103` - MagicLinkApiKeySecret, `104` - OAuth_HideCreateAccountLink, `105` - Chat_IsOffline, `106` - HostedPageCustomCode, `107` - RegistrationConfirmationEmailDelaySeconds, `108` - AccountCancellationReasons, `110` - WebhookSignatureKey, `111` - HostedProfileBackLink, `112` - AccountCancellationReasonRequired, `114` - Email_OutsetaBrandingDisabled, `115` - Email_MarketingIpPool, `116` - Email_TransactionalIpPool, `117` - Email_LifecycleIpPool, `118` - Email_DomainAuthenticationConfigured, `119` - Email_BlacklistedInboundEmails, `120` - CRM_TeamMemberInviteEmailDisabled, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `129` - Email_BroadcastGroupSendEnabled, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `300` - SqsQueueEnabled, `301` - PersonSegmentationStatusEnabled, `304` - SqsCampaignEmailQueueEnabled, `310` - Account_AutoIncrementClientIdentifier, `402` - SqsEmailLogQueueUrlOverride, `500` - Logging_Webhook_Enabled, `501` - Logging_Activty_Enabled, `550` - CopyQcount_AddOnMap, `551` - CopyQcount_AccountMap, `552` - CopyQcount_DiscountCouponMap, `553` - CopyQcount_InvoiceMap, `554` - CopyQcount_PersonMap, `555` - CopyQcount_PlanMap, `556` - CopyQcount_PlanFamilyMap, `557` - CopyQcount_SubscriptionMap, `558` - CopyQcount_TransactionMap, `570` - StripeMigration_LastAccountId, `571` - StripeMigration_LastInvoiceId, `572` - StripeMigration_LastExpiredSubscriptionId, `573` - StripeMigration_LastPostExportSubscriptionId, `574` - StripeMigration_LastUsageId, `575` - StripeMigration_SubscriptionExportDate, `576` - StripeMigration_SubscriptionExportIds, `577` - StripeMigration_SubscriptionAddOnExportIds, `578` - StripeMigration_SubscriptionCutoverDate, `579` - StripeMigration_LastPreCutoverExportSubscriptionId, `601` - SqsSendGridWebHookEventQueueUrlOverride
|
|
3345
3378
|
*/
|
|
3346
3379
|
export type QcountConfigSettingType = typeof QcountConfigSettingType[keyof typeof QcountConfigSettingType];
|
|
3347
3380
|
|
|
@@ -3368,10 +3401,12 @@ export const QcountConfigSettingType = {
|
|
|
3368
3401
|
CRM_TeamMemberInviteEmailDisabled: 120,
|
|
3369
3402
|
PasswordPolicy: 121,
|
|
3370
3403
|
CRM_FieldSortingEnabled: 123,
|
|
3404
|
+
CRM_RegistrationCallbackLocations: 124,
|
|
3371
3405
|
KnowledgeBaseVersion: 125,
|
|
3372
3406
|
Support_SpamThreshold: 126,
|
|
3373
3407
|
Email_RestrictedPhrases: 127,
|
|
3374
3408
|
KnowledgeBaseLanguage: 128,
|
|
3409
|
+
Email_BroadcastGroupSendEnabled: 129,
|
|
3375
3410
|
Billing_System: 130,
|
|
3376
3411
|
Billing_RestrictSubscriptionActions: 131,
|
|
3377
3412
|
Stripe_TaxEnabled: 190,
|
|
@@ -3618,6 +3653,7 @@ export type SendGridDomainAuthenticationAllOf = {
|
|
|
3618
3653
|
*/
|
|
3619
3654
|
DomainName: string;
|
|
3620
3655
|
IsValid?: boolean;
|
|
3656
|
+
IsBrandedLinksDisabled?: boolean;
|
|
3621
3657
|
/** @nullable */
|
|
3622
3658
|
LastValidationAttempt?: string | null;
|
|
3623
3659
|
/** @nullable */
|
|
@@ -3627,6 +3663,8 @@ export type SendGridDomainAuthenticationAllOf = {
|
|
|
3627
3663
|
export type SendGridDomainAuthentication = AbstractQcountBean & SendGridDomainAuthenticationAllOf;
|
|
3628
3664
|
|
|
3629
3665
|
export interface DnsEntry {
|
|
3666
|
+
/** @nullable */
|
|
3667
|
+
Name?: string | null;
|
|
3630
3668
|
Valid?: boolean;
|
|
3631
3669
|
/** @nullable */
|
|
3632
3670
|
Type?: string | null;
|
|
@@ -3638,6 +3676,11 @@ export interface DnsEntry {
|
|
|
3638
3676
|
Reason?: string | null;
|
|
3639
3677
|
}
|
|
3640
3678
|
|
|
3679
|
+
export interface ResendEmailsRequest {
|
|
3680
|
+
/** @nullable */
|
|
3681
|
+
EmailLogUids?: string[] | null;
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3641
3684
|
/**
|
|
3642
3685
|
* @nullable
|
|
3643
3686
|
*/
|
|
@@ -3751,6 +3794,7 @@ export type MessageAllOf = {
|
|
|
3751
3794
|
CountTotalOpen?: number;
|
|
3752
3795
|
CountTotalClick?: number;
|
|
3753
3796
|
IgnoredSpamBounce?: number;
|
|
3797
|
+
IsBounceRatePaused?: boolean;
|
|
3754
3798
|
/** @nullable */
|
|
3755
3799
|
EmailLinks?: EmailLink[] | null;
|
|
3756
3800
|
SpamAssassinScore?: number;
|
|
@@ -4111,6 +4155,10 @@ export type BroadcastCampaignAllOf = {
|
|
|
4111
4155
|
Message?: BroadcastCampaignAllOfMessage;
|
|
4112
4156
|
/** @nullable */
|
|
4113
4157
|
RecipientData?: string | null;
|
|
4158
|
+
/** @nullable */
|
|
4159
|
+
EmailListUids?: string[] | null;
|
|
4160
|
+
/** @nullable */
|
|
4161
|
+
SegmentUids?: string[] | null;
|
|
4114
4162
|
Status?: BroadcastCampaignStatus;
|
|
4115
4163
|
/**
|
|
4116
4164
|
* @maxLength 500
|
|
@@ -4124,7 +4172,7 @@ export type BroadcastCampaignAllOf = {
|
|
|
4124
4172
|
export type BroadcastCampaign = AbstractQcountBean & BroadcastCampaignAllOf;
|
|
4125
4173
|
|
|
4126
4174
|
/**
|
|
4127
|
-
* `1` - Draft, `2` - Pending, `3` - Sent, `4` - Queuing, `5` - Queued, `6` - Sending, `7` - Error, `8` - WaitingToResume, `9` - QueuedEmails
|
|
4175
|
+
* `1` - Draft, `2` - Pending, `3` - Sent, `4` - Queuing, `5` - Queued, `6` - Sending, `7` - Error, `8` - WaitingToResume, `9` - QueuedEmails, `10` - Archived
|
|
4128
4176
|
*/
|
|
4129
4177
|
export type BroadcastCampaignStatus = typeof BroadcastCampaignStatus[keyof typeof BroadcastCampaignStatus];
|
|
4130
4178
|
|
|
@@ -4140,6 +4188,7 @@ export const BroadcastCampaignStatus = {
|
|
|
4140
4188
|
Error: 7,
|
|
4141
4189
|
WaitingToResume: 8,
|
|
4142
4190
|
QueuedEmails: 9,
|
|
4191
|
+
Archived: 10,
|
|
4143
4192
|
} as const;
|
|
4144
4193
|
|
|
4145
4194
|
/**
|
|
@@ -4154,6 +4203,11 @@ export interface SendTestEmailRequest2 {
|
|
|
4154
4203
|
AdditionalRecipients?: string[] | null;
|
|
4155
4204
|
}
|
|
4156
4205
|
|
|
4206
|
+
export interface TagUidList {
|
|
4207
|
+
/** @nullable */
|
|
4208
|
+
TagUids?: string[] | null;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4157
4211
|
/**
|
|
4158
4212
|
* @nullable
|
|
4159
4213
|
*/
|
|
@@ -4170,7 +4224,7 @@ export interface FlatfileImportData {
|
|
|
4170
4224
|
}
|
|
4171
4225
|
|
|
4172
4226
|
/**
|
|
4173
|
-
* `1` - UpdateSegmentBackGroundTask, `2` - ImportPeopleTask, `3` - ImportAccountTask, `4` - ImportDealTask, `5` - ImportEmailList, `6` - RescheduleDripCampaignTask, `7` - DeleteSegmentPeopleTask, `8` - StartDripCampaignTask, `9` - WebflowSyncTask, `10` - UpdatePersonSegmentsTask, `11` - ImportDiscountCouponTask, `12` - RemoveDiscordUserFromAllServersTask, `13` - SendInvoiceEmailTask, `14` - UpdateDiscordUserRolesTask, `15` - StripeBillingSyncTask, `16` - UpdateStripeDefaultSourceTask, `17` - DeleteScheduledCampaignMessagesTask, `18` - SendSpamCheckEmailTask, `19` - UpdateDiscordMemberRolesTask
|
|
4227
|
+
* `1` - UpdateSegmentBackGroundTask, `2` - ImportPeopleTask, `3` - ImportAccountTask, `4` - ImportDealTask, `5` - ImportEmailList, `6` - RescheduleDripCampaignTask, `7` - DeleteSegmentPeopleTask, `8` - StartDripCampaignTask, `9` - WebflowSyncTask, `10` - UpdatePersonSegmentsTask, `11` - ImportDiscountCouponTask, `12` - RemoveDiscordUserFromAllServersTask, `13` - SendInvoiceEmailTask, `14` - UpdateDiscordUserRolesTask, `15` - StripeBillingSyncTask, `16` - UpdateStripeDefaultSourceTask, `17` - DeleteScheduledCampaignMessagesTask, `18` - SendSpamCheckEmailTask, `19` - UpdateDiscordMemberRolesTask, `20` - SendInvoicePaidEmailTask, `21` - ResendTrialLimitEmailTask
|
|
4174
4228
|
*/
|
|
4175
4229
|
export type BackGroundTaskType = typeof BackGroundTaskType[keyof typeof BackGroundTaskType];
|
|
4176
4230
|
|
|
@@ -4196,6 +4250,8 @@ export const BackGroundTaskType = {
|
|
|
4196
4250
|
DeleteScheduledCampaignMessagesTask: 17,
|
|
4197
4251
|
SendSpamCheckEmailTask: 18,
|
|
4198
4252
|
UpdateDiscordMemberRolesTask: 19,
|
|
4253
|
+
SendInvoicePaidEmailTask: 20,
|
|
4254
|
+
ResendTrialLimitEmailTask: 21,
|
|
4199
4255
|
} as const;
|
|
4200
4256
|
|
|
4201
4257
|
/**
|
|
@@ -4214,6 +4270,7 @@ export type AccountCancelationAllOf = {
|
|
|
4214
4270
|
CancelationReason?: string | null;
|
|
4215
4271
|
/** @nullable */
|
|
4216
4272
|
Comment?: string | null;
|
|
4273
|
+
CancelationStatus?: CancelationStatus;
|
|
4217
4274
|
/** @nullable */
|
|
4218
4275
|
Account?: AccountCancelationAllOfAccount;
|
|
4219
4276
|
/** @nullable */
|
|
@@ -4224,6 +4281,21 @@ export type AccountCancelationAllOf = {
|
|
|
4224
4281
|
|
|
4225
4282
|
export type AccountCancelation = AbstractQcountBean & AccountCancelationAllOf;
|
|
4226
4283
|
|
|
4284
|
+
/**
|
|
4285
|
+
* `0` - Pending, `1` - Unknown, `2` - Completed, `3` - Removed, `4` - Deleted
|
|
4286
|
+
*/
|
|
4287
|
+
export type CancelationStatus = typeof CancelationStatus[keyof typeof CancelationStatus];
|
|
4288
|
+
|
|
4289
|
+
|
|
4290
|
+
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
4291
|
+
export const CancelationStatus = {
|
|
4292
|
+
Pending: 0,
|
|
4293
|
+
Unknown: 1,
|
|
4294
|
+
Completed: 2,
|
|
4295
|
+
Removed: 3,
|
|
4296
|
+
Deleted: 4,
|
|
4297
|
+
} as const;
|
|
4298
|
+
|
|
4227
4299
|
export interface PasswordChangeModel {
|
|
4228
4300
|
/** @nullable */
|
|
4229
4301
|
ExistingPassword?: string | null;
|
|
@@ -4340,6 +4412,8 @@ export type CrmSettingsAllOf = {
|
|
|
4340
4412
|
/** @nullable */
|
|
4341
4413
|
SummaryDisplayFieldConfiguration?: string | null;
|
|
4342
4414
|
RegistrationConfirmationEmailDelaySeconds?: number;
|
|
4415
|
+
/** @nullable */
|
|
4416
|
+
RegistrationCallbackUrlLocations?: string | null;
|
|
4343
4417
|
};
|
|
4344
4418
|
|
|
4345
4419
|
export type CrmSettings = AbstractQcountBean & CrmSettingsAllOf;
|
|
@@ -4622,6 +4696,10 @@ export interface PauseCollectionOptions {
|
|
|
4622
4696
|
ResumesAt?: string | null;
|
|
4623
4697
|
}
|
|
4624
4698
|
|
|
4699
|
+
export interface ExtendSubscriptionOptions {
|
|
4700
|
+
ToDate?: string;
|
|
4701
|
+
}
|
|
4702
|
+
|
|
4625
4703
|
export type BillSettingsAllOf = {
|
|
4626
4704
|
DaysPastDueToSetAccountToCanceling?: number;
|
|
4627
4705
|
IsInvoicePaymentEmailDisabled: boolean;
|
|
@@ -4750,6 +4828,8 @@ export interface SetupIntent {
|
|
|
4750
4828
|
PaymentToken?: string | null;
|
|
4751
4829
|
/** @nullable */
|
|
4752
4830
|
PlanUid?: string | null;
|
|
4831
|
+
/** @nullable */
|
|
4832
|
+
ToltReferralId?: string | null;
|
|
4753
4833
|
}
|
|
4754
4834
|
|
|
4755
4835
|
/**
|
|
@@ -4786,22 +4866,6 @@ export type ActivityNotificationAllOf = {
|
|
|
4786
4866
|
|
|
4787
4867
|
export type ActivityNotification = AbstractQcountBean & ActivityNotificationAllOf;
|
|
4788
4868
|
|
|
4789
|
-
/**
|
|
4790
|
-
* @nullable
|
|
4791
|
-
*/
|
|
4792
|
-
export type ActivityCriteriaActivityType = ActivityType | null;
|
|
4793
|
-
|
|
4794
|
-
export interface ActivityCriteria {
|
|
4795
|
-
/** @nullable */
|
|
4796
|
-
EntityType?: string | null;
|
|
4797
|
-
/** @nullable */
|
|
4798
|
-
EntityUid?: string | null;
|
|
4799
|
-
/** @nullable */
|
|
4800
|
-
ActivityType?: ActivityCriteriaActivityType;
|
|
4801
|
-
/** @nullable */
|
|
4802
|
-
ActivityTypes?: string[] | null;
|
|
4803
|
-
}
|
|
4804
|
-
|
|
4805
4869
|
export type ActivityAllOf = {
|
|
4806
4870
|
/**
|
|
4807
4871
|
* @maxLength 250
|
|
@@ -4821,6 +4885,22 @@ export type ActivityAllOf = {
|
|
|
4821
4885
|
|
|
4822
4886
|
export type Activity = AbstractQcountBean & ActivityAllOf;
|
|
4823
4887
|
|
|
4888
|
+
/**
|
|
4889
|
+
* @nullable
|
|
4890
|
+
*/
|
|
4891
|
+
export type ActivityCriteriaActivityType = ActivityType | null;
|
|
4892
|
+
|
|
4893
|
+
export interface ActivityCriteria {
|
|
4894
|
+
/** @nullable */
|
|
4895
|
+
EntityType?: string | null;
|
|
4896
|
+
/** @nullable */
|
|
4897
|
+
EntityUid?: string | null;
|
|
4898
|
+
/** @nullable */
|
|
4899
|
+
ActivityType?: ActivityCriteriaActivityType;
|
|
4900
|
+
/** @nullable */
|
|
4901
|
+
ActivityTypes?: string[] | null;
|
|
4902
|
+
}
|
|
4903
|
+
|
|
4824
4904
|
export type CaseGetAllCasesParams = {
|
|
4825
4905
|
/**
|
|
4826
4906
|
* Search string
|
|
@@ -4834,6 +4914,77 @@ q?: string | null;
|
|
|
4834
4914
|
tagUid?: string | null;
|
|
4835
4915
|
};
|
|
4836
4916
|
|
|
4917
|
+
export type CaseAddCaseParams = {
|
|
4918
|
+
/**
|
|
4919
|
+
* Indicates whether an automatic message is sent that the ticket has been created.
|
|
4920
|
+
* @nullable
|
|
4921
|
+
*/
|
|
4922
|
+
sendautoresponder?: string | null;
|
|
4923
|
+
};
|
|
4924
|
+
|
|
4925
|
+
/**
|
|
4926
|
+
* @nullable
|
|
4927
|
+
*/
|
|
4928
|
+
export type CaseAddCaseBody = Case | null;
|
|
4929
|
+
|
|
4930
|
+
export type ArticleGetAllArticlesParams = {
|
|
4931
|
+
/**
|
|
4932
|
+
* @nullable
|
|
4933
|
+
*/
|
|
4934
|
+
q?: string | null;
|
|
4935
|
+
};
|
|
4936
|
+
|
|
4937
|
+
/**
|
|
4938
|
+
* @nullable
|
|
4939
|
+
*/
|
|
4940
|
+
export type CampaignAddBroadcastEmailBody = BroadcastCampaign | null;
|
|
4941
|
+
|
|
4942
|
+
/**
|
|
4943
|
+
* @nullable
|
|
4944
|
+
*/
|
|
4945
|
+
export type CampaignUpdateBroadcastEmailBody = BroadcastCampaign | null;
|
|
4946
|
+
|
|
4947
|
+
/**
|
|
4948
|
+
* @nullable
|
|
4949
|
+
*/
|
|
4950
|
+
export type CampaignSendTestCampaignEmailBody = SendTestEmailRequest2 | null;
|
|
4951
|
+
|
|
4952
|
+
export type EmailListGetAllSubscriptionsParams = {
|
|
4953
|
+
/**
|
|
4954
|
+
* Matches person's first name or last name or email address.
|
|
4955
|
+
* @nullable
|
|
4956
|
+
*/
|
|
4957
|
+
q?: string | null;
|
|
4958
|
+
};
|
|
4959
|
+
|
|
4960
|
+
/**
|
|
4961
|
+
* @nullable
|
|
4962
|
+
*/
|
|
4963
|
+
export type EmailListAddSubscriptionBody = EmailListPerson | null;
|
|
4964
|
+
|
|
4965
|
+
export type DealGetAllDealsParams = {
|
|
4966
|
+
/**
|
|
4967
|
+
* Uid of the owner of the deal, or -1 for unassigned deals and -2 for all assigned deals.
|
|
4968
|
+
* @nullable
|
|
4969
|
+
*/
|
|
4970
|
+
ownerUid?: string | null;
|
|
4971
|
+
/**
|
|
4972
|
+
* Match on the deal name, the pipeline stage name, or the account name.
|
|
4973
|
+
* @nullable
|
|
4974
|
+
*/
|
|
4975
|
+
q?: string | null;
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
/**
|
|
4979
|
+
* @nullable
|
|
4980
|
+
*/
|
|
4981
|
+
export type DealAddDealBody = Deal | null;
|
|
4982
|
+
|
|
4983
|
+
/**
|
|
4984
|
+
* @nullable
|
|
4985
|
+
*/
|
|
4986
|
+
export type DealUpdateDealBody = Deal | null;
|
|
4987
|
+
|
|
4837
4988
|
export type AccountGetAllAccountsParams = {
|
|
4838
4989
|
/**
|
|
4839
4990
|
* Accounts are filtered based on whether they are associated with the segment
|
|
@@ -4856,3 +5007,159 @@ isImported?: boolean;
|
|
|
4856
5007
|
*/
|
|
4857
5008
|
export type AccountAddAccountBody = Account | null;
|
|
4858
5009
|
|
|
5010
|
+
/**
|
|
5011
|
+
* @nullable
|
|
5012
|
+
*/
|
|
5013
|
+
export type AccountUpdateAccountBody = Account | null;
|
|
5014
|
+
|
|
5015
|
+
/**
|
|
5016
|
+
* @nullable
|
|
5017
|
+
*/
|
|
5018
|
+
export type AccountAddPersonToAccountBody = PersonAccount | null;
|
|
5019
|
+
|
|
5020
|
+
/**
|
|
5021
|
+
* @nullable
|
|
5022
|
+
*/
|
|
5023
|
+
export type AccountUpdateMembershipBody = PersonAccount | null;
|
|
5024
|
+
|
|
5025
|
+
/**
|
|
5026
|
+
* @nullable
|
|
5027
|
+
*/
|
|
5028
|
+
export type AccountCancelAccountBody = AccountCancelation | null;
|
|
5029
|
+
|
|
5030
|
+
/**
|
|
5031
|
+
* @nullable
|
|
5032
|
+
*/
|
|
5033
|
+
export type AccountExtendTrialBody = ExtendTrialParams | null;
|
|
5034
|
+
|
|
5035
|
+
export type PersonGetAllPeopleParams = {
|
|
5036
|
+
/**
|
|
5037
|
+
* Match on the person's first or last name or email address
|
|
5038
|
+
* @nullable
|
|
5039
|
+
*/
|
|
5040
|
+
q?: string | null;
|
|
5041
|
+
};
|
|
5042
|
+
|
|
5043
|
+
/**
|
|
5044
|
+
* @nullable
|
|
5045
|
+
*/
|
|
5046
|
+
export type PersonAddPersonBody = Person | null;
|
|
5047
|
+
|
|
5048
|
+
/**
|
|
5049
|
+
* @nullable
|
|
5050
|
+
*/
|
|
5051
|
+
export type PersonUpdatePersonBody = Person | null;
|
|
5052
|
+
|
|
5053
|
+
/**
|
|
5054
|
+
* @nullable
|
|
5055
|
+
*/
|
|
5056
|
+
export type PersonSetTemporaryPasswordBody = TemporaryPasswordModel | null;
|
|
5057
|
+
|
|
5058
|
+
/**
|
|
5059
|
+
* @nullable
|
|
5060
|
+
*/
|
|
5061
|
+
export type PersonForgotPasswordBody = Person | null;
|
|
5062
|
+
|
|
5063
|
+
/**
|
|
5064
|
+
* @nullable
|
|
5065
|
+
*/
|
|
5066
|
+
export type DiscountCouponAddDiscountCouponBody = DiscountCoupon | null;
|
|
5067
|
+
|
|
5068
|
+
/**
|
|
5069
|
+
* @nullable
|
|
5070
|
+
*/
|
|
5071
|
+
export type UsageAddUsageBody = Usage | null;
|
|
5072
|
+
|
|
5073
|
+
/**
|
|
5074
|
+
* @nullable
|
|
5075
|
+
*/
|
|
5076
|
+
export type TransactionsAddPaymentTransactionBody = Transaction | null;
|
|
5077
|
+
|
|
5078
|
+
/**
|
|
5079
|
+
* @nullable
|
|
5080
|
+
*/
|
|
5081
|
+
export type PaymentInformationSavePaymentInformationBody = PaymentInformation | null;
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
* @nullable
|
|
5085
|
+
*/
|
|
5086
|
+
export type SubscriptionAddOnAddSubscriptionAddOnBody = SubscriptionAddOn | null;
|
|
5087
|
+
|
|
5088
|
+
/**
|
|
5089
|
+
* @nullable
|
|
5090
|
+
*/
|
|
5091
|
+
export type InvoiceAddInvoiceBody = Invoice | null;
|
|
5092
|
+
|
|
5093
|
+
/**
|
|
5094
|
+
* @nullable
|
|
5095
|
+
*/
|
|
5096
|
+
export type SubscriptionSetSubscriptionUpgradeRequiredBody = Subscription | null;
|
|
5097
|
+
|
|
5098
|
+
export type SubscriptionFirstTimeSubscriptionPreviewParams = {
|
|
5099
|
+
/**
|
|
5100
|
+
* Set to "renewal" to see the renewal invoice. Defaults to "now".
|
|
5101
|
+
* @nullable
|
|
5102
|
+
*/
|
|
5103
|
+
asOf?: string | null;
|
|
5104
|
+
};
|
|
5105
|
+
|
|
5106
|
+
/**
|
|
5107
|
+
* @nullable
|
|
5108
|
+
*/
|
|
5109
|
+
export type SubscriptionFirstTimeSubscriptionPreviewBody = Subscription | null;
|
|
5110
|
+
|
|
5111
|
+
/**
|
|
5112
|
+
* @nullable
|
|
5113
|
+
*/
|
|
5114
|
+
export type SubscriptionFirstTimeSubscriptionBody = Subscription | null;
|
|
5115
|
+
|
|
5116
|
+
export type SubscriptionChangeSubscriptionPreviewParams = {
|
|
5117
|
+
/**
|
|
5118
|
+
* If true, the subscription change takes effect immediately
|
|
5119
|
+
* @nullable
|
|
5120
|
+
*/
|
|
5121
|
+
startImmediately?: string | null;
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5124
|
+
/**
|
|
5125
|
+
* @nullable
|
|
5126
|
+
*/
|
|
5127
|
+
export type SubscriptionChangeSubscriptionPreviewBody = Subscription | null;
|
|
5128
|
+
|
|
5129
|
+
export type SubscriptionChangeSubscriptionParams = {
|
|
5130
|
+
/**
|
|
5131
|
+
* If true, the subscription change takes effect immediately
|
|
5132
|
+
* @nullable
|
|
5133
|
+
*/
|
|
5134
|
+
startImmediately?: string | null;
|
|
5135
|
+
};
|
|
5136
|
+
|
|
5137
|
+
/**
|
|
5138
|
+
* @nullable
|
|
5139
|
+
*/
|
|
5140
|
+
export type SubscriptionChangeSubscriptionBody = Subscription | null;
|
|
5141
|
+
|
|
5142
|
+
export type ActivityGetAllParams = {
|
|
5143
|
+
/**
|
|
5144
|
+
* @nullable
|
|
5145
|
+
*/
|
|
5146
|
+
criteria?: ActivityCriteria[] | null;
|
|
5147
|
+
/**
|
|
5148
|
+
* @nullable
|
|
5149
|
+
*/
|
|
5150
|
+
ActivityType?: string | null;
|
|
5151
|
+
/**
|
|
5152
|
+
* @nullable
|
|
5153
|
+
*/
|
|
5154
|
+
EntityType?: string | null;
|
|
5155
|
+
/**
|
|
5156
|
+
* @nullable
|
|
5157
|
+
*/
|
|
5158
|
+
EntityUid?: string | null;
|
|
5159
|
+
};
|
|
5160
|
+
|
|
5161
|
+
/**
|
|
5162
|
+
* @nullable
|
|
5163
|
+
*/
|
|
5164
|
+
export type ActivityAddCustomActivityBody = Activity | null;
|
|
5165
|
+
|