@ember-home/unbound-ts-client 0.0.8 → 0.0.10
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 +140 -64
- package/dist/index.d.ts +140 -64
- package/dist/index.js +55 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -58
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -167,37 +167,37 @@ 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
|
-
'country': string;
|
|
182
|
+
'country': string | null;
|
|
183
183
|
/**
|
|
184
184
|
*
|
|
185
185
|
* @type {string}
|
|
186
186
|
* @memberof Address
|
|
187
187
|
*/
|
|
188
|
-
'locality': string;
|
|
188
|
+
'locality': string | null;
|
|
189
189
|
/**
|
|
190
190
|
*
|
|
191
191
|
* @type {string}
|
|
192
192
|
* @memberof Address
|
|
193
193
|
*/
|
|
194
|
-
'postalCode': string;
|
|
194
|
+
'postalCode': string | null;
|
|
195
195
|
/**
|
|
196
196
|
*
|
|
197
197
|
* @type {string}
|
|
198
198
|
* @memberof Address
|
|
199
199
|
*/
|
|
200
|
-
'region': string;
|
|
200
|
+
'region': string | null;
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
203
|
*
|
|
@@ -253,37 +253,37 @@ interface AddressItem {
|
|
|
253
253
|
* @type {string}
|
|
254
254
|
* @memberof AddressItem
|
|
255
255
|
*/
|
|
256
|
-
'
|
|
256
|
+
'street1': string | null;
|
|
257
257
|
/**
|
|
258
258
|
*
|
|
259
259
|
* @type {string}
|
|
260
260
|
* @memberof AddressItem
|
|
261
261
|
*/
|
|
262
|
-
'
|
|
262
|
+
'street2'?: string | null;
|
|
263
263
|
/**
|
|
264
264
|
*
|
|
265
265
|
* @type {string}
|
|
266
266
|
* @memberof AddressItem
|
|
267
267
|
*/
|
|
268
|
-
'country': string;
|
|
268
|
+
'country': string | null;
|
|
269
269
|
/**
|
|
270
270
|
*
|
|
271
271
|
* @type {string}
|
|
272
272
|
* @memberof AddressItem
|
|
273
273
|
*/
|
|
274
|
-
'locality': string;
|
|
274
|
+
'locality': string | null;
|
|
275
275
|
/**
|
|
276
276
|
*
|
|
277
277
|
* @type {string}
|
|
278
278
|
* @memberof AddressItem
|
|
279
279
|
*/
|
|
280
|
-
'postalCode': string;
|
|
280
|
+
'postalCode': string | null;
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @type {string}
|
|
284
284
|
* @memberof AddressItem
|
|
285
285
|
*/
|
|
286
|
-
'region': string;
|
|
286
|
+
'region': string | null;
|
|
287
287
|
/**
|
|
288
288
|
*
|
|
289
289
|
* @type {string}
|
|
@@ -363,37 +363,37 @@ interface AddressesCreateResponse {
|
|
|
363
363
|
* @type {string}
|
|
364
364
|
* @memberof AddressesCreateResponse
|
|
365
365
|
*/
|
|
366
|
-
'
|
|
366
|
+
'street1': string | null;
|
|
367
367
|
/**
|
|
368
368
|
*
|
|
369
369
|
* @type {string}
|
|
370
370
|
* @memberof AddressesCreateResponse
|
|
371
371
|
*/
|
|
372
|
-
'
|
|
372
|
+
'street2'?: string | null;
|
|
373
373
|
/**
|
|
374
374
|
*
|
|
375
375
|
* @type {string}
|
|
376
376
|
* @memberof AddressesCreateResponse
|
|
377
377
|
*/
|
|
378
|
-
'country': string;
|
|
378
|
+
'country': string | null;
|
|
379
379
|
/**
|
|
380
380
|
*
|
|
381
381
|
* @type {string}
|
|
382
382
|
* @memberof AddressesCreateResponse
|
|
383
383
|
*/
|
|
384
|
-
'locality': string;
|
|
384
|
+
'locality': string | null;
|
|
385
385
|
/**
|
|
386
386
|
*
|
|
387
387
|
* @type {string}
|
|
388
388
|
* @memberof AddressesCreateResponse
|
|
389
389
|
*/
|
|
390
|
-
'postalCode': string;
|
|
390
|
+
'postalCode': string | null;
|
|
391
391
|
/**
|
|
392
392
|
*
|
|
393
393
|
* @type {string}
|
|
394
394
|
* @memberof AddressesCreateResponse
|
|
395
395
|
*/
|
|
396
|
-
'region': string;
|
|
396
|
+
'region': string | null;
|
|
397
397
|
}
|
|
398
398
|
/**
|
|
399
399
|
*
|
|
@@ -406,38 +406,89 @@ interface AddressesUpdateResponse {
|
|
|
406
406
|
* @type {string}
|
|
407
407
|
* @memberof AddressesUpdateResponse
|
|
408
408
|
*/
|
|
409
|
-
'
|
|
409
|
+
'street1': string | null;
|
|
410
410
|
/**
|
|
411
411
|
*
|
|
412
412
|
* @type {string}
|
|
413
413
|
* @memberof AddressesUpdateResponse
|
|
414
414
|
*/
|
|
415
|
-
'
|
|
415
|
+
'street2'?: string | null;
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
418
418
|
* @type {string}
|
|
419
419
|
* @memberof AddressesUpdateResponse
|
|
420
420
|
*/
|
|
421
|
-
'country': string;
|
|
421
|
+
'country': string | null;
|
|
422
422
|
/**
|
|
423
423
|
*
|
|
424
424
|
* @type {string}
|
|
425
425
|
* @memberof AddressesUpdateResponse
|
|
426
426
|
*/
|
|
427
|
-
'locality': string;
|
|
427
|
+
'locality': string | null;
|
|
428
428
|
/**
|
|
429
429
|
*
|
|
430
430
|
* @type {string}
|
|
431
431
|
* @memberof AddressesUpdateResponse
|
|
432
432
|
*/
|
|
433
|
-
'postalCode': string;
|
|
433
|
+
'postalCode': string | null;
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
436
436
|
* @type {string}
|
|
437
437
|
* @memberof AddressesUpdateResponse
|
|
438
438
|
*/
|
|
439
|
-
'region': string;
|
|
439
|
+
'region': string | null;
|
|
440
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @export
|
|
444
|
+
* @interface BasicData
|
|
445
|
+
*/
|
|
446
|
+
interface BasicData {
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {string}
|
|
450
|
+
* @memberof BasicData
|
|
451
|
+
*/
|
|
452
|
+
'contactType': BasicDataContactTypeEnum;
|
|
453
|
+
}
|
|
454
|
+
declare const BasicDataContactTypeEnum: {
|
|
455
|
+
readonly Basic: "BASIC";
|
|
456
|
+
};
|
|
457
|
+
type BasicDataContactTypeEnum = typeof BasicDataContactTypeEnum[keyof typeof BasicDataContactTypeEnum];
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @export
|
|
461
|
+
* @interface BasicDataCreate
|
|
462
|
+
*/
|
|
463
|
+
interface BasicDataCreate {
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @memberof BasicDataCreate
|
|
468
|
+
*/
|
|
469
|
+
'contactType': BasicDataCreateContactTypeEnum;
|
|
470
|
+
}
|
|
471
|
+
declare const BasicDataCreateContactTypeEnum: {
|
|
472
|
+
readonly Basic: "BASIC";
|
|
473
|
+
};
|
|
474
|
+
type BasicDataCreateContactTypeEnum = typeof BasicDataCreateContactTypeEnum[keyof typeof BasicDataCreateContactTypeEnum];
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @export
|
|
478
|
+
* @interface BasicDataUpdate
|
|
479
|
+
*/
|
|
480
|
+
interface BasicDataUpdate {
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {string}
|
|
484
|
+
* @memberof BasicDataUpdate
|
|
485
|
+
*/
|
|
486
|
+
'contactType': BasicDataUpdateContactTypeEnum;
|
|
487
|
+
}
|
|
488
|
+
declare const BasicDataUpdateContactTypeEnum: {
|
|
489
|
+
readonly Basic: "BASIC";
|
|
490
|
+
};
|
|
491
|
+
type BasicDataUpdateContactTypeEnum = typeof BasicDataUpdateContactTypeEnum[keyof typeof BasicDataUpdateContactTypeEnum];
|
|
441
492
|
/**
|
|
442
493
|
*
|
|
443
494
|
* @export
|
|
@@ -607,7 +658,7 @@ interface ContactsCreateResponse {
|
|
|
607
658
|
* @type {Contacttypedata2}
|
|
608
659
|
* @memberof ContactsCreateResponse
|
|
609
660
|
*/
|
|
610
|
-
'contactTypeData': Contacttypedata2
|
|
661
|
+
'contactTypeData': Contacttypedata2;
|
|
611
662
|
/**
|
|
612
663
|
*
|
|
613
664
|
* @type {string}
|
|
@@ -728,7 +779,7 @@ interface ContactsGetResponse {
|
|
|
728
779
|
* @type {Contacttypedata2}
|
|
729
780
|
* @memberof ContactsGetResponse
|
|
730
781
|
*/
|
|
731
|
-
'contactTypeData': Contacttypedata2
|
|
782
|
+
'contactTypeData': Contacttypedata2;
|
|
732
783
|
/**
|
|
733
784
|
*
|
|
734
785
|
* @type {string}
|
|
@@ -849,7 +900,7 @@ interface ContactsListResponse {
|
|
|
849
900
|
* @type {Contacttypedata2}
|
|
850
901
|
* @memberof ContactsListResponse
|
|
851
902
|
*/
|
|
852
|
-
'contactTypeData': Contacttypedata2
|
|
903
|
+
'contactTypeData': Contacttypedata2;
|
|
853
904
|
/**
|
|
854
905
|
*
|
|
855
906
|
* @type {string}
|
|
@@ -970,7 +1021,7 @@ interface ContactsUpdateResponse {
|
|
|
970
1021
|
* @type {Contacttypedata2}
|
|
971
1022
|
* @memberof ContactsUpdateResponse
|
|
972
1023
|
*/
|
|
973
|
-
'contactTypeData': Contacttypedata2
|
|
1024
|
+
'contactTypeData': Contacttypedata2;
|
|
974
1025
|
/**
|
|
975
1026
|
*
|
|
976
1027
|
* @type {string}
|
|
@@ -1018,17 +1069,17 @@ interface ContactsUpdateResponse {
|
|
|
1018
1069
|
* @type Contacttypedata
|
|
1019
1070
|
* @export
|
|
1020
1071
|
*/
|
|
1021
|
-
type Contacttypedata = GuestDataCreate | LeadDataCreate | OwnerDataCreate;
|
|
1072
|
+
type Contacttypedata = BasicDataCreate | GuestDataCreate | LeadDataCreate | OwnerDataCreate;
|
|
1022
1073
|
/**
|
|
1023
1074
|
* @type Contacttypedata1
|
|
1024
1075
|
* @export
|
|
1025
1076
|
*/
|
|
1026
|
-
type Contacttypedata1 = GuestDataUpdate | LeadDataUpdate | OwnerDataUpdate;
|
|
1077
|
+
type Contacttypedata1 = BasicDataUpdate | GuestDataUpdate | LeadDataUpdate | OwnerDataUpdate;
|
|
1027
1078
|
/**
|
|
1028
1079
|
* @type Contacttypedata2
|
|
1029
1080
|
* @export
|
|
1030
1081
|
*/
|
|
1031
|
-
type Contacttypedata2 = GuestData | LeadData | OwnerData;
|
|
1082
|
+
type Contacttypedata2 = BasicData | GuestData | LeadData | OwnerData;
|
|
1032
1083
|
/**
|
|
1033
1084
|
*
|
|
1034
1085
|
* @export
|
|
@@ -1323,6 +1374,39 @@ interface HTTPValidationError {
|
|
|
1323
1374
|
*/
|
|
1324
1375
|
'detail'?: Array<APIValidationError>;
|
|
1325
1376
|
}
|
|
1377
|
+
/**
|
|
1378
|
+
*
|
|
1379
|
+
* @export
|
|
1380
|
+
* @interface HostawayWebhook
|
|
1381
|
+
*/
|
|
1382
|
+
interface HostawayWebhook {
|
|
1383
|
+
/**
|
|
1384
|
+
*
|
|
1385
|
+
* @type {string}
|
|
1386
|
+
* @memberof HostawayWebhook
|
|
1387
|
+
*/
|
|
1388
|
+
'object': string;
|
|
1389
|
+
/**
|
|
1390
|
+
*
|
|
1391
|
+
* @type {string}
|
|
1392
|
+
* @memberof HostawayWebhook
|
|
1393
|
+
*/
|
|
1394
|
+
'event': string;
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @type {number}
|
|
1398
|
+
* @memberof HostawayWebhook
|
|
1399
|
+
*/
|
|
1400
|
+
'accountId': number;
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @type {{ [key: string]: any; }}
|
|
1404
|
+
* @memberof HostawayWebhook
|
|
1405
|
+
*/
|
|
1406
|
+
'data': {
|
|
1407
|
+
[key: string]: any;
|
|
1408
|
+
};
|
|
1409
|
+
}
|
|
1326
1410
|
/**
|
|
1327
1411
|
*
|
|
1328
1412
|
* @export
|
|
@@ -1760,12 +1844,11 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1760
1844
|
/**
|
|
1761
1845
|
*
|
|
1762
1846
|
* @summary Contacts Create
|
|
1763
|
-
* @param {string} customerId
|
|
1764
1847
|
* @param {ContactCreate} contactCreate
|
|
1765
1848
|
* @param {*} [options] Override http request option.
|
|
1766
1849
|
* @throws {RequiredError}
|
|
1767
1850
|
*/
|
|
1768
|
-
contactsCreate: (
|
|
1851
|
+
contactsCreate: (contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1769
1852
|
/**
|
|
1770
1853
|
*
|
|
1771
1854
|
* @summary Contacts Delete
|
|
@@ -1869,12 +1952,11 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
1869
1952
|
/**
|
|
1870
1953
|
*
|
|
1871
1954
|
* @summary Contacts Create
|
|
1872
|
-
* @param {string} customerId
|
|
1873
1955
|
* @param {ContactCreate} contactCreate
|
|
1874
1956
|
* @param {*} [options] Override http request option.
|
|
1875
1957
|
* @throws {RequiredError}
|
|
1876
1958
|
*/
|
|
1877
|
-
contactsCreate(
|
|
1959
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
|
|
1878
1960
|
/**
|
|
1879
1961
|
*
|
|
1880
1962
|
* @summary Contacts Delete
|
|
@@ -1978,12 +2060,11 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
1978
2060
|
/**
|
|
1979
2061
|
*
|
|
1980
2062
|
* @summary Contacts Create
|
|
1981
|
-
* @param {string} customerId
|
|
1982
2063
|
* @param {ContactCreate} contactCreate
|
|
1983
2064
|
* @param {*} [options] Override http request option.
|
|
1984
2065
|
* @throws {RequiredError}
|
|
1985
2066
|
*/
|
|
1986
|
-
contactsCreate(
|
|
2067
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
|
|
1987
2068
|
/**
|
|
1988
2069
|
*
|
|
1989
2070
|
* @summary Contacts Delete
|
|
@@ -2092,13 +2173,12 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2092
2173
|
/**
|
|
2093
2174
|
*
|
|
2094
2175
|
* @summary Contacts Create
|
|
2095
|
-
* @param {string} customerId
|
|
2096
2176
|
* @param {ContactCreate} contactCreate
|
|
2097
2177
|
* @param {*} [options] Override http request option.
|
|
2098
2178
|
* @throws {RequiredError}
|
|
2099
2179
|
* @memberof ContactsApi
|
|
2100
2180
|
*/
|
|
2101
|
-
contactsCreate(
|
|
2181
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
|
|
2102
2182
|
/**
|
|
2103
2183
|
*
|
|
2104
2184
|
* @summary Contacts Delete
|
|
@@ -2280,11 +2360,11 @@ declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2280
2360
|
/**
|
|
2281
2361
|
*
|
|
2282
2362
|
* @summary Unifiedwebhook
|
|
2283
|
-
* @param {
|
|
2363
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2284
2364
|
* @param {*} [options] Override http request option.
|
|
2285
2365
|
* @throws {RequiredError}
|
|
2286
2366
|
*/
|
|
2287
|
-
webhook: (
|
|
2367
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2288
2368
|
};
|
|
2289
2369
|
/**
|
|
2290
2370
|
* HostawayApi - functional programming interface
|
|
@@ -2294,11 +2374,11 @@ declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
|
2294
2374
|
/**
|
|
2295
2375
|
*
|
|
2296
2376
|
* @summary Unifiedwebhook
|
|
2297
|
-
* @param {
|
|
2377
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2298
2378
|
* @param {*} [options] Override http request option.
|
|
2299
2379
|
* @throws {RequiredError}
|
|
2300
2380
|
*/
|
|
2301
|
-
webhook(
|
|
2381
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2302
2382
|
};
|
|
2303
2383
|
/**
|
|
2304
2384
|
* HostawayApi - factory interface
|
|
@@ -2308,11 +2388,11 @@ declare const HostawayApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2308
2388
|
/**
|
|
2309
2389
|
*
|
|
2310
2390
|
* @summary Unifiedwebhook
|
|
2311
|
-
* @param {
|
|
2391
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2312
2392
|
* @param {*} [options] Override http request option.
|
|
2313
2393
|
* @throws {RequiredError}
|
|
2314
2394
|
*/
|
|
2315
|
-
webhook(
|
|
2395
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2316
2396
|
};
|
|
2317
2397
|
/**
|
|
2318
2398
|
* HostawayApi - object-oriented interface
|
|
@@ -2324,12 +2404,12 @@ declare class HostawayApi extends BaseAPI {
|
|
|
2324
2404
|
/**
|
|
2325
2405
|
*
|
|
2326
2406
|
* @summary Unifiedwebhook
|
|
2327
|
-
* @param {
|
|
2407
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2328
2408
|
* @param {*} [options] Override http request option.
|
|
2329
2409
|
* @throws {RequiredError}
|
|
2330
2410
|
* @memberof HostawayApi
|
|
2331
2411
|
*/
|
|
2332
|
-
webhook(
|
|
2412
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
2333
2413
|
}
|
|
2334
2414
|
/**
|
|
2335
2415
|
* PhonesApi - axios parameter creator
|
|
@@ -2520,12 +2600,11 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2520
2600
|
/**
|
|
2521
2601
|
*
|
|
2522
2602
|
* @summary Contacts Create
|
|
2523
|
-
* @param {string} customerId
|
|
2524
2603
|
* @param {ContactCreate} contactCreate
|
|
2525
2604
|
* @param {*} [options] Override http request option.
|
|
2526
2605
|
* @throws {RequiredError}
|
|
2527
2606
|
*/
|
|
2528
|
-
contactsCreate: (
|
|
2607
|
+
contactsCreate: (contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2529
2608
|
/**
|
|
2530
2609
|
*
|
|
2531
2610
|
* @summary Contacts Delete
|
|
@@ -2605,11 +2684,11 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2605
2684
|
/**
|
|
2606
2685
|
*
|
|
2607
2686
|
* @summary Unifiedwebhook
|
|
2608
|
-
* @param {
|
|
2687
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2609
2688
|
* @param {*} [options] Override http request option.
|
|
2610
2689
|
* @throws {RequiredError}
|
|
2611
2690
|
*/
|
|
2612
|
-
webhook: (
|
|
2691
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2613
2692
|
};
|
|
2614
2693
|
/**
|
|
2615
2694
|
* UnboundApi - functional programming interface
|
|
@@ -2645,12 +2724,11 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2645
2724
|
/**
|
|
2646
2725
|
*
|
|
2647
2726
|
* @summary Contacts Create
|
|
2648
|
-
* @param {string} customerId
|
|
2649
2727
|
* @param {ContactCreate} contactCreate
|
|
2650
2728
|
* @param {*} [options] Override http request option.
|
|
2651
2729
|
* @throws {RequiredError}
|
|
2652
2730
|
*/
|
|
2653
|
-
contactsCreate(
|
|
2731
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
|
|
2654
2732
|
/**
|
|
2655
2733
|
*
|
|
2656
2734
|
* @summary Contacts Delete
|
|
@@ -2730,11 +2808,11 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2730
2808
|
/**
|
|
2731
2809
|
*
|
|
2732
2810
|
* @summary Unifiedwebhook
|
|
2733
|
-
* @param {
|
|
2811
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2734
2812
|
* @param {*} [options] Override http request option.
|
|
2735
2813
|
* @throws {RequiredError}
|
|
2736
2814
|
*/
|
|
2737
|
-
webhook(
|
|
2815
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2738
2816
|
};
|
|
2739
2817
|
/**
|
|
2740
2818
|
* UnboundApi - factory interface
|
|
@@ -2770,12 +2848,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
2770
2848
|
/**
|
|
2771
2849
|
*
|
|
2772
2850
|
* @summary Contacts Create
|
|
2773
|
-
* @param {string} customerId
|
|
2774
2851
|
* @param {ContactCreate} contactCreate
|
|
2775
2852
|
* @param {*} [options] Override http request option.
|
|
2776
2853
|
* @throws {RequiredError}
|
|
2777
2854
|
*/
|
|
2778
|
-
contactsCreate(
|
|
2855
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
|
|
2779
2856
|
/**
|
|
2780
2857
|
*
|
|
2781
2858
|
* @summary Contacts Delete
|
|
@@ -2855,11 +2932,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
2855
2932
|
/**
|
|
2856
2933
|
*
|
|
2857
2934
|
* @summary Unifiedwebhook
|
|
2858
|
-
* @param {
|
|
2935
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2859
2936
|
* @param {*} [options] Override http request option.
|
|
2860
2937
|
* @throws {RequiredError}
|
|
2861
2938
|
*/
|
|
2862
|
-
webhook(
|
|
2939
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2863
2940
|
};
|
|
2864
2941
|
/**
|
|
2865
2942
|
* UnboundApi - object-oriented interface
|
|
@@ -2900,13 +2977,12 @@ declare class UnboundApi extends BaseAPI {
|
|
|
2900
2977
|
/**
|
|
2901
2978
|
*
|
|
2902
2979
|
* @summary Contacts Create
|
|
2903
|
-
* @param {string} customerId
|
|
2904
2980
|
* @param {ContactCreate} contactCreate
|
|
2905
2981
|
* @param {*} [options] Override http request option.
|
|
2906
2982
|
* @throws {RequiredError}
|
|
2907
2983
|
* @memberof UnboundApi
|
|
2908
2984
|
*/
|
|
2909
|
-
contactsCreate(
|
|
2985
|
+
contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
|
|
2910
2986
|
/**
|
|
2911
2987
|
*
|
|
2912
2988
|
* @summary Contacts Delete
|
|
@@ -2995,12 +3071,12 @@ declare class UnboundApi extends BaseAPI {
|
|
|
2995
3071
|
/**
|
|
2996
3072
|
*
|
|
2997
3073
|
* @summary Unifiedwebhook
|
|
2998
|
-
* @param {
|
|
3074
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2999
3075
|
* @param {*} [options] Override http request option.
|
|
3000
3076
|
* @throws {RequiredError}
|
|
3001
3077
|
* @memberof UnboundApi
|
|
3002
3078
|
*/
|
|
3003
|
-
webhook(
|
|
3079
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3004
3080
|
}
|
|
3005
3081
|
|
|
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 };
|
|
3082
|
+
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, type BasicData, BasicDataContactTypeEnum, type BasicDataCreate, BasicDataCreateContactTypeEnum, type BasicDataUpdate, BasicDataUpdateContactTypeEnum, 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 };
|