webitel-sdk 23.7.7 → 23.7.8

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 (53) hide show
  1. package/bundles/index.esm.js +1123 -129
  2. package/bundles/index.esm.js.map +1 -1
  3. package/bundles/index.esm.min.js +1 -1
  4. package/bundles/index.esm.min.js.map +1 -1
  5. package/bundles/index.umd.js +1413 -305
  6. package/bundles/index.umd.js.map +1 -1
  7. package/bundles/index.umd.min.js +1 -1
  8. package/bundles/index.umd.min.js.map +1 -1
  9. package/esm2015/api/contacts-api.js +15 -15
  10. package/esm2015/api/contacts-api.js.map +1 -1
  11. package/esm2015/api/index.js +2 -0
  12. package/esm2015/api/index.js.map +1 -1
  13. package/esm2015/api/logger-action.js +8 -8
  14. package/esm2015/api/logger-service-api.js +8 -8
  15. package/esm2015/api/managers-api.js +984 -0
  16. package/esm2015/api/managers-api.js.map +1 -0
  17. package/esm2015/api/newupdate-of-the-manager-link.js +13 -0
  18. package/esm2015/api/newupdate-of-the-manager-link.js.map +1 -0
  19. package/esm2015/api/newupdate-of-the-manager-link1.js +13 -0
  20. package/esm2015/api/newupdate-of-the-manager-link1.js.map +1 -0
  21. package/esm2015/api.js +1 -0
  22. package/esm2015/api.js.map +1 -1
  23. package/esm5/api/contacts-api.js +15 -15
  24. package/esm5/api/contacts-api.js.map +1 -1
  25. package/esm5/api/index.js +2 -0
  26. package/esm5/api/index.js.map +1 -1
  27. package/esm5/api/logger-action.js +8 -8
  28. package/esm5/api/logger-service-api.js +8 -8
  29. package/esm5/api/managers-api.js +1096 -0
  30. package/esm5/api/managers-api.js.map +1 -0
  31. package/esm5/api/newupdate-of-the-manager-link.js +13 -0
  32. package/esm5/api/newupdate-of-the-manager-link.js.map +1 -0
  33. package/esm5/api/newupdate-of-the-manager-link1.js +13 -0
  34. package/esm5/api/newupdate-of-the-manager-link1.js.map +1 -0
  35. package/esm5/api.js +1 -0
  36. package/esm5/api.js.map +1 -1
  37. package/package.json +1 -1
  38. package/types/api/contacts-api.d.ts +8 -8
  39. package/types/api/contacts-api.d.ts.map +1 -1
  40. package/types/api/engine-agent-today-statistics-response.d.ts +12 -0
  41. package/types/api/engine-agent-today-statistics-response.d.ts.map +1 -1
  42. package/types/api/index.d.ts +2 -0
  43. package/types/api/index.d.ts.map +1 -1
  44. package/types/api/logger-action.d.ts +6 -6
  45. package/types/api/logger-service-api.d.ts +16 -16
  46. package/types/api/managers-api.d.ts +398 -0
  47. package/types/api/managers-api.d.ts.map +1 -0
  48. package/types/api/newupdate-of-the-manager-link.d.ts +32 -0
  49. package/types/api/newupdate-of-the-manager-link.d.ts.map +1 -0
  50. package/types/api/newupdate-of-the-manager-link1.d.ts +32 -0
  51. package/types/api/newupdate-of-the-manager-link1.d.ts.map +1 -0
  52. package/types/api.d.ts +1 -0
  53. package/types/api.d.ts.map +1 -1
