@outseta/api-client 0.3.35 → 0.3.36

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
@@ -1515,6 +1515,7 @@ var ActivityType = {
1515
1515
  AccountSubscriptionCancellationRequested: 119,
1516
1516
  AccountBillingInvoiceDeleted: 120,
1517
1517
  AccountPersonRoleUpdated: 121,
1518
+ AccountProductsChanged: 122,
1518
1519
  PersonCreated: 200,
1519
1520
  PersonUpdated: 201,
1520
1521
  PersonDeleted: 202,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -0,0 +1,8 @@
1
+ // @ts-nocheck
2
+
3
+ export interface AccountProductsChangedActivityData {
4
+ /** @nullable */
5
+ AddedProductUids?: string[] | null;
6
+ /** @nullable */
7
+ RemovedProductUids?: string[] | null;
8
+ }
@@ -0,0 +1,5 @@
1
+ // @ts-nocheck
2
+ import type { AccountWebhookEntity } from './accountWebhookEntity';
3
+ import type { AccountProductsChangedWebhookPayloadAllOf } from './accountProductsChangedWebhookPayloadAllOf';
4
+
5
+ export type AccountProductsChangedWebhookPayload = AccountWebhookEntity & AccountProductsChangedWebhookPayloadAllOf;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ import type { AccountProductsChangedActivityData } from './accountProductsChangedActivityData';
3
+
4
+ export type AccountProductsChangedWebhookPayloadAllOf = {
5
+ ActivityEventData?: AccountProductsChangedActivityData;
6
+ };
@@ -1,7 +1,7 @@
1
1
  // @ts-nocheck
2
2
 
3
3
  /**
4
- * `10` - Custom, `50` - Note, `51` - Email, `52` - PhoneCall, `53` - Meeting, `54` - Chat, `100` - AccountCreated, `101` - AccountUpdated, `102` - AccountAddPerson, `103` - AccountStageUpdated, `104` - AccountDeleted, `105` - AccountBillingInformationUpdated, `106` - AccountSubscriptionPlanUpdated, `107` - AccountSubscriptionPaymentCollected, `108` - AccountSubscriptionPaymentDeclined, `109` - AccountBillingInformationRequested, `110` - AccountBillingInvoiceEmailSent, `111` - AccountRemovePerson, `112` - AccountPaidSubscriptionCreated, `113` - AccountBillingInformationRemoved, `114` - AccountPrimaryPersonUpdated, `115` - AccountBillingInvoiceCreated, `116` - AccountSubscriptionStarted, `117` - AccountSubscriptionRenewalExtended, `118` - AccountSubscriptionAddOnsChanged, `119` - AccountSubscriptionCancellationRequested, `120` - AccountBillingInvoiceDeleted, `121` - AccountPersonRoleUpdated, `200` - PersonCreated, `201` - PersonUpdated, `202` - PersonDeleted, `203` - PersonLogin, `204` - PersonListSubscribed, `205` - PersonListUnsubscribed, `206` - PersonSegmentAdded, `207` - PersonSegmentRemoved, `208` - PersonEmailOpened, `209` - PersonEmailClicked, `210` - PersonEmailBounce, `211` - PersonEmailSpam, `212` - PersonSupportTicketCreated, `213` - PersonSupportTicketUpdated, `214` - PersonLeadFormSubmitted, `215` - PersonListConfirmed, `216` - PersonEmailSubscribed, `217` - PersonEmailUnsubscribed, `218` - PersonTemporaryPasswordSet, `219` - PersonSupportTicketClosed, `220` - PersonTwoFactorRecoveryCodesRegenerated, `300` - DealCreated, `301` - DealUpdated, `304` - DealDeleted, `305` - DealDueDate, `306` - TaskCreated, `307` - TaskUpdated, `400` - PlanCreated, `401` - PlanUpdated, `402` - AddOnCreated, `403` - AddOnUpdated, `500` - DiscordUserLinked, `501` - DiscordUserAddedToServer, `502` - DiscordUserRolesUpdated, `503` - DiscordUserRemovedFromServer
4
+ * `10` - Custom, `50` - Note, `51` - Email, `52` - PhoneCall, `53` - Meeting, `54` - Chat, `100` - AccountCreated, `101` - AccountUpdated, `102` - AccountAddPerson, `103` - AccountStageUpdated, `104` - AccountDeleted, `105` - AccountBillingInformationUpdated, `106` - AccountSubscriptionPlanUpdated, `107` - AccountSubscriptionPaymentCollected, `108` - AccountSubscriptionPaymentDeclined, `109` - AccountBillingInformationRequested, `110` - AccountBillingInvoiceEmailSent, `111` - AccountRemovePerson, `112` - AccountPaidSubscriptionCreated, `113` - AccountBillingInformationRemoved, `114` - AccountPrimaryPersonUpdated, `115` - AccountBillingInvoiceCreated, `116` - AccountSubscriptionStarted, `117` - AccountSubscriptionRenewalExtended, `118` - AccountSubscriptionAddOnsChanged, `119` - AccountSubscriptionCancellationRequested, `120` - AccountBillingInvoiceDeleted, `121` - AccountPersonRoleUpdated, `122` - AccountProductsChanged, `200` - PersonCreated, `201` - PersonUpdated, `202` - PersonDeleted, `203` - PersonLogin, `204` - PersonListSubscribed, `205` - PersonListUnsubscribed, `206` - PersonSegmentAdded, `207` - PersonSegmentRemoved, `208` - PersonEmailOpened, `209` - PersonEmailClicked, `210` - PersonEmailBounce, `211` - PersonEmailSpam, `212` - PersonSupportTicketCreated, `213` - PersonSupportTicketUpdated, `214` - PersonLeadFormSubmitted, `215` - PersonListConfirmed, `216` - PersonEmailSubscribed, `217` - PersonEmailUnsubscribed, `218` - PersonTemporaryPasswordSet, `219` - PersonSupportTicketClosed, `220` - PersonTwoFactorRecoveryCodesRegenerated, `300` - DealCreated, `301` - DealUpdated, `304` - DealDeleted, `305` - DealDueDate, `306` - TaskCreated, `307` - TaskUpdated, `400` - PlanCreated, `401` - PlanUpdated, `402` - AddOnCreated, `403` - AddOnUpdated, `500` - DiscordUserLinked, `501` - DiscordUserAddedToServer, `502` - DiscordUserRolesUpdated, `503` - DiscordUserRemovedFromServer
5
5
  */
6
6
  export type ActivityType = typeof ActivityType[keyof typeof ActivityType];
7
7
 
@@ -36,6 +36,7 @@ export const ActivityType = {
36
36
  AccountSubscriptionCancellationRequested: 119,
37
37
  AccountBillingInvoiceDeleted: 120,
38
38
  AccountPersonRoleUpdated: 121,
39
+ AccountProductsChanged: 122,
39
40
  PersonCreated: 200,
40
41
  PersonUpdated: 201,
41
42
  PersonDeleted: 202,
@@ -1,6 +1,7 @@
1
1
  // @ts-nocheck
2
2
  import type { DiscordRoleAllOfDiscordServer } from './discordRoleAllOfDiscordServer';
3
3
  import type { DiscordRolePlan } from './discordRolePlan';
4
+ import type { DiscordRoleProduct } from './discordRoleProduct';
4
5
 
5
6
  export type DiscordRoleAllOf = {
6
7
  /**
@@ -28,4 +29,6 @@ export type DiscordRoleAllOf = {
28
29
  DiscordServer?: DiscordRoleAllOfDiscordServer;
29
30
  /** @nullable */
30
31
  DiscordRolePlans?: DiscordRolePlan[] | null;
32
+ /** @nullable */
33
+ DiscordRoleProducts?: DiscordRoleProduct[] | null;
31
34
  };
@@ -0,0 +1,5 @@
1
+ // @ts-nocheck
2
+ import type { AbstractQcountBean } from './abstractQcountBean';
3
+ import type { DiscordRoleProductAllOf } from './discordRoleProductAllOf';
4
+
5
+ export type DiscordRoleProduct = AbstractQcountBean & DiscordRoleProductAllOf;
@@ -0,0 +1,10 @@
1
+ // @ts-nocheck
2
+ import type { DiscordRoleProductAllOfDiscordRole } from './discordRoleProductAllOfDiscordRole';
3
+ import type { DiscordRoleProductAllOfStripeProduct } from './discordRoleProductAllOfStripeProduct';
4
+
5
+ export type DiscordRoleProductAllOf = {
6
+ /** @nullable */
7
+ DiscordRole?: DiscordRoleProductAllOfDiscordRole;
8
+ /** @nullable */
9
+ StripeProduct?: DiscordRoleProductAllOfStripeProduct;
10
+ };
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ import type { DiscordRole } from './discordRole';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type DiscordRoleProductAllOfDiscordRole = DiscordRole | null;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ import type { StripeProduct } from './stripeProduct';
3
+
4
+ /**
5
+ * @nullable
6
+ */
7
+ export type DiscordRoleProductAllOfStripeProduct = StripeProduct | null;
@@ -92,6 +92,9 @@ export * from './accountPersonRoleUpdatedWebhookPayloadAllOf';
92
92
  export * from './accountPrimaryPersonUpdatedActivityData';
93
93
  export * from './accountPrimaryPersonUpdatedWebhookPayload';
94
94
  export * from './accountPrimaryPersonUpdatedWebhookPayloadAllOf';
95
+ export * from './accountProductsChangedActivityData';
96
+ export * from './accountProductsChangedWebhookPayload';
97
+ export * from './accountProductsChangedWebhookPayloadAllOf';
95
98
  export * from './accountRegistrationMode';
96
99
  export * from './accountRemovePersonActivityData';
97
100
  export * from './accountRemovePersonWebhookPayload';
@@ -330,6 +333,10 @@ export * from './discordRolePlan';
330
333
  export * from './discordRolePlanAllOf';
331
334
  export * from './discordRolePlanAllOfDiscordRole';
332
335
  export * from './discordRolePlanAllOfPlan';
336
+ export * from './discordRoleProduct';
337
+ export * from './discordRoleProductAllOf';
338
+ export * from './discordRoleProductAllOfDiscordRole';
339
+ export * from './discordRoleProductAllOfStripeProduct';
333
340
  export * from './discordServer';
334
341
  export * from './discordServerAllOf';
335
342
  export * from './discordUser';