@outseta/api-client 0.3.36 → 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
@@ -1922,6 +1922,12 @@ var TaskStatus = {
1922
1922
  InProgress: 2,
1923
1923
  Done: 3
1924
1924
  };
1925
+ // src/generated/models/taskWebhookEventDataStatus.ts
1926
+ var TaskWebhookEventDataStatus = {
1927
+ Pending: 1,
1928
+ InProgress: 2,
1929
+ Done: 3
1930
+ };
1925
1931
  // src/generated/models/teamRole.ts
1926
1932
  var TeamRole = {
1927
1933
  Admin: 1,
@@ -1996,6 +2002,7 @@ export {
1996
2002
  SupportCaseStatus,
1997
2003
  TagColor,
1998
2004
  TaskStatus,
2005
+ TaskWebhookEventDataStatus,
1999
2006
  TeamRole,
2000
2007
  accountAddAccount,
2001
2008
  accountAddPersonToAccount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/api-client",
3
- "version": "0.3.36",
3
+ "version": "0.3.37",
4
4
  "description": "Generated API client for the Outseta REST API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -717,9 +717,17 @@ export * from './taskAllOfAssignee';
717
717
  export * from './taskAllOfDeal';
718
718
  export * from './taskAllOfPerson';
719
719
  export * from './taskAllOfType';
720
+ export * from './taskCreatedWebhookPayload';
721
+ export * from './taskCreatedWebhookPayloadAllOf';
722
+ export * from './taskCreatedWebhookPayloadAllOfTwo';
720
723
  export * from './taskStatus';
721
724
  export * from './taskType';
722
725
  export * from './taskTypeAllOf';
726
+ export * from './taskUpdatedWebhookPayload';
727
+ export * from './taskUpdatedWebhookPayloadAllOf';
728
+ export * from './taskUpdatedWebhookPayloadAllOfTwo';
729
+ export * from './taskWebhookEventData';
730
+ export * from './taskWebhookEventDataStatus';
723
731
  export * from './taxRate';
724
732
  export * from './taxRateAllOf';
725
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;