@@ -0,0 +1,398 @@
1
+ /**
2
+ * Webitel engine API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 23.07.0
6
+ * Contact: support@webitel.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { NEWUpdateOfTheManagerLink } from '../api';
16
+ import { NEWUpdateOfTheManagerLink1 } from '../api';
17
+ import { WebitelContactsInputManager } from '../api';
18
+ import { WebitelContactsManager } from '../api';
19
+ import { WebitelContactsManagerList } from '../api';
20
+ /**
21
+ * ManagersApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const ManagersApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
25
+ /**
26
+ *
27
+ * @summary Remove the contact\'s manager address link
28
+ * @param {string} contactId Contact ID associated with.
29
+ * @param {string} etag Unique ID to remove.
30
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ deleteManager: (contactId: string, etag: string, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
35
+ /**
36
+ *
37
+ * @summary Remove Contact Managers associations.
38
+ * @param {string} contactId Contact ID associated with.
39
+ * @param {Array<string>} etag Set of unique ID(s) to remove.
40
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ deleteManagers: (contactId: string, etag: Array<string>, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @summary Search the Contact\'s Managers.
48
+ * @param {string} contactId Contact ID associated with.
49
+ * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
50
+ * @param {number} [size] Size of result page. limit &#x3D; (size++)
51
+ * @param {string} [q] Search term: user name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
52
+ * @param {Array<string>} [sort] Sort the result according to fields.
53
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
54
+ * @param {Array<string>} [id] Record(s) with unique ID only.
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ listManagers: (contactId: string, page?: number | undefined, size?: number | undefined, q?: string | undefined, sort?: string[] | undefined, fields?: string[] | undefined, id?: string[] | undefined, options?: any) => Promise<RequestArgs>;
59
+ /**
60
+ *
61
+ * @summary Locate the manager address link.
62
+ * @param {string} contactId Contact source ID.
63
+ * @param {string} etag Unique manager link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
64
+ * @param {Array<string>} [fields] Fields to be retrieved into result.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ locateManager: (contactId: string, etag: string, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
69
+ /**
70
+ *
71
+ * @summary Associate new Managers to the Contact.
72
+ * @param {string} contactId Link contact ID.
73
+ * @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
74
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ mergeManagers: (contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
79
+ /**
80
+ *
81
+ * @summary Reset Managers to fit the specified final set.
82
+ * @param {string} contactId Contact ID associated with.
83
+ * @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become &#x60;primary&#x60; if no other specified.
84
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ resetManagers: (contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
89
+ /**
90
+ *
91
+ * @summary Update the contact\'s manager address link details
92
+ * @param {string} contactId Link contact ID.
93
+ * @param {string} etag Unique ID of the latest version of an existing resource.
94
+ * @param {NEWUpdateOfTheManagerLink} input
95
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ updateManager: (contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
100
+ /**
101
+ *
102
+ * @summary Update the contact\'s manager address link details
103
+ * @param {string} contactId Link contact ID.
104
+ * @param {string} etag Unique ID of the latest version of an existing resource.
105
+ * @param {NEWUpdateOfTheManagerLink1} input
106
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ updateManager2: (contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any) => Promise<RequestArgs>;
111
+ };
112
+ /**
113
+ * ManagersApi - functional programming interface
114
+ * @export
115
+ */
116
+ export declare const ManagersApiFp: (configuration?: Configuration | undefined) => {
117
+ /**
118
+ *
119
+ * @summary Remove the contact\'s manager address link
120
+ * @param {string} contactId Contact ID associated with.
121
+ * @param {string} etag Unique ID to remove.
122
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ deleteManager(contactId: string, etag: string, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManager>>;
127
+ /**
128
+ *
129
+ * @summary Remove Contact Managers associations.
130
+ * @param {string} contactId Contact ID associated with.
131
+ * @param {Array<string>} etag Set of unique ID(s) to remove.
132
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ deleteManagers(contactId: string, etag: Array<string>, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Array<WebitelContactsManager>>>;
137
+ /**
138
+ *
139
+ * @summary Search the Contact\'s Managers.
140
+ * @param {string} contactId Contact ID associated with.
141
+ * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
142
+ * @param {number} [size] Size of result page. limit &#x3D; (size++)
143
+ * @param {string} [q] Search term: user name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
144
+ * @param {Array<string>} [sort] Sort the result according to fields.
145
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
146
+ * @param {Array<string>} [id] Record(s) with unique ID only.
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ listManagers(contactId: string, page?: number | undefined, size?: number | undefined, q?: string | undefined, sort?: string[] | undefined, fields?: string[] | undefined, id?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManagerList>>;
151
+ /**
152
+ *
153
+ * @summary Locate the manager address link.
154
+ * @param {string} contactId Contact source ID.
155
+ * @param {string} etag Unique manager link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
156
+ * @param {Array<string>} [fields] Fields to be retrieved into result.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ locateManager(contactId: string, etag: string, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManager>>;
161
+ /**
162
+ *
163
+ * @summary Associate new Managers to the Contact.
164
+ * @param {string} contactId Link contact ID.
165
+ * @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
166
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ mergeManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManagerList>>;
171
+ /**
172
+ *
173
+ * @summary Reset Managers to fit the specified final set.
174
+ * @param {string} contactId Contact ID associated with.
175
+ * @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become &#x60;primary&#x60; if no other specified.
176
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ resetManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManagerList>>;
181
+ /**
182
+ *
183
+ * @summary Update the contact\'s manager address link details
184
+ * @param {string} contactId Link contact ID.
185
+ * @param {string} etag Unique ID of the latest version of an existing resource.
186
+ * @param {NEWUpdateOfTheManagerLink} input
187
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ */
191
+ updateManager(contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManagerList>>;
192
+ /**
193
+ *
194
+ * @summary Update the contact\'s manager address link details
195
+ * @param {string} contactId Link contact ID.
196
+ * @param {string} etag Unique ID of the latest version of an existing resource.
197
+ * @param {NEWUpdateOfTheManagerLink1} input
198
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ updateManager2(contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<WebitelContactsManagerList>>;
203
+ };
204
+ /**
205
+ * ManagersApi - factory interface
206
+ * @export
207
+ */
208
+ export declare const ManagersApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
209
+ /**
210
+ *
211
+ * @summary Remove the contact\'s manager address link
212
+ * @param {string} contactId Contact ID associated with.
213
+ * @param {string} etag Unique ID to remove.
214
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ deleteManager(contactId: string, etag: string, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManager>;
219
+ /**
220
+ *
221
+ * @summary Remove Contact Managers associations.
222
+ * @param {string} contactId Contact ID associated with.
223
+ * @param {Array<string>} etag Set of unique ID(s) to remove.
224
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ deleteManagers(contactId: string, etag: Array<string>, fields?: string[] | undefined, options?: any): AxiosPromise<Array<WebitelContactsManager>>;
229
+ /**
230
+ *
231
+ * @summary Search the Contact\'s Managers.
232
+ * @param {string} contactId Contact ID associated with.
233
+ * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
234
+ * @param {number} [size] Size of result page. limit &#x3D; (size++)
235
+ * @param {string} [q] Search term: user name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
236
+ * @param {Array<string>} [sort] Sort the result according to fields.
237
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
238
+ * @param {Array<string>} [id] Record(s) with unique ID only.
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ listManagers(contactId: string, page?: number | undefined, size?: number | undefined, q?: string | undefined, sort?: string[] | undefined, fields?: string[] | undefined, id?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManagerList>;
243
+ /**
244
+ *
245
+ * @summary Locate the manager address link.
246
+ * @param {string} contactId Contact source ID.
247
+ * @param {string} etag Unique manager link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
248
+ * @param {Array<string>} [fields] Fields to be retrieved into result.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ locateManager(contactId: string, etag: string, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManager>;
253
+ /**
254
+ *
255
+ * @summary Associate new Managers to the Contact.
256
+ * @param {string} contactId Link contact ID.
257
+ * @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
258
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ mergeManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManagerList>;
263
+ /**
264
+ *
265
+ * @summary Reset Managers to fit the specified final set.
266
+ * @param {string} contactId Contact ID associated with.
267
+ * @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become &#x60;primary&#x60; if no other specified.
268
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ resetManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManagerList>;
273
+ /**
274
+ *
275
+ * @summary Update the contact\'s manager address link details
276
+ * @param {string} contactId Link contact ID.
277
+ * @param {string} etag Unique ID of the latest version of an existing resource.
278
+ * @param {NEWUpdateOfTheManagerLink} input
279
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ updateManager(contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManagerList>;
284
+ /**
285
+ *
286
+ * @summary Update the contact\'s manager address link details
287
+ * @param {string} contactId Link contact ID.
288
+ * @param {string} etag Unique ID of the latest version of an existing resource.
289
+ * @param {NEWUpdateOfTheManagerLink1} input
290
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ */
294
+ updateManager2(contactId: string, etag: string, input: any, fields?: string[] | undefined, options?: any): AxiosPromise<WebitelContactsManagerList>;
295
+ };
296
+ /**
297
+ * ManagersApi - object-oriented interface
298
+ * @export
299
+ * @class ManagersApi
300
+ * @extends {BaseAPI}
301
+ */
302
+ export declare class ManagersApi extends BaseAPI {
303
+ /**
304
+ *
305
+ * @summary Remove the contact\'s manager address link
306
+ * @param {string} contactId Contact ID associated with.
307
+ * @param {string} etag Unique ID to remove.
308
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ * @memberof ManagersApi
312
+ */
313
+ deleteManager(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
314
+ /**
315
+ *
316
+ * @summary Remove Contact Managers associations.
317
+ * @param {string} contactId Contact ID associated with.
318
+ * @param {Array<string>} etag Set of unique ID(s) to remove.
319
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ * @memberof ManagersApi
323
+ */
324
+ deleteManagers(contactId: string, etag: Array<string>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any[], any>>;
325
+ /**
326
+ *
327
+ * @summary Search the Contact\'s Managers.
328
+ * @param {string} contactId Contact ID associated with.
329
+ * @param {number} [page] Page number of result. offset &#x3D; ((page-1)*size)
330
+ * @param {number} [size] Size of result page. limit &#x3D; (size++)
331
+ * @param {string} [q] Search term: user name; &#x60;?&#x60; - matches any one character &#x60;*&#x60; - matches 0 or more characters
332
+ * @param {Array<string>} [sort] Sort the result according to fields.
333
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
334
+ * @param {Array<string>} [id] Record(s) with unique ID only.
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ * @memberof ManagersApi
338
+ */
339
+ listManagers(contactId: string, page?: number, size?: number, q?: string, sort?: Array<string>, fields?: Array<string>, id?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
340
+ /**
341
+ *
342
+ * @summary Locate the manager address link.
343
+ * @param {string} contactId Contact source ID.
344
+ * @param {string} etag Unique manager link IDentifier. Accept: &#x60;etag&#x60; (obsolete+) or &#x60;id&#x60;.
345
+ * @param {Array<string>} [fields] Fields to be retrieved into result.
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ * @memberof ManagersApi
349
+ */
350
+ locateManager(contactId: string, etag: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
351
+ /**
352
+ *
353
+ * @summary Associate new Managers to the Contact.
354
+ * @param {string} contactId Link contact ID.
355
+ * @param {Array<WebitelContactsInputManager>} input Array of the unique User(s) to associate with the Contact. Any duplicate of an already linked user{id} will result in an error.
356
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ * @memberof ManagersApi
360
+ */
361
+ mergeManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
362
+ /**
363
+ *
364
+ * @summary Reset Managers to fit the specified final set.
365
+ * @param {string} contactId Contact ID associated with.
366
+ * @param {Array<WebitelContactsInputManager>} input Final set of unique User(s) to be linked with the Contact. User(s) that are already linked with the Contact but not listed here will be removed. The first element will become &#x60;primary&#x60; if no other specified.
367
+ * @param {Array<string>} [fields] Fields to be retrieved as a result.
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ * @memberof ManagersApi
371
+ */
372
+ resetManagers(contactId: string, input: Array<WebitelContactsInputManager>, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
373
+ /**
374
+ *
375
+ * @summary Update the contact\'s manager address link details
376
+ * @param {string} contactId Link contact ID.
377
+ * @param {string} etag Unique ID of the latest version of an existing resource.
378
+ * @param {NEWUpdateOfTheManagerLink} input
379
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ * @memberof ManagersApi
383
+ */
384
+ updateManager(contactId: string, etag: string, input: NEWUpdateOfTheManagerLink, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
385
+ /**
386
+ *
387
+ * @summary Update the contact\'s manager address link details
388
+ * @param {string} contactId Link contact ID.
389
+ * @param {string} etag Unique ID of the latest version of an existing resource.
390
+ * @param {NEWUpdateOfTheManagerLink1} input
391
+ * @param {Array<string>} [fields] Fields to be retrieved into result of changes.
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ * @memberof ManagersApi
395
+ */
396
+ updateManager2(contactId: string, etag: string, input: NEWUpdateOfTheManagerLink1, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<any, any>>;
397
+ }
398
+ //# sourceMappingURL=managers-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managers-api.d.ts","sourceRoot":"","sources":["../../../src/api/managers-api.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGhD,OAAO,EAGL,WAAW,EACX,OAAO,EAER,MAAM,SAAS,CAAA;AAEhB,OAAO,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAA;AAElD,OAAO,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAA;AAEnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAA;AACnD;;;GAGG;AACH,eAAO,MAAM,4BAA4B;IAIrC;;;;;;;;OAQG;+BAEU,MAAM,QACX,MAAM,2CAEH,GAAG,KACX,OAAO,CAAC,WAAW,CAAC;IAgEvB;;;;;;;;OAQG;gCAEU,MAAM,QACX,KAAK,CAAC,MAAM,CAAC,2CAEV,GAAG,KACX,OAAO,CAAC,WAAW,CAAC;IAqEvB;;;;;;;;;;;;OAYG;8BAEU,MAAM,iLAOR,GAAG,KACX,OAAO,CAAC,WAAW,CAAC;IA8EvB;;;;;;;;OAQG;+BAEU,MAAM,QACX,MAAM,2CAEH,GAAG,KACX,OAAO,CAAC,WAAW,CAAC;IAgEvB;;;;;;;;OAQG;+BAEU,MAAM,SACV,KAAK,CAAC,2BAA2B,CAAC,2CAEhC,GAAG,KACX,OAAO,CAAC,WAAW,CAAC;IAyEvB;;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ACjB,IAAI,CAAC,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,MAAM,EACb,CAAC,CAAC,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACpB,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,EAAE,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAClB,OAAO,CAAC,EAAE,GAAG;IAOf;;;;;;;;;OASG;IACI,aAAa,CAClB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,OAAO,CAAC,EAAE,GAAG;IAOf;;;;;;;;;OASG;IACI,aAAa,CAClB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,KAAK,CAAC,2BAA2B,CAAC,EACzC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,OAAO,CAAC,EAAE,GAAG;IAOf;;;;;;;;;OASG;IACI,aAAa,CAClB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,KAAK,CAAC,2BAA2B,CAAC,EACzC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,OAAO,CAAC,EAAE,GAAG;IAOf;;;;;;;;;;OAUG;IACI,aAAa,CAClB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,yBAAyB,EAChC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,OAAO,CAAC,EAAE,GAAG;IAOf;;;;;;;;;;OAUG;IACI,cAAc,CACnB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,0BAA0B,EACjC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EACtB,OAAO,CAAC,EAAE,GAAG;CAMhB"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Webitel engine API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 23.07.0
6
+ * Contact: support@webitel.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WebitelContactsLookup } from './webitel-contacts-lookup';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NEWUpdateOfTheManagerLink
17
+ */
18
+ export interface NEWUpdateOfTheManagerLink {
19
+ /**
20
+ * Indicates whether this association must be default among others.
21
+ * @type {boolean}
22
+ * @memberof NEWUpdateOfTheManagerLink
23
+ */
24
+ primary?: boolean;
25
+ /**
26
+ *
27
+ * @type {WebitelContactsLookup}
28
+ * @memberof NEWUpdateOfTheManagerLink
29
+ */
30
+ user?: WebitelContactsLookup;
31
+ }
32
+ //# sourceMappingURL=newupdate-of-the-manager-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"newupdate-of-the-manager-link.d.ts","sourceRoot":"","sources":["../../../src/api/newupdate-of-the-manager-link.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAEjE;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAA;CAC7B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Webitel engine API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 23.07.0
6
+ * Contact: support@webitel.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WebitelContactsLookup } from './webitel-contacts-lookup';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NEWUpdateOfTheManagerLink1
17
+ */
18
+ export interface NEWUpdateOfTheManagerLink1 {
19
+ /**
20
+ * Indicates whether this association must be default among others.
21
+ * @type {boolean}
22
+ * @memberof NEWUpdateOfTheManagerLink1
23
+ */
24
+ primary?: boolean;
25
+ /**
26
+ *
27
+ * @type {WebitelContactsLookup}
28
+ * @memberof NEWUpdateOfTheManagerLink1
29
+ */
30
+ user?: WebitelContactsLookup;
31
+ }
32
+ //# sourceMappingURL=newupdate-of-the-manager-link1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"newupdate-of-the-manager-link1.d.ts","sourceRoot":"","sources":["../../../src/api/newupdate-of-the-manager-link1.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAEjE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAA;CAC7B"}
package/types/api.d.ts CHANGED
@@ -31,6 +31,7 @@ export * from './api/import-template-service-api';
31
31
  export * from './api/labels-api';
32
32
  export * from './api/list-service-api';
33
33
  export * from './api/logger-service-api';
34
+ export * from './api/managers-api';
34
35
  export * from './api/media-file-service-api';
35
36
  export * from './api/member-service-api';
36
37
  export * from './api/outbound-resource-group-service-api';
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AACA;;;;;;;;;;GAUG;AAEH,cAAc,qCAAqC,CAAA;AACnD,cAAc,yBAAyB,CAAA;AACvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mCAAmC,CAAA;AACjD,cAAc,0BAA0B,CAAA;AACxC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cA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