cv-contracts 0.0.15 → 0.0.17

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.
Files changed (57) hide show
  1. package/dist/enums/AttachmentType.d.ts +5 -0
  2. package/dist/enums/AttachmentType.js +10 -0
  3. package/dist/enums/AttachmentType.js.map +1 -0
  4. package/dist/enums/index.d.ts +1 -0
  5. package/dist/enums/index.js +1 -0
  6. package/dist/enums/index.js.map +1 -1
  7. package/dist/interfaces/Attachment.d.ts +14 -0
  8. package/dist/interfaces/Attachment.js +3 -0
  9. package/dist/interfaces/Attachment.js.map +1 -0
  10. package/dist/interfaces/Message.d.ts +2 -0
  11. package/dist/interfaces/index.d.ts +1 -0
  12. package/dist/interfaces/index.js +1 -0
  13. package/dist/interfaces/index.js.map +1 -1
  14. package/dist/schemas/AsyncMeetingStatsSchema.d.ts +41 -41
  15. package/dist/schemas/AsyncMeetingStatsSchema.js.map +1 -1
  16. package/dist/schemas/AttachmentSchema.d.ts +71 -0
  17. package/dist/schemas/AttachmentSchema.js +80 -0
  18. package/dist/schemas/AttachmentSchema.js.map +1 -0
  19. package/dist/schemas/BasicUserSchema.d.ts +11 -11
  20. package/dist/schemas/BasicUserSchema.js.map +1 -1
  21. package/dist/schemas/ChannelSchema.d.ts +101 -99
  22. package/dist/schemas/ChannelSchema.js.map +1 -1
  23. package/dist/schemas/ChannelUserJoinedSchema.d.ts +120 -118
  24. package/dist/schemas/ChannelUserJoinedSchema.js.map +1 -1
  25. package/dist/schemas/ChannelUserLeftSchema.d.ts +120 -118
  26. package/dist/schemas/ChannelUserLeftSchema.js.map +1 -1
  27. package/dist/schemas/ChannelUserRemovedSchema.d.ts +122 -120
  28. package/dist/schemas/ChannelUserRemovedSchema.js.map +1 -1
  29. package/dist/schemas/ChannelUsersAddedSchema.d.ts +124 -122
  30. package/dist/schemas/ChannelUsersAddedSchema.js.map +1 -1
  31. package/dist/schemas/LabelSchema.d.ts +30 -30
  32. package/dist/schemas/LabelSchema.js.map +1 -1
  33. package/dist/schemas/MessageSchema.d.ts +113 -51
  34. package/dist/schemas/MessageSchema.js +66 -0
  35. package/dist/schemas/MessageSchema.js.map +1 -1
  36. package/dist/schemas/SubscribedUserSettingsSchema.d.ts +11 -11
  37. package/dist/schemas/SubscribedUserSettingsSchema.js.map +1 -1
  38. package/dist/schemas/SubscriptionFilterSchema.d.ts +11 -11
  39. package/dist/schemas/SubscriptionFilterSchema.js.map +1 -1
  40. package/dist/schemas/WebhookPayloadSchema.d.ts +56 -56
  41. package/dist/schemas/WebhookPayloadSchema.js.map +1 -1
  42. package/dist/schemas/WorkspaceFindableChannelCreatedSchema.d.ts +134 -132
  43. package/dist/schemas/WorkspaceFindableChannelCreatedSchema.js.map +1 -1
  44. package/dist/schemas/WorkspaceSchema.d.ts +25 -25
  45. package/dist/schemas/WorkspaceSchema.js.map +1 -1
  46. package/dist/schemas/WorkspaceUserAddedSchema.d.ts +46 -46
  47. package/dist/schemas/WorkspaceUserAddedSchema.js.map +1 -1
  48. package/dist/schemas/WorkspaceUserJoinedSchema.d.ts +46 -46
  49. package/dist/schemas/WorkspaceUserJoinedSchema.js.map +1 -1
  50. package/dist/schemas/WorkspaceUserLeftSchema.d.ts +46 -46
  51. package/dist/schemas/WorkspaceUserLeftSchema.js.map +1 -1
  52. package/dist/schemas/WorkspaceUserRemovedSchema.d.ts +48 -48
  53. package/dist/schemas/WorkspaceUserRemovedSchema.js.map +1 -1
  54. package/dist/schemas/index.d.ts +1 -0
  55. package/dist/schemas/index.js +1 -0
  56. package/dist/schemas/index.js.map +1 -1
  57. package/package.json +1 -1
