@outseta/api-client 0.3.43 → 0.3.45

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 CHANGED
@@ -1658,6 +1658,11 @@ var AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemBillingRenewalTer
1658
1658
  Quarterly: 3,
1659
1659
  OneTime: 4
1660
1660
  };
1661
+ // src/generated/models/accountWebhookEntityTenantBillingSystem.ts
1662
+ var AccountWebhookEntityTenantBillingSystem = {
1663
+ Outseta: 1,
1664
+ Stripe: 2
1665
+ };
1661
1666
  // src/generated/models/activityType.ts
1662
1667
  var ActivityType = {
1663
1668
  Custom: 10,
@@ -1858,6 +1863,11 @@ var DealWebhookEntityAccountAccountStage = {
1858
1863
  Paused: 9,
1859
1864
  Created: 10
1860
1865
  };
1866
+ // src/generated/models/dealWebhookEntityAccountTenantBillingSystem.ts
1867
+ var DealWebhookEntityAccountTenantBillingSystem = {
1868
+ Outseta: 1,
1869
+ Stripe: 2
1870
+ };
1861
1871
  // src/generated/models/dealWebhookEntityOwnerOAuthIntegrationStatus.ts
1862
1872
  var DealWebhookEntityOwnerOAuthIntegrationStatus = {
1863
1873
  None: 0,
@@ -1933,6 +1943,11 @@ var PersonWebhookEntityAccountAccountStage = {
1933
1943
  Paused: 9,
1934
1944
  Created: 10
1935
1945
  };
1946
+ // src/generated/models/personWebhookEntityAccountTenantBillingSystem.ts
1947
+ var PersonWebhookEntityAccountTenantBillingSystem = {
1948
+ Outseta: 1,
1949
+ Stripe: 2
1950
+ };
1936
1951
  // src/generated/models/personWebhookEntityEmailListPersonItemEmailListSubscriberStatus.ts
1937
1952
  var PersonWebhookEntityEmailListPersonItemEmailListSubscriberStatus = {
1938
1953
  Subscribed: 1,
@@ -1989,6 +2004,8 @@ var QcountConfigSettingType = {
1989
2004
  TwoFactorAuthenticationEnabled: 140,
1990
2005
  ForceTwoFactorAuthentication: 142,
1991
2006
  MagicLinkLoginEnabled: 143,
2007
+ GoogleAnalyticsMeasurementId: 170,
2008
+ GoogleAnalyticsApiSecret: 171,
1992
2009
  Stripe_TaxEnabled: 190,
1993
2010
  Stripe_TaxIdTypes: 192,
1994
2011
  Stripe_ApplePayMerchantIdDomainAssociation: 193,
@@ -2136,6 +2153,7 @@ export {
2136
2153
  AccountWebhookEntitySubscriptionsItemPlanAccountRegistrationMode,
2137
2154
  AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType,
2138
2155
  AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm,
2156
+ AccountWebhookEntityTenantBillingSystem,
2139
2157
  ActivityType,
2140
2158
  AddOnChangeType,
2141
2159
  AddOnWebhookEntityBillingAddOnType,
@@ -2153,6 +2171,7 @@ export {
2153
2171
  ContentGroupItemMatchMode,
2154
2172
  DatabaseType,
2155
2173
  DealWebhookEntityAccountAccountStage,
2174
+ DealWebhookEntityAccountTenantBillingSystem,
2156
2175
  DealWebhookEntityOwnerOAuthIntegrationStatus,
2157
2176
  DeserializationStatus,
2158
2177
  EmailListSubscriberStatus,
@@ -2162,6 +2181,7 @@ export {
2162
2181
  PaymentsGatewayActivationStatus,
2163
2182
  PaymentsMode,
2164
2183
  PersonWebhookEntityAccountAccountStage,
2184
+ PersonWebhookEntityAccountTenantBillingSystem,
2165
2185
  PersonWebhookEntityEmailListPersonItemEmailListSubscriberStatus,
2166
2186
  PersonWebhookEntityOAuthIntegrationStatus,
2167
2187
  PersonWebhookEntityPersonAccountItemRole,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.43",
3
+ "version": "0.3.45",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,6 +12,7 @@ import type { Deal } from './deal';
12
12
  import type { AccountTaxId } from './accountTaxId';
13
13
  import type { StripeProduct } from './stripeProduct';
14
14
  import type { AccountAllOfCurrentSubscription } from './accountAllOfCurrentSubscription';
15
+ import type { AccountAllOfTenantBillingSystem } from './accountAllOfTenantBillingSystem';
15
16
  import type { AccountAllOfLatestSubscription } from './accountAllOfLatestSubscription';
16
17
  import type { AccountAllOfPrimaryContact } from './accountAllOfPrimaryContact';
17
18
  import type { AccountAllOfPrimarySubscription } from './accountAllOfPrimarySubscription';
@@ -137,6 +138,8 @@ export type AccountAllOf = {
137
138
  CurrentSubscription?: AccountAllOfCurrentSubscription;
138
139
  /** @nullable */
139
140
  DomainName?: string | null;
141
+ /** @nullable */
142
+ TenantBillingSystem?: AccountAllOfTenantBillingSystem;
140
143
  HasLoggedIn?: boolean;
141
144
  /** @nullable */
142
145
  LatestSubscription?: AccountAllOfLatestSubscription;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ import type { BillingSystem } from './billingSystem';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type AccountAllOfTenantBillingSystem = BillingSystem | null;
@@ -12,6 +12,7 @@ import type { AccountWebhookEntityDealsItem } from './accountWebhookEntityDealsI
12
12
  import type { AccountWebhookEntityTaxIdsItem } from './accountWebhookEntityTaxIdsItem';
13
13
  import type { AccountWebhookEntityCurrentStripeProductInstancesItem } from './accountWebhookEntityCurrentStripeProductInstancesItem';
14
14
  import type { AccountWebhookEntityCurrentSubscription } from './accountWebhookEntityCurrentSubscription';
15
+ import type { AccountWebhookEntityTenantBillingSystem } from './accountWebhookEntityTenantBillingSystem';
15
16
  import type { AccountWebhookEntityLatestSubscription } from './accountWebhookEntityLatestSubscription';
16
17
  import type { AccountWebhookEntityPrimaryContact } from './accountWebhookEntityPrimaryContact';
17
18
  import type { AccountWebhookEntityPrimarySubscription } from './accountWebhookEntityPrimarySubscription';
@@ -154,6 +155,11 @@ export interface AccountWebhookEntity {
154
155
  CurrentSubscription?: AccountWebhookEntityCurrentSubscription;
155
156
  /** @nullable */
156
157
  DomainName?: string | null;
158
+ /**
159
+ * `1` - Outseta, `2` - Stripe
160
+ * @nullable
161
+ */
162
+ TenantBillingSystem?: AccountWebhookEntityTenantBillingSystem;
157
163
  HasLoggedIn?: boolean;
158
164
  /** @nullable */
159
165
  LatestSubscription?: AccountWebhookEntityLatestSubscription;
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Outseta, `2` - Stripe
5
+ * @nullable
6
+ */
7
+ export type AccountWebhookEntityTenantBillingSystem = typeof AccountWebhookEntityTenantBillingSystem[keyof typeof AccountWebhookEntityTenantBillingSystem] | null;
8
+
9
+
10
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
11
+ export const AccountWebhookEntityTenantBillingSystem = {
12
+ Outseta: 1,
13
+ Stripe: 2,
14
+ } as const;
@@ -1,5 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import type { DealWebhookEntityAccountAccountStage } from './dealWebhookEntityAccountAccountStage';
3
+ import type { DealWebhookEntityAccountTenantBillingSystem } from './dealWebhookEntityAccountTenantBillingSystem';
3
4
 
4
5
  /**
5
6
  * @nullable
@@ -117,6 +118,11 @@ export type DealWebhookEntityAccount = {
117
118
  CurrentStripeProducts?: string | null;
118
119
  /** @nullable */
119
120
  DomainName?: string | null;
121
+ /**
122
+ * `1` - Outseta, `2` - Stripe
123
+ * @nullable
124
+ */
125
+ TenantBillingSystem?: DealWebhookEntityAccountTenantBillingSystem;
120
126
  HasLoggedIn?: boolean;
121
127
  LifetimeRevenue?: number;
122
128
  /** @nullable */
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Outseta, `2` - Stripe
5
+ * @nullable
6
+ */
7
+ export type DealWebhookEntityAccountTenantBillingSystem = typeof DealWebhookEntityAccountTenantBillingSystem[keyof typeof DealWebhookEntityAccountTenantBillingSystem] | null;
8
+
9
+
10
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
11
+ export const DealWebhookEntityAccountTenantBillingSystem = {
12
+ Outseta: 1,
13
+ Stripe: 2,
14
+ } as const;
@@ -65,6 +65,7 @@ export * from './accountAllOfPrimaryContact';
65
65
  export * from './accountAllOfPrimaryStripeSubscription';
66
66
  export * from './accountAllOfPrimarySubscription';
67
67
  export * from './accountAllOfStripeCheckoutMetadata';
68
+ export * from './accountAllOfTenantBillingSystem';
68
69
  export * from './accountBillingInformationRemovedWebhookPayload';
69
70
  export * from './accountBillingInformationRequestedWebhookPayload';
70
71
  export * from './accountBillingInformationUpdatedWebhookPayload';
@@ -200,6 +201,7 @@ export * from './accountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemAddO
200
201
  export * from './accountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType';
201
202
  export * from './accountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm';
202
203
  export * from './accountWebhookEntityTaxIdsItem';
204
+ export * from './accountWebhookEntityTenantBillingSystem';
203
205
  export * from './activity';
204
206
  export * from './activityAddCustomActivityBody';
205
207
  export * from './activityAllOf';
@@ -328,6 +330,7 @@ export * from './dealUpdatedWebhookPayload';
328
330
  export * from './dealWebhookEntity';
329
331
  export * from './dealWebhookEntityAccount';
330
332
  export * from './dealWebhookEntityAccountAccountStage';
333
+ export * from './dealWebhookEntityAccountTenantBillingSystem';
331
334
  export * from './dealWebhookEntityDealPeopleItem';
332
335
  export * from './dealWebhookEntityDealPipelineStage';
333
336
  export * from './dealWebhookEntityOwner';
@@ -523,6 +526,7 @@ export * from './personUpdatedWebhookPayloadAllOf';
523
526
  export * from './personWebhookEntity';
524
527
  export * from './personWebhookEntityAccount';
525
528
  export * from './personWebhookEntityAccountAccountStage';
529
+ export * from './personWebhookEntityAccountTenantBillingSystem';
526
530
  export * from './personWebhookEntityDealPeopleItem';
527
531
  export * from './personWebhookEntityDiscordUser';
528
532
  export * from './personWebhookEntityEmailListPersonItem';
@@ -569,7 +573,10 @@ export * from './qcountConfig';
569
573
  export * from './qcountConfigAllOf';
570
574
  export * from './qcountConfigSettingType';
571
575
  export * from './qcountStatus';
576
+ export * from './registrationCompleteRequest';
572
577
  export * from './registrationField';
578
+ export * from './registrationStateRequest';
579
+ export * from './registrationStateRequestAccount';
573
580
  export * from './resendEmailsRequest';
574
581
  export * from './segment';
575
582
  export * from './segmentAddTagToEntityBody';
@@ -1,5 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import type { PersonWebhookEntityAccountAccountStage } from './personWebhookEntityAccountAccountStage';
3
+ import type { PersonWebhookEntityAccountTenantBillingSystem } from './personWebhookEntityAccountTenantBillingSystem';
3
4
 
4
5
  /**
5
6
  * @nullable
@@ -117,6 +118,11 @@ export type PersonWebhookEntityAccount = {
117
118
  CurrentStripeProducts?: string | null;
118
119
  /** @nullable */
119
120
  DomainName?: string | null;
121
+ /**
122
+ * `1` - Outseta, `2` - Stripe
123
+ * @nullable
124
+ */
125
+ TenantBillingSystem?: PersonWebhookEntityAccountTenantBillingSystem;
120
126
  HasLoggedIn?: boolean;
121
127
  LifetimeRevenue?: number;
122
128
  /** @nullable */
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Outseta, `2` - Stripe
5
+ * @nullable
6
+ */
7
+ export type PersonWebhookEntityAccountTenantBillingSystem = typeof PersonWebhookEntityAccountTenantBillingSystem[keyof typeof PersonWebhookEntityAccountTenantBillingSystem] | null;
8
+
9
+
10
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
11
+ export const PersonWebhookEntityAccountTenantBillingSystem = {
12
+ Outseta: 1,
13
+ Stripe: 2,
14
+ } as const;
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  /**
4
- * `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, `119` - Email_BlacklistedInboundEmails, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `140` - TwoFactorAuthenticationEnabled, `142` - ForceTwoFactorAuthentication, `143` - MagicLinkLoginEnabled, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `195` - Stripe_OnlySyncOutsetaCustomers, `196` - Stripe_Checkout_RequireBillingAddress, `197` - Stripe_Checkout_RequireConsentTermsOfService, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `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
4
+ * `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, `119` - Email_BlacklistedInboundEmails, `121` - PasswordPolicy, `123` - CRM_FieldSortingEnabled, `124` - CRM_RegistrationCallbackLocations, `125` - KnowledgeBaseVersion, `126` - Support_SpamThreshold, `127` - Email_RestrictedPhrases, `128` - KnowledgeBaseLanguage, `130` - Billing_System, `131` - Billing_RestrictSubscriptionActions, `140` - TwoFactorAuthenticationEnabled, `142` - ForceTwoFactorAuthentication, `143` - MagicLinkLoginEnabled, `170` - GoogleAnalyticsMeasurementId, `171` - GoogleAnalyticsApiSecret, `190` - Stripe_TaxEnabled, `192` - Stripe_TaxIdTypes, `193` - Stripe_ApplePayMerchantIdDomainAssociation, `194` - Stripe_WebhookSecret, `195` - Stripe_OnlySyncOutsetaCustomers, `196` - Stripe_Checkout_RequireBillingAddress, `197` - Stripe_Checkout_RequireConsentTermsOfService, `200` - Webflow_AccessToken, `201` - Webflow_SyncEnabled, `202` - Webflow_SyncConfiguration, `203` - Webflow_ApiVersion, `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
5
5
  */
6
6
  export type QcountConfigSettingType = typeof QcountConfigSettingType[keyof typeof QcountConfigSettingType];
7
7
 
@@ -33,6 +33,8 @@ export const QcountConfigSettingType = {
33
33
  TwoFactorAuthenticationEnabled: 140,
34
34
  ForceTwoFactorAuthentication: 142,
35
35
  MagicLinkLoginEnabled: 143,
36
+ GoogleAnalyticsMeasurementId: 170,
37
+ GoogleAnalyticsApiSecret: 171,
36
38
  Stripe_TaxEnabled: 190,
37
39
  Stripe_TaxIdTypes: 192,
38
40
  Stripe_ApplePayMerchantIdDomainAssociation: 193,
@@ -0,0 +1,11 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * Request body for POST /api/v1/crm/registrations/complete: the client secret
5
+ of the Stripe intent, from the setup_intent_client_secret or
6
+ payment_intent_client_secret querystring value Stripe returns the user with.
7
+ */
8
+ export interface RegistrationCompleteRequest {
9
+ /** @nullable */
10
+ ClientSecret?: string | null;
11
+ }
@@ -0,0 +1,16 @@
1
+ // @ts-nocheck
2
+ import type { RegistrationStateRequestAccount } from './registrationStateRequestAccount';
3
+
4
+ /**
5
+ * Request body for POST /api/v1/crm/registrations/state: the account to
6
+ register, the client secret of the Stripe intent the user is about to confirm,
7
+ and optionally the primary contact's profile image as a PNG or JPEG data URL.
8
+ */
9
+ export interface RegistrationStateRequest {
10
+ /** @nullable */
11
+ Account?: RegistrationStateRequestAccount;
12
+ /** @nullable */
13
+ ClientSecret?: string | null;
14
+ /** @nullable */
15
+ ProfileImage?: string | null;
16
+ }
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ import type { Account } from './account';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type RegistrationStateRequestAccount = Account | null;