@outseta/api-client 0.3.35 → 0.3.37

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,
@@ -1921,6 +1922,12 @@ var TaskStatus = {
1921
1922
  InProgress: 2,
1922
1923
  Done: 3
1923
1924
  };
1925
+ // src/generated/models/taskWebhookEventDataStatus.ts
1926
+ var TaskWebhookEventDataStatus = {
1927
+ Pending: 1,
1928
+ InProgress: 2,
1929
+ Done: 3
1930
+ };
1924
1931
  // src/generated/models/teamRole.ts
1925
1932
  var TeamRole = {
1926
1933
  Admin: 1,
@@ -1995,6 +2002,7 @@ export {
1995
2002
  SupportCaseStatus,
1996
2003
  TagColor,
1997
2004
  TaskStatus,
2005
+ TaskWebhookEventDataStatus,
1998
2006
  TeamRole,
1999
2007
  accountAddAccount,
2000
2008
  accountAddPersonToAccount,
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.37",
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';
@@ -710,9 +717,17 @@ export * from './taskAllOfAssignee';
710
717
  export * from './taskAllOfDeal';
711
718
  export * from './taskAllOfPerson';
712
719
  export * from './taskAllOfType';
720
+ export * from './taskCreatedWebhookPayload';
721
+ export * from './taskCreatedWebhookPayloadAllOf';
722
+ export * from './taskCreatedWebhookPayloadAllOfTwo';
713
723
  export * from './taskStatus';
714
724
  export * from './taskType';
715
725
  export * from './taskTypeAllOf';
726
+ export * from './taskUpdatedWebhookPayload';
727
+ export * from './taskUpdatedWebhookPayloadAllOf';
728
+ export * from './taskUpdatedWebhookPayloadAllOfTwo';
729
+ export * from './taskWebhookEventData';
730
+ export * from './taskWebhookEventDataStatus';
716
731
  export * from './taxRate';
717
732
  export * from './taxRateAllOf';
718
733
  export * from './teamRole';
@@ -0,0 +1,5 @@
1
+ // @ts-nocheck
2
+ import type { TaskCreatedWebhookPayloadAllOf } from './taskCreatedWebhookPayloadAllOf';
3
+ import type { TaskCreatedWebhookPayloadAllOfTwo } from './taskCreatedWebhookPayloadAllOfTwo';
4
+
5
+ export type TaskCreatedWebhookPayload = TaskCreatedWebhookPayloadAllOf & TaskCreatedWebhookPayloadAllOfTwo;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ import type { DealWebhookEntity } from './dealWebhookEntity';
3
+ import type { PersonWebhookEntity } from './personWebhookEntity';
4
+ import type { AccountWebhookEntity } from './accountWebhookEntity';
5
+
6
+ export type TaskCreatedWebhookPayloadAllOf = DealWebhookEntity | PersonWebhookEntity | AccountWebhookEntity;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ import type { TaskWebhookEventData } from './taskWebhookEventData';
3
+
4
+ export type TaskCreatedWebhookPayloadAllOfTwo = {
5
+ ActivityEventData?: TaskWebhookEventData;
6
+ };
@@ -0,0 +1,5 @@
1
+ // @ts-nocheck
2
+ import type { TaskUpdatedWebhookPayloadAllOf } from './taskUpdatedWebhookPayloadAllOf';
3
+ import type { TaskUpdatedWebhookPayloadAllOfTwo } from './taskUpdatedWebhookPayloadAllOfTwo';
4
+
5
+ export type TaskUpdatedWebhookPayload = TaskUpdatedWebhookPayloadAllOf & TaskUpdatedWebhookPayloadAllOfTwo;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ import type { DealWebhookEntity } from './dealWebhookEntity';
3
+ import type { PersonWebhookEntity } from './personWebhookEntity';
4
+ import type { AccountWebhookEntity } from './accountWebhookEntity';
5
+
6
+ export type TaskUpdatedWebhookPayloadAllOf = DealWebhookEntity | PersonWebhookEntity | AccountWebhookEntity;
@@ -0,0 +1,6 @@
1
+ // @ts-nocheck
2
+ import type { TaskWebhookEventData } from './taskWebhookEventData';
3
+
4
+ export type TaskUpdatedWebhookPayloadAllOfTwo = {
5
+ ActivityEventData?: TaskWebhookEventData;
6
+ };
@@ -0,0 +1,33 @@
1
+ // @ts-nocheck
2
+ import type { TaskWebhookEventDataStatus } from './taskWebhookEventDataStatus';
3
+
4
+ export interface TaskWebhookEventData {
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 250
18
+ * @nullable
19
+ */
20
+ Title?: string | null;
21
+ /** @nullable */
22
+ DueDate?: string | null;
23
+ /**
24
+ * @maxLength 5000
25
+ * @nullable
26
+ */
27
+ Notes?: string | null;
28
+ /** `1` - Pending, `2` - InProgress, `3` - Done */
29
+ Status?: TaskWebhookEventDataStatus;
30
+ CreatedDateTime?: string;
31
+ /** @nullable */
32
+ CompletedDateTime?: string | null;
33
+ }
@@ -0,0 +1,14 @@
1
+ // @ts-nocheck
2
+
3
+ /**
4
+ * `1` - Pending, `2` - InProgress, `3` - Done
5
+ */
6
+ export type TaskWebhookEventDataStatus = typeof TaskWebhookEventDataStatus[keyof typeof TaskWebhookEventDataStatus];
7
+
8
+
9
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
10
+ export const TaskWebhookEventDataStatus = {
11
+ Pending: 1,
12
+ InProgress: 2,
13
+ Done: 3,
14
+ } as const;