webitel-sdk 0.1.97 → 0.1.98
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/bundles/index.esm.js +200 -20
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +226 -20
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/api/call-service-api.js +92 -0
- package/esm2015/api/call-service-api.js.map +1 -1
- package/esm2015/api/region-service-api.js +20 -20
- package/esm2015/api/routing-chat-plan-service-api.js +88 -0
- package/esm2015/api/routing-chat-plan-service-api.js.map +1 -1
- package/esm5/api/call-service-api.js +105 -0
- package/esm5/api/call-service-api.js.map +1 -1
- package/esm5/api/region-service-api.js +20 -20
- package/esm5/api/routing-chat-plan-service-api.js +101 -0
- package/esm5/api/routing-chat-plan-service-api.js.map +1 -1
- package/package.json +3 -3
- package/types/api/call-service-api.d.ts +33 -0
- package/types/api/call-service-api.d.ts.map +1 -1
- package/types/api/engine-agent-call-statistics.d.ts +12 -0
- package/types/api/engine-agent-call-statistics.d.ts.map +1 -1
- package/types/api/engine-patch-region-request.d.ts +2 -2
- package/types/api/engine-region.d.ts +2 -2
- package/types/api/engine-update-region-request.d.ts +2 -2
- package/types/api/region-service-api.d.ts +40 -40
- package/types/api/routing-chat-plan-service-api.d.ts +29 -0
- package/types/api/routing-chat-plan-service-api.d.ts.map +1 -1
package/bundles/index.umd.js
CHANGED
|
@@ -7070,6 +7070,60 @@
|
|
|
7070
7070
|
});
|
|
7071
7071
|
});
|
|
7072
7072
|
},
|
|
7073
|
+
/**
|
|
7074
|
+
*
|
|
7075
|
+
* @summary Call item
|
|
7076
|
+
* @param {string} id
|
|
7077
|
+
* @param {*} [options] Override http request option.
|
|
7078
|
+
* @throws {RequiredError}
|
|
7079
|
+
*/
|
|
7080
|
+
confirmPush: function (id, options) {
|
|
7081
|
+
if (options === void 0) { options = {}; }
|
|
7082
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
7083
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
7084
|
+
return tslib.__generator(this, function (_b) {
|
|
7085
|
+
switch (_b.label) {
|
|
7086
|
+
case 0:
|
|
7087
|
+
// verify required parameter 'id' is not null or undefined
|
|
7088
|
+
if (id === null || id === undefined) {
|
|
7089
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling confirmPush.');
|
|
7090
|
+
}
|
|
7091
|
+
localVarPath = "/calls/active/{id}/confirm_push".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
7092
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
7093
|
+
if (configuration) {
|
|
7094
|
+
baseOptions = configuration.baseOptions;
|
|
7095
|
+
}
|
|
7096
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'PATCH' }, baseOptions), options);
|
|
7097
|
+
localVarHeaderParameter = {};
|
|
7098
|
+
localVarQueryParameter = {};
|
|
7099
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
7100
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
7101
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
7102
|
+
case 1:
|
|
7103
|
+
_a = _b.sent();
|
|
7104
|
+
return [3 /*break*/, 4];
|
|
7105
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
7106
|
+
case 3:
|
|
7107
|
+
_a = _b.sent();
|
|
7108
|
+
_b.label = 4;
|
|
7109
|
+
case 4:
|
|
7110
|
+
localVarApiKeyValue = _a;
|
|
7111
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
7112
|
+
_b.label = 5;
|
|
7113
|
+
case 5:
|
|
7114
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
7115
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
7116
|
+
delete localVarUrlObj.search;
|
|
7117
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7118
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7119
|
+
return [2 /*return*/, {
|
|
7120
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
7121
|
+
options: localVarRequestOptions,
|
|
7122
|
+
}];
|
|
7123
|
+
}
|
|
7124
|
+
});
|
|
7125
|
+
});
|
|
7126
|
+
},
|
|
7073
7127
|
/**
|
|
7074
7128
|
*
|
|
7075
7129
|
* @summary Create e call
|
|
@@ -8105,6 +8159,31 @@
|
|
|
8105
8159
|
});
|
|
8106
8160
|
});
|
|
8107
8161
|
},
|
|
8162
|
+
/**
|
|
8163
|
+
*
|
|
8164
|
+
* @summary Call item
|
|
8165
|
+
* @param {string} id
|
|
8166
|
+
* @param {*} [options] Override http request option.
|
|
8167
|
+
* @throws {RequiredError}
|
|
8168
|
+
*/
|
|
8169
|
+
confirmPush: function (id, options) {
|
|
8170
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
8171
|
+
var localVarAxiosArgs;
|
|
8172
|
+
return tslib.__generator(this, function (_a) {
|
|
8173
|
+
switch (_a.label) {
|
|
8174
|
+
case 0: return [4 /*yield*/, CallServiceApiAxiosParamCreator(configuration).confirmPush(id, options)];
|
|
8175
|
+
case 1:
|
|
8176
|
+
localVarAxiosArgs = _a.sent();
|
|
8177
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
8178
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
8179
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
8180
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
8181
|
+
return axios.request(axiosRequestArgs);
|
|
8182
|
+
}];
|
|
8183
|
+
}
|
|
8184
|
+
});
|
|
8185
|
+
});
|
|
8186
|
+
},
|
|
8108
8187
|
/**
|
|
8109
8188
|
*
|
|
8110
8189
|
* @summary Create e call
|
|
@@ -8497,6 +8576,18 @@
|
|
|
8497
8576
|
.blindTransferCall(id, body, options)
|
|
8498
8577
|
.then(function (request) { return request(axios, basePath); });
|
|
8499
8578
|
},
|
|
8579
|
+
/**
|
|
8580
|
+
*
|
|
8581
|
+
* @summary Call item
|
|
8582
|
+
* @param {string} id
|
|
8583
|
+
* @param {*} [options] Override http request option.
|
|
8584
|
+
* @throws {RequiredError}
|
|
8585
|
+
*/
|
|
8586
|
+
confirmPush: function (id, options) {
|
|
8587
|
+
return CallServiceApiFp(configuration)
|
|
8588
|
+
.confirmPush(id, options)
|
|
8589
|
+
.then(function (request) { return request(axios, basePath); });
|
|
8590
|
+
},
|
|
8500
8591
|
/**
|
|
8501
8592
|
*
|
|
8502
8593
|
* @summary Create e call
|
|
@@ -8742,6 +8833,20 @@
|
|
|
8742
8833
|
.blindTransferCall(id, body, options)
|
|
8743
8834
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8744
8835
|
};
|
|
8836
|
+
/**
|
|
8837
|
+
*
|
|
8838
|
+
* @summary Call item
|
|
8839
|
+
* @param {string} id
|
|
8840
|
+
* @param {*} [options] Override http request option.
|
|
8841
|
+
* @throws {RequiredError}
|
|
8842
|
+
* @memberof CallServiceApi
|
|
8843
|
+
*/
|
|
8844
|
+
CallServiceApi.prototype.confirmPush = function (id, options) {
|
|
8845
|
+
var _this = this;
|
|
8846
|
+
return CallServiceApiFp(this.configuration)
|
|
8847
|
+
.confirmPush(id, options)
|
|
8848
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8849
|
+
};
|
|
8745
8850
|
/**
|
|
8746
8851
|
*
|
|
8747
8852
|
* @summary Create e call
|
|
@@ -20922,7 +21027,7 @@
|
|
|
20922
21027
|
},
|
|
20923
21028
|
/**
|
|
20924
21029
|
*
|
|
20925
|
-
* @param {
|
|
21030
|
+
* @param {string} id
|
|
20926
21031
|
* @param {*} [options] Override http request option.
|
|
20927
21032
|
* @throws {RequiredError}
|
|
20928
21033
|
*/
|
|
@@ -20975,7 +21080,7 @@
|
|
|
20975
21080
|
},
|
|
20976
21081
|
/**
|
|
20977
21082
|
*
|
|
20978
|
-
* @param {
|
|
21083
|
+
* @param {string} id
|
|
20979
21084
|
* @param {EnginePatchRegionRequest} body
|
|
20980
21085
|
* @param {*} [options] Override http request option.
|
|
20981
21086
|
* @throws {RequiredError}
|
|
@@ -21039,7 +21144,7 @@
|
|
|
21039
21144
|
},
|
|
21040
21145
|
/**
|
|
21041
21146
|
*
|
|
21042
|
-
* @param {
|
|
21147
|
+
* @param {string} id
|
|
21043
21148
|
* @param {*} [options] Override http request option.
|
|
21044
21149
|
* @throws {RequiredError}
|
|
21045
21150
|
*/
|
|
@@ -21097,7 +21202,7 @@
|
|
|
21097
21202
|
* @param {string} [q]
|
|
21098
21203
|
* @param {string} [sort]
|
|
21099
21204
|
* @param {Array<string>} [fields]
|
|
21100
|
-
* @param {Array<
|
|
21205
|
+
* @param {Array<string>} [id]
|
|
21101
21206
|
* @param {string} [name]
|
|
21102
21207
|
* @param {string} [description]
|
|
21103
21208
|
* @param {Array<number>} [timezoneId]
|
|
@@ -21176,7 +21281,7 @@
|
|
|
21176
21281
|
},
|
|
21177
21282
|
/**
|
|
21178
21283
|
*
|
|
21179
|
-
* @param {
|
|
21284
|
+
* @param {string} id
|
|
21180
21285
|
* @param {EngineUpdateRegionRequest} body
|
|
21181
21286
|
* @param {*} [options] Override http request option.
|
|
21182
21287
|
* @throws {RequiredError}
|
|
@@ -21272,7 +21377,7 @@
|
|
|
21272
21377
|
},
|
|
21273
21378
|
/**
|
|
21274
21379
|
*
|
|
21275
|
-
* @param {
|
|
21380
|
+
* @param {string} id
|
|
21276
21381
|
* @param {*} [options] Override http request option.
|
|
21277
21382
|
* @throws {RequiredError}
|
|
21278
21383
|
*/
|
|
@@ -21296,7 +21401,7 @@
|
|
|
21296
21401
|
},
|
|
21297
21402
|
/**
|
|
21298
21403
|
*
|
|
21299
|
-
* @param {
|
|
21404
|
+
* @param {string} id
|
|
21300
21405
|
* @param {EnginePatchRegionRequest} body
|
|
21301
21406
|
* @param {*} [options] Override http request option.
|
|
21302
21407
|
* @throws {RequiredError}
|
|
@@ -21321,7 +21426,7 @@
|
|
|
21321
21426
|
},
|
|
21322
21427
|
/**
|
|
21323
21428
|
*
|
|
21324
|
-
* @param {
|
|
21429
|
+
* @param {string} id
|
|
21325
21430
|
* @param {*} [options] Override http request option.
|
|
21326
21431
|
* @throws {RequiredError}
|
|
21327
21432
|
*/
|
|
@@ -21350,7 +21455,7 @@
|
|
|
21350
21455
|
* @param {string} [q]
|
|
21351
21456
|
* @param {string} [sort]
|
|
21352
21457
|
* @param {Array<string>} [fields]
|
|
21353
|
-
* @param {Array<
|
|
21458
|
+
* @param {Array<string>} [id]
|
|
21354
21459
|
* @param {string} [name]
|
|
21355
21460
|
* @param {string} [description]
|
|
21356
21461
|
* @param {Array<number>} [timezoneId]
|
|
@@ -21377,7 +21482,7 @@
|
|
|
21377
21482
|
},
|
|
21378
21483
|
/**
|
|
21379
21484
|
*
|
|
21380
|
-
* @param {
|
|
21485
|
+
* @param {string} id
|
|
21381
21486
|
* @param {EngineUpdateRegionRequest} body
|
|
21382
21487
|
* @param {*} [options] Override http request option.
|
|
21383
21488
|
* @throws {RequiredError}
|
|
@@ -21421,7 +21526,7 @@
|
|
|
21421
21526
|
},
|
|
21422
21527
|
/**
|
|
21423
21528
|
*
|
|
21424
|
-
* @param {
|
|
21529
|
+
* @param {string} id
|
|
21425
21530
|
* @param {*} [options] Override http request option.
|
|
21426
21531
|
* @throws {RequiredError}
|
|
21427
21532
|
*/
|
|
@@ -21432,7 +21537,7 @@
|
|
|
21432
21537
|
},
|
|
21433
21538
|
/**
|
|
21434
21539
|
*
|
|
21435
|
-
* @param {
|
|
21540
|
+
* @param {string} id
|
|
21436
21541
|
* @param {EnginePatchRegionRequest} body
|
|
21437
21542
|
* @param {*} [options] Override http request option.
|
|
21438
21543
|
* @throws {RequiredError}
|
|
@@ -21444,7 +21549,7 @@
|
|
|
21444
21549
|
},
|
|
21445
21550
|
/**
|
|
21446
21551
|
*
|
|
21447
|
-
* @param {
|
|
21552
|
+
* @param {string} id
|
|
21448
21553
|
* @param {*} [options] Override http request option.
|
|
21449
21554
|
* @throws {RequiredError}
|
|
21450
21555
|
*/
|
|
@@ -21460,7 +21565,7 @@
|
|
|
21460
21565
|
* @param {string} [q]
|
|
21461
21566
|
* @param {string} [sort]
|
|
21462
21567
|
* @param {Array<string>} [fields]
|
|
21463
|
-
* @param {Array<
|
|
21568
|
+
* @param {Array<string>} [id]
|
|
21464
21569
|
* @param {string} [name]
|
|
21465
21570
|
* @param {string} [description]
|
|
21466
21571
|
* @param {Array<number>} [timezoneId]
|
|
@@ -21474,7 +21579,7 @@
|
|
|
21474
21579
|
},
|
|
21475
21580
|
/**
|
|
21476
21581
|
*
|
|
21477
|
-
* @param {
|
|
21582
|
+
* @param {string} id
|
|
21478
21583
|
* @param {EngineUpdateRegionRequest} body
|
|
21479
21584
|
* @param {*} [options] Override http request option.
|
|
21480
21585
|
* @throws {RequiredError}
|
|
@@ -21512,7 +21617,7 @@
|
|
|
21512
21617
|
};
|
|
21513
21618
|
/**
|
|
21514
21619
|
*
|
|
21515
|
-
* @param {
|
|
21620
|
+
* @param {string} id
|
|
21516
21621
|
* @param {*} [options] Override http request option.
|
|
21517
21622
|
* @throws {RequiredError}
|
|
21518
21623
|
* @memberof RegionServiceApi
|
|
@@ -21525,7 +21630,7 @@
|
|
|
21525
21630
|
};
|
|
21526
21631
|
/**
|
|
21527
21632
|
*
|
|
21528
|
-
* @param {
|
|
21633
|
+
* @param {string} id
|
|
21529
21634
|
* @param {EnginePatchRegionRequest} body
|
|
21530
21635
|
* @param {*} [options] Override http request option.
|
|
21531
21636
|
* @throws {RequiredError}
|
|
@@ -21539,7 +21644,7 @@
|
|
|
21539
21644
|
};
|
|
21540
21645
|
/**
|
|
21541
21646
|
*
|
|
21542
|
-
* @param {
|
|
21647
|
+
* @param {string} id
|
|
21543
21648
|
* @param {*} [options] Override http request option.
|
|
21544
21649
|
* @throws {RequiredError}
|
|
21545
21650
|
* @memberof RegionServiceApi
|
|
@@ -21557,7 +21662,7 @@
|
|
|
21557
21662
|
* @param {string} [q]
|
|
21558
21663
|
* @param {string} [sort]
|
|
21559
21664
|
* @param {Array<string>} [fields]
|
|
21560
|
-
* @param {Array<
|
|
21665
|
+
* @param {Array<string>} [id]
|
|
21561
21666
|
* @param {string} [name]
|
|
21562
21667
|
* @param {string} [description]
|
|
21563
21668
|
* @param {Array<number>} [timezoneId]
|
|
@@ -21573,7 +21678,7 @@
|
|
|
21573
21678
|
};
|
|
21574
21679
|
/**
|
|
21575
21680
|
*
|
|
21576
|
-
* @param {
|
|
21681
|
+
* @param {string} id
|
|
21577
21682
|
* @param {EngineUpdateRegionRequest} body
|
|
21578
21683
|
* @param {*} [options] Override http request option.
|
|
21579
21684
|
* @throws {RequiredError}
|
|
@@ -21655,6 +21760,59 @@
|
|
|
21655
21760
|
});
|
|
21656
21761
|
});
|
|
21657
21762
|
},
|
|
21763
|
+
/**
|
|
21764
|
+
*
|
|
21765
|
+
* @param {number} id
|
|
21766
|
+
* @param {*} [options] Override http request option.
|
|
21767
|
+
* @throws {RequiredError}
|
|
21768
|
+
*/
|
|
21769
|
+
deleteChatPlan: function (id, options) {
|
|
21770
|
+
if (options === void 0) { options = {}; }
|
|
21771
|
+
return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
21772
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarApiKeyValue, _a, headersFromBaseOptions;
|
|
21773
|
+
return tslib.__generator(this, function (_b) {
|
|
21774
|
+
switch (_b.label) {
|
|
21775
|
+
case 0:
|
|
21776
|
+
// verify required parameter 'id' is not null or undefined
|
|
21777
|
+
if (id === null || id === undefined) {
|
|
21778
|
+
throw new RequiredError('id', 'Required parameter id was null or undefined when calling deleteChatPlan.');
|
|
21779
|
+
}
|
|
21780
|
+
localVarPath = "/routing/outbound/chat/{id}".replace("{" + 'id' + "}", encodeURIComponent(String(id)));
|
|
21781
|
+
localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
21782
|
+
if (configuration) {
|
|
21783
|
+
baseOptions = configuration.baseOptions;
|
|
21784
|
+
}
|
|
21785
|
+
localVarRequestOptions = tslib.__assign(tslib.__assign({ method: 'DELETE' }, baseOptions), options);
|
|
21786
|
+
localVarHeaderParameter = {};
|
|
21787
|
+
localVarQueryParameter = {};
|
|
21788
|
+
if (!(configuration && configuration.apiKey)) return [3 /*break*/, 5];
|
|
21789
|
+
if (!(typeof configuration.apiKey === 'function')) return [3 /*break*/, 2];
|
|
21790
|
+
return [4 /*yield*/, configuration.apiKey('X-Webitel-Access')];
|
|
21791
|
+
case 1:
|
|
21792
|
+
_a = _b.sent();
|
|
21793
|
+
return [3 /*break*/, 4];
|
|
21794
|
+
case 2: return [4 /*yield*/, configuration.apiKey];
|
|
21795
|
+
case 3:
|
|
21796
|
+
_a = _b.sent();
|
|
21797
|
+
_b.label = 4;
|
|
21798
|
+
case 4:
|
|
21799
|
+
localVarApiKeyValue = _a;
|
|
21800
|
+
localVarHeaderParameter['X-Webitel-Access'] = localVarApiKeyValue;
|
|
21801
|
+
_b.label = 5;
|
|
21802
|
+
case 5:
|
|
21803
|
+
localVarUrlObj.query = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
21804
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
21805
|
+
delete localVarUrlObj.search;
|
|
21806
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21807
|
+
localVarRequestOptions.headers = tslib.__assign(tslib.__assign(tslib.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21808
|
+
return [2 /*return*/, {
|
|
21809
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
21810
|
+
options: localVarRequestOptions,
|
|
21811
|
+
}];
|
|
21812
|
+
}
|
|
21813
|
+
});
|
|
21814
|
+
});
|
|
21815
|
+
},
|
|
21658
21816
|
/**
|
|
21659
21817
|
*
|
|
21660
21818
|
* @param {number} id
|
|
@@ -21948,6 +22106,30 @@
|
|
|
21948
22106
|
});
|
|
21949
22107
|
});
|
|
21950
22108
|
},
|
|
22109
|
+
/**
|
|
22110
|
+
*
|
|
22111
|
+
* @param {number} id
|
|
22112
|
+
* @param {*} [options] Override http request option.
|
|
22113
|
+
* @throws {RequiredError}
|
|
22114
|
+
*/
|
|
22115
|
+
deleteChatPlan: function (id, options) {
|
|
22116
|
+
return tslib.__awaiter(this, void 0, void 0, function () {
|
|
22117
|
+
var localVarAxiosArgs;
|
|
22118
|
+
return tslib.__generator(this, function (_a) {
|
|
22119
|
+
switch (_a.label) {
|
|
22120
|
+
case 0: return [4 /*yield*/, RoutingChatPlanServiceApiAxiosParamCreator(configuration).deleteChatPlan(id, options)];
|
|
22121
|
+
case 1:
|
|
22122
|
+
localVarAxiosArgs = _a.sent();
|
|
22123
|
+
return [2 /*return*/, function (axios, basePath) {
|
|
22124
|
+
if (axios === void 0) { axios = globalAxios; }
|
|
22125
|
+
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
22126
|
+
var axiosRequestArgs = tslib.__assign(tslib.__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
22127
|
+
return axios.request(axiosRequestArgs);
|
|
22128
|
+
}];
|
|
22129
|
+
}
|
|
22130
|
+
});
|
|
22131
|
+
});
|
|
22132
|
+
},
|
|
21951
22133
|
/**
|
|
21952
22134
|
*
|
|
21953
22135
|
* @param {number} id
|
|
@@ -22072,6 +22254,17 @@
|
|
|
22072
22254
|
.createChatPlan(body, options)
|
|
22073
22255
|
.then(function (request) { return request(axios, basePath); });
|
|
22074
22256
|
},
|
|
22257
|
+
/**
|
|
22258
|
+
*
|
|
22259
|
+
* @param {number} id
|
|
22260
|
+
* @param {*} [options] Override http request option.
|
|
22261
|
+
* @throws {RequiredError}
|
|
22262
|
+
*/
|
|
22263
|
+
deleteChatPlan: function (id, options) {
|
|
22264
|
+
return RoutingChatPlanServiceApiFp(configuration)
|
|
22265
|
+
.deleteChatPlan(id, options)
|
|
22266
|
+
.then(function (request) { return request(axios, basePath); });
|
|
22267
|
+
},
|
|
22075
22268
|
/**
|
|
22076
22269
|
*
|
|
22077
22270
|
* @param {number} id
|
|
@@ -22151,6 +22344,19 @@
|
|
|
22151
22344
|
.createChatPlan(body, options)
|
|
22152
22345
|
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22153
22346
|
};
|
|
22347
|
+
/**
|
|
22348
|
+
*
|
|
22349
|
+
* @param {number} id
|
|
22350
|
+
* @param {*} [options] Override http request option.
|
|
22351
|
+
* @throws {RequiredError}
|
|
22352
|
+
* @memberof RoutingChatPlanServiceApi
|
|
22353
|
+
*/
|
|
22354
|
+
RoutingChatPlanServiceApi.prototype.deleteChatPlan = function (id, options) {
|
|
22355
|
+
var _this = this;
|
|
22356
|
+
return RoutingChatPlanServiceApiFp(this.configuration)
|
|
22357
|
+
.deleteChatPlan(id, options)
|
|
22358
|
+
.then(function (request) { return request(_this.axios, _this.basePath); });
|
|
22359
|
+
};
|
|
22154
22360
|
/**
|
|
22155
22361
|
*
|
|
22156
22362
|
* @param {number} id
|