@@ -1,179 +1,181 @@
1
1
  export declare const ChannelUsersAddedSchema: {
2
- readonly type: "object";
3
- readonly properties: {
4
- readonly channel: {
5
- readonly $ref: "#/definitions/Channel";
2
+ type: string;
3
+ properties: {
4
+ channel: {
5
+ $ref: string;
6
6
  };
7
- readonly addedBy: {
8
- readonly $ref: "#/definitions/BasicUser";
7
+ addedBy: {
8
+ $ref: string;
9
9
  };
10
- readonly addedUsers: {
11
- readonly type: "array";
12
- readonly items: {
13
- readonly $ref: "#/definitions/BasicUser";
10
+ addedUsers: {
11
+ type: string;
12
+ items: {
13
+ $ref: string;
14
14
  };
15
15
  };
16
16
  };
17
- readonly additionalProperties: false;
18
- readonly required: readonly ["addedBy", "addedUsers", "channel"];
19
- readonly definitions: {
20
- readonly Channel: {
21
- readonly type: "object";
22
- readonly properties: {
23
- readonly channel_guid: {
24
- readonly type: "string";
17
+ additionalProperties: boolean;
18
+ required: string[];
19
+ definitions: {
20
+ Channel: {
21
+ type: string;
22
+ properties: {
23
+ channel_guid: {
24
+ type: string;
25
25
  };
26
- readonly channel_name: {
27
- readonly type: "string";
26
+ channel_name: {
27
+ type: string;
28
28
  };
29
- readonly channel_description: {
30
- readonly type: readonly ["null", "string"];
29
+ channel_description: {
30
+ type: string[];
31
31
  };
32
- readonly workspace_guid: {
33
- readonly type: "string";
32
+ workspace_guid: {
33
+ type: string;
34
34
  };
35
- readonly workspace_name: {
36
- readonly type: "string";
35
+ workspace_name: {
36
+ type: string;
37
37
  };
38
- readonly workspace_image_url: {
39
- readonly type: readonly ["null", "string"];
38
+ workspace_image_url: {
39
+ type: string[];
40
40
  };
41
- readonly owner_guid: {
42
- readonly type: "string";
41
+ owner_guid: {
42
+ type: string;
43
43
  };
44
- readonly owner_first_name: {
45
- readonly type: "string";
44
+ owner_first_name: {
45
+ type: string;
46
46
  };
47
- readonly owner_last_name: {
48
- readonly type: "string";
47
+ owner_last_name: {
48
+ type: string;
49
49
  };
50
- readonly type: {
51
- readonly $ref: "#/definitions/ChannelType";
50
+ type: {
51
+ $ref: string;
52
52
  };
53
- readonly visibility: {
54
- readonly $ref: "#/definitions/ChannelVisibility";
53
+ visibility: {
54
+ $ref: string;
55
55
  };
56
- readonly total_messages: {
57
- readonly type: "number";
56
+ total_messages: {
57
+ type: string;
58
58
  };
59
- readonly total_duration_ms: {
60
- readonly type: "number";
59
+ total_duration_ms: {
60
+ type: string;
61
61
  };
62
- readonly image_url: {
63
- readonly type: readonly ["null", "string"];
62
+ image_url: {
63
+ type: string[];
64
64
  };
65
- readonly is_private: {
66
- readonly type: "boolean";
65
+ is_private: {
66
+ type: string;
67
67
  };
68
- readonly is_async: {
69
- readonly type: "boolean";
68
+ is_async: {
69
+ type: string;
70
70
  };
71
- readonly async_stats: {
72
- readonly anyOf: readonly [{
73
- readonly $ref: "#/definitions/AsyncMeetingStats";
74
- }, {
75
- readonly type: "null";
76
- }];
71
+ async_stats: {
72
+ anyOf: ({
73
+ $ref: string;
74
+ type?: undefined;
75
+ } | {
76
+ type: string;
77
+ $ref?: undefined;
78
+ })[];
77
79
  };
78
- readonly created_at: {
79
- readonly type: "number";
80
+ created_at: {
81
+ type: string;
80
82
  };
81
- readonly last_updated_at: {
82
- readonly type: "number";
83
+ last_updated_at: {
84
+ type: string;
83
85
  };
84
- readonly deleted_at: {
85
- readonly type: readonly ["null", "number"];
86
+ deleted_at: {
87
+ type: string[];
86
88
  };
87
89
  };
88
- readonly additionalProperties: false;
89
- readonly required: readonly ["channel_guid", "channel_name", "created_at", "is_async", "is_private", "last_updated_at", "owner_first_name", "owner_guid", "owner_last_name", "total_duration_ms", "total_messages", "type", "visibility", "workspace_guid", "workspace_name"];
90
+ additionalProperties: boolean;
91
+ required: string[];
90
92
  };
91
- readonly ChannelType: {
92
- readonly type: "string";
93
- readonly enum: readonly ["directMessage", "customerConversation", "namedConversation", "asyncMeeting"];
93
+ ChannelType: {
94
+ type: string;
95
+ enum: string[];
94
96
  };
95
- readonly ChannelVisibility: {
96
- readonly type: "string";
97
- readonly enum: readonly ["private", "workspace", "public"];
97
+ ChannelVisibility: {
98
+ type: string;
99
+ enum: string[];
98
100
  };
99
- readonly AsyncMeetingStats: {
100
- readonly type: "object";
101
- readonly properties: {
102
- readonly channel_stats: {
103
- readonly type: "object";
104
- readonly properties: {
105
- readonly total_duration_milliseconds: {
106
- readonly type: "number";
101
+ AsyncMeetingStats: {
102
+ type: string;
103
+ properties: {
104
+ channel_stats: {
105
+ type: string;
106
+ properties: {
107
+ total_duration_milliseconds: {
108
+ type: string;
107
109
  };
108
- readonly total_heard_milliseconds: {
109
- readonly type: "number";
110
+ total_heard_milliseconds: {
111
+ type: string;
110
112
  };
111
- readonly total_engaged_percentage: {
112
- readonly type: "number";
113
+ total_engaged_percentage: {
114
+ type: string;
113
115
  };
114
- readonly total_messages_posted: {
115
- readonly type: "number";
116
+ total_messages_posted: {
117
+ type: string;
116
118
  };
117
- readonly total_users: {
118
- readonly type: "number";
119
+ total_users: {
120
+ type: string;
119
121
  };
120
122
  };
121
- readonly additionalProperties: false;
122
- readonly required: readonly ["total_duration_milliseconds", "total_engaged_percentage", "total_heard_milliseconds", "total_messages_posted", "total_users"];
123
- };
124
- readonly user_stats: {
125
- readonly type: "array";
126
- readonly items: {
127
- readonly type: "object";
128
- readonly properties: {
129
- readonly user_id: {
130
- readonly type: "string";
123
+ additionalProperties: boolean;
124
+ required: string[];
125
+ };
126
+ user_stats: {
127
+ type: string;
128
+ items: {
129
+ type: string;
130
+ properties: {
131
+ user_id: {
132
+ type: string;
131
133
  };
132
- readonly total_messages_posted: {
133
- readonly type: "number";
134
+ total_messages_posted: {
135
+ type: string;
134
136
  };
135
- readonly total_sent_milliseconds: {
136
- readonly type: "number";
137
+ total_sent_milliseconds: {
138
+ type: string;
137
139
  };
138
- readonly total_heard_milliseconds: {
139
- readonly type: "number";
140
+ total_heard_milliseconds: {
141
+ type: string;
140
142
  };
141
- readonly total_engaged_percentage: {
142
- readonly type: "number";
143
+ total_engaged_percentage: {
144
+ type: string;
143
145
  };
144
- readonly total_heard_messages: {
145
- readonly type: "number";
146
+ total_heard_messages: {
147
+ type: string;
146
148
  };
147
- readonly total_unheard_messages: {
148
- readonly type: "number";
149
+ total_unheard_messages: {
150
+ type: string;
149
151
  };
150
152
  };
151
- readonly additionalProperties: false;
152
- readonly required: readonly ["total_engaged_percentage", "total_heard_messages", "total_heard_milliseconds", "total_messages_posted", "total_sent_milliseconds", "total_unheard_messages", "user_id"];
153
+ additionalProperties: boolean;
154
+ required: string[];
153
155
  };
154
156
  };
155
157
  };
156
- readonly additionalProperties: false;
157
- readonly required: readonly ["channel_stats", "user_stats"];
158
+ additionalProperties: boolean;
159
+ required: string[];
158
160
  };
159
- readonly BasicUser: {
160
- readonly type: "object";
161
- readonly properties: {
162
- readonly user_guid: {
163
- readonly type: "string";
161
+ BasicUser: {
162
+ type: string;
163
+ properties: {
164
+ user_guid: {
165
+ type: string;
164
166
  };
165
- readonly first_name: {
166
- readonly type: "string";
167
+ first_name: {
168
+ type: string;
167
169
  };
168
- readonly last_name: {
169
- readonly type: "string";
170
+ last_name: {
171
+ type: string;
170
172
  };
171
173
  };
172
- readonly additionalProperties: false;
173
- readonly required: readonly ["first_name", "last_name", "user_guid"];
174
+ additionalProperties: boolean;
175
+ required: string[];
174
176
  };
175
177
  };
176
- readonly $schema: "http://json-schema.org/draft-07/schema#";
178
+ $schema: string;
177
179
  };
178
180
  export declare enum ChannelUsersAddedKeys {
179
181
  channel = "channel",
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelUsersAddedSchema.js","sourceRoot":"","sources":["../../src/schemas/ChannelUsersAddedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;SAC9B;QACD,OAAO,EAAE;YACP,IAAI,EAAE,yBAAyB;SAChC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,yBAAyB;aAChC;SACF;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,SAAS,CAAC;IAC9C,WAAW,EAAE;QACX,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,YAA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6BACf;4BACD,wBAAwB,EAAE;gCACxB,IAAI,EAAE,QAAQ;6BACf;4BACD,wBAAwB,EAAE;gCACxB,IAAI,EAAE,QAAQ;6BACf;4BACD,oBAAoB,EAAE;gCACpB,IAAI,EAAE,QAAQ;6BACf;4BACD,sBAAsB,EAAE;gCACtB,IAAI,EAAE,QAAQ;6BACf;yBACF;wBACD,oBAAoB,EAAE,KAAK;wBAC3B,QAAQ,EAAE;4BACR,0BAA0B;4BAC1B,sBAAsB;4BACtB,0BAA0B;4BAC1B,uBAAuB;4BACvB,yBAAyB;4BACzB,wBAAwB;4BACxB,SAAS;yBACV;qBACF;iBACF;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,eAAe,EAAE,YAAY,CAAC;SAC1C;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,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
1
+ {"version":3,"file":"ChannelUsersAddedSchema.js","sourceRoot":"","sources":["../../src/schemas/ChannelUsersAddedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACrC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,OAAO,EAAE;YACP,IAAI,EAAE,uBAAuB;SAC9B;QACD,OAAO,EA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AyB,CAAA;AAC3B,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
@@ -1,47 +1,47 @@
1
1
  export declare const LabelSchema: {
2
- readonly type: "object";
3
- readonly properties: {
4
- readonly _id: {
5
- readonly type: "string";
2
+ type: string;
3
+ properties: {
4
+ _id: {
5
+ type: string;
6
6
  };
7
- readonly name: {
8
- readonly type: "string";
7
+ name: {
8
+ type: string;
9
9
  };
10
- readonly behavior: {
11
- readonly $ref: "#/definitions/LabelBehavior";
10
+ behavior: {
11
+ $ref: string;
12
12
  };
13
- readonly type: {
14
- readonly $ref: "#/definitions/LabelType";
13
+ type: {
14
+ $ref: string;
15
15
  };
16
- readonly creator_guid: {
17
- readonly type: "string";
16
+ creator_guid: {
17
+ type: string;
18
18
  };
19
- readonly space_guid: {
20
- readonly type: readonly ["null", "string"];
19
+ space_guid: {
20
+ type: string[];
21
21
  };
22
- readonly image_url: {
23
- readonly type: readonly ["null", "string"];
22
+ image_url: {
23
+ type: string[];
24
24
  };
25
- readonly automatic_playlist: {
26
- readonly type: "boolean";
25
+ automatic_playlist: {
26
+ type: string;
27
27
  };
28
- readonly sort_order: {
29
- readonly type: "number";
28
+ sort_order: {
29
+ type: string;
30
30
  };
31
31
  };
32
- readonly additionalProperties: false;
33
- readonly required: readonly ["_id", "behavior", "creator_guid", "name", "sort_order", "type"];
34
- readonly definitions: {
35
- readonly LabelBehavior: {
36
- readonly type: "string";
37
- readonly enum: readonly ["removeOnListenStart", "removeWhenHeard", "persistent"];
32
+ additionalProperties: boolean;
33
+ required: string[];
34
+ definitions: {
35
+ LabelBehavior: {
36
+ type: string;
37
+ enum: string[];
38
38
  };
39
- readonly LabelType: {
40
- readonly type: "string";
41
- readonly enum: readonly ["personal", "workspace", "system", "reaction"];
39
+ LabelType: {
40
+ type: string;
41
+ enum: string[];
42
42
  };
43
43
  };
44
- readonly $schema: "http://json-schema.org/draft-07/schema#";
44
+ $schema: string;
45
45
  };
46
46
  export declare enum LabelKeys {
47
47
  _id = "_id",
@@ -1 +1 @@
1
- {"version":3,"file":"LabelSchema.js","sourceRoot":"","sources":["../../src/schemas/LabelSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,GAAG,EAAE;YACH,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,6BAA6B;SACpC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,yBAAyB;SAChC;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;SACf;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,kBAAkB,EAAE;YAClB,IAAI,EAAE,SAAS;SAChB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC;IAC3E,WAAW,EAAE;QACX,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,qBAAqB,EAAE,iBAAiB,EAAE,YAAY,CAAC;SAC/D;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,CAAC;SACtD;KACF;IACD,OAAO,EAAE,yCAAyC;CAC1C,CAAC;AAEX,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,0CAA6B,CAAA;IAC7B,sCAAyB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X,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,0CAA6B,CAAA;IAC7B,sCAAyB,CAAA;IACzB,oCAAuB,CAAA;IACvB,sDAAyC,CAAA;IACzC,sCAAyB,CAAA;AAC3B,CAAC,EAVW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAUpB"}
@@ -1,77 +1,138 @@
1
1
  export declare const MessageSchema: {
2
- readonly type: "object";
3
- readonly properties: {
4
- readonly message_guid: {
5
- readonly type: "string";
2
+ type: string;
3
+ properties: {
4
+ message_guid: {
5
+ type: string;
6
6
  };
7
- readonly creator_guid: {
8
- readonly type: "string";
7
+ creator_guid: {
8
+ type: string;
9
9
  };
10
- readonly channel_guid: {
11
- readonly type: readonly ["null", "string"];
10
+ channel_guid: {
11
+ type: string[];
12
12
  };
13
- readonly workspace_guid: {
14
- readonly type: readonly ["null", "string"];
13
+ workspace_guid: {
14
+ type: string[];
15
15
  };
16
- readonly created_at: {
17
- readonly type: "number";
16
+ created_at: {
17
+ type: string;
18
18
  };
19
- readonly last_updated_at: {
20
- readonly type: "number";
19
+ last_updated_at: {
20
+ type: string;
21
21
  };
22
- readonly deleted_at: {
23
- readonly type: readonly ["null", "number"];
22
+ deleted_at: {
23
+ type: string[];
24
24
  };
25
- readonly duration_ms: {
26
- readonly type: "number";
25
+ duration_ms: {
26
+ type: string;
27
27
  };
28
- readonly message_url: {
29
- readonly type: readonly ["null", "string"];
28
+ message_url: {
29
+ type: string[];
30
30
  };
31
- readonly audio_stream_url: {
32
- readonly type: readonly ["null", "string"];
31
+ audio_stream_url: {
32
+ type: string[];
33
33
  };
34
- readonly transcript_txt: {
35
- readonly type: readonly ["null", "string"];
34
+ transcript_txt: {
35
+ type: string[];
36
36
  };
37
- readonly ai_summary_txt: {
38
- readonly type: readonly ["null", "string"];
37
+ ai_summary_txt: {
38
+ type: string[];
39
39
  };
40
- readonly has_ai_summary: {
41
- readonly type: "boolean";
40
+ has_ai_summary: {
41
+ type: string;
42
42
  };
43
- readonly waveform_url: {
44
- readonly type: readonly ["null", "string"];
43
+ waveform_url: {
44
+ type: string[];
45
45
  };
46
- readonly reply_count: {
47
- readonly type: "number";
46
+ reply_count: {
47
+ type: string;
48
48
  };
49
- readonly parent_message_guid: {
50
- readonly type: readonly ["null", "string"];
49
+ parent_message_guid: {
50
+ type: string[];
51
51
  };
52
- readonly language: {
53
- readonly type: readonly ["null", "string"];
52
+ language: {
53
+ type: string[];
54
54
  };
55
- readonly status: {
56
- readonly $ref: "#/definitions/MessageStatus";
55
+ status: {
56
+ $ref: string;
57
57
  };
58
- readonly type: {
59
- readonly $ref: "#/definitions/MessageType";
58
+ attachments: {
59
+ type: string;
60
+ items: {
61
+ $ref: string;
62
+ };
60
63
  };
61
- };
62
- readonly additionalProperties: false;
63
- readonly required: readonly ["created_at", "creator_guid", "duration_ms", "last_updated_at", "message_guid", "reply_count", "status", "type"];
64
- readonly definitions: {
65
- readonly MessageStatus: {
66
- readonly type: "string";
67
- readonly enum: readonly ["offline", "paused", "processing", "scheduled", "active", "deleted", "account-deleted", "initializing", "inprogress", "canceled"];
64
+ type: {
65
+ $ref: string;
68
66
  };
69
- readonly MessageType: {
70
- readonly type: "string";
71
- readonly enum: readonly ["channel", "prerecorded", "voicememo", "stored", "welcome"];
67
+ };
68
+ additionalProperties: boolean;
69
+ required: string[];
70
+ definitions: {
71
+ MessageStatus: {
72
+ type: string;
73
+ enum: string[];
74
+ };
75
+ Attachment: {
76
+ type: string;
77
+ properties: {
78
+ _id: {
79
+ type: string;
80
+ };
81
+ creator_id: {
82
+ type: string;
83
+ };
84
+ created_at: {
85
+ type: string;
86
+ format: string;
87
+ };
88
+ type: {
89
+ $ref: string;
90
+ };
91
+ link: {
92
+ type: string;
93
+ };
94
+ active_begin: {
95
+ anyOf: ({
96
+ type: string;
97
+ format: string;
98
+ } | {
99
+ type: string;
100
+ format?: undefined;
101
+ })[];
102
+ };
103
+ active_end: {
104
+ anyOf: ({
105
+ type: string;
106
+ format: string;
107
+ } | {
108
+ type: string;
109
+ format?: undefined;
110
+ })[];
111
+ };
112
+ filename: {
113
+ type: string[];
114
+ };
115
+ mime_type: {
116
+ type: string[];
117
+ };
118
+ length_in_bytes: {
119
+ type: string[];
120
+ };
121
+ location: {};
122
+ };
123
+ additionalProperties: boolean;
124
+ required: string[];
125
+ };
126
+ AttachmentType: {
127
+ type: string;
128
+ enum: string[];
129
+ };
130
+ MessageType: {
131
+ type: string;
132
+ enum: string[];
72
133
  };
73
134
  };
74
- readonly $schema: "http://json-schema.org/draft-07/schema#";
135
+ $schema: string;
75
136
  };
76
137
  export declare enum MessageKeys {
77
138
  message_guid = "message_guid",
@@ -92,5 +153,6 @@ export declare enum MessageKeys {
92
153
  parent_message_guid = "parent_message_guid",
93
154
  language = "language",
94
155
  status = "status",
156
+ attachments = "attachments",
95
157
  type = "type"
96
158
  }