@outseta/api-client 0.3.44 → 0.3.46
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 +18 -0
- package/package.json +1 -1
- package/src/generated/models/accountAllOf.ts +3 -0
- package/src/generated/models/accountAllOfTenantBillingSystem.ts +7 -0
- package/src/generated/models/accountWebhookEntity.ts +6 -0
- package/src/generated/models/accountWebhookEntityTenantBillingSystem.ts +14 -0
- package/src/generated/models/broadcastPreviewRequest.ts +15 -0
- package/src/generated/models/broadcastPreviewRequestBroadcastCampaign.ts +7 -0
- package/src/generated/models/dealWebhookEntityAccount.ts +6 -0
- package/src/generated/models/dealWebhookEntityAccountTenantBillingSystem.ts +14 -0
- package/src/generated/models/index.ts +9 -0
- package/src/generated/models/personWebhookEntityAccount.ts +6 -0
- package/src/generated/models/personWebhookEntityAccountTenantBillingSystem.ts +14 -0
- package/src/generated/models/registrationCompleteRequest.ts +11 -0
- package/src/generated/models/registrationStateRequest.ts +16 -0
- package/src/generated/models/registrationStateRequestAccount.ts +7 -0
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,
|
|
@@ -2138,6 +2153,7 @@ export {
|
|
|
2138
2153
|
AccountWebhookEntitySubscriptionsItemPlanAccountRegistrationMode,
|
|
2139
2154
|
AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemAddOnBillingAddOnType,
|
|
2140
2155
|
AccountWebhookEntitySubscriptionsItemSubscriptionAddOnsItemBillingRenewalTerm,
|
|
2156
|
+
AccountWebhookEntityTenantBillingSystem,
|
|
2141
2157
|
ActivityType,
|
|
2142
2158
|
AddOnChangeType,
|
|
2143
2159
|
AddOnWebhookEntityBillingAddOnType,
|
|
@@ -2155,6 +2171,7 @@ export {
|
|
|
2155
2171
|
ContentGroupItemMatchMode,
|
|
2156
2172
|
DatabaseType,
|
|
2157
2173
|
DealWebhookEntityAccountAccountStage,
|
|
2174
|
+
DealWebhookEntityAccountTenantBillingSystem,
|
|
2158
2175
|
DealWebhookEntityOwnerOAuthIntegrationStatus,
|
|
2159
2176
|
DeserializationStatus,
|
|
2160
2177
|
EmailListSubscriberStatus,
|
|
@@ -2164,6 +2181,7 @@ export {
|
|
|
2164
2181
|
PaymentsGatewayActivationStatus,
|
|
2165
2182
|
PaymentsMode,
|
|
2166
2183
|
PersonWebhookEntityAccountAccountStage,
|
|
2184
|
+
PersonWebhookEntityAccountTenantBillingSystem,
|
|
2167
2185
|
PersonWebhookEntityEmailListPersonItemEmailListSubscriberStatus,
|
|
2168
2186
|
PersonWebhookEntityOAuthIntegrationStatus,
|
|
2169
2187
|
PersonWebhookEntityPersonAccountItemRole,
|
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
import type { BroadcastPreviewRequestBroadcastCampaign } from './broadcastPreviewRequestBroadcastCampaign';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Request body for POST /api/v1/email/campaigns/broadcasts/preview.
|
|
6
|
+
*/
|
|
7
|
+
export interface BroadcastPreviewRequest {
|
|
8
|
+
/** @nullable */
|
|
9
|
+
BroadcastCampaign?: BroadcastPreviewRequestBroadcastCampaign;
|
|
10
|
+
/**
|
|
11
|
+
* The person to render the broadcast for. When empty, only the tokens are returned.
|
|
12
|
+
* @nullable
|
|
13
|
+
*/
|
|
14
|
+
PersonUid?: string | null;
|
|
15
|
+
}
|
|
@@ -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';
|
|
@@ -257,6 +259,8 @@ export * from './broadcastCampaignAllOf';
|
|
|
257
259
|
export * from './broadcastCampaignAllOfCampaign';
|
|
258
260
|
export * from './broadcastCampaignAllOfMessage';
|
|
259
261
|
export * from './broadcastCampaignStatus';
|
|
262
|
+
export * from './broadcastPreviewRequest';
|
|
263
|
+
export * from './broadcastPreviewRequestBroadcastCampaign';
|
|
260
264
|
export * from './campaign';
|
|
261
265
|
export * from './campaignAddBroadcastEmailBody';
|
|
262
266
|
export * from './campaignAddTagToEntityBody';
|
|
@@ -328,6 +332,7 @@ export * from './dealUpdatedWebhookPayload';
|
|
|
328
332
|
export * from './dealWebhookEntity';
|
|
329
333
|
export * from './dealWebhookEntityAccount';
|
|
330
334
|
export * from './dealWebhookEntityAccountAccountStage';
|
|
335
|
+
export * from './dealWebhookEntityAccountTenantBillingSystem';
|
|
331
336
|
export * from './dealWebhookEntityDealPeopleItem';
|
|
332
337
|
export * from './dealWebhookEntityDealPipelineStage';
|
|
333
338
|
export * from './dealWebhookEntityOwner';
|
|
@@ -523,6 +528,7 @@ export * from './personUpdatedWebhookPayloadAllOf';
|
|
|
523
528
|
export * from './personWebhookEntity';
|
|
524
529
|
export * from './personWebhookEntityAccount';
|
|
525
530
|
export * from './personWebhookEntityAccountAccountStage';
|
|
531
|
+
export * from './personWebhookEntityAccountTenantBillingSystem';
|
|
526
532
|
export * from './personWebhookEntityDealPeopleItem';
|
|
527
533
|
export * from './personWebhookEntityDiscordUser';
|
|
528
534
|
export * from './personWebhookEntityEmailListPersonItem';
|
|
@@ -569,7 +575,10 @@ export * from './qcountConfig';
|
|
|
569
575
|
export * from './qcountConfigAllOf';
|
|
570
576
|
export * from './qcountConfigSettingType';
|
|
571
577
|
export * from './qcountStatus';
|
|
578
|
+
export * from './registrationCompleteRequest';
|
|
572
579
|
export * from './registrationField';
|
|
580
|
+
export * from './registrationStateRequest';
|
|
581
|
+
export * from './registrationStateRequestAccount';
|
|
573
582
|
export * from './resendEmailsRequest';
|
|
574
583
|
export * from './segment';
|
|
575
584
|
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;
|
|
@@ -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
|
+
}
|