cv-contracts 0.0.13 → 0.0.15
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.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/AsyncMeetingStatsSchema.d.ts +65 -0
- package/dist/schemas/AsyncMeetingStatsSchema.js +84 -0
- package/dist/schemas/AsyncMeetingStatsSchema.js.map +1 -0
- package/dist/schemas/BasicUserSchema.d.ts +22 -0
- package/dist/schemas/BasicUserSchema.js +27 -0
- package/dist/schemas/BasicUserSchema.js.map +1 -0
- package/dist/schemas/ChannelSchema.d.ts +164 -0
- package/dist/schemas/ChannelSchema.js +207 -0
- package/dist/schemas/ChannelSchema.js.map +1 -0
- package/dist/schemas/ChannelUserJoinedSchema.d.ts +175 -0
- package/dist/schemas/ChannelUserJoinedSchema.js +218 -0
- package/dist/schemas/ChannelUserJoinedSchema.js.map +1 -0
- package/dist/schemas/ChannelUserLeftSchema.d.ts +175 -0
- package/dist/schemas/ChannelUserLeftSchema.js +218 -0
- package/dist/schemas/ChannelUserLeftSchema.js.map +1 -0
- package/dist/schemas/ChannelUserRemovedSchema.d.ts +179 -0
- package/dist/schemas/ChannelUserRemovedSchema.js +222 -0
- package/dist/schemas/ChannelUserRemovedSchema.js.map +1 -0
- package/dist/schemas/ChannelUsersAddedSchema.d.ts +182 -0
- package/dist/schemas/ChannelUsersAddedSchema.js +225 -0
- package/dist/schemas/ChannelUsersAddedSchema.js.map +1 -0
- package/dist/schemas/LabelSchema.d.ts +56 -0
- package/dist/schemas/LabelSchema.js +61 -0
- package/dist/schemas/LabelSchema.js.map +1 -0
- package/dist/schemas/MessageSchema.d.ts +96 -0
- package/dist/schemas/MessageSchema.js +121 -0
- package/dist/schemas/MessageSchema.js.map +1 -0
- package/dist/schemas/SubscribedUserSettingsSchema.d.ts +22 -0
- package/dist/schemas/SubscribedUserSettingsSchema.js +27 -0
- package/dist/schemas/SubscribedUserSettingsSchema.js.map +1 -0
- package/dist/schemas/SubscriptionFilterSchema.d.ts +21 -0
- package/dist/schemas/SubscriptionFilterSchema.js +26 -0
- package/dist/schemas/SubscriptionFilterSchema.js.map +1 -0
- package/dist/schemas/WebhookPayloadSchema.d.ts +85 -0
- package/dist/schemas/WebhookPayloadSchema.js +132 -0
- package/dist/schemas/WebhookPayloadSchema.js.map +1 -0
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.d.ts +196 -0
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.js +247 -0
- package/dist/schemas/WorkspaceFindableChannelCreatedSchema.js.map +1 -0
- package/dist/schemas/WorkspaceSchema.d.ts +50 -0
- package/dist/schemas/WorkspaceSchema.js +63 -0
- package/dist/schemas/WorkspaceSchema.js.map +1 -0
- package/dist/schemas/WorkspaceUserAddedSchema.d.ts +73 -0
- package/dist/schemas/WorkspaceUserAddedSchema.js +86 -0
- package/dist/schemas/WorkspaceUserAddedSchema.js.map +1 -0
- package/dist/schemas/WorkspaceUserJoinedSchema.d.ts +73 -0
- package/dist/schemas/WorkspaceUserJoinedSchema.js +86 -0
- package/dist/schemas/WorkspaceUserJoinedSchema.js.map +1 -0
- package/dist/schemas/WorkspaceUserLeftSchema.d.ts +73 -0
- package/dist/schemas/WorkspaceUserLeftSchema.js +86 -0
- package/dist/schemas/WorkspaceUserLeftSchema.js.map +1 -0
- package/dist/schemas/WorkspaceUserRemovedSchema.d.ts +77 -0
- package/dist/schemas/WorkspaceUserRemovedSchema.js +90 -0
- package/dist/schemas/WorkspaceUserRemovedSchema.js.map +1 -0
- package/dist/schemas/index.d.ts +18 -0
- package/dist/schemas/index.js +35 -0
- package/dist/schemas/index.js.map +1 -0
- package/package.json +5 -3
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceFindableChannelCreatedKeys = exports.WorkspaceFindableChannelCreatedSchema = void 0;
|
|
4
|
+
exports.WorkspaceFindableChannelCreatedSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
channel: {
|
|
8
|
+
$ref: '#/definitions/Channel',
|
|
9
|
+
},
|
|
10
|
+
workspace: {
|
|
11
|
+
$ref: '#/definitions/Workspace',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
additionalProperties: false,
|
|
15
|
+
required: ['channel', 'workspace'],
|
|
16
|
+
definitions: {
|
|
17
|
+
Channel: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
channel_guid: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
channel_name: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
channel_description: {
|
|
27
|
+
type: ['null', 'string'],
|
|
28
|
+
},
|
|
29
|
+
workspace_guid: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
},
|
|
32
|
+
workspace_name: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
},
|
|
35
|
+
workspace_image_url: {
|
|
36
|
+
type: ['null', 'string'],
|
|
37
|
+
},
|
|
38
|
+
owner_guid: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
},
|
|
41
|
+
owner_first_name: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
},
|
|
44
|
+
owner_last_name: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
},
|
|
47
|
+
type: {
|
|
48
|
+
$ref: '#/definitions/ChannelType',
|
|
49
|
+
},
|
|
50
|
+
visibility: {
|
|
51
|
+
$ref: '#/definitions/ChannelVisibility',
|
|
52
|
+
},
|
|
53
|
+
total_messages: {
|
|
54
|
+
type: 'number',
|
|
55
|
+
},
|
|
56
|
+
total_duration_ms: {
|
|
57
|
+
type: 'number',
|
|
58
|
+
},
|
|
59
|
+
image_url: {
|
|
60
|
+
type: ['null', 'string'],
|
|
61
|
+
},
|
|
62
|
+
is_private: {
|
|
63
|
+
type: 'boolean',
|
|
64
|
+
},
|
|
65
|
+
is_async: {
|
|
66
|
+
type: 'boolean',
|
|
67
|
+
},
|
|
68
|
+
async_stats: {
|
|
69
|
+
anyOf: [
|
|
70
|
+
{
|
|
71
|
+
$ref: '#/definitions/AsyncMeetingStats',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
type: 'null',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
created_at: {
|
|
79
|
+
type: 'number',
|
|
80
|
+
},
|
|
81
|
+
last_updated_at: {
|
|
82
|
+
type: 'number',
|
|
83
|
+
},
|
|
84
|
+
deleted_at: {
|
|
85
|
+
type: ['null', 'number'],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
additionalProperties: false,
|
|
89
|
+
required: [
|
|
90
|
+
'channel_guid',
|
|
91
|
+
'channel_name',
|
|
92
|
+
'created_at',
|
|
93
|
+
'is_async',
|
|
94
|
+
'is_private',
|
|
95
|
+
'last_updated_at',
|
|
96
|
+
'owner_first_name',
|
|
97
|
+
'owner_guid',
|
|
98
|
+
'owner_last_name',
|
|
99
|
+
'total_duration_ms',
|
|
100
|
+
'total_messages',
|
|
101
|
+
'type',
|
|
102
|
+
'visibility',
|
|
103
|
+
'workspace_guid',
|
|
104
|
+
'workspace_name',
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
ChannelType: {
|
|
108
|
+
type: 'string',
|
|
109
|
+
enum: [
|
|
110
|
+
'directMessage',
|
|
111
|
+
'customerConversation',
|
|
112
|
+
'namedConversation',
|
|
113
|
+
'asyncMeeting',
|
|
114
|
+
],
|
|
115
|
+
},
|
|
116
|
+
ChannelVisibility: {
|
|
117
|
+
type: 'string',
|
|
118
|
+
enum: ['private', 'workspace', 'public'],
|
|
119
|
+
},
|
|
120
|
+
AsyncMeetingStats: {
|
|
121
|
+
type: 'object',
|
|
122
|
+
properties: {
|
|
123
|
+
channel_stats: {
|
|
124
|
+
type: 'object',
|
|
125
|
+
properties: {
|
|
126
|
+
total_duration_milliseconds: {
|
|
127
|
+
type: 'number',
|
|
128
|
+
},
|
|
129
|
+
total_heard_milliseconds: {
|
|
130
|
+
type: 'number',
|
|
131
|
+
},
|
|
132
|
+
total_engaged_percentage: {
|
|
133
|
+
type: 'number',
|
|
134
|
+
},
|
|
135
|
+
total_messages_posted: {
|
|
136
|
+
type: 'number',
|
|
137
|
+
},
|
|
138
|
+
total_users: {
|
|
139
|
+
type: 'number',
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
additionalProperties: false,
|
|
143
|
+
required: [
|
|
144
|
+
'total_duration_milliseconds',
|
|
145
|
+
'total_engaged_percentage',
|
|
146
|
+
'total_heard_milliseconds',
|
|
147
|
+
'total_messages_posted',
|
|
148
|
+
'total_users',
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
user_stats: {
|
|
152
|
+
type: 'array',
|
|
153
|
+
items: {
|
|
154
|
+
type: 'object',
|
|
155
|
+
properties: {
|
|
156
|
+
user_id: {
|
|
157
|
+
type: 'string',
|
|
158
|
+
},
|
|
159
|
+
total_messages_posted: {
|
|
160
|
+
type: 'number',
|
|
161
|
+
},
|
|
162
|
+
total_sent_milliseconds: {
|
|
163
|
+
type: 'number',
|
|
164
|
+
},
|
|
165
|
+
total_heard_milliseconds: {
|
|
166
|
+
type: 'number',
|
|
167
|
+
},
|
|
168
|
+
total_engaged_percentage: {
|
|
169
|
+
type: 'number',
|
|
170
|
+
},
|
|
171
|
+
total_heard_messages: {
|
|
172
|
+
type: 'number',
|
|
173
|
+
},
|
|
174
|
+
total_unheard_messages: {
|
|
175
|
+
type: 'number',
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
additionalProperties: false,
|
|
179
|
+
required: [
|
|
180
|
+
'total_engaged_percentage',
|
|
181
|
+
'total_heard_messages',
|
|
182
|
+
'total_heard_milliseconds',
|
|
183
|
+
'total_messages_posted',
|
|
184
|
+
'total_sent_milliseconds',
|
|
185
|
+
'total_unheard_messages',
|
|
186
|
+
'user_id',
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
additionalProperties: false,
|
|
192
|
+
required: ['channel_stats', 'user_stats'],
|
|
193
|
+
},
|
|
194
|
+
Workspace: {
|
|
195
|
+
type: 'object',
|
|
196
|
+
properties: {
|
|
197
|
+
workspace_guid: {
|
|
198
|
+
type: 'string',
|
|
199
|
+
},
|
|
200
|
+
workspace_name: {
|
|
201
|
+
type: 'string',
|
|
202
|
+
},
|
|
203
|
+
workspace_description: {
|
|
204
|
+
type: ['null', 'string'],
|
|
205
|
+
},
|
|
206
|
+
image_url: {
|
|
207
|
+
type: ['null', 'string'],
|
|
208
|
+
},
|
|
209
|
+
owner_guid: {
|
|
210
|
+
type: 'string',
|
|
211
|
+
},
|
|
212
|
+
owner_first_name: {
|
|
213
|
+
type: 'string',
|
|
214
|
+
},
|
|
215
|
+
owner_last_name: {
|
|
216
|
+
type: 'string',
|
|
217
|
+
},
|
|
218
|
+
created_at: {
|
|
219
|
+
type: 'number',
|
|
220
|
+
},
|
|
221
|
+
last_updated_at: {
|
|
222
|
+
type: 'number',
|
|
223
|
+
},
|
|
224
|
+
deleted_at: {
|
|
225
|
+
type: ['null', 'number'],
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
additionalProperties: false,
|
|
229
|
+
required: [
|
|
230
|
+
'created_at',
|
|
231
|
+
'last_updated_at',
|
|
232
|
+
'owner_first_name',
|
|
233
|
+
'owner_guid',
|
|
234
|
+
'owner_last_name',
|
|
235
|
+
'workspace_guid',
|
|
236
|
+
'workspace_name',
|
|
237
|
+
],
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
241
|
+
};
|
|
242
|
+
var WorkspaceFindableChannelCreatedKeys;
|
|
243
|
+
(function (WorkspaceFindableChannelCreatedKeys) {
|
|
244
|
+
WorkspaceFindableChannelCreatedKeys["channel"] = "channel";
|
|
245
|
+
WorkspaceFindableChannelCreatedKeys["workspace"] = "workspace";
|
|
246
|
+
})(WorkspaceFindableChannelCreatedKeys = exports.WorkspaceFindableChannelCreatedKeys || (exports.WorkspaceFindableChannelCreatedKeys = {}));
|
|
247
|
+
//# sourceMappingURL=WorkspaceFindableChannelCreatedSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceFindableChannelCreatedSchema.js","sourceRoot":"","sources":["../../src/schemas/WorkspaceFindableChannelCreatedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,qCAAqC,GAAG;IACnD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;SAC9B;QACD,SAAS,EAAE;YACT,IAAI,EAAE,yBAAyB;SAChC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC;IAClC,WAAW,EAAE;QACX,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;iBACf;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;iBACf;gBACD,mBAAmB,EAAE;oBACnB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,mBAAmB,EAAE;oBACnB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,2BAA2B;i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BACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,iBAAiB;gBACjB,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;KACF;IACD,OAAO,EAAE,yCAAyC;CAC1C,CAAC;AAEX,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC7C,0DAAmB,CAAA;IACnB,8DAAuB,CAAA;AACzB,CAAC,EAHW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAG9C"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const WorkspaceSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly workspace_guid: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
};
|
|
7
|
+
readonly workspace_name: {
|
|
8
|
+
readonly type: "string";
|
|
9
|
+
};
|
|
10
|
+
readonly workspace_description: {
|
|
11
|
+
readonly type: readonly ["null", "string"];
|
|
12
|
+
};
|
|
13
|
+
readonly image_url: {
|
|
14
|
+
readonly type: readonly ["null", "string"];
|
|
15
|
+
};
|
|
16
|
+
readonly owner_guid: {
|
|
17
|
+
readonly type: "string";
|
|
18
|
+
};
|
|
19
|
+
readonly owner_first_name: {
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
};
|
|
22
|
+
readonly owner_last_name: {
|
|
23
|
+
readonly type: "string";
|
|
24
|
+
};
|
|
25
|
+
readonly created_at: {
|
|
26
|
+
readonly type: "number";
|
|
27
|
+
};
|
|
28
|
+
readonly last_updated_at: {
|
|
29
|
+
readonly type: "number";
|
|
30
|
+
};
|
|
31
|
+
readonly deleted_at: {
|
|
32
|
+
readonly type: readonly ["null", "number"];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
readonly additionalProperties: false;
|
|
36
|
+
readonly required: readonly ["created_at", "last_updated_at", "owner_first_name", "owner_guid", "owner_last_name", "workspace_guid", "workspace_name"];
|
|
37
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
38
|
+
};
|
|
39
|
+
export declare enum WorkspaceKeys {
|
|
40
|
+
workspace_guid = "workspace_guid",
|
|
41
|
+
workspace_name = "workspace_name",
|
|
42
|
+
workspace_description = "workspace_description",
|
|
43
|
+
image_url = "image_url",
|
|
44
|
+
owner_guid = "owner_guid",
|
|
45
|
+
owner_first_name = "owner_first_name",
|
|
46
|
+
owner_last_name = "owner_last_name",
|
|
47
|
+
created_at = "created_at",
|
|
48
|
+
last_updated_at = "last_updated_at",
|
|
49
|
+
deleted_at = "deleted_at"
|
|
50
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceKeys = exports.WorkspaceSchema = void 0;
|
|
4
|
+
exports.WorkspaceSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
workspace_guid: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
},
|
|
10
|
+
workspace_name: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
},
|
|
13
|
+
workspace_description: {
|
|
14
|
+
type: ['null', 'string'],
|
|
15
|
+
},
|
|
16
|
+
image_url: {
|
|
17
|
+
type: ['null', 'string'],
|
|
18
|
+
},
|
|
19
|
+
owner_guid: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
},
|
|
22
|
+
owner_first_name: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
},
|
|
25
|
+
owner_last_name: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
},
|
|
28
|
+
created_at: {
|
|
29
|
+
type: 'number',
|
|
30
|
+
},
|
|
31
|
+
last_updated_at: {
|
|
32
|
+
type: 'number',
|
|
33
|
+
},
|
|
34
|
+
deleted_at: {
|
|
35
|
+
type: ['null', 'number'],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
additionalProperties: false,
|
|
39
|
+
required: [
|
|
40
|
+
'created_at',
|
|
41
|
+
'last_updated_at',
|
|
42
|
+
'owner_first_name',
|
|
43
|
+
'owner_guid',
|
|
44
|
+
'owner_last_name',
|
|
45
|
+
'workspace_guid',
|
|
46
|
+
'workspace_name',
|
|
47
|
+
],
|
|
48
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
49
|
+
};
|
|
50
|
+
var WorkspaceKeys;
|
|
51
|
+
(function (WorkspaceKeys) {
|
|
52
|
+
WorkspaceKeys["workspace_guid"] = "workspace_guid";
|
|
53
|
+
WorkspaceKeys["workspace_name"] = "workspace_name";
|
|
54
|
+
WorkspaceKeys["workspace_description"] = "workspace_description";
|
|
55
|
+
WorkspaceKeys["image_url"] = "image_url";
|
|
56
|
+
WorkspaceKeys["owner_guid"] = "owner_guid";
|
|
57
|
+
WorkspaceKeys["owner_first_name"] = "owner_first_name";
|
|
58
|
+
WorkspaceKeys["owner_last_name"] = "owner_last_name";
|
|
59
|
+
WorkspaceKeys["created_at"] = "created_at";
|
|
60
|
+
WorkspaceKeys["last_updated_at"] = "last_updated_at";
|
|
61
|
+
WorkspaceKeys["deleted_at"] = "deleted_at";
|
|
62
|
+
})(WorkspaceKeys = exports.WorkspaceKeys || (exports.WorkspaceKeys = {}));
|
|
63
|
+
//# sourceMappingURL=WorkspaceSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceSchema.js","sourceRoot":"","sources":["../../src/schemas/WorkspaceSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,qBAAqB,EAAE;YACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,iBAAiB;QACjB,kBAAkB;QAClB,YAAY;QACZ,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;KACjB;IACD,OAAO,EAAE,yCAAyC;CAC1C,CAAC;AAEX,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,kDAAiC,CAAA;IACjC,kDAAiC,CAAA;IACjC,gEAA+C,CAAA;IAC/C,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,sDAAqC,CAAA;IACrC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;AAC3B,CAAC,EAXW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAWxB"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const WorkspaceUserAddedSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly workspace: {
|
|
5
|
+
readonly $ref: "#/definitions/Workspace";
|
|
6
|
+
};
|
|
7
|
+
readonly addedUser: {
|
|
8
|
+
readonly $ref: "#/definitions/BasicUser";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
readonly additionalProperties: false;
|
|
12
|
+
readonly required: readonly ["addedUser", "workspace"];
|
|
13
|
+
readonly definitions: {
|
|
14
|
+
readonly Workspace: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly properties: {
|
|
17
|
+
readonly workspace_guid: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
};
|
|
20
|
+
readonly workspace_name: {
|
|
21
|
+
readonly type: "string";
|
|
22
|
+
};
|
|
23
|
+
readonly workspace_description: {
|
|
24
|
+
readonly type: readonly ["null", "string"];
|
|
25
|
+
};
|
|
26
|
+
readonly image_url: {
|
|
27
|
+
readonly type: readonly ["null", "string"];
|
|
28
|
+
};
|
|
29
|
+
readonly owner_guid: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
};
|
|
32
|
+
readonly owner_first_name: {
|
|
33
|
+
readonly type: "string";
|
|
34
|
+
};
|
|
35
|
+
readonly owner_last_name: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
};
|
|
38
|
+
readonly created_at: {
|
|
39
|
+
readonly type: "number";
|
|
40
|
+
};
|
|
41
|
+
readonly last_updated_at: {
|
|
42
|
+
readonly type: "number";
|
|
43
|
+
};
|
|
44
|
+
readonly deleted_at: {
|
|
45
|
+
readonly type: readonly ["null", "number"];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly additionalProperties: false;
|
|
49
|
+
readonly required: readonly ["created_at", "last_updated_at", "owner_first_name", "owner_guid", "owner_last_name", "workspace_guid", "workspace_name"];
|
|
50
|
+
};
|
|
51
|
+
readonly BasicUser: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly properties: {
|
|
54
|
+
readonly user_guid: {
|
|
55
|
+
readonly type: "string";
|
|
56
|
+
};
|
|
57
|
+
readonly first_name: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
};
|
|
60
|
+
readonly last_name: {
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly additionalProperties: false;
|
|
65
|
+
readonly required: readonly ["first_name", "last_name", "user_guid"];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
69
|
+
};
|
|
70
|
+
export declare enum WorkspaceUserAddedKeys {
|
|
71
|
+
workspace = "workspace",
|
|
72
|
+
addedUser = "addedUser"
|
|
73
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceUserAddedKeys = exports.WorkspaceUserAddedSchema = void 0;
|
|
4
|
+
exports.WorkspaceUserAddedSchema = {
|
|
5
|
+
type: 'object',
|
|
6
|
+
properties: {
|
|
7
|
+
workspace: {
|
|
8
|
+
$ref: '#/definitions/Workspace',
|
|
9
|
+
},
|
|
10
|
+
addedUser: {
|
|
11
|
+
$ref: '#/definitions/BasicUser',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
additionalProperties: false,
|
|
15
|
+
required: ['addedUser', 'workspace'],
|
|
16
|
+
definitions: {
|
|
17
|
+
Workspace: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
workspace_guid: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
workspace_name: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
workspace_description: {
|
|
27
|
+
type: ['null', 'string'],
|
|
28
|
+
},
|
|
29
|
+
image_url: {
|
|
30
|
+
type: ['null', 'string'],
|
|
31
|
+
},
|
|
32
|
+
owner_guid: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
},
|
|
35
|
+
owner_first_name: {
|
|
36
|
+
type: 'string',
|
|
37
|
+
},
|
|
38
|
+
owner_last_name: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
},
|
|
41
|
+
created_at: {
|
|
42
|
+
type: 'number',
|
|
43
|
+
},
|
|
44
|
+
last_updated_at: {
|
|
45
|
+
type: 'number',
|
|
46
|
+
},
|
|
47
|
+
deleted_at: {
|
|
48
|
+
type: ['null', 'number'],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
additionalProperties: false,
|
|
52
|
+
required: [
|
|
53
|
+
'created_at',
|
|
54
|
+
'last_updated_at',
|
|
55
|
+
'owner_first_name',
|
|
56
|
+
'owner_guid',
|
|
57
|
+
'owner_last_name',
|
|
58
|
+
'workspace_guid',
|
|
59
|
+
'workspace_name',
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
BasicUser: {
|
|
63
|
+
type: 'object',
|
|
64
|
+
properties: {
|
|
65
|
+
user_guid: {
|
|
66
|
+
type: 'string',
|
|
67
|
+
},
|
|
68
|
+
first_name: {
|
|
69
|
+
type: 'string',
|
|
70
|
+
},
|
|
71
|
+
last_name: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
additionalProperties: false,
|
|
76
|
+
required: ['first_name', 'last_name', 'user_guid'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
80
|
+
};
|
|
81
|
+
var WorkspaceUserAddedKeys;
|
|
82
|
+
(function (WorkspaceUserAddedKeys) {
|
|
83
|
+
WorkspaceUserAddedKeys["workspace"] = "workspace";
|
|
84
|
+
WorkspaceUserAddedKeys["addedUser"] = "addedUser";
|
|
85
|
+
})(WorkspaceUserAddedKeys = exports.WorkspaceUserAddedKeys || (exports.WorkspaceUserAddedKeys = {}));
|
|
86
|
+
//# sourceMappingURL=WorkspaceUserAddedSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceUserAddedSchema.js","sourceRoot":"","sources":["../../src/schemas/WorkspaceUserAddedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,yBAAyB;SAChC;QACD,SAAS,EAAE;YACT,IAAI,EAAE,yBAAyB;SAChC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;IACpC,WAAW,EAAE;QACX,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,iBAAiB;gBACjB,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;SACnD;KACF;IACD,OAAO,EAAE,yCAAyC;CAC1C,CAAC;AAEX,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,iDAAuB,CAAA;IACvB,iDAAuB,CAAA;AACzB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const WorkspaceUserJoinedSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly workspace: {
|
|
5
|
+
readonly $ref: "#/definitions/Workspace";
|
|
6
|
+
};
|
|
7
|
+
readonly joinedUser: {
|
|
8
|
+
readonly $ref: "#/definitions/BasicUser";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
readonly additionalProperties: false;
|
|
12
|
+
readonly required: readonly ["joinedUser", "workspace"];
|
|
13
|
+
readonly definitions: {
|
|
14
|
+
readonly Workspace: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly properties: {
|
|
17
|
+
readonly workspace_guid: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
};
|
|
20
|
+
readonly workspace_name: {
|
|
21
|
+
readonly type: "string";
|
|
22
|
+
};
|
|
23
|
+
readonly workspace_description: {
|
|
24
|
+
readonly type: readonly ["null", "string"];
|
|
25
|
+
};
|
|
26
|
+
readonly image_url: {
|
|
27
|
+
readonly type: readonly ["null", "string"];
|
|
28
|
+
};
|
|
29
|
+
readonly owner_guid: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
};
|
|
32
|
+
readonly owner_first_name: {
|
|
33
|
+
readonly type: "string";
|
|
34
|
+
};
|
|
35
|
+
readonly owner_last_name: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
};
|
|
38
|
+
readonly created_at: {
|
|
39
|
+
readonly type: "number";
|
|
40
|
+
};
|
|
41
|
+
readonly last_updated_at: {
|
|
42
|
+
readonly type: "number";
|
|
43
|
+
};
|
|
44
|
+
readonly deleted_at: {
|
|
45
|
+
readonly type: readonly ["null", "number"];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly additionalProperties: false;
|
|
49
|
+
readonly required: readonly ["created_at", "last_updated_at", "owner_first_name", "owner_guid", "owner_last_name", "workspace_guid", "workspace_name"];
|
|
50
|
+
};
|
|
51
|
+
readonly BasicUser: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly properties: {
|
|
54
|
+
readonly user_guid: {
|
|
55
|
+
readonly type: "string";
|
|
56
|
+
};
|
|
57
|
+
readonly first_name: {
|
|
58
|
+
readonly type: "string";
|
|
59
|
+
};
|
|
60
|
+
readonly last_name: {
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly additionalProperties: false;
|
|
65
|
+
readonly required: readonly ["first_name", "last_name", "user_guid"];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
69
|
+
};
|
|
70
|
+
export declare enum WorkspaceUserJoinedKeys {
|
|
71
|
+
workspace = "workspace",
|
|
72
|
+
joinedUser = "joinedUser"
|
|
73
|
+
}
|