cv-contracts 2.0.13 → 3.0.4
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/interfaces/v5/WorkspaceV5.d.ts +1 -0
- package/dist/interfaces/webhook/SubscribedUserSettings.d.ts +5 -0
- package/dist/interfaces/webhook/WebhookBasicUser.d.ts +5 -0
- package/dist/interfaces/webhook/WebhookChannel.d.ts +25 -0
- package/dist/interfaces/webhook/WebhookMessage.d.ts +29 -1
- package/dist/interfaces/webhook/WebhookWorkspace.d.ts +30 -0
- package/dist/schemas/v5/WorkspaceV5Schema.d.ts +4 -0
- package/dist/schemas/v5/WorkspaceV5Schema.js +4 -0
- package/dist/schemas/v5/WorkspaceV5Schema.js.map +1 -1
- package/dist/schemas/webhook/AIPromptResponseSchema.d.ts +35 -0
- package/dist/schemas/webhook/AIPromptResponseSchema.js +56 -1
- package/dist/schemas/webhook/AIPromptResponseSchema.js.map +1 -1
- package/dist/schemas/webhook/SubscribedUserSettingsSchema.d.ts +5 -0
- package/dist/schemas/webhook/SubscribedUserSettingsSchema.js +6 -1
- package/dist/schemas/webhook/SubscribedUserSettingsSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookBasicUserSchema.d.ts +5 -0
- package/dist/schemas/webhook/WebhookBasicUserSchema.js +6 -1
- package/dist/schemas/webhook/WebhookBasicUserSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookChannelSchema.d.ts +25 -0
- package/dist/schemas/webhook/WebhookChannelSchema.js +29 -0
- package/dist/schemas/webhook/WebhookChannelSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.d.ts +24 -0
- package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.js +29 -1
- package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookChannelUserLeftSchema.d.ts +24 -0
- package/dist/schemas/webhook/WebhookChannelUserLeftSchema.js +29 -1
- package/dist/schemas/webhook/WebhookChannelUserLeftSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.d.ts +24 -0
- package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.js +29 -1
- package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.d.ts +24 -0
- package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.js +29 -1
- package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookMessageSchema.d.ts +44 -1
- package/dist/schemas/webhook/WebhookMessageSchema.js +55 -0
- package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookPayloadSchema.d.ts +4 -0
- package/dist/schemas/webhook/WebhookPayloadSchema.js +5 -1
- package/dist/schemas/webhook/WebhookPayloadSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.d.ts +44 -0
- package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.js +53 -0
- package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceSchema.d.ts +30 -0
- package/dist/schemas/webhook/WebhookWorkspaceSchema.js +35 -0
- package/dist/schemas/webhook/WebhookWorkspaceSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.d.ts +28 -0
- package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.js +34 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.d.ts +28 -0
- package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.js +34 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.d.ts +28 -0
- package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.js +34 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.js.map +1 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.d.ts +28 -0
- package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.js +34 -1
- package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.js.map +1 -1
- package/package.json +5 -1
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export interface SubscribedUserSettings {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated May be removed after 2026-11-01. Use `user_id` instead.
|
|
4
|
+
*/
|
|
2
5
|
userId: string;
|
|
6
|
+
/** Preferred user identifier. Same type and optionality as `userId`. */
|
|
7
|
+
user_id: string;
|
|
3
8
|
defaultLanguage?: string;
|
|
4
9
|
timezone?: number;
|
|
5
10
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export interface WebhookBasicUser {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated May be removed after 2026-11-01. Use `id` instead.
|
|
4
|
+
*/
|
|
2
5
|
user_guid: string;
|
|
6
|
+
/** Preferred user identifier. Same type and optionality as `user_guid`. */
|
|
7
|
+
id: string;
|
|
3
8
|
first_name: string;
|
|
4
9
|
last_name: string;
|
|
5
10
|
}
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
import { WebhookAsyncMeetingStats } from './WebhookAsyncMeetingStats';
|
|
2
2
|
import { ChannelType, ChannelVisibility } from '../../enums/webhook';
|
|
3
3
|
export interface WebhookChannel {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated May be removed after 2026-11-01. Use `id` instead.
|
|
6
|
+
*/
|
|
4
7
|
channel_guid: string;
|
|
8
|
+
/** Preferred channel identifier. Same type and optionality as `channel_guid`. */
|
|
9
|
+
id: string;
|
|
5
10
|
self_link: string;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated May be removed after 2026-11-01. Use `name` instead.
|
|
13
|
+
*/
|
|
6
14
|
channel_name: string;
|
|
15
|
+
/** Preferred channel display name. Same type and optionality as `channel_name`. */
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated May be removed after 2026-11-01. Use `description` instead.
|
|
19
|
+
*/
|
|
7
20
|
channel_description?: string | null;
|
|
21
|
+
/** Preferred channel description. Same type and optionality as `channel_description`. */
|
|
22
|
+
description?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated May be removed after 2026-11-01. Use `workspace_id` instead.
|
|
25
|
+
*/
|
|
8
26
|
workspace_guid: string;
|
|
27
|
+
/** Preferred workspace identifier. Same type and optionality as `workspace_guid`. */
|
|
28
|
+
workspace_id: string;
|
|
9
29
|
workspace_name: string;
|
|
10
30
|
workspace_image_url?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated May be removed after 2026-11-01. Use `creator_id` instead.
|
|
33
|
+
*/
|
|
11
34
|
owner_guid: string;
|
|
35
|
+
/** Preferred channel creator identifier. Same type and optionality as `owner_guid`. */
|
|
36
|
+
creator_id: string;
|
|
12
37
|
type: ChannelType;
|
|
13
38
|
visibility: ChannelVisibility;
|
|
14
39
|
total_messages: number;
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import { MessageStatus } from '../../enums';
|
|
1
|
+
import { MessageKind, MessageStatus } from '../../enums';
|
|
2
2
|
import { MessageType } from '../../enums/MessageType';
|
|
3
3
|
import { Attachment } from '../Attachment';
|
|
4
4
|
export interface WebhookMessage {
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated May be removed after 2026-11-01. Use `id` instead.
|
|
7
|
+
*/
|
|
5
8
|
message_guid: string;
|
|
9
|
+
/** Preferred message identifier. Same type and optionality as `message_guid`. */
|
|
10
|
+
id: string;
|
|
6
11
|
self_link: string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated May be removed after 2026-11-01. Use `creator_id` instead.
|
|
14
|
+
*/
|
|
7
15
|
creator_guid: string;
|
|
16
|
+
/** Preferred creator user identifier. Same type and optionality as `creator_guid`. */
|
|
17
|
+
creator_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated May be removed after 2026-11-01. Use `channel_id` instead.
|
|
20
|
+
*/
|
|
8
21
|
channel_guid?: string | null;
|
|
22
|
+
/** Preferred channel identifier. Same type and optionality as `channel_guid`. */
|
|
23
|
+
channel_id?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated May be removed after 2026-11-01. Use `workspace_id` instead.
|
|
26
|
+
*/
|
|
9
27
|
workspace_guid?: string | null;
|
|
28
|
+
/** Preferred workspace identifier. Same type and optionality as `workspace_guid`. */
|
|
29
|
+
workspace_id?: string | null;
|
|
10
30
|
created_at: string;
|
|
11
31
|
last_updated_at: string;
|
|
12
32
|
deleted_at?: string | null;
|
|
@@ -18,9 +38,17 @@ export interface WebhookMessage {
|
|
|
18
38
|
has_ai_summary?: boolean;
|
|
19
39
|
waveform_url?: string | null;
|
|
20
40
|
reply_count: number;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated May be removed after 2026-11-01. Use `parent_message_id` instead.
|
|
43
|
+
*/
|
|
21
44
|
parent_message_guid?: string | null;
|
|
45
|
+
/** Preferred parent message identifier. Same type and optionality as `parent_message_guid`. */
|
|
46
|
+
parent_message_id?: string | null;
|
|
22
47
|
language?: string | null;
|
|
23
48
|
status: MessageStatus;
|
|
24
49
|
attachments?: Attachment[];
|
|
25
50
|
type: MessageType;
|
|
51
|
+
kind?: MessageKind | null;
|
|
52
|
+
share_link_id?: string | null;
|
|
53
|
+
folder_id?: string | null;
|
|
26
54
|
}
|
|
@@ -1,11 +1,41 @@
|
|
|
1
1
|
export interface WebhookWorkspace {
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated May be removed after 2026-11-01. Use `id` instead.
|
|
4
|
+
*/
|
|
2
5
|
workspace_guid: string;
|
|
6
|
+
/** Preferred workspace identifier. Same type and optionality as `workspace_guid`. */
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated May be removed after 2026-11-01. Use `name` instead.
|
|
10
|
+
*/
|
|
3
11
|
workspace_name: string;
|
|
12
|
+
/** Preferred workspace display name. Same type and optionality as `workspace_name`. */
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated May be removed after 2026-11-01. Use `description` instead.
|
|
16
|
+
*/
|
|
4
17
|
workspace_description?: string | null;
|
|
18
|
+
/** Preferred workspace description. Same type and optionality as `workspace_description`. */
|
|
19
|
+
description?: string | null;
|
|
5
20
|
image_url?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated May be removed after 2026-11-01. Use `creator_id` instead.
|
|
23
|
+
*/
|
|
6
24
|
owner_guid: string;
|
|
25
|
+
/** Preferred owner/creator user identifier. Same type and optionality as `owner_guid`. */
|
|
26
|
+
creator_id: string;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated May be removed after 2026-11-01. Use `creator_first_name` instead.
|
|
29
|
+
*/
|
|
7
30
|
owner_first_name: string;
|
|
31
|
+
/** Preferred creator given name. Same type and optionality as `owner_first_name`. */
|
|
32
|
+
creator_first_name: string;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated May be removed after 2026-11-01. Use `creator_last_name` instead.
|
|
35
|
+
*/
|
|
8
36
|
owner_last_name: string;
|
|
37
|
+
/** Preferred creator family name. Same type and optionality as `owner_last_name`. */
|
|
38
|
+
creator_last_name: string;
|
|
9
39
|
created_at: number;
|
|
10
40
|
last_updated_at: number;
|
|
11
41
|
deleted_at?: number | null;
|
|
@@ -7,6 +7,9 @@ export declare const WorkspaceV5Schema: {
|
|
|
7
7
|
name: {
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
|
+
vanity_name: {
|
|
11
|
+
type: string[];
|
|
12
|
+
};
|
|
10
13
|
description: {
|
|
11
14
|
type: string[];
|
|
12
15
|
};
|
|
@@ -147,6 +150,7 @@ export declare const WorkspaceV5Schema: {
|
|
|
147
150
|
export declare enum WorkspaceV5Keys {
|
|
148
151
|
id = "id",
|
|
149
152
|
name = "name",
|
|
153
|
+
vanity_name = "vanity_name",
|
|
150
154
|
description = "description",
|
|
151
155
|
image_url = "image_url",
|
|
152
156
|
type = "type",
|
|
@@ -10,6 +10,9 @@ exports.WorkspaceV5Schema = {
|
|
|
10
10
|
name: {
|
|
11
11
|
type: 'string',
|
|
12
12
|
},
|
|
13
|
+
vanity_name: {
|
|
14
|
+
type: ['null', 'string'],
|
|
15
|
+
},
|
|
13
16
|
description: {
|
|
14
17
|
type: ['null', 'string'],
|
|
15
18
|
},
|
|
@@ -159,6 +162,7 @@ var WorkspaceV5Keys;
|
|
|
159
162
|
(function (WorkspaceV5Keys) {
|
|
160
163
|
WorkspaceV5Keys["id"] = "id";
|
|
161
164
|
WorkspaceV5Keys["name"] = "name";
|
|
165
|
+
WorkspaceV5Keys["vanity_name"] = "vanity_name";
|
|
162
166
|
WorkspaceV5Keys["description"] = "description";
|
|
163
167
|
WorkspaceV5Keys["image_url"] = "image_url";
|
|
164
168
|
WorkspaceV5Keys["type"] = "type";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/WorkspaceV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,I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EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC;SACvD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,
|
|
1
|
+
{"version":3,"file":"WorkspaceV5Schema.js","sourceRoot":"","sources":["../../../src/schemas/v5/WorkspaceV5Schema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE;YACF,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,MAAM,EAAE;YACN,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,gCAAgC;qBACvC;iBACF;gBACD;oBACE,IAAI,EAAE,MAAM;iBACb;aACF;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,mBAAmB,EAAE;YACnB,I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AA6C,CAAA;IAC7C,gEAA6C,CAAA;IAC7C,oDAAiC,CAAA;IACjC,kGAA+E,CAAA;IAC/E,4FAAyE,CAAA;IACzE,gFAA6D,CAAA;IAC7D,gEAA6C,CAAA;IAC7C,sEAAmD,CAAA;IACnD,kEAA+C,CAAA;IAC/C,sCAAmB,CAAA;AACrB,CAAC,EA7BW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA6B1B"}
|
|
@@ -68,18 +68,34 @@ export declare const AIPromptResponseSchema: {
|
|
|
68
68
|
message_guid: {
|
|
69
69
|
type: string;
|
|
70
70
|
};
|
|
71
|
+
id: {
|
|
72
|
+
description: string;
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
71
75
|
self_link: {
|
|
72
76
|
type: string;
|
|
73
77
|
};
|
|
74
78
|
creator_guid: {
|
|
75
79
|
type: string;
|
|
76
80
|
};
|
|
81
|
+
creator_id: {
|
|
82
|
+
description: string;
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
77
85
|
channel_guid: {
|
|
78
86
|
type: string[];
|
|
79
87
|
};
|
|
88
|
+
channel_id: {
|
|
89
|
+
description: string;
|
|
90
|
+
type: string[];
|
|
91
|
+
};
|
|
80
92
|
workspace_guid: {
|
|
81
93
|
type: string[];
|
|
82
94
|
};
|
|
95
|
+
workspace_id: {
|
|
96
|
+
description: string;
|
|
97
|
+
type: string[];
|
|
98
|
+
};
|
|
83
99
|
created_at: {
|
|
84
100
|
type: string;
|
|
85
101
|
};
|
|
@@ -116,6 +132,10 @@ export declare const AIPromptResponseSchema: {
|
|
|
116
132
|
parent_message_guid: {
|
|
117
133
|
type: string[];
|
|
118
134
|
};
|
|
135
|
+
parent_message_id: {
|
|
136
|
+
description: string;
|
|
137
|
+
type: string[];
|
|
138
|
+
};
|
|
119
139
|
language: {
|
|
120
140
|
type: string[];
|
|
121
141
|
};
|
|
@@ -131,6 +151,21 @@ export declare const AIPromptResponseSchema: {
|
|
|
131
151
|
type: {
|
|
132
152
|
$ref: string;
|
|
133
153
|
};
|
|
154
|
+
kind: {
|
|
155
|
+
anyOf: ({
|
|
156
|
+
enum: string[];
|
|
157
|
+
type: string;
|
|
158
|
+
} | {
|
|
159
|
+
type: string;
|
|
160
|
+
enum?: undefined;
|
|
161
|
+
})[];
|
|
162
|
+
};
|
|
163
|
+
share_link_id: {
|
|
164
|
+
type: string[];
|
|
165
|
+
};
|
|
166
|
+
folder_id: {
|
|
167
|
+
type: string[];
|
|
168
|
+
};
|
|
134
169
|
};
|
|
135
170
|
additionalProperties: boolean;
|
|
136
171
|
required: string[];
|
|
@@ -80,18 +80,34 @@ exports.AIPromptResponseSchema = {
|
|
|
80
80
|
message_guid: {
|
|
81
81
|
type: 'string',
|
|
82
82
|
},
|
|
83
|
+
id: {
|
|
84
|
+
description: 'Preferred message identifier. Same type and optionality as `message_guid`.',
|
|
85
|
+
type: 'string',
|
|
86
|
+
},
|
|
83
87
|
self_link: {
|
|
84
88
|
type: 'string',
|
|
85
89
|
},
|
|
86
90
|
creator_guid: {
|
|
87
91
|
type: 'string',
|
|
88
92
|
},
|
|
93
|
+
creator_id: {
|
|
94
|
+
description: 'Preferred creator user identifier. Same type and optionality as `creator_guid`.',
|
|
95
|
+
type: 'string',
|
|
96
|
+
},
|
|
89
97
|
channel_guid: {
|
|
90
98
|
type: ['null', 'string'],
|
|
91
99
|
},
|
|
100
|
+
channel_id: {
|
|
101
|
+
description: 'Preferred channel identifier. Same type and optionality as `channel_guid`.',
|
|
102
|
+
type: ['null', 'string'],
|
|
103
|
+
},
|
|
92
104
|
workspace_guid: {
|
|
93
105
|
type: ['null', 'string'],
|
|
94
106
|
},
|
|
107
|
+
workspace_id: {
|
|
108
|
+
description: 'Preferred workspace identifier. Same type and optionality as `workspace_guid`.',
|
|
109
|
+
type: ['null', 'string'],
|
|
110
|
+
},
|
|
95
111
|
created_at: {
|
|
96
112
|
type: 'string',
|
|
97
113
|
},
|
|
@@ -128,6 +144,10 @@ exports.AIPromptResponseSchema = {
|
|
|
128
144
|
parent_message_guid: {
|
|
129
145
|
type: ['null', 'string'],
|
|
130
146
|
},
|
|
147
|
+
parent_message_id: {
|
|
148
|
+
description: 'Preferred parent message identifier. Same type and optionality as `parent_message_guid`.',
|
|
149
|
+
type: ['null', 'string'],
|
|
150
|
+
},
|
|
131
151
|
language: {
|
|
132
152
|
type: ['null', 'string'],
|
|
133
153
|
},
|
|
@@ -143,12 +163,39 @@ exports.AIPromptResponseSchema = {
|
|
|
143
163
|
type: {
|
|
144
164
|
$ref: '#/definitions/MessageType',
|
|
145
165
|
},
|
|
166
|
+
kind: {
|
|
167
|
+
anyOf: [
|
|
168
|
+
{
|
|
169
|
+
enum: [
|
|
170
|
+
'action-item',
|
|
171
|
+
'ai-prompt',
|
|
172
|
+
'ai-response',
|
|
173
|
+
'attachment',
|
|
174
|
+
'audio',
|
|
175
|
+
'channel-reminder',
|
|
176
|
+
'text',
|
|
177
|
+
],
|
|
178
|
+
type: 'string',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
type: 'null',
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
},
|
|
185
|
+
share_link_id: {
|
|
186
|
+
type: ['null', 'string'],
|
|
187
|
+
},
|
|
188
|
+
folder_id: {
|
|
189
|
+
type: ['null', 'string'],
|
|
190
|
+
},
|
|
146
191
|
},
|
|
147
192
|
additionalProperties: false,
|
|
148
193
|
required: [
|
|
149
194
|
'created_at',
|
|
150
195
|
'creator_guid',
|
|
196
|
+
'creator_id',
|
|
151
197
|
'duration_ms',
|
|
198
|
+
'id',
|
|
152
199
|
'last_updated_at',
|
|
153
200
|
'message_guid',
|
|
154
201
|
'reply_count',
|
|
@@ -170,6 +217,7 @@ exports.AIPromptResponseSchema = {
|
|
|
170
217
|
'initializing',
|
|
171
218
|
'inprogress',
|
|
172
219
|
'canceled',
|
|
220
|
+
'failed',
|
|
173
221
|
],
|
|
174
222
|
},
|
|
175
223
|
Attachment: {
|
|
@@ -212,7 +260,14 @@ exports.AIPromptResponseSchema = {
|
|
|
212
260
|
},
|
|
213
261
|
AttachmentType: {
|
|
214
262
|
type: 'string',
|
|
215
|
-
enum: [
|
|
263
|
+
enum: [
|
|
264
|
+
'link',
|
|
265
|
+
'file',
|
|
266
|
+
'location',
|
|
267
|
+
'ai-response-id',
|
|
268
|
+
'ai-prompt-id',
|
|
269
|
+
'action-item-id',
|
|
270
|
+
],
|
|
216
271
|
},
|
|
217
272
|
MessageType: {
|
|
218
273
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/AIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SAC9C;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,8BAA8B;aACrC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,aAAa,EAAE,UAAU,CAAC;IACrC,WAAW,EAAE;QACX,uBAAuB,EAAE;YACvB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,EAAE,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,qCAAqC;iBAC5C;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,gCAAgC;iBACvC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAA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E,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,SAAS;iBAChB;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;iBACf;gBACD,mBAAmB,EAAE;oBACnB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,QAAQ,EAAE;oBACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,6BAA6B;iBACpC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,0BAA0B;qBACjC;iBACF;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,2BAA2B;iBAClC;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,cAAc;gBACd,aAAa;gBACb,iBAAiB;gBACjB,cAAc;gBACd,aAAa;gBACb,WAAW;gBACX,QAAQ;gBACR,MAAM;aACP;SACF;QACD,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,SAAS;gBACT,QAAQ;gBACR,YAAY;gBACZ,WAAW;gBACX,QAAQ;gBACR,SAAS;gBACT,iBAAiB;gBACjB,cAAc;gBACd,YAAY;gBACZ,UAAU;
|
|
1
|
+
{"version":3,"file":"AIPromptResponseSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/AIPromptResponseSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE;YACX,IAAI,EAAE,uCAAuC;SA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,CAAC;SACnE;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,mDAA2B,CAAA;IAC3B,6CAAqB,CAAA;AACvB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B"}
|
|
@@ -4,6 +4,10 @@ export declare const SubscribedUserSettingsSchema: {
|
|
|
4
4
|
userId: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
+
user_id: {
|
|
8
|
+
description: string;
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
7
11
|
defaultLanguage: {
|
|
8
12
|
type: string;
|
|
9
13
|
};
|
|
@@ -17,6 +21,7 @@ export declare const SubscribedUserSettingsSchema: {
|
|
|
17
21
|
};
|
|
18
22
|
export declare enum SubscribedUserSettingsKeys {
|
|
19
23
|
userId = "userId",
|
|
24
|
+
user_id = "user_id",
|
|
20
25
|
defaultLanguage = "defaultLanguage",
|
|
21
26
|
timezone = "timezone"
|
|
22
27
|
}
|
|
@@ -7,6 +7,10 @@ exports.SubscribedUserSettingsSchema = {
|
|
|
7
7
|
userId: {
|
|
8
8
|
type: 'string',
|
|
9
9
|
},
|
|
10
|
+
user_id: {
|
|
11
|
+
description: 'Preferred user identifier. Same type and optionality as `userId`.',
|
|
12
|
+
type: 'string',
|
|
13
|
+
},
|
|
10
14
|
defaultLanguage: {
|
|
11
15
|
type: 'string',
|
|
12
16
|
},
|
|
@@ -15,12 +19,13 @@ exports.SubscribedUserSettingsSchema = {
|
|
|
15
19
|
},
|
|
16
20
|
},
|
|
17
21
|
additionalProperties: false,
|
|
18
|
-
required: ['userId'],
|
|
22
|
+
required: ['userId', 'user_id'],
|
|
19
23
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
20
24
|
};
|
|
21
25
|
var SubscribedUserSettingsKeys;
|
|
22
26
|
(function (SubscribedUserSettingsKeys) {
|
|
23
27
|
SubscribedUserSettingsKeys["userId"] = "userId";
|
|
28
|
+
SubscribedUserSettingsKeys["user_id"] = "user_id";
|
|
24
29
|
SubscribedUserSettingsKeys["defaultLanguage"] = "defaultLanguage";
|
|
25
30
|
SubscribedUserSettingsKeys["timezone"] = "timezone";
|
|
26
31
|
})(SubscribedUserSettingsKeys = exports.SubscribedUserSettingsKeys || (exports.SubscribedUserSettingsKeys = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscribedUserSettingsSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/SubscribedUserSettingsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG;IAC1C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"SubscribedUserSettingsSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/SubscribedUserSettingsSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG;IAC1C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;SACf;QACD,OAAO,EAAE;YACP,WAAW,EACT,mEAAmE;YACrE,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC/B,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,+CAAiB,CAAA;IACjB,iDAAmB,CAAA;IACnB,iEAAmC,CAAA;IACnC,mDAAqB,CAAA;AACvB,CAAC,EALW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAKrC"}
|
|
@@ -4,6 +4,10 @@ export declare const WebhookBasicUserSchema: {
|
|
|
4
4
|
user_guid: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
+
id: {
|
|
8
|
+
description: string;
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
7
11
|
first_name: {
|
|
8
12
|
type: string;
|
|
9
13
|
};
|
|
@@ -17,6 +21,7 @@ export declare const WebhookBasicUserSchema: {
|
|
|
17
21
|
};
|
|
18
22
|
export declare enum WebhookBasicUserKeys {
|
|
19
23
|
user_guid = "user_guid",
|
|
24
|
+
id = "id",
|
|
20
25
|
first_name = "first_name",
|
|
21
26
|
last_name = "last_name"
|
|
22
27
|
}
|
|
@@ -7,6 +7,10 @@ exports.WebhookBasicUserSchema = {
|
|
|
7
7
|
user_guid: {
|
|
8
8
|
type: 'string',
|
|
9
9
|
},
|
|
10
|
+
id: {
|
|
11
|
+
description: 'Preferred user identifier. Same type and optionality as `user_guid`.',
|
|
12
|
+
type: 'string',
|
|
13
|
+
},
|
|
10
14
|
first_name: {
|
|
11
15
|
type: 'string',
|
|
12
16
|
},
|
|
@@ -15,12 +19,13 @@ exports.WebhookBasicUserSchema = {
|
|
|
15
19
|
},
|
|
16
20
|
},
|
|
17
21
|
additionalProperties: false,
|
|
18
|
-
required: ['first_name', 'last_name', 'user_guid'],
|
|
22
|
+
required: ['first_name', 'id', 'last_name', 'user_guid'],
|
|
19
23
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
20
24
|
};
|
|
21
25
|
var WebhookBasicUserKeys;
|
|
22
26
|
(function (WebhookBasicUserKeys) {
|
|
23
27
|
WebhookBasicUserKeys["user_guid"] = "user_guid";
|
|
28
|
+
WebhookBasicUserKeys["id"] = "id";
|
|
24
29
|
WebhookBasicUserKeys["first_name"] = "first_name";
|
|
25
30
|
WebhookBasicUserKeys["last_name"] = "last_name";
|
|
26
31
|
})(WebhookBasicUserKeys = exports.WebhookBasicUserKeys || (exports.WebhookBasicUserKeys = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebhookBasicUserSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookBasicUserSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"WebhookBasicUserSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookBasicUserSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;QACD,EAAE,EAAE;YACF,WAAW,EACT,sEAAsE;YACxE,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC;IACxD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,+CAAuB,CAAA;IACvB,iCAAS,CAAA;IACT,iDAAyB,CAAA;IACzB,+CAAuB,CAAA;AACzB,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B"}
|
|
@@ -4,18 +4,34 @@ export declare const WebhookChannelSchema: {
|
|
|
4
4
|
channel_guid: {
|
|
5
5
|
type: string;
|
|
6
6
|
};
|
|
7
|
+
id: {
|
|
8
|
+
description: string;
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
7
11
|
self_link: {
|
|
8
12
|
type: string;
|
|
9
13
|
};
|
|
10
14
|
channel_name: {
|
|
11
15
|
type: string;
|
|
12
16
|
};
|
|
17
|
+
name: {
|
|
18
|
+
description: string;
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
13
21
|
channel_description: {
|
|
14
22
|
type: string[];
|
|
15
23
|
};
|
|
24
|
+
description: {
|
|
25
|
+
description: string;
|
|
26
|
+
type: string[];
|
|
27
|
+
};
|
|
16
28
|
workspace_guid: {
|
|
17
29
|
type: string;
|
|
18
30
|
};
|
|
31
|
+
workspace_id: {
|
|
32
|
+
description: string;
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
19
35
|
workspace_name: {
|
|
20
36
|
type: string;
|
|
21
37
|
};
|
|
@@ -25,6 +41,10 @@ export declare const WebhookChannelSchema: {
|
|
|
25
41
|
owner_guid: {
|
|
26
42
|
type: string;
|
|
27
43
|
};
|
|
44
|
+
creator_id: {
|
|
45
|
+
description: string;
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
28
48
|
type: {
|
|
29
49
|
$ref: string;
|
|
30
50
|
};
|
|
@@ -141,13 +161,18 @@ export declare const WebhookChannelSchema: {
|
|
|
141
161
|
};
|
|
142
162
|
export declare enum WebhookChannelKeys {
|
|
143
163
|
channel_guid = "channel_guid",
|
|
164
|
+
id = "id",
|
|
144
165
|
self_link = "self_link",
|
|
145
166
|
channel_name = "channel_name",
|
|
167
|
+
name = "name",
|
|
146
168
|
channel_description = "channel_description",
|
|
169
|
+
description = "description",
|
|
147
170
|
workspace_guid = "workspace_guid",
|
|
171
|
+
workspace_id = "workspace_id",
|
|
148
172
|
workspace_name = "workspace_name",
|
|
149
173
|
workspace_image_url = "workspace_image_url",
|
|
150
174
|
owner_guid = "owner_guid",
|
|
175
|
+
creator_id = "creator_id",
|
|
151
176
|
type = "type",
|
|
152
177
|
visibility = "visibility",
|
|
153
178
|
total_messages = "total_messages",
|