@teemill/platform 0.24.0 → 0.26.0
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/README.md +4 -2
- package/api.ts +267 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +170 -7
- package/dist/api.js +149 -12
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +170 -7
- package/dist/esm/api.js +148 -11
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/CustomersApi.md +22 -4
- package/docs/EnquiriesApi.md +67 -0
- package/docs/Enquiry.md +2 -0
- package/docs/Statistics.md +2 -0
- package/docs/UpdateCustomerEnquiryRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.26.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -378,6 +378,12 @@ export interface Enquiry {
|
|
|
378
378
|
* @memberof Enquiry
|
|
379
379
|
*/
|
|
380
380
|
'chatChannelRef'?: string | null;
|
|
381
|
+
/**
|
|
382
|
+
* The unique id of the user who owns the enquiry
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof Enquiry
|
|
385
|
+
*/
|
|
386
|
+
'owner': string | null;
|
|
381
387
|
}
|
|
382
388
|
export declare const EnquiryStatusEnum: {
|
|
383
389
|
readonly New: "New";
|
|
@@ -1535,6 +1541,12 @@ export interface Statistics {
|
|
|
1535
1541
|
* @memberof Statistics
|
|
1536
1542
|
*/
|
|
1537
1543
|
'totalOrderCount': number;
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @type {number}
|
|
1547
|
+
* @memberof Statistics
|
|
1548
|
+
*/
|
|
1549
|
+
'refundedOrderCount': number;
|
|
1538
1550
|
/**
|
|
1539
1551
|
*
|
|
1540
1552
|
* @type {string}
|
|
@@ -1610,6 +1622,19 @@ export interface Terms {
|
|
|
1610
1622
|
*/
|
|
1611
1623
|
'updatedAt': string;
|
|
1612
1624
|
}
|
|
1625
|
+
/**
|
|
1626
|
+
*
|
|
1627
|
+
* @export
|
|
1628
|
+
* @interface UpdateCustomerEnquiryRequest
|
|
1629
|
+
*/
|
|
1630
|
+
export interface UpdateCustomerEnquiryRequest {
|
|
1631
|
+
/**
|
|
1632
|
+
* The unique id of the user who owns the enquiry
|
|
1633
|
+
* @type {string}
|
|
1634
|
+
* @memberof UpdateCustomerEnquiryRequest
|
|
1635
|
+
*/
|
|
1636
|
+
'owner'?: string | null;
|
|
1637
|
+
}
|
|
1613
1638
|
/**
|
|
1614
1639
|
*
|
|
1615
1640
|
* @export
|
|
@@ -1720,7 +1745,10 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1720
1745
|
* @summary Export customers
|
|
1721
1746
|
* @param {string} project Project unique identifier
|
|
1722
1747
|
* @param {string} platformId The platform identifier
|
|
1748
|
+
* @param {Array<string>} [countries] Filter customers by country code
|
|
1749
|
+
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1723
1750
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1751
|
+
* @param {number} [refundedOrderCount] Filter customers by refunded order count equal to the value provided
|
|
1724
1752
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1725
1753
|
* @param {Array<ExportCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1726
1754
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
@@ -1728,7 +1756,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1728
1756
|
* @param {*} [options] Override http request option.
|
|
1729
1757
|
* @throws {RequiredError}
|
|
1730
1758
|
*/
|
|
1731
|
-
exportCustomers: (project: string, platformId: string, totalOrderCount?: number, lifetimeValue?: number, sortBy?: Array<ExportCustomersSortByEnum>, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1759
|
+
exportCustomers: (project: string, platformId: string, countries?: Array<string>, gender?: ExportCustomersGenderEnum, totalOrderCount?: number, refundedOrderCount?: number, lifetimeValue?: number, sortBy?: Array<ExportCustomersSortByEnum>, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1732
1760
|
/**
|
|
1733
1761
|
* Get a customer for a platform by a given customer ID.
|
|
1734
1762
|
* @summary Get customer
|
|
@@ -1748,14 +1776,17 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1748
1776
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1749
1777
|
* @param {string} [search] Search term to filter results
|
|
1750
1778
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1779
|
+
* @param {Array<string>} [countries] Filter customers by country code
|
|
1780
|
+
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1751
1781
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1782
|
+
* @param {number} [refundedOrderCount] Filter customers by refunded order count equal to the value provided
|
|
1752
1783
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1753
1784
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
1754
1785
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
1755
1786
|
* @param {*} [options] Override http request option.
|
|
1756
1787
|
* @throws {RequiredError}
|
|
1757
1788
|
*/
|
|
1758
|
-
listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, totalOrderCount?: number, lifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1789
|
+
listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, gender?: ListCustomersGenderEnum, totalOrderCount?: number, refundedOrderCount?: number, lifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1759
1790
|
};
|
|
1760
1791
|
/**
|
|
1761
1792
|
* CustomersApi - functional programming interface
|
|
@@ -1767,7 +1798,10 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1767
1798
|
* @summary Export customers
|
|
1768
1799
|
* @param {string} project Project unique identifier
|
|
1769
1800
|
* @param {string} platformId The platform identifier
|
|
1801
|
+
* @param {Array<string>} [countries] Filter customers by country code
|
|
1802
|
+
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1770
1803
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1804
|
+
* @param {number} [refundedOrderCount] Filter customers by refunded order count equal to the value provided
|
|
1771
1805
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1772
1806
|
* @param {Array<ExportCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1773
1807
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
@@ -1775,7 +1809,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1775
1809
|
* @param {*} [options] Override http request option.
|
|
1776
1810
|
* @throws {RequiredError}
|
|
1777
1811
|
*/
|
|
1778
|
-
exportCustomers(project: string, platformId: string, totalOrderCount?: number, lifetimeValue?: number, sortBy?: Array<ExportCustomersSortByEnum>, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1812
|
+
exportCustomers(project: string, platformId: string, countries?: Array<string>, gender?: ExportCustomersGenderEnum, totalOrderCount?: number, refundedOrderCount?: number, lifetimeValue?: number, sortBy?: Array<ExportCustomersSortByEnum>, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1779
1813
|
/**
|
|
1780
1814
|
* Get a customer for a platform by a given customer ID.
|
|
1781
1815
|
* @summary Get customer
|
|
@@ -1795,14 +1829,17 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1795
1829
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1796
1830
|
* @param {string} [search] Search term to filter results
|
|
1797
1831
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1832
|
+
* @param {Array<string>} [countries] Filter customers by country code
|
|
1833
|
+
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1798
1834
|
* @param {number} [totalOrderCount] Filter customers by total order count equal to the value provided
|
|
1835
|
+
* @param {number} [refundedOrderCount] Filter customers by refunded order count equal to the value provided
|
|
1799
1836
|
* @param {number} [lifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1800
1837
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
1801
1838
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
1802
1839
|
* @param {*} [options] Override http request option.
|
|
1803
1840
|
* @throws {RequiredError}
|
|
1804
1841
|
*/
|
|
1805
|
-
listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, totalOrderCount?: number, lifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
|
|
1842
|
+
listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, gender?: ListCustomersGenderEnum, totalOrderCount?: number, refundedOrderCount?: number, lifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
|
|
1806
1843
|
};
|
|
1807
1844
|
/**
|
|
1808
1845
|
* CustomersApi - factory interface
|
|
@@ -1852,12 +1889,30 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
1852
1889
|
* @memberof CustomersApiExportCustomers
|
|
1853
1890
|
*/
|
|
1854
1891
|
readonly platformId: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* Filter customers by country code
|
|
1894
|
+
* @type {Array<string>}
|
|
1895
|
+
* @memberof CustomersApiExportCustomers
|
|
1896
|
+
*/
|
|
1897
|
+
readonly countries?: Array<string>;
|
|
1898
|
+
/**
|
|
1899
|
+
* Filter customers by gender equal to the value provided
|
|
1900
|
+
* @type {'male' | 'female'}
|
|
1901
|
+
* @memberof CustomersApiExportCustomers
|
|
1902
|
+
*/
|
|
1903
|
+
readonly gender?: ExportCustomersGenderEnum;
|
|
1855
1904
|
/**
|
|
1856
1905
|
* Filter customers by total order count equal to the value provided
|
|
1857
1906
|
* @type {number}
|
|
1858
1907
|
* @memberof CustomersApiExportCustomers
|
|
1859
1908
|
*/
|
|
1860
1909
|
readonly totalOrderCount?: number;
|
|
1910
|
+
/**
|
|
1911
|
+
* Filter customers by refunded order count equal to the value provided
|
|
1912
|
+
* @type {number}
|
|
1913
|
+
* @memberof CustomersApiExportCustomers
|
|
1914
|
+
*/
|
|
1915
|
+
readonly refundedOrderCount?: number;
|
|
1861
1916
|
/**
|
|
1862
1917
|
* Filter customers by lifetime value less than or equal to the value provided
|
|
1863
1918
|
* @type {number}
|
|
@@ -1866,7 +1921,7 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
1866
1921
|
readonly lifetimeValue?: number;
|
|
1867
1922
|
/**
|
|
1868
1923
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1869
|
-
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+lastPurchased' | '-lastPurchased'>}
|
|
1924
|
+
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased'>}
|
|
1870
1925
|
* @memberof CustomersApiExportCustomers
|
|
1871
1926
|
*/
|
|
1872
1927
|
readonly sortBy?: Array<ExportCustomersSortByEnum>;
|
|
@@ -1946,16 +2001,34 @@ export interface CustomersApiListCustomersRequest {
|
|
|
1946
2001
|
readonly search?: string;
|
|
1947
2002
|
/**
|
|
1948
2003
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1949
|
-
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+lastPurchased' | '-lastPurchased'>}
|
|
2004
|
+
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased'>}
|
|
1950
2005
|
* @memberof CustomersApiListCustomers
|
|
1951
2006
|
*/
|
|
1952
2007
|
readonly sortBy?: Array<ListCustomersSortByEnum>;
|
|
2008
|
+
/**
|
|
2009
|
+
* Filter customers by country code
|
|
2010
|
+
* @type {Array<string>}
|
|
2011
|
+
* @memberof CustomersApiListCustomers
|
|
2012
|
+
*/
|
|
2013
|
+
readonly countries?: Array<string>;
|
|
2014
|
+
/**
|
|
2015
|
+
* Filter customers by gender equal to the value provided
|
|
2016
|
+
* @type {'male' | 'female'}
|
|
2017
|
+
* @memberof CustomersApiListCustomers
|
|
2018
|
+
*/
|
|
2019
|
+
readonly gender?: ListCustomersGenderEnum;
|
|
1953
2020
|
/**
|
|
1954
2021
|
* Filter customers by total order count equal to the value provided
|
|
1955
2022
|
* @type {number}
|
|
1956
2023
|
* @memberof CustomersApiListCustomers
|
|
1957
2024
|
*/
|
|
1958
2025
|
readonly totalOrderCount?: number;
|
|
2026
|
+
/**
|
|
2027
|
+
* Filter customers by refunded order count equal to the value provided
|
|
2028
|
+
* @type {number}
|
|
2029
|
+
* @memberof CustomersApiListCustomers
|
|
2030
|
+
*/
|
|
2031
|
+
readonly refundedOrderCount?: number;
|
|
1959
2032
|
/**
|
|
1960
2033
|
* Filter customers by lifetime value less than or equal to the value provided
|
|
1961
2034
|
* @type {number}
|
|
@@ -2010,6 +2083,14 @@ export declare class CustomersApi extends BaseAPI {
|
|
|
2010
2083
|
*/
|
|
2011
2084
|
listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomersResponse, any>>;
|
|
2012
2085
|
}
|
|
2086
|
+
/**
|
|
2087
|
+
* @export
|
|
2088
|
+
*/
|
|
2089
|
+
export declare const ExportCustomersGenderEnum: {
|
|
2090
|
+
readonly Male: "male";
|
|
2091
|
+
readonly Female: "female";
|
|
2092
|
+
};
|
|
2093
|
+
export type ExportCustomersGenderEnum = typeof ExportCustomersGenderEnum[keyof typeof ExportCustomersGenderEnum];
|
|
2013
2094
|
/**
|
|
2014
2095
|
* @export
|
|
2015
2096
|
*/
|
|
@@ -2018,6 +2099,8 @@ export declare const ExportCustomersSortByEnum: {
|
|
|
2018
2099
|
readonly LifetimeValue2: "-lifetimeValue";
|
|
2019
2100
|
readonly TotalOrderCount: "+totalOrderCount";
|
|
2020
2101
|
readonly TotalOrderCount2: "-totalOrderCount";
|
|
2102
|
+
readonly RefundedOrderCount: "+refundedOrderCount";
|
|
2103
|
+
readonly RefundedOrderCount2: "-refundedOrderCount";
|
|
2021
2104
|
readonly LastPurchased: "+lastPurchased";
|
|
2022
2105
|
readonly LastPurchased2: "-lastPurchased";
|
|
2023
2106
|
};
|
|
@@ -2030,10 +2113,20 @@ export declare const ListCustomersSortByEnum: {
|
|
|
2030
2113
|
readonly LifetimeValue2: "-lifetimeValue";
|
|
2031
2114
|
readonly TotalOrderCount: "+totalOrderCount";
|
|
2032
2115
|
readonly TotalOrderCount2: "-totalOrderCount";
|
|
2116
|
+
readonly RefundedOrderCount: "+refundedOrderCount";
|
|
2117
|
+
readonly RefundedOrderCount2: "-refundedOrderCount";
|
|
2033
2118
|
readonly LastPurchased: "+lastPurchased";
|
|
2034
2119
|
readonly LastPurchased2: "-lastPurchased";
|
|
2035
2120
|
};
|
|
2036
2121
|
export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
|
|
2122
|
+
/**
|
|
2123
|
+
* @export
|
|
2124
|
+
*/
|
|
2125
|
+
export declare const ListCustomersGenderEnum: {
|
|
2126
|
+
readonly Male: "male";
|
|
2127
|
+
readonly Female: "female";
|
|
2128
|
+
};
|
|
2129
|
+
export type ListCustomersGenderEnum = typeof ListCustomersGenderEnum[keyof typeof ListCustomersGenderEnum];
|
|
2037
2130
|
/**
|
|
2038
2131
|
* EnquiriesApi - axios parameter creator
|
|
2039
2132
|
* @export
|
|
@@ -2083,6 +2176,17 @@ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2083
2176
|
* @throws {RequiredError}
|
|
2084
2177
|
*/
|
|
2085
2178
|
listCustomerEnquiryLogs: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2179
|
+
/**
|
|
2180
|
+
* Update a customer enquiry
|
|
2181
|
+
* @summary Update customer enquiry
|
|
2182
|
+
* @param {string} project Project unique identifier
|
|
2183
|
+
* @param {string} platformId The platform identifier
|
|
2184
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2185
|
+
* @param {UpdateCustomerEnquiryRequest} updateCustomerEnquiryRequest Enquiry update
|
|
2186
|
+
* @param {*} [options] Override http request option.
|
|
2187
|
+
* @throws {RequiredError}
|
|
2188
|
+
*/
|
|
2189
|
+
updateCustomerEnquiry: (project: string, platformId: string, enquiryId: string, updateCustomerEnquiryRequest: UpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2086
2190
|
};
|
|
2087
2191
|
/**
|
|
2088
2192
|
* EnquiriesApi - functional programming interface
|
|
@@ -2133,6 +2237,17 @@ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
|
2133
2237
|
* @throws {RequiredError}
|
|
2134
2238
|
*/
|
|
2135
2239
|
listCustomerEnquiryLogs(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerEnquiryLogs200Response>>;
|
|
2240
|
+
/**
|
|
2241
|
+
* Update a customer enquiry
|
|
2242
|
+
* @summary Update customer enquiry
|
|
2243
|
+
* @param {string} project Project unique identifier
|
|
2244
|
+
* @param {string} platformId The platform identifier
|
|
2245
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2246
|
+
* @param {UpdateCustomerEnquiryRequest} updateCustomerEnquiryRequest Enquiry update
|
|
2247
|
+
* @param {*} [options] Override http request option.
|
|
2248
|
+
* @throws {RequiredError}
|
|
2249
|
+
*/
|
|
2250
|
+
updateCustomerEnquiry(project: string, platformId: string, enquiryId: string, updateCustomerEnquiryRequest: UpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Enquiry>>;
|
|
2136
2251
|
};
|
|
2137
2252
|
/**
|
|
2138
2253
|
* EnquiriesApi - factory interface
|
|
@@ -2171,6 +2286,14 @@ export declare const EnquiriesApiFactory: (configuration?: Configuration, basePa
|
|
|
2171
2286
|
* @throws {RequiredError}
|
|
2172
2287
|
*/
|
|
2173
2288
|
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiryLogs200Response>;
|
|
2289
|
+
/**
|
|
2290
|
+
* Update a customer enquiry
|
|
2291
|
+
* @summary Update customer enquiry
|
|
2292
|
+
* @param {EnquiriesApiUpdateCustomerEnquiryRequest} requestParameters Request parameters.
|
|
2293
|
+
* @param {*} [options] Override http request option.
|
|
2294
|
+
* @throws {RequiredError}
|
|
2295
|
+
*/
|
|
2296
|
+
updateCustomerEnquiry(requestParameters: EnquiriesApiUpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Enquiry>;
|
|
2174
2297
|
};
|
|
2175
2298
|
/**
|
|
2176
2299
|
* Request parameters for createChatChannel operation in EnquiriesApi.
|
|
@@ -2296,6 +2419,37 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2296
2419
|
*/
|
|
2297
2420
|
readonly enquiryId: string;
|
|
2298
2421
|
}
|
|
2422
|
+
/**
|
|
2423
|
+
* Request parameters for updateCustomerEnquiry operation in EnquiriesApi.
|
|
2424
|
+
* @export
|
|
2425
|
+
* @interface EnquiriesApiUpdateCustomerEnquiryRequest
|
|
2426
|
+
*/
|
|
2427
|
+
export interface EnquiriesApiUpdateCustomerEnquiryRequest {
|
|
2428
|
+
/**
|
|
2429
|
+
* Project unique identifier
|
|
2430
|
+
* @type {string}
|
|
2431
|
+
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
2432
|
+
*/
|
|
2433
|
+
readonly project: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* The platform identifier
|
|
2436
|
+
* @type {string}
|
|
2437
|
+
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
2438
|
+
*/
|
|
2439
|
+
readonly platformId: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* The enquiry identifier
|
|
2442
|
+
* @type {string}
|
|
2443
|
+
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
2444
|
+
*/
|
|
2445
|
+
readonly enquiryId: string;
|
|
2446
|
+
/**
|
|
2447
|
+
* Enquiry update
|
|
2448
|
+
* @type {UpdateCustomerEnquiryRequest}
|
|
2449
|
+
* @memberof EnquiriesApiUpdateCustomerEnquiry
|
|
2450
|
+
*/
|
|
2451
|
+
readonly updateCustomerEnquiryRequest: UpdateCustomerEnquiryRequest;
|
|
2452
|
+
}
|
|
2299
2453
|
/**
|
|
2300
2454
|
* EnquiriesApi - object-oriented interface
|
|
2301
2455
|
* @export
|
|
@@ -2339,6 +2493,15 @@ export declare class EnquiriesApi extends BaseAPI {
|
|
|
2339
2493
|
* @memberof EnquiriesApi
|
|
2340
2494
|
*/
|
|
2341
2495
|
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerEnquiryLogs200Response, any>>;
|
|
2496
|
+
/**
|
|
2497
|
+
* Update a customer enquiry
|
|
2498
|
+
* @summary Update customer enquiry
|
|
2499
|
+
* @param {EnquiriesApiUpdateCustomerEnquiryRequest} requestParameters Request parameters.
|
|
2500
|
+
* @param {*} [options] Override http request option.
|
|
2501
|
+
* @throws {RequiredError}
|
|
2502
|
+
* @memberof EnquiriesApi
|
|
2503
|
+
*/
|
|
2504
|
+
updateCustomerEnquiry(requestParameters: EnquiriesApiUpdateCustomerEnquiryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Enquiry, any>>;
|
|
2342
2505
|
}
|
|
2343
2506
|
/**
|
|
2344
2507
|
* OrdersApi - axios parameter creator
|