@webitel/api-services 26.8.91 → 26.10.1
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/package.json +1 -1
- package/src/api/clients/cases/cases.ts +1 -0
- package/src/gen/_models/contactsIMClient.ts +6 -0
- package/src/gen/_models/contactsInputIMClient.ts +5 -0
- package/src/gen/_models/contactsSearchParams.ts +4 -0
- package/src/gen/_models/delContactLanguagesParams.ts +1 -0
- package/src/gen/_models/deleteContactGroupsParams.ts +1 -0
- package/src/gen/_models/deleteEmailsParams.ts +1 -0
- package/src/gen/_models/deleteLabelsParams.ts +1 -0
- package/src/gen/_models/deleteManagersParams.ts +1 -0
- package/src/gen/_models/deletePhonesParams.ts +1 -0
- package/src/gen/_models/deletePhotosParams.ts +1 -0
- package/src/gen/_models/deleteTimezonesParams.ts +1 -0
- package/src/gen/_models/deleteVariablesParams.ts +1 -0
- package/src/gen/_models/iMClientsLinkIMContactBody.ts +17 -0
- package/src/gen/_models/index.ts +5 -0
- package/src/gen/_models/protobufNullValue.ts +8 -3
- package/src/gen/_models/threadManagementSearchParams.ts +10 -0
- package/src/gen/_models/webitelImApiGatewayV1Contact.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1DeletedMessage.ts +18 -0
- package/src/gen/_models/webitelImApiGatewayV1SetCrmContactResponse.ts +10 -0
- package/src/gen/_models/webitelImApiGatewayV1Thread.ts +8 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadManagementSetCrmContactBody.ts +11 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadTags.ts +13 -0
- package/src/gen/_models/webitelImApiGatewayV1ThreadUpdates.ts +12 -1
- package/src/gen-wire/_models/contactsIMClient.ts +6 -0
- package/src/gen-wire/_models/contactsInputIMClient.ts +5 -0
- package/src/gen-wire/_models/contactsSearchParams.ts +4 -0
- package/src/gen-wire/_models/delContactLanguagesParams.ts +1 -0
- package/src/gen-wire/_models/deleteContactGroupsParams.ts +1 -0
- package/src/gen-wire/_models/deleteEmailsParams.ts +1 -0
- package/src/gen-wire/_models/deleteLabelsParams.ts +1 -0
- package/src/gen-wire/_models/deleteManagersParams.ts +1 -0
- package/src/gen-wire/_models/deletePhonesParams.ts +1 -0
- package/src/gen-wire/_models/deletePhotosParams.ts +1 -0
- package/src/gen-wire/_models/deleteTimezonesParams.ts +1 -0
- package/src/gen-wire/_models/deleteVariablesParams.ts +1 -0
- package/src/gen-wire/_models/iMClientsLinkIMContactBody.ts +17 -0
- package/src/gen-wire/_models/index.ts +5 -0
- package/src/gen-wire/_models/protobufNullValue.ts +8 -3
- package/src/gen-wire/_models/threadManagementSearchParams.ts +10 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1Contact.ts +2 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1DeletedMessage.ts +18 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1SetCrmContactResponse.ts +10 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1Thread.ts +8 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadManagementSetCrmContactBody.ts +11 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadTags.ts +13 -0
- package/src/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.ts +12 -1
- package/src/gen-wire/contact-groups/contact-groups.zod.ts +4 -1
- package/src/gen-wire/contacts/contacts.zod.ts +60 -0
- package/src/gen-wire/emails/emails.zod.ts +1 -0
- package/src/gen-wire/groups/groups.zod.ts +12 -0
- package/src/gen-wire/imclients/imclients.ts +20 -0
- package/src/gen-wire/imclients/imclients.zod.ts +146 -0
- package/src/gen-wire/index.ts +6 -0
- package/src/gen-wire/labels/labels.zod.ts +1 -0
- package/src/gen-wire/languages/languages.zod.ts +1 -0
- package/src/gen-wire/managers/managers.zod.ts +4 -1
- package/src/gen-wire/phones/phones.zod.ts +4 -1
- package/src/gen-wire/photos/photos.zod.ts +4 -1
- package/src/gen-wire/presence/presence.zod.ts +2 -2
- package/src/gen-wire/timezones/timezones.zod.ts +4 -1
- package/src/gen-wire/variables/variables.zod.ts +1 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.ts +2 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +64 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.ts +20 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.ts +253 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.ts +3 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.ts +49 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.ts +34 -0
- package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts +236 -2
- package/types/.tsbuildinfo +1 -1
- package/types/gen/_models/contactsIMClient.d.ts +6 -0
- package/types/gen/_models/contactsInputIMClient.d.ts +5 -0
- package/types/gen/_models/contactsSearchParams.d.ts +4 -0
- package/types/gen/_models/delContactLanguagesParams.d.ts +1 -0
- package/types/gen/_models/deleteContactGroupsParams.d.ts +1 -0
- package/types/gen/_models/deleteEmailsParams.d.ts +1 -0
- package/types/gen/_models/deleteLabelsParams.d.ts +1 -0
- package/types/gen/_models/deleteManagersParams.d.ts +1 -0
- package/types/gen/_models/deletePhonesParams.d.ts +1 -0
- package/types/gen/_models/deletePhotosParams.d.ts +1 -0
- package/types/gen/_models/deleteTimezonesParams.d.ts +1 -0
- package/types/gen/_models/deleteVariablesParams.d.ts +1 -0
- package/types/gen/_models/iMClientsLinkIMContactBody.d.ts +16 -0
- package/types/gen/_models/index.d.ts +5 -0
- package/types/gen/_models/protobufNullValue.d.ts +8 -3
- package/types/gen/_models/threadManagementSearchParams.d.ts +10 -0
- package/types/gen/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1DeletedMessage.d.ts +17 -0
- package/types/gen/_models/webitelImApiGatewayV1SetCrmContactResponse.d.ts +9 -0
- package/types/gen/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadManagementSetCrmContactBody.d.ts +10 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadTags.d.ts +12 -0
- package/types/gen/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +12 -1
- package/types/gen-wire/_models/contactsIMClient.d.ts +6 -0
- package/types/gen-wire/_models/contactsInputIMClient.d.ts +5 -0
- package/types/gen-wire/_models/contactsSearchParams.d.ts +4 -0
- package/types/gen-wire/_models/delContactLanguagesParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteContactGroupsParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteEmailsParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteLabelsParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteManagersParams.d.ts +1 -0
- package/types/gen-wire/_models/deletePhonesParams.d.ts +1 -0
- package/types/gen-wire/_models/deletePhotosParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteTimezonesParams.d.ts +1 -0
- package/types/gen-wire/_models/deleteVariablesParams.d.ts +1 -0
- package/types/gen-wire/_models/iMClientsLinkIMContactBody.d.ts +16 -0
- package/types/gen-wire/_models/index.d.ts +5 -0
- package/types/gen-wire/_models/protobufNullValue.d.ts +8 -3
- package/types/gen-wire/_models/threadManagementSearchParams.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1Contact.d.ts +2 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1DeletedMessage.d.ts +17 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1SetCrmContactResponse.d.ts +9 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1Thread.d.ts +8 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadManagementSetCrmContactBody.d.ts +10 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadTags.d.ts +12 -0
- package/types/gen-wire/_models/webitelImApiGatewayV1ThreadUpdates.d.ts +12 -1
- package/types/gen-wire/contacts/contacts.zod.d.ts +11 -0
- package/types/gen-wire/groups/groups.zod.d.ts +2 -0
- package/types/gen-wire/imclients/imclients.d.ts +3 -1
- package/types/gen-wire/imclients/imclients.zod.d.ts +46 -0
- package/types/gen-wire/index.d.ts +2 -2
- package/types/gen-wire/webitel-im-api-gateway-v1-contacts/webitel-im-api-gateway-v1-contacts.zod.d.ts +2 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +16 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.d.ts +3 -1
- package/types/gen-wire/webitel-im-api-gateway-v1-threadmanagement/webitel-im-api-gateway-v1-threadmanagement.zod.d.ts +81 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadpreviewservice/webitel-im-api-gateway-v1-threadpreviewservice.zod.d.ts +3 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.d.ts +6 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-threadtagmanagement/webitel-im-api-gateway-v1-threadtagmanagement.zod.d.ts +28 -0
- package/types/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.d.ts +76 -0
package/src/gen-wire/webitel-im-api-gateway-v1-updates/webitel-im-api-gateway-v1-updates.zod.ts
CHANGED
|
@@ -17,6 +17,7 @@ export const UpdatesGetUpdatesBody = zod.object({
|
|
|
17
17
|
.describe('From the previous response; empty on the first sync.'),
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
+
export const updatesGetUpdatesResponseThreadsItemDeletedMessagesItemDeletedByRoleDefault = `ROLE_UNSPECIFIED`;
|
|
20
21
|
export const updatesGetUpdatesResponseThreadsItemDialogLastMsgDeletedByRoleDefault = `ROLE_UNSPECIFIED`;
|
|
21
22
|
export const updatesGetUpdatesResponseThreadsItemDialogLastMsgFailuresItemMemberRoleDefault = `ROLE_UNSPECIFIED`;
|
|
22
23
|
export const updatesGetUpdatesResponseThreadsItemDialogLastMsgForwardOriginKindDefault = `FORWARD_ORIGIN_KIND_UNSPECIFIED`;
|
|
@@ -59,13 +60,178 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
59
60
|
threads: zod
|
|
60
61
|
.array(
|
|
61
62
|
zod.object({
|
|
62
|
-
|
|
63
|
+
tags: zod
|
|
64
|
+
.object({
|
|
65
|
+
items: zod.array(zod.string()).optional(),
|
|
66
|
+
})
|
|
67
|
+
.optional()
|
|
68
|
+
.describe(
|
|
69
|
+
"The caller's current tags on the thread, set only when they changed since cursor; replace the\ncached ones. Absent means unchanged, empty items means every tag was removed.",
|
|
70
|
+
),
|
|
71
|
+
deleted_message_ids: zod
|
|
72
|
+
.array(zod.string())
|
|
73
|
+
.optional()
|
|
74
|
+
.describe(
|
|
75
|
+
'Ids of deleted_messages, kept for older clients; prefer deleted_messages.',
|
|
76
|
+
),
|
|
77
|
+
deleted_messages: zod
|
|
78
|
+
.array(
|
|
79
|
+
zod
|
|
80
|
+
.object({
|
|
81
|
+
deleted_at: zod
|
|
82
|
+
.string()
|
|
83
|
+
.optional()
|
|
84
|
+
.describe(
|
|
85
|
+
'Unix time in milliseconds when the message was deleted.',
|
|
86
|
+
),
|
|
87
|
+
deleted_by: zod
|
|
88
|
+
.object({
|
|
89
|
+
contact: zod
|
|
90
|
+
.object({
|
|
91
|
+
app_id: zod
|
|
92
|
+
.string()
|
|
93
|
+
.optional()
|
|
94
|
+
.describe(
|
|
95
|
+
'Identifier of the specific integration app or bot.',
|
|
96
|
+
),
|
|
97
|
+
created_at: zod
|
|
98
|
+
.string()
|
|
99
|
+
.optional()
|
|
100
|
+
.describe(
|
|
101
|
+
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
102
|
+
),
|
|
103
|
+
id: zod
|
|
104
|
+
.string()
|
|
105
|
+
.optional()
|
|
106
|
+
.describe('Unique contact identifier.'),
|
|
107
|
+
is_bot: zod
|
|
108
|
+
.boolean()
|
|
109
|
+
.optional()
|
|
110
|
+
.describe(
|
|
111
|
+
'Represents if usere is real person or automatic script.',
|
|
112
|
+
),
|
|
113
|
+
iss: zod
|
|
114
|
+
.string()
|
|
115
|
+
.optional()
|
|
116
|
+
.describe(
|
|
117
|
+
'Provider-specific unique identifier (Issuer ID).',
|
|
118
|
+
),
|
|
119
|
+
metadata: zod
|
|
120
|
+
.record(zod.string(), zod.string())
|
|
121
|
+
.optional()
|
|
122
|
+
.describe(
|
|
123
|
+
'Additional dynamic attributes provided by the messenger.',
|
|
124
|
+
),
|
|
125
|
+
name: zod
|
|
126
|
+
.string()
|
|
127
|
+
.optional()
|
|
128
|
+
.describe('Display name of the contact.'),
|
|
129
|
+
sub: zod
|
|
130
|
+
.string()
|
|
131
|
+
.optional()
|
|
132
|
+
.describe(
|
|
133
|
+
'Associated internal system subject/identifier.',
|
|
134
|
+
),
|
|
135
|
+
type: zod
|
|
136
|
+
.string()
|
|
137
|
+
.optional()
|
|
138
|
+
.describe(
|
|
139
|
+
"Channel type (e.g., 'webchat', 'telegram').",
|
|
140
|
+
),
|
|
141
|
+
updated_at: zod
|
|
142
|
+
.string()
|
|
143
|
+
.optional()
|
|
144
|
+
.describe(
|
|
145
|
+
'Last record update timestamp (Unix Epoch in milliseconds).',
|
|
146
|
+
),
|
|
147
|
+
username: zod
|
|
148
|
+
.string()
|
|
149
|
+
.optional()
|
|
150
|
+
.describe('Technical username or handle.'),
|
|
151
|
+
vias: zod
|
|
152
|
+
.array(
|
|
153
|
+
zod.object({
|
|
154
|
+
contact_id: zod.string().optional(),
|
|
155
|
+
created_at: zod.string().optional(),
|
|
156
|
+
disable: zod.boolean().optional(),
|
|
157
|
+
disable_reason: zod.string().optional(),
|
|
158
|
+
metadata: zod.looseObject({}).optional(),
|
|
159
|
+
updated_at: zod.string().optional(),
|
|
160
|
+
via: zod.string().optional(),
|
|
161
|
+
}),
|
|
162
|
+
)
|
|
163
|
+
.optional(),
|
|
164
|
+
})
|
|
165
|
+
.optional()
|
|
166
|
+
.describe(
|
|
167
|
+
'Contact represents an external messaging identity.',
|
|
168
|
+
),
|
|
169
|
+
id: zod.string().optional(),
|
|
170
|
+
permissions: zod
|
|
171
|
+
.object({
|
|
172
|
+
can_add_members: zod.boolean().optional(),
|
|
173
|
+
can_change_members_permissions: zod
|
|
174
|
+
.boolean()
|
|
175
|
+
.optional(),
|
|
176
|
+
can_change_thread_info: zod.boolean().optional(),
|
|
177
|
+
can_delete_messages: zod.boolean().optional(),
|
|
178
|
+
can_remove_members: zod.boolean().optional(),
|
|
179
|
+
can_send_messages: zod.boolean().optional(),
|
|
180
|
+
created_at: zod.string().optional(),
|
|
181
|
+
id: zod.string().optional(),
|
|
182
|
+
member_id: zod.string().optional(),
|
|
183
|
+
updated_at: zod.string().optional(),
|
|
184
|
+
})
|
|
185
|
+
.optional(),
|
|
186
|
+
role: zod
|
|
187
|
+
.enum([
|
|
188
|
+
'ROLE_UNSPECIFIED',
|
|
189
|
+
'ROLE_MEMBER',
|
|
190
|
+
'ROLE_ADMIN',
|
|
191
|
+
'ROLE_OWNER',
|
|
192
|
+
'ROLE_SUPERVISOR',
|
|
193
|
+
])
|
|
194
|
+
.default(
|
|
195
|
+
updatesGetUpdatesResponseThreadsItemDeletedMessagesItemDeletedByRoleDefault,
|
|
196
|
+
),
|
|
197
|
+
})
|
|
198
|
+
.optional()
|
|
199
|
+
.describe(
|
|
200
|
+
"Member who deleted the message, in the same shape as a message's sender.",
|
|
201
|
+
),
|
|
202
|
+
id: zod.string().optional(),
|
|
203
|
+
})
|
|
204
|
+
.describe('DeletedMessage is a message deleted since cursor.'),
|
|
205
|
+
)
|
|
206
|
+
.optional()
|
|
207
|
+
.describe(
|
|
208
|
+
'Messages deleted since cursor, with when and who deleted them; drop them by id.',
|
|
209
|
+
),
|
|
63
210
|
dialog: zod
|
|
64
211
|
.object({
|
|
212
|
+
tags: zod
|
|
213
|
+
.array(
|
|
214
|
+
zod.object({
|
|
215
|
+
created_at: zod.string().optional(),
|
|
216
|
+
id: zod.string().optional(),
|
|
217
|
+
tag: zod.string().optional(),
|
|
218
|
+
thread_id: zod.string().optional(),
|
|
219
|
+
}),
|
|
220
|
+
)
|
|
221
|
+
.optional()
|
|
222
|
+
.describe(
|
|
223
|
+
"The caller's own tags on this thread. Empty if the caller hasn't tagged it.",
|
|
224
|
+
),
|
|
65
225
|
created_at: zod
|
|
66
226
|
.string()
|
|
67
227
|
.optional()
|
|
68
228
|
.describe('Thread creation timestamp (Unix time, milliseconds).'),
|
|
229
|
+
crm_contact_id: zod
|
|
230
|
+
.string()
|
|
231
|
+
.optional()
|
|
232
|
+
.describe(
|
|
233
|
+
'Webitel CRM contact selected by an operator for this thread.\nEmpty if no CRM contact has been selected.',
|
|
234
|
+
),
|
|
69
235
|
description: zod
|
|
70
236
|
.string()
|
|
71
237
|
.optional()
|
|
@@ -115,6 +281,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
115
281
|
.describe(
|
|
116
282
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
117
283
|
),
|
|
284
|
+
id: zod
|
|
285
|
+
.string()
|
|
286
|
+
.optional()
|
|
287
|
+
.describe('Unique contact identifier.'),
|
|
118
288
|
is_bot: zod
|
|
119
289
|
.boolean()
|
|
120
290
|
.optional()
|
|
@@ -294,6 +464,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
294
464
|
.describe(
|
|
295
465
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
296
466
|
),
|
|
467
|
+
id: zod
|
|
468
|
+
.string()
|
|
469
|
+
.optional()
|
|
470
|
+
.describe('Unique contact identifier.'),
|
|
297
471
|
is_bot: zod
|
|
298
472
|
.boolean()
|
|
299
473
|
.optional()
|
|
@@ -815,6 +989,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
815
989
|
.describe(
|
|
816
990
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
817
991
|
),
|
|
992
|
+
id: zod
|
|
993
|
+
.string()
|
|
994
|
+
.optional()
|
|
995
|
+
.describe('Unique contact identifier.'),
|
|
818
996
|
is_bot: zod
|
|
819
997
|
.boolean()
|
|
820
998
|
.optional()
|
|
@@ -980,6 +1158,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
980
1158
|
.describe(
|
|
981
1159
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
982
1160
|
),
|
|
1161
|
+
id: zod
|
|
1162
|
+
.string()
|
|
1163
|
+
.optional()
|
|
1164
|
+
.describe('Unique contact identifier.'),
|
|
983
1165
|
is_bot: zod
|
|
984
1166
|
.boolean()
|
|
985
1167
|
.optional()
|
|
@@ -1106,6 +1288,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1106
1288
|
.describe(
|
|
1107
1289
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1108
1290
|
),
|
|
1291
|
+
id: zod
|
|
1292
|
+
.string()
|
|
1293
|
+
.optional()
|
|
1294
|
+
.describe('Unique contact identifier.'),
|
|
1109
1295
|
is_bot: zod
|
|
1110
1296
|
.boolean()
|
|
1111
1297
|
.optional()
|
|
@@ -1252,6 +1438,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1252
1438
|
.describe(
|
|
1253
1439
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1254
1440
|
),
|
|
1441
|
+
id: zod
|
|
1442
|
+
.string()
|
|
1443
|
+
.optional()
|
|
1444
|
+
.describe('Unique contact identifier.'),
|
|
1255
1445
|
is_bot: zod
|
|
1256
1446
|
.boolean()
|
|
1257
1447
|
.optional()
|
|
@@ -1370,6 +1560,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1370
1560
|
.describe(
|
|
1371
1561
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1372
1562
|
),
|
|
1563
|
+
id: zod
|
|
1564
|
+
.string()
|
|
1565
|
+
.optional()
|
|
1566
|
+
.describe('Unique contact identifier.'),
|
|
1373
1567
|
is_bot: zod
|
|
1374
1568
|
.boolean()
|
|
1375
1569
|
.optional()
|
|
@@ -1557,6 +1751,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1557
1751
|
.describe(
|
|
1558
1752
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1559
1753
|
),
|
|
1754
|
+
id: zod
|
|
1755
|
+
.string()
|
|
1756
|
+
.optional()
|
|
1757
|
+
.describe('Unique contact identifier.'),
|
|
1560
1758
|
is_bot: zod
|
|
1561
1759
|
.boolean()
|
|
1562
1760
|
.optional()
|
|
@@ -1638,7 +1836,7 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1638
1836
|
})
|
|
1639
1837
|
.optional()
|
|
1640
1838
|
.describe(
|
|
1641
|
-
'The thread itself, set when it is new to the caller (created or joined since cursor).\nSame model as the thread list, except last_msg and updates_cursor are never set here.',
|
|
1839
|
+
'The thread itself, set when it is new to the caller (created or joined since cursor)\nor when its attributes changed since cursor (e.g. crm_contact_id); replace the cached thread.\nSame model as the thread list, except last_msg and updates_cursor are never set here.',
|
|
1642
1840
|
),
|
|
1643
1841
|
left: zod
|
|
1644
1842
|
.boolean()
|
|
@@ -1672,6 +1870,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1672
1870
|
.describe(
|
|
1673
1871
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1674
1872
|
),
|
|
1873
|
+
id: zod
|
|
1874
|
+
.string()
|
|
1875
|
+
.optional()
|
|
1876
|
+
.describe('Unique contact identifier.'),
|
|
1675
1877
|
is_bot: zod
|
|
1676
1878
|
.boolean()
|
|
1677
1879
|
.optional()
|
|
@@ -1779,6 +1981,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1779
1981
|
.describe(
|
|
1780
1982
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1781
1983
|
),
|
|
1984
|
+
id: zod
|
|
1985
|
+
.string()
|
|
1986
|
+
.optional()
|
|
1987
|
+
.describe('Unique contact identifier.'),
|
|
1782
1988
|
is_bot: zod
|
|
1783
1989
|
.boolean()
|
|
1784
1990
|
.optional()
|
|
@@ -1969,6 +2175,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
1969
2175
|
.describe(
|
|
1970
2176
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
1971
2177
|
),
|
|
2178
|
+
id: zod
|
|
2179
|
+
.string()
|
|
2180
|
+
.optional()
|
|
2181
|
+
.describe('Unique contact identifier.'),
|
|
1972
2182
|
is_bot: zod
|
|
1973
2183
|
.boolean()
|
|
1974
2184
|
.optional()
|
|
@@ -2509,6 +2719,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
2509
2719
|
.describe(
|
|
2510
2720
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
2511
2721
|
),
|
|
2722
|
+
id: zod
|
|
2723
|
+
.string()
|
|
2724
|
+
.optional()
|
|
2725
|
+
.describe('Unique contact identifier.'),
|
|
2512
2726
|
is_bot: zod
|
|
2513
2727
|
.boolean()
|
|
2514
2728
|
.optional()
|
|
@@ -2629,6 +2843,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
2629
2843
|
.describe(
|
|
2630
2844
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
2631
2845
|
),
|
|
2846
|
+
id: zod
|
|
2847
|
+
.string()
|
|
2848
|
+
.optional()
|
|
2849
|
+
.describe('Unique contact identifier.'),
|
|
2632
2850
|
is_bot: zod
|
|
2633
2851
|
.boolean()
|
|
2634
2852
|
.optional()
|
|
@@ -2779,6 +2997,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
2779
2997
|
.describe(
|
|
2780
2998
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
2781
2999
|
),
|
|
3000
|
+
id: zod
|
|
3001
|
+
.string()
|
|
3002
|
+
.optional()
|
|
3003
|
+
.describe('Unique contact identifier.'),
|
|
2782
3004
|
is_bot: zod
|
|
2783
3005
|
.boolean()
|
|
2784
3006
|
.optional()
|
|
@@ -2976,6 +3198,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
2976
3198
|
.describe(
|
|
2977
3199
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
2978
3200
|
),
|
|
3201
|
+
id: zod
|
|
3202
|
+
.string()
|
|
3203
|
+
.optional()
|
|
3204
|
+
.describe('Unique contact identifier.'),
|
|
2979
3205
|
is_bot: zod
|
|
2980
3206
|
.boolean()
|
|
2981
3207
|
.optional()
|
|
@@ -3509,6 +3735,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
3509
3735
|
.describe(
|
|
3510
3736
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
3511
3737
|
),
|
|
3738
|
+
id: zod
|
|
3739
|
+
.string()
|
|
3740
|
+
.optional()
|
|
3741
|
+
.describe('Unique contact identifier.'),
|
|
3512
3742
|
is_bot: zod
|
|
3513
3743
|
.boolean()
|
|
3514
3744
|
.optional()
|
|
@@ -3629,6 +3859,10 @@ export const UpdatesGetUpdatesResponse = zod.object({
|
|
|
3629
3859
|
.describe(
|
|
3630
3860
|
'Record creation timestamp (Unix Epoch in milliseconds).',
|
|
3631
3861
|
),
|
|
3862
|
+
id: zod
|
|
3863
|
+
.string()
|
|
3864
|
+
.optional()
|
|
3865
|
+
.describe('Unique contact identifier.'),
|
|
3632
3866
|
is_bot: zod
|
|
3633
3867
|
.boolean()
|
|
3634
3868
|
.optional()
|