@ember-home/unbound-ts-client 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +74 -41
- package/dist/index.d.ts +74 -41
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -28
- 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,37 +406,37 @@ 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
441
|
/**
|
|
442
442
|
*
|
|
@@ -1323,6 +1323,39 @@ interface HTTPValidationError {
|
|
|
1323
1323
|
*/
|
|
1324
1324
|
'detail'?: Array<APIValidationError>;
|
|
1325
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface HostawayWebhook
|
|
1330
|
+
*/
|
|
1331
|
+
interface HostawayWebhook {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof HostawayWebhook
|
|
1336
|
+
*/
|
|
1337
|
+
'object': string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof HostawayWebhook
|
|
1342
|
+
*/
|
|
1343
|
+
'event': string;
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @type {number}
|
|
1347
|
+
* @memberof HostawayWebhook
|
|
1348
|
+
*/
|
|
1349
|
+
'accountId': number;
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @type {{ [key: string]: any; }}
|
|
1353
|
+
* @memberof HostawayWebhook
|
|
1354
|
+
*/
|
|
1355
|
+
'data': {
|
|
1356
|
+
[key: string]: any;
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1326
1359
|
/**
|
|
1327
1360
|
*
|
|
1328
1361
|
* @export
|
|
@@ -2280,11 +2313,11 @@ declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2280
2313
|
/**
|
|
2281
2314
|
*
|
|
2282
2315
|
* @summary Unifiedwebhook
|
|
2283
|
-
* @param {
|
|
2316
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2284
2317
|
* @param {*} [options] Override http request option.
|
|
2285
2318
|
* @throws {RequiredError}
|
|
2286
2319
|
*/
|
|
2287
|
-
webhook: (
|
|
2320
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2288
2321
|
};
|
|
2289
2322
|
/**
|
|
2290
2323
|
* HostawayApi - functional programming interface
|
|
@@ -2294,11 +2327,11 @@ declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
|
2294
2327
|
/**
|
|
2295
2328
|
*
|
|
2296
2329
|
* @summary Unifiedwebhook
|
|
2297
|
-
* @param {
|
|
2330
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2298
2331
|
* @param {*} [options] Override http request option.
|
|
2299
2332
|
* @throws {RequiredError}
|
|
2300
2333
|
*/
|
|
2301
|
-
webhook(
|
|
2334
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2302
2335
|
};
|
|
2303
2336
|
/**
|
|
2304
2337
|
* HostawayApi - factory interface
|
|
@@ -2308,11 +2341,11 @@ declare const HostawayApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2308
2341
|
/**
|
|
2309
2342
|
*
|
|
2310
2343
|
* @summary Unifiedwebhook
|
|
2311
|
-
* @param {
|
|
2344
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2312
2345
|
* @param {*} [options] Override http request option.
|
|
2313
2346
|
* @throws {RequiredError}
|
|
2314
2347
|
*/
|
|
2315
|
-
webhook(
|
|
2348
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2316
2349
|
};
|
|
2317
2350
|
/**
|
|
2318
2351
|
* HostawayApi - object-oriented interface
|
|
@@ -2324,12 +2357,12 @@ declare class HostawayApi extends BaseAPI {
|
|
|
2324
2357
|
/**
|
|
2325
2358
|
*
|
|
2326
2359
|
* @summary Unifiedwebhook
|
|
2327
|
-
* @param {
|
|
2360
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2328
2361
|
* @param {*} [options] Override http request option.
|
|
2329
2362
|
* @throws {RequiredError}
|
|
2330
2363
|
* @memberof HostawayApi
|
|
2331
2364
|
*/
|
|
2332
|
-
webhook(
|
|
2365
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
2333
2366
|
}
|
|
2334
2367
|
/**
|
|
2335
2368
|
* PhonesApi - axios parameter creator
|
|
@@ -2605,11 +2638,11 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2605
2638
|
/**
|
|
2606
2639
|
*
|
|
2607
2640
|
* @summary Unifiedwebhook
|
|
2608
|
-
* @param {
|
|
2641
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2609
2642
|
* @param {*} [options] Override http request option.
|
|
2610
2643
|
* @throws {RequiredError}
|
|
2611
2644
|
*/
|
|
2612
|
-
webhook: (
|
|
2645
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2613
2646
|
};
|
|
2614
2647
|
/**
|
|
2615
2648
|
* UnboundApi - functional programming interface
|
|
@@ -2730,11 +2763,11 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2730
2763
|
/**
|
|
2731
2764
|
*
|
|
2732
2765
|
* @summary Unifiedwebhook
|
|
2733
|
-
* @param {
|
|
2766
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2734
2767
|
* @param {*} [options] Override http request option.
|
|
2735
2768
|
* @throws {RequiredError}
|
|
2736
2769
|
*/
|
|
2737
|
-
webhook(
|
|
2770
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2738
2771
|
};
|
|
2739
2772
|
/**
|
|
2740
2773
|
* UnboundApi - factory interface
|
|
@@ -2855,11 +2888,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
2855
2888
|
/**
|
|
2856
2889
|
*
|
|
2857
2890
|
* @summary Unifiedwebhook
|
|
2858
|
-
* @param {
|
|
2891
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2859
2892
|
* @param {*} [options] Override http request option.
|
|
2860
2893
|
* @throws {RequiredError}
|
|
2861
2894
|
*/
|
|
2862
|
-
webhook(
|
|
2895
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2863
2896
|
};
|
|
2864
2897
|
/**
|
|
2865
2898
|
* UnboundApi - object-oriented interface
|
|
@@ -2995,12 +3028,12 @@ declare class UnboundApi extends BaseAPI {
|
|
|
2995
3028
|
/**
|
|
2996
3029
|
*
|
|
2997
3030
|
* @summary Unifiedwebhook
|
|
2998
|
-
* @param {
|
|
3031
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2999
3032
|
* @param {*} [options] Override http request option.
|
|
3000
3033
|
* @throws {RequiredError}
|
|
3001
3034
|
* @memberof UnboundApi
|
|
3002
3035
|
*/
|
|
3003
|
-
webhook(
|
|
3036
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3004
3037
|
}
|
|
3005
3038
|
|
|
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 };
|
|
3039
|
+
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, Configuration, type ConfigurationParameters, type ContactCreate, ContactType, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type Contacttypedata, type Contacttypedata1, type Contacttypedata2, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, GuestDataContactTypeEnum, type GuestDataCreate, GuestDataCreateContactTypeEnum, type GuestDataUpdate, GuestDataUpdateContactTypeEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, LeadDataContactTypeEnum, type LeadDataCreate, LeadDataCreateContactTypeEnum, type LeadDataUpdate, LeadDataUpdateContactTypeEnum, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, OwnerDataContactTypeEnum, type OwnerDataCreate, OwnerDataCreateContactTypeEnum, type OwnerDataUpdate, OwnerDataUpdateContactTypeEnum, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
|
package/dist/index.d.ts
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,37 +406,37 @@ 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
441
|
/**
|
|
442
442
|
*
|
|
@@ -1323,6 +1323,39 @@ interface HTTPValidationError {
|
|
|
1323
1323
|
*/
|
|
1324
1324
|
'detail'?: Array<APIValidationError>;
|
|
1325
1325
|
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface HostawayWebhook
|
|
1330
|
+
*/
|
|
1331
|
+
interface HostawayWebhook {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof HostawayWebhook
|
|
1336
|
+
*/
|
|
1337
|
+
'object': string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof HostawayWebhook
|
|
1342
|
+
*/
|
|
1343
|
+
'event': string;
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @type {number}
|
|
1347
|
+
* @memberof HostawayWebhook
|
|
1348
|
+
*/
|
|
1349
|
+
'accountId': number;
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @type {{ [key: string]: any; }}
|
|
1353
|
+
* @memberof HostawayWebhook
|
|
1354
|
+
*/
|
|
1355
|
+
'data': {
|
|
1356
|
+
[key: string]: any;
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1326
1359
|
/**
|
|
1327
1360
|
*
|
|
1328
1361
|
* @export
|
|
@@ -2280,11 +2313,11 @@ declare const HostawayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2280
2313
|
/**
|
|
2281
2314
|
*
|
|
2282
2315
|
* @summary Unifiedwebhook
|
|
2283
|
-
* @param {
|
|
2316
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2284
2317
|
* @param {*} [options] Override http request option.
|
|
2285
2318
|
* @throws {RequiredError}
|
|
2286
2319
|
*/
|
|
2287
|
-
webhook: (
|
|
2320
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2288
2321
|
};
|
|
2289
2322
|
/**
|
|
2290
2323
|
* HostawayApi - functional programming interface
|
|
@@ -2294,11 +2327,11 @@ declare const HostawayApiFp: (configuration?: Configuration) => {
|
|
|
2294
2327
|
/**
|
|
2295
2328
|
*
|
|
2296
2329
|
* @summary Unifiedwebhook
|
|
2297
|
-
* @param {
|
|
2330
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2298
2331
|
* @param {*} [options] Override http request option.
|
|
2299
2332
|
* @throws {RequiredError}
|
|
2300
2333
|
*/
|
|
2301
|
-
webhook(
|
|
2334
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2302
2335
|
};
|
|
2303
2336
|
/**
|
|
2304
2337
|
* HostawayApi - factory interface
|
|
@@ -2308,11 +2341,11 @@ declare const HostawayApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2308
2341
|
/**
|
|
2309
2342
|
*
|
|
2310
2343
|
* @summary Unifiedwebhook
|
|
2311
|
-
* @param {
|
|
2344
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2312
2345
|
* @param {*} [options] Override http request option.
|
|
2313
2346
|
* @throws {RequiredError}
|
|
2314
2347
|
*/
|
|
2315
|
-
webhook(
|
|
2348
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2316
2349
|
};
|
|
2317
2350
|
/**
|
|
2318
2351
|
* HostawayApi - object-oriented interface
|
|
@@ -2324,12 +2357,12 @@ declare class HostawayApi extends BaseAPI {
|
|
|
2324
2357
|
/**
|
|
2325
2358
|
*
|
|
2326
2359
|
* @summary Unifiedwebhook
|
|
2327
|
-
* @param {
|
|
2360
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2328
2361
|
* @param {*} [options] Override http request option.
|
|
2329
2362
|
* @throws {RequiredError}
|
|
2330
2363
|
* @memberof HostawayApi
|
|
2331
2364
|
*/
|
|
2332
|
-
webhook(
|
|
2365
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
2333
2366
|
}
|
|
2334
2367
|
/**
|
|
2335
2368
|
* PhonesApi - axios parameter creator
|
|
@@ -2605,11 +2638,11 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2605
2638
|
/**
|
|
2606
2639
|
*
|
|
2607
2640
|
* @summary Unifiedwebhook
|
|
2608
|
-
* @param {
|
|
2641
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2609
2642
|
* @param {*} [options] Override http request option.
|
|
2610
2643
|
* @throws {RequiredError}
|
|
2611
2644
|
*/
|
|
2612
|
-
webhook: (
|
|
2645
|
+
webhook: (hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2613
2646
|
};
|
|
2614
2647
|
/**
|
|
2615
2648
|
* UnboundApi - functional programming interface
|
|
@@ -2730,11 +2763,11 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2730
2763
|
/**
|
|
2731
2764
|
*
|
|
2732
2765
|
* @summary Unifiedwebhook
|
|
2733
|
-
* @param {
|
|
2766
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2734
2767
|
* @param {*} [options] Override http request option.
|
|
2735
2768
|
* @throws {RequiredError}
|
|
2736
2769
|
*/
|
|
2737
|
-
webhook(
|
|
2770
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2738
2771
|
};
|
|
2739
2772
|
/**
|
|
2740
2773
|
* UnboundApi - factory interface
|
|
@@ -2855,11 +2888,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
2855
2888
|
/**
|
|
2856
2889
|
*
|
|
2857
2890
|
* @summary Unifiedwebhook
|
|
2858
|
-
* @param {
|
|
2891
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2859
2892
|
* @param {*} [options] Override http request option.
|
|
2860
2893
|
* @throws {RequiredError}
|
|
2861
2894
|
*/
|
|
2862
|
-
webhook(
|
|
2895
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2863
2896
|
};
|
|
2864
2897
|
/**
|
|
2865
2898
|
* UnboundApi - object-oriented interface
|
|
@@ -2995,12 +3028,12 @@ declare class UnboundApi extends BaseAPI {
|
|
|
2995
3028
|
/**
|
|
2996
3029
|
*
|
|
2997
3030
|
* @summary Unifiedwebhook
|
|
2998
|
-
* @param {
|
|
3031
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2999
3032
|
* @param {*} [options] Override http request option.
|
|
3000
3033
|
* @throws {RequiredError}
|
|
3001
3034
|
* @memberof UnboundApi
|
|
3002
3035
|
*/
|
|
3003
|
-
webhook(
|
|
3036
|
+
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3004
3037
|
}
|
|
3005
3038
|
|
|
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 };
|
|
3039
|
+
export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, Configuration, type ConfigurationParameters, type ContactCreate, ContactType, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type Contacttypedata, type Contacttypedata1, type Contacttypedata2, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, GuestDataContactTypeEnum, type GuestDataCreate, GuestDataCreateContactTypeEnum, type GuestDataUpdate, GuestDataUpdateContactTypeEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, LeadDataContactTypeEnum, type LeadDataCreate, LeadDataCreateContactTypeEnum, type LeadDataUpdate, LeadDataUpdateContactTypeEnum, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, OwnerDataContactTypeEnum, type OwnerDataCreate, OwnerDataCreateContactTypeEnum, type OwnerDataUpdate, OwnerDataUpdateContactTypeEnum, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
|