@ember-home/unbound-ts-client 0.0.12 → 0.0.13
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 +38 -37
- package/dist/index.d.ts +38 -37
- package/dist/index.js +22 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -479,19 +479,8 @@ interface ContactCreate {
|
|
|
479
479
|
* @type {ContactTypeDataCreate}
|
|
480
480
|
* @memberof ContactCreate
|
|
481
481
|
*/
|
|
482
|
-
'contactTypeData'?: ContactTypeDataCreate;
|
|
482
|
+
'contactTypeData'?: ContactTypeDataCreate | null;
|
|
483
483
|
}
|
|
484
|
-
/**
|
|
485
|
-
*
|
|
486
|
-
* @export
|
|
487
|
-
* @enum {string}
|
|
488
|
-
*/
|
|
489
|
-
declare const ContactType: {
|
|
490
|
-
readonly Guest: "GUEST";
|
|
491
|
-
readonly Owner: "OWNER";
|
|
492
|
-
readonly Lead: "LEAD";
|
|
493
|
-
};
|
|
494
|
-
type ContactType = typeof ContactType[keyof typeof ContactType];
|
|
495
484
|
/**
|
|
496
485
|
*
|
|
497
486
|
* @export
|
|
@@ -567,6 +556,18 @@ interface ContactTypeDataUpdate {
|
|
|
567
556
|
*/
|
|
568
557
|
'lead'?: object;
|
|
569
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @export
|
|
562
|
+
* @enum {string}
|
|
563
|
+
*/
|
|
564
|
+
declare const ContactTypeFilter: {
|
|
565
|
+
readonly Guest: "guest";
|
|
566
|
+
readonly Owner: "owner";
|
|
567
|
+
readonly Lead: "lead";
|
|
568
|
+
readonly Basic: "basic";
|
|
569
|
+
};
|
|
570
|
+
type ContactTypeFilter = typeof ContactTypeFilter[keyof typeof ContactTypeFilter];
|
|
570
571
|
/**
|
|
571
572
|
*
|
|
572
573
|
* @export
|
|
@@ -2004,12 +2005,12 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2004
2005
|
/**
|
|
2005
2006
|
*
|
|
2006
2007
|
* @summary Contacts List
|
|
2007
|
-
* @param {Array<
|
|
2008
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2008
2009
|
* @param {string} [searchString]
|
|
2009
2010
|
* @param {*} [options] Override http request option.
|
|
2010
2011
|
* @throws {RequiredError}
|
|
2011
2012
|
*/
|
|
2012
|
-
contactsList: (contactTypes?: Array<
|
|
2013
|
+
contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2013
2014
|
/**
|
|
2014
2015
|
*
|
|
2015
2016
|
* @summary Contacts Update
|
|
@@ -2112,12 +2113,12 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
2112
2113
|
/**
|
|
2113
2114
|
*
|
|
2114
2115
|
* @summary Contacts List
|
|
2115
|
-
* @param {Array<
|
|
2116
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2116
2117
|
* @param {string} [searchString]
|
|
2117
2118
|
* @param {*} [options] Override http request option.
|
|
2118
2119
|
* @throws {RequiredError}
|
|
2119
2120
|
*/
|
|
2120
|
-
contactsList(contactTypes?: Array<
|
|
2121
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
2121
2122
|
/**
|
|
2122
2123
|
*
|
|
2123
2124
|
* @summary Contacts Update
|
|
@@ -2220,12 +2221,12 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2220
2221
|
/**
|
|
2221
2222
|
*
|
|
2222
2223
|
* @summary Contacts List
|
|
2223
|
-
* @param {Array<
|
|
2224
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2224
2225
|
* @param {string} [searchString]
|
|
2225
2226
|
* @param {*} [options] Override http request option.
|
|
2226
2227
|
* @throws {RequiredError}
|
|
2227
2228
|
*/
|
|
2228
|
-
contactsList(contactTypes?: Array<
|
|
2229
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
2229
2230
|
/**
|
|
2230
2231
|
*
|
|
2231
2232
|
* @summary Contacts Update
|
|
@@ -2336,13 +2337,13 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2336
2337
|
/**
|
|
2337
2338
|
*
|
|
2338
2339
|
* @summary Contacts List
|
|
2339
|
-
* @param {Array<
|
|
2340
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2340
2341
|
* @param {string} [searchString]
|
|
2341
2342
|
* @param {*} [options] Override http request option.
|
|
2342
2343
|
* @throws {RequiredError}
|
|
2343
2344
|
* @memberof ContactsApi
|
|
2344
2345
|
*/
|
|
2345
|
-
contactsList(contactTypes?: Array<
|
|
2346
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
2346
2347
|
/**
|
|
2347
2348
|
*
|
|
2348
2349
|
* @summary Contacts Update
|
|
@@ -2649,7 +2650,7 @@ declare class PhonesApi extends BaseAPI {
|
|
|
2649
2650
|
*/
|
|
2650
2651
|
declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2651
2652
|
/**
|
|
2652
|
-
*
|
|
2653
|
+
*
|
|
2653
2654
|
* @summary Reservations List
|
|
2654
2655
|
* @param {string} [contactId]
|
|
2655
2656
|
* @param {*} [options] Override http request option.
|
|
@@ -2663,7 +2664,7 @@ declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2663
2664
|
*/
|
|
2664
2665
|
declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
2665
2666
|
/**
|
|
2666
|
-
*
|
|
2667
|
+
*
|
|
2667
2668
|
* @summary Reservations List
|
|
2668
2669
|
* @param {string} [contactId]
|
|
2669
2670
|
* @param {*} [options] Override http request option.
|
|
@@ -2677,7 +2678,7 @@ declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
2677
2678
|
*/
|
|
2678
2679
|
declare const ReservationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2679
2680
|
/**
|
|
2680
|
-
*
|
|
2681
|
+
*
|
|
2681
2682
|
* @summary Reservations List
|
|
2682
2683
|
* @param {string} [contactId]
|
|
2683
2684
|
* @param {*} [options] Override http request option.
|
|
@@ -2693,7 +2694,7 @@ declare const ReservationsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2693
2694
|
*/
|
|
2694
2695
|
declare class ReservationsApi extends BaseAPI {
|
|
2695
2696
|
/**
|
|
2696
|
-
*
|
|
2697
|
+
*
|
|
2697
2698
|
* @summary Reservations List
|
|
2698
2699
|
* @param {string} [contactId]
|
|
2699
2700
|
* @param {*} [options] Override http request option.
|
|
@@ -2760,12 +2761,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2760
2761
|
/**
|
|
2761
2762
|
*
|
|
2762
2763
|
* @summary Contacts List
|
|
2763
|
-
* @param {Array<
|
|
2764
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2764
2765
|
* @param {string} [searchString]
|
|
2765
2766
|
* @param {*} [options] Override http request option.
|
|
2766
2767
|
* @throws {RequiredError}
|
|
2767
2768
|
*/
|
|
2768
|
-
contactsList: (contactTypes?: Array<
|
|
2769
|
+
contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2769
2770
|
/**
|
|
2770
2771
|
*
|
|
2771
2772
|
* @summary Contacts Update
|
|
@@ -2810,7 +2811,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2810
2811
|
*/
|
|
2811
2812
|
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2812
2813
|
/**
|
|
2813
|
-
*
|
|
2814
|
+
*
|
|
2814
2815
|
* @summary Reservations List
|
|
2815
2816
|
* @param {string} [contactId]
|
|
2816
2817
|
* @param {*} [options] Override http request option.
|
|
@@ -2884,12 +2885,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2884
2885
|
/**
|
|
2885
2886
|
*
|
|
2886
2887
|
* @summary Contacts List
|
|
2887
|
-
* @param {Array<
|
|
2888
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2888
2889
|
* @param {string} [searchString]
|
|
2889
2890
|
* @param {*} [options] Override http request option.
|
|
2890
2891
|
* @throws {RequiredError}
|
|
2891
2892
|
*/
|
|
2892
|
-
contactsList(contactTypes?: Array<
|
|
2893
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
2893
2894
|
/**
|
|
2894
2895
|
*
|
|
2895
2896
|
* @summary Contacts Update
|
|
@@ -2934,7 +2935,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2934
2935
|
*/
|
|
2935
2936
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2936
2937
|
/**
|
|
2937
|
-
*
|
|
2938
|
+
*
|
|
2938
2939
|
* @summary Reservations List
|
|
2939
2940
|
* @param {string} [contactId]
|
|
2940
2941
|
* @param {*} [options] Override http request option.
|
|
@@ -3008,12 +3009,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3008
3009
|
/**
|
|
3009
3010
|
*
|
|
3010
3011
|
* @summary Contacts List
|
|
3011
|
-
* @param {Array<
|
|
3012
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3012
3013
|
* @param {string} [searchString]
|
|
3013
3014
|
* @param {*} [options] Override http request option.
|
|
3014
3015
|
* @throws {RequiredError}
|
|
3015
3016
|
*/
|
|
3016
|
-
contactsList(contactTypes?: Array<
|
|
3017
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
3017
3018
|
/**
|
|
3018
3019
|
*
|
|
3019
3020
|
* @summary Contacts Update
|
|
@@ -3058,7 +3059,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3058
3059
|
*/
|
|
3059
3060
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3060
3061
|
/**
|
|
3061
|
-
*
|
|
3062
|
+
*
|
|
3062
3063
|
* @summary Reservations List
|
|
3063
3064
|
* @param {string} [contactId]
|
|
3064
3065
|
* @param {*} [options] Override http request option.
|
|
@@ -3140,13 +3141,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3140
3141
|
/**
|
|
3141
3142
|
*
|
|
3142
3143
|
* @summary Contacts List
|
|
3143
|
-
* @param {Array<
|
|
3144
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3144
3145
|
* @param {string} [searchString]
|
|
3145
3146
|
* @param {*} [options] Override http request option.
|
|
3146
3147
|
* @throws {RequiredError}
|
|
3147
3148
|
* @memberof UnboundApi
|
|
3148
3149
|
*/
|
|
3149
|
-
contactsList(contactTypes?: Array<
|
|
3150
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
3150
3151
|
/**
|
|
3151
3152
|
*
|
|
3152
3153
|
* @summary Contacts Update
|
|
@@ -3196,7 +3197,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3196
3197
|
*/
|
|
3197
3198
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3198
3199
|
/**
|
|
3199
|
-
*
|
|
3200
|
+
*
|
|
3200
3201
|
* @summary Reservations List
|
|
3201
3202
|
* @param {string} [contactId]
|
|
3202
3203
|
* @param {*} [options] Override http request option.
|
|
@@ -3215,4 +3216,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3215
3216
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3216
3217
|
}
|
|
3217
3218
|
|
|
3218
|
-
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,
|
|
3219
|
+
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, type ContactTypeData, type ContactTypeDataCreate, type ContactTypeDataUpdate, ContactTypeFilter, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, type GuestDataCreate, type GuestDataUpdate, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, 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
|
@@ -479,19 +479,8 @@ interface ContactCreate {
|
|
|
479
479
|
* @type {ContactTypeDataCreate}
|
|
480
480
|
* @memberof ContactCreate
|
|
481
481
|
*/
|
|
482
|
-
'contactTypeData'?: ContactTypeDataCreate;
|
|
482
|
+
'contactTypeData'?: ContactTypeDataCreate | null;
|
|
483
483
|
}
|
|
484
|
-
/**
|
|
485
|
-
*
|
|
486
|
-
* @export
|
|
487
|
-
* @enum {string}
|
|
488
|
-
*/
|
|
489
|
-
declare const ContactType: {
|
|
490
|
-
readonly Guest: "GUEST";
|
|
491
|
-
readonly Owner: "OWNER";
|
|
492
|
-
readonly Lead: "LEAD";
|
|
493
|
-
};
|
|
494
|
-
type ContactType = typeof ContactType[keyof typeof ContactType];
|
|
495
484
|
/**
|
|
496
485
|
*
|
|
497
486
|
* @export
|
|
@@ -567,6 +556,18 @@ interface ContactTypeDataUpdate {
|
|
|
567
556
|
*/
|
|
568
557
|
'lead'?: object;
|
|
569
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @export
|
|
562
|
+
* @enum {string}
|
|
563
|
+
*/
|
|
564
|
+
declare const ContactTypeFilter: {
|
|
565
|
+
readonly Guest: "guest";
|
|
566
|
+
readonly Owner: "owner";
|
|
567
|
+
readonly Lead: "lead";
|
|
568
|
+
readonly Basic: "basic";
|
|
569
|
+
};
|
|
570
|
+
type ContactTypeFilter = typeof ContactTypeFilter[keyof typeof ContactTypeFilter];
|
|
570
571
|
/**
|
|
571
572
|
*
|
|
572
573
|
* @export
|
|
@@ -2004,12 +2005,12 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2004
2005
|
/**
|
|
2005
2006
|
*
|
|
2006
2007
|
* @summary Contacts List
|
|
2007
|
-
* @param {Array<
|
|
2008
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2008
2009
|
* @param {string} [searchString]
|
|
2009
2010
|
* @param {*} [options] Override http request option.
|
|
2010
2011
|
* @throws {RequiredError}
|
|
2011
2012
|
*/
|
|
2012
|
-
contactsList: (contactTypes?: Array<
|
|
2013
|
+
contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2013
2014
|
/**
|
|
2014
2015
|
*
|
|
2015
2016
|
* @summary Contacts Update
|
|
@@ -2112,12 +2113,12 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
2112
2113
|
/**
|
|
2113
2114
|
*
|
|
2114
2115
|
* @summary Contacts List
|
|
2115
|
-
* @param {Array<
|
|
2116
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2116
2117
|
* @param {string} [searchString]
|
|
2117
2118
|
* @param {*} [options] Override http request option.
|
|
2118
2119
|
* @throws {RequiredError}
|
|
2119
2120
|
*/
|
|
2120
|
-
contactsList(contactTypes?: Array<
|
|
2121
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
2121
2122
|
/**
|
|
2122
2123
|
*
|
|
2123
2124
|
* @summary Contacts Update
|
|
@@ -2220,12 +2221,12 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2220
2221
|
/**
|
|
2221
2222
|
*
|
|
2222
2223
|
* @summary Contacts List
|
|
2223
|
-
* @param {Array<
|
|
2224
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2224
2225
|
* @param {string} [searchString]
|
|
2225
2226
|
* @param {*} [options] Override http request option.
|
|
2226
2227
|
* @throws {RequiredError}
|
|
2227
2228
|
*/
|
|
2228
|
-
contactsList(contactTypes?: Array<
|
|
2229
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
2229
2230
|
/**
|
|
2230
2231
|
*
|
|
2231
2232
|
* @summary Contacts Update
|
|
@@ -2336,13 +2337,13 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2336
2337
|
/**
|
|
2337
2338
|
*
|
|
2338
2339
|
* @summary Contacts List
|
|
2339
|
-
* @param {Array<
|
|
2340
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2340
2341
|
* @param {string} [searchString]
|
|
2341
2342
|
* @param {*} [options] Override http request option.
|
|
2342
2343
|
* @throws {RequiredError}
|
|
2343
2344
|
* @memberof ContactsApi
|
|
2344
2345
|
*/
|
|
2345
|
-
contactsList(contactTypes?: Array<
|
|
2346
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
2346
2347
|
/**
|
|
2347
2348
|
*
|
|
2348
2349
|
* @summary Contacts Update
|
|
@@ -2649,7 +2650,7 @@ declare class PhonesApi extends BaseAPI {
|
|
|
2649
2650
|
*/
|
|
2650
2651
|
declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2651
2652
|
/**
|
|
2652
|
-
*
|
|
2653
|
+
*
|
|
2653
2654
|
* @summary Reservations List
|
|
2654
2655
|
* @param {string} [contactId]
|
|
2655
2656
|
* @param {*} [options] Override http request option.
|
|
@@ -2663,7 +2664,7 @@ declare const ReservationsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2663
2664
|
*/
|
|
2664
2665
|
declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
2665
2666
|
/**
|
|
2666
|
-
*
|
|
2667
|
+
*
|
|
2667
2668
|
* @summary Reservations List
|
|
2668
2669
|
* @param {string} [contactId]
|
|
2669
2670
|
* @param {*} [options] Override http request option.
|
|
@@ -2677,7 +2678,7 @@ declare const ReservationsApiFp: (configuration?: Configuration) => {
|
|
|
2677
2678
|
*/
|
|
2678
2679
|
declare const ReservationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2679
2680
|
/**
|
|
2680
|
-
*
|
|
2681
|
+
*
|
|
2681
2682
|
* @summary Reservations List
|
|
2682
2683
|
* @param {string} [contactId]
|
|
2683
2684
|
* @param {*} [options] Override http request option.
|
|
@@ -2693,7 +2694,7 @@ declare const ReservationsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2693
2694
|
*/
|
|
2694
2695
|
declare class ReservationsApi extends BaseAPI {
|
|
2695
2696
|
/**
|
|
2696
|
-
*
|
|
2697
|
+
*
|
|
2697
2698
|
* @summary Reservations List
|
|
2698
2699
|
* @param {string} [contactId]
|
|
2699
2700
|
* @param {*} [options] Override http request option.
|
|
@@ -2760,12 +2761,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2760
2761
|
/**
|
|
2761
2762
|
*
|
|
2762
2763
|
* @summary Contacts List
|
|
2763
|
-
* @param {Array<
|
|
2764
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2764
2765
|
* @param {string} [searchString]
|
|
2765
2766
|
* @param {*} [options] Override http request option.
|
|
2766
2767
|
* @throws {RequiredError}
|
|
2767
2768
|
*/
|
|
2768
|
-
contactsList: (contactTypes?: Array<
|
|
2769
|
+
contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2769
2770
|
/**
|
|
2770
2771
|
*
|
|
2771
2772
|
* @summary Contacts Update
|
|
@@ -2810,7 +2811,7 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2810
2811
|
*/
|
|
2811
2812
|
phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2812
2813
|
/**
|
|
2813
|
-
*
|
|
2814
|
+
*
|
|
2814
2815
|
* @summary Reservations List
|
|
2815
2816
|
* @param {string} [contactId]
|
|
2816
2817
|
* @param {*} [options] Override http request option.
|
|
@@ -2884,12 +2885,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2884
2885
|
/**
|
|
2885
2886
|
*
|
|
2886
2887
|
* @summary Contacts List
|
|
2887
|
-
* @param {Array<
|
|
2888
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2888
2889
|
* @param {string} [searchString]
|
|
2889
2890
|
* @param {*} [options] Override http request option.
|
|
2890
2891
|
* @throws {RequiredError}
|
|
2891
2892
|
*/
|
|
2892
|
-
contactsList(contactTypes?: Array<
|
|
2893
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
|
|
2893
2894
|
/**
|
|
2894
2895
|
*
|
|
2895
2896
|
* @summary Contacts Update
|
|
@@ -2934,7 +2935,7 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2934
2935
|
*/
|
|
2935
2936
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2936
2937
|
/**
|
|
2937
|
-
*
|
|
2938
|
+
*
|
|
2938
2939
|
* @summary Reservations List
|
|
2939
2940
|
* @param {string} [contactId]
|
|
2940
2941
|
* @param {*} [options] Override http request option.
|
|
@@ -3008,12 +3009,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3008
3009
|
/**
|
|
3009
3010
|
*
|
|
3010
3011
|
* @summary Contacts List
|
|
3011
|
-
* @param {Array<
|
|
3012
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3012
3013
|
* @param {string} [searchString]
|
|
3013
3014
|
* @param {*} [options] Override http request option.
|
|
3014
3015
|
* @throws {RequiredError}
|
|
3015
3016
|
*/
|
|
3016
|
-
contactsList(contactTypes?: Array<
|
|
3017
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
|
|
3017
3018
|
/**
|
|
3018
3019
|
*
|
|
3019
3020
|
* @summary Contacts Update
|
|
@@ -3058,7 +3059,7 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3058
3059
|
*/
|
|
3059
3060
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3060
3061
|
/**
|
|
3061
|
-
*
|
|
3062
|
+
*
|
|
3062
3063
|
* @summary Reservations List
|
|
3063
3064
|
* @param {string} [contactId]
|
|
3064
3065
|
* @param {*} [options] Override http request option.
|
|
@@ -3140,13 +3141,13 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3140
3141
|
/**
|
|
3141
3142
|
*
|
|
3142
3143
|
* @summary Contacts List
|
|
3143
|
-
* @param {Array<
|
|
3144
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3144
3145
|
* @param {string} [searchString]
|
|
3145
3146
|
* @param {*} [options] Override http request option.
|
|
3146
3147
|
* @throws {RequiredError}
|
|
3147
3148
|
* @memberof UnboundApi
|
|
3148
3149
|
*/
|
|
3149
|
-
contactsList(contactTypes?: Array<
|
|
3150
|
+
contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
|
|
3150
3151
|
/**
|
|
3151
3152
|
*
|
|
3152
3153
|
* @summary Contacts Update
|
|
@@ -3196,7 +3197,7 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3196
3197
|
*/
|
|
3197
3198
|
phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3198
3199
|
/**
|
|
3199
|
-
*
|
|
3200
|
+
*
|
|
3200
3201
|
* @summary Reservations List
|
|
3201
3202
|
* @param {string} [contactId]
|
|
3202
3203
|
* @param {*} [options] Override http request option.
|
|
@@ -3215,4 +3216,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3215
3216
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3216
3217
|
}
|
|
3217
3218
|
|
|
3218
|
-
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,
|
|
3219
|
+
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, type ContactTypeData, type ContactTypeDataCreate, type ContactTypeDataUpdate, ContactTypeFilter, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, type GuestDataCreate, type GuestDataUpdate, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
|
package/dist/index.js
CHANGED
|
@@ -75,10 +75,11 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
Guest: "
|
|
80
|
-
Owner: "
|
|
81
|
-
Lead: "
|
|
78
|
+
var ContactTypeFilter = {
|
|
79
|
+
Guest: "guest",
|
|
80
|
+
Owner: "owner",
|
|
81
|
+
Lead: "lead",
|
|
82
|
+
Basic: "basic"
|
|
82
83
|
};
|
|
83
84
|
var DataSource = {
|
|
84
85
|
Hostaway: "HOSTAWAY",
|
|
@@ -466,7 +467,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
466
467
|
/**
|
|
467
468
|
*
|
|
468
469
|
* @summary Contacts List
|
|
469
|
-
* @param {Array<
|
|
470
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
470
471
|
* @param {string} [searchString]
|
|
471
472
|
* @param {*} [options] Override http request option.
|
|
472
473
|
* @throws {RequiredError}
|
|
@@ -725,7 +726,7 @@ var ContactsApiFp = function(configuration) {
|
|
|
725
726
|
/**
|
|
726
727
|
*
|
|
727
728
|
* @summary Contacts List
|
|
728
|
-
* @param {Array<
|
|
729
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
729
730
|
* @param {string} [searchString]
|
|
730
731
|
* @param {*} [options] Override http request option.
|
|
731
732
|
* @throws {RequiredError}
|
|
@@ -874,7 +875,7 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
874
875
|
/**
|
|
875
876
|
*
|
|
876
877
|
* @summary Contacts List
|
|
877
|
-
* @param {Array<
|
|
878
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
878
879
|
* @param {string} [searchString]
|
|
879
880
|
* @param {*} [options] Override http request option.
|
|
880
881
|
* @throws {RequiredError}
|
|
@@ -1009,7 +1010,7 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1009
1010
|
/**
|
|
1010
1011
|
*
|
|
1011
1012
|
* @summary Contacts List
|
|
1012
|
-
* @param {Array<
|
|
1013
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1013
1014
|
* @param {string} [searchString]
|
|
1014
1015
|
* @param {*} [options] Override http request option.
|
|
1015
1016
|
* @throws {RequiredError}
|
|
@@ -1445,7 +1446,7 @@ var PhonesApi = class extends BaseAPI {
|
|
|
1445
1446
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
1446
1447
|
return {
|
|
1447
1448
|
/**
|
|
1448
|
-
*
|
|
1449
|
+
*
|
|
1449
1450
|
* @summary Reservations List
|
|
1450
1451
|
* @param {string} [contactId]
|
|
1451
1452
|
* @param {*} [options] Override http request option.
|
|
@@ -1478,7 +1479,7 @@ var ReservationsApiFp = function(configuration) {
|
|
|
1478
1479
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
1479
1480
|
return {
|
|
1480
1481
|
/**
|
|
1481
|
-
*
|
|
1482
|
+
*
|
|
1482
1483
|
* @summary Reservations List
|
|
1483
1484
|
* @param {string} [contactId]
|
|
1484
1485
|
* @param {*} [options] Override http request option.
|
|
@@ -1496,7 +1497,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1496
1497
|
const localVarFp = ReservationsApiFp(configuration);
|
|
1497
1498
|
return {
|
|
1498
1499
|
/**
|
|
1499
|
-
*
|
|
1500
|
+
*
|
|
1500
1501
|
* @summary Reservations List
|
|
1501
1502
|
* @param {string} [contactId]
|
|
1502
1503
|
* @param {*} [options] Override http request option.
|
|
@@ -1509,7 +1510,7 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1509
1510
|
};
|
|
1510
1511
|
var ReservationsApi = class extends BaseAPI {
|
|
1511
1512
|
/**
|
|
1512
|
-
*
|
|
1513
|
+
*
|
|
1513
1514
|
* @summary Reservations List
|
|
1514
1515
|
* @param {string} [contactId]
|
|
1515
1516
|
* @param {*} [options] Override http request option.
|
|
@@ -1691,7 +1692,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1691
1692
|
/**
|
|
1692
1693
|
*
|
|
1693
1694
|
* @summary Contacts List
|
|
1694
|
-
* @param {Array<
|
|
1695
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1695
1696
|
* @param {string} [searchString]
|
|
1696
1697
|
* @param {*} [options] Override http request option.
|
|
1697
1698
|
* @throws {RequiredError}
|
|
@@ -1863,7 +1864,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1863
1864
|
};
|
|
1864
1865
|
},
|
|
1865
1866
|
/**
|
|
1866
|
-
*
|
|
1867
|
+
*
|
|
1867
1868
|
* @summary Reservations List
|
|
1868
1869
|
* @param {string} [contactId]
|
|
1869
1870
|
* @param {*} [options] Override http request option.
|
|
@@ -2007,7 +2008,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2007
2008
|
/**
|
|
2008
2009
|
*
|
|
2009
2010
|
* @summary Contacts List
|
|
2010
|
-
* @param {Array<
|
|
2011
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2011
2012
|
* @param {string} [searchString]
|
|
2012
2013
|
* @param {*} [options] Override http request option.
|
|
2013
2014
|
* @throws {RequiredError}
|
|
@@ -2087,7 +2088,7 @@ var UnboundApiFp = function(configuration) {
|
|
|
2087
2088
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2088
2089
|
},
|
|
2089
2090
|
/**
|
|
2090
|
-
*
|
|
2091
|
+
*
|
|
2091
2092
|
* @summary Reservations List
|
|
2092
2093
|
* @param {string} [contactId]
|
|
2093
2094
|
* @param {*} [options] Override http request option.
|
|
@@ -2182,7 +2183,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2182
2183
|
/**
|
|
2183
2184
|
*
|
|
2184
2185
|
* @summary Contacts List
|
|
2185
|
-
* @param {Array<
|
|
2186
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2186
2187
|
* @param {string} [searchString]
|
|
2187
2188
|
* @param {*} [options] Override http request option.
|
|
2188
2189
|
* @throws {RequiredError}
|
|
@@ -2244,7 +2245,7 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2244
2245
|
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
2245
2246
|
},
|
|
2246
2247
|
/**
|
|
2247
|
-
*
|
|
2248
|
+
*
|
|
2248
2249
|
* @summary Reservations List
|
|
2249
2250
|
* @param {string} [contactId]
|
|
2250
2251
|
* @param {*} [options] Override http request option.
|
|
@@ -2337,7 +2338,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2337
2338
|
/**
|
|
2338
2339
|
*
|
|
2339
2340
|
* @summary Contacts List
|
|
2340
|
-
* @param {Array<
|
|
2341
|
+
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2341
2342
|
* @param {string} [searchString]
|
|
2342
2343
|
* @param {*} [options] Override http request option.
|
|
2343
2344
|
* @throws {RequiredError}
|
|
@@ -2405,7 +2406,7 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2405
2406
|
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
2406
2407
|
}
|
|
2407
2408
|
/**
|
|
2408
|
-
*
|
|
2409
|
+
*
|
|
2409
2410
|
* @summary Reservations List
|
|
2410
2411
|
* @param {string} [contactId]
|
|
2411
2412
|
* @param {*} [options] Override http request option.
|
|
@@ -2548,5 +2549,5 @@ var Configuration = class {
|
|
|
2548
2549
|
|
|
2549
2550
|
|
|
2550
2551
|
|
|
2551
|
-
exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.
|
|
2552
|
+
exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactTypeFilter = ContactTypeFilter; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.DataSource = DataSource; exports.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.PhonesApi = PhonesApi; exports.PhonesApiAxiosParamCreator = PhonesApiAxiosParamCreator; exports.PhonesApiFactory = PhonesApiFactory; exports.PhonesApiFp = PhonesApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
2552
2553
|
//# sourceMappingURL=index.js.map
|