@ember-home/unbound-ts-client 0.0.9 → 0.0.11

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.ts CHANGED
@@ -438,6 +438,57 @@ interface AddressesUpdateResponse {
438
438
  */
439
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 | null;
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 | null;
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 | null;
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 | null;
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
@@ -1793,12 +1844,11 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1793
1844
  /**
1794
1845
  *
1795
1846
  * @summary Contacts Create
1796
- * @param {string} customerId
1797
1847
  * @param {ContactCreate} contactCreate
1798
1848
  * @param {*} [options] Override http request option.
1799
1849
  * @throws {RequiredError}
1800
1850
  */
1801
- contactsCreate: (customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1851
+ contactsCreate: (contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1802
1852
  /**
1803
1853
  *
1804
1854
  * @summary Contacts Delete
@@ -1818,12 +1868,12 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1818
1868
  /**
1819
1869
  *
1820
1870
  * @summary Contacts List
1821
- * @param {ContactType} [contactType]
1871
+ * @param {Array<ContactType>} [contactTypes]
1822
1872
  * @param {string} [searchString]
1823
1873
  * @param {*} [options] Override http request option.
1824
1874
  * @throws {RequiredError}
1825
1875
  */
1826
- contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1876
+ contactsList: (contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1827
1877
  /**
1828
1878
  *
1829
1879
  * @summary Contacts Update
@@ -1902,12 +1952,11 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
1902
1952
  /**
1903
1953
  *
1904
1954
  * @summary Contacts Create
1905
- * @param {string} customerId
1906
1955
  * @param {ContactCreate} contactCreate
1907
1956
  * @param {*} [options] Override http request option.
1908
1957
  * @throws {RequiredError}
1909
1958
  */
1910
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
1959
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
1911
1960
  /**
1912
1961
  *
1913
1962
  * @summary Contacts Delete
@@ -1927,12 +1976,12 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
1927
1976
  /**
1928
1977
  *
1929
1978
  * @summary Contacts List
1930
- * @param {ContactType} [contactType]
1979
+ * @param {Array<ContactType>} [contactTypes]
1931
1980
  * @param {string} [searchString]
1932
1981
  * @param {*} [options] Override http request option.
1933
1982
  * @throws {RequiredError}
1934
1983
  */
1935
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
1984
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
1936
1985
  /**
1937
1986
  *
1938
1987
  * @summary Contacts Update
@@ -2011,12 +2060,11 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
2011
2060
  /**
2012
2061
  *
2013
2062
  * @summary Contacts Create
2014
- * @param {string} customerId
2015
2063
  * @param {ContactCreate} contactCreate
2016
2064
  * @param {*} [options] Override http request option.
2017
2065
  * @throws {RequiredError}
2018
2066
  */
2019
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
2067
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
2020
2068
  /**
2021
2069
  *
2022
2070
  * @summary Contacts Delete
@@ -2036,12 +2084,12 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
2036
2084
  /**
2037
2085
  *
2038
2086
  * @summary Contacts List
2039
- * @param {ContactType} [contactType]
2087
+ * @param {Array<ContactType>} [contactTypes]
2040
2088
  * @param {string} [searchString]
2041
2089
  * @param {*} [options] Override http request option.
2042
2090
  * @throws {RequiredError}
2043
2091
  */
2044
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2092
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2045
2093
  /**
2046
2094
  *
2047
2095
  * @summary Contacts Update
@@ -2125,13 +2173,12 @@ declare class ContactsApi extends BaseAPI {
2125
2173
  /**
2126
2174
  *
2127
2175
  * @summary Contacts Create
2128
- * @param {string} customerId
2129
2176
  * @param {ContactCreate} contactCreate
2130
2177
  * @param {*} [options] Override http request option.
2131
2178
  * @throws {RequiredError}
2132
2179
  * @memberof ContactsApi
2133
2180
  */
2134
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2181
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2135
2182
  /**
2136
2183
  *
2137
2184
  * @summary Contacts Delete
@@ -2153,13 +2200,13 @@ declare class ContactsApi extends BaseAPI {
2153
2200
  /**
2154
2201
  *
2155
2202
  * @summary Contacts List
2156
- * @param {ContactType} [contactType]
2203
+ * @param {Array<ContactType>} [contactTypes]
2157
2204
  * @param {string} [searchString]
2158
2205
  * @param {*} [options] Override http request option.
2159
2206
  * @throws {RequiredError}
2160
2207
  * @memberof ContactsApi
2161
2208
  */
2162
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2209
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2163
2210
  /**
2164
2211
  *
2165
2212
  * @summary Contacts Update
@@ -2553,12 +2600,11 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2553
2600
  /**
2554
2601
  *
2555
2602
  * @summary Contacts Create
2556
- * @param {string} customerId
2557
2603
  * @param {ContactCreate} contactCreate
2558
2604
  * @param {*} [options] Override http request option.
2559
2605
  * @throws {RequiredError}
2560
2606
  */
2561
- contactsCreate: (customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2607
+ contactsCreate: (contactCreate: ContactCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2562
2608
  /**
2563
2609
  *
2564
2610
  * @summary Contacts Delete
@@ -2578,12 +2624,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2578
2624
  /**
2579
2625
  *
2580
2626
  * @summary Contacts List
2581
- * @param {ContactType} [contactType]
2627
+ * @param {Array<ContactType>} [contactTypes]
2582
2628
  * @param {string} [searchString]
2583
2629
  * @param {*} [options] Override http request option.
2584
2630
  * @throws {RequiredError}
2585
2631
  */
2586
- contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2632
+ contactsList: (contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2587
2633
  /**
2588
2634
  *
2589
2635
  * @summary Contacts Update
@@ -2678,12 +2724,11 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2678
2724
  /**
2679
2725
  *
2680
2726
  * @summary Contacts Create
2681
- * @param {string} customerId
2682
2727
  * @param {ContactCreate} contactCreate
2683
2728
  * @param {*} [options] Override http request option.
2684
2729
  * @throws {RequiredError}
2685
2730
  */
2686
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
2731
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsCreateResponse>>;
2687
2732
  /**
2688
2733
  *
2689
2734
  * @summary Contacts Delete
@@ -2703,12 +2748,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2703
2748
  /**
2704
2749
  *
2705
2750
  * @summary Contacts List
2706
- * @param {ContactType} [contactType]
2751
+ * @param {Array<ContactType>} [contactTypes]
2707
2752
  * @param {string} [searchString]
2708
2753
  * @param {*} [options] Override http request option.
2709
2754
  * @throws {RequiredError}
2710
2755
  */
2711
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
2756
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
2712
2757
  /**
2713
2758
  *
2714
2759
  * @summary Contacts Update
@@ -2803,12 +2848,11 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
2803
2848
  /**
2804
2849
  *
2805
2850
  * @summary Contacts Create
2806
- * @param {string} customerId
2807
2851
  * @param {ContactCreate} contactCreate
2808
2852
  * @param {*} [options] Override http request option.
2809
2853
  * @throws {RequiredError}
2810
2854
  */
2811
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
2855
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsCreateResponse>;
2812
2856
  /**
2813
2857
  *
2814
2858
  * @summary Contacts Delete
@@ -2828,12 +2872,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
2828
2872
  /**
2829
2873
  *
2830
2874
  * @summary Contacts List
2831
- * @param {ContactType} [contactType]
2875
+ * @param {Array<ContactType>} [contactTypes]
2832
2876
  * @param {string} [searchString]
2833
2877
  * @param {*} [options] Override http request option.
2834
2878
  * @throws {RequiredError}
2835
2879
  */
2836
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2880
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2837
2881
  /**
2838
2882
  *
2839
2883
  * @summary Contacts Update
@@ -2933,13 +2977,12 @@ declare class UnboundApi extends BaseAPI {
2933
2977
  /**
2934
2978
  *
2935
2979
  * @summary Contacts Create
2936
- * @param {string} customerId
2937
2980
  * @param {ContactCreate} contactCreate
2938
2981
  * @param {*} [options] Override http request option.
2939
2982
  * @throws {RequiredError}
2940
2983
  * @memberof UnboundApi
2941
2984
  */
2942
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2985
+ contactsCreate(contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2943
2986
  /**
2944
2987
  *
2945
2988
  * @summary Contacts Delete
@@ -2961,13 +3004,13 @@ declare class UnboundApi extends BaseAPI {
2961
3004
  /**
2962
3005
  *
2963
3006
  * @summary Contacts List
2964
- * @param {ContactType} [contactType]
3007
+ * @param {Array<ContactType>} [contactTypes]
2965
3008
  * @param {string} [searchString]
2966
3009
  * @param {*} [options] Override http request option.
2967
3010
  * @throws {RequiredError}
2968
3011
  * @memberof UnboundApi
2969
3012
  */
2970
- contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
3013
+ contactsList(contactTypes?: Array<ContactType>, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2971
3014
  /**
2972
3015
  *
2973
3016
  * @summary Contacts Update
@@ -3036,4 +3079,4 @@ declare class UnboundApi extends BaseAPI {
3036
3079
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
3037
3080
  }
3038
3081
 
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 };
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 };