@outseta/api-client 0.3.40 → 0.3.41

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
@@ -1491,6 +1491,11 @@ var AccountWebhookEntityAccountStage = {
1491
1491
  Paused: 9,
1492
1492
  Created: 10
1493
1493
  };
1494
+ // src/generated/models/accountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode.ts
1495
+ var AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = {
1496
+ Individual: 1,
1497
+ Team: 2
1498
+ };
1494
1499
  // src/generated/models/accountWebhookEntityCurrentSubscriptionBillingRenewalTerm.ts
1495
1500
  var AccountWebhookEntityCurrentSubscriptionBillingRenewalTerm = {
1496
1501
  Monthly: 1,
@@ -2092,6 +2097,7 @@ export {
2092
2097
  AccountRegistrationMode,
2093
2098
  AccountStage,
2094
2099
  AccountWebhookEntityAccountStage,
2100
+ AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode,
2095
2101
  AccountWebhookEntityCurrentSubscriptionBillingRenewalTerm,
2096
2102
  AccountWebhookEntityCurrentSubscriptionDiscountCouponSubscriptionsItemDiscountCouponDuration,
2097
2103
  AccountWebhookEntityCurrentSubscriptionLatestInvoiceBillingInvoiceStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.40",
3
+ "version": "0.3.41",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,6 +10,7 @@ import type { StripeSubscription } from './stripeSubscription';
10
10
  import type { Subscription } from './subscription';
11
11
  import type { Deal } from './deal';
12
12
  import type { AccountTaxId } from './accountTaxId';
13
+ import type { StripeProduct } from './stripeProduct';
13
14
  import type { AccountAllOfCurrentSubscription } from './accountAllOfCurrentSubscription';
14
15
  import type { AccountAllOfLatestSubscription } from './accountAllOfLatestSubscription';
15
16
  import type { AccountAllOfPrimaryContact } from './accountAllOfPrimaryContact';
@@ -130,6 +131,8 @@ export type AccountAllOf = {
130
131
  /** @nullable */
131
132
  CurrentStripeProducts?: string | null;
132
133
  /** @nullable */
134
+ CurrentStripeProductInstances?: StripeProduct[] | null;
135
+ /** @nullable */
133
136
  CurrentSubscription?: AccountAllOfCurrentSubscription;
134
137
  /** @nullable */
135
138
  DomainName?: string | null;
@@ -10,6 +10,7 @@ import type { AccountWebhookEntityStripeSubscriptionsItem } from './accountWebho
10
10
  import type { AccountWebhookEntitySubscriptionsItem } from './accountWebhookEntitySubscriptionsItem';
11
11
  import type { AccountWebhookEntityDealsItem } from './accountWebhookEntityDealsItem';
12
12
  import type { AccountWebhookEntityTaxIdsItem } from './accountWebhookEntityTaxIdsItem';
13
+ import type { AccountWebhookEntityCurrentStripeProductInstancesItem } from './accountWebhookEntityCurrentStripeProductInstancesItem';
13
14
  import type { AccountWebhookEntityCurrentSubscription } from './accountWebhookEntityCurrentSubscription';
14
15
  import type { AccountWebhookEntityLatestSubscription } from './accountWebhookEntityLatestSubscription';
15
16
  import type { AccountWebhookEntityPrimaryContact } from './accountWebhookEntityPrimaryContact';
@@ -148,6 +149,8 @@ export interface AccountWebhookEntity {
148
149
  /** @nullable */
149
150
  CurrentStripeProducts?: string | null;
150
151
  /** @nullable */
152
+ CurrentStripeProductInstances?: AccountWebhookEntityCurrentStripeProductInstancesItem[] | null;
153
+ /** @nullable */
151
154
  CurrentSubscription?: AccountWebhookEntityCurrentSubscription;
152
155
  /** @nullable */
153
156
  DomainName?: string | null;
@@ -0,0 +1,85 @@
1
+ // @ts-nocheck
2
+ import type { AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode } from './accountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode';
3
+
4
+ export type AccountWebhookEntityCurrentStripeProductInstancesItem = {
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
+ /**
17
+ * @maxLength 255
18
+ * @nullable
19
+ */
20
+ StripeId?: string | null;
21
+ IsLivemode?: boolean;
22
+ /**
23
+ * @maxLength 250
24
+ * @nullable
25
+ */
26
+ Name?: string | null;
27
+ /**
28
+ * @maxLength 255
29
+ * @nullable
30
+ */
31
+ DefaultPriceId?: string | null;
32
+ /** @nullable */
33
+ Description?: string | null;
34
+ IsActive?: boolean;
35
+ /**
36
+ * @maxLength 36
37
+ * @nullable
38
+ */
39
+ TaxCodeId?: string | null;
40
+ /**
41
+ * @maxLength 250
42
+ * @nullable
43
+ */
44
+ UnitLabel?: string | null;
45
+ /** `1` - Individual, `2` - Team */
46
+ AccountRegistrationMode?: AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode;
47
+ ExpiresAfterMonths?: number;
48
+ /** @nullable */
49
+ ExpirationDate?: string | null;
50
+ IsPerUser?: boolean;
51
+ IsQuantityEditable?: boolean;
52
+ /** @nullable */
53
+ MaximumPeople?: number | null;
54
+ /**
55
+ * @maxLength 8
56
+ * @nullable
57
+ */
58
+ MigratedAddOnUid?: string | null;
59
+ /**
60
+ * @maxLength 8
61
+ * @nullable
62
+ */
63
+ MigratedPlanUid?: string | null;
64
+ /** @nullable */
65
+ MinimumQuantity?: number | null;
66
+ /**
67
+ * @maxLength 250
68
+ * @nullable
69
+ */
70
+ PostLoginPath?: string | null;
71
+ /**
72
+ * @maxLength 500
73
+ * @nullable
74
+ */
75
+ PostPurchaseUrl?: string | null;
76
+ RequirePaymentInformation?: boolean;
77
+ TrialPeriodDays?: number;
78
+ /** @nullable */
79
+ TrialUntilDate?: string | null;
80
+ CanDelete?: boolean;
81
+ NumberOfPurchases?: number;
82
+ NumberOfSubscriptions?: number;
83
+ /** @nullable */
84
+ Quantity?: number | null;
85
+ };
@@ -0,0 +1,13 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Individual, `2` - Team
5
+ */
6
+ export type AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = typeof AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode[keyof typeof AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const AccountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode = {
11
+ Individual: 1,
12
+ Team: 2,
13
+ } as const;
@@ -63,6 +63,5 @@ export type CrmSettingsAllOf = {
63
63
  RegistrationConfirmationEmailDelaySeconds?: number;
64
64
  /** @nullable */
65
65
  RegistrationCallbackUrlLocations?: string | null;
66
- TwoFactorAuthenticationAvailable?: boolean;
67
66
  MagicLinkLoginOnly?: boolean;
68
67
  };
@@ -133,6 +133,8 @@ export * from './accountUpdatedWebhookPayload';
133
133
  export * from './accountWebhookEntity';
134
134
  export * from './accountWebhookEntityAccountStage';
135
135
  export * from './accountWebhookEntityBillingAddress';
136
+ export * from './accountWebhookEntityCurrentStripeProductInstancesItem';
137
+ export * from './accountWebhookEntityCurrentStripeProductInstancesItemAccountRegistrationMode';
136
138
  export * from './accountWebhookEntityCurrentSubscription';
137
139
  export * from './accountWebhookEntityCurrentSubscriptionBillingRenewalTerm';
138
140
  export * from './accountWebhookEntityCurrentSubscriptionDiscountCouponSubscriptionsItem';
@@ -73,6 +73,8 @@ export type StripeProductAllOf = {
73
73
  NumberOfPurchases?: number;
74
74
  NumberOfSubscriptions?: number;
75
75
  /** @nullable */
76
+ Quantity?: number | null;
77
+ /** @nullable */
76
78
  StripeProductFamily?: StripeProductAllOfStripeProductFamily;
77
79
  [key: string]: unknown | null;
78
80
  };