ultracart_rest_api_v2_typescript 4.0.210 → 4.0.212
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/.openapi-generator/FILES +3 -0
- package/README.md +4 -2
- package/dist/apis/AutoOrderApi.d.ts +32 -1
- package/dist/apis/AutoOrderApi.js +67 -0
- package/dist/apis/ConversationApi.d.ts +5 -5
- package/dist/apis/ConversationApi.js +2 -2
- package/dist/models/AutoOrderConsolidate.d.ts +27 -0
- package/dist/models/AutoOrderConsolidate.js +42 -0
- package/dist/models/ConversationAgentAuth.d.ts +18 -0
- package/dist/models/ConversationAgentAuth.js +6 -0
- package/dist/models/ConversationPbxAudioUploadUrl.d.ts +33 -0
- package/dist/models/ConversationPbxAudioUploadUrl.js +44 -0
- package/dist/models/ConversationPbxAudioUploadUrlResponse.d.ts +55 -0
- package/dist/models/ConversationPbxAudioUploadUrlResponse.js +54 -0
- package/dist/models/ConversationPbxCustomerSnapshotResponse.d.ts +2 -2
- package/dist/models/ConversationPbxCustomerSnapshotResponse.js +2 -2
- package/dist/models/ConversationPbxQueue.d.ts +6 -0
- package/dist/models/ConversationPbxQueue.js +2 -0
- package/dist/models/EmailCommseqEmail.d.ts +48 -0
- package/dist/models/EmailCommseqEmail.js +16 -0
- package/dist/models/ItemChargeback.d.ts +2 -2
- package/dist/models/OrderRefundableResponse.d.ts +6 -0
- package/dist/models/OrderRefundableResponse.js +2 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/AutoOrderApi.ts +79 -0
- package/src/apis/ConversationApi.ts +9 -6
- package/src/models/AutoOrderConsolidate.ts +56 -0
- package/src/models/ConversationAgentAuth.ts +24 -0
- package/src/models/ConversationPbxAudioUploadUrl.ts +64 -0
- package/src/models/ConversationPbxAudioUploadUrlResponse.ts +113 -0
- package/src/models/ConversationPbxCustomerSnapshotResponse.ts +4 -4
- package/src/models/ConversationPbxQueue.ts +8 -0
- package/src/models/EmailCommseqEmail.ts +64 -0
- package/src/models/ItemChargeback.ts +2 -2
- package/src/models/OrderRefundableResponse.ts +8 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -50,6 +50,7 @@ src/models/ApplyLibraryItemResponse.ts
|
|
|
50
50
|
src/models/AutoOrder.ts
|
|
51
51
|
src/models/AutoOrderAddonItem.ts
|
|
52
52
|
src/models/AutoOrderAddonItemOption.ts
|
|
53
|
+
src/models/AutoOrderConsolidate.ts
|
|
53
54
|
src/models/AutoOrderItem.ts
|
|
54
55
|
src/models/AutoOrderItemFutureSchedule.ts
|
|
55
56
|
src/models/AutoOrderItemOption.ts
|
|
@@ -198,6 +199,8 @@ src/models/ConversationPbxAgentResponse.ts
|
|
|
198
199
|
src/models/ConversationPbxAgentsResponse.ts
|
|
199
200
|
src/models/ConversationPbxAudio.ts
|
|
200
201
|
src/models/ConversationPbxAudioResponse.ts
|
|
202
|
+
src/models/ConversationPbxAudioUploadUrl.ts
|
|
203
|
+
src/models/ConversationPbxAudioUploadUrlResponse.ts
|
|
201
204
|
src/models/ConversationPbxAudiosResponse.ts
|
|
202
205
|
src/models/ConversationPbxCustomerSnapshotRequest.ts
|
|
203
206
|
src/models/ConversationPbxCustomerSnapshotResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.212
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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 ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.212 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,8 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.212 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
|
58
|
+
| 4.0.211 | 04/24/2024 | esp - add fields for external generation on email |
|
|
57
59
|
| 4.0.210 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
|
|
58
60
|
| 4.0.209 | 04/01/2024 | added merchant_id as read-only top level property of AutoOrder object |
|
|
59
61
|
| 4.0.208 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AutoOrder, AutoOrderQuery, AutoOrderQueryBatch, AutoOrderResponse, AutoOrdersRequest, AutoOrdersResponse } from '../models';
|
|
13
|
+
import { AutoOrder, AutoOrderConsolidate, AutoOrderQuery, AutoOrderQueryBatch, AutoOrderResponse, AutoOrdersRequest, AutoOrdersResponse } from '../models';
|
|
14
|
+
export interface ConsolidateAutoOrdersRequest {
|
|
15
|
+
autoOrderOid: number;
|
|
16
|
+
autoOrderConsolidate: AutoOrderConsolidate;
|
|
17
|
+
expand?: string;
|
|
18
|
+
}
|
|
14
19
|
export interface EstablishAutoOrderByReferenceOrderIdRequest {
|
|
15
20
|
referenceOrderId: string;
|
|
16
21
|
expand?: string;
|
|
@@ -82,6 +87,22 @@ export interface UpdateAutoOrdersBatchRequest {
|
|
|
82
87
|
* @interface AutoOrderApiInterface
|
|
83
88
|
*/
|
|
84
89
|
export interface AutoOrderApiInterface {
|
|
90
|
+
/**
|
|
91
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
92
|
+
* @summary Consolidates multiple auto orders
|
|
93
|
+
* @param {number} autoOrderOid The auto order oid to consolidate into.
|
|
94
|
+
* @param {AutoOrderConsolidate} autoOrderConsolidate Auto orders to consolidate
|
|
95
|
+
* @param {string} [expand] The object expansion to perform on the result. See documentation for examples
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
* @memberof AutoOrderApiInterface
|
|
99
|
+
*/
|
|
100
|
+
consolidateAutoOrdersRaw(requestParameters: ConsolidateAutoOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AutoOrderResponse>>;
|
|
101
|
+
/**
|
|
102
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
103
|
+
* Consolidates multiple auto orders
|
|
104
|
+
*/
|
|
105
|
+
consolidateAutoOrders(requestParameters: ConsolidateAutoOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AutoOrderResponse>;
|
|
85
106
|
/**
|
|
86
107
|
* Establish an auto order by referencing a regular order id. The result will be an auto order without any items. You should add the items and perform an update call. Orders must be less than 60 days old and use a credit card payment.
|
|
87
108
|
* @summary Establish an auto order by referencing a regular order id
|
|
@@ -250,6 +271,16 @@ export interface AutoOrderApiInterface {
|
|
|
250
271
|
*
|
|
251
272
|
*/
|
|
252
273
|
export declare class AutoOrderApi extends runtime.BaseAPI implements AutoOrderApiInterface {
|
|
274
|
+
/**
|
|
275
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
276
|
+
* Consolidates multiple auto orders
|
|
277
|
+
*/
|
|
278
|
+
consolidateAutoOrdersRaw(requestParameters: ConsolidateAutoOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AutoOrderResponse>>;
|
|
279
|
+
/**
|
|
280
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
281
|
+
* Consolidates multiple auto orders
|
|
282
|
+
*/
|
|
283
|
+
consolidateAutoOrders(requestParameters: ConsolidateAutoOrdersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AutoOrderResponse>;
|
|
253
284
|
/**
|
|
254
285
|
* Establish an auto order by referencing a regular order id. The result will be an auto order without any items. You should add the items and perform an update call. Orders must be less than 60 days old and use a credit card payment.
|
|
255
286
|
* Establish an auto order by referencing a regular order id
|
|
@@ -75,6 +75,73 @@ var AutoOrderApi = /** @class */ (function (_super) {
|
|
|
75
75
|
function AutoOrderApi() {
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
80
|
+
* Consolidates multiple auto orders
|
|
81
|
+
*/
|
|
82
|
+
AutoOrderApi.prototype.consolidateAutoOrdersRaw = function (requestParameters, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
+
var queryParameters, headerParameters, _a, _b, response;
|
|
85
|
+
return __generator(this, function (_c) {
|
|
86
|
+
switch (_c.label) {
|
|
87
|
+
case 0:
|
|
88
|
+
if (requestParameters.autoOrderOid === null || requestParameters.autoOrderOid === undefined) {
|
|
89
|
+
throw new runtime.RequiredError('autoOrderOid', 'Required parameter requestParameters.autoOrderOid was null or undefined when calling consolidateAutoOrders.');
|
|
90
|
+
}
|
|
91
|
+
if (requestParameters.autoOrderConsolidate === null || requestParameters.autoOrderConsolidate === undefined) {
|
|
92
|
+
throw new runtime.RequiredError('autoOrderConsolidate', 'Required parameter requestParameters.autoOrderConsolidate was null or undefined when calling consolidateAutoOrders.');
|
|
93
|
+
}
|
|
94
|
+
queryParameters = {};
|
|
95
|
+
if (requestParameters.expand !== undefined) {
|
|
96
|
+
queryParameters['_expand'] = requestParameters.expand;
|
|
97
|
+
}
|
|
98
|
+
headerParameters = {};
|
|
99
|
+
headerParameters['Content-Type'] = 'application/json; charset=UTF-8';
|
|
100
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
101
|
+
// oauth required
|
|
102
|
+
_a = headerParameters;
|
|
103
|
+
_b = "Authorization";
|
|
104
|
+
return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["auto_order_write"])];
|
|
105
|
+
case 1:
|
|
106
|
+
// oauth required
|
|
107
|
+
_a[_b] = _c.sent();
|
|
108
|
+
_c.label = 2;
|
|
109
|
+
case 2:
|
|
110
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
111
|
+
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
112
|
+
}
|
|
113
|
+
return [4 /*yield*/, this.request({
|
|
114
|
+
path: "/auto_order/auto_orders/{auto_order_oid}/consolidate".replace("{".concat("auto_order_oid", "}"), encodeURIComponent(String(requestParameters.autoOrderOid))),
|
|
115
|
+
method: 'PUT',
|
|
116
|
+
headers: headerParameters,
|
|
117
|
+
query: queryParameters,
|
|
118
|
+
body: (0, models_1.AutoOrderConsolidateToJSON)(requestParameters.autoOrderConsolidate),
|
|
119
|
+
}, initOverrides)];
|
|
120
|
+
case 3:
|
|
121
|
+
response = _c.sent();
|
|
122
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.AutoOrderResponseFromJSON)(jsonValue); })];
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Consolidates mutliple auto orders on the UltraCart account.
|
|
129
|
+
* Consolidates multiple auto orders
|
|
130
|
+
*/
|
|
131
|
+
AutoOrderApi.prototype.consolidateAutoOrders = function (requestParameters, initOverrides) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
133
|
+
var response;
|
|
134
|
+
return __generator(this, function (_a) {
|
|
135
|
+
switch (_a.label) {
|
|
136
|
+
case 0: return [4 /*yield*/, this.consolidateAutoOrdersRaw(requestParameters, initOverrides)];
|
|
137
|
+
case 1:
|
|
138
|
+
response = _a.sent();
|
|
139
|
+
return [4 /*yield*/, response.value()];
|
|
140
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
};
|
|
78
145
|
/**
|
|
79
146
|
* Establish an auto order by referencing a regular order id. The result will be an auto order without any items. You should add the items and perform an update call. Orders must be less than 60 days old and use a credit card payment.
|
|
80
147
|
* Establish an auto order by referencing a regular order id
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { ConversationAgentAuthResponse, ConversationAgentProfile, ConversationAgentProfileResponse, ConversationAutocompleteRequest, ConversationAutocompleteResponse, ConversationCannedMessage, ConversationCannedMessageResponse, ConversationCannedMessagesResponse, ConversationCannedMessagesSearch, ConversationDepartment, ConversationDepartmentMembersResponse, ConversationDepartmentResponse, ConversationDepartmentsResponse, ConversationEngagement, ConversationEngagementResponse, ConversationEngagementsResponse, ConversationJoinRequest, ConversationLocationsResponse, ConversationMessagesResponse, ConversationMultimediaUploadUrlResponse, ConversationPbxAgent, ConversationPbxAgentResponse, ConversationPbxAgentsResponse, ConversationPbxAudio, ConversationPbxAudioResponse, ConversationPbxAudiosResponse, ConversationPbxCustomerSnapshotRequest, ConversationPbxCustomerSnapshotResponse, ConversationPbxMenu, ConversationPbxMenuResponse, ConversationPbxMenusResponse, ConversationPbxPhoneNumber, ConversationPbxPhoneNumberResponse, ConversationPbxPhoneNumbersResponse, ConversationPbxQueue, ConversationPbxQueueResponse, ConversationPbxQueuesResponse, ConversationPbxTimeBased, ConversationPbxTimeBasedResponse, ConversationPbxTimeBasedsResponse, ConversationPbxTimeRange, ConversationPbxTimeRangeResponse, ConversationPbxTimeRangesResponse, ConversationPbxVoicemailMailbox, ConversationPbxVoicemailMailboxResponse, ConversationPbxVoicemailMailboxesResponse, ConversationPbxVoicemailMessageResponse, ConversationPbxVoicemailMessageSummariesResponse, ConversationPermissionsResponse, ConversationResponse, ConversationSearchRequest, ConversationSearchResponse, ConversationStartRequest, ConversationStartResponse, ConversationWebchatContext, ConversationWebchatQueueStatusUpdateRequest, ConversationWebchatQueueStatusesResponse, ConversationsResponse } from '../models';
|
|
13
|
+
import { ConversationAgentAuthResponse, ConversationAgentProfile, ConversationAgentProfileResponse, ConversationAutocompleteRequest, ConversationAutocompleteResponse, ConversationCannedMessage, ConversationCannedMessageResponse, ConversationCannedMessagesResponse, ConversationCannedMessagesSearch, ConversationDepartment, ConversationDepartmentMembersResponse, ConversationDepartmentResponse, ConversationDepartmentsResponse, ConversationEngagement, ConversationEngagementResponse, ConversationEngagementsResponse, ConversationJoinRequest, ConversationLocationsResponse, ConversationMessagesResponse, ConversationMultimediaUploadUrlResponse, ConversationPbxAgent, ConversationPbxAgentResponse, ConversationPbxAgentsResponse, ConversationPbxAudio, ConversationPbxAudioResponse, ConversationPbxAudioUploadUrlResponse, ConversationPbxAudiosResponse, ConversationPbxCustomerSnapshotRequest, ConversationPbxCustomerSnapshotResponse, ConversationPbxMenu, ConversationPbxMenuResponse, ConversationPbxMenusResponse, ConversationPbxPhoneNumber, ConversationPbxPhoneNumberResponse, ConversationPbxPhoneNumbersResponse, ConversationPbxQueue, ConversationPbxQueueResponse, ConversationPbxQueuesResponse, ConversationPbxTimeBased, ConversationPbxTimeBasedResponse, ConversationPbxTimeBasedsResponse, ConversationPbxTimeRange, ConversationPbxTimeRangeResponse, ConversationPbxTimeRangesResponse, ConversationPbxVoicemailMailbox, ConversationPbxVoicemailMailboxResponse, ConversationPbxVoicemailMailboxesResponse, ConversationPbxVoicemailMessageResponse, ConversationPbxVoicemailMessageSummariesResponse, ConversationPermissionsResponse, ConversationResponse, ConversationSearchRequest, ConversationSearchResponse, ConversationStartRequest, ConversationStartResponse, ConversationWebchatContext, ConversationWebchatQueueStatusUpdateRequest, ConversationWebchatQueueStatusesResponse, ConversationsResponse } from '../models';
|
|
14
14
|
export interface DeleteConversationCannedMessageRequest {
|
|
15
15
|
conversationCannedMessageOid: number;
|
|
16
16
|
}
|
|
@@ -596,12 +596,12 @@ export interface ConversationApiInterface {
|
|
|
596
596
|
* @throws {RequiredError}
|
|
597
597
|
* @memberof ConversationApiInterface
|
|
598
598
|
*/
|
|
599
|
-
getConversationPbxAudioUploadUrlRaw(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
599
|
+
getConversationPbxAudioUploadUrlRaw(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationPbxAudioUploadUrlResponse>>;
|
|
600
600
|
/**
|
|
601
601
|
* Get a pre-signed conversation multimedia upload URL
|
|
602
602
|
* Get a pre-signed conversation multimedia upload URL
|
|
603
603
|
*/
|
|
604
|
-
getConversationPbxAudioUploadUrl(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
604
|
+
getConversationPbxAudioUploadUrl(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationPbxAudioUploadUrlResponse>;
|
|
605
605
|
/**
|
|
606
606
|
* Retrieves all the orders, auto orders, and customer profile for a given phone number
|
|
607
607
|
* @summary Get orders and customer information for a phone number
|
|
@@ -1707,12 +1707,12 @@ export declare class ConversationApi extends runtime.BaseAPI implements Conversa
|
|
|
1707
1707
|
* Get a pre-signed conversation multimedia upload URL
|
|
1708
1708
|
* Get a pre-signed conversation multimedia upload URL
|
|
1709
1709
|
*/
|
|
1710
|
-
getConversationPbxAudioUploadUrlRaw(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
1710
|
+
getConversationPbxAudioUploadUrlRaw(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationPbxAudioUploadUrlResponse>>;
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Get a pre-signed conversation multimedia upload URL
|
|
1713
1713
|
* Get a pre-signed conversation multimedia upload URL
|
|
1714
1714
|
*/
|
|
1715
|
-
getConversationPbxAudioUploadUrl(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
1715
|
+
getConversationPbxAudioUploadUrl(requestParameters: GetConversationPbxAudioUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationPbxAudioUploadUrlResponse>;
|
|
1716
1716
|
/**
|
|
1717
1717
|
* Retrieves all the orders, auto orders, and customer profile for a given phone number
|
|
1718
1718
|
* Get orders and customer information for a phone number
|
|
@@ -1565,7 +1565,7 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
1565
1565
|
}, initOverrides)];
|
|
1566
1566
|
case 3:
|
|
1567
1567
|
response = _c.sent();
|
|
1568
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.
|
|
1568
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, models_1.ConversationPbxAudioUploadUrlResponseFromJSON)(jsonValue); })];
|
|
1569
1569
|
}
|
|
1570
1570
|
});
|
|
1571
1571
|
});
|
|
@@ -4040,7 +4040,7 @@ var ConversationApi = /** @class */ (function (_super) {
|
|
|
4040
4040
|
headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
|
|
4041
4041
|
}
|
|
4042
4042
|
return [4 /*yield*/, this.request({
|
|
4043
|
-
path: "/conversation/pbx/{queue_uuid}/voicemails/
|
|
4043
|
+
path: "/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened".replace("{".concat("queue_uuid", "}"), encodeURIComponent(String(requestParameters.queueUuid))).replace("{".concat("recording_sid", "}"), encodeURIComponent(String(requestParameters.recordingSid))),
|
|
4044
4044
|
method: 'GET',
|
|
4045
4045
|
headers: headerParameters,
|
|
4046
4046
|
query: queryParameters,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AutoOrderConsolidate
|
|
16
|
+
*/
|
|
17
|
+
export interface AutoOrderConsolidate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof AutoOrderConsolidate
|
|
22
|
+
*/
|
|
23
|
+
source_auto_order_oids?: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
export declare function AutoOrderConsolidateFromJSON(json: any): AutoOrderConsolidate;
|
|
26
|
+
export declare function AutoOrderConsolidateFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutoOrderConsolidate;
|
|
27
|
+
export declare function AutoOrderConsolidateToJSON(value?: AutoOrderConsolidate | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AutoOrderConsolidateToJSON = exports.AutoOrderConsolidateFromJSONTyped = exports.AutoOrderConsolidateFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function AutoOrderConsolidateFromJSON(json) {
|
|
19
|
+
return AutoOrderConsolidateFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.AutoOrderConsolidateFromJSON = AutoOrderConsolidateFromJSON;
|
|
22
|
+
function AutoOrderConsolidateFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'source_auto_order_oids': !(0, runtime_1.exists)(json, 'source_auto_order_oids') ? undefined : json['source_auto_order_oids'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.AutoOrderConsolidateFromJSONTyped = AutoOrderConsolidateFromJSONTyped;
|
|
31
|
+
function AutoOrderConsolidateToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'source_auto_order_oids': value.source_auto_order_oids,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.AutoOrderConsolidateToJSON = AutoOrderConsolidateToJSON;
|
|
@@ -40,12 +40,30 @@ export interface ConversationAgentAuth {
|
|
|
40
40
|
* @memberof ConversationAgentAuth
|
|
41
41
|
*/
|
|
42
42
|
merchant_id?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ConversationAgentAuth
|
|
47
|
+
*/
|
|
48
|
+
pbx_admin?: boolean;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {string}
|
|
46
52
|
* @memberof ConversationAgentAuth
|
|
47
53
|
*/
|
|
48
54
|
pbx_jwt?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof ConversationAgentAuth
|
|
59
|
+
*/
|
|
60
|
+
pbx_supervisor?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof ConversationAgentAuth
|
|
65
|
+
*/
|
|
66
|
+
pbx_user?: boolean;
|
|
49
67
|
/**
|
|
50
68
|
*
|
|
51
69
|
* @type {string}
|
|
@@ -29,7 +29,10 @@ function ConversationAgentAuthFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'conversation_participant_name': !(0, runtime_1.exists)(json, 'conversation_participant_name') ? undefined : json['conversation_participant_name'],
|
|
30
30
|
'jwt': !(0, runtime_1.exists)(json, 'jwt') ? undefined : json['jwt'],
|
|
31
31
|
'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
|
|
32
|
+
'pbx_admin': !(0, runtime_1.exists)(json, 'pbx_admin') ? undefined : json['pbx_admin'],
|
|
32
33
|
'pbx_jwt': !(0, runtime_1.exists)(json, 'pbx_jwt') ? undefined : json['pbx_jwt'],
|
|
34
|
+
'pbx_supervisor': !(0, runtime_1.exists)(json, 'pbx_supervisor') ? undefined : json['pbx_supervisor'],
|
|
35
|
+
'pbx_user': !(0, runtime_1.exists)(json, 'pbx_user') ? undefined : json['pbx_user'],
|
|
33
36
|
'pbx_voice_identity': !(0, runtime_1.exists)(json, 'pbx_voice_identity') ? undefined : json['pbx_voice_identity'],
|
|
34
37
|
'pbx_voice_token': !(0, runtime_1.exists)(json, 'pbx_voice_token') ? undefined : json['pbx_voice_token'],
|
|
35
38
|
'pbx_worker_token': !(0, runtime_1.exists)(json, 'pbx_worker_token') ? undefined : json['pbx_worker_token'],
|
|
@@ -50,7 +53,10 @@ function ConversationAgentAuthToJSON(value) {
|
|
|
50
53
|
'conversation_participant_name': value.conversation_participant_name,
|
|
51
54
|
'jwt': value.jwt,
|
|
52
55
|
'merchant_id': value.merchant_id,
|
|
56
|
+
'pbx_admin': value.pbx_admin,
|
|
53
57
|
'pbx_jwt': value.pbx_jwt,
|
|
58
|
+
'pbx_supervisor': value.pbx_supervisor,
|
|
59
|
+
'pbx_user': value.pbx_user,
|
|
54
60
|
'pbx_voice_identity': value.pbx_voice_identity,
|
|
55
61
|
'pbx_voice_token': value.pbx_voice_token,
|
|
56
62
|
'pbx_worker_token': value.pbx_worker_token,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ConversationPbxAudioUploadUrl
|
|
16
|
+
*/
|
|
17
|
+
export interface ConversationPbxAudioUploadUrl {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConversationPbxAudioUploadUrl
|
|
22
|
+
*/
|
|
23
|
+
key?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ConversationPbxAudioUploadUrl
|
|
28
|
+
*/
|
|
29
|
+
url?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function ConversationPbxAudioUploadUrlFromJSON(json: any): ConversationPbxAudioUploadUrl;
|
|
32
|
+
export declare function ConversationPbxAudioUploadUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxAudioUploadUrl;
|
|
33
|
+
export declare function ConversationPbxAudioUploadUrlToJSON(value?: ConversationPbxAudioUploadUrl | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConversationPbxAudioUploadUrlToJSON = exports.ConversationPbxAudioUploadUrlFromJSONTyped = exports.ConversationPbxAudioUploadUrlFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function ConversationPbxAudioUploadUrlFromJSON(json) {
|
|
19
|
+
return ConversationPbxAudioUploadUrlFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.ConversationPbxAudioUploadUrlFromJSON = ConversationPbxAudioUploadUrlFromJSON;
|
|
22
|
+
function ConversationPbxAudioUploadUrlFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'key': !(0, runtime_1.exists)(json, 'key') ? undefined : json['key'],
|
|
28
|
+
'url': !(0, runtime_1.exists)(json, 'url') ? undefined : json['url'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
exports.ConversationPbxAudioUploadUrlFromJSONTyped = ConversationPbxAudioUploadUrlFromJSONTyped;
|
|
32
|
+
function ConversationPbxAudioUploadUrlToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'key': value.key,
|
|
41
|
+
'url': value.url,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ConversationPbxAudioUploadUrlToJSON = ConversationPbxAudioUploadUrlToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UltraCart Rest API V2
|
|
3
|
+
* UltraCart REST API Version 2
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
|
6
|
+
* Contact: support@ultracart.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ConversationPbxAudioUploadUrl } from './ConversationPbxAudioUploadUrl';
|
|
13
|
+
import { ModelError } from './ModelError';
|
|
14
|
+
import { ResponseMetadata } from './ResponseMetadata';
|
|
15
|
+
import { Warning } from './Warning';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ConversationPbxAudioUploadUrlResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ConversationPbxAudioUploadUrlResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {ConversationPbxAudioUploadUrl}
|
|
25
|
+
* @memberof ConversationPbxAudioUploadUrlResponse
|
|
26
|
+
*/
|
|
27
|
+
conversation_pbx_audio_upload_url?: ConversationPbxAudioUploadUrl;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ModelError}
|
|
31
|
+
* @memberof ConversationPbxAudioUploadUrlResponse
|
|
32
|
+
*/
|
|
33
|
+
error?: ModelError;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ResponseMetadata}
|
|
37
|
+
* @memberof ConversationPbxAudioUploadUrlResponse
|
|
38
|
+
*/
|
|
39
|
+
metadata?: ResponseMetadata;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates if API call was successful
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof ConversationPbxAudioUploadUrlResponse
|
|
44
|
+
*/
|
|
45
|
+
success?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Warning}
|
|
49
|
+
* @memberof ConversationPbxAudioUploadUrlResponse
|
|
50
|
+
*/
|
|
51
|
+
warning?: Warning;
|
|
52
|
+
}
|
|
53
|
+
export declare function ConversationPbxAudioUploadUrlResponseFromJSON(json: any): ConversationPbxAudioUploadUrlResponse;
|
|
54
|
+
export declare function ConversationPbxAudioUploadUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxAudioUploadUrlResponse;
|
|
55
|
+
export declare function ConversationPbxAudioUploadUrlResponseToJSON(value?: ConversationPbxAudioUploadUrlResponse | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* UltraCart Rest API V2
|
|
6
|
+
* UltraCart REST API Version 2
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
|
9
|
+
* Contact: support@ultracart.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ConversationPbxAudioUploadUrlResponseToJSON = exports.ConversationPbxAudioUploadUrlResponseFromJSONTyped = exports.ConversationPbxAudioUploadUrlResponseFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var ConversationPbxAudioUploadUrl_1 = require("./ConversationPbxAudioUploadUrl");
|
|
19
|
+
var ModelError_1 = require("./ModelError");
|
|
20
|
+
var ResponseMetadata_1 = require("./ResponseMetadata");
|
|
21
|
+
var Warning_1 = require("./Warning");
|
|
22
|
+
function ConversationPbxAudioUploadUrlResponseFromJSON(json) {
|
|
23
|
+
return ConversationPbxAudioUploadUrlResponseFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
exports.ConversationPbxAudioUploadUrlResponseFromJSON = ConversationPbxAudioUploadUrlResponseFromJSON;
|
|
26
|
+
function ConversationPbxAudioUploadUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'conversation_pbx_audio_upload_url': !(0, runtime_1.exists)(json, 'conversation_pbx_audio_upload_url') ? undefined : (0, ConversationPbxAudioUploadUrl_1.ConversationPbxAudioUploadUrlFromJSON)(json['conversation_pbx_audio_upload_url']),
|
|
32
|
+
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : (0, ModelError_1.ModelErrorFromJSON)(json['error']),
|
|
33
|
+
'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : (0, ResponseMetadata_1.ResponseMetadataFromJSON)(json['metadata']),
|
|
34
|
+
'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
|
|
35
|
+
'warning': !(0, runtime_1.exists)(json, 'warning') ? undefined : (0, Warning_1.WarningFromJSON)(json['warning']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ConversationPbxAudioUploadUrlResponseFromJSONTyped = ConversationPbxAudioUploadUrlResponseFromJSONTyped;
|
|
39
|
+
function ConversationPbxAudioUploadUrlResponseToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'conversation_pbx_audio_upload_url': (0, ConversationPbxAudioUploadUrl_1.ConversationPbxAudioUploadUrlToJSON)(value.conversation_pbx_audio_upload_url),
|
|
48
|
+
'error': (0, ModelError_1.ModelErrorToJSON)(value.error),
|
|
49
|
+
'metadata': (0, ResponseMetadata_1.ResponseMetadataToJSON)(value.metadata),
|
|
50
|
+
'success': value.success,
|
|
51
|
+
'warning': (0, Warning_1.WarningToJSON)(value.warning),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.ConversationPbxAudioUploadUrlResponseToJSON = ConversationPbxAudioUploadUrlResponseToJSON;
|
|
@@ -29,10 +29,10 @@ export interface ConversationPbxCustomerSnapshotResponse {
|
|
|
29
29
|
auto_orders?: Array<AutoOrder>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {Customer}
|
|
32
|
+
* @type {Array<Customer>}
|
|
33
33
|
* @memberof ConversationPbxCustomerSnapshotResponse
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
customers?: Array<Customer>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {ModelError}
|
|
@@ -31,7 +31,7 @@ function ConversationPbxCustomerSnapshotResponseFromJSONTyped(json, ignoreDiscri
|
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
'auto_orders': !(0, runtime_1.exists)(json, 'auto_orders') ? undefined : (json['auto_orders'].map(AutoOrder_1.AutoOrderFromJSON)),
|
|
34
|
-
'
|
|
34
|
+
'customers': !(0, runtime_1.exists)(json, 'customers') ? undefined : (json['customers'].map(Customer_1.CustomerFromJSON)),
|
|
35
35
|
'error': !(0, runtime_1.exists)(json, 'error') ? undefined : (0, ModelError_1.ModelErrorFromJSON)(json['error']),
|
|
36
36
|
'metadata': !(0, runtime_1.exists)(json, 'metadata') ? undefined : (0, ResponseMetadata_1.ResponseMetadataFromJSON)(json['metadata']),
|
|
37
37
|
'orders': !(0, runtime_1.exists)(json, 'orders') ? undefined : (json['orders'].map(Order_1.OrderFromJSON)),
|
|
@@ -49,7 +49,7 @@ function ConversationPbxCustomerSnapshotResponseToJSON(value) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'auto_orders': value.auto_orders === undefined ? undefined : (value.auto_orders.map(AutoOrder_1.AutoOrderToJSON)),
|
|
52
|
-
'
|
|
52
|
+
'customers': value.customers === undefined ? undefined : (value.customers.map(Customer_1.CustomerToJSON)),
|
|
53
53
|
'error': (0, ModelError_1.ModelErrorToJSON)(value.error),
|
|
54
54
|
'metadata': (0, ResponseMetadata_1.ResponseMetadataToJSON)(value.metadata),
|
|
55
55
|
'orders': value.orders === undefined ? undefined : (value.orders.map(Order_1.OrderToJSON)),
|
|
@@ -136,6 +136,12 @@ export interface ConversationPbxQueue {
|
|
|
136
136
|
* @memberof ConversationPbxQueue
|
|
137
137
|
*/
|
|
138
138
|
wait_warning_seconds?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Wrap up time in seconds
|
|
141
|
+
* @type {number}
|
|
142
|
+
* @memberof ConversationPbxQueue
|
|
143
|
+
*/
|
|
144
|
+
wrap_up_seconds?: number;
|
|
139
145
|
}
|
|
140
146
|
export declare function ConversationPbxQueueFromJSON(json: any): ConversationPbxQueue;
|
|
141
147
|
export declare function ConversationPbxQueueFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConversationPbxQueue;
|
|
@@ -45,6 +45,7 @@ function ConversationPbxQueueFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'voicemail': !(0, runtime_1.exists)(json, 'voicemail') ? undefined : json['voicemail'],
|
|
46
46
|
'wait_critical_seconds': !(0, runtime_1.exists)(json, 'wait_critical_seconds') ? undefined : json['wait_critical_seconds'],
|
|
47
47
|
'wait_warning_seconds': !(0, runtime_1.exists)(json, 'wait_warning_seconds') ? undefined : json['wait_warning_seconds'],
|
|
48
|
+
'wrap_up_seconds': !(0, runtime_1.exists)(json, 'wrap_up_seconds') ? undefined : json['wrap_up_seconds'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.ConversationPbxQueueFromJSONTyped = ConversationPbxQueueFromJSONTyped;
|
|
@@ -76,6 +77,7 @@ function ConversationPbxQueueToJSON(value) {
|
|
|
76
77
|
'voicemail': value.voicemail,
|
|
77
78
|
'wait_critical_seconds': value.wait_critical_seconds,
|
|
78
79
|
'wait_warning_seconds': value.wait_warning_seconds,
|
|
80
|
+
'wrap_up_seconds': value.wrap_up_seconds,
|
|
79
81
|
};
|
|
80
82
|
}
|
|
81
83
|
exports.ConversationPbxQueueToJSON = ConversationPbxQueueToJSON;
|