@ember-home/unbound-ts-client 0.0.7 → 0.0.9
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 +1320 -207
- package/dist/index.d.ts +1320 -207
- package/dist/index.js +1742 -329
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1723 -310
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -167,37 +167,80 @@ interface Address {
|
|
|
167
167
|
* @type {string}
|
|
168
168
|
* @memberof Address
|
|
169
169
|
*/
|
|
170
|
-
'
|
|
170
|
+
'street1': string | null;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
173
|
* @type {string}
|
|
174
174
|
* @memberof Address
|
|
175
175
|
*/
|
|
176
|
-
'
|
|
176
|
+
'street2'?: string | null;
|
|
177
177
|
/**
|
|
178
178
|
*
|
|
179
179
|
* @type {string}
|
|
180
180
|
* @memberof Address
|
|
181
181
|
*/
|
|
182
|
-
'
|
|
182
|
+
'country': string | null;
|
|
183
183
|
/**
|
|
184
184
|
*
|
|
185
185
|
* @type {string}
|
|
186
186
|
* @memberof Address
|
|
187
187
|
*/
|
|
188
|
-
'
|
|
188
|
+
'locality': string | null;
|
|
189
189
|
/**
|
|
190
190
|
*
|
|
191
191
|
* @type {string}
|
|
192
192
|
* @memberof Address
|
|
193
193
|
*/
|
|
194
|
-
'
|
|
194
|
+
'postalCode': string | null;
|
|
195
195
|
/**
|
|
196
196
|
*
|
|
197
197
|
* @type {string}
|
|
198
198
|
* @memberof Address
|
|
199
199
|
*/
|
|
200
|
+
'region': string | null;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @export
|
|
205
|
+
* @interface AddressCreate
|
|
206
|
+
*/
|
|
207
|
+
interface AddressCreate {
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof AddressCreate
|
|
212
|
+
*/
|
|
213
|
+
'address1': string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof AddressCreate
|
|
218
|
+
*/
|
|
219
|
+
'address2'?: string | null;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof AddressCreate
|
|
224
|
+
*/
|
|
225
|
+
'country': string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof AddressCreate
|
|
230
|
+
*/
|
|
231
|
+
'locality': string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof AddressCreate
|
|
236
|
+
*/
|
|
200
237
|
'postalCode': string;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof AddressCreate
|
|
242
|
+
*/
|
|
243
|
+
'region': string;
|
|
201
244
|
}
|
|
202
245
|
/**
|
|
203
246
|
*
|
|
@@ -210,37 +253,37 @@ interface AddressItem {
|
|
|
210
253
|
* @type {string}
|
|
211
254
|
* @memberof AddressItem
|
|
212
255
|
*/
|
|
213
|
-
'
|
|
256
|
+
'street1': string | null;
|
|
214
257
|
/**
|
|
215
258
|
*
|
|
216
259
|
* @type {string}
|
|
217
260
|
* @memberof AddressItem
|
|
218
261
|
*/
|
|
219
|
-
'
|
|
262
|
+
'street2'?: string | null;
|
|
220
263
|
/**
|
|
221
264
|
*
|
|
222
265
|
* @type {string}
|
|
223
266
|
* @memberof AddressItem
|
|
224
267
|
*/
|
|
225
|
-
'
|
|
268
|
+
'country': string | null;
|
|
226
269
|
/**
|
|
227
270
|
*
|
|
228
271
|
* @type {string}
|
|
229
272
|
* @memberof AddressItem
|
|
230
273
|
*/
|
|
231
|
-
'
|
|
274
|
+
'locality': string | null;
|
|
232
275
|
/**
|
|
233
276
|
*
|
|
234
277
|
* @type {string}
|
|
235
278
|
* @memberof AddressItem
|
|
236
279
|
*/
|
|
237
|
-
'
|
|
280
|
+
'postalCode': string | null;
|
|
238
281
|
/**
|
|
239
282
|
*
|
|
240
283
|
* @type {string}
|
|
241
284
|
* @memberof AddressItem
|
|
242
285
|
*/
|
|
243
|
-
'
|
|
286
|
+
'region': string | null;
|
|
244
287
|
/**
|
|
245
288
|
*
|
|
246
289
|
* @type {string}
|
|
@@ -249,41 +292,152 @@ interface AddressItem {
|
|
|
249
292
|
'addressId': string;
|
|
250
293
|
/**
|
|
251
294
|
*
|
|
252
|
-
* @type {
|
|
295
|
+
* @type {DataSource}
|
|
253
296
|
* @memberof AddressItem
|
|
254
297
|
*/
|
|
255
|
-
'
|
|
298
|
+
'dataSource': DataSource;
|
|
256
299
|
/**
|
|
257
300
|
*
|
|
258
301
|
* @type {string}
|
|
259
302
|
* @memberof AddressItem
|
|
260
303
|
*/
|
|
261
|
-
'
|
|
304
|
+
'deletedAt'?: string | null;
|
|
262
305
|
/**
|
|
263
306
|
*
|
|
264
307
|
* @type {boolean}
|
|
265
308
|
* @memberof AddressItem
|
|
266
309
|
*/
|
|
267
310
|
'isPrimary': boolean;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @export
|
|
315
|
+
* @interface AddressUpdate
|
|
316
|
+
*/
|
|
317
|
+
interface AddressUpdate {
|
|
268
318
|
/**
|
|
269
319
|
*
|
|
270
320
|
* @type {string}
|
|
271
|
-
* @memberof
|
|
321
|
+
* @memberof AddressUpdate
|
|
272
322
|
*/
|
|
273
|
-
'
|
|
323
|
+
'address1'?: string | null;
|
|
274
324
|
/**
|
|
275
325
|
*
|
|
276
326
|
* @type {string}
|
|
277
|
-
* @memberof
|
|
327
|
+
* @memberof AddressUpdate
|
|
278
328
|
*/
|
|
279
|
-
'
|
|
329
|
+
'address2'?: string | null;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof AddressUpdate
|
|
334
|
+
*/
|
|
335
|
+
'country'?: string | null;
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof AddressUpdate
|
|
340
|
+
*/
|
|
341
|
+
'locality'?: string | null;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof AddressUpdate
|
|
346
|
+
*/
|
|
347
|
+
'postalCode'?: string | null;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* @type {string}
|
|
351
|
+
* @memberof AddressUpdate
|
|
352
|
+
*/
|
|
353
|
+
'region'?: string | null;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @export
|
|
358
|
+
* @interface AddressesCreateResponse
|
|
359
|
+
*/
|
|
360
|
+
interface AddressesCreateResponse {
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof AddressesCreateResponse
|
|
365
|
+
*/
|
|
366
|
+
'street1': string | null;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @type {string}
|
|
370
|
+
* @memberof AddressesCreateResponse
|
|
371
|
+
*/
|
|
372
|
+
'street2'?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof AddressesCreateResponse
|
|
377
|
+
*/
|
|
378
|
+
'country': string | null;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof AddressesCreateResponse
|
|
383
|
+
*/
|
|
384
|
+
'locality': string | null;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof AddressesCreateResponse
|
|
389
|
+
*/
|
|
390
|
+
'postalCode': string | null;
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof AddressesCreateResponse
|
|
395
|
+
*/
|
|
396
|
+
'region': string | null;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @export
|
|
401
|
+
* @interface AddressesUpdateResponse
|
|
402
|
+
*/
|
|
403
|
+
interface AddressesUpdateResponse {
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof AddressesUpdateResponse
|
|
408
|
+
*/
|
|
409
|
+
'street1': string | null;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {string}
|
|
413
|
+
* @memberof AddressesUpdateResponse
|
|
414
|
+
*/
|
|
415
|
+
'street2'?: string | null;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof AddressesUpdateResponse
|
|
420
|
+
*/
|
|
421
|
+
'country': string | null;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof AddressesUpdateResponse
|
|
426
|
+
*/
|
|
427
|
+
'locality': string | null;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {string}
|
|
431
|
+
* @memberof AddressesUpdateResponse
|
|
432
|
+
*/
|
|
433
|
+
'postalCode': string | null;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof AddressesUpdateResponse
|
|
438
|
+
*/
|
|
439
|
+
'region': string | null;
|
|
280
440
|
}
|
|
281
|
-
declare const AddressItemDataSourceEnum: {
|
|
282
|
-
readonly Hostaway: "HOSTAWAY";
|
|
283
|
-
readonly Guesty: "GUESTY";
|
|
284
|
-
readonly Manual: "MANUAL";
|
|
285
|
-
};
|
|
286
|
-
type AddressItemDataSourceEnum = typeof AddressItemDataSourceEnum[keyof typeof AddressItemDataSourceEnum];
|
|
287
441
|
/**
|
|
288
442
|
*
|
|
289
443
|
* @export
|
|
@@ -315,6 +469,18 @@ interface ContactCreate {
|
|
|
315
469
|
*/
|
|
316
470
|
'contactTypeData': Contacttypedata;
|
|
317
471
|
}
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @export
|
|
475
|
+
* @enum {string}
|
|
476
|
+
*/
|
|
477
|
+
declare const ContactType: {
|
|
478
|
+
readonly Guest: "GUEST";
|
|
479
|
+
readonly Owner: "OWNER";
|
|
480
|
+
readonly Lead: "LEAD";
|
|
481
|
+
readonly Basic: "BASIC";
|
|
482
|
+
};
|
|
483
|
+
type ContactType = typeof ContactType[keyof typeof ContactType];
|
|
318
484
|
/**
|
|
319
485
|
*
|
|
320
486
|
* @export
|
|
@@ -863,61 +1029,110 @@ type Contacttypedata1 = GuestDataUpdate | LeadDataUpdate | OwnerDataUpdate;
|
|
|
863
1029
|
* @export
|
|
864
1030
|
*/
|
|
865
1031
|
type Contacttypedata2 = GuestData | LeadData | OwnerData;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @export
|
|
1035
|
+
* @enum {string}
|
|
1036
|
+
*/
|
|
1037
|
+
declare const DataSource: {
|
|
1038
|
+
readonly Hostaway: "HOSTAWAY";
|
|
1039
|
+
readonly Guesty: "GUESTY";
|
|
1040
|
+
readonly Manual: "MANUAL";
|
|
1041
|
+
};
|
|
1042
|
+
type DataSource = typeof DataSource[keyof typeof DataSource];
|
|
866
1043
|
/**
|
|
867
1044
|
*
|
|
868
1045
|
* @export
|
|
869
1046
|
* @interface Email
|
|
870
1047
|
*/
|
|
871
1048
|
interface Email {
|
|
1049
|
+
/**
|
|
1050
|
+
*
|
|
1051
|
+
* @type {DataSource}
|
|
1052
|
+
* @memberof Email
|
|
1053
|
+
*/
|
|
1054
|
+
'dataSource': DataSource;
|
|
872
1055
|
/**
|
|
873
1056
|
*
|
|
874
1057
|
* @type {string}
|
|
875
1058
|
* @memberof Email
|
|
876
1059
|
*/
|
|
877
|
-
'
|
|
1060
|
+
'deletedAt'?: string | null;
|
|
878
1061
|
/**
|
|
879
1062
|
*
|
|
880
1063
|
* @type {string}
|
|
881
1064
|
* @memberof Email
|
|
882
1065
|
*/
|
|
883
|
-
'
|
|
1066
|
+
'email': string;
|
|
884
1067
|
/**
|
|
885
1068
|
*
|
|
886
1069
|
* @type {string}
|
|
887
1070
|
* @memberof Email
|
|
888
1071
|
*/
|
|
889
|
-
'
|
|
1072
|
+
'emailId': string;
|
|
890
1073
|
/**
|
|
891
1074
|
*
|
|
892
1075
|
* @type {boolean}
|
|
893
1076
|
* @memberof Email
|
|
894
1077
|
*/
|
|
895
1078
|
'isPrimary': boolean;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
*
|
|
1082
|
+
* @export
|
|
1083
|
+
* @interface EmailCreate
|
|
1084
|
+
*/
|
|
1085
|
+
interface EmailCreate {
|
|
896
1086
|
/**
|
|
897
1087
|
*
|
|
898
1088
|
* @type {string}
|
|
899
|
-
* @memberof
|
|
1089
|
+
* @memberof EmailCreate
|
|
900
1090
|
*/
|
|
901
1091
|
'email': string;
|
|
902
1092
|
/**
|
|
903
1093
|
*
|
|
904
|
-
* @type {
|
|
905
|
-
* @memberof
|
|
1094
|
+
* @type {boolean}
|
|
1095
|
+
* @memberof EmailCreate
|
|
1096
|
+
*/
|
|
1097
|
+
'isPrimary'?: boolean | null;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @export
|
|
1102
|
+
* @interface EmailsCreateResponse
|
|
1103
|
+
*/
|
|
1104
|
+
interface EmailsCreateResponse {
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @type {DataSource}
|
|
1108
|
+
* @memberof EmailsCreateResponse
|
|
906
1109
|
*/
|
|
907
|
-
'dataSource':
|
|
1110
|
+
'dataSource': DataSource;
|
|
908
1111
|
/**
|
|
909
1112
|
*
|
|
910
1113
|
* @type {string}
|
|
911
|
-
* @memberof
|
|
1114
|
+
* @memberof EmailsCreateResponse
|
|
912
1115
|
*/
|
|
913
1116
|
'deletedAt'?: string | null;
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @type {string}
|
|
1120
|
+
* @memberof EmailsCreateResponse
|
|
1121
|
+
*/
|
|
1122
|
+
'email': string;
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @type {string}
|
|
1126
|
+
* @memberof EmailsCreateResponse
|
|
1127
|
+
*/
|
|
1128
|
+
'emailId': string;
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @type {boolean}
|
|
1132
|
+
* @memberof EmailsCreateResponse
|
|
1133
|
+
*/
|
|
1134
|
+
'isPrimary': boolean;
|
|
914
1135
|
}
|
|
915
|
-
declare const EmailDataSourceEnum: {
|
|
916
|
-
readonly Hostaway: "HOSTAWAY";
|
|
917
|
-
readonly Guesty: "GUESTY";
|
|
918
|
-
readonly Manual: "MANUAL";
|
|
919
|
-
};
|
|
920
|
-
type EmailDataSourceEnum = typeof EmailDataSourceEnum[keyof typeof EmailDataSourceEnum];
|
|
921
1136
|
/**
|
|
922
1137
|
*
|
|
923
1138
|
* @export
|
|
@@ -926,34 +1141,34 @@ type EmailDataSourceEnum = typeof EmailDataSourceEnum[keyof typeof EmailDataSour
|
|
|
926
1141
|
interface GuestData {
|
|
927
1142
|
/**
|
|
928
1143
|
*
|
|
929
|
-
* @type {
|
|
1144
|
+
* @type {number}
|
|
930
1145
|
* @memberof GuestData
|
|
931
1146
|
*/
|
|
932
|
-
'
|
|
1147
|
+
'averageRating'?: number;
|
|
933
1148
|
/**
|
|
934
1149
|
*
|
|
935
|
-
* @type {
|
|
1150
|
+
* @type {string}
|
|
936
1151
|
* @memberof GuestData
|
|
937
1152
|
*/
|
|
938
|
-
'
|
|
1153
|
+
'contactType': GuestDataContactTypeEnum;
|
|
939
1154
|
/**
|
|
940
1155
|
*
|
|
941
1156
|
* @type {number}
|
|
942
1157
|
* @memberof GuestData
|
|
943
1158
|
*/
|
|
944
|
-
'
|
|
1159
|
+
'numStays'?: number;
|
|
945
1160
|
/**
|
|
946
1161
|
*
|
|
947
1162
|
* @type {number}
|
|
948
1163
|
* @memberof GuestData
|
|
949
1164
|
*/
|
|
950
|
-
'
|
|
1165
|
+
'totalAmountSpent'?: number;
|
|
951
1166
|
/**
|
|
952
1167
|
*
|
|
953
|
-
* @type {
|
|
1168
|
+
* @type {string}
|
|
954
1169
|
* @memberof GuestData
|
|
955
1170
|
*/
|
|
956
|
-
'
|
|
1171
|
+
'smsMarketingConsentAt'?: string | null;
|
|
957
1172
|
/**
|
|
958
1173
|
*
|
|
959
1174
|
* @type {string}
|
|
@@ -962,16 +1177,16 @@ interface GuestData {
|
|
|
962
1177
|
'smsMarketingConsentType'?: string | null;
|
|
963
1178
|
/**
|
|
964
1179
|
*
|
|
965
|
-
* @type {
|
|
1180
|
+
* @type {boolean}
|
|
966
1181
|
* @memberof GuestData
|
|
967
1182
|
*/
|
|
968
|
-
'
|
|
1183
|
+
'smsMarketingIsSubscribed'?: boolean;
|
|
969
1184
|
/**
|
|
970
1185
|
*
|
|
971
|
-
* @type {
|
|
1186
|
+
* @type {string}
|
|
972
1187
|
* @memberof GuestData
|
|
973
1188
|
*/
|
|
974
|
-
'
|
|
1189
|
+
'smsTransactionalConsentAt'?: string | null;
|
|
975
1190
|
/**
|
|
976
1191
|
*
|
|
977
1192
|
* @type {string}
|
|
@@ -980,10 +1195,10 @@ interface GuestData {
|
|
|
980
1195
|
'smsTransactionalConsentType'?: string | null;
|
|
981
1196
|
/**
|
|
982
1197
|
*
|
|
983
|
-
* @type {
|
|
1198
|
+
* @type {boolean}
|
|
984
1199
|
* @memberof GuestData
|
|
985
1200
|
*/
|
|
986
|
-
'
|
|
1201
|
+
'smsTransactionalIsSubscribed'?: boolean;
|
|
987
1202
|
}
|
|
988
1203
|
declare const GuestDataContactTypeEnum: {
|
|
989
1204
|
readonly Guest: "GUEST";
|
|
@@ -1003,10 +1218,10 @@ interface GuestDataCreate {
|
|
|
1003
1218
|
'contactType': GuestDataCreateContactTypeEnum;
|
|
1004
1219
|
/**
|
|
1005
1220
|
*
|
|
1006
|
-
* @type {
|
|
1221
|
+
* @type {string}
|
|
1007
1222
|
* @memberof GuestDataCreate
|
|
1008
1223
|
*/
|
|
1009
|
-
'
|
|
1224
|
+
'smsMarketingConsentAt'?: string | null;
|
|
1010
1225
|
/**
|
|
1011
1226
|
*
|
|
1012
1227
|
* @type {string}
|
|
@@ -1015,16 +1230,16 @@ interface GuestDataCreate {
|
|
|
1015
1230
|
'smsMarketingConsentType'?: string | null;
|
|
1016
1231
|
/**
|
|
1017
1232
|
*
|
|
1018
|
-
* @type {
|
|
1233
|
+
* @type {boolean}
|
|
1019
1234
|
* @memberof GuestDataCreate
|
|
1020
1235
|
*/
|
|
1021
|
-
'
|
|
1236
|
+
'smsMarketingIsSubscribed'?: boolean | null;
|
|
1022
1237
|
/**
|
|
1023
1238
|
*
|
|
1024
|
-
* @type {
|
|
1239
|
+
* @type {string}
|
|
1025
1240
|
* @memberof GuestDataCreate
|
|
1026
1241
|
*/
|
|
1027
|
-
'
|
|
1242
|
+
'smsTransactionalConsentAt'?: string | null;
|
|
1028
1243
|
/**
|
|
1029
1244
|
*
|
|
1030
1245
|
* @type {string}
|
|
@@ -1033,10 +1248,10 @@ interface GuestDataCreate {
|
|
|
1033
1248
|
'smsTransactionalConsentType'?: string | null;
|
|
1034
1249
|
/**
|
|
1035
1250
|
*
|
|
1036
|
-
* @type {
|
|
1251
|
+
* @type {boolean}
|
|
1037
1252
|
* @memberof GuestDataCreate
|
|
1038
1253
|
*/
|
|
1039
|
-
'
|
|
1254
|
+
'smsTransactionalIsSubscribed'?: boolean | null;
|
|
1040
1255
|
}
|
|
1041
1256
|
declare const GuestDataCreateContactTypeEnum: {
|
|
1042
1257
|
readonly Guest: "GUEST";
|
|
@@ -1056,10 +1271,10 @@ interface GuestDataUpdate {
|
|
|
1056
1271
|
'contactType': GuestDataUpdateContactTypeEnum;
|
|
1057
1272
|
/**
|
|
1058
1273
|
*
|
|
1059
|
-
* @type {
|
|
1274
|
+
* @type {string}
|
|
1060
1275
|
* @memberof GuestDataUpdate
|
|
1061
1276
|
*/
|
|
1062
|
-
'
|
|
1277
|
+
'smsMarketingConsentAt'?: string | null;
|
|
1063
1278
|
/**
|
|
1064
1279
|
*
|
|
1065
1280
|
* @type {string}
|
|
@@ -1068,16 +1283,16 @@ interface GuestDataUpdate {
|
|
|
1068
1283
|
'smsMarketingConsentType'?: string | null;
|
|
1069
1284
|
/**
|
|
1070
1285
|
*
|
|
1071
|
-
* @type {
|
|
1286
|
+
* @type {boolean}
|
|
1072
1287
|
* @memberof GuestDataUpdate
|
|
1073
1288
|
*/
|
|
1074
|
-
'
|
|
1289
|
+
'smsMarketingIsSubscribed'?: boolean | null;
|
|
1075
1290
|
/**
|
|
1076
1291
|
*
|
|
1077
|
-
* @type {
|
|
1292
|
+
* @type {string}
|
|
1078
1293
|
* @memberof GuestDataUpdate
|
|
1079
1294
|
*/
|
|
1080
|
-
'
|
|
1295
|
+
'smsTransactionalConsentAt'?: string | null;
|
|
1081
1296
|
/**
|
|
1082
1297
|
*
|
|
1083
1298
|
* @type {string}
|
|
@@ -1086,10 +1301,10 @@ interface GuestDataUpdate {
|
|
|
1086
1301
|
'smsTransactionalConsentType'?: string | null;
|
|
1087
1302
|
/**
|
|
1088
1303
|
*
|
|
1089
|
-
* @type {
|
|
1304
|
+
* @type {boolean}
|
|
1090
1305
|
* @memberof GuestDataUpdate
|
|
1091
1306
|
*/
|
|
1092
|
-
'
|
|
1307
|
+
'smsTransactionalIsSubscribed'?: boolean | null;
|
|
1093
1308
|
}
|
|
1094
1309
|
declare const GuestDataUpdateContactTypeEnum: {
|
|
1095
1310
|
readonly Guest: "GUEST";
|
|
@@ -1108,6 +1323,39 @@ interface HTTPValidationError {
|
|
|
1108
1323
|
*/
|
|
1109
1324
|
'detail'?: Array<APIValidationError>;
|
|
1110
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface HostawayWebhook
|
|
1330
|
+
*/
|
|
1331
|
+
interface HostawayWebhook {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof HostawayWebhook
|
|
1336
|
+
*/
|
|
1337
|
+
'object': string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof HostawayWebhook
|
|
1342
|
+
*/
|
|
1343
|
+
'event': string;
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @type {number}
|
|
1347
|
+
* @memberof HostawayWebhook
|
|
1348
|
+
*/
|
|
1349
|
+
'accountId': number;
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @type {{ [key: string]: any; }}
|
|
1353
|
+
* @memberof HostawayWebhook
|
|
1354
|
+
*/
|
|
1355
|
+
'data': {
|
|
1356
|
+
[key: string]: any;
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1111
1359
|
/**
|
|
1112
1360
|
*
|
|
1113
1361
|
* @export
|
|
@@ -1244,53 +1492,91 @@ type OwnerDataUpdateContactTypeEnum = typeof OwnerDataUpdateContactTypeEnum[keyo
|
|
|
1244
1492
|
interface Phone {
|
|
1245
1493
|
/**
|
|
1246
1494
|
*
|
|
1247
|
-
* @type {
|
|
1495
|
+
* @type {DataSource}
|
|
1248
1496
|
* @memberof Phone
|
|
1249
1497
|
*/
|
|
1250
|
-
'
|
|
1498
|
+
'dataSource': DataSource;
|
|
1251
1499
|
/**
|
|
1252
1500
|
*
|
|
1253
1501
|
* @type {string}
|
|
1254
1502
|
* @memberof Phone
|
|
1255
1503
|
*/
|
|
1256
|
-
'
|
|
1504
|
+
'deletedAt'?: string | null;
|
|
1257
1505
|
/**
|
|
1258
1506
|
*
|
|
1259
|
-
* @type {
|
|
1507
|
+
* @type {boolean}
|
|
1260
1508
|
* @memberof Phone
|
|
1261
1509
|
*/
|
|
1262
|
-
'
|
|
1510
|
+
'isPrimary': boolean;
|
|
1263
1511
|
/**
|
|
1264
1512
|
*
|
|
1265
|
-
* @type {
|
|
1513
|
+
* @type {string}
|
|
1266
1514
|
* @memberof Phone
|
|
1267
1515
|
*/
|
|
1268
|
-
'
|
|
1516
|
+
'phoneId': string;
|
|
1269
1517
|
/**
|
|
1270
1518
|
*
|
|
1271
1519
|
* @type {string}
|
|
1272
1520
|
* @memberof Phone
|
|
1273
1521
|
*/
|
|
1274
1522
|
'phone': string | null;
|
|
1523
|
+
}
|
|
1524
|
+
/**
|
|
1525
|
+
*
|
|
1526
|
+
* @export
|
|
1527
|
+
* @interface PhoneCreate
|
|
1528
|
+
*/
|
|
1529
|
+
interface PhoneCreate {
|
|
1275
1530
|
/**
|
|
1276
1531
|
*
|
|
1277
1532
|
* @type {string}
|
|
1278
|
-
* @memberof
|
|
1533
|
+
* @memberof PhoneCreate
|
|
1534
|
+
*/
|
|
1535
|
+
'phone': string | null;
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @type {boolean}
|
|
1539
|
+
* @memberof PhoneCreate
|
|
1540
|
+
*/
|
|
1541
|
+
'isPrimary'?: boolean | null;
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @export
|
|
1546
|
+
* @interface PhonesCreateResponse
|
|
1547
|
+
*/
|
|
1548
|
+
interface PhonesCreateResponse {
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {DataSource}
|
|
1552
|
+
* @memberof PhonesCreateResponse
|
|
1279
1553
|
*/
|
|
1280
|
-
'dataSource':
|
|
1554
|
+
'dataSource': DataSource;
|
|
1281
1555
|
/**
|
|
1282
1556
|
*
|
|
1283
1557
|
* @type {string}
|
|
1284
|
-
* @memberof
|
|
1558
|
+
* @memberof PhonesCreateResponse
|
|
1285
1559
|
*/
|
|
1286
1560
|
'deletedAt'?: string | null;
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @type {boolean}
|
|
1564
|
+
* @memberof PhonesCreateResponse
|
|
1565
|
+
*/
|
|
1566
|
+
'isPrimary': boolean;
|
|
1567
|
+
/**
|
|
1568
|
+
*
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof PhonesCreateResponse
|
|
1571
|
+
*/
|
|
1572
|
+
'phoneId': string;
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof PhonesCreateResponse
|
|
1577
|
+
*/
|
|
1578
|
+
'phone': string | null;
|
|
1287
1579
|
}
|
|
1288
|
-
declare const PhoneDataSourceEnum: {
|
|
1289
|
-
readonly Hostaway: "HOSTAWAY";
|
|
1290
|
-
readonly Guesty: "GUESTY";
|
|
1291
|
-
readonly Manual: "MANUAL";
|
|
1292
|
-
};
|
|
1293
|
-
type PhoneDataSourceEnum = typeof PhoneDataSourceEnum[keyof typeof PhoneDataSourceEnum];
|
|
1294
1580
|
/**
|
|
1295
1581
|
*
|
|
1296
1582
|
* @export
|
|
@@ -1341,106 +1627,169 @@ interface ReservationsListResponse {
|
|
|
1341
1627
|
'totalPrice': number;
|
|
1342
1628
|
}
|
|
1343
1629
|
/**
|
|
1344
|
-
*
|
|
1630
|
+
* AddressesApi - axios parameter creator
|
|
1345
1631
|
* @export
|
|
1346
1632
|
*/
|
|
1347
|
-
declare const
|
|
1633
|
+
declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1348
1634
|
/**
|
|
1349
1635
|
*
|
|
1350
|
-
* @summary
|
|
1351
|
-
* @param {string}
|
|
1352
|
-
* @param {
|
|
1636
|
+
* @summary Addresses Create
|
|
1637
|
+
* @param {string} contactId
|
|
1638
|
+
* @param {AddressCreate} addressCreate
|
|
1353
1639
|
* @param {*} [options] Override http request option.
|
|
1354
1640
|
* @throws {RequiredError}
|
|
1355
1641
|
*/
|
|
1356
|
-
|
|
1642
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1357
1643
|
/**
|
|
1358
1644
|
*
|
|
1359
|
-
* @summary
|
|
1360
|
-
* @param {string}
|
|
1645
|
+
* @summary Addresses Delete
|
|
1646
|
+
* @param {string} addressId
|
|
1361
1647
|
* @param {*} [options] Override http request option.
|
|
1362
1648
|
* @throws {RequiredError}
|
|
1363
1649
|
*/
|
|
1364
|
-
|
|
1650
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1365
1651
|
/**
|
|
1366
1652
|
*
|
|
1367
|
-
* @summary
|
|
1653
|
+
* @summary Addresses Update
|
|
1654
|
+
* @param {string} addressId
|
|
1655
|
+
* @param {AddressUpdate} addressUpdate
|
|
1656
|
+
* @param {*} [options] Override http request option.
|
|
1657
|
+
* @throws {RequiredError}
|
|
1658
|
+
*/
|
|
1659
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1660
|
+
};
|
|
1661
|
+
/**
|
|
1662
|
+
* AddressesApi - functional programming interface
|
|
1663
|
+
* @export
|
|
1664
|
+
*/
|
|
1665
|
+
declare const AddressesApiFp: (configuration?: Configuration) => {
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @summary Addresses Create
|
|
1368
1669
|
* @param {string} contactId
|
|
1670
|
+
* @param {AddressCreate} addressCreate
|
|
1369
1671
|
* @param {*} [options] Override http request option.
|
|
1370
1672
|
* @throws {RequiredError}
|
|
1371
1673
|
*/
|
|
1372
|
-
|
|
1674
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
1373
1675
|
/**
|
|
1374
1676
|
*
|
|
1375
|
-
* @summary
|
|
1376
|
-
* @param {string}
|
|
1677
|
+
* @summary Addresses Delete
|
|
1678
|
+
* @param {string} addressId
|
|
1377
1679
|
* @param {*} [options] Override http request option.
|
|
1378
1680
|
* @throws {RequiredError}
|
|
1379
1681
|
*/
|
|
1380
|
-
|
|
1682
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1381
1683
|
/**
|
|
1382
1684
|
*
|
|
1383
|
-
* @summary
|
|
1384
|
-
* @param {string}
|
|
1385
|
-
* @param {
|
|
1685
|
+
* @summary Addresses Update
|
|
1686
|
+
* @param {string} addressId
|
|
1687
|
+
* @param {AddressUpdate} addressUpdate
|
|
1386
1688
|
* @param {*} [options] Override http request option.
|
|
1387
1689
|
* @throws {RequiredError}
|
|
1388
1690
|
*/
|
|
1389
|
-
|
|
1691
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1390
1692
|
};
|
|
1391
1693
|
/**
|
|
1392
|
-
*
|
|
1694
|
+
* AddressesApi - factory interface
|
|
1393
1695
|
* @export
|
|
1394
1696
|
*/
|
|
1395
|
-
declare const
|
|
1697
|
+
declare const AddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1396
1698
|
/**
|
|
1397
1699
|
*
|
|
1398
|
-
* @summary
|
|
1399
|
-
* @param {string}
|
|
1400
|
-
* @param {
|
|
1700
|
+
* @summary Addresses Create
|
|
1701
|
+
* @param {string} contactId
|
|
1702
|
+
* @param {AddressCreate} addressCreate
|
|
1401
1703
|
* @param {*} [options] Override http request option.
|
|
1402
1704
|
* @throws {RequiredError}
|
|
1403
1705
|
*/
|
|
1404
|
-
|
|
1706
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
1405
1707
|
/**
|
|
1406
1708
|
*
|
|
1407
|
-
* @summary
|
|
1408
|
-
* @param {string}
|
|
1709
|
+
* @summary Addresses Delete
|
|
1710
|
+
* @param {string} addressId
|
|
1409
1711
|
* @param {*} [options] Override http request option.
|
|
1410
1712
|
* @throws {RequiredError}
|
|
1411
1713
|
*/
|
|
1412
|
-
|
|
1714
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1413
1715
|
/**
|
|
1414
1716
|
*
|
|
1415
|
-
* @summary
|
|
1717
|
+
* @summary Addresses Update
|
|
1718
|
+
* @param {string} addressId
|
|
1719
|
+
* @param {AddressUpdate} addressUpdate
|
|
1720
|
+
* @param {*} [options] Override http request option.
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
*/
|
|
1723
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
1724
|
+
};
|
|
1725
|
+
/**
|
|
1726
|
+
* AddressesApi - object-oriented interface
|
|
1727
|
+
* @export
|
|
1728
|
+
* @class AddressesApi
|
|
1729
|
+
* @extends {BaseAPI}
|
|
1730
|
+
*/
|
|
1731
|
+
declare class AddressesApi extends BaseAPI {
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @summary Addresses Create
|
|
1416
1735
|
* @param {string} contactId
|
|
1736
|
+
* @param {AddressCreate} addressCreate
|
|
1417
1737
|
* @param {*} [options] Override http request option.
|
|
1418
1738
|
* @throws {RequiredError}
|
|
1739
|
+
* @memberof AddressesApi
|
|
1419
1740
|
*/
|
|
1420
|
-
|
|
1741
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
1421
1742
|
/**
|
|
1422
1743
|
*
|
|
1423
|
-
* @summary
|
|
1424
|
-
* @param {string}
|
|
1744
|
+
* @summary Addresses Delete
|
|
1745
|
+
* @param {string} addressId
|
|
1425
1746
|
* @param {*} [options] Override http request option.
|
|
1426
1747
|
* @throws {RequiredError}
|
|
1748
|
+
* @memberof AddressesApi
|
|
1427
1749
|
*/
|
|
1428
|
-
|
|
1750
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1429
1751
|
/**
|
|
1430
1752
|
*
|
|
1431
|
-
* @summary
|
|
1432
|
-
* @param {string}
|
|
1433
|
-
* @param {
|
|
1753
|
+
* @summary Addresses Update
|
|
1754
|
+
* @param {string} addressId
|
|
1755
|
+
* @param {AddressUpdate} addressUpdate
|
|
1434
1756
|
* @param {*} [options] Override http request option.
|
|
1435
1757
|
* @throws {RequiredError}
|
|
1758
|
+
* @memberof AddressesApi
|
|
1436
1759
|
*/
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1760
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
1761
|
+
}
|
|
1439
1762
|
/**
|
|
1440
|
-
* ContactsApi -
|
|
1763
|
+
* ContactsApi - axios parameter creator
|
|
1441
1764
|
* @export
|
|
1442
1765
|
*/
|
|
1443
|
-
declare const
|
|
1766
|
+
declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1767
|
+
/**
|
|
1768
|
+
*
|
|
1769
|
+
* @summary Addresses Create
|
|
1770
|
+
* @param {string} contactId
|
|
1771
|
+
* @param {AddressCreate} addressCreate
|
|
1772
|
+
* @param {*} [options] Override http request option.
|
|
1773
|
+
* @throws {RequiredError}
|
|
1774
|
+
*/
|
|
1775
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1776
|
+
/**
|
|
1777
|
+
*
|
|
1778
|
+
* @summary Addresses Delete
|
|
1779
|
+
* @param {string} addressId
|
|
1780
|
+
* @param {*} [options] Override http request option.
|
|
1781
|
+
* @throws {RequiredError}
|
|
1782
|
+
*/
|
|
1783
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1784
|
+
/**
|
|
1785
|
+
*
|
|
1786
|
+
* @summary Addresses Update
|
|
1787
|
+
* @param {string} addressId
|
|
1788
|
+
* @param {AddressUpdate} addressUpdate
|
|
1789
|
+
* @param {*} [options] Override http request option.
|
|
1790
|
+
* @throws {RequiredError}
|
|
1791
|
+
*/
|
|
1792
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1444
1793
|
/**
|
|
1445
1794
|
*
|
|
1446
1795
|
* @summary Contacts Create
|
|
@@ -1449,7 +1798,7 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1449
1798
|
* @param {*} [options] Override http request option.
|
|
1450
1799
|
* @throws {RequiredError}
|
|
1451
1800
|
*/
|
|
1452
|
-
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig)
|
|
1801
|
+
contactsCreate: (customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1453
1802
|
/**
|
|
1454
1803
|
*
|
|
1455
1804
|
* @summary Contacts Delete
|
|
@@ -1457,7 +1806,7 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1457
1806
|
* @param {*} [options] Override http request option.
|
|
1458
1807
|
* @throws {RequiredError}
|
|
1459
1808
|
*/
|
|
1460
|
-
contactsDelete(contactId: string, options?: RawAxiosRequestConfig)
|
|
1809
|
+
contactsDelete: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1461
1810
|
/**
|
|
1462
1811
|
*
|
|
1463
1812
|
* @summary Contacts Get
|
|
@@ -1465,15 +1814,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1465
1814
|
* @param {*} [options] Override http request option.
|
|
1466
1815
|
* @throws {RequiredError}
|
|
1467
1816
|
*/
|
|
1468
|
-
contactsGet(contactId: string, options?: RawAxiosRequestConfig)
|
|
1817
|
+
contactsGet: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1469
1818
|
/**
|
|
1470
1819
|
*
|
|
1471
1820
|
* @summary Contacts List
|
|
1472
|
-
* @param {
|
|
1821
|
+
* @param {ContactType} [contactType]
|
|
1822
|
+
* @param {string} [searchString]
|
|
1473
1823
|
* @param {*} [options] Override http request option.
|
|
1474
1824
|
* @throws {RequiredError}
|
|
1475
1825
|
*/
|
|
1476
|
-
contactsList(
|
|
1826
|
+
contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1477
1827
|
/**
|
|
1478
1828
|
*
|
|
1479
1829
|
* @summary Contacts Update
|
|
@@ -1482,15 +1832,73 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1482
1832
|
* @param {*} [options] Override http request option.
|
|
1483
1833
|
* @throws {RequiredError}
|
|
1484
1834
|
*/
|
|
1485
|
-
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig)
|
|
1835
|
+
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1836
|
+
/**
|
|
1837
|
+
*
|
|
1838
|
+
* @summary Emails Create
|
|
1839
|
+
* @param {string} contactId
|
|
1840
|
+
* @param {EmailCreate} emailCreate
|
|
1841
|
+
* @param {*} [options] Override http request option.
|
|
1842
|
+
* @throws {RequiredError}
|
|
1843
|
+
*/
|
|
1844
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1845
|
+
/**
|
|
1846
|
+
*
|
|
1847
|
+
* @summary Emails Delete
|
|
1848
|
+
* @param {string} emailId
|
|
1849
|
+
* @param {*} [options] Override http request option.
|
|
1850
|
+
* @throws {RequiredError}
|
|
1851
|
+
*/
|
|
1852
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1853
|
+
/**
|
|
1854
|
+
*
|
|
1855
|
+
* @summary Phones Create
|
|
1856
|
+
* @param {string} contactId
|
|
1857
|
+
* @param {PhoneCreate} phoneCreate
|
|
1858
|
+
* @param {*} [options] Override http request option.
|
|
1859
|
+
* @throws {RequiredError}
|
|
1860
|
+
*/
|
|
1861
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1862
|
+
/**
|
|
1863
|
+
*
|
|
1864
|
+
* @summary Phones Delete
|
|
1865
|
+
* @param {string} phoneId
|
|
1866
|
+
* @param {*} [options] Override http request option.
|
|
1867
|
+
* @throws {RequiredError}
|
|
1868
|
+
*/
|
|
1869
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1486
1870
|
};
|
|
1487
1871
|
/**
|
|
1488
|
-
* ContactsApi -
|
|
1872
|
+
* ContactsApi - functional programming interface
|
|
1489
1873
|
* @export
|
|
1490
|
-
* @class ContactsApi
|
|
1491
|
-
* @extends {BaseAPI}
|
|
1492
1874
|
*/
|
|
1493
|
-
declare
|
|
1875
|
+
declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
1876
|
+
/**
|
|
1877
|
+
*
|
|
1878
|
+
* @summary Addresses Create
|
|
1879
|
+
* @param {string} contactId
|
|
1880
|
+
* @param {AddressCreate} addressCreate
|
|
1881
|
+
* @param {*} [options] Override http request option.
|
|
1882
|
+
* @throws {RequiredError}
|
|
1883
|
+
*/
|
|
1884
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @summary Addresses Delete
|
|
1888
|
+
* @param {string} addressId
|
|
1889
|
+
* @param {*} [options] Override http request option.
|
|
1890
|
+
* @throws {RequiredError}
|
|
1891
|
+
*/
|
|
1892
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @summary Addresses Update
|
|
1896
|
+
* @param {string} addressId
|
|
1897
|
+
* @param {AddressUpdate} addressUpdate
|
|
1898
|
+
* @param {*} [options] Override http request option.
|
|
1899
|
+
* @throws {RequiredError}
|
|
1900
|
+
*/
|
|
1901
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1494
1902
|
/**
|
|
1495
1903
|
*
|
|
1496
1904
|
* @summary Contacts Create
|
|
@@ -1498,36 +1906,33 @@ declare class ContactsApi extends BaseAPI {
|
|
|
1498
1906
|
* @param {ContactCreate} contactCreate
|
|
1499
1907
|
* @param {*} [options] Override http request option.
|
|
1500
1908
|
* @throws {RequiredError}
|
|
1501
|
-
* @memberof ContactsApi
|
|
1502
1909
|
*/
|
|
1503
|
-
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios
|
|
1910
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
|
|
1504
1911
|
/**
|
|
1505
1912
|
*
|
|
1506
1913
|
* @summary Contacts Delete
|
|
1507
1914
|
* @param {string} contactId
|
|
1508
1915
|
* @param {*} [options] Override http request option.
|
|
1509
1916
|
* @throws {RequiredError}
|
|
1510
|
-
* @memberof ContactsApi
|
|
1511
1917
|
*/
|
|
1512
|
-
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios
|
|
1918
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1513
1919
|
/**
|
|
1514
1920
|
*
|
|
1515
1921
|
* @summary Contacts Get
|
|
1516
1922
|
* @param {string} contactId
|
|
1517
1923
|
* @param {*} [options] Override http request option.
|
|
1518
1924
|
* @throws {RequiredError}
|
|
1519
|
-
* @memberof ContactsApi
|
|
1520
1925
|
*/
|
|
1521
|
-
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios
|
|
1926
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsGetResponse>>;
|
|
1522
1927
|
/**
|
|
1523
1928
|
*
|
|
1524
1929
|
* @summary Contacts List
|
|
1525
|
-
* @param {
|
|
1930
|
+
* @param {ContactType} [contactType]
|
|
1931
|
+
* @param {string} [searchString]
|
|
1526
1932
|
* @param {*} [options] Override http request option.
|
|
1527
1933
|
* @throws {RequiredError}
|
|
1528
|
-
* @memberof ContactsApi
|
|
1529
1934
|
*/
|
|
1530
|
-
contactsList(
|
|
1935
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
1531
1936
|
/**
|
|
1532
1937
|
*
|
|
1533
1938
|
* @summary Contacts Update
|
|
@@ -1535,82 +1940,539 @@ declare class ContactsApi extends BaseAPI {
|
|
|
1535
1940
|
* @param {ContactUpdate} contactUpdate
|
|
1536
1941
|
* @param {*} [options] Override http request option.
|
|
1537
1942
|
* @throws {RequiredError}
|
|
1538
|
-
* @memberof ContactsApi
|
|
1539
1943
|
*/
|
|
1540
|
-
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios
|
|
1541
|
-
}
|
|
1542
|
-
/**
|
|
1543
|
-
* HostawayApi - axios parameter creator
|
|
1544
|
-
* @export
|
|
1545
|
-
*/
|
|
1546
|
-
declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1944
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
|
|
1547
1945
|
/**
|
|
1548
1946
|
*
|
|
1549
|
-
* @summary
|
|
1550
|
-
* @param {
|
|
1947
|
+
* @summary Emails Create
|
|
1948
|
+
* @param {string} contactId
|
|
1949
|
+
* @param {EmailCreate} emailCreate
|
|
1551
1950
|
* @param {*} [options] Override http request option.
|
|
1552
1951
|
* @throws {RequiredError}
|
|
1553
1952
|
*/
|
|
1554
|
-
|
|
1555
|
-
};
|
|
1556
|
-
/**
|
|
1557
|
-
* HostawayApi - functional programming interface
|
|
1558
|
-
* @export
|
|
1559
|
-
*/
|
|
1560
|
-
declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
1953
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
1561
1954
|
/**
|
|
1562
1955
|
*
|
|
1563
|
-
* @summary
|
|
1564
|
-
* @param {
|
|
1956
|
+
* @summary Emails Delete
|
|
1957
|
+
* @param {string} emailId
|
|
1565
1958
|
* @param {*} [options] Override http request option.
|
|
1566
1959
|
* @throws {RequiredError}
|
|
1567
1960
|
*/
|
|
1568
|
-
|
|
1569
|
-
};
|
|
1570
|
-
/**
|
|
1571
|
-
* HostawayApi - factory interface
|
|
1572
|
-
* @export
|
|
1573
|
-
*/
|
|
1574
|
-
declare const HostawayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1961
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1575
1962
|
/**
|
|
1576
1963
|
*
|
|
1577
|
-
* @summary
|
|
1578
|
-
* @param {
|
|
1964
|
+
* @summary Phones Create
|
|
1965
|
+
* @param {string} contactId
|
|
1966
|
+
* @param {PhoneCreate} phoneCreate
|
|
1579
1967
|
* @param {*} [options] Override http request option.
|
|
1580
1968
|
* @throws {RequiredError}
|
|
1581
1969
|
*/
|
|
1582
|
-
|
|
1583
|
-
};
|
|
1584
|
-
/**
|
|
1585
|
-
* HostawayApi - object-oriented interface
|
|
1586
|
-
* @export
|
|
1587
|
-
* @class HostawayApi
|
|
1588
|
-
* @extends {BaseAPI}
|
|
1589
|
-
*/
|
|
1590
|
-
declare class HostawayApi extends BaseAPI {
|
|
1970
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
1591
1971
|
/**
|
|
1592
1972
|
*
|
|
1593
|
-
* @summary
|
|
1594
|
-
* @param {
|
|
1973
|
+
* @summary Phones Delete
|
|
1974
|
+
* @param {string} phoneId
|
|
1595
1975
|
* @param {*} [options] Override http request option.
|
|
1596
1976
|
* @throws {RequiredError}
|
|
1597
|
-
* @memberof HostawayApi
|
|
1598
1977
|
*/
|
|
1599
|
-
|
|
1600
|
-
}
|
|
1978
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1979
|
+
};
|
|
1601
1980
|
/**
|
|
1602
|
-
*
|
|
1981
|
+
* ContactsApi - factory interface
|
|
1603
1982
|
* @export
|
|
1604
1983
|
*/
|
|
1605
|
-
declare const
|
|
1984
|
+
declare const ContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1606
1985
|
/**
|
|
1607
|
-
*
|
|
1608
|
-
* @summary
|
|
1609
|
-
* @param {string}
|
|
1986
|
+
*
|
|
1987
|
+
* @summary Addresses Create
|
|
1988
|
+
* @param {string} contactId
|
|
1989
|
+
* @param {AddressCreate} addressCreate
|
|
1610
1990
|
* @param {*} [options] Override http request option.
|
|
1611
1991
|
* @throws {RequiredError}
|
|
1612
1992
|
*/
|
|
1613
|
-
|
|
1993
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
1994
|
+
/**
|
|
1995
|
+
*
|
|
1996
|
+
* @summary Addresses Delete
|
|
1997
|
+
* @param {string} addressId
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
*/
|
|
2001
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2002
|
+
/**
|
|
2003
|
+
*
|
|
2004
|
+
* @summary Addresses Update
|
|
2005
|
+
* @param {string} addressId
|
|
2006
|
+
* @param {AddressUpdate} addressUpdate
|
|
2007
|
+
* @param {*} [options] Override http request option.
|
|
2008
|
+
* @throws {RequiredError}
|
|
2009
|
+
*/
|
|
2010
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @summary Contacts Create
|
|
2014
|
+
* @param {string} customerId
|
|
2015
|
+
* @param {ContactCreate} contactCreate
|
|
2016
|
+
* @param {*} [options] Override http request option.
|
|
2017
|
+
* @throws {RequiredError}
|
|
2018
|
+
*/
|
|
2019
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
|
|
2020
|
+
/**
|
|
2021
|
+
*
|
|
2022
|
+
* @summary Contacts Delete
|
|
2023
|
+
* @param {string} contactId
|
|
2024
|
+
* @param {*} [options] Override http request option.
|
|
2025
|
+
* @throws {RequiredError}
|
|
2026
|
+
*/
|
|
2027
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2028
|
+
/**
|
|
2029
|
+
*
|
|
2030
|
+
* @summary Contacts Get
|
|
2031
|
+
* @param {string} contactId
|
|
2032
|
+
* @param {*} [options] Override http request option.
|
|
2033
|
+
* @throws {RequiredError}
|
|
2034
|
+
*/
|
|
2035
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsGetResponse>;
|
|
2036
|
+
/**
|
|
2037
|
+
*
|
|
2038
|
+
* @summary Contacts List
|
|
2039
|
+
* @param {ContactType} [contactType]
|
|
2040
|
+
* @param {string} [searchString]
|
|
2041
|
+
* @param {*} [options] Override http request option.
|
|
2042
|
+
* @throws {RequiredError}
|
|
2043
|
+
*/
|
|
2044
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @summary Contacts Update
|
|
2048
|
+
* @param {string} contactId
|
|
2049
|
+
* @param {ContactUpdate} contactUpdate
|
|
2050
|
+
* @param {*} [options] Override http request option.
|
|
2051
|
+
* @throws {RequiredError}
|
|
2052
|
+
*/
|
|
2053
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
|
|
2054
|
+
/**
|
|
2055
|
+
*
|
|
2056
|
+
* @summary Emails Create
|
|
2057
|
+
* @param {string} contactId
|
|
2058
|
+
* @param {EmailCreate} emailCreate
|
|
2059
|
+
* @param {*} [options] Override http request option.
|
|
2060
|
+
* @throws {RequiredError}
|
|
2061
|
+
*/
|
|
2062
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2063
|
+
/**
|
|
2064
|
+
*
|
|
2065
|
+
* @summary Emails Delete
|
|
2066
|
+
* @param {string} emailId
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
*/
|
|
2070
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2071
|
+
/**
|
|
2072
|
+
*
|
|
2073
|
+
* @summary Phones Create
|
|
2074
|
+
* @param {string} contactId
|
|
2075
|
+
* @param {PhoneCreate} phoneCreate
|
|
2076
|
+
* @param {*} [options] Override http request option.
|
|
2077
|
+
* @throws {RequiredError}
|
|
2078
|
+
*/
|
|
2079
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2080
|
+
/**
|
|
2081
|
+
*
|
|
2082
|
+
* @summary Phones Delete
|
|
2083
|
+
* @param {string} phoneId
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
*/
|
|
2087
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2088
|
+
};
|
|
2089
|
+
/**
|
|
2090
|
+
* ContactsApi - object-oriented interface
|
|
2091
|
+
* @export
|
|
2092
|
+
* @class ContactsApi
|
|
2093
|
+
* @extends {BaseAPI}
|
|
2094
|
+
*/
|
|
2095
|
+
declare class ContactsApi extends BaseAPI {
|
|
2096
|
+
/**
|
|
2097
|
+
*
|
|
2098
|
+
* @summary Addresses Create
|
|
2099
|
+
* @param {string} contactId
|
|
2100
|
+
* @param {AddressCreate} addressCreate
|
|
2101
|
+
* @param {*} [options] Override http request option.
|
|
2102
|
+
* @throws {RequiredError}
|
|
2103
|
+
* @memberof ContactsApi
|
|
2104
|
+
*/
|
|
2105
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
2106
|
+
/**
|
|
2107
|
+
*
|
|
2108
|
+
* @summary Addresses Delete
|
|
2109
|
+
* @param {string} addressId
|
|
2110
|
+
* @param {*} [options] Override http request option.
|
|
2111
|
+
* @throws {RequiredError}
|
|
2112
|
+
* @memberof ContactsApi
|
|
2113
|
+
*/
|
|
2114
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2115
|
+
/**
|
|
2116
|
+
*
|
|
2117
|
+
* @summary Addresses Update
|
|
2118
|
+
* @param {string} addressId
|
|
2119
|
+
* @param {AddressUpdate} addressUpdate
|
|
2120
|
+
* @param {*} [options] Override http request option.
|
|
2121
|
+
* @throws {RequiredError}
|
|
2122
|
+
* @memberof ContactsApi
|
|
2123
|
+
*/
|
|
2124
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
2125
|
+
/**
|
|
2126
|
+
*
|
|
2127
|
+
* @summary Contacts Create
|
|
2128
|
+
* @param {string} customerId
|
|
2129
|
+
* @param {ContactCreate} contactCreate
|
|
2130
|
+
* @param {*} [options] Override http request option.
|
|
2131
|
+
* @throws {RequiredError}
|
|
2132
|
+
* @memberof ContactsApi
|
|
2133
|
+
*/
|
|
2134
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
|
|
2135
|
+
/**
|
|
2136
|
+
*
|
|
2137
|
+
* @summary Contacts Delete
|
|
2138
|
+
* @param {string} contactId
|
|
2139
|
+
* @param {*} [options] Override http request option.
|
|
2140
|
+
* @throws {RequiredError}
|
|
2141
|
+
* @memberof ContactsApi
|
|
2142
|
+
*/
|
|
2143
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2144
|
+
/**
|
|
2145
|
+
*
|
|
2146
|
+
* @summary Contacts Get
|
|
2147
|
+
* @param {string} contactId
|
|
2148
|
+
* @param {*} [options] Override http request option.
|
|
2149
|
+
* @throws {RequiredError}
|
|
2150
|
+
* @memberof ContactsApi
|
|
2151
|
+
*/
|
|
2152
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsGetResponse, any>>;
|
|
2153
|
+
/**
|
|
2154
|
+
*
|
|
2155
|
+
* @summary Contacts List
|
|
2156
|
+
* @param {ContactType} [contactType]
|
|
2157
|
+
* @param {string} [searchString]
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
2160
|
+
* @memberof ContactsApi
|
|
2161
|
+
*/
|
|
2162
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
2163
|
+
/**
|
|
2164
|
+
*
|
|
2165
|
+
* @summary Contacts Update
|
|
2166
|
+
* @param {string} contactId
|
|
2167
|
+
* @param {ContactUpdate} contactUpdate
|
|
2168
|
+
* @param {*} [options] Override http request option.
|
|
2169
|
+
* @throws {RequiredError}
|
|
2170
|
+
* @memberof ContactsApi
|
|
2171
|
+
*/
|
|
2172
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
|
|
2173
|
+
/**
|
|
2174
|
+
*
|
|
2175
|
+
* @summary Emails Create
|
|
2176
|
+
* @param {string} contactId
|
|
2177
|
+
* @param {EmailCreate} emailCreate
|
|
2178
|
+
* @param {*} [options] Override http request option.
|
|
2179
|
+
* @throws {RequiredError}
|
|
2180
|
+
* @memberof ContactsApi
|
|
2181
|
+
*/
|
|
2182
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @summary Emails Delete
|
|
2186
|
+
* @param {string} emailId
|
|
2187
|
+
* @param {*} [options] Override http request option.
|
|
2188
|
+
* @throws {RequiredError}
|
|
2189
|
+
* @memberof ContactsApi
|
|
2190
|
+
*/
|
|
2191
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @summary Phones Create
|
|
2195
|
+
* @param {string} contactId
|
|
2196
|
+
* @param {PhoneCreate} phoneCreate
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
* @memberof ContactsApi
|
|
2200
|
+
*/
|
|
2201
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
2202
|
+
/**
|
|
2203
|
+
*
|
|
2204
|
+
* @summary Phones Delete
|
|
2205
|
+
* @param {string} phoneId
|
|
2206
|
+
* @param {*} [options] Override http request option.
|
|
2207
|
+
* @throws {RequiredError}
|
|
2208
|
+
* @memberof ContactsApi
|
|
2209
|
+
*/
|
|
2210
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2211
|
+
}
|
|
2212
|
+
/**
|
|
2213
|
+
* EmailsApi - axios parameter creator
|
|
2214
|
+
* @export
|
|
2215
|
+
*/
|
|
2216
|
+
declare const EmailsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @summary Emails Create
|
|
2220
|
+
* @param {string} contactId
|
|
2221
|
+
* @param {EmailCreate} emailCreate
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
2224
|
+
*/
|
|
2225
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2226
|
+
/**
|
|
2227
|
+
*
|
|
2228
|
+
* @summary Emails Delete
|
|
2229
|
+
* @param {string} emailId
|
|
2230
|
+
* @param {*} [options] Override http request option.
|
|
2231
|
+
* @throws {RequiredError}
|
|
2232
|
+
*/
|
|
2233
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2234
|
+
};
|
|
2235
|
+
/**
|
|
2236
|
+
* EmailsApi - functional programming interface
|
|
2237
|
+
* @export
|
|
2238
|
+
*/
|
|
2239
|
+
declare const EmailsApiFp: (configuration?: Configuration) => {
|
|
2240
|
+
/**
|
|
2241
|
+
*
|
|
2242
|
+
* @summary Emails Create
|
|
2243
|
+
* @param {string} contactId
|
|
2244
|
+
* @param {EmailCreate} emailCreate
|
|
2245
|
+
* @param {*} [options] Override http request option.
|
|
2246
|
+
* @throws {RequiredError}
|
|
2247
|
+
*/
|
|
2248
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
2249
|
+
/**
|
|
2250
|
+
*
|
|
2251
|
+
* @summary Emails Delete
|
|
2252
|
+
* @param {string} emailId
|
|
2253
|
+
* @param {*} [options] Override http request option.
|
|
2254
|
+
* @throws {RequiredError}
|
|
2255
|
+
*/
|
|
2256
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2257
|
+
};
|
|
2258
|
+
/**
|
|
2259
|
+
* EmailsApi - factory interface
|
|
2260
|
+
* @export
|
|
2261
|
+
*/
|
|
2262
|
+
declare const EmailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2263
|
+
/**
|
|
2264
|
+
*
|
|
2265
|
+
* @summary Emails Create
|
|
2266
|
+
* @param {string} contactId
|
|
2267
|
+
* @param {EmailCreate} emailCreate
|
|
2268
|
+
* @param {*} [options] Override http request option.
|
|
2269
|
+
* @throws {RequiredError}
|
|
2270
|
+
*/
|
|
2271
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2272
|
+
/**
|
|
2273
|
+
*
|
|
2274
|
+
* @summary Emails Delete
|
|
2275
|
+
* @param {string} emailId
|
|
2276
|
+
* @param {*} [options] Override http request option.
|
|
2277
|
+
* @throws {RequiredError}
|
|
2278
|
+
*/
|
|
2279
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2280
|
+
};
|
|
2281
|
+
/**
|
|
2282
|
+
* EmailsApi - object-oriented interface
|
|
2283
|
+
* @export
|
|
2284
|
+
* @class EmailsApi
|
|
2285
|
+
* @extends {BaseAPI}
|
|
2286
|
+
*/
|
|
2287
|
+
declare class EmailsApi extends BaseAPI {
|
|
2288
|
+
/**
|
|
2289
|
+
*
|
|
2290
|
+
* @summary Emails Create
|
|
2291
|
+
* @param {string} contactId
|
|
2292
|
+
* @param {EmailCreate} emailCreate
|
|
2293
|
+
* @param {*} [options] Override http request option.
|
|
2294
|
+
* @throws {RequiredError}
|
|
2295
|
+
* @memberof EmailsApi
|
|
2296
|
+
*/
|
|
2297
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2298
|
+
/**
|
|
2299
|
+
*
|
|
2300
|
+
* @summary Emails Delete
|
|
2301
|
+
* @param {string} emailId
|
|
2302
|
+
* @param {*} [options] Override http request option.
|
|
2303
|
+
* @throws {RequiredError}
|
|
2304
|
+
* @memberof EmailsApi
|
|
2305
|
+
*/
|
|
2306
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2307
|
+
}
|
|
2308
|
+
/**
|
|
2309
|
+
* HostawayApi - axios parameter creator
|
|
2310
|
+
* @export
|
|
2311
|
+
*/
|
|
2312
|
+
declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2313
|
+
/**
|
|
2314
|
+
*
|
|
2315
|
+
* @summary Unifiedwebhook
|
|
2316
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2317
|
+
* @param {*} [options] Override http request option.
|
|
2318
|
+
* @throws {RequiredError}
|
|
2319
|
+
*/
|
|
2320
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2321
|
+
};
|
|
2322
|
+
/**
|
|
2323
|
+
* HostawayApi - functional programming interface
|
|
2324
|
+
* @export
|
|
2325
|
+
*/
|
|
2326
|
+
declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
2327
|
+
/**
|
|
2328
|
+
*
|
|
2329
|
+
* @summary Unifiedwebhook
|
|
2330
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2331
|
+
* @param {*} [options] Override http request option.
|
|
2332
|
+
* @throws {RequiredError}
|
|
2333
|
+
*/
|
|
2334
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2335
|
+
};
|
|
2336
|
+
/**
|
|
2337
|
+
* HostawayApi - factory interface
|
|
2338
|
+
* @export
|
|
2339
|
+
*/
|
|
2340
|
+
declare const HostawayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2341
|
+
/**
|
|
2342
|
+
*
|
|
2343
|
+
* @summary Unifiedwebhook
|
|
2344
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2345
|
+
* @param {*} [options] Override http request option.
|
|
2346
|
+
* @throws {RequiredError}
|
|
2347
|
+
*/
|
|
2348
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2349
|
+
};
|
|
2350
|
+
/**
|
|
2351
|
+
* HostawayApi - object-oriented interface
|
|
2352
|
+
* @export
|
|
2353
|
+
* @class HostawayApi
|
|
2354
|
+
* @extends {BaseAPI}
|
|
2355
|
+
*/
|
|
2356
|
+
declare class HostawayApi extends BaseAPI {
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @summary Unifiedwebhook
|
|
2360
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2361
|
+
* @param {*} [options] Override http request option.
|
|
2362
|
+
* @throws {RequiredError}
|
|
2363
|
+
* @memberof HostawayApi
|
|
2364
|
+
*/
|
|
2365
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
2366
|
+
}
|
|
2367
|
+
/**
|
|
2368
|
+
* PhonesApi - axios parameter creator
|
|
2369
|
+
* @export
|
|
2370
|
+
*/
|
|
2371
|
+
declare const PhonesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2372
|
+
/**
|
|
2373
|
+
*
|
|
2374
|
+
* @summary Phones Create
|
|
2375
|
+
* @param {string} contactId
|
|
2376
|
+
* @param {PhoneCreate} phoneCreate
|
|
2377
|
+
* @param {*} [options] Override http request option.
|
|
2378
|
+
* @throws {RequiredError}
|
|
2379
|
+
*/
|
|
2380
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2381
|
+
/**
|
|
2382
|
+
*
|
|
2383
|
+
* @summary Phones Delete
|
|
2384
|
+
* @param {string} phoneId
|
|
2385
|
+
* @param {*} [options] Override http request option.
|
|
2386
|
+
* @throws {RequiredError}
|
|
2387
|
+
*/
|
|
2388
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2389
|
+
};
|
|
2390
|
+
/**
|
|
2391
|
+
* PhonesApi - functional programming interface
|
|
2392
|
+
* @export
|
|
2393
|
+
*/
|
|
2394
|
+
declare const PhonesApiFp: (configuration?: Configuration) => {
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @summary Phones Create
|
|
2398
|
+
* @param {string} contactId
|
|
2399
|
+
* @param {PhoneCreate} phoneCreate
|
|
2400
|
+
* @param {*} [options] Override http request option.
|
|
2401
|
+
* @throws {RequiredError}
|
|
2402
|
+
*/
|
|
2403
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
2404
|
+
/**
|
|
2405
|
+
*
|
|
2406
|
+
* @summary Phones Delete
|
|
2407
|
+
* @param {string} phoneId
|
|
2408
|
+
* @param {*} [options] Override http request option.
|
|
2409
|
+
* @throws {RequiredError}
|
|
2410
|
+
*/
|
|
2411
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2412
|
+
};
|
|
2413
|
+
/**
|
|
2414
|
+
* PhonesApi - factory interface
|
|
2415
|
+
* @export
|
|
2416
|
+
*/
|
|
2417
|
+
declare const PhonesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2418
|
+
/**
|
|
2419
|
+
*
|
|
2420
|
+
* @summary Phones Create
|
|
2421
|
+
* @param {string} contactId
|
|
2422
|
+
* @param {PhoneCreate} phoneCreate
|
|
2423
|
+
* @param {*} [options] Override http request option.
|
|
2424
|
+
* @throws {RequiredError}
|
|
2425
|
+
*/
|
|
2426
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @summary Phones Delete
|
|
2430
|
+
* @param {string} phoneId
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @throws {RequiredError}
|
|
2433
|
+
*/
|
|
2434
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2435
|
+
};
|
|
2436
|
+
/**
|
|
2437
|
+
* PhonesApi - object-oriented interface
|
|
2438
|
+
* @export
|
|
2439
|
+
* @class PhonesApi
|
|
2440
|
+
* @extends {BaseAPI}
|
|
2441
|
+
*/
|
|
2442
|
+
declare class PhonesApi extends BaseAPI {
|
|
2443
|
+
/**
|
|
2444
|
+
*
|
|
2445
|
+
* @summary Phones Create
|
|
2446
|
+
* @param {string} contactId
|
|
2447
|
+
* @param {PhoneCreate} phoneCreate
|
|
2448
|
+
* @param {*} [options] Override http request option.
|
|
2449
|
+
* @throws {RequiredError}
|
|
2450
|
+
* @memberof PhonesApi
|
|
2451
|
+
*/
|
|
2452
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
2453
|
+
/**
|
|
2454
|
+
*
|
|
2455
|
+
* @summary Phones Delete
|
|
2456
|
+
* @param {string} phoneId
|
|
2457
|
+
* @param {*} [options] Override http request option.
|
|
2458
|
+
* @throws {RequiredError}
|
|
2459
|
+
* @memberof PhonesApi
|
|
2460
|
+
*/
|
|
2461
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2462
|
+
}
|
|
2463
|
+
/**
|
|
2464
|
+
* ReservationsApi - axios parameter creator
|
|
2465
|
+
* @export
|
|
2466
|
+
*/
|
|
2467
|
+
declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2468
|
+
/**
|
|
2469
|
+
* List all contacts
|
|
2470
|
+
* @summary Reservations List
|
|
2471
|
+
* @param {string} [contactId]
|
|
2472
|
+
* @param {*} [options] Override http request option.
|
|
2473
|
+
* @throws {RequiredError}
|
|
2474
|
+
*/
|
|
2475
|
+
reservationsList: (contactId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1614
2476
|
};
|
|
1615
2477
|
/**
|
|
1616
2478
|
* ReservationsApi - functional programming interface
|
|
@@ -1662,6 +2524,32 @@ declare class ReservationsApi extends BaseAPI {
|
|
|
1662
2524
|
* @export
|
|
1663
2525
|
*/
|
|
1664
2526
|
declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2527
|
+
/**
|
|
2528
|
+
*
|
|
2529
|
+
* @summary Addresses Create
|
|
2530
|
+
* @param {string} contactId
|
|
2531
|
+
* @param {AddressCreate} addressCreate
|
|
2532
|
+
* @param {*} [options] Override http request option.
|
|
2533
|
+
* @throws {RequiredError}
|
|
2534
|
+
*/
|
|
2535
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2536
|
+
/**
|
|
2537
|
+
*
|
|
2538
|
+
* @summary Addresses Delete
|
|
2539
|
+
* @param {string} addressId
|
|
2540
|
+
* @param {*} [options] Override http request option.
|
|
2541
|
+
* @throws {RequiredError}
|
|
2542
|
+
*/
|
|
2543
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2544
|
+
/**
|
|
2545
|
+
*
|
|
2546
|
+
* @summary Addresses Update
|
|
2547
|
+
* @param {string} addressId
|
|
2548
|
+
* @param {AddressUpdate} addressUpdate
|
|
2549
|
+
* @param {*} [options] Override http request option.
|
|
2550
|
+
* @throws {RequiredError}
|
|
2551
|
+
*/
|
|
2552
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1665
2553
|
/**
|
|
1666
2554
|
*
|
|
1667
2555
|
* @summary Contacts Create
|
|
@@ -1690,11 +2578,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1690
2578
|
/**
|
|
1691
2579
|
*
|
|
1692
2580
|
* @summary Contacts List
|
|
1693
|
-
* @param {
|
|
2581
|
+
* @param {ContactType} [contactType]
|
|
2582
|
+
* @param {string} [searchString]
|
|
1694
2583
|
* @param {*} [options] Override http request option.
|
|
1695
2584
|
* @throws {RequiredError}
|
|
1696
2585
|
*/
|
|
1697
|
-
contactsList: (
|
|
2586
|
+
contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1698
2587
|
/**
|
|
1699
2588
|
*
|
|
1700
2589
|
* @summary Contacts Update
|
|
@@ -1704,6 +2593,40 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1704
2593
|
* @throws {RequiredError}
|
|
1705
2594
|
*/
|
|
1706
2595
|
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2596
|
+
/**
|
|
2597
|
+
*
|
|
2598
|
+
* @summary Emails Create
|
|
2599
|
+
* @param {string} contactId
|
|
2600
|
+
* @param {EmailCreate} emailCreate
|
|
2601
|
+
* @param {*} [options] Override http request option.
|
|
2602
|
+
* @throws {RequiredError}
|
|
2603
|
+
*/
|
|
2604
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2605
|
+
/**
|
|
2606
|
+
*
|
|
2607
|
+
* @summary Emails Delete
|
|
2608
|
+
* @param {string} emailId
|
|
2609
|
+
* @param {*} [options] Override http request option.
|
|
2610
|
+
* @throws {RequiredError}
|
|
2611
|
+
*/
|
|
2612
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2613
|
+
/**
|
|
2614
|
+
*
|
|
2615
|
+
* @summary Phones Create
|
|
2616
|
+
* @param {string} contactId
|
|
2617
|
+
* @param {PhoneCreate} phoneCreate
|
|
2618
|
+
* @param {*} [options] Override http request option.
|
|
2619
|
+
* @throws {RequiredError}
|
|
2620
|
+
*/
|
|
2621
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2622
|
+
/**
|
|
2623
|
+
*
|
|
2624
|
+
* @summary Phones Delete
|
|
2625
|
+
* @param {string} phoneId
|
|
2626
|
+
* @param {*} [options] Override http request option.
|
|
2627
|
+
* @throws {RequiredError}
|
|
2628
|
+
*/
|
|
2629
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1707
2630
|
/**
|
|
1708
2631
|
* List all contacts
|
|
1709
2632
|
* @summary Reservations List
|
|
@@ -1715,17 +2638,43 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1715
2638
|
/**
|
|
1716
2639
|
*
|
|
1717
2640
|
* @summary Unifiedwebhook
|
|
1718
|
-
* @param {
|
|
2641
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1719
2642
|
* @param {*} [options] Override http request option.
|
|
1720
2643
|
* @throws {RequiredError}
|
|
1721
2644
|
*/
|
|
1722
|
-
webhook: (
|
|
2645
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1723
2646
|
};
|
|
1724
2647
|
/**
|
|
1725
2648
|
* UnboundApi - functional programming interface
|
|
1726
2649
|
* @export
|
|
1727
2650
|
*/
|
|
1728
2651
|
declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
2652
|
+
/**
|
|
2653
|
+
*
|
|
2654
|
+
* @summary Addresses Create
|
|
2655
|
+
* @param {string} contactId
|
|
2656
|
+
* @param {AddressCreate} addressCreate
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
*/
|
|
2660
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
2661
|
+
/**
|
|
2662
|
+
*
|
|
2663
|
+
* @summary Addresses Delete
|
|
2664
|
+
* @param {string} addressId
|
|
2665
|
+
* @param {*} [options] Override http request option.
|
|
2666
|
+
* @throws {RequiredError}
|
|
2667
|
+
*/
|
|
2668
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2669
|
+
/**
|
|
2670
|
+
*
|
|
2671
|
+
* @summary Addresses Update
|
|
2672
|
+
* @param {string} addressId
|
|
2673
|
+
* @param {AddressUpdate} addressUpdate
|
|
2674
|
+
* @param {*} [options] Override http request option.
|
|
2675
|
+
* @throws {RequiredError}
|
|
2676
|
+
*/
|
|
2677
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1729
2678
|
/**
|
|
1730
2679
|
*
|
|
1731
2680
|
* @summary Contacts Create
|
|
@@ -1754,11 +2703,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1754
2703
|
/**
|
|
1755
2704
|
*
|
|
1756
2705
|
* @summary Contacts List
|
|
1757
|
-
* @param {
|
|
2706
|
+
* @param {ContactType} [contactType]
|
|
2707
|
+
* @param {string} [searchString]
|
|
1758
2708
|
* @param {*} [options] Override http request option.
|
|
1759
2709
|
* @throws {RequiredError}
|
|
1760
2710
|
*/
|
|
1761
|
-
contactsList(
|
|
2711
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
1762
2712
|
/**
|
|
1763
2713
|
*
|
|
1764
2714
|
* @summary Contacts Update
|
|
@@ -1768,6 +2718,40 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1768
2718
|
* @throws {RequiredError}
|
|
1769
2719
|
*/
|
|
1770
2720
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
|
|
2721
|
+
/**
|
|
2722
|
+
*
|
|
2723
|
+
* @summary Emails Create
|
|
2724
|
+
* @param {string} contactId
|
|
2725
|
+
* @param {EmailCreate} emailCreate
|
|
2726
|
+
* @param {*} [options] Override http request option.
|
|
2727
|
+
* @throws {RequiredError}
|
|
2728
|
+
*/
|
|
2729
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @summary Emails Delete
|
|
2733
|
+
* @param {string} emailId
|
|
2734
|
+
* @param {*} [options] Override http request option.
|
|
2735
|
+
* @throws {RequiredError}
|
|
2736
|
+
*/
|
|
2737
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2738
|
+
/**
|
|
2739
|
+
*
|
|
2740
|
+
* @summary Phones Create
|
|
2741
|
+
* @param {string} contactId
|
|
2742
|
+
* @param {PhoneCreate} phoneCreate
|
|
2743
|
+
* @param {*} [options] Override http request option.
|
|
2744
|
+
* @throws {RequiredError}
|
|
2745
|
+
*/
|
|
2746
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
2747
|
+
/**
|
|
2748
|
+
*
|
|
2749
|
+
* @summary Phones Delete
|
|
2750
|
+
* @param {string} phoneId
|
|
2751
|
+
* @param {*} [options] Override http request option.
|
|
2752
|
+
* @throws {RequiredError}
|
|
2753
|
+
*/
|
|
2754
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1771
2755
|
/**
|
|
1772
2756
|
* List all contacts
|
|
1773
2757
|
* @summary Reservations List
|
|
@@ -1779,17 +2763,43 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1779
2763
|
/**
|
|
1780
2764
|
*
|
|
1781
2765
|
* @summary Unifiedwebhook
|
|
1782
|
-
* @param {
|
|
2766
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1783
2767
|
* @param {*} [options] Override http request option.
|
|
1784
2768
|
* @throws {RequiredError}
|
|
1785
2769
|
*/
|
|
1786
|
-
webhook(
|
|
2770
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
1787
2771
|
};
|
|
1788
2772
|
/**
|
|
1789
2773
|
* UnboundApi - factory interface
|
|
1790
2774
|
* @export
|
|
1791
2775
|
*/
|
|
1792
2776
|
declare const UnboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2777
|
+
/**
|
|
2778
|
+
*
|
|
2779
|
+
* @summary Addresses Create
|
|
2780
|
+
* @param {string} contactId
|
|
2781
|
+
* @param {AddressCreate} addressCreate
|
|
2782
|
+
* @param {*} [options] Override http request option.
|
|
2783
|
+
* @throws {RequiredError}
|
|
2784
|
+
*/
|
|
2785
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
2786
|
+
/**
|
|
2787
|
+
*
|
|
2788
|
+
* @summary Addresses Delete
|
|
2789
|
+
* @param {string} addressId
|
|
2790
|
+
* @param {*} [options] Override http request option.
|
|
2791
|
+
* @throws {RequiredError}
|
|
2792
|
+
*/
|
|
2793
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2794
|
+
/**
|
|
2795
|
+
*
|
|
2796
|
+
* @summary Addresses Update
|
|
2797
|
+
* @param {string} addressId
|
|
2798
|
+
* @param {AddressUpdate} addressUpdate
|
|
2799
|
+
* @param {*} [options] Override http request option.
|
|
2800
|
+
* @throws {RequiredError}
|
|
2801
|
+
*/
|
|
2802
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
1793
2803
|
/**
|
|
1794
2804
|
*
|
|
1795
2805
|
* @summary Contacts Create
|
|
@@ -1818,11 +2828,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1818
2828
|
/**
|
|
1819
2829
|
*
|
|
1820
2830
|
* @summary Contacts List
|
|
1821
|
-
* @param {
|
|
2831
|
+
* @param {ContactType} [contactType]
|
|
2832
|
+
* @param {string} [searchString]
|
|
1822
2833
|
* @param {*} [options] Override http request option.
|
|
1823
2834
|
* @throws {RequiredError}
|
|
1824
2835
|
*/
|
|
1825
|
-
contactsList(
|
|
2836
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
1826
2837
|
/**
|
|
1827
2838
|
*
|
|
1828
2839
|
* @summary Contacts Update
|
|
@@ -1832,6 +2843,40 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1832
2843
|
* @throws {RequiredError}
|
|
1833
2844
|
*/
|
|
1834
2845
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
|
|
2846
|
+
/**
|
|
2847
|
+
*
|
|
2848
|
+
* @summary Emails Create
|
|
2849
|
+
* @param {string} contactId
|
|
2850
|
+
* @param {EmailCreate} emailCreate
|
|
2851
|
+
* @param {*} [options] Override http request option.
|
|
2852
|
+
* @throws {RequiredError}
|
|
2853
|
+
*/
|
|
2854
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2855
|
+
/**
|
|
2856
|
+
*
|
|
2857
|
+
* @summary Emails Delete
|
|
2858
|
+
* @param {string} emailId
|
|
2859
|
+
* @param {*} [options] Override http request option.
|
|
2860
|
+
* @throws {RequiredError}
|
|
2861
|
+
*/
|
|
2862
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2863
|
+
/**
|
|
2864
|
+
*
|
|
2865
|
+
* @summary Phones Create
|
|
2866
|
+
* @param {string} contactId
|
|
2867
|
+
* @param {PhoneCreate} phoneCreate
|
|
2868
|
+
* @param {*} [options] Override http request option.
|
|
2869
|
+
* @throws {RequiredError}
|
|
2870
|
+
*/
|
|
2871
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2872
|
+
/**
|
|
2873
|
+
*
|
|
2874
|
+
* @summary Phones Delete
|
|
2875
|
+
* @param {string} phoneId
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
*/
|
|
2879
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1835
2880
|
/**
|
|
1836
2881
|
* List all contacts
|
|
1837
2882
|
* @summary Reservations List
|
|
@@ -1843,11 +2888,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1843
2888
|
/**
|
|
1844
2889
|
*
|
|
1845
2890
|
* @summary Unifiedwebhook
|
|
1846
|
-
* @param {
|
|
2891
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1847
2892
|
* @param {*} [options] Override http request option.
|
|
1848
2893
|
* @throws {RequiredError}
|
|
1849
2894
|
*/
|
|
1850
|
-
webhook(
|
|
2895
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
1851
2896
|
};
|
|
1852
2897
|
/**
|
|
1853
2898
|
* UnboundApi - object-oriented interface
|
|
@@ -1856,6 +2901,35 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1856
2901
|
* @extends {BaseAPI}
|
|
1857
2902
|
*/
|
|
1858
2903
|
declare class UnboundApi extends BaseAPI {
|
|
2904
|
+
/**
|
|
2905
|
+
*
|
|
2906
|
+
* @summary Addresses Create
|
|
2907
|
+
* @param {string} contactId
|
|
2908
|
+
* @param {AddressCreate} addressCreate
|
|
2909
|
+
* @param {*} [options] Override http request option.
|
|
2910
|
+
* @throws {RequiredError}
|
|
2911
|
+
* @memberof UnboundApi
|
|
2912
|
+
*/
|
|
2913
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
2914
|
+
/**
|
|
2915
|
+
*
|
|
2916
|
+
* @summary Addresses Delete
|
|
2917
|
+
* @param {string} addressId
|
|
2918
|
+
* @param {*} [options] Override http request option.
|
|
2919
|
+
* @throws {RequiredError}
|
|
2920
|
+
* @memberof UnboundApi
|
|
2921
|
+
*/
|
|
2922
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2923
|
+
/**
|
|
2924
|
+
*
|
|
2925
|
+
* @summary Addresses Update
|
|
2926
|
+
* @param {string} addressId
|
|
2927
|
+
* @param {AddressUpdate} addressUpdate
|
|
2928
|
+
* @param {*} [options] Override http request option.
|
|
2929
|
+
* @throws {RequiredError}
|
|
2930
|
+
* @memberof UnboundApi
|
|
2931
|
+
*/
|
|
2932
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
1859
2933
|
/**
|
|
1860
2934
|
*
|
|
1861
2935
|
* @summary Contacts Create
|
|
@@ -1887,12 +2961,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1887
2961
|
/**
|
|
1888
2962
|
*
|
|
1889
2963
|
* @summary Contacts List
|
|
1890
|
-
* @param {
|
|
2964
|
+
* @param {ContactType} [contactType]
|
|
2965
|
+
* @param {string} [searchString]
|
|
1891
2966
|
* @param {*} [options] Override http request option.
|
|
1892
2967
|
* @throws {RequiredError}
|
|
1893
2968
|
* @memberof UnboundApi
|
|
1894
2969
|
*/
|
|
1895
|
-
contactsList(
|
|
2970
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
1896
2971
|
/**
|
|
1897
2972
|
*
|
|
1898
2973
|
* @summary Contacts Update
|
|
@@ -1903,6 +2978,44 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1903
2978
|
* @memberof UnboundApi
|
|
1904
2979
|
*/
|
|
1905
2980
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @summary Emails Create
|
|
2984
|
+
* @param {string} contactId
|
|
2985
|
+
* @param {EmailCreate} emailCreate
|
|
2986
|
+
* @param {*} [options] Override http request option.
|
|
2987
|
+
* @throws {RequiredError}
|
|
2988
|
+
* @memberof UnboundApi
|
|
2989
|
+
*/
|
|
2990
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2991
|
+
/**
|
|
2992
|
+
*
|
|
2993
|
+
* @summary Emails Delete
|
|
2994
|
+
* @param {string} emailId
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
* @memberof UnboundApi
|
|
2998
|
+
*/
|
|
2999
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3000
|
+
/**
|
|
3001
|
+
*
|
|
3002
|
+
* @summary Phones Create
|
|
3003
|
+
* @param {string} contactId
|
|
3004
|
+
* @param {PhoneCreate} phoneCreate
|
|
3005
|
+
* @param {*} [options] Override http request option.
|
|
3006
|
+
* @throws {RequiredError}
|
|
3007
|
+
* @memberof UnboundApi
|
|
3008
|
+
*/
|
|
3009
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
3010
|
+
/**
|
|
3011
|
+
*
|
|
3012
|
+
* @summary Phones Delete
|
|
3013
|
+
* @param {string} phoneId
|
|
3014
|
+
* @param {*} [options] Override http request option.
|
|
3015
|
+
* @throws {RequiredError}
|
|
3016
|
+
* @memberof UnboundApi
|
|
3017
|
+
*/
|
|
3018
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1906
3019
|
/**
|
|
1907
3020
|
* List all contacts
|
|
1908
3021
|
* @summary Reservations List
|
|
@@ -1915,12 +3028,12 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1915
3028
|
/**
|
|
1916
3029
|
*
|
|
1917
3030
|
* @summary Unifiedwebhook
|
|
1918
|
-
* @param {
|
|
3031
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
1919
3032
|
* @param {*} [options] Override http request option.
|
|
1920
3033
|
* @throws {RequiredError}
|
|
1921
3034
|
* @memberof UnboundApi
|
|
1922
3035
|
*/
|
|
1923
|
-
webhook(
|
|
3036
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
1924
3037
|
}
|
|
1925
3038
|
|
|
1926
|
-
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressItem,
|
|
3039
|
+
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, Configuration, type ConfigurationParameters, type ContactCreate, ContactType, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type Contacttypedata, type Contacttypedata1, type Contacttypedata2, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, GuestDataContactTypeEnum, type GuestDataCreate, GuestDataCreateContactTypeEnum, type GuestDataUpdate, GuestDataUpdateContactTypeEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, LeadDataContactTypeEnum, type LeadDataCreate, LeadDataCreateContactTypeEnum, type LeadDataUpdate, LeadDataUpdateContactTypeEnum, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, OwnerDataContactTypeEnum, type OwnerDataCreate, OwnerDataCreateContactTypeEnum, type OwnerDataUpdate, OwnerDataUpdateContactTypeEnum, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
|