@teemill/platform 0.22.3 → 0.23.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 +143 -7
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +88 -7
- package/dist/api.js +88 -5
- 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 +88 -7
- package/dist/esm/api.js +88 -5
- 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/CreateChatChannel200Response.md +20 -0
- package/docs/EnquiriesApi.md +67 -4
- package/docs/Enquiry.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.
|
|
1
|
+
## @teemill/platform@0.23.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/platform@0.
|
|
39
|
+
npm install @teemill/platform@0.23.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Class | Method | HTTP request | Description
|
|
|
54
54
|
*CustomersApi* | [**exportCustomers**](docs/CustomersApi.md#exportcustomers) | **GET** /v1/platform/{platformId}/customers/export | Export customers
|
|
55
55
|
*CustomersApi* | [**getCustomer**](docs/CustomersApi.md#getcustomer) | **GET** /v1/platform/{platformId}/customers/{customerId} | Get customer
|
|
56
56
|
*CustomersApi* | [**listCustomers**](docs/CustomersApi.md#listcustomers) | **GET** /v1/platform/{platformId}/customers | List customers
|
|
57
|
+
*EnquiriesApi* | [**createChatChannel**](docs/EnquiriesApi.md#createchatchannel) | **POST** /v1/platform/{platformId}/customers/enquiries/{enquiryId}/chat-channel | Create chat channel
|
|
57
58
|
*EnquiriesApi* | [**getCustomerEnquiry**](docs/EnquiriesApi.md#getcustomerenquiry) | **GET** /v1/platform/{platformId}/customers/enquiries/{enquiryId} | Get customer enquiry
|
|
58
59
|
*EnquiriesApi* | [**listCustomerEnquiries**](docs/EnquiriesApi.md#listcustomerenquiries) | **GET** /v1/platform/{platformId}/customers/enquiries | List customer enquiries
|
|
59
60
|
*EnquiriesApi* | [**listCustomerEnquiryLogs**](docs/EnquiriesApi.md#listcustomerenquirylogs) | **GET** /v1/platform/{platformId}/customers/enquiries/{enquiryId}/logs | List customer enquiry Logs
|
|
@@ -90,6 +91,7 @@ Class | Method | HTTP request | Description
|
|
|
90
91
|
- [Client](docs/Client.md)
|
|
91
92
|
- [ContactInformation](docs/ContactInformation.md)
|
|
92
93
|
- [Coupon](docs/Coupon.md)
|
|
94
|
+
- [CreateChatChannel200Response](docs/CreateChatChannel200Response.md)
|
|
93
95
|
- [CreateDomainRequest](docs/CreateDomainRequest.md)
|
|
94
96
|
- [Customer](docs/Customer.md)
|
|
95
97
|
- [CustomersResponse](docs/CustomersResponse.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.23.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -160,6 +160,19 @@ export interface Coupon {
|
|
|
160
160
|
*/
|
|
161
161
|
'code': string;
|
|
162
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @export
|
|
166
|
+
* @interface CreateChatChannel200Response
|
|
167
|
+
*/
|
|
168
|
+
export interface CreateChatChannel200Response {
|
|
169
|
+
/**
|
|
170
|
+
* Reference to the chat channel resource
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof CreateChatChannel200Response
|
|
173
|
+
*/
|
|
174
|
+
'chatChannelRef': string;
|
|
175
|
+
}
|
|
163
176
|
/**
|
|
164
177
|
*
|
|
165
178
|
* @export
|
|
@@ -369,6 +382,12 @@ export interface Enquiry {
|
|
|
369
382
|
* @memberof Enquiry
|
|
370
383
|
*/
|
|
371
384
|
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
385
|
+
/**
|
|
386
|
+
* Reference to the chat channel resource
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof Enquiry
|
|
389
|
+
*/
|
|
390
|
+
'chatChannelRef'?: string | null;
|
|
372
391
|
}
|
|
373
392
|
|
|
374
393
|
export const EnquiryStatusEnum = {
|
|
@@ -2282,12 +2301,64 @@ export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeo
|
|
|
2282
2301
|
*/
|
|
2283
2302
|
export const EnquiriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2284
2303
|
return {
|
|
2304
|
+
/**
|
|
2305
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2306
|
+
* @summary Create chat channel
|
|
2307
|
+
* @param {string} project Project unique identifier
|
|
2308
|
+
* @param {string} platformId The platform identifier
|
|
2309
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2310
|
+
* @param {*} [options] Override http request option.
|
|
2311
|
+
* @throws {RequiredError}
|
|
2312
|
+
*/
|
|
2313
|
+
createChatChannel: async (project: string, platformId: string, enquiryId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2314
|
+
// verify required parameter 'project' is not null or undefined
|
|
2315
|
+
assertParamExists('createChatChannel', 'project', project)
|
|
2316
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
2317
|
+
assertParamExists('createChatChannel', 'platformId', platformId)
|
|
2318
|
+
// verify required parameter 'enquiryId' is not null or undefined
|
|
2319
|
+
assertParamExists('createChatChannel', 'enquiryId', enquiryId)
|
|
2320
|
+
const localVarPath = `/v1/platform/{platformId}/customers/enquiries/{enquiryId}/chat-channel`
|
|
2321
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
2322
|
+
.replace(`{${"enquiryId"}}`, encodeURIComponent(String(enquiryId)));
|
|
2323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2324
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2325
|
+
let baseOptions;
|
|
2326
|
+
if (configuration) {
|
|
2327
|
+
baseOptions = configuration.baseOptions;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2331
|
+
const localVarHeaderParameter = {} as any;
|
|
2332
|
+
const localVarQueryParameter = {} as any;
|
|
2333
|
+
|
|
2334
|
+
// authentication session-oauth required
|
|
2335
|
+
// oauth required
|
|
2336
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
2337
|
+
|
|
2338
|
+
// authentication api-key required
|
|
2339
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2340
|
+
|
|
2341
|
+
if (project !== undefined) {
|
|
2342
|
+
localVarQueryParameter['project'] = project;
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2350
|
+
|
|
2351
|
+
return {
|
|
2352
|
+
url: toPathString(localVarUrlObj),
|
|
2353
|
+
options: localVarRequestOptions,
|
|
2354
|
+
};
|
|
2355
|
+
},
|
|
2285
2356
|
/**
|
|
2286
2357
|
* Get a customer enquiry
|
|
2287
2358
|
* @summary Get customer enquiry
|
|
2288
2359
|
* @param {string} project Project unique identifier
|
|
2289
2360
|
* @param {string} platformId The platform identifier
|
|
2290
|
-
* @param {string} enquiryId
|
|
2361
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2291
2362
|
* @param {*} [options] Override http request option.
|
|
2292
2363
|
* @throws {RequiredError}
|
|
2293
2364
|
*/
|
|
@@ -2416,7 +2487,7 @@ export const EnquiriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2416
2487
|
* @summary List customer enquiry Logs
|
|
2417
2488
|
* @param {string} project Project unique identifier
|
|
2418
2489
|
* @param {string} platformId The platform identifier
|
|
2419
|
-
* @param {string} enquiryId
|
|
2490
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2420
2491
|
* @param {*} [options] Override http request option.
|
|
2421
2492
|
* @throws {RequiredError}
|
|
2422
2493
|
*/
|
|
@@ -2473,12 +2544,27 @@ export const EnquiriesApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2473
2544
|
export const EnquiriesApiFp = function(configuration?: Configuration) {
|
|
2474
2545
|
const localVarAxiosParamCreator = EnquiriesApiAxiosParamCreator(configuration)
|
|
2475
2546
|
return {
|
|
2547
|
+
/**
|
|
2548
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2549
|
+
* @summary Create chat channel
|
|
2550
|
+
* @param {string} project Project unique identifier
|
|
2551
|
+
* @param {string} platformId The platform identifier
|
|
2552
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2553
|
+
* @param {*} [options] Override http request option.
|
|
2554
|
+
* @throws {RequiredError}
|
|
2555
|
+
*/
|
|
2556
|
+
async createChatChannel(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChatChannel200Response>> {
|
|
2557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createChatChannel(project, platformId, enquiryId, options);
|
|
2558
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2559
|
+
const localVarOperationServerBasePath = operationServerMap['EnquiriesApi.createChatChannel']?.[localVarOperationServerIndex]?.url;
|
|
2560
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2561
|
+
},
|
|
2476
2562
|
/**
|
|
2477
2563
|
* Get a customer enquiry
|
|
2478
2564
|
* @summary Get customer enquiry
|
|
2479
2565
|
* @param {string} project Project unique identifier
|
|
2480
2566
|
* @param {string} platformId The platform identifier
|
|
2481
|
-
* @param {string} enquiryId
|
|
2567
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2482
2568
|
* @param {*} [options] Override http request option.
|
|
2483
2569
|
* @throws {RequiredError}
|
|
2484
2570
|
*/
|
|
@@ -2512,7 +2598,7 @@ export const EnquiriesApiFp = function(configuration?: Configuration) {
|
|
|
2512
2598
|
* @summary List customer enquiry Logs
|
|
2513
2599
|
* @param {string} project Project unique identifier
|
|
2514
2600
|
* @param {string} platformId The platform identifier
|
|
2515
|
-
* @param {string} enquiryId
|
|
2601
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2516
2602
|
* @param {*} [options] Override http request option.
|
|
2517
2603
|
* @throws {RequiredError}
|
|
2518
2604
|
*/
|
|
@@ -2532,6 +2618,16 @@ export const EnquiriesApiFp = function(configuration?: Configuration) {
|
|
|
2532
2618
|
export const EnquiriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2533
2619
|
const localVarFp = EnquiriesApiFp(configuration)
|
|
2534
2620
|
return {
|
|
2621
|
+
/**
|
|
2622
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2623
|
+
* @summary Create chat channel
|
|
2624
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2625
|
+
* @param {*} [options] Override http request option.
|
|
2626
|
+
* @throws {RequiredError}
|
|
2627
|
+
*/
|
|
2628
|
+
createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChatChannel200Response> {
|
|
2629
|
+
return localVarFp.createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(axios, basePath));
|
|
2630
|
+
},
|
|
2535
2631
|
/**
|
|
2536
2632
|
* Get a customer enquiry
|
|
2537
2633
|
* @summary Get customer enquiry
|
|
@@ -2565,6 +2661,34 @@ export const EnquiriesApiFactory = function (configuration?: Configuration, base
|
|
|
2565
2661
|
};
|
|
2566
2662
|
};
|
|
2567
2663
|
|
|
2664
|
+
/**
|
|
2665
|
+
* Request parameters for createChatChannel operation in EnquiriesApi.
|
|
2666
|
+
* @export
|
|
2667
|
+
* @interface EnquiriesApiCreateChatChannelRequest
|
|
2668
|
+
*/
|
|
2669
|
+
export interface EnquiriesApiCreateChatChannelRequest {
|
|
2670
|
+
/**
|
|
2671
|
+
* Project unique identifier
|
|
2672
|
+
* @type {string}
|
|
2673
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2674
|
+
*/
|
|
2675
|
+
readonly project: string
|
|
2676
|
+
|
|
2677
|
+
/**
|
|
2678
|
+
* The platform identifier
|
|
2679
|
+
* @type {string}
|
|
2680
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2681
|
+
*/
|
|
2682
|
+
readonly platformId: string
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* The enquiry identifier
|
|
2686
|
+
* @type {string}
|
|
2687
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2688
|
+
*/
|
|
2689
|
+
readonly enquiryId: string
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2568
2692
|
/**
|
|
2569
2693
|
* Request parameters for getCustomerEnquiry operation in EnquiriesApi.
|
|
2570
2694
|
* @export
|
|
@@ -2586,7 +2710,7 @@ export interface EnquiriesApiGetCustomerEnquiryRequest {
|
|
|
2586
2710
|
readonly platformId: string
|
|
2587
2711
|
|
|
2588
2712
|
/**
|
|
2589
|
-
*
|
|
2713
|
+
* The enquiry identifier
|
|
2590
2714
|
* @type {string}
|
|
2591
2715
|
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
2592
2716
|
*/
|
|
@@ -2670,7 +2794,7 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2670
2794
|
readonly platformId: string
|
|
2671
2795
|
|
|
2672
2796
|
/**
|
|
2673
|
-
*
|
|
2797
|
+
* The enquiry identifier
|
|
2674
2798
|
* @type {string}
|
|
2675
2799
|
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2676
2800
|
*/
|
|
@@ -2684,6 +2808,18 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2684
2808
|
* @extends {BaseAPI}
|
|
2685
2809
|
*/
|
|
2686
2810
|
export class EnquiriesApi extends BaseAPI {
|
|
2811
|
+
/**
|
|
2812
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2813
|
+
* @summary Create chat channel
|
|
2814
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2815
|
+
* @param {*} [options] Override http request option.
|
|
2816
|
+
* @throws {RequiredError}
|
|
2817
|
+
* @memberof EnquiriesApi
|
|
2818
|
+
*/
|
|
2819
|
+
public createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig) {
|
|
2820
|
+
return EnquiriesApiFp(this.configuration).createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2687
2823
|
/**
|
|
2688
2824
|
* Get a customer enquiry
|
|
2689
2825
|
* @summary Get customer enquiry
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.23.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -150,6 +150,19 @@ export interface Coupon {
|
|
|
150
150
|
*/
|
|
151
151
|
'code': string;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @export
|
|
156
|
+
* @interface CreateChatChannel200Response
|
|
157
|
+
*/
|
|
158
|
+
export interface CreateChatChannel200Response {
|
|
159
|
+
/**
|
|
160
|
+
* Reference to the chat channel resource
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof CreateChatChannel200Response
|
|
163
|
+
*/
|
|
164
|
+
'chatChannelRef': string;
|
|
165
|
+
}
|
|
153
166
|
/**
|
|
154
167
|
*
|
|
155
168
|
* @export
|
|
@@ -359,6 +372,12 @@ export interface Enquiry {
|
|
|
359
372
|
* @memberof Enquiry
|
|
360
373
|
*/
|
|
361
374
|
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
375
|
+
/**
|
|
376
|
+
* Reference to the chat channel resource
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof Enquiry
|
|
379
|
+
*/
|
|
380
|
+
'chatChannelRef'?: string | null;
|
|
362
381
|
}
|
|
363
382
|
export declare const EnquiryStatusEnum: {
|
|
364
383
|
readonly New: "New";
|
|
@@ -2014,12 +2033,22 @@ export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeo
|
|
|
2014
2033
|
* @export
|
|
2015
2034
|
*/
|
|
2016
2035
|
export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2036
|
+
/**
|
|
2037
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2038
|
+
* @summary Create chat channel
|
|
2039
|
+
* @param {string} project Project unique identifier
|
|
2040
|
+
* @param {string} platformId The platform identifier
|
|
2041
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2042
|
+
* @param {*} [options] Override http request option.
|
|
2043
|
+
* @throws {RequiredError}
|
|
2044
|
+
*/
|
|
2045
|
+
createChatChannel: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2017
2046
|
/**
|
|
2018
2047
|
* Get a customer enquiry
|
|
2019
2048
|
* @summary Get customer enquiry
|
|
2020
2049
|
* @param {string} project Project unique identifier
|
|
2021
2050
|
* @param {string} platformId The platform identifier
|
|
2022
|
-
* @param {string} enquiryId
|
|
2051
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2023
2052
|
* @param {*} [options] Override http request option.
|
|
2024
2053
|
* @throws {RequiredError}
|
|
2025
2054
|
*/
|
|
@@ -2043,7 +2072,7 @@ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2043
2072
|
* @summary List customer enquiry Logs
|
|
2044
2073
|
* @param {string} project Project unique identifier
|
|
2045
2074
|
* @param {string} platformId The platform identifier
|
|
2046
|
-
* @param {string} enquiryId
|
|
2075
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2047
2076
|
* @param {*} [options] Override http request option.
|
|
2048
2077
|
* @throws {RequiredError}
|
|
2049
2078
|
*/
|
|
@@ -2054,12 +2083,22 @@ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2054
2083
|
* @export
|
|
2055
2084
|
*/
|
|
2056
2085
|
export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
2086
|
+
/**
|
|
2087
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2088
|
+
* @summary Create chat channel
|
|
2089
|
+
* @param {string} project Project unique identifier
|
|
2090
|
+
* @param {string} platformId The platform identifier
|
|
2091
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
*/
|
|
2095
|
+
createChatChannel(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChatChannel200Response>>;
|
|
2057
2096
|
/**
|
|
2058
2097
|
* Get a customer enquiry
|
|
2059
2098
|
* @summary Get customer enquiry
|
|
2060
2099
|
* @param {string} project Project unique identifier
|
|
2061
2100
|
* @param {string} platformId The platform identifier
|
|
2062
|
-
* @param {string} enquiryId
|
|
2101
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2063
2102
|
* @param {*} [options] Override http request option.
|
|
2064
2103
|
* @throws {RequiredError}
|
|
2065
2104
|
*/
|
|
@@ -2083,7 +2122,7 @@ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
|
2083
2122
|
* @summary List customer enquiry Logs
|
|
2084
2123
|
* @param {string} project Project unique identifier
|
|
2085
2124
|
* @param {string} platformId The platform identifier
|
|
2086
|
-
* @param {string} enquiryId
|
|
2125
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2087
2126
|
* @param {*} [options] Override http request option.
|
|
2088
2127
|
* @throws {RequiredError}
|
|
2089
2128
|
*/
|
|
@@ -2094,6 +2133,14 @@ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
|
2094
2133
|
* @export
|
|
2095
2134
|
*/
|
|
2096
2135
|
export declare const EnquiriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2136
|
+
/**
|
|
2137
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2138
|
+
* @summary Create chat channel
|
|
2139
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
*/
|
|
2143
|
+
createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChatChannel200Response>;
|
|
2097
2144
|
/**
|
|
2098
2145
|
* Get a customer enquiry
|
|
2099
2146
|
* @summary Get customer enquiry
|
|
@@ -2119,6 +2166,31 @@ export declare const EnquiriesApiFactory: (configuration?: Configuration, basePa
|
|
|
2119
2166
|
*/
|
|
2120
2167
|
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiryLogs200Response>;
|
|
2121
2168
|
};
|
|
2169
|
+
/**
|
|
2170
|
+
* Request parameters for createChatChannel operation in EnquiriesApi.
|
|
2171
|
+
* @export
|
|
2172
|
+
* @interface EnquiriesApiCreateChatChannelRequest
|
|
2173
|
+
*/
|
|
2174
|
+
export interface EnquiriesApiCreateChatChannelRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
* Project unique identifier
|
|
2177
|
+
* @type {string}
|
|
2178
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2179
|
+
*/
|
|
2180
|
+
readonly project: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* The platform identifier
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2185
|
+
*/
|
|
2186
|
+
readonly platformId: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The enquiry identifier
|
|
2189
|
+
* @type {string}
|
|
2190
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2191
|
+
*/
|
|
2192
|
+
readonly enquiryId: string;
|
|
2193
|
+
}
|
|
2122
2194
|
/**
|
|
2123
2195
|
* Request parameters for getCustomerEnquiry operation in EnquiriesApi.
|
|
2124
2196
|
* @export
|
|
@@ -2138,7 +2210,7 @@ export interface EnquiriesApiGetCustomerEnquiryRequest {
|
|
|
2138
2210
|
*/
|
|
2139
2211
|
readonly platformId: string;
|
|
2140
2212
|
/**
|
|
2141
|
-
*
|
|
2213
|
+
* The enquiry identifier
|
|
2142
2214
|
* @type {string}
|
|
2143
2215
|
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
2144
2216
|
*/
|
|
@@ -2212,7 +2284,7 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2212
2284
|
*/
|
|
2213
2285
|
readonly platformId: string;
|
|
2214
2286
|
/**
|
|
2215
|
-
*
|
|
2287
|
+
* The enquiry identifier
|
|
2216
2288
|
* @type {string}
|
|
2217
2289
|
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2218
2290
|
*/
|
|
@@ -2225,6 +2297,15 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2225
2297
|
* @extends {BaseAPI}
|
|
2226
2298
|
*/
|
|
2227
2299
|
export declare class EnquiriesApi extends BaseAPI {
|
|
2300
|
+
/**
|
|
2301
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2302
|
+
* @summary Create chat channel
|
|
2303
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2304
|
+
* @param {*} [options] Override http request option.
|
|
2305
|
+
* @throws {RequiredError}
|
|
2306
|
+
* @memberof EnquiriesApi
|
|
2307
|
+
*/
|
|
2308
|
+
createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateChatChannel200Response, any>>;
|
|
2228
2309
|
/**
|
|
2229
2310
|
* Get a customer enquiry
|
|
2230
2311
|
* @summary Get customer enquiry
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.23.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -434,12 +434,56 @@ exports.ListCustomersSortByEnum = {
|
|
|
434
434
|
*/
|
|
435
435
|
const EnquiriesApiAxiosParamCreator = function (configuration) {
|
|
436
436
|
return {
|
|
437
|
+
/**
|
|
438
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
439
|
+
* @summary Create chat channel
|
|
440
|
+
* @param {string} project Project unique identifier
|
|
441
|
+
* @param {string} platformId The platform identifier
|
|
442
|
+
* @param {string} enquiryId The enquiry identifier
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
createChatChannel: (project_1, platformId_1, enquiryId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, enquiryId_1, ...args_1], void 0, function* (project, platformId, enquiryId, options = {}) {
|
|
447
|
+
// verify required parameter 'project' is not null or undefined
|
|
448
|
+
(0, common_1.assertParamExists)('createChatChannel', 'project', project);
|
|
449
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
450
|
+
(0, common_1.assertParamExists)('createChatChannel', 'platformId', platformId);
|
|
451
|
+
// verify required parameter 'enquiryId' is not null or undefined
|
|
452
|
+
(0, common_1.assertParamExists)('createChatChannel', 'enquiryId', enquiryId);
|
|
453
|
+
const localVarPath = `/v1/platform/{platformId}/customers/enquiries/{enquiryId}/chat-channel`
|
|
454
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
455
|
+
.replace(`{${"enquiryId"}}`, encodeURIComponent(String(enquiryId)));
|
|
456
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
457
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
458
|
+
let baseOptions;
|
|
459
|
+
if (configuration) {
|
|
460
|
+
baseOptions = configuration.baseOptions;
|
|
461
|
+
}
|
|
462
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
463
|
+
const localVarHeaderParameter = {};
|
|
464
|
+
const localVarQueryParameter = {};
|
|
465
|
+
// authentication session-oauth required
|
|
466
|
+
// oauth required
|
|
467
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
468
|
+
// authentication api-key required
|
|
469
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
470
|
+
if (project !== undefined) {
|
|
471
|
+
localVarQueryParameter['project'] = project;
|
|
472
|
+
}
|
|
473
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
476
|
+
return {
|
|
477
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
478
|
+
options: localVarRequestOptions,
|
|
479
|
+
};
|
|
480
|
+
}),
|
|
437
481
|
/**
|
|
438
482
|
* Get a customer enquiry
|
|
439
483
|
* @summary Get customer enquiry
|
|
440
484
|
* @param {string} project Project unique identifier
|
|
441
485
|
* @param {string} platformId The platform identifier
|
|
442
|
-
* @param {string} enquiryId
|
|
486
|
+
* @param {string} enquiryId The enquiry identifier
|
|
443
487
|
* @param {*} [options] Override http request option.
|
|
444
488
|
* @throws {RequiredError}
|
|
445
489
|
*/
|
|
@@ -547,7 +591,7 @@ const EnquiriesApiAxiosParamCreator = function (configuration) {
|
|
|
547
591
|
* @summary List customer enquiry Logs
|
|
548
592
|
* @param {string} project Project unique identifier
|
|
549
593
|
* @param {string} platformId The platform identifier
|
|
550
|
-
* @param {string} enquiryId
|
|
594
|
+
* @param {string} enquiryId The enquiry identifier
|
|
551
595
|
* @param {*} [options] Override http request option.
|
|
552
596
|
* @throws {RequiredError}
|
|
553
597
|
*/
|
|
@@ -596,12 +640,30 @@ exports.EnquiriesApiAxiosParamCreator = EnquiriesApiAxiosParamCreator;
|
|
|
596
640
|
const EnquiriesApiFp = function (configuration) {
|
|
597
641
|
const localVarAxiosParamCreator = (0, exports.EnquiriesApiAxiosParamCreator)(configuration);
|
|
598
642
|
return {
|
|
643
|
+
/**
|
|
644
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
645
|
+
* @summary Create chat channel
|
|
646
|
+
* @param {string} project Project unique identifier
|
|
647
|
+
* @param {string} platformId The platform identifier
|
|
648
|
+
* @param {string} enquiryId The enquiry identifier
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
createChatChannel(project, platformId, enquiryId, options) {
|
|
653
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
654
|
+
var _a, _b, _c;
|
|
655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createChatChannel(project, platformId, enquiryId, options);
|
|
656
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
657
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnquiriesApi.createChatChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
658
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
659
|
+
});
|
|
660
|
+
},
|
|
599
661
|
/**
|
|
600
662
|
* Get a customer enquiry
|
|
601
663
|
* @summary Get customer enquiry
|
|
602
664
|
* @param {string} project Project unique identifier
|
|
603
665
|
* @param {string} platformId The platform identifier
|
|
604
|
-
* @param {string} enquiryId
|
|
666
|
+
* @param {string} enquiryId The enquiry identifier
|
|
605
667
|
* @param {*} [options] Override http request option.
|
|
606
668
|
* @throws {RequiredError}
|
|
607
669
|
*/
|
|
@@ -641,7 +703,7 @@ const EnquiriesApiFp = function (configuration) {
|
|
|
641
703
|
* @summary List customer enquiry Logs
|
|
642
704
|
* @param {string} project Project unique identifier
|
|
643
705
|
* @param {string} platformId The platform identifier
|
|
644
|
-
* @param {string} enquiryId
|
|
706
|
+
* @param {string} enquiryId The enquiry identifier
|
|
645
707
|
* @param {*} [options] Override http request option.
|
|
646
708
|
* @throws {RequiredError}
|
|
647
709
|
*/
|
|
@@ -664,6 +726,16 @@ exports.EnquiriesApiFp = EnquiriesApiFp;
|
|
|
664
726
|
const EnquiriesApiFactory = function (configuration, basePath, axios) {
|
|
665
727
|
const localVarFp = (0, exports.EnquiriesApiFp)(configuration);
|
|
666
728
|
return {
|
|
729
|
+
/**
|
|
730
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
731
|
+
* @summary Create chat channel
|
|
732
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
createChatChannel(requestParameters, options) {
|
|
737
|
+
return localVarFp.createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(axios, basePath));
|
|
738
|
+
},
|
|
667
739
|
/**
|
|
668
740
|
* Get a customer enquiry
|
|
669
741
|
* @summary Get customer enquiry
|
|
@@ -704,6 +776,17 @@ exports.EnquiriesApiFactory = EnquiriesApiFactory;
|
|
|
704
776
|
* @extends {BaseAPI}
|
|
705
777
|
*/
|
|
706
778
|
class EnquiriesApi extends base_1.BaseAPI {
|
|
779
|
+
/**
|
|
780
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
781
|
+
* @summary Create chat channel
|
|
782
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
* @memberof EnquiriesApi
|
|
786
|
+
*/
|
|
787
|
+
createChatChannel(requestParameters, options) {
|
|
788
|
+
return (0, exports.EnquiriesApiFp)(this.configuration).createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
789
|
+
}
|
|
707
790
|
/**
|
|
708
791
|
* Get a customer enquiry
|
|
709
792
|
* @summary Get customer enquiry
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
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.23.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -150,6 +150,19 @@ export interface Coupon {
|
|
|
150
150
|
*/
|
|
151
151
|
'code': string;
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @export
|
|
156
|
+
* @interface CreateChatChannel200Response
|
|
157
|
+
*/
|
|
158
|
+
export interface CreateChatChannel200Response {
|
|
159
|
+
/**
|
|
160
|
+
* Reference to the chat channel resource
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof CreateChatChannel200Response
|
|
163
|
+
*/
|
|
164
|
+
'chatChannelRef': string;
|
|
165
|
+
}
|
|
153
166
|
/**
|
|
154
167
|
*
|
|
155
168
|
* @export
|
|
@@ -359,6 +372,12 @@ export interface Enquiry {
|
|
|
359
372
|
* @memberof Enquiry
|
|
360
373
|
*/
|
|
361
374
|
'extraInputs': Array<EnquiryExtraInputsInner> | null;
|
|
375
|
+
/**
|
|
376
|
+
* Reference to the chat channel resource
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof Enquiry
|
|
379
|
+
*/
|
|
380
|
+
'chatChannelRef'?: string | null;
|
|
362
381
|
}
|
|
363
382
|
export declare const EnquiryStatusEnum: {
|
|
364
383
|
readonly New: "New";
|
|
@@ -2014,12 +2033,22 @@ export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeo
|
|
|
2014
2033
|
* @export
|
|
2015
2034
|
*/
|
|
2016
2035
|
export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2036
|
+
/**
|
|
2037
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2038
|
+
* @summary Create chat channel
|
|
2039
|
+
* @param {string} project Project unique identifier
|
|
2040
|
+
* @param {string} platformId The platform identifier
|
|
2041
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2042
|
+
* @param {*} [options] Override http request option.
|
|
2043
|
+
* @throws {RequiredError}
|
|
2044
|
+
*/
|
|
2045
|
+
createChatChannel: (project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2017
2046
|
/**
|
|
2018
2047
|
* Get a customer enquiry
|
|
2019
2048
|
* @summary Get customer enquiry
|
|
2020
2049
|
* @param {string} project Project unique identifier
|
|
2021
2050
|
* @param {string} platformId The platform identifier
|
|
2022
|
-
* @param {string} enquiryId
|
|
2051
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2023
2052
|
* @param {*} [options] Override http request option.
|
|
2024
2053
|
* @throws {RequiredError}
|
|
2025
2054
|
*/
|
|
@@ -2043,7 +2072,7 @@ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2043
2072
|
* @summary List customer enquiry Logs
|
|
2044
2073
|
* @param {string} project Project unique identifier
|
|
2045
2074
|
* @param {string} platformId The platform identifier
|
|
2046
|
-
* @param {string} enquiryId
|
|
2075
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2047
2076
|
* @param {*} [options] Override http request option.
|
|
2048
2077
|
* @throws {RequiredError}
|
|
2049
2078
|
*/
|
|
@@ -2054,12 +2083,22 @@ export declare const EnquiriesApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2054
2083
|
* @export
|
|
2055
2084
|
*/
|
|
2056
2085
|
export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
2086
|
+
/**
|
|
2087
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2088
|
+
* @summary Create chat channel
|
|
2089
|
+
* @param {string} project Project unique identifier
|
|
2090
|
+
* @param {string} platformId The platform identifier
|
|
2091
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
*/
|
|
2095
|
+
createChatChannel(project: string, platformId: string, enquiryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateChatChannel200Response>>;
|
|
2057
2096
|
/**
|
|
2058
2097
|
* Get a customer enquiry
|
|
2059
2098
|
* @summary Get customer enquiry
|
|
2060
2099
|
* @param {string} project Project unique identifier
|
|
2061
2100
|
* @param {string} platformId The platform identifier
|
|
2062
|
-
* @param {string} enquiryId
|
|
2101
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2063
2102
|
* @param {*} [options] Override http request option.
|
|
2064
2103
|
* @throws {RequiredError}
|
|
2065
2104
|
*/
|
|
@@ -2083,7 +2122,7 @@ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
|
2083
2122
|
* @summary List customer enquiry Logs
|
|
2084
2123
|
* @param {string} project Project unique identifier
|
|
2085
2124
|
* @param {string} platformId The platform identifier
|
|
2086
|
-
* @param {string} enquiryId
|
|
2125
|
+
* @param {string} enquiryId The enquiry identifier
|
|
2087
2126
|
* @param {*} [options] Override http request option.
|
|
2088
2127
|
* @throws {RequiredError}
|
|
2089
2128
|
*/
|
|
@@ -2094,6 +2133,14 @@ export declare const EnquiriesApiFp: (configuration?: Configuration) => {
|
|
|
2094
2133
|
* @export
|
|
2095
2134
|
*/
|
|
2096
2135
|
export declare const EnquiriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2136
|
+
/**
|
|
2137
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2138
|
+
* @summary Create chat channel
|
|
2139
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2140
|
+
* @param {*} [options] Override http request option.
|
|
2141
|
+
* @throws {RequiredError}
|
|
2142
|
+
*/
|
|
2143
|
+
createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateChatChannel200Response>;
|
|
2097
2144
|
/**
|
|
2098
2145
|
* Get a customer enquiry
|
|
2099
2146
|
* @summary Get customer enquiry
|
|
@@ -2119,6 +2166,31 @@ export declare const EnquiriesApiFactory: (configuration?: Configuration, basePa
|
|
|
2119
2166
|
*/
|
|
2120
2167
|
listCustomerEnquiryLogs(requestParameters: EnquiriesApiListCustomerEnquiryLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListCustomerEnquiryLogs200Response>;
|
|
2121
2168
|
};
|
|
2169
|
+
/**
|
|
2170
|
+
* Request parameters for createChatChannel operation in EnquiriesApi.
|
|
2171
|
+
* @export
|
|
2172
|
+
* @interface EnquiriesApiCreateChatChannelRequest
|
|
2173
|
+
*/
|
|
2174
|
+
export interface EnquiriesApiCreateChatChannelRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
* Project unique identifier
|
|
2177
|
+
* @type {string}
|
|
2178
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2179
|
+
*/
|
|
2180
|
+
readonly project: string;
|
|
2181
|
+
/**
|
|
2182
|
+
* The platform identifier
|
|
2183
|
+
* @type {string}
|
|
2184
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2185
|
+
*/
|
|
2186
|
+
readonly platformId: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The enquiry identifier
|
|
2189
|
+
* @type {string}
|
|
2190
|
+
* @memberof EnquiriesApiCreateChatChannel
|
|
2191
|
+
*/
|
|
2192
|
+
readonly enquiryId: string;
|
|
2193
|
+
}
|
|
2122
2194
|
/**
|
|
2123
2195
|
* Request parameters for getCustomerEnquiry operation in EnquiriesApi.
|
|
2124
2196
|
* @export
|
|
@@ -2138,7 +2210,7 @@ export interface EnquiriesApiGetCustomerEnquiryRequest {
|
|
|
2138
2210
|
*/
|
|
2139
2211
|
readonly platformId: string;
|
|
2140
2212
|
/**
|
|
2141
|
-
*
|
|
2213
|
+
* The enquiry identifier
|
|
2142
2214
|
* @type {string}
|
|
2143
2215
|
* @memberof EnquiriesApiGetCustomerEnquiry
|
|
2144
2216
|
*/
|
|
@@ -2212,7 +2284,7 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2212
2284
|
*/
|
|
2213
2285
|
readonly platformId: string;
|
|
2214
2286
|
/**
|
|
2215
|
-
*
|
|
2287
|
+
* The enquiry identifier
|
|
2216
2288
|
* @type {string}
|
|
2217
2289
|
* @memberof EnquiriesApiListCustomerEnquiryLogs
|
|
2218
2290
|
*/
|
|
@@ -2225,6 +2297,15 @@ export interface EnquiriesApiListCustomerEnquiryLogsRequest {
|
|
|
2225
2297
|
* @extends {BaseAPI}
|
|
2226
2298
|
*/
|
|
2227
2299
|
export declare class EnquiriesApi extends BaseAPI {
|
|
2300
|
+
/**
|
|
2301
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
2302
|
+
* @summary Create chat channel
|
|
2303
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
2304
|
+
* @param {*} [options] Override http request option.
|
|
2305
|
+
* @throws {RequiredError}
|
|
2306
|
+
* @memberof EnquiriesApi
|
|
2307
|
+
*/
|
|
2308
|
+
createChatChannel(requestParameters: EnquiriesApiCreateChatChannelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateChatChannel200Response, any>>;
|
|
2228
2309
|
/**
|
|
2229
2310
|
* Get a customer enquiry
|
|
2230
2311
|
* @summary Get customer enquiry
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.23.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -427,12 +427,56 @@ export const ListCustomersSortByEnum = {
|
|
|
427
427
|
*/
|
|
428
428
|
export const EnquiriesApiAxiosParamCreator = function (configuration) {
|
|
429
429
|
return {
|
|
430
|
+
/**
|
|
431
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
432
|
+
* @summary Create chat channel
|
|
433
|
+
* @param {string} project Project unique identifier
|
|
434
|
+
* @param {string} platformId The platform identifier
|
|
435
|
+
* @param {string} enquiryId The enquiry identifier
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
*/
|
|
439
|
+
createChatChannel: (project_1, platformId_1, enquiryId_1, ...args_1) => __awaiter(this, [project_1, platformId_1, enquiryId_1, ...args_1], void 0, function* (project, platformId, enquiryId, options = {}) {
|
|
440
|
+
// verify required parameter 'project' is not null or undefined
|
|
441
|
+
assertParamExists('createChatChannel', 'project', project);
|
|
442
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
443
|
+
assertParamExists('createChatChannel', 'platformId', platformId);
|
|
444
|
+
// verify required parameter 'enquiryId' is not null or undefined
|
|
445
|
+
assertParamExists('createChatChannel', 'enquiryId', enquiryId);
|
|
446
|
+
const localVarPath = `/v1/platform/{platformId}/customers/enquiries/{enquiryId}/chat-channel`
|
|
447
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)))
|
|
448
|
+
.replace(`{${"enquiryId"}}`, encodeURIComponent(String(enquiryId)));
|
|
449
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
451
|
+
let baseOptions;
|
|
452
|
+
if (configuration) {
|
|
453
|
+
baseOptions = configuration.baseOptions;
|
|
454
|
+
}
|
|
455
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
456
|
+
const localVarHeaderParameter = {};
|
|
457
|
+
const localVarQueryParameter = {};
|
|
458
|
+
// authentication session-oauth required
|
|
459
|
+
// oauth required
|
|
460
|
+
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
461
|
+
// authentication api-key required
|
|
462
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
463
|
+
if (project !== undefined) {
|
|
464
|
+
localVarQueryParameter['project'] = project;
|
|
465
|
+
}
|
|
466
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
467
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
468
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
469
|
+
return {
|
|
470
|
+
url: toPathString(localVarUrlObj),
|
|
471
|
+
options: localVarRequestOptions,
|
|
472
|
+
};
|
|
473
|
+
}),
|
|
430
474
|
/**
|
|
431
475
|
* Get a customer enquiry
|
|
432
476
|
* @summary Get customer enquiry
|
|
433
477
|
* @param {string} project Project unique identifier
|
|
434
478
|
* @param {string} platformId The platform identifier
|
|
435
|
-
* @param {string} enquiryId
|
|
479
|
+
* @param {string} enquiryId The enquiry identifier
|
|
436
480
|
* @param {*} [options] Override http request option.
|
|
437
481
|
* @throws {RequiredError}
|
|
438
482
|
*/
|
|
@@ -540,7 +584,7 @@ export const EnquiriesApiAxiosParamCreator = function (configuration) {
|
|
|
540
584
|
* @summary List customer enquiry Logs
|
|
541
585
|
* @param {string} project Project unique identifier
|
|
542
586
|
* @param {string} platformId The platform identifier
|
|
543
|
-
* @param {string} enquiryId
|
|
587
|
+
* @param {string} enquiryId The enquiry identifier
|
|
544
588
|
* @param {*} [options] Override http request option.
|
|
545
589
|
* @throws {RequiredError}
|
|
546
590
|
*/
|
|
@@ -588,12 +632,30 @@ export const EnquiriesApiAxiosParamCreator = function (configuration) {
|
|
|
588
632
|
export const EnquiriesApiFp = function (configuration) {
|
|
589
633
|
const localVarAxiosParamCreator = EnquiriesApiAxiosParamCreator(configuration);
|
|
590
634
|
return {
|
|
635
|
+
/**
|
|
636
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
637
|
+
* @summary Create chat channel
|
|
638
|
+
* @param {string} project Project unique identifier
|
|
639
|
+
* @param {string} platformId The platform identifier
|
|
640
|
+
* @param {string} enquiryId The enquiry identifier
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
createChatChannel(project, platformId, enquiryId, options) {
|
|
645
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
646
|
+
var _a, _b, _c;
|
|
647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createChatChannel(project, platformId, enquiryId, options);
|
|
648
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
649
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnquiriesApi.createChatChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
650
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
651
|
+
});
|
|
652
|
+
},
|
|
591
653
|
/**
|
|
592
654
|
* Get a customer enquiry
|
|
593
655
|
* @summary Get customer enquiry
|
|
594
656
|
* @param {string} project Project unique identifier
|
|
595
657
|
* @param {string} platformId The platform identifier
|
|
596
|
-
* @param {string} enquiryId
|
|
658
|
+
* @param {string} enquiryId The enquiry identifier
|
|
597
659
|
* @param {*} [options] Override http request option.
|
|
598
660
|
* @throws {RequiredError}
|
|
599
661
|
*/
|
|
@@ -633,7 +695,7 @@ export const EnquiriesApiFp = function (configuration) {
|
|
|
633
695
|
* @summary List customer enquiry Logs
|
|
634
696
|
* @param {string} project Project unique identifier
|
|
635
697
|
* @param {string} platformId The platform identifier
|
|
636
|
-
* @param {string} enquiryId
|
|
698
|
+
* @param {string} enquiryId The enquiry identifier
|
|
637
699
|
* @param {*} [options] Override http request option.
|
|
638
700
|
* @throws {RequiredError}
|
|
639
701
|
*/
|
|
@@ -655,6 +717,16 @@ export const EnquiriesApiFp = function (configuration) {
|
|
|
655
717
|
export const EnquiriesApiFactory = function (configuration, basePath, axios) {
|
|
656
718
|
const localVarFp = EnquiriesApiFp(configuration);
|
|
657
719
|
return {
|
|
720
|
+
/**
|
|
721
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
722
|
+
* @summary Create chat channel
|
|
723
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
createChatChannel(requestParameters, options) {
|
|
728
|
+
return localVarFp.createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(axios, basePath));
|
|
729
|
+
},
|
|
658
730
|
/**
|
|
659
731
|
* Get a customer enquiry
|
|
660
732
|
* @summary Get customer enquiry
|
|
@@ -694,6 +766,17 @@ export const EnquiriesApiFactory = function (configuration, basePath, axios) {
|
|
|
694
766
|
* @extends {BaseAPI}
|
|
695
767
|
*/
|
|
696
768
|
export class EnquiriesApi extends BaseAPI {
|
|
769
|
+
/**
|
|
770
|
+
* Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
771
|
+
* @summary Create chat channel
|
|
772
|
+
* @param {EnquiriesApiCreateChatChannelRequest} requestParameters Request parameters.
|
|
773
|
+
* @param {*} [options] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
* @memberof EnquiriesApi
|
|
776
|
+
*/
|
|
777
|
+
createChatChannel(requestParameters, options) {
|
|
778
|
+
return EnquiriesApiFp(this.configuration).createChatChannel(requestParameters.project, requestParameters.platformId, requestParameters.enquiryId, options).then((request) => request(this.axios, this.basePath));
|
|
779
|
+
}
|
|
697
780
|
/**
|
|
698
781
|
* Get a customer enquiry
|
|
699
782
|
* @summary Get customer enquiry
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CreateChatChannel200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**chatChannelRef** | **string** | Reference to the chat channel resource | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { CreateChatChannel200Response } from '@teemill/platform';
|
|
14
|
+
|
|
15
|
+
const instance: CreateChatChannel200Response = {
|
|
16
|
+
chatChannelRef,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/EnquiriesApi.md
CHANGED
|
@@ -4,10 +4,73 @@ All URIs are relative to *https://localhost:8080*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createChatChannel**](#createchatchannel) | **POST** /v1/platform/{platformId}/customers/enquiries/{enquiryId}/chat-channel | Create chat channel|
|
|
7
8
|
|[**getCustomerEnquiry**](#getcustomerenquiry) | **GET** /v1/platform/{platformId}/customers/enquiries/{enquiryId} | Get customer enquiry|
|
|
8
9
|
|[**listCustomerEnquiries**](#listcustomerenquiries) | **GET** /v1/platform/{platformId}/customers/enquiries | List customer enquiries|
|
|
9
10
|
|[**listCustomerEnquiryLogs**](#listcustomerenquirylogs) | **GET** /v1/platform/{platformId}/customers/enquiries/{enquiryId}/logs | List customer enquiry Logs|
|
|
10
11
|
|
|
12
|
+
# **createChatChannel**
|
|
13
|
+
> CreateChatChannel200Response createChatChannel()
|
|
14
|
+
|
|
15
|
+
Create a chat channel for a customer enquiry if it doesn\'t exist
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
EnquiriesApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@teemill/platform';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new EnquiriesApi(configuration);
|
|
27
|
+
|
|
28
|
+
let project: string; //Project unique identifier (default to undefined)
|
|
29
|
+
let platformId: string; //The platform identifier (default to undefined)
|
|
30
|
+
let enquiryId: string; //The enquiry identifier (default to undefined)
|
|
31
|
+
|
|
32
|
+
const { status, data } = await apiInstance.createChatChannel(
|
|
33
|
+
project,
|
|
34
|
+
platformId,
|
|
35
|
+
enquiryId
|
|
36
|
+
);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Parameters
|
|
40
|
+
|
|
41
|
+
|Name | Type | Description | Notes|
|
|
42
|
+
|------------- | ------------- | ------------- | -------------|
|
|
43
|
+
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
44
|
+
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
45
|
+
| **enquiryId** | [**string**] | The enquiry identifier | defaults to undefined|
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Return type
|
|
49
|
+
|
|
50
|
+
**CreateChatChannel200Response**
|
|
51
|
+
|
|
52
|
+
### Authorization
|
|
53
|
+
|
|
54
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
55
|
+
|
|
56
|
+
### HTTP request headers
|
|
57
|
+
|
|
58
|
+
- **Content-Type**: Not defined
|
|
59
|
+
- **Accept**: application/json
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### HTTP response details
|
|
63
|
+
| Status code | Description | Response headers |
|
|
64
|
+
|-------------|-------------|------------------|
|
|
65
|
+
|**200** | Chat channel created | - |
|
|
66
|
+
|**400** | Failed validation | - |
|
|
67
|
+
|**401** | Not authorised to access this resource | - |
|
|
68
|
+
|**403** | Refuse to authorize | - |
|
|
69
|
+
|**404** | Resource not found | - |
|
|
70
|
+
|**500** | Unknown server error | - |
|
|
71
|
+
|
|
72
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
73
|
+
|
|
11
74
|
# **getCustomerEnquiry**
|
|
12
75
|
> Enquiry getCustomerEnquiry()
|
|
13
76
|
|
|
@@ -26,7 +89,7 @@ const apiInstance = new EnquiriesApi(configuration);
|
|
|
26
89
|
|
|
27
90
|
let project: string; //Project unique identifier (default to undefined)
|
|
28
91
|
let platformId: string; //The platform identifier (default to undefined)
|
|
29
|
-
let enquiryId: string; // (default to undefined)
|
|
92
|
+
let enquiryId: string; //The enquiry identifier (default to undefined)
|
|
30
93
|
|
|
31
94
|
const { status, data } = await apiInstance.getCustomerEnquiry(
|
|
32
95
|
project,
|
|
@@ -41,7 +104,7 @@ const { status, data } = await apiInstance.getCustomerEnquiry(
|
|
|
41
104
|
|------------- | ------------- | ------------- | -------------|
|
|
42
105
|
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
43
106
|
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
44
|
-
| **enquiryId** | [**string**] |
|
|
107
|
+
| **enquiryId** | [**string**] | The enquiry identifier | defaults to undefined|
|
|
45
108
|
|
|
46
109
|
|
|
47
110
|
### Return type
|
|
@@ -160,7 +223,7 @@ const apiInstance = new EnquiriesApi(configuration);
|
|
|
160
223
|
|
|
161
224
|
let project: string; //Project unique identifier (default to undefined)
|
|
162
225
|
let platformId: string; //The platform identifier (default to undefined)
|
|
163
|
-
let enquiryId: string; // (default to undefined)
|
|
226
|
+
let enquiryId: string; //The enquiry identifier (default to undefined)
|
|
164
227
|
|
|
165
228
|
const { status, data } = await apiInstance.listCustomerEnquiryLogs(
|
|
166
229
|
project,
|
|
@@ -175,7 +238,7 @@ const { status, data } = await apiInstance.listCustomerEnquiryLogs(
|
|
|
175
238
|
|------------- | ------------- | ------------- | -------------|
|
|
176
239
|
| **project** | [**string**] | Project unique identifier | defaults to undefined|
|
|
177
240
|
| **platformId** | [**string**] | The platform identifier | defaults to undefined|
|
|
178
|
-
| **enquiryId** | [**string**] |
|
|
241
|
+
| **enquiryId** | [**string**] | The enquiry identifier | defaults to undefined|
|
|
179
242
|
|
|
180
243
|
|
|
181
244
|
### Return type
|
package/docs/Enquiry.md
CHANGED
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**status** | **string** | | [default to undefined]
|
|
18
18
|
**read** | **boolean** | | [default to undefined]
|
|
19
19
|
**extraInputs** | [**Array<EnquiryExtraInputsInner>**](EnquiryExtraInputsInner.md) | | [default to undefined]
|
|
20
|
+
**chatChannelRef** | **string** | Reference to the chat channel resource | [optional] [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ const instance: Enquiry = {
|
|
|
36
37
|
status,
|
|
37
38
|
read,
|
|
38
39
|
extraInputs,
|
|
40
|
+
chatChannelRef,
|
|
39
41
|
};
|
|
40
42
|
```
|
|
41
43
|
|
package/index.ts
CHANGED