@teemill/platform 0.18.0 → 0.20.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 +14 -2
- package/api.ts +861 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +535 -1
- package/dist/api.js +401 -2
- 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 +535 -1
- package/dist/esm/api.js +396 -1
- 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/Client.md +24 -0
- package/docs/EnquiriesApi.md +204 -0
- package/docs/Enquiry.md +42 -0
- package/docs/EnquiryExtraInputsInner.md +24 -0
- package/docs/EnquiryExtraInputsInnerValue.md +18 -0
- package/docs/ListCustomerEnquiries200Response.md +22 -0
- package/docs/ListCustomerEnquiryLogs200Response.md +20 -0
- package/docs/ListCustomerEnquiryLogs200ResponseLogsInner.md +22 -0
- package/docs/ListCustomerEnquiryLogs200ResponseLogsInnerCustomer.md +28 -0
- package/docs/OrdersApi.md +63 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/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.20.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -100,6 +100,31 @@ export interface AuthorizeStripe200Response {
|
|
|
100
100
|
*/
|
|
101
101
|
'redirect_url': string;
|
|
102
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @export
|
|
106
|
+
* @interface Client
|
|
107
|
+
*/
|
|
108
|
+
export interface Client {
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof Client
|
|
113
|
+
*/
|
|
114
|
+
'id'?: string;
|
|
115
|
+
/**
|
|
116
|
+
* API reference for the client
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof Client
|
|
119
|
+
*/
|
|
120
|
+
'ref'?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof Client
|
|
125
|
+
*/
|
|
126
|
+
'name'?: string;
|
|
127
|
+
}
|
|
103
128
|
/**
|
|
104
129
|
* Order recipient contact information, used only for courier tracking/updates.
|
|
105
130
|
* @export
|
|
@@ -225,6 +250,121 @@ export interface DeliveryEstimates {
|
|
|
225
250
|
*/
|
|
226
251
|
'max'?: string;
|
|
227
252
|
}
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @export
|
|
256
|
+
* @interface Enquiry
|
|
257
|
+
*/
|
|
258
|
+
export interface Enquiry {
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @memberof Enquiry
|
|
263
|
+
*/
|
|
264
|
+
'id': string;
|
|
265
|
+
/**
|
|
266
|
+
* API reference for the enquiry
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof Enquiry
|
|
269
|
+
*/
|
|
270
|
+
'ref': string;
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
|
|
274
|
+
* @memberof Enquiry
|
|
275
|
+
*/
|
|
276
|
+
'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {Client}
|
|
280
|
+
* @memberof Enquiry
|
|
281
|
+
*/
|
|
282
|
+
'client': Client;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof Enquiry
|
|
287
|
+
*/
|
|
288
|
+
'subject': string;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof Enquiry
|
|
293
|
+
*/
|
|
294
|
+
'body': string;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof Enquiry
|
|
299
|
+
*/
|
|
300
|
+
'createdAt': string;
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof Enquiry
|
|
305
|
+
*/
|
|
306
|
+
'updatedAt': string;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @type {Array<string>}
|
|
310
|
+
* @memberof Enquiry
|
|
311
|
+
*/
|
|
312
|
+
'tags': Array<string>;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof Enquiry
|
|
317
|
+
*/
|
|
318
|
+
'status': EnquiryStatusEnum;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @type {boolean}
|
|
322
|
+
* @memberof Enquiry
|
|
323
|
+
*/
|
|
324
|
+
'read': boolean;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {Array<EnquiryExtraInputsInner>}
|
|
328
|
+
* @memberof Enquiry
|
|
329
|
+
*/
|
|
330
|
+
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
331
|
+
}
|
|
332
|
+
export declare const EnquiryStatusEnum: {
|
|
333
|
+
readonly New: "New";
|
|
334
|
+
readonly Archived: "Archived";
|
|
335
|
+
readonly Priority: "Priority";
|
|
336
|
+
};
|
|
337
|
+
export type EnquiryStatusEnum = typeof EnquiryStatusEnum[keyof typeof EnquiryStatusEnum];
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @export
|
|
341
|
+
* @interface EnquiryExtraInputsInner
|
|
342
|
+
*/
|
|
343
|
+
export interface EnquiryExtraInputsInner {
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof EnquiryExtraInputsInner
|
|
348
|
+
*/
|
|
349
|
+
'name': string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof EnquiryExtraInputsInner
|
|
354
|
+
*/
|
|
355
|
+
'type': string;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {EnquiryExtraInputsInnerValue}
|
|
359
|
+
* @memberof EnquiryExtraInputsInner
|
|
360
|
+
*/
|
|
361
|
+
'value': EnquiryExtraInputsInnerValue;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* @type EnquiryExtraInputsInnerValue
|
|
365
|
+
* @export
|
|
366
|
+
*/
|
|
367
|
+
export type EnquiryExtraInputsInnerValue = Array<string | null> | string;
|
|
228
368
|
/**
|
|
229
369
|
*
|
|
230
370
|
* @export
|
|
@@ -406,6 +546,94 @@ export interface Image {
|
|
|
406
546
|
*/
|
|
407
547
|
'sortOrder'?: number;
|
|
408
548
|
}
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @export
|
|
552
|
+
* @interface ListCustomerEnquiries200Response
|
|
553
|
+
*/
|
|
554
|
+
export interface ListCustomerEnquiries200Response {
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @type {Array<Enquiry>}
|
|
558
|
+
* @memberof ListCustomerEnquiries200Response
|
|
559
|
+
*/
|
|
560
|
+
'enquiries'?: Array<Enquiry>;
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {number}
|
|
564
|
+
* @memberof ListCustomerEnquiries200Response
|
|
565
|
+
*/
|
|
566
|
+
'nextPageToken'?: number | null;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @export
|
|
571
|
+
* @interface ListCustomerEnquiryLogs200Response
|
|
572
|
+
*/
|
|
573
|
+
export interface ListCustomerEnquiryLogs200Response {
|
|
574
|
+
/**
|
|
575
|
+
*
|
|
576
|
+
* @type {Array<ListCustomerEnquiryLogs200ResponseLogsInner>}
|
|
577
|
+
* @memberof ListCustomerEnquiryLogs200Response
|
|
578
|
+
*/
|
|
579
|
+
'logs': Array<ListCustomerEnquiryLogs200ResponseLogsInner>;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @export
|
|
584
|
+
* @interface ListCustomerEnquiryLogs200ResponseLogsInner
|
|
585
|
+
*/
|
|
586
|
+
export interface ListCustomerEnquiryLogs200ResponseLogsInner {
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* @type {ListCustomerEnquiryLogs200ResponseLogsInnerCustomer}
|
|
590
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInner
|
|
591
|
+
*/
|
|
592
|
+
'customer': ListCustomerEnquiryLogs200ResponseLogsInnerCustomer;
|
|
593
|
+
/**
|
|
594
|
+
*
|
|
595
|
+
* @type {string}
|
|
596
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInner
|
|
597
|
+
*/
|
|
598
|
+
'createdAt': string;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @export
|
|
603
|
+
* @interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
604
|
+
*/
|
|
605
|
+
export interface ListCustomerEnquiryLogs200ResponseLogsInnerCustomer {
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
610
|
+
*/
|
|
611
|
+
'id'?: string;
|
|
612
|
+
/**
|
|
613
|
+
* API reference for the customer
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
616
|
+
*/
|
|
617
|
+
'ref'?: string;
|
|
618
|
+
/**
|
|
619
|
+
*
|
|
620
|
+
* @type {string}
|
|
621
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
622
|
+
*/
|
|
623
|
+
'firstName'?: string;
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
628
|
+
*/
|
|
629
|
+
'lastName'?: string;
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {string}
|
|
633
|
+
* @memberof ListCustomerEnquiryLogs200ResponseLogsInnerCustomer
|
|
634
|
+
*/
|
|
635
|
+
'email'?: string;
|
|
636
|
+
}
|
|
409
637
|
/**
|
|
410
638
|
*
|
|
411
639
|
* @export
|
|
@@ -1644,6 +1872,250 @@ export declare const ListCustomersSortByEnum: {
|
|
|
1644
1872
|
readonly LastPurchased2: "-lastPurchased";
|
|
1645
1873
|
};
|
|
1646
1874
|
export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
|
|
1875
|
+
/**
|
|
1876
|
+
* EnquiriesApi - axios parameter creator
|
|
1877
|
+
* @export
|
|
1878
|
+
*/
|
|
1879
|
+
export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1880
|
+
/**
|
|
1881
|
+
* Get a customer enquiry
|
|
1882
|
+
* @summary Get customer enquiry
|
|
1883
|
+
* @param {string} project Project unique identifier
|
|
1884
|
+
* @param {string} platformId The platform identifier
|
|
1885
|
+
* @param {string} enquiryId
|
|
1886
|
+
* @param {*} [options] Override http request option.
|
|
1887
|
+
* @throws {RequiredError}
|
|
1888
|
+
*/
|
|
1889
|
+
getCustomerEnquiry: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1890
|
+
/**
|
|
1891
|
+
* List customer enquiries
|
|
1892
|
+
* @summary List customer enquiries
|
|
1893
|
+
* @param {string} project Project unique identifier
|
|
1894
|
+
* @param {string} platformId The platform identifier
|
|
1895
|
+
* @param {number} [pageToken] Page reference token
|
|
1896
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1897
|
+
* @param {string} [search] Search term to filter based on enquiry title, content, customer name and customer email.
|
|
1898
|
+
* @param {string} [start] Start of date range to filter by
|
|
1899
|
+
* @param {string} [end] End of date range to filter by
|
|
1900
|
+
* @param {*} [options] Override http request option.
|
|
1901
|
+
* @throws {RequiredError}
|
|
1902
|
+
*/
|
|
1903
|
+
listCustomerEnquiries: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1904
|
+
/**
|
|
1905
|
+
* Lists all customer enquiry Logs
|
|
1906
|
+
* @summary List customer enquiry Logs
|
|
1907
|
+
* @param {string} project Project unique identifier
|
|
1908
|
+
* @param {string} platformId The platform identifier
|
|
1909
|
+
* @param {string} enquiryId
|
|
1910
|
+
* @param {*} [options] Override http request option.
|
|
1911
|
+
* @throws {RequiredError}
|
|
1912
|
+
*/
|
|
1913
|
+
listCustomerEnquiryLogs: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1914
|
+
};
|
|
1915
|
+
/**
|
|
1916
|
+
* EnquiriesApi - functional programming interface
|
|
1917
|
+
* @export
|
|
1918
|
+
*/
|
|
1919
|
+
export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
1920
|
+
/**
|
|
1921
|
+
* Get a customer enquiry
|
|
1922
|
+
* @summary Get customer enquiry
|
|
1923
|
+
* @param {string} project Project unique identifier
|
|
1924
|
+
* @param {string} platformId The platform identifier
|
|
1925
|
+
* @param {string} enquiryId
|
|
1926
|
+
* @param {*} [options] Override http request option.
|
|
1927
|
+
* @throws {RequiredError}
|
|
1928
|
+
*/
|
|
1929
|
+
getCustomerEnquiry(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Enquiry>>;
|
|
1930
|
+
/**
|
|
1931
|
+
* List customer enquiries
|
|
1932
|
+
* @summary List customer enquiries
|
|
1933
|
+
* @param {string} project Project unique identifier
|
|
1934
|
+
* @param {string} platformId The platform identifier
|
|
1935
|
+
* @param {number} [pageToken] Page reference token
|
|
1936
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1937
|
+
* @param {string} [search] Search term to filter based on enquiry title, content, customer name and customer email.
|
|
1938
|
+
* @param {string} [start] Start of date range to filter by
|
|
1939
|
+
* @param {string} [end] End of date range to filter by
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
*/
|
|
1943
|
+
listCustomerEnquiries(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerEnquiries200Response>>;
|
|
1944
|
+
/**
|
|
1945
|
+
* Lists all customer enquiry Logs
|
|
1946
|
+
* @summary List customer enquiry Logs
|
|
1947
|
+
* @param {string} project Project unique identifier
|
|
1948
|
+
* @param {string} platformId The platform identifier
|
|
1949
|
+
* @param {string} enquiryId
|
|
1950
|
+
* @param {*} [options] Override http request option.
|
|
1951
|
+
* @throws {RequiredError}
|
|
1952
|
+
*/
|
|
1953
|
+
listCustomerEnquiryLogs(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerEnquiryLogs200Response>>;
|
|
1954
|
+
};
|
|
1955
|
+
/**
|
|
1956
|
+
* EnquiriesApi - factory interface
|
|
1957
|
+
* @export
|
|
1958
|
+
*/
|
|
1959
|
+
export declare const EnquiriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1960
|
+
/**
|
|
1961
|
+
* Get a customer enquiry
|
|
1962
|
+
* @summary Get customer enquiry
|
|
1963
|
+
* @param {EnquiriesApiGetCustomerEnquiryRequest} requestParameters Request parameters.
|
|
1964
|
+
* @param {*} [options] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
getCustomerEnquiry(requestParameters: EnquiriesApiGetCustomerEnquiryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Enquiry>;
|
|
1968
|
+
/**
|
|
1969
|
+
* List customer enquiries
|
|
1970
|
+
* @summary List customer enquiries
|
|
1971
|
+
* @param {EnquiriesApiListCustomerEnquiriesRequest} requestParameters Request parameters.
|
|
1972
|
+
* @param {*} [options] Override http request option.
|
|
1973
|
+
* @throws {RequiredError}
|
|
1974
|
+
*/
|
|
1975
|
+
listCustomerEnquiries(requestParameters: EnquiriesApiListCustomerEnquiriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiries200Response>;
|
|
1976
|
+
/**
|
|
1977
|
+
* Lists all customer enquiry Logs
|
|
1978
|
+
* @summary List customer enquiry Logs
|
|
1979
|
+
* @param {EnquiriesApiListCustomerEnquiryLogsRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiryLogs200Response>;
|
|
1984
|
+
};
|
|
1985
|
+
/**
|
|
1986
|
+
* Request parameters for getCustomerEnquiry operation in EnquiriesApi.
|
|
1987
|
+
* @export
|
|
1988
|
+
* @interface EnquiriesApiGetCustomerEnquiryRequest
|
|
1989
|
+
*/
|
|
1990
|
+
export interface EnquiriesApiGetCustomerEnquiryRequest {
|
|
1991
|
+
/**
|
|
1992
|
+
* Project unique identifier
|
|
1993
|
+
* @type {string}
|
|
1994
|
+
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
1995
|
+
*/
|
|
1996
|
+
readonly project: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* The platform identifier
|
|
1999
|
+
* @type {string}
|
|
2000
|
+
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
2001
|
+
*/
|
|
2002
|
+
readonly platformId: string;
|
|
2003
|
+
/**
|
|
2004
|
+
*
|
|
2005
|
+
* @type {string}
|
|
2006
|
+
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
2007
|
+
*/
|
|
2008
|
+
readonly enquiryId: string;
|
|
2009
|
+
}
|
|
2010
|
+
/**
|
|
2011
|
+
* Request parameters for listCustomerEnquiries operation in EnquiriesApi.
|
|
2012
|
+
* @export
|
|
2013
|
+
* @interface EnquiriesApiListCustomerEnquiriesRequest
|
|
2014
|
+
*/
|
|
2015
|
+
export interface EnquiriesApiListCustomerEnquiriesRequest {
|
|
2016
|
+
/**
|
|
2017
|
+
* Project unique identifier
|
|
2018
|
+
* @type {string}
|
|
2019
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2020
|
+
*/
|
|
2021
|
+
readonly project: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* The platform identifier
|
|
2024
|
+
* @type {string}
|
|
2025
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2026
|
+
*/
|
|
2027
|
+
readonly platformId: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* Page reference token
|
|
2030
|
+
* @type {number}
|
|
2031
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2032
|
+
*/
|
|
2033
|
+
readonly pageToken?: number;
|
|
2034
|
+
/**
|
|
2035
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2036
|
+
* @type {number}
|
|
2037
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2038
|
+
*/
|
|
2039
|
+
readonly pageSize?: number;
|
|
2040
|
+
/**
|
|
2041
|
+
* Search term to filter based on enquiry title, content, customer name and customer email.
|
|
2042
|
+
* @type {string}
|
|
2043
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2044
|
+
*/
|
|
2045
|
+
readonly search?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* Start of date range to filter by
|
|
2048
|
+
* @type {string}
|
|
2049
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2050
|
+
*/
|
|
2051
|
+
readonly start?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* End of date range to filter by
|
|
2054
|
+
* @type {string}
|
|
2055
|
+
* @memberof EnquiriesApiListCustomerEnquiries
|
|
2056
|
+
*/
|
|
2057
|
+
readonly end?: string;
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* Request parameters for listCustomerEnquiryLogs operation in EnquiriesApi.
|
|
2061
|
+
* @export
|
|
2062
|
+
* @interface EnquiriesApiListCustomerEnquiryLogsRequest
|
|
2063
|
+
*/
|
|
2064
|
+
export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
2065
|
+
/**
|
|
2066
|
+
* Project unique identifier
|
|
2067
|
+
* @type {string}
|
|
2068
|
+
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2069
|
+
*/
|
|
2070
|
+
readonly project: string;
|
|
2071
|
+
/**
|
|
2072
|
+
* The platform identifier
|
|
2073
|
+
* @type {string}
|
|
2074
|
+
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2075
|
+
*/
|
|
2076
|
+
readonly platformId: string;
|
|
2077
|
+
/**
|
|
2078
|
+
*
|
|
2079
|
+
* @type {string}
|
|
2080
|
+
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2081
|
+
*/
|
|
2082
|
+
readonly enquiryId: string;
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* EnquiriesApi - object-oriented interface
|
|
2086
|
+
* @export
|
|
2087
|
+
* @class EnquiriesApi
|
|
2088
|
+
* @extends {BaseAPI}
|
|
2089
|
+
*/
|
|
2090
|
+
export declare class EnquiriesApi extends BaseAPI {
|
|
2091
|
+
/**
|
|
2092
|
+
* Get a customer enquiry
|
|
2093
|
+
* @summary Get customer enquiry
|
|
2094
|
+
* @param {EnquiriesApiGetCustomerEnquiryRequest} requestParameters Request parameters.
|
|
2095
|
+
* @param {*} [options] Override http request option.
|
|
2096
|
+
* @throws {RequiredError}
|
|
2097
|
+
* @memberof EnquiriesApi
|
|
2098
|
+
*/
|
|
2099
|
+
getCustomerEnquiry(requestParameters: EnquiriesApiGetCustomerEnquiryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Enquiry, any>>;
|
|
2100
|
+
/**
|
|
2101
|
+
* List customer enquiries
|
|
2102
|
+
* @summary List customer enquiries
|
|
2103
|
+
* @param {EnquiriesApiListCustomerEnquiriesRequest} requestParameters Request parameters.
|
|
2104
|
+
* @param {*} [options] Override http request option.
|
|
2105
|
+
* @throws {RequiredError}
|
|
2106
|
+
* @memberof EnquiriesApi
|
|
2107
|
+
*/
|
|
2108
|
+
listCustomerEnquiries(requestParameters: EnquiriesApiListCustomerEnquiriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerEnquiries200Response, any>>;
|
|
2109
|
+
/**
|
|
2110
|
+
* Lists all customer enquiry Logs
|
|
2111
|
+
* @summary List customer enquiry Logs
|
|
2112
|
+
* @param {EnquiriesApiListCustomerEnquiryLogsRequest} requestParameters Request parameters.
|
|
2113
|
+
* @param {*} [options] Override http request option.
|
|
2114
|
+
* @throws {RequiredError}
|
|
2115
|
+
* @memberof EnquiriesApi
|
|
2116
|
+
*/
|
|
2117
|
+
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerEnquiryLogs200Response, any>>;
|
|
2118
|
+
}
|
|
1647
2119
|
/**
|
|
1648
2120
|
* OrdersApi - axios parameter creator
|
|
1649
2121
|
* @export
|
|
@@ -1706,6 +2178,16 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1706
2178
|
* @throws {RequiredError}
|
|
1707
2179
|
*/
|
|
1708
2180
|
listOrders: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2181
|
+
/**
|
|
2182
|
+
* Retries failed platform payment, so fulfillment can proceed.
|
|
2183
|
+
* @summary Retry
|
|
2184
|
+
* @param {string} project Project unique identifier
|
|
2185
|
+
* @param {string} platformId The platform identifier
|
|
2186
|
+
* @param {string} orderId The order identifier
|
|
2187
|
+
* @param {*} [options] Override http request option.
|
|
2188
|
+
* @throws {RequiredError}
|
|
2189
|
+
*/
|
|
2190
|
+
retryPlatformPayment: (project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1709
2191
|
/**
|
|
1710
2192
|
* Update a fulfillment that belongs to an order placed through the platform
|
|
1711
2193
|
* @summary Update fulfillment
|
|
@@ -1780,6 +2262,16 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
1780
2262
|
* @throws {RequiredError}
|
|
1781
2263
|
*/
|
|
1782
2264
|
listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>>;
|
|
2265
|
+
/**
|
|
2266
|
+
* Retries failed platform payment, so fulfillment can proceed.
|
|
2267
|
+
* @summary Retry
|
|
2268
|
+
* @param {string} project Project unique identifier
|
|
2269
|
+
* @param {string} platformId The platform identifier
|
|
2270
|
+
* @param {string} orderId The order identifier
|
|
2271
|
+
* @param {*} [options] Override http request option.
|
|
2272
|
+
* @throws {RequiredError}
|
|
2273
|
+
*/
|
|
2274
|
+
retryPlatformPayment(project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
1783
2275
|
/**
|
|
1784
2276
|
* Update a fulfillment that belongs to an order placed through the platform
|
|
1785
2277
|
* @summary Update fulfillment
|
|
@@ -1837,6 +2329,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
1837
2329
|
* @throws {RequiredError}
|
|
1838
2330
|
*/
|
|
1839
2331
|
listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrdersResponse>;
|
|
2332
|
+
/**
|
|
2333
|
+
* Retries failed platform payment, so fulfillment can proceed.
|
|
2334
|
+
* @summary Retry
|
|
2335
|
+
* @param {OrdersApiRetryPlatformPaymentRequest} requestParameters Request parameters.
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
*/
|
|
2339
|
+
retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
1840
2340
|
/**
|
|
1841
2341
|
* Update a fulfillment that belongs to an order placed through the platform
|
|
1842
2342
|
* @summary Update fulfillment
|
|
@@ -2013,6 +2513,31 @@ export interface OrdersApiListOrdersRequest {
|
|
|
2013
2513
|
*/
|
|
2014
2514
|
readonly dateFilterType?: ListOrdersDateFilterTypeEnum;
|
|
2015
2515
|
}
|
|
2516
|
+
/**
|
|
2517
|
+
* Request parameters for retryPlatformPayment operation in OrdersApi.
|
|
2518
|
+
* @export
|
|
2519
|
+
* @interface OrdersApiRetryPlatformPaymentRequest
|
|
2520
|
+
*/
|
|
2521
|
+
export interface OrdersApiRetryPlatformPaymentRequest {
|
|
2522
|
+
/**
|
|
2523
|
+
* Project unique identifier
|
|
2524
|
+
* @type {string}
|
|
2525
|
+
* @memberof OrdersApiRetryPlatformPayment
|
|
2526
|
+
*/
|
|
2527
|
+
readonly project: string;
|
|
2528
|
+
/**
|
|
2529
|
+
* The platform identifier
|
|
2530
|
+
* @type {string}
|
|
2531
|
+
* @memberof OrdersApiRetryPlatformPayment
|
|
2532
|
+
*/
|
|
2533
|
+
readonly platformId: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* The order identifier
|
|
2536
|
+
* @type {string}
|
|
2537
|
+
* @memberof OrdersApiRetryPlatformPayment
|
|
2538
|
+
*/
|
|
2539
|
+
readonly orderId: string;
|
|
2540
|
+
}
|
|
2016
2541
|
/**
|
|
2017
2542
|
* Request parameters for updateFulfillment operation in OrdersApi.
|
|
2018
2543
|
* @export
|
|
@@ -2096,6 +2621,15 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
2096
2621
|
* @memberof OrdersApi
|
|
2097
2622
|
*/
|
|
2098
2623
|
listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrdersResponse, any>>;
|
|
2624
|
+
/**
|
|
2625
|
+
* Retries failed platform payment, so fulfillment can proceed.
|
|
2626
|
+
* @summary Retry
|
|
2627
|
+
* @param {OrdersApiRetryPlatformPaymentRequest} requestParameters Request parameters.
|
|
2628
|
+
* @param {*} [options] Override http request option.
|
|
2629
|
+
* @throws {RequiredError}
|
|
2630
|
+
* @memberof OrdersApi
|
|
2631
|
+
*/
|
|
2632
|
+
retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
2099
2633
|
/**
|
|
2100
2634
|
* Update a fulfillment that belongs to an order placed through the platform
|
|
2101
2635
|
* @summary Update fulfillment
|