@ember-home/unbound-ts-client 0.0.1 → 0.0.2
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.mts +1703 -1
- package/dist/index.d.ts +1703 -1
- package/dist/index.js +912 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +911 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,1704 @@
|
|
|
1
|
+
import * as axios from 'axios';
|
|
2
|
+
import { RawAxiosRequestConfig, AxiosInstance, AxiosPromise } from 'axios';
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
/**
|
|
5
|
+
* FastAPI
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
interface ConfigurationParameters {
|
|
16
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
17
|
+
username?: string;
|
|
18
|
+
password?: string;
|
|
19
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
20
|
+
basePath?: string;
|
|
21
|
+
serverIndex?: number;
|
|
22
|
+
baseOptions?: any;
|
|
23
|
+
formDataCtor?: new () => any;
|
|
24
|
+
}
|
|
25
|
+
declare class Configuration {
|
|
26
|
+
/**
|
|
27
|
+
* parameter for apiKey security
|
|
28
|
+
* @param name security name
|
|
29
|
+
* @memberof Configuration
|
|
30
|
+
*/
|
|
31
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
32
|
+
/**
|
|
33
|
+
* parameter for basic security
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof Configuration
|
|
37
|
+
*/
|
|
38
|
+
username?: string;
|
|
39
|
+
/**
|
|
40
|
+
* parameter for basic security
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Configuration
|
|
44
|
+
*/
|
|
45
|
+
password?: string;
|
|
46
|
+
/**
|
|
47
|
+
* parameter for oauth2 security
|
|
48
|
+
* @param name security name
|
|
49
|
+
* @param scopes oauth2 scope
|
|
50
|
+
* @memberof Configuration
|
|
51
|
+
*/
|
|
52
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
53
|
+
/**
|
|
54
|
+
* override base path
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Configuration
|
|
58
|
+
*/
|
|
59
|
+
basePath?: string;
|
|
60
|
+
/**
|
|
61
|
+
* override server index
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof Configuration
|
|
65
|
+
*/
|
|
66
|
+
serverIndex?: number;
|
|
67
|
+
/**
|
|
68
|
+
* base options for axios calls
|
|
69
|
+
*
|
|
70
|
+
* @type {any}
|
|
71
|
+
* @memberof Configuration
|
|
72
|
+
*/
|
|
73
|
+
baseOptions?: any;
|
|
74
|
+
/**
|
|
75
|
+
* The FormData constructor that will be used to create multipart form data
|
|
76
|
+
* requests. You can inject this here so that execution environments that
|
|
77
|
+
* do not support the FormData class can still run the generated client.
|
|
78
|
+
*
|
|
79
|
+
* @type {new () => FormData}
|
|
80
|
+
*/
|
|
81
|
+
formDataCtor?: new () => any;
|
|
82
|
+
constructor(param?: ConfigurationParameters);
|
|
83
|
+
/**
|
|
84
|
+
* Check if the given MIME is a JSON MIME.
|
|
85
|
+
* JSON MIME examples:
|
|
86
|
+
* application/json
|
|
87
|
+
* application/json; charset=UTF8
|
|
88
|
+
* APPLICATION/JSON
|
|
89
|
+
* application/vnd.company+json
|
|
90
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
91
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
92
|
+
*/
|
|
93
|
+
isJsonMime(mime: string): boolean;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* FastAPI
|
|
98
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
99
|
+
*
|
|
100
|
+
* The version of the OpenAPI document: 0.1.0
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
104
|
+
* https://openapi-generator.tech
|
|
105
|
+
* Do not edit the class manually.
|
|
106
|
+
*/
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @export
|
|
111
|
+
* @interface RequestArgs
|
|
112
|
+
*/
|
|
113
|
+
interface RequestArgs {
|
|
114
|
+
url: string;
|
|
115
|
+
options: RawAxiosRequestConfig;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @export
|
|
120
|
+
* @class BaseAPI
|
|
121
|
+
*/
|
|
122
|
+
declare class BaseAPI {
|
|
123
|
+
protected basePath: string;
|
|
124
|
+
protected axios: AxiosInstance;
|
|
125
|
+
protected configuration: Configuration | undefined;
|
|
126
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @export
|
|
132
|
+
* @interface APIValidationError
|
|
133
|
+
*/
|
|
134
|
+
interface APIValidationError {
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {Array<APIValidationErrorLocInner>}
|
|
138
|
+
* @memberof APIValidationError
|
|
139
|
+
*/
|
|
140
|
+
'loc': Array<APIValidationErrorLocInner>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof APIValidationError
|
|
145
|
+
*/
|
|
146
|
+
'msg': string;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {string}
|
|
150
|
+
* @memberof APIValidationError
|
|
151
|
+
*/
|
|
152
|
+
'type': string;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @type APIValidationErrorLocInner
|
|
156
|
+
* @export
|
|
157
|
+
*/
|
|
158
|
+
type APIValidationErrorLocInner = number | string;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @export
|
|
162
|
+
* @interface Contact
|
|
163
|
+
*/
|
|
164
|
+
interface Contact {
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {string}
|
|
168
|
+
* @memberof Contact
|
|
169
|
+
*/
|
|
170
|
+
'id': string;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {string}
|
|
174
|
+
* @memberof Contact
|
|
175
|
+
*/
|
|
176
|
+
'customerName': string;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof Contact
|
|
181
|
+
*/
|
|
182
|
+
'email': string;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof Contact
|
|
187
|
+
*/
|
|
188
|
+
'phoneNumber': string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {number}
|
|
192
|
+
* @memberof Contact
|
|
193
|
+
*/
|
|
194
|
+
'stays': number;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {number}
|
|
198
|
+
* @memberof Contact
|
|
199
|
+
*/
|
|
200
|
+
'stayLength': number;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {number}
|
|
204
|
+
* @memberof Contact
|
|
205
|
+
*/
|
|
206
|
+
'amountSpent': number;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {number}
|
|
210
|
+
* @memberof Contact
|
|
211
|
+
*/
|
|
212
|
+
'rating': number;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof Contact
|
|
217
|
+
*/
|
|
218
|
+
'externalId': string;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof Contact
|
|
223
|
+
*/
|
|
224
|
+
'name': string;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof Contact
|
|
229
|
+
*/
|
|
230
|
+
'firstName': string;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof Contact
|
|
235
|
+
*/
|
|
236
|
+
'lastName': string;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof Contact
|
|
241
|
+
*/
|
|
242
|
+
'organization': string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {string}
|
|
246
|
+
* @memberof Contact
|
|
247
|
+
*/
|
|
248
|
+
'locale': string;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof Contact
|
|
253
|
+
*/
|
|
254
|
+
'title': string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {string}
|
|
258
|
+
* @memberof Contact
|
|
259
|
+
*/
|
|
260
|
+
'image': string;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @type {string}
|
|
264
|
+
* @memberof Contact
|
|
265
|
+
*/
|
|
266
|
+
'created': string;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof Contact
|
|
271
|
+
*/
|
|
272
|
+
'updated': string;
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof Contact
|
|
277
|
+
*/
|
|
278
|
+
'lastEventDate': string;
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @type {boolean}
|
|
282
|
+
* @memberof Contact
|
|
283
|
+
*/
|
|
284
|
+
'archived': boolean;
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @type {ContactAvatar}
|
|
288
|
+
* @memberof Contact
|
|
289
|
+
*/
|
|
290
|
+
'avatar': ContactAvatar;
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @type {ContactAddress}
|
|
294
|
+
* @memberof Contact
|
|
295
|
+
*/
|
|
296
|
+
'address': ContactAddress;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @type {Array<string>}
|
|
300
|
+
* @memberof Contact
|
|
301
|
+
*/
|
|
302
|
+
'listIds': Array<string>;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {Array<string>}
|
|
306
|
+
* @memberof Contact
|
|
307
|
+
*/
|
|
308
|
+
'segmentIds': Array<string>;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @type {Array<ContactTag>}
|
|
312
|
+
* @memberof Contact
|
|
313
|
+
*/
|
|
314
|
+
'tags': Array<ContactTag>;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @type {object}
|
|
318
|
+
* @memberof Contact
|
|
319
|
+
*/
|
|
320
|
+
'customAttributes': object;
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @type {SubscriptionsOutput}
|
|
324
|
+
* @memberof Contact
|
|
325
|
+
*/
|
|
326
|
+
'subscriptions': SubscriptionsOutput;
|
|
327
|
+
/**
|
|
328
|
+
*
|
|
329
|
+
* @type {PredictiveAnalytics}
|
|
330
|
+
* @memberof Contact
|
|
331
|
+
*/
|
|
332
|
+
'predictiveAnalytics': PredictiveAnalytics;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @export
|
|
337
|
+
* @interface ContactAddress
|
|
338
|
+
*/
|
|
339
|
+
interface ContactAddress {
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof ContactAddress
|
|
344
|
+
*/
|
|
345
|
+
'address1': string;
|
|
346
|
+
/**
|
|
347
|
+
*
|
|
348
|
+
* @type {string}
|
|
349
|
+
* @memberof ContactAddress
|
|
350
|
+
*/
|
|
351
|
+
'address2'?: string | null;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @type {string}
|
|
355
|
+
* @memberof ContactAddress
|
|
356
|
+
*/
|
|
357
|
+
'locality': string;
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @type {string}
|
|
361
|
+
* @memberof ContactAddress
|
|
362
|
+
*/
|
|
363
|
+
'country': string;
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @type {number}
|
|
367
|
+
* @memberof ContactAddress
|
|
368
|
+
*/
|
|
369
|
+
'latitude'?: number | null;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {number}
|
|
373
|
+
* @memberof ContactAddress
|
|
374
|
+
*/
|
|
375
|
+
'longitude'?: number | null;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {string}
|
|
379
|
+
* @memberof ContactAddress
|
|
380
|
+
*/
|
|
381
|
+
'region'?: string | null;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof ContactAddress
|
|
386
|
+
*/
|
|
387
|
+
'postalCode'?: string | null;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof ContactAddress
|
|
392
|
+
*/
|
|
393
|
+
'timezone'?: string | null;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @type {string}
|
|
397
|
+
* @memberof ContactAddress
|
|
398
|
+
*/
|
|
399
|
+
'ipAddress'?: string | null;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @export
|
|
404
|
+
* @interface ContactAvatar
|
|
405
|
+
*/
|
|
406
|
+
interface ContactAvatar {
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof ContactAvatar
|
|
411
|
+
*/
|
|
412
|
+
'avatarType': ContactAvatarAvatarTypeEnum;
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof ContactAvatar
|
|
417
|
+
*/
|
|
418
|
+
'profilePicUrl'?: string | null;
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* @type {string}
|
|
422
|
+
* @memberof ContactAvatar
|
|
423
|
+
*/
|
|
424
|
+
'initials'?: string | null;
|
|
425
|
+
}
|
|
426
|
+
declare const ContactAvatarAvatarTypeEnum: {
|
|
427
|
+
readonly ProfilePic: "profilePic";
|
|
428
|
+
readonly Generic: "generic";
|
|
429
|
+
readonly Initials: "initials";
|
|
430
|
+
};
|
|
431
|
+
type ContactAvatarAvatarTypeEnum = typeof ContactAvatarAvatarTypeEnum[keyof typeof ContactAvatarAvatarTypeEnum];
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @export
|
|
435
|
+
* @interface ContactCreate
|
|
436
|
+
*/
|
|
437
|
+
interface ContactCreate {
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof ContactCreate
|
|
442
|
+
*/
|
|
443
|
+
'customerName': string;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof ContactCreate
|
|
448
|
+
*/
|
|
449
|
+
'email': string;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof ContactCreate
|
|
454
|
+
*/
|
|
455
|
+
'phoneNumber': string;
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @type {number}
|
|
459
|
+
* @memberof ContactCreate
|
|
460
|
+
*/
|
|
461
|
+
'stays'?: number;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @type {number}
|
|
465
|
+
* @memberof ContactCreate
|
|
466
|
+
*/
|
|
467
|
+
'stayLength'?: number;
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @type {number}
|
|
471
|
+
* @memberof ContactCreate
|
|
472
|
+
*/
|
|
473
|
+
'amountSpent'?: number;
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {number}
|
|
477
|
+
* @memberof ContactCreate
|
|
478
|
+
*/
|
|
479
|
+
'rating'?: number;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof ContactCreate
|
|
484
|
+
*/
|
|
485
|
+
'externalId': string;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {string}
|
|
489
|
+
* @memberof ContactCreate
|
|
490
|
+
*/
|
|
491
|
+
'name': string;
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @type {string}
|
|
495
|
+
* @memberof ContactCreate
|
|
496
|
+
*/
|
|
497
|
+
'firstName': string;
|
|
498
|
+
/**
|
|
499
|
+
*
|
|
500
|
+
* @type {string}
|
|
501
|
+
* @memberof ContactCreate
|
|
502
|
+
*/
|
|
503
|
+
'lastName': string;
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @type {string}
|
|
507
|
+
* @memberof ContactCreate
|
|
508
|
+
*/
|
|
509
|
+
'organization'?: string;
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @type {string}
|
|
513
|
+
* @memberof ContactCreate
|
|
514
|
+
*/
|
|
515
|
+
'locale'?: string;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof ContactCreate
|
|
520
|
+
*/
|
|
521
|
+
'title'?: string;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof ContactCreate
|
|
526
|
+
*/
|
|
527
|
+
'image'?: string;
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {boolean}
|
|
531
|
+
* @memberof ContactCreate
|
|
532
|
+
*/
|
|
533
|
+
'archived'?: boolean;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {ContactAvatar}
|
|
537
|
+
* @memberof ContactCreate
|
|
538
|
+
*/
|
|
539
|
+
'avatar': ContactAvatar;
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {ContactAddress}
|
|
543
|
+
* @memberof ContactCreate
|
|
544
|
+
*/
|
|
545
|
+
'address': ContactAddress;
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {Array<string>}
|
|
549
|
+
* @memberof ContactCreate
|
|
550
|
+
*/
|
|
551
|
+
'listIds'?: Array<string>;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {Array<string>}
|
|
555
|
+
* @memberof ContactCreate
|
|
556
|
+
*/
|
|
557
|
+
'segmentIds'?: Array<string>;
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {Array<ContactTag>}
|
|
561
|
+
* @memberof ContactCreate
|
|
562
|
+
*/
|
|
563
|
+
'tags'?: Array<ContactTag>;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {object}
|
|
567
|
+
* @memberof ContactCreate
|
|
568
|
+
*/
|
|
569
|
+
'customAttributes'?: object;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {SubscriptionsInput}
|
|
573
|
+
* @memberof ContactCreate
|
|
574
|
+
*/
|
|
575
|
+
'subscriptions'?: SubscriptionsInput | null;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @export
|
|
580
|
+
* @interface ContactTag
|
|
581
|
+
*/
|
|
582
|
+
interface ContactTag {
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof ContactTag
|
|
587
|
+
*/
|
|
588
|
+
'id': string;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof ContactTag
|
|
593
|
+
*/
|
|
594
|
+
'name': string;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* @export
|
|
599
|
+
* @interface ContactUpdate
|
|
600
|
+
*/
|
|
601
|
+
interface ContactUpdate {
|
|
602
|
+
/**
|
|
603
|
+
*
|
|
604
|
+
* @type {string}
|
|
605
|
+
* @memberof ContactUpdate
|
|
606
|
+
*/
|
|
607
|
+
'customerName'?: string | null;
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @type {string}
|
|
611
|
+
* @memberof ContactUpdate
|
|
612
|
+
*/
|
|
613
|
+
'email'?: string | null;
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {string}
|
|
617
|
+
* @memberof ContactUpdate
|
|
618
|
+
*/
|
|
619
|
+
'phoneNumber'?: string | null;
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {number}
|
|
623
|
+
* @memberof ContactUpdate
|
|
624
|
+
*/
|
|
625
|
+
'stays'?: number | null;
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {number}
|
|
629
|
+
* @memberof ContactUpdate
|
|
630
|
+
*/
|
|
631
|
+
'stayLength'?: number | null;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {number}
|
|
635
|
+
* @memberof ContactUpdate
|
|
636
|
+
*/
|
|
637
|
+
'amountSpent'?: number | null;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {number}
|
|
641
|
+
* @memberof ContactUpdate
|
|
642
|
+
*/
|
|
643
|
+
'rating'?: number | null;
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {string}
|
|
647
|
+
* @memberof ContactUpdate
|
|
648
|
+
*/
|
|
649
|
+
'externalId'?: string | null;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @type {string}
|
|
653
|
+
* @memberof ContactUpdate
|
|
654
|
+
*/
|
|
655
|
+
'name'?: string | null;
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {string}
|
|
659
|
+
* @memberof ContactUpdate
|
|
660
|
+
*/
|
|
661
|
+
'firstName'?: string | null;
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {string}
|
|
665
|
+
* @memberof ContactUpdate
|
|
666
|
+
*/
|
|
667
|
+
'lastName'?: string | null;
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @memberof ContactUpdate
|
|
672
|
+
*/
|
|
673
|
+
'organization'?: string | null;
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof ContactUpdate
|
|
678
|
+
*/
|
|
679
|
+
'locale'?: string | null;
|
|
680
|
+
/**
|
|
681
|
+
*
|
|
682
|
+
* @type {string}
|
|
683
|
+
* @memberof ContactUpdate
|
|
684
|
+
*/
|
|
685
|
+
'title'?: string | null;
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof ContactUpdate
|
|
690
|
+
*/
|
|
691
|
+
'image'?: string | null;
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @type {boolean}
|
|
695
|
+
* @memberof ContactUpdate
|
|
696
|
+
*/
|
|
697
|
+
'archived'?: boolean | null;
|
|
698
|
+
/**
|
|
699
|
+
*
|
|
700
|
+
* @type {ContactAvatar}
|
|
701
|
+
* @memberof ContactUpdate
|
|
702
|
+
*/
|
|
703
|
+
'avatar'?: ContactAvatar | null;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {ContactAddress}
|
|
707
|
+
* @memberof ContactUpdate
|
|
708
|
+
*/
|
|
709
|
+
'address'?: ContactAddress | null;
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {Array<string>}
|
|
713
|
+
* @memberof ContactUpdate
|
|
714
|
+
*/
|
|
715
|
+
'listIds'?: Array<string> | null;
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {Array<string>}
|
|
719
|
+
* @memberof ContactUpdate
|
|
720
|
+
*/
|
|
721
|
+
'segmentIds'?: Array<string> | null;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {Array<ContactTag>}
|
|
725
|
+
* @memberof ContactUpdate
|
|
726
|
+
*/
|
|
727
|
+
'tags'?: Array<ContactTag> | null;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {object}
|
|
731
|
+
* @memberof ContactUpdate
|
|
732
|
+
*/
|
|
733
|
+
'customAttributes'?: object | null;
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @type {SubscriptionsInput}
|
|
737
|
+
* @memberof ContactUpdate
|
|
738
|
+
*/
|
|
739
|
+
'subscriptions'?: SubscriptionsInput | null;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @export
|
|
744
|
+
* @interface ContactsCreateResponse
|
|
745
|
+
*/
|
|
746
|
+
interface ContactsCreateResponse {
|
|
747
|
+
/**
|
|
748
|
+
*
|
|
749
|
+
* @type {Contact}
|
|
750
|
+
* @memberof ContactsCreateResponse
|
|
751
|
+
*/
|
|
752
|
+
'data': Contact;
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
*
|
|
756
|
+
* @export
|
|
757
|
+
* @interface ContactsGetResponse
|
|
758
|
+
*/
|
|
759
|
+
interface ContactsGetResponse {
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @type {Contact}
|
|
763
|
+
* @memberof ContactsGetResponse
|
|
764
|
+
*/
|
|
765
|
+
'data': Contact;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @export
|
|
770
|
+
* @interface ContactsListResponse
|
|
771
|
+
*/
|
|
772
|
+
interface ContactsListResponse {
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {Array<Contact>}
|
|
776
|
+
* @memberof ContactsListResponse
|
|
777
|
+
*/
|
|
778
|
+
'data': Array<Contact>;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @export
|
|
783
|
+
* @interface ContactsUpdateResponse
|
|
784
|
+
*/
|
|
785
|
+
interface ContactsUpdateResponse {
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @type {Contact}
|
|
789
|
+
* @memberof ContactsUpdateResponse
|
|
790
|
+
*/
|
|
791
|
+
'data': Contact;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @export
|
|
796
|
+
* @interface EmailMarketingListSuppression
|
|
797
|
+
*/
|
|
798
|
+
interface EmailMarketingListSuppression {
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof EmailMarketingListSuppression
|
|
803
|
+
*/
|
|
804
|
+
'listId': string;
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @type {string}
|
|
808
|
+
* @memberof EmailMarketingListSuppression
|
|
809
|
+
*/
|
|
810
|
+
'reason': string;
|
|
811
|
+
/**
|
|
812
|
+
*
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof EmailMarketingListSuppression
|
|
815
|
+
*/
|
|
816
|
+
'at': string;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @export
|
|
821
|
+
* @interface EmailMarketingSubscription
|
|
822
|
+
*/
|
|
823
|
+
interface EmailMarketingSubscription {
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {boolean}
|
|
827
|
+
* @memberof EmailMarketingSubscription
|
|
828
|
+
*/
|
|
829
|
+
'isSubscribed': boolean;
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof EmailMarketingSubscription
|
|
834
|
+
*/
|
|
835
|
+
'consentType': string;
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof EmailMarketingSubscription
|
|
840
|
+
*/
|
|
841
|
+
'consentAt': string;
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @type {string}
|
|
845
|
+
* @memberof EmailMarketingSubscription
|
|
846
|
+
*/
|
|
847
|
+
'updatedAt': string;
|
|
848
|
+
/**
|
|
849
|
+
*
|
|
850
|
+
* @type {boolean}
|
|
851
|
+
* @memberof EmailMarketingSubscription
|
|
852
|
+
*/
|
|
853
|
+
'isDoubleOptIn': boolean;
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @type {Array<EmailMarketingSuppression>}
|
|
857
|
+
* @memberof EmailMarketingSubscription
|
|
858
|
+
*/
|
|
859
|
+
'suppressions': Array<EmailMarketingSuppression>;
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* @type {Array<EmailMarketingListSuppression>}
|
|
863
|
+
* @memberof EmailMarketingSubscription
|
|
864
|
+
*/
|
|
865
|
+
'listSuppressions': Array<EmailMarketingListSuppression>;
|
|
866
|
+
/**
|
|
867
|
+
*
|
|
868
|
+
* @type {SubscriptionMethodMetadata}
|
|
869
|
+
* @memberof EmailMarketingSubscription
|
|
870
|
+
*/
|
|
871
|
+
'methodMetaData'?: SubscriptionMethodMetadata | null;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @export
|
|
876
|
+
* @interface EmailMarketingSuppression
|
|
877
|
+
*/
|
|
878
|
+
interface EmailMarketingSuppression {
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* @type {string}
|
|
882
|
+
* @memberof EmailMarketingSuppression
|
|
883
|
+
*/
|
|
884
|
+
'reason': string;
|
|
885
|
+
/**
|
|
886
|
+
*
|
|
887
|
+
* @type {string}
|
|
888
|
+
* @memberof EmailMarketingSuppression
|
|
889
|
+
*/
|
|
890
|
+
'at': string;
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @export
|
|
895
|
+
* @interface EmailSubscriptionsInput
|
|
896
|
+
*/
|
|
897
|
+
interface EmailSubscriptionsInput {
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {EmailMarketingSubscription}
|
|
901
|
+
* @memberof EmailSubscriptionsInput
|
|
902
|
+
*/
|
|
903
|
+
'marketing': EmailMarketingSubscription;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @export
|
|
908
|
+
* @interface EmailSubscriptionsOutput
|
|
909
|
+
*/
|
|
910
|
+
interface EmailSubscriptionsOutput {
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {EmailMarketingSubscription}
|
|
914
|
+
* @memberof EmailSubscriptionsOutput
|
|
915
|
+
*/
|
|
916
|
+
'marketing': EmailMarketingSubscription;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface HTTPValidationError
|
|
922
|
+
*/
|
|
923
|
+
interface HTTPValidationError {
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {Array<APIValidationError>}
|
|
927
|
+
* @memberof HTTPValidationError
|
|
928
|
+
*/
|
|
929
|
+
'detail'?: Array<APIValidationError>;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @export
|
|
934
|
+
* @interface PredictiveAnalytics
|
|
935
|
+
*/
|
|
936
|
+
interface PredictiveAnalytics {
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @type {number}
|
|
940
|
+
* @memberof PredictiveAnalytics
|
|
941
|
+
*/
|
|
942
|
+
'historicGuestLtv': number;
|
|
943
|
+
/**
|
|
944
|
+
*
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof PredictiveAnalytics
|
|
947
|
+
*/
|
|
948
|
+
'predictedGuestLtv': number;
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @type {number}
|
|
952
|
+
* @memberof PredictiveAnalytics
|
|
953
|
+
*/
|
|
954
|
+
'totalGuestLtv': number;
|
|
955
|
+
/**
|
|
956
|
+
*
|
|
957
|
+
* @type {number}
|
|
958
|
+
* @memberof PredictiveAnalytics
|
|
959
|
+
*/
|
|
960
|
+
'historicBookingsCount': number;
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @type {number}
|
|
964
|
+
* @memberof PredictiveAnalytics
|
|
965
|
+
*/
|
|
966
|
+
'predictedBookingsCount': number;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {number}
|
|
970
|
+
* @memberof PredictiveAnalytics
|
|
971
|
+
*/
|
|
972
|
+
'averageDaysBetweenBookings': number;
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof PredictiveAnalytics
|
|
977
|
+
*/
|
|
978
|
+
'averageBookingValue': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {number}
|
|
982
|
+
* @memberof PredictiveAnalytics
|
|
983
|
+
*/
|
|
984
|
+
'churnProbability': number;
|
|
985
|
+
/**
|
|
986
|
+
*
|
|
987
|
+
* @type {string}
|
|
988
|
+
* @memberof PredictiveAnalytics
|
|
989
|
+
*/
|
|
990
|
+
'expectedNextBookingDate': string;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @export
|
|
995
|
+
* @interface SmsMarketingSubscription
|
|
996
|
+
*/
|
|
997
|
+
interface SmsMarketingSubscription {
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @type {boolean}
|
|
1001
|
+
* @memberof SmsMarketingSubscription
|
|
1002
|
+
*/
|
|
1003
|
+
'isSubscribed': boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
*
|
|
1006
|
+
* @type {string}
|
|
1007
|
+
* @memberof SmsMarketingSubscription
|
|
1008
|
+
*/
|
|
1009
|
+
'consentType': string;
|
|
1010
|
+
/**
|
|
1011
|
+
*
|
|
1012
|
+
* @type {string}
|
|
1013
|
+
* @memberof SmsMarketingSubscription
|
|
1014
|
+
*/
|
|
1015
|
+
'consentAt': string;
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @type {string}
|
|
1019
|
+
* @memberof SmsMarketingSubscription
|
|
1020
|
+
*/
|
|
1021
|
+
'updatedAt': string;
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @type {SubscriptionMethodMetadata}
|
|
1025
|
+
* @memberof SmsMarketingSubscription
|
|
1026
|
+
*/
|
|
1027
|
+
'methodMetaData'?: SubscriptionMethodMetadata | null;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
*
|
|
1031
|
+
* @export
|
|
1032
|
+
* @interface SmsSubscriptionsInput
|
|
1033
|
+
*/
|
|
1034
|
+
interface SmsSubscriptionsInput {
|
|
1035
|
+
/**
|
|
1036
|
+
*
|
|
1037
|
+
* @type {SmsMarketingSubscription}
|
|
1038
|
+
* @memberof SmsSubscriptionsInput
|
|
1039
|
+
*/
|
|
1040
|
+
'marketing': SmsMarketingSubscription;
|
|
1041
|
+
/**
|
|
1042
|
+
*
|
|
1043
|
+
* @type {SmsTransactionalSubscription}
|
|
1044
|
+
* @memberof SmsSubscriptionsInput
|
|
1045
|
+
*/
|
|
1046
|
+
'transactional': SmsTransactionalSubscription;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
*
|
|
1050
|
+
* @export
|
|
1051
|
+
* @interface SmsSubscriptionsOutput
|
|
1052
|
+
*/
|
|
1053
|
+
interface SmsSubscriptionsOutput {
|
|
1054
|
+
/**
|
|
1055
|
+
*
|
|
1056
|
+
* @type {SmsMarketingSubscription}
|
|
1057
|
+
* @memberof SmsSubscriptionsOutput
|
|
1058
|
+
*/
|
|
1059
|
+
'marketing': SmsMarketingSubscription;
|
|
1060
|
+
/**
|
|
1061
|
+
*
|
|
1062
|
+
* @type {SmsTransactionalSubscription}
|
|
1063
|
+
* @memberof SmsSubscriptionsOutput
|
|
1064
|
+
*/
|
|
1065
|
+
'transactional': SmsTransactionalSubscription;
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
*
|
|
1069
|
+
* @export
|
|
1070
|
+
* @interface SmsTransactionalSubscription
|
|
1071
|
+
*/
|
|
1072
|
+
interface SmsTransactionalSubscription {
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @type {boolean}
|
|
1076
|
+
* @memberof SmsTransactionalSubscription
|
|
1077
|
+
*/
|
|
1078
|
+
'isSubscribed': boolean;
|
|
1079
|
+
/**
|
|
1080
|
+
*
|
|
1081
|
+
* @type {string}
|
|
1082
|
+
* @memberof SmsTransactionalSubscription
|
|
1083
|
+
*/
|
|
1084
|
+
'consentType': string;
|
|
1085
|
+
/**
|
|
1086
|
+
*
|
|
1087
|
+
* @type {string}
|
|
1088
|
+
* @memberof SmsTransactionalSubscription
|
|
1089
|
+
*/
|
|
1090
|
+
'consentAt': string;
|
|
1091
|
+
/**
|
|
1092
|
+
*
|
|
1093
|
+
* @type {string}
|
|
1094
|
+
* @memberof SmsTransactionalSubscription
|
|
1095
|
+
*/
|
|
1096
|
+
'updatedAt': string;
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {SubscriptionMethodMetadata}
|
|
1100
|
+
* @memberof SmsTransactionalSubscription
|
|
1101
|
+
*/
|
|
1102
|
+
'methodMetaData'?: SubscriptionMethodMetadata | null;
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* Metadata about the subscription method
|
|
1106
|
+
* @export
|
|
1107
|
+
* @interface SubscriptionMethodMetadata
|
|
1108
|
+
*/
|
|
1109
|
+
interface SubscriptionMethodMetadata {
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @type {string}
|
|
1113
|
+
* @memberof SubscriptionMethodMetadata
|
|
1114
|
+
*/
|
|
1115
|
+
'source'?: string | null;
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @type {string}
|
|
1119
|
+
* @memberof SubscriptionMethodMetadata
|
|
1120
|
+
*/
|
|
1121
|
+
'referrer'?: string | null;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @export
|
|
1126
|
+
* @interface SubscriptionsInput
|
|
1127
|
+
*/
|
|
1128
|
+
interface SubscriptionsInput {
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @type {EmailSubscriptionsInput}
|
|
1132
|
+
* @memberof SubscriptionsInput
|
|
1133
|
+
*/
|
|
1134
|
+
'email': EmailSubscriptionsInput;
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {SmsSubscriptionsInput}
|
|
1138
|
+
* @memberof SubscriptionsInput
|
|
1139
|
+
*/
|
|
1140
|
+
'sms': SmsSubscriptionsInput;
|
|
1141
|
+
}
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @export
|
|
1145
|
+
* @interface SubscriptionsOutput
|
|
1146
|
+
*/
|
|
1147
|
+
interface SubscriptionsOutput {
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {EmailSubscriptionsOutput}
|
|
1151
|
+
* @memberof SubscriptionsOutput
|
|
1152
|
+
*/
|
|
1153
|
+
'email': EmailSubscriptionsOutput;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {SmsSubscriptionsOutput}
|
|
1157
|
+
* @memberof SubscriptionsOutput
|
|
1158
|
+
*/
|
|
1159
|
+
'sms': SmsSubscriptionsOutput;
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
*
|
|
1163
|
+
* @export
|
|
1164
|
+
* @interface Task
|
|
1165
|
+
*/
|
|
1166
|
+
interface Task {
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @type {string}
|
|
1170
|
+
* @memberof Task
|
|
1171
|
+
*/
|
|
1172
|
+
'id': string;
|
|
1173
|
+
/**
|
|
1174
|
+
*
|
|
1175
|
+
* @type {string}
|
|
1176
|
+
* @memberof Task
|
|
1177
|
+
*/
|
|
1178
|
+
'name': string;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
*
|
|
1182
|
+
* @export
|
|
1183
|
+
* @interface TaskCreate
|
|
1184
|
+
*/
|
|
1185
|
+
interface TaskCreate {
|
|
1186
|
+
/**
|
|
1187
|
+
*
|
|
1188
|
+
* @type {string}
|
|
1189
|
+
* @memberof TaskCreate
|
|
1190
|
+
*/
|
|
1191
|
+
'name': string;
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @export
|
|
1196
|
+
* @interface TaskUpdate
|
|
1197
|
+
*/
|
|
1198
|
+
interface TaskUpdate {
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @type {string}
|
|
1202
|
+
* @memberof TaskUpdate
|
|
1203
|
+
*/
|
|
1204
|
+
'name': string;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
*
|
|
1208
|
+
* @export
|
|
1209
|
+
* @interface TasksCreateResponse
|
|
1210
|
+
*/
|
|
1211
|
+
interface TasksCreateResponse {
|
|
1212
|
+
/**
|
|
1213
|
+
*
|
|
1214
|
+
* @type {Task}
|
|
1215
|
+
* @memberof TasksCreateResponse
|
|
1216
|
+
*/
|
|
1217
|
+
'data': Task;
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
*
|
|
1221
|
+
* @export
|
|
1222
|
+
* @interface TasksGetResponse
|
|
1223
|
+
*/
|
|
1224
|
+
interface TasksGetResponse {
|
|
1225
|
+
/**
|
|
1226
|
+
*
|
|
1227
|
+
* @type {Task}
|
|
1228
|
+
* @memberof TasksGetResponse
|
|
1229
|
+
*/
|
|
1230
|
+
'data': Task;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @export
|
|
1235
|
+
* @interface TasksListResponse
|
|
1236
|
+
*/
|
|
1237
|
+
interface TasksListResponse {
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {Array<Task>}
|
|
1241
|
+
* @memberof TasksListResponse
|
|
1242
|
+
*/
|
|
1243
|
+
'data': Array<Task>;
|
|
1244
|
+
}
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @export
|
|
1248
|
+
* @interface TasksUpdateResponse
|
|
1249
|
+
*/
|
|
1250
|
+
interface TasksUpdateResponse {
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @type {Task}
|
|
1254
|
+
* @memberof TasksUpdateResponse
|
|
1255
|
+
*/
|
|
1256
|
+
'data': Task;
|
|
1257
|
+
}
|
|
1258
|
+
/**
|
|
1259
|
+
* ContactsApi - axios parameter creator
|
|
1260
|
+
* @export
|
|
1261
|
+
*/
|
|
1262
|
+
declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1263
|
+
/**
|
|
1264
|
+
* Create a new contact
|
|
1265
|
+
* @summary Contacts Create
|
|
1266
|
+
* @param {ContactCreate} contactCreate
|
|
1267
|
+
* @param {*} [options] Override http request option.
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
contactsCreate: (contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1271
|
+
/**
|
|
1272
|
+
* Delete a contact
|
|
1273
|
+
* @summary Contacts Delete
|
|
1274
|
+
* @param {string} contactId
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
*/
|
|
1278
|
+
contactsDelete: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1279
|
+
/**
|
|
1280
|
+
* Get a contact by ID
|
|
1281
|
+
* @summary Contacts Get
|
|
1282
|
+
* @param {string} contactId
|
|
1283
|
+
* @param {*} [options] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
*/
|
|
1286
|
+
contactsGet: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1287
|
+
/**
|
|
1288
|
+
* List all contacts
|
|
1289
|
+
* @summary Contacts List
|
|
1290
|
+
* @param {*} [options] Override http request option.
|
|
1291
|
+
* @throws {RequiredError}
|
|
1292
|
+
*/
|
|
1293
|
+
contactsList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Update a contact
|
|
1296
|
+
* @summary Contacts Update
|
|
1297
|
+
* @param {string} contactId
|
|
1298
|
+
* @param {ContactUpdate} contactUpdate
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
*/
|
|
1302
|
+
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* ContactsApi - functional programming interface
|
|
1306
|
+
* @export
|
|
1307
|
+
*/
|
|
1308
|
+
declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
1309
|
+
/**
|
|
1310
|
+
* Create a new contact
|
|
1311
|
+
* @summary Contacts Create
|
|
1312
|
+
* @param {ContactCreate} contactCreate
|
|
1313
|
+
* @param {*} [options] Override http request option.
|
|
1314
|
+
* @throws {RequiredError}
|
|
1315
|
+
*/
|
|
1316
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
|
|
1317
|
+
/**
|
|
1318
|
+
* Delete a contact
|
|
1319
|
+
* @summary Contacts Delete
|
|
1320
|
+
* @param {string} contactId
|
|
1321
|
+
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @throws {RequiredError}
|
|
1323
|
+
*/
|
|
1324
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Get a contact by ID
|
|
1327
|
+
* @summary Contacts Get
|
|
1328
|
+
* @param {string} contactId
|
|
1329
|
+
* @param {*} [options] Override http request option.
|
|
1330
|
+
* @throws {RequiredError}
|
|
1331
|
+
*/
|
|
1332
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsGetResponse>>;
|
|
1333
|
+
/**
|
|
1334
|
+
* List all contacts
|
|
1335
|
+
* @summary Contacts List
|
|
1336
|
+
* @param {*} [options] Override http request option.
|
|
1337
|
+
* @throws {RequiredError}
|
|
1338
|
+
*/
|
|
1339
|
+
contactsList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsListResponse>>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Update a contact
|
|
1342
|
+
* @summary Contacts Update
|
|
1343
|
+
* @param {string} contactId
|
|
1344
|
+
* @param {ContactUpdate} contactUpdate
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
*/
|
|
1348
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
|
|
1349
|
+
};
|
|
1350
|
+
/**
|
|
1351
|
+
* ContactsApi - factory interface
|
|
1352
|
+
* @export
|
|
1353
|
+
*/
|
|
1354
|
+
declare const ContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1355
|
+
/**
|
|
1356
|
+
* Create a new contact
|
|
1357
|
+
* @summary Contacts Create
|
|
1358
|
+
* @param {ContactCreate} contactCreate
|
|
1359
|
+
* @param {*} [options] Override http request option.
|
|
1360
|
+
* @throws {RequiredError}
|
|
1361
|
+
*/
|
|
1362
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Delete a contact
|
|
1365
|
+
* @summary Contacts Delete
|
|
1366
|
+
* @param {string} contactId
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
*/
|
|
1370
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Get a contact by ID
|
|
1373
|
+
* @summary Contacts Get
|
|
1374
|
+
* @param {string} contactId
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
*/
|
|
1378
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsGetResponse>;
|
|
1379
|
+
/**
|
|
1380
|
+
* List all contacts
|
|
1381
|
+
* @summary Contacts List
|
|
1382
|
+
* @param {*} [options] Override http request option.
|
|
1383
|
+
* @throws {RequiredError}
|
|
1384
|
+
*/
|
|
1385
|
+
contactsList(options?: RawAxiosRequestConfig): AxiosPromise<ContactsListResponse>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Update a contact
|
|
1388
|
+
* @summary Contacts Update
|
|
1389
|
+
* @param {string} contactId
|
|
1390
|
+
* @param {ContactUpdate} contactUpdate
|
|
1391
|
+
* @param {*} [options] Override http request option.
|
|
1392
|
+
* @throws {RequiredError}
|
|
1393
|
+
*/
|
|
1394
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
|
|
1395
|
+
};
|
|
1396
|
+
/**
|
|
1397
|
+
* ContactsApi - object-oriented interface
|
|
1398
|
+
* @export
|
|
1399
|
+
* @class ContactsApi
|
|
1400
|
+
* @extends {BaseAPI}
|
|
1401
|
+
*/
|
|
1402
|
+
declare class ContactsApi extends BaseAPI {
|
|
1403
|
+
/**
|
|
1404
|
+
* Create a new contact
|
|
1405
|
+
* @summary Contacts Create
|
|
1406
|
+
* @param {ContactCreate} contactCreate
|
|
1407
|
+
* @param {*} [options] Override http request option.
|
|
1408
|
+
* @throws {RequiredError}
|
|
1409
|
+
* @memberof ContactsApi
|
|
1410
|
+
*/
|
|
1411
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
|
|
1412
|
+
/**
|
|
1413
|
+
* Delete a contact
|
|
1414
|
+
* @summary Contacts Delete
|
|
1415
|
+
* @param {string} contactId
|
|
1416
|
+
* @param {*} [options] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
* @memberof ContactsApi
|
|
1419
|
+
*/
|
|
1420
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1421
|
+
/**
|
|
1422
|
+
* Get a contact by ID
|
|
1423
|
+
* @summary Contacts Get
|
|
1424
|
+
* @param {string} contactId
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
* @memberof ContactsApi
|
|
1428
|
+
*/
|
|
1429
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsGetResponse, any>>;
|
|
1430
|
+
/**
|
|
1431
|
+
* List all contacts
|
|
1432
|
+
* @summary Contacts List
|
|
1433
|
+
* @param {*} [options] Override http request option.
|
|
1434
|
+
* @throws {RequiredError}
|
|
1435
|
+
* @memberof ContactsApi
|
|
1436
|
+
*/
|
|
1437
|
+
contactsList(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsListResponse, any>>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Update a contact
|
|
1440
|
+
* @summary Contacts Update
|
|
1441
|
+
* @param {string} contactId
|
|
1442
|
+
* @param {ContactUpdate} contactUpdate
|
|
1443
|
+
* @param {*} [options] Override http request option.
|
|
1444
|
+
* @throws {RequiredError}
|
|
1445
|
+
* @memberof ContactsApi
|
|
1446
|
+
*/
|
|
1447
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* HostawayApi - axios parameter creator
|
|
1451
|
+
* @export
|
|
1452
|
+
*/
|
|
1453
|
+
declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @summary Unifiedwebhook
|
|
1457
|
+
* @param {object} body
|
|
1458
|
+
* @param {*} [options] Override http request option.
|
|
1459
|
+
* @throws {RequiredError}
|
|
1460
|
+
*/
|
|
1461
|
+
webhook: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
* HostawayApi - functional programming interface
|
|
1465
|
+
* @export
|
|
1466
|
+
*/
|
|
1467
|
+
declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @summary Unifiedwebhook
|
|
1471
|
+
* @param {object} body
|
|
1472
|
+
* @param {*} [options] Override http request option.
|
|
1473
|
+
* @throws {RequiredError}
|
|
1474
|
+
*/
|
|
1475
|
+
webhook(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
1476
|
+
};
|
|
1477
|
+
/**
|
|
1478
|
+
* HostawayApi - factory interface
|
|
1479
|
+
* @export
|
|
1480
|
+
*/
|
|
1481
|
+
declare const HostawayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1482
|
+
/**
|
|
1483
|
+
*
|
|
1484
|
+
* @summary Unifiedwebhook
|
|
1485
|
+
* @param {object} body
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @throws {RequiredError}
|
|
1488
|
+
*/
|
|
1489
|
+
webhook(body: object, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* HostawayApi - object-oriented interface
|
|
1493
|
+
* @export
|
|
1494
|
+
* @class HostawayApi
|
|
1495
|
+
* @extends {BaseAPI}
|
|
1496
|
+
*/
|
|
1497
|
+
declare class HostawayApi extends BaseAPI {
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @summary Unifiedwebhook
|
|
1501
|
+
* @param {object} body
|
|
1502
|
+
* @param {*} [options] Override http request option.
|
|
1503
|
+
* @throws {RequiredError}
|
|
1504
|
+
* @memberof HostawayApi
|
|
1505
|
+
*/
|
|
1506
|
+
webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* TasksApi - axios parameter creator
|
|
1510
|
+
* @export
|
|
1511
|
+
*/
|
|
1512
|
+
declare const TasksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1513
|
+
/**
|
|
1514
|
+
*
|
|
1515
|
+
* @summary Tasks Create
|
|
1516
|
+
* @param {string} projectId
|
|
1517
|
+
* @param {TaskCreate} taskCreate
|
|
1518
|
+
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @throws {RequiredError}
|
|
1520
|
+
*/
|
|
1521
|
+
tasksCreate: (projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1522
|
+
/**
|
|
1523
|
+
*
|
|
1524
|
+
* @summary Tasks Delete
|
|
1525
|
+
* @param {string} taskId
|
|
1526
|
+
* @param {*} [options] Override http request option.
|
|
1527
|
+
* @throws {RequiredError}
|
|
1528
|
+
*/
|
|
1529
|
+
tasksDelete: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1530
|
+
/**
|
|
1531
|
+
*
|
|
1532
|
+
* @summary Tasks Get
|
|
1533
|
+
* @param {string} taskId
|
|
1534
|
+
* @param {*} [options] Override http request option.
|
|
1535
|
+
* @throws {RequiredError}
|
|
1536
|
+
*/
|
|
1537
|
+
tasksGet: (taskId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @summary Tasks List
|
|
1541
|
+
* @param {*} [options] Override http request option.
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
*/
|
|
1544
|
+
tasksList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1545
|
+
/**
|
|
1546
|
+
*
|
|
1547
|
+
* @summary Tasks Update
|
|
1548
|
+
* @param {string} taskId
|
|
1549
|
+
* @param {TaskUpdate} taskUpdate
|
|
1550
|
+
* @param {*} [options] Override http request option.
|
|
1551
|
+
* @throws {RequiredError}
|
|
1552
|
+
*/
|
|
1553
|
+
tasksUpdate: (taskId: string, taskUpdate: TaskUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* TasksApi - functional programming interface
|
|
1557
|
+
* @export
|
|
1558
|
+
*/
|
|
1559
|
+
declare const TasksApiFp: (configuration?: Configuration) => {
|
|
1560
|
+
/**
|
|
1561
|
+
*
|
|
1562
|
+
* @summary Tasks Create
|
|
1563
|
+
* @param {string} projectId
|
|
1564
|
+
* @param {TaskCreate} taskCreate
|
|
1565
|
+
* @param {*} [options] Override http request option.
|
|
1566
|
+
* @throws {RequiredError}
|
|
1567
|
+
*/
|
|
1568
|
+
tasksCreate(projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TasksCreateResponse>>;
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @summary Tasks Delete
|
|
1572
|
+
* @param {string} taskId
|
|
1573
|
+
* @param {*} [options] Override http request option.
|
|
1574
|
+
* @throws {RequiredError}
|
|
1575
|
+
*/
|
|
1576
|
+
tasksDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @summary Tasks Get
|
|
1580
|
+
* @param {string} taskId
|
|
1581
|
+
* @param {*} [options] Override http request option.
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
*/
|
|
1584
|
+
tasksGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TasksGetResponse>>;
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @summary Tasks List
|
|
1588
|
+
* @param {*} [options] Override http request option.
|
|
1589
|
+
* @throws {RequiredError}
|
|
1590
|
+
*/
|
|
1591
|
+
tasksList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TasksListResponse>>;
|
|
1592
|
+
/**
|
|
1593
|
+
*
|
|
1594
|
+
* @summary Tasks Update
|
|
1595
|
+
* @param {string} taskId
|
|
1596
|
+
* @param {TaskUpdate} taskUpdate
|
|
1597
|
+
* @param {*} [options] Override http request option.
|
|
1598
|
+
* @throws {RequiredError}
|
|
1599
|
+
*/
|
|
1600
|
+
tasksUpdate(taskId: string, taskUpdate: TaskUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TasksUpdateResponse>>;
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* TasksApi - factory interface
|
|
1604
|
+
* @export
|
|
1605
|
+
*/
|
|
1606
|
+
declare const TasksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1607
|
+
/**
|
|
1608
|
+
*
|
|
1609
|
+
* @summary Tasks Create
|
|
1610
|
+
* @param {string} projectId
|
|
1611
|
+
* @param {TaskCreate} taskCreate
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
*/
|
|
1615
|
+
tasksCreate(projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig): AxiosPromise<TasksCreateResponse>;
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* @summary Tasks Delete
|
|
1619
|
+
* @param {string} taskId
|
|
1620
|
+
* @param {*} [options] Override http request option.
|
|
1621
|
+
* @throws {RequiredError}
|
|
1622
|
+
*/
|
|
1623
|
+
tasksDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1624
|
+
/**
|
|
1625
|
+
*
|
|
1626
|
+
* @summary Tasks Get
|
|
1627
|
+
* @param {string} taskId
|
|
1628
|
+
* @param {*} [options] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
*/
|
|
1631
|
+
tasksGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<TasksGetResponse>;
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @summary Tasks List
|
|
1635
|
+
* @param {*} [options] Override http request option.
|
|
1636
|
+
* @throws {RequiredError}
|
|
1637
|
+
*/
|
|
1638
|
+
tasksList(options?: RawAxiosRequestConfig): AxiosPromise<TasksListResponse>;
|
|
1639
|
+
/**
|
|
1640
|
+
*
|
|
1641
|
+
* @summary Tasks Update
|
|
1642
|
+
* @param {string} taskId
|
|
1643
|
+
* @param {TaskUpdate} taskUpdate
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @throws {RequiredError}
|
|
1646
|
+
*/
|
|
1647
|
+
tasksUpdate(taskId: string, taskUpdate: TaskUpdate, options?: RawAxiosRequestConfig): AxiosPromise<TasksUpdateResponse>;
|
|
1648
|
+
};
|
|
1649
|
+
/**
|
|
1650
|
+
* TasksApi - object-oriented interface
|
|
1651
|
+
* @export
|
|
1652
|
+
* @class TasksApi
|
|
1653
|
+
* @extends {BaseAPI}
|
|
1654
|
+
*/
|
|
1655
|
+
declare class TasksApi extends BaseAPI {
|
|
1656
|
+
/**
|
|
1657
|
+
*
|
|
1658
|
+
* @summary Tasks Create
|
|
1659
|
+
* @param {string} projectId
|
|
1660
|
+
* @param {TaskCreate} taskCreate
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
* @memberof TasksApi
|
|
1664
|
+
*/
|
|
1665
|
+
tasksCreate(projectId: string, taskCreate: TaskCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TasksCreateResponse, any>>;
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @summary Tasks Delete
|
|
1669
|
+
* @param {string} taskId
|
|
1670
|
+
* @param {*} [options] Override http request option.
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
* @memberof TasksApi
|
|
1673
|
+
*/
|
|
1674
|
+
tasksDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @summary Tasks Get
|
|
1678
|
+
* @param {string} taskId
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
* @memberof TasksApi
|
|
1682
|
+
*/
|
|
1683
|
+
tasksGet(taskId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TasksGetResponse, any>>;
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @summary Tasks List
|
|
1687
|
+
* @param {*} [options] Override http request option.
|
|
1688
|
+
* @throws {RequiredError}
|
|
1689
|
+
* @memberof TasksApi
|
|
1690
|
+
*/
|
|
1691
|
+
tasksList(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TasksListResponse, any>>;
|
|
1692
|
+
/**
|
|
1693
|
+
*
|
|
1694
|
+
* @summary Tasks Update
|
|
1695
|
+
* @param {string} taskId
|
|
1696
|
+
* @param {TaskUpdate} taskUpdate
|
|
1697
|
+
* @param {*} [options] Override http request option.
|
|
1698
|
+
* @throws {RequiredError}
|
|
1699
|
+
* @memberof TasksApi
|
|
1700
|
+
*/
|
|
1701
|
+
tasksUpdate(taskId: string, taskUpdate: TaskUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<TasksUpdateResponse, any>>;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
export { type APIValidationError, type APIValidationErrorLocInner, Configuration, type ConfigurationParameters, type Contact, type ContactAddress, type ContactAvatar, ContactAvatarAvatarTypeEnum, type ContactCreate, type ContactTag, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type EmailMarketingListSuppression, type EmailMarketingSubscription, type EmailMarketingSuppression, type EmailSubscriptionsInput, type EmailSubscriptionsOutput, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type PredictiveAnalytics, type SmsMarketingSubscription, type SmsSubscriptionsInput, type SmsSubscriptionsOutput, type SmsTransactionalSubscription, type SubscriptionMethodMetadata, type SubscriptionsInput, type SubscriptionsOutput, type Task, type TaskCreate, type TaskUpdate, TasksApi, TasksApiAxiosParamCreator, TasksApiFactory, TasksApiFp, type TasksCreateResponse, type TasksGetResponse, type TasksListResponse, type TasksUpdateResponse };
|