@ember-home/unbound-ts-client 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1269 -189
- package/dist/index.d.ts +1269 -189
- package/dist/index.js +1716 -303
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1557 -144
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -174,6 +174,12 @@ interface Address {
|
|
|
174
174
|
* @memberof Address
|
|
175
175
|
*/
|
|
176
176
|
'address2'?: string | null;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof Address
|
|
181
|
+
*/
|
|
182
|
+
'country': string;
|
|
177
183
|
/**
|
|
178
184
|
*
|
|
179
185
|
* @type {string}
|
|
@@ -185,19 +191,56 @@ interface Address {
|
|
|
185
191
|
* @type {string}
|
|
186
192
|
* @memberof Address
|
|
187
193
|
*/
|
|
188
|
-
'
|
|
194
|
+
'postalCode': string;
|
|
189
195
|
/**
|
|
190
196
|
*
|
|
191
197
|
* @type {string}
|
|
192
198
|
* @memberof Address
|
|
193
199
|
*/
|
|
194
200
|
'region': string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @export
|
|
205
|
+
* @interface AddressCreate
|
|
206
|
+
*/
|
|
207
|
+
interface AddressCreate {
|
|
195
208
|
/**
|
|
196
209
|
*
|
|
197
210
|
* @type {string}
|
|
198
|
-
* @memberof
|
|
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
|
|
199
236
|
*/
|
|
200
237
|
'postalCode': string;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof AddressCreate
|
|
242
|
+
*/
|
|
243
|
+
'region': string;
|
|
201
244
|
}
|
|
202
245
|
/**
|
|
203
246
|
*
|
|
@@ -222,25 +265,25 @@ interface AddressItem {
|
|
|
222
265
|
* @type {string}
|
|
223
266
|
* @memberof AddressItem
|
|
224
267
|
*/
|
|
225
|
-
'
|
|
268
|
+
'country': string;
|
|
226
269
|
/**
|
|
227
270
|
*
|
|
228
271
|
* @type {string}
|
|
229
272
|
* @memberof AddressItem
|
|
230
273
|
*/
|
|
231
|
-
'
|
|
274
|
+
'locality': string;
|
|
232
275
|
/**
|
|
233
276
|
*
|
|
234
277
|
* @type {string}
|
|
235
278
|
* @memberof AddressItem
|
|
236
279
|
*/
|
|
237
|
-
'
|
|
280
|
+
'postalCode': string;
|
|
238
281
|
/**
|
|
239
282
|
*
|
|
240
283
|
* @type {string}
|
|
241
284
|
* @memberof AddressItem
|
|
242
285
|
*/
|
|
243
|
-
'
|
|
286
|
+
'region': string;
|
|
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
|
+
'address1': string;
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @type {string}
|
|
370
|
+
* @memberof AddressesCreateResponse
|
|
371
|
+
*/
|
|
372
|
+
'address2'?: string | null;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof AddressesCreateResponse
|
|
377
|
+
*/
|
|
378
|
+
'country': string;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof AddressesCreateResponse
|
|
383
|
+
*/
|
|
384
|
+
'locality': string;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof AddressesCreateResponse
|
|
389
|
+
*/
|
|
390
|
+
'postalCode': string;
|
|
391
|
+
/**
|
|
392
|
+
*
|
|
393
|
+
* @type {string}
|
|
394
|
+
* @memberof AddressesCreateResponse
|
|
395
|
+
*/
|
|
396
|
+
'region': string;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @export
|
|
401
|
+
* @interface AddressesUpdateResponse
|
|
402
|
+
*/
|
|
403
|
+
interface AddressesUpdateResponse {
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof AddressesUpdateResponse
|
|
408
|
+
*/
|
|
409
|
+
'address1': string;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {string}
|
|
413
|
+
* @memberof AddressesUpdateResponse
|
|
414
|
+
*/
|
|
415
|
+
'address2'?: string | null;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof AddressesUpdateResponse
|
|
420
|
+
*/
|
|
421
|
+
'country': string;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof AddressesUpdateResponse
|
|
426
|
+
*/
|
|
427
|
+
'locality': string;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {string}
|
|
431
|
+
* @memberof AddressesUpdateResponse
|
|
432
|
+
*/
|
|
433
|
+
'postalCode': string;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {string}
|
|
437
|
+
* @memberof AddressesUpdateResponse
|
|
438
|
+
*/
|
|
439
|
+
'region': string;
|
|
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";
|
|
@@ -1244,53 +1459,91 @@ type OwnerDataUpdateContactTypeEnum = typeof OwnerDataUpdateContactTypeEnum[keyo
|
|
|
1244
1459
|
interface Phone {
|
|
1245
1460
|
/**
|
|
1246
1461
|
*
|
|
1247
|
-
* @type {
|
|
1462
|
+
* @type {DataSource}
|
|
1248
1463
|
* @memberof Phone
|
|
1249
1464
|
*/
|
|
1250
|
-
'
|
|
1465
|
+
'dataSource': DataSource;
|
|
1251
1466
|
/**
|
|
1252
1467
|
*
|
|
1253
1468
|
* @type {string}
|
|
1254
1469
|
* @memberof Phone
|
|
1255
1470
|
*/
|
|
1256
|
-
'
|
|
1471
|
+
'deletedAt'?: string | null;
|
|
1257
1472
|
/**
|
|
1258
1473
|
*
|
|
1259
|
-
* @type {
|
|
1474
|
+
* @type {boolean}
|
|
1260
1475
|
* @memberof Phone
|
|
1261
1476
|
*/
|
|
1262
|
-
'
|
|
1477
|
+
'isPrimary': boolean;
|
|
1263
1478
|
/**
|
|
1264
1479
|
*
|
|
1265
|
-
* @type {
|
|
1480
|
+
* @type {string}
|
|
1266
1481
|
* @memberof Phone
|
|
1267
1482
|
*/
|
|
1268
|
-
'
|
|
1483
|
+
'phoneId': string;
|
|
1269
1484
|
/**
|
|
1270
1485
|
*
|
|
1271
1486
|
* @type {string}
|
|
1272
1487
|
* @memberof Phone
|
|
1273
1488
|
*/
|
|
1274
1489
|
'phone': string | null;
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
*
|
|
1493
|
+
* @export
|
|
1494
|
+
* @interface PhoneCreate
|
|
1495
|
+
*/
|
|
1496
|
+
interface PhoneCreate {
|
|
1275
1497
|
/**
|
|
1276
1498
|
*
|
|
1277
1499
|
* @type {string}
|
|
1278
|
-
* @memberof
|
|
1500
|
+
* @memberof PhoneCreate
|
|
1279
1501
|
*/
|
|
1280
|
-
'
|
|
1502
|
+
'phone': string | null;
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
* @type {boolean}
|
|
1506
|
+
* @memberof PhoneCreate
|
|
1507
|
+
*/
|
|
1508
|
+
'isPrimary'?: boolean | null;
|
|
1509
|
+
}
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @export
|
|
1513
|
+
* @interface PhonesCreateResponse
|
|
1514
|
+
*/
|
|
1515
|
+
interface PhonesCreateResponse {
|
|
1516
|
+
/**
|
|
1517
|
+
*
|
|
1518
|
+
* @type {DataSource}
|
|
1519
|
+
* @memberof PhonesCreateResponse
|
|
1520
|
+
*/
|
|
1521
|
+
'dataSource': DataSource;
|
|
1281
1522
|
/**
|
|
1282
1523
|
*
|
|
1283
1524
|
* @type {string}
|
|
1284
|
-
* @memberof
|
|
1525
|
+
* @memberof PhonesCreateResponse
|
|
1285
1526
|
*/
|
|
1286
1527
|
'deletedAt'?: string | null;
|
|
1528
|
+
/**
|
|
1529
|
+
*
|
|
1530
|
+
* @type {boolean}
|
|
1531
|
+
* @memberof PhonesCreateResponse
|
|
1532
|
+
*/
|
|
1533
|
+
'isPrimary': boolean;
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof PhonesCreateResponse
|
|
1538
|
+
*/
|
|
1539
|
+
'phoneId': string;
|
|
1540
|
+
/**
|
|
1541
|
+
*
|
|
1542
|
+
* @type {string}
|
|
1543
|
+
* @memberof PhonesCreateResponse
|
|
1544
|
+
*/
|
|
1545
|
+
'phone': string | null;
|
|
1287
1546
|
}
|
|
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
1547
|
/**
|
|
1295
1548
|
*
|
|
1296
1549
|
* @export
|
|
@@ -1341,106 +1594,169 @@ interface ReservationsListResponse {
|
|
|
1341
1594
|
'totalPrice': number;
|
|
1342
1595
|
}
|
|
1343
1596
|
/**
|
|
1344
|
-
*
|
|
1597
|
+
* AddressesApi - axios parameter creator
|
|
1345
1598
|
* @export
|
|
1346
1599
|
*/
|
|
1347
|
-
declare const
|
|
1600
|
+
declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1348
1601
|
/**
|
|
1349
1602
|
*
|
|
1350
|
-
* @summary
|
|
1351
|
-
* @param {string}
|
|
1352
|
-
* @param {
|
|
1603
|
+
* @summary Addresses Create
|
|
1604
|
+
* @param {string} contactId
|
|
1605
|
+
* @param {AddressCreate} addressCreate
|
|
1353
1606
|
* @param {*} [options] Override http request option.
|
|
1354
1607
|
* @throws {RequiredError}
|
|
1355
1608
|
*/
|
|
1356
|
-
|
|
1609
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1357
1610
|
/**
|
|
1358
1611
|
*
|
|
1359
|
-
* @summary
|
|
1360
|
-
* @param {string}
|
|
1612
|
+
* @summary Addresses Delete
|
|
1613
|
+
* @param {string} addressId
|
|
1361
1614
|
* @param {*} [options] Override http request option.
|
|
1362
1615
|
* @throws {RequiredError}
|
|
1363
1616
|
*/
|
|
1364
|
-
|
|
1617
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1365
1618
|
/**
|
|
1366
1619
|
*
|
|
1367
|
-
* @summary
|
|
1620
|
+
* @summary Addresses Update
|
|
1621
|
+
* @param {string} addressId
|
|
1622
|
+
* @param {AddressUpdate} addressUpdate
|
|
1623
|
+
* @param {*} [options] Override http request option.
|
|
1624
|
+
* @throws {RequiredError}
|
|
1625
|
+
*/
|
|
1626
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* AddressesApi - functional programming interface
|
|
1630
|
+
* @export
|
|
1631
|
+
*/
|
|
1632
|
+
declare const AddressesApiFp: (configuration?: Configuration) => {
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @summary Addresses Create
|
|
1368
1636
|
* @param {string} contactId
|
|
1637
|
+
* @param {AddressCreate} addressCreate
|
|
1369
1638
|
* @param {*} [options] Override http request option.
|
|
1370
1639
|
* @throws {RequiredError}
|
|
1371
1640
|
*/
|
|
1372
|
-
|
|
1641
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
1373
1642
|
/**
|
|
1374
1643
|
*
|
|
1375
|
-
* @summary
|
|
1376
|
-
* @param {string}
|
|
1644
|
+
* @summary Addresses Delete
|
|
1645
|
+
* @param {string} addressId
|
|
1377
1646
|
* @param {*} [options] Override http request option.
|
|
1378
1647
|
* @throws {RequiredError}
|
|
1379
1648
|
*/
|
|
1380
|
-
|
|
1649
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1381
1650
|
/**
|
|
1382
1651
|
*
|
|
1383
|
-
* @summary
|
|
1384
|
-
* @param {string}
|
|
1385
|
-
* @param {
|
|
1652
|
+
* @summary Addresses Update
|
|
1653
|
+
* @param {string} addressId
|
|
1654
|
+
* @param {AddressUpdate} addressUpdate
|
|
1386
1655
|
* @param {*} [options] Override http request option.
|
|
1387
1656
|
* @throws {RequiredError}
|
|
1388
1657
|
*/
|
|
1389
|
-
|
|
1658
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1390
1659
|
};
|
|
1391
1660
|
/**
|
|
1392
|
-
*
|
|
1661
|
+
* AddressesApi - factory interface
|
|
1393
1662
|
* @export
|
|
1394
1663
|
*/
|
|
1395
|
-
declare const
|
|
1664
|
+
declare const AddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1396
1665
|
/**
|
|
1397
1666
|
*
|
|
1398
|
-
* @summary
|
|
1399
|
-
* @param {string}
|
|
1400
|
-
* @param {
|
|
1667
|
+
* @summary Addresses Create
|
|
1668
|
+
* @param {string} contactId
|
|
1669
|
+
* @param {AddressCreate} addressCreate
|
|
1401
1670
|
* @param {*} [options] Override http request option.
|
|
1402
1671
|
* @throws {RequiredError}
|
|
1403
1672
|
*/
|
|
1404
|
-
|
|
1673
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
1405
1674
|
/**
|
|
1406
1675
|
*
|
|
1407
|
-
* @summary
|
|
1408
|
-
* @param {string}
|
|
1676
|
+
* @summary Addresses Delete
|
|
1677
|
+
* @param {string} addressId
|
|
1409
1678
|
* @param {*} [options] Override http request option.
|
|
1410
1679
|
* @throws {RequiredError}
|
|
1411
1680
|
*/
|
|
1412
|
-
|
|
1681
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1413
1682
|
/**
|
|
1414
1683
|
*
|
|
1415
|
-
* @summary
|
|
1684
|
+
* @summary Addresses Update
|
|
1685
|
+
* @param {string} addressId
|
|
1686
|
+
* @param {AddressUpdate} addressUpdate
|
|
1687
|
+
* @param {*} [options] Override http request option.
|
|
1688
|
+
* @throws {RequiredError}
|
|
1689
|
+
*/
|
|
1690
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
1691
|
+
};
|
|
1692
|
+
/**
|
|
1693
|
+
* AddressesApi - object-oriented interface
|
|
1694
|
+
* @export
|
|
1695
|
+
* @class AddressesApi
|
|
1696
|
+
* @extends {BaseAPI}
|
|
1697
|
+
*/
|
|
1698
|
+
declare class AddressesApi extends BaseAPI {
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @summary Addresses Create
|
|
1416
1702
|
* @param {string} contactId
|
|
1703
|
+
* @param {AddressCreate} addressCreate
|
|
1417
1704
|
* @param {*} [options] Override http request option.
|
|
1418
1705
|
* @throws {RequiredError}
|
|
1706
|
+
* @memberof AddressesApi
|
|
1419
1707
|
*/
|
|
1420
|
-
|
|
1708
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
1421
1709
|
/**
|
|
1422
1710
|
*
|
|
1423
|
-
* @summary
|
|
1424
|
-
* @param {string}
|
|
1711
|
+
* @summary Addresses Delete
|
|
1712
|
+
* @param {string} addressId
|
|
1425
1713
|
* @param {*} [options] Override http request option.
|
|
1426
1714
|
* @throws {RequiredError}
|
|
1715
|
+
* @memberof AddressesApi
|
|
1427
1716
|
*/
|
|
1428
|
-
|
|
1717
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1429
1718
|
/**
|
|
1430
1719
|
*
|
|
1431
|
-
* @summary
|
|
1432
|
-
* @param {string}
|
|
1433
|
-
* @param {
|
|
1720
|
+
* @summary Addresses Update
|
|
1721
|
+
* @param {string} addressId
|
|
1722
|
+
* @param {AddressUpdate} addressUpdate
|
|
1434
1723
|
* @param {*} [options] Override http request option.
|
|
1435
1724
|
* @throws {RequiredError}
|
|
1725
|
+
* @memberof AddressesApi
|
|
1436
1726
|
*/
|
|
1437
|
-
|
|
1438
|
-
}
|
|
1727
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
1728
|
+
}
|
|
1439
1729
|
/**
|
|
1440
|
-
* ContactsApi -
|
|
1730
|
+
* ContactsApi - axios parameter creator
|
|
1441
1731
|
* @export
|
|
1442
1732
|
*/
|
|
1443
|
-
declare const
|
|
1733
|
+
declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1734
|
+
/**
|
|
1735
|
+
*
|
|
1736
|
+
* @summary Addresses Create
|
|
1737
|
+
* @param {string} contactId
|
|
1738
|
+
* @param {AddressCreate} addressCreate
|
|
1739
|
+
* @param {*} [options] Override http request option.
|
|
1740
|
+
* @throws {RequiredError}
|
|
1741
|
+
*/
|
|
1742
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @summary Addresses Delete
|
|
1746
|
+
* @param {string} addressId
|
|
1747
|
+
* @param {*} [options] Override http request option.
|
|
1748
|
+
* @throws {RequiredError}
|
|
1749
|
+
*/
|
|
1750
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1751
|
+
/**
|
|
1752
|
+
*
|
|
1753
|
+
* @summary Addresses Update
|
|
1754
|
+
* @param {string} addressId
|
|
1755
|
+
* @param {AddressUpdate} addressUpdate
|
|
1756
|
+
* @param {*} [options] Override http request option.
|
|
1757
|
+
* @throws {RequiredError}
|
|
1758
|
+
*/
|
|
1759
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1444
1760
|
/**
|
|
1445
1761
|
*
|
|
1446
1762
|
* @summary Contacts Create
|
|
@@ -1449,7 +1765,7 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1449
1765
|
* @param {*} [options] Override http request option.
|
|
1450
1766
|
* @throws {RequiredError}
|
|
1451
1767
|
*/
|
|
1452
|
-
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig)
|
|
1768
|
+
contactsCreate: (customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1453
1769
|
/**
|
|
1454
1770
|
*
|
|
1455
1771
|
* @summary Contacts Delete
|
|
@@ -1457,7 +1773,7 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1457
1773
|
* @param {*} [options] Override http request option.
|
|
1458
1774
|
* @throws {RequiredError}
|
|
1459
1775
|
*/
|
|
1460
|
-
contactsDelete(contactId: string, options?: RawAxiosRequestConfig)
|
|
1776
|
+
contactsDelete: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1461
1777
|
/**
|
|
1462
1778
|
*
|
|
1463
1779
|
* @summary Contacts Get
|
|
@@ -1465,15 +1781,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1465
1781
|
* @param {*} [options] Override http request option.
|
|
1466
1782
|
* @throws {RequiredError}
|
|
1467
1783
|
*/
|
|
1468
|
-
contactsGet(contactId: string, options?: RawAxiosRequestConfig)
|
|
1784
|
+
contactsGet: (contactId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1469
1785
|
/**
|
|
1470
1786
|
*
|
|
1471
1787
|
* @summary Contacts List
|
|
1472
|
-
* @param {
|
|
1788
|
+
* @param {ContactType} [contactType]
|
|
1789
|
+
* @param {string} [searchString]
|
|
1473
1790
|
* @param {*} [options] Override http request option.
|
|
1474
1791
|
* @throws {RequiredError}
|
|
1475
1792
|
*/
|
|
1476
|
-
contactsList(
|
|
1793
|
+
contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1477
1794
|
/**
|
|
1478
1795
|
*
|
|
1479
1796
|
* @summary Contacts Update
|
|
@@ -1482,15 +1799,73 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1482
1799
|
* @param {*} [options] Override http request option.
|
|
1483
1800
|
* @throws {RequiredError}
|
|
1484
1801
|
*/
|
|
1485
|
-
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig)
|
|
1802
|
+
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1803
|
+
/**
|
|
1804
|
+
*
|
|
1805
|
+
* @summary Emails Create
|
|
1806
|
+
* @param {string} contactId
|
|
1807
|
+
* @param {EmailCreate} emailCreate
|
|
1808
|
+
* @param {*} [options] Override http request option.
|
|
1809
|
+
* @throws {RequiredError}
|
|
1810
|
+
*/
|
|
1811
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @summary Emails Delete
|
|
1815
|
+
* @param {string} emailId
|
|
1816
|
+
* @param {*} [options] Override http request option.
|
|
1817
|
+
* @throws {RequiredError}
|
|
1818
|
+
*/
|
|
1819
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1820
|
+
/**
|
|
1821
|
+
*
|
|
1822
|
+
* @summary Phones Create
|
|
1823
|
+
* @param {string} contactId
|
|
1824
|
+
* @param {PhoneCreate} phoneCreate
|
|
1825
|
+
* @param {*} [options] Override http request option.
|
|
1826
|
+
* @throws {RequiredError}
|
|
1827
|
+
*/
|
|
1828
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1829
|
+
/**
|
|
1830
|
+
*
|
|
1831
|
+
* @summary Phones Delete
|
|
1832
|
+
* @param {string} phoneId
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
*/
|
|
1836
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1486
1837
|
};
|
|
1487
1838
|
/**
|
|
1488
|
-
* ContactsApi -
|
|
1839
|
+
* ContactsApi - functional programming interface
|
|
1489
1840
|
* @export
|
|
1490
|
-
* @class ContactsApi
|
|
1491
|
-
* @extends {BaseAPI}
|
|
1492
1841
|
*/
|
|
1493
|
-
declare
|
|
1842
|
+
declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
1843
|
+
/**
|
|
1844
|
+
*
|
|
1845
|
+
* @summary Addresses Create
|
|
1846
|
+
* @param {string} contactId
|
|
1847
|
+
* @param {AddressCreate} addressCreate
|
|
1848
|
+
* @param {*} [options] Override http request option.
|
|
1849
|
+
* @throws {RequiredError}
|
|
1850
|
+
*/
|
|
1851
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @summary Addresses Delete
|
|
1855
|
+
* @param {string} addressId
|
|
1856
|
+
* @param {*} [options] Override http request option.
|
|
1857
|
+
* @throws {RequiredError}
|
|
1858
|
+
*/
|
|
1859
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @summary Addresses Update
|
|
1863
|
+
* @param {string} addressId
|
|
1864
|
+
* @param {AddressUpdate} addressUpdate
|
|
1865
|
+
* @param {*} [options] Override http request option.
|
|
1866
|
+
* @throws {RequiredError}
|
|
1867
|
+
*/
|
|
1868
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1494
1869
|
/**
|
|
1495
1870
|
*
|
|
1496
1871
|
* @summary Contacts Create
|
|
@@ -1498,36 +1873,33 @@ declare class ContactsApi extends BaseAPI {
|
|
|
1498
1873
|
* @param {ContactCreate} contactCreate
|
|
1499
1874
|
* @param {*} [options] Override http request option.
|
|
1500
1875
|
* @throws {RequiredError}
|
|
1501
|
-
* @memberof ContactsApi
|
|
1502
1876
|
*/
|
|
1503
|
-
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios
|
|
1877
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
|
|
1504
1878
|
/**
|
|
1505
1879
|
*
|
|
1506
1880
|
* @summary Contacts Delete
|
|
1507
1881
|
* @param {string} contactId
|
|
1508
1882
|
* @param {*} [options] Override http request option.
|
|
1509
1883
|
* @throws {RequiredError}
|
|
1510
|
-
* @memberof ContactsApi
|
|
1511
1884
|
*/
|
|
1512
|
-
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios
|
|
1885
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1513
1886
|
/**
|
|
1514
1887
|
*
|
|
1515
1888
|
* @summary Contacts Get
|
|
1516
1889
|
* @param {string} contactId
|
|
1517
1890
|
* @param {*} [options] Override http request option.
|
|
1518
1891
|
* @throws {RequiredError}
|
|
1519
|
-
* @memberof ContactsApi
|
|
1520
1892
|
*/
|
|
1521
|
-
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios
|
|
1893
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsGetResponse>>;
|
|
1522
1894
|
/**
|
|
1523
1895
|
*
|
|
1524
1896
|
* @summary Contacts List
|
|
1525
|
-
* @param {
|
|
1897
|
+
* @param {ContactType} [contactType]
|
|
1898
|
+
* @param {string} [searchString]
|
|
1526
1899
|
* @param {*} [options] Override http request option.
|
|
1527
1900
|
* @throws {RequiredError}
|
|
1528
|
-
* @memberof ContactsApi
|
|
1529
1901
|
*/
|
|
1530
|
-
contactsList(
|
|
1902
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
1531
1903
|
/**
|
|
1532
1904
|
*
|
|
1533
1905
|
* @summary Contacts Update
|
|
@@ -1535,74 +1907,531 @@ declare class ContactsApi extends BaseAPI {
|
|
|
1535
1907
|
* @param {ContactUpdate} contactUpdate
|
|
1536
1908
|
* @param {*} [options] Override http request option.
|
|
1537
1909
|
* @throws {RequiredError}
|
|
1538
|
-
* @memberof ContactsApi
|
|
1539
1910
|
*/
|
|
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) => {
|
|
1911
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
|
|
1547
1912
|
/**
|
|
1548
1913
|
*
|
|
1549
|
-
* @summary
|
|
1550
|
-
* @param {
|
|
1914
|
+
* @summary Emails Create
|
|
1915
|
+
* @param {string} contactId
|
|
1916
|
+
* @param {EmailCreate} emailCreate
|
|
1551
1917
|
* @param {*} [options] Override http request option.
|
|
1552
1918
|
* @throws {RequiredError}
|
|
1553
1919
|
*/
|
|
1554
|
-
|
|
1555
|
-
};
|
|
1556
|
-
/**
|
|
1557
|
-
* HostawayApi - functional programming interface
|
|
1558
|
-
* @export
|
|
1559
|
-
*/
|
|
1560
|
-
declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
1920
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
1561
1921
|
/**
|
|
1562
1922
|
*
|
|
1563
|
-
* @summary
|
|
1564
|
-
* @param {
|
|
1923
|
+
* @summary Emails Delete
|
|
1924
|
+
* @param {string} emailId
|
|
1565
1925
|
* @param {*} [options] Override http request option.
|
|
1566
1926
|
* @throws {RequiredError}
|
|
1567
1927
|
*/
|
|
1568
|
-
|
|
1569
|
-
};
|
|
1570
|
-
/**
|
|
1571
|
-
* HostawayApi - factory interface
|
|
1572
|
-
* @export
|
|
1573
|
-
*/
|
|
1574
|
-
declare const HostawayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1928
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1575
1929
|
/**
|
|
1576
1930
|
*
|
|
1577
|
-
* @summary
|
|
1578
|
-
* @param {
|
|
1931
|
+
* @summary Phones Create
|
|
1932
|
+
* @param {string} contactId
|
|
1933
|
+
* @param {PhoneCreate} phoneCreate
|
|
1579
1934
|
* @param {*} [options] Override http request option.
|
|
1580
1935
|
* @throws {RequiredError}
|
|
1581
1936
|
*/
|
|
1582
|
-
|
|
1937
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
1938
|
+
/**
|
|
1939
|
+
*
|
|
1940
|
+
* @summary Phones Delete
|
|
1941
|
+
* @param {string} phoneId
|
|
1942
|
+
* @param {*} [options] Override http request option.
|
|
1943
|
+
* @throws {RequiredError}
|
|
1944
|
+
*/
|
|
1945
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1583
1946
|
};
|
|
1584
1947
|
/**
|
|
1585
|
-
*
|
|
1948
|
+
* ContactsApi - factory interface
|
|
1586
1949
|
* @export
|
|
1587
|
-
* @class HostawayApi
|
|
1588
|
-
* @extends {BaseAPI}
|
|
1589
1950
|
*/
|
|
1590
|
-
declare
|
|
1951
|
+
declare const ContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1591
1952
|
/**
|
|
1592
1953
|
*
|
|
1593
|
-
* @summary
|
|
1594
|
-
* @param {
|
|
1954
|
+
* @summary Addresses Create
|
|
1955
|
+
* @param {string} contactId
|
|
1956
|
+
* @param {AddressCreate} addressCreate
|
|
1595
1957
|
* @param {*} [options] Override http request option.
|
|
1596
1958
|
* @throws {RequiredError}
|
|
1597
|
-
* @memberof HostawayApi
|
|
1598
1959
|
*/
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1960
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @summary Addresses Delete
|
|
1964
|
+
* @param {string} addressId
|
|
1965
|
+
* @param {*} [options] Override http request option.
|
|
1966
|
+
* @throws {RequiredError}
|
|
1967
|
+
*/
|
|
1968
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1969
|
+
/**
|
|
1970
|
+
*
|
|
1971
|
+
* @summary Addresses Update
|
|
1972
|
+
* @param {string} addressId
|
|
1973
|
+
* @param {AddressUpdate} addressUpdate
|
|
1974
|
+
* @param {*} [options] Override http request option.
|
|
1975
|
+
* @throws {RequiredError}
|
|
1976
|
+
*/
|
|
1977
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
1978
|
+
/**
|
|
1979
|
+
*
|
|
1980
|
+
* @summary Contacts Create
|
|
1981
|
+
* @param {string} customerId
|
|
1982
|
+
* @param {ContactCreate} contactCreate
|
|
1983
|
+
* @param {*} [options] Override http request option.
|
|
1984
|
+
* @throws {RequiredError}
|
|
1985
|
+
*/
|
|
1986
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
|
|
1987
|
+
/**
|
|
1988
|
+
*
|
|
1989
|
+
* @summary Contacts Delete
|
|
1990
|
+
* @param {string} contactId
|
|
1991
|
+
* @param {*} [options] Override http request option.
|
|
1992
|
+
* @throws {RequiredError}
|
|
1993
|
+
*/
|
|
1994
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary Contacts Get
|
|
1998
|
+
* @param {string} contactId
|
|
1999
|
+
* @param {*} [options] Override http request option.
|
|
2000
|
+
* @throws {RequiredError}
|
|
2001
|
+
*/
|
|
2002
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): AxiosPromise<ContactsGetResponse>;
|
|
2003
|
+
/**
|
|
2004
|
+
*
|
|
2005
|
+
* @summary Contacts List
|
|
2006
|
+
* @param {ContactType} [contactType]
|
|
2007
|
+
* @param {string} [searchString]
|
|
2008
|
+
* @param {*} [options] Override http request option.
|
|
2009
|
+
* @throws {RequiredError}
|
|
2010
|
+
*/
|
|
2011
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
2012
|
+
/**
|
|
2013
|
+
*
|
|
2014
|
+
* @summary Contacts Update
|
|
2015
|
+
* @param {string} contactId
|
|
2016
|
+
* @param {ContactUpdate} contactUpdate
|
|
2017
|
+
* @param {*} [options] Override http request option.
|
|
2018
|
+
* @throws {RequiredError}
|
|
2019
|
+
*/
|
|
2020
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @summary Emails Create
|
|
2024
|
+
* @param {string} contactId
|
|
2025
|
+
* @param {EmailCreate} emailCreate
|
|
2026
|
+
* @param {*} [options] Override http request option.
|
|
2027
|
+
* @throws {RequiredError}
|
|
2028
|
+
*/
|
|
2029
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2030
|
+
/**
|
|
2031
|
+
*
|
|
2032
|
+
* @summary Emails Delete
|
|
2033
|
+
* @param {string} emailId
|
|
2034
|
+
* @param {*} [options] Override http request option.
|
|
2035
|
+
* @throws {RequiredError}
|
|
2036
|
+
*/
|
|
2037
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2038
|
+
/**
|
|
2039
|
+
*
|
|
2040
|
+
* @summary Phones Create
|
|
2041
|
+
* @param {string} contactId
|
|
2042
|
+
* @param {PhoneCreate} phoneCreate
|
|
2043
|
+
* @param {*} [options] Override http request option.
|
|
2044
|
+
* @throws {RequiredError}
|
|
2045
|
+
*/
|
|
2046
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2047
|
+
/**
|
|
2048
|
+
*
|
|
2049
|
+
* @summary Phones Delete
|
|
2050
|
+
* @param {string} phoneId
|
|
2051
|
+
* @param {*} [options] Override http request option.
|
|
2052
|
+
* @throws {RequiredError}
|
|
2053
|
+
*/
|
|
2054
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2055
|
+
};
|
|
2056
|
+
/**
|
|
2057
|
+
* ContactsApi - object-oriented interface
|
|
2058
|
+
* @export
|
|
2059
|
+
* @class ContactsApi
|
|
2060
|
+
* @extends {BaseAPI}
|
|
2061
|
+
*/
|
|
2062
|
+
declare class ContactsApi extends BaseAPI {
|
|
2063
|
+
/**
|
|
2064
|
+
*
|
|
2065
|
+
* @summary Addresses Create
|
|
2066
|
+
* @param {string} contactId
|
|
2067
|
+
* @param {AddressCreate} addressCreate
|
|
2068
|
+
* @param {*} [options] Override http request option.
|
|
2069
|
+
* @throws {RequiredError}
|
|
2070
|
+
* @memberof ContactsApi
|
|
2071
|
+
*/
|
|
2072
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
2073
|
+
/**
|
|
2074
|
+
*
|
|
2075
|
+
* @summary Addresses Delete
|
|
2076
|
+
* @param {string} addressId
|
|
2077
|
+
* @param {*} [options] Override http request option.
|
|
2078
|
+
* @throws {RequiredError}
|
|
2079
|
+
* @memberof ContactsApi
|
|
2080
|
+
*/
|
|
2081
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2082
|
+
/**
|
|
2083
|
+
*
|
|
2084
|
+
* @summary Addresses Update
|
|
2085
|
+
* @param {string} addressId
|
|
2086
|
+
* @param {AddressUpdate} addressUpdate
|
|
2087
|
+
* @param {*} [options] Override http request option.
|
|
2088
|
+
* @throws {RequiredError}
|
|
2089
|
+
* @memberof ContactsApi
|
|
2090
|
+
*/
|
|
2091
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
2092
|
+
/**
|
|
2093
|
+
*
|
|
2094
|
+
* @summary Contacts Create
|
|
2095
|
+
* @param {string} customerId
|
|
2096
|
+
* @param {ContactCreate} contactCreate
|
|
2097
|
+
* @param {*} [options] Override http request option.
|
|
2098
|
+
* @throws {RequiredError}
|
|
2099
|
+
* @memberof ContactsApi
|
|
2100
|
+
*/
|
|
2101
|
+
contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
|
|
2102
|
+
/**
|
|
2103
|
+
*
|
|
2104
|
+
* @summary Contacts Delete
|
|
2105
|
+
* @param {string} contactId
|
|
2106
|
+
* @param {*} [options] Override http request option.
|
|
2107
|
+
* @throws {RequiredError}
|
|
2108
|
+
* @memberof ContactsApi
|
|
2109
|
+
*/
|
|
2110
|
+
contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2111
|
+
/**
|
|
2112
|
+
*
|
|
2113
|
+
* @summary Contacts Get
|
|
2114
|
+
* @param {string} contactId
|
|
2115
|
+
* @param {*} [options] Override http request option.
|
|
2116
|
+
* @throws {RequiredError}
|
|
2117
|
+
* @memberof ContactsApi
|
|
2118
|
+
*/
|
|
2119
|
+
contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsGetResponse, any>>;
|
|
2120
|
+
/**
|
|
2121
|
+
*
|
|
2122
|
+
* @summary Contacts List
|
|
2123
|
+
* @param {ContactType} [contactType]
|
|
2124
|
+
* @param {string} [searchString]
|
|
2125
|
+
* @param {*} [options] Override http request option.
|
|
2126
|
+
* @throws {RequiredError}
|
|
2127
|
+
* @memberof ContactsApi
|
|
2128
|
+
*/
|
|
2129
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
2130
|
+
/**
|
|
2131
|
+
*
|
|
2132
|
+
* @summary Contacts Update
|
|
2133
|
+
* @param {string} contactId
|
|
2134
|
+
* @param {ContactUpdate} contactUpdate
|
|
2135
|
+
* @param {*} [options] Override http request option.
|
|
2136
|
+
* @throws {RequiredError}
|
|
2137
|
+
* @memberof ContactsApi
|
|
2138
|
+
*/
|
|
2139
|
+
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @summary Emails Create
|
|
2143
|
+
* @param {string} contactId
|
|
2144
|
+
* @param {EmailCreate} emailCreate
|
|
2145
|
+
* @param {*} [options] Override http request option.
|
|
2146
|
+
* @throws {RequiredError}
|
|
2147
|
+
* @memberof ContactsApi
|
|
2148
|
+
*/
|
|
2149
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
* @summary Emails Delete
|
|
2153
|
+
* @param {string} emailId
|
|
2154
|
+
* @param {*} [options] Override http request option.
|
|
2155
|
+
* @throws {RequiredError}
|
|
2156
|
+
* @memberof ContactsApi
|
|
2157
|
+
*/
|
|
2158
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2159
|
+
/**
|
|
2160
|
+
*
|
|
2161
|
+
* @summary Phones Create
|
|
2162
|
+
* @param {string} contactId
|
|
2163
|
+
* @param {PhoneCreate} phoneCreate
|
|
2164
|
+
* @param {*} [options] Override http request option.
|
|
2165
|
+
* @throws {RequiredError}
|
|
2166
|
+
* @memberof ContactsApi
|
|
2167
|
+
*/
|
|
2168
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
2169
|
+
/**
|
|
2170
|
+
*
|
|
2171
|
+
* @summary Phones Delete
|
|
2172
|
+
* @param {string} phoneId
|
|
2173
|
+
* @param {*} [options] Override http request option.
|
|
2174
|
+
* @throws {RequiredError}
|
|
2175
|
+
* @memberof ContactsApi
|
|
2176
|
+
*/
|
|
2177
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* EmailsApi - axios parameter creator
|
|
2181
|
+
* @export
|
|
2182
|
+
*/
|
|
2183
|
+
declare const EmailsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2184
|
+
/**
|
|
2185
|
+
*
|
|
2186
|
+
* @summary Emails Create
|
|
2187
|
+
* @param {string} contactId
|
|
2188
|
+
* @param {EmailCreate} emailCreate
|
|
2189
|
+
* @param {*} [options] Override http request option.
|
|
2190
|
+
* @throws {RequiredError}
|
|
2191
|
+
*/
|
|
2192
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2193
|
+
/**
|
|
2194
|
+
*
|
|
2195
|
+
* @summary Emails Delete
|
|
2196
|
+
* @param {string} emailId
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
*/
|
|
2200
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2201
|
+
};
|
|
2202
|
+
/**
|
|
2203
|
+
* EmailsApi - functional programming interface
|
|
2204
|
+
* @export
|
|
2205
|
+
*/
|
|
2206
|
+
declare const EmailsApiFp: (configuration?: Configuration) => {
|
|
2207
|
+
/**
|
|
2208
|
+
*
|
|
2209
|
+
* @summary Emails Create
|
|
2210
|
+
* @param {string} contactId
|
|
2211
|
+
* @param {EmailCreate} emailCreate
|
|
2212
|
+
* @param {*} [options] Override http request option.
|
|
2213
|
+
* @throws {RequiredError}
|
|
2214
|
+
*/
|
|
2215
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
2216
|
+
/**
|
|
2217
|
+
*
|
|
2218
|
+
* @summary Emails Delete
|
|
2219
|
+
* @param {string} emailId
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2224
|
+
};
|
|
2225
|
+
/**
|
|
2226
|
+
* EmailsApi - factory interface
|
|
2227
|
+
* @export
|
|
2228
|
+
*/
|
|
2229
|
+
declare const EmailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2230
|
+
/**
|
|
2231
|
+
*
|
|
2232
|
+
* @summary Emails Create
|
|
2233
|
+
* @param {string} contactId
|
|
2234
|
+
* @param {EmailCreate} emailCreate
|
|
2235
|
+
* @param {*} [options] Override http request option.
|
|
2236
|
+
* @throws {RequiredError}
|
|
2237
|
+
*/
|
|
2238
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2239
|
+
/**
|
|
2240
|
+
*
|
|
2241
|
+
* @summary Emails Delete
|
|
2242
|
+
* @param {string} emailId
|
|
2243
|
+
* @param {*} [options] Override http request option.
|
|
2244
|
+
* @throws {RequiredError}
|
|
2245
|
+
*/
|
|
2246
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2247
|
+
};
|
|
2248
|
+
/**
|
|
2249
|
+
* EmailsApi - object-oriented interface
|
|
2250
|
+
* @export
|
|
2251
|
+
* @class EmailsApi
|
|
2252
|
+
* @extends {BaseAPI}
|
|
2253
|
+
*/
|
|
2254
|
+
declare class EmailsApi extends BaseAPI {
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @summary Emails Create
|
|
2258
|
+
* @param {string} contactId
|
|
2259
|
+
* @param {EmailCreate} emailCreate
|
|
2260
|
+
* @param {*} [options] Override http request option.
|
|
2261
|
+
* @throws {RequiredError}
|
|
2262
|
+
* @memberof EmailsApi
|
|
2263
|
+
*/
|
|
2264
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2265
|
+
/**
|
|
2266
|
+
*
|
|
2267
|
+
* @summary Emails Delete
|
|
2268
|
+
* @param {string} emailId
|
|
2269
|
+
* @param {*} [options] Override http request option.
|
|
2270
|
+
* @throws {RequiredError}
|
|
2271
|
+
* @memberof EmailsApi
|
|
2272
|
+
*/
|
|
2273
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2274
|
+
}
|
|
2275
|
+
/**
|
|
2276
|
+
* HostawayApi - axios parameter creator
|
|
2277
|
+
* @export
|
|
2278
|
+
*/
|
|
2279
|
+
declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @summary Unifiedwebhook
|
|
2283
|
+
* @param {object} body
|
|
2284
|
+
* @param {*} [options] Override http request option.
|
|
2285
|
+
* @throws {RequiredError}
|
|
2286
|
+
*/
|
|
2287
|
+
webhook: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2288
|
+
};
|
|
2289
|
+
/**
|
|
2290
|
+
* HostawayApi - functional programming interface
|
|
2291
|
+
* @export
|
|
2292
|
+
*/
|
|
2293
|
+
declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
2294
|
+
/**
|
|
2295
|
+
*
|
|
2296
|
+
* @summary Unifiedwebhook
|
|
2297
|
+
* @param {object} body
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
webhook(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2302
|
+
};
|
|
2303
|
+
/**
|
|
2304
|
+
* HostawayApi - factory interface
|
|
2305
|
+
* @export
|
|
2306
|
+
*/
|
|
2307
|
+
declare const HostawayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2308
|
+
/**
|
|
2309
|
+
*
|
|
2310
|
+
* @summary Unifiedwebhook
|
|
2311
|
+
* @param {object} body
|
|
2312
|
+
* @param {*} [options] Override http request option.
|
|
2313
|
+
* @throws {RequiredError}
|
|
2314
|
+
*/
|
|
2315
|
+
webhook(body: object, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2316
|
+
};
|
|
2317
|
+
/**
|
|
2318
|
+
* HostawayApi - object-oriented interface
|
|
2319
|
+
* @export
|
|
2320
|
+
* @class HostawayApi
|
|
2321
|
+
* @extends {BaseAPI}
|
|
2322
|
+
*/
|
|
2323
|
+
declare class HostawayApi extends BaseAPI {
|
|
2324
|
+
/**
|
|
2325
|
+
*
|
|
2326
|
+
* @summary Unifiedwebhook
|
|
2327
|
+
* @param {object} body
|
|
2328
|
+
* @param {*} [options] Override http request option.
|
|
2329
|
+
* @throws {RequiredError}
|
|
2330
|
+
* @memberof HostawayApi
|
|
2331
|
+
*/
|
|
2332
|
+
webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
2333
|
+
}
|
|
2334
|
+
/**
|
|
2335
|
+
* PhonesApi - axios parameter creator
|
|
2336
|
+
* @export
|
|
2337
|
+
*/
|
|
2338
|
+
declare const PhonesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2339
|
+
/**
|
|
2340
|
+
*
|
|
2341
|
+
* @summary Phones Create
|
|
2342
|
+
* @param {string} contactId
|
|
2343
|
+
* @param {PhoneCreate} phoneCreate
|
|
2344
|
+
* @param {*} [options] Override http request option.
|
|
2345
|
+
* @throws {RequiredError}
|
|
2346
|
+
*/
|
|
2347
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
* @summary Phones Delete
|
|
2351
|
+
* @param {string} phoneId
|
|
2352
|
+
* @param {*} [options] Override http request option.
|
|
2353
|
+
* @throws {RequiredError}
|
|
2354
|
+
*/
|
|
2355
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2356
|
+
};
|
|
2357
|
+
/**
|
|
2358
|
+
* PhonesApi - functional programming interface
|
|
2359
|
+
* @export
|
|
2360
|
+
*/
|
|
2361
|
+
declare const PhonesApiFp: (configuration?: Configuration) => {
|
|
2362
|
+
/**
|
|
2363
|
+
*
|
|
2364
|
+
* @summary Phones Create
|
|
2365
|
+
* @param {string} contactId
|
|
2366
|
+
* @param {PhoneCreate} phoneCreate
|
|
2367
|
+
* @param {*} [options] Override http request option.
|
|
2368
|
+
* @throws {RequiredError}
|
|
2369
|
+
*/
|
|
2370
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @summary Phones Delete
|
|
2374
|
+
* @param {string} phoneId
|
|
2375
|
+
* @param {*} [options] Override http request option.
|
|
2376
|
+
* @throws {RequiredError}
|
|
2377
|
+
*/
|
|
2378
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2379
|
+
};
|
|
2380
|
+
/**
|
|
2381
|
+
* PhonesApi - factory interface
|
|
2382
|
+
* @export
|
|
2383
|
+
*/
|
|
2384
|
+
declare const PhonesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @summary Phones Create
|
|
2388
|
+
* @param {string} contactId
|
|
2389
|
+
* @param {PhoneCreate} phoneCreate
|
|
2390
|
+
* @param {*} [options] Override http request option.
|
|
2391
|
+
* @throws {RequiredError}
|
|
2392
|
+
*/
|
|
2393
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2394
|
+
/**
|
|
2395
|
+
*
|
|
2396
|
+
* @summary Phones Delete
|
|
2397
|
+
* @param {string} phoneId
|
|
2398
|
+
* @param {*} [options] Override http request option.
|
|
2399
|
+
* @throws {RequiredError}
|
|
2400
|
+
*/
|
|
2401
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2402
|
+
};
|
|
2403
|
+
/**
|
|
2404
|
+
* PhonesApi - object-oriented interface
|
|
2405
|
+
* @export
|
|
2406
|
+
* @class PhonesApi
|
|
2407
|
+
* @extends {BaseAPI}
|
|
2408
|
+
*/
|
|
2409
|
+
declare class PhonesApi extends BaseAPI {
|
|
2410
|
+
/**
|
|
2411
|
+
*
|
|
2412
|
+
* @summary Phones Create
|
|
2413
|
+
* @param {string} contactId
|
|
2414
|
+
* @param {PhoneCreate} phoneCreate
|
|
2415
|
+
* @param {*} [options] Override http request option.
|
|
2416
|
+
* @throws {RequiredError}
|
|
2417
|
+
* @memberof PhonesApi
|
|
2418
|
+
*/
|
|
2419
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
2420
|
+
/**
|
|
2421
|
+
*
|
|
2422
|
+
* @summary Phones Delete
|
|
2423
|
+
* @param {string} phoneId
|
|
2424
|
+
* @param {*} [options] Override http request option.
|
|
2425
|
+
* @throws {RequiredError}
|
|
2426
|
+
* @memberof PhonesApi
|
|
2427
|
+
*/
|
|
2428
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* ReservationsApi - axios parameter creator
|
|
2432
|
+
* @export
|
|
2433
|
+
*/
|
|
2434
|
+
declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1606
2435
|
/**
|
|
1607
2436
|
* List all contacts
|
|
1608
2437
|
* @summary Reservations List
|
|
@@ -1662,6 +2491,32 @@ declare class ReservationsApi extends BaseAPI {
|
|
|
1662
2491
|
* @export
|
|
1663
2492
|
*/
|
|
1664
2493
|
declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2494
|
+
/**
|
|
2495
|
+
*
|
|
2496
|
+
* @summary Addresses Create
|
|
2497
|
+
* @param {string} contactId
|
|
2498
|
+
* @param {AddressCreate} addressCreate
|
|
2499
|
+
* @param {*} [options] Override http request option.
|
|
2500
|
+
* @throws {RequiredError}
|
|
2501
|
+
*/
|
|
2502
|
+
addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2503
|
+
/**
|
|
2504
|
+
*
|
|
2505
|
+
* @summary Addresses Delete
|
|
2506
|
+
* @param {string} addressId
|
|
2507
|
+
* @param {*} [options] Override http request option.
|
|
2508
|
+
* @throws {RequiredError}
|
|
2509
|
+
*/
|
|
2510
|
+
addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2511
|
+
/**
|
|
2512
|
+
*
|
|
2513
|
+
* @summary Addresses Update
|
|
2514
|
+
* @param {string} addressId
|
|
2515
|
+
* @param {AddressUpdate} addressUpdate
|
|
2516
|
+
* @param {*} [options] Override http request option.
|
|
2517
|
+
* @throws {RequiredError}
|
|
2518
|
+
*/
|
|
2519
|
+
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1665
2520
|
/**
|
|
1666
2521
|
*
|
|
1667
2522
|
* @summary Contacts Create
|
|
@@ -1690,11 +2545,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1690
2545
|
/**
|
|
1691
2546
|
*
|
|
1692
2547
|
* @summary Contacts List
|
|
1693
|
-
* @param {
|
|
2548
|
+
* @param {ContactType} [contactType]
|
|
2549
|
+
* @param {string} [searchString]
|
|
1694
2550
|
* @param {*} [options] Override http request option.
|
|
1695
2551
|
* @throws {RequiredError}
|
|
1696
2552
|
*/
|
|
1697
|
-
contactsList: (
|
|
2553
|
+
contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1698
2554
|
/**
|
|
1699
2555
|
*
|
|
1700
2556
|
* @summary Contacts Update
|
|
@@ -1704,6 +2560,40 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1704
2560
|
* @throws {RequiredError}
|
|
1705
2561
|
*/
|
|
1706
2562
|
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @summary Emails Create
|
|
2566
|
+
* @param {string} contactId
|
|
2567
|
+
* @param {EmailCreate} emailCreate
|
|
2568
|
+
* @param {*} [options] Override http request option.
|
|
2569
|
+
* @throws {RequiredError}
|
|
2570
|
+
*/
|
|
2571
|
+
emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2572
|
+
/**
|
|
2573
|
+
*
|
|
2574
|
+
* @summary Emails Delete
|
|
2575
|
+
* @param {string} emailId
|
|
2576
|
+
* @param {*} [options] Override http request option.
|
|
2577
|
+
* @throws {RequiredError}
|
|
2578
|
+
*/
|
|
2579
|
+
emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2580
|
+
/**
|
|
2581
|
+
*
|
|
2582
|
+
* @summary Phones Create
|
|
2583
|
+
* @param {string} contactId
|
|
2584
|
+
* @param {PhoneCreate} phoneCreate
|
|
2585
|
+
* @param {*} [options] Override http request option.
|
|
2586
|
+
* @throws {RequiredError}
|
|
2587
|
+
*/
|
|
2588
|
+
phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @summary Phones Delete
|
|
2592
|
+
* @param {string} phoneId
|
|
2593
|
+
* @param {*} [options] Override http request option.
|
|
2594
|
+
* @throws {RequiredError}
|
|
2595
|
+
*/
|
|
2596
|
+
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1707
2597
|
/**
|
|
1708
2598
|
* List all contacts
|
|
1709
2599
|
* @summary Reservations List
|
|
@@ -1726,6 +2616,32 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1726
2616
|
* @export
|
|
1727
2617
|
*/
|
|
1728
2618
|
declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
2619
|
+
/**
|
|
2620
|
+
*
|
|
2621
|
+
* @summary Addresses Create
|
|
2622
|
+
* @param {string} contactId
|
|
2623
|
+
* @param {AddressCreate} addressCreate
|
|
2624
|
+
* @param {*} [options] Override http request option.
|
|
2625
|
+
* @throws {RequiredError}
|
|
2626
|
+
*/
|
|
2627
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @summary Addresses Delete
|
|
2631
|
+
* @param {string} addressId
|
|
2632
|
+
* @param {*} [options] Override http request option.
|
|
2633
|
+
* @throws {RequiredError}
|
|
2634
|
+
*/
|
|
2635
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @summary Addresses Update
|
|
2639
|
+
* @param {string} addressId
|
|
2640
|
+
* @param {AddressUpdate} addressUpdate
|
|
2641
|
+
* @param {*} [options] Override http request option.
|
|
2642
|
+
* @throws {RequiredError}
|
|
2643
|
+
*/
|
|
2644
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
|
|
1729
2645
|
/**
|
|
1730
2646
|
*
|
|
1731
2647
|
* @summary Contacts Create
|
|
@@ -1754,11 +2670,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1754
2670
|
/**
|
|
1755
2671
|
*
|
|
1756
2672
|
* @summary Contacts List
|
|
1757
|
-
* @param {
|
|
2673
|
+
* @param {ContactType} [contactType]
|
|
2674
|
+
* @param {string} [searchString]
|
|
1758
2675
|
* @param {*} [options] Override http request option.
|
|
1759
2676
|
* @throws {RequiredError}
|
|
1760
2677
|
*/
|
|
1761
|
-
contactsList(
|
|
2678
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
1762
2679
|
/**
|
|
1763
2680
|
*
|
|
1764
2681
|
* @summary Contacts Update
|
|
@@ -1768,6 +2685,40 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1768
2685
|
* @throws {RequiredError}
|
|
1769
2686
|
*/
|
|
1770
2687
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
|
|
2688
|
+
/**
|
|
2689
|
+
*
|
|
2690
|
+
* @summary Emails Create
|
|
2691
|
+
* @param {string} contactId
|
|
2692
|
+
* @param {EmailCreate} emailCreate
|
|
2693
|
+
* @param {*} [options] Override http request option.
|
|
2694
|
+
* @throws {RequiredError}
|
|
2695
|
+
*/
|
|
2696
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
|
|
2697
|
+
/**
|
|
2698
|
+
*
|
|
2699
|
+
* @summary Emails Delete
|
|
2700
|
+
* @param {string} emailId
|
|
2701
|
+
* @param {*} [options] Override http request option.
|
|
2702
|
+
* @throws {RequiredError}
|
|
2703
|
+
*/
|
|
2704
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2705
|
+
/**
|
|
2706
|
+
*
|
|
2707
|
+
* @summary Phones Create
|
|
2708
|
+
* @param {string} contactId
|
|
2709
|
+
* @param {PhoneCreate} phoneCreate
|
|
2710
|
+
* @param {*} [options] Override http request option.
|
|
2711
|
+
* @throws {RequiredError}
|
|
2712
|
+
*/
|
|
2713
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
|
|
2714
|
+
/**
|
|
2715
|
+
*
|
|
2716
|
+
* @summary Phones Delete
|
|
2717
|
+
* @param {string} phoneId
|
|
2718
|
+
* @param {*} [options] Override http request option.
|
|
2719
|
+
* @throws {RequiredError}
|
|
2720
|
+
*/
|
|
2721
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1771
2722
|
/**
|
|
1772
2723
|
* List all contacts
|
|
1773
2724
|
* @summary Reservations List
|
|
@@ -1790,6 +2741,32 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
1790
2741
|
* @export
|
|
1791
2742
|
*/
|
|
1792
2743
|
declare const UnboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2744
|
+
/**
|
|
2745
|
+
*
|
|
2746
|
+
* @summary Addresses Create
|
|
2747
|
+
* @param {string} contactId
|
|
2748
|
+
* @param {AddressCreate} addressCreate
|
|
2749
|
+
* @param {*} [options] Override http request option.
|
|
2750
|
+
* @throws {RequiredError}
|
|
2751
|
+
*/
|
|
2752
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
|
|
2753
|
+
/**
|
|
2754
|
+
*
|
|
2755
|
+
* @summary Addresses Delete
|
|
2756
|
+
* @param {string} addressId
|
|
2757
|
+
* @param {*} [options] Override http request option.
|
|
2758
|
+
* @throws {RequiredError}
|
|
2759
|
+
*/
|
|
2760
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2761
|
+
/**
|
|
2762
|
+
*
|
|
2763
|
+
* @summary Addresses Update
|
|
2764
|
+
* @param {string} addressId
|
|
2765
|
+
* @param {AddressUpdate} addressUpdate
|
|
2766
|
+
* @param {*} [options] Override http request option.
|
|
2767
|
+
* @throws {RequiredError}
|
|
2768
|
+
*/
|
|
2769
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
|
|
1793
2770
|
/**
|
|
1794
2771
|
*
|
|
1795
2772
|
* @summary Contacts Create
|
|
@@ -1818,11 +2795,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1818
2795
|
/**
|
|
1819
2796
|
*
|
|
1820
2797
|
* @summary Contacts List
|
|
1821
|
-
* @param {
|
|
2798
|
+
* @param {ContactType} [contactType]
|
|
2799
|
+
* @param {string} [searchString]
|
|
1822
2800
|
* @param {*} [options] Override http request option.
|
|
1823
2801
|
* @throws {RequiredError}
|
|
1824
2802
|
*/
|
|
1825
|
-
contactsList(
|
|
2803
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
1826
2804
|
/**
|
|
1827
2805
|
*
|
|
1828
2806
|
* @summary Contacts Update
|
|
@@ -1832,6 +2810,40 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1832
2810
|
* @throws {RequiredError}
|
|
1833
2811
|
*/
|
|
1834
2812
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
|
|
2813
|
+
/**
|
|
2814
|
+
*
|
|
2815
|
+
* @summary Emails Create
|
|
2816
|
+
* @param {string} contactId
|
|
2817
|
+
* @param {EmailCreate} emailCreate
|
|
2818
|
+
* @param {*} [options] Override http request option.
|
|
2819
|
+
* @throws {RequiredError}
|
|
2820
|
+
*/
|
|
2821
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
|
|
2822
|
+
/**
|
|
2823
|
+
*
|
|
2824
|
+
* @summary Emails Delete
|
|
2825
|
+
* @param {string} emailId
|
|
2826
|
+
* @param {*} [options] Override http request option.
|
|
2827
|
+
* @throws {RequiredError}
|
|
2828
|
+
*/
|
|
2829
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2830
|
+
/**
|
|
2831
|
+
*
|
|
2832
|
+
* @summary Phones Create
|
|
2833
|
+
* @param {string} contactId
|
|
2834
|
+
* @param {PhoneCreate} phoneCreate
|
|
2835
|
+
* @param {*} [options] Override http request option.
|
|
2836
|
+
* @throws {RequiredError}
|
|
2837
|
+
*/
|
|
2838
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
|
|
2839
|
+
/**
|
|
2840
|
+
*
|
|
2841
|
+
* @summary Phones Delete
|
|
2842
|
+
* @param {string} phoneId
|
|
2843
|
+
* @param {*} [options] Override http request option.
|
|
2844
|
+
* @throws {RequiredError}
|
|
2845
|
+
*/
|
|
2846
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1835
2847
|
/**
|
|
1836
2848
|
* List all contacts
|
|
1837
2849
|
* @summary Reservations List
|
|
@@ -1856,6 +2868,35 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
1856
2868
|
* @extends {BaseAPI}
|
|
1857
2869
|
*/
|
|
1858
2870
|
declare class UnboundApi extends BaseAPI {
|
|
2871
|
+
/**
|
|
2872
|
+
*
|
|
2873
|
+
* @summary Addresses Create
|
|
2874
|
+
* @param {string} contactId
|
|
2875
|
+
* @param {AddressCreate} addressCreate
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
* @memberof UnboundApi
|
|
2879
|
+
*/
|
|
2880
|
+
addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
|
|
2881
|
+
/**
|
|
2882
|
+
*
|
|
2883
|
+
* @summary Addresses Delete
|
|
2884
|
+
* @param {string} addressId
|
|
2885
|
+
* @param {*} [options] Override http request option.
|
|
2886
|
+
* @throws {RequiredError}
|
|
2887
|
+
* @memberof UnboundApi
|
|
2888
|
+
*/
|
|
2889
|
+
addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2890
|
+
/**
|
|
2891
|
+
*
|
|
2892
|
+
* @summary Addresses Update
|
|
2893
|
+
* @param {string} addressId
|
|
2894
|
+
* @param {AddressUpdate} addressUpdate
|
|
2895
|
+
* @param {*} [options] Override http request option.
|
|
2896
|
+
* @throws {RequiredError}
|
|
2897
|
+
* @memberof UnboundApi
|
|
2898
|
+
*/
|
|
2899
|
+
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
|
|
1859
2900
|
/**
|
|
1860
2901
|
*
|
|
1861
2902
|
* @summary Contacts Create
|
|
@@ -1887,12 +2928,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1887
2928
|
/**
|
|
1888
2929
|
*
|
|
1889
2930
|
* @summary Contacts List
|
|
1890
|
-
* @param {
|
|
2931
|
+
* @param {ContactType} [contactType]
|
|
2932
|
+
* @param {string} [searchString]
|
|
1891
2933
|
* @param {*} [options] Override http request option.
|
|
1892
2934
|
* @throws {RequiredError}
|
|
1893
2935
|
* @memberof UnboundApi
|
|
1894
2936
|
*/
|
|
1895
|
-
contactsList(
|
|
2937
|
+
contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
1896
2938
|
/**
|
|
1897
2939
|
*
|
|
1898
2940
|
* @summary Contacts Update
|
|
@@ -1903,6 +2945,44 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1903
2945
|
* @memberof UnboundApi
|
|
1904
2946
|
*/
|
|
1905
2947
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
|
|
2948
|
+
/**
|
|
2949
|
+
*
|
|
2950
|
+
* @summary Emails Create
|
|
2951
|
+
* @param {string} contactId
|
|
2952
|
+
* @param {EmailCreate} emailCreate
|
|
2953
|
+
* @param {*} [options] Override http request option.
|
|
2954
|
+
* @throws {RequiredError}
|
|
2955
|
+
* @memberof UnboundApi
|
|
2956
|
+
*/
|
|
2957
|
+
emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
|
|
2958
|
+
/**
|
|
2959
|
+
*
|
|
2960
|
+
* @summary Emails Delete
|
|
2961
|
+
* @param {string} emailId
|
|
2962
|
+
* @param {*} [options] Override http request option.
|
|
2963
|
+
* @throws {RequiredError}
|
|
2964
|
+
* @memberof UnboundApi
|
|
2965
|
+
*/
|
|
2966
|
+
emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2967
|
+
/**
|
|
2968
|
+
*
|
|
2969
|
+
* @summary Phones Create
|
|
2970
|
+
* @param {string} contactId
|
|
2971
|
+
* @param {PhoneCreate} phoneCreate
|
|
2972
|
+
* @param {*} [options] Override http request option.
|
|
2973
|
+
* @throws {RequiredError}
|
|
2974
|
+
* @memberof UnboundApi
|
|
2975
|
+
*/
|
|
2976
|
+
phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @summary Phones Delete
|
|
2980
|
+
* @param {string} phoneId
|
|
2981
|
+
* @param {*} [options] Override http request option.
|
|
2982
|
+
* @throws {RequiredError}
|
|
2983
|
+
* @memberof UnboundApi
|
|
2984
|
+
*/
|
|
2985
|
+
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1906
2986
|
/**
|
|
1907
2987
|
* List all contacts
|
|
1908
2988
|
* @summary Reservations List
|
|
@@ -1923,4 +3003,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
1923
3003
|
webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
1924
3004
|
}
|
|
1925
3005
|
|
|
1926
|
-
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressItem,
|
|
3006
|
+
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 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 };
|