yellowgrid-api-ts 3.2.161-dev.0 → 3.2.162-dev.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/.openapi-generator/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -0
- package/api.ts +351 -253
- package/configuration.ts +2 -2
- package/dist/api.d.ts +80 -15
- package/dist/api.js +309 -238
- package/dist/configuration.js +2 -2
- package/docs/AbstractOrderRequestDTO.md +1 -1
- package/docs/AccountsApi.md +48 -0
- package/docs/AdminOrderRequestDTO.md +1 -1
- package/docs/CreditAccountEntity.md +0 -2
- package/docs/{CrmActivityDto.md → CrmActivityDTO.md} +1 -1
- package/docs/CrmDateActivitiesDTO.md +1 -1
- package/docs/CustomerListAccountDTO.md +27 -0
- package/docs/CustomerOrderRequestDTO.md +1 -1
- package/docs/DetailedOrderRequestDTO.md +1 -1
- package/docs/PortalAccountModel.md +0 -2
- package/docs/ProductSummaryDTO.md +2 -2
- package/docs/ProspectDTO.md +2 -2
- package/docs/RecordingBackupAzureModel.md +2 -0
- package/docs/RecordingsBackupInfoDTO.md +2 -2
- package/docs/ShipmentRequestDTO.md +2 -2
- package/docs/TcxKeySummaryDTO.md +1 -1
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/docs/AccountPageDetailsDTO.md +0 -41
- package/docs/PatchSendWelcomeEmailRequest.md +0 -20
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -20
- package/docs/PostAddAdminNoteRequest.md +0 -20
- package/docs/PostCreateCrmNoteRequest.md +0 -20
- package/docs/PostGetProductRequest.md +0 -24
- package/docs/TcxInstallationDetailsModel.md +0 -45
- /package/docs/{CrmActivitiesResponseDto.md → CrmActivitiesResponseDTO.md} +0 -0
package/dist/api.js
CHANGED
|
@@ -96,27 +96,27 @@ var common_1 = require("./common");
|
|
|
96
96
|
var base_1 = require("./base");
|
|
97
97
|
exports.AdminOrderRequestDTOPaymentMethodEnum = {
|
|
98
98
|
Card: 'card',
|
|
99
|
-
Bacs: 'bacs'
|
|
99
|
+
Bacs: 'bacs',
|
|
100
100
|
};
|
|
101
101
|
exports.AdminUserModelRoleEnum = {
|
|
102
102
|
NUMBER_0: 0,
|
|
103
103
|
NUMBER_1: 1,
|
|
104
104
|
NUMBER_2: 2,
|
|
105
105
|
NUMBER_3: 3,
|
|
106
|
-
NUMBER_4: 4
|
|
106
|
+
NUMBER_4: 4,
|
|
107
107
|
};
|
|
108
108
|
exports.AdminUserModelPermissionsEnum = {
|
|
109
109
|
All: 'All',
|
|
110
110
|
Standard: 'Standard',
|
|
111
111
|
Technical: 'Technical',
|
|
112
112
|
Privileged: 'Privileged',
|
|
113
|
-
Development: 'Development'
|
|
113
|
+
Development: 'Development',
|
|
114
114
|
};
|
|
115
115
|
exports.AuditLogEntityActionEnum = {
|
|
116
116
|
Create: 'CREATE',
|
|
117
117
|
Read: 'READ',
|
|
118
118
|
Update: 'UPDATE',
|
|
119
|
-
Delete: 'DELETE'
|
|
119
|
+
Delete: 'DELETE',
|
|
120
120
|
};
|
|
121
121
|
exports.AuditLogEntityTypeEnum = {
|
|
122
122
|
AuditLog: 'audit_log',
|
|
@@ -197,20 +197,20 @@ exports.AuditLogEntityTypeEnum = {
|
|
|
197
197
|
Webhook: 'webhook',
|
|
198
198
|
PopsXeroLog: 'pops_xero_log',
|
|
199
199
|
Oauth2Clients: 'oauth2_clients',
|
|
200
|
-
Oauth2Tokens: 'oauth2_tokens'
|
|
200
|
+
Oauth2Tokens: 'oauth2_tokens',
|
|
201
201
|
};
|
|
202
202
|
exports.DivertResponseModelStatusEnum = {
|
|
203
203
|
Enabled: 'enabled',
|
|
204
|
-
Disabled: 'disabled'
|
|
204
|
+
Disabled: 'disabled',
|
|
205
205
|
};
|
|
206
206
|
exports.EventDTOStatusEnum = {
|
|
207
207
|
NUMBER_0: 0,
|
|
208
208
|
NUMBER_1: 1,
|
|
209
|
-
NUMBER_2: 2
|
|
209
|
+
NUMBER_2: 2,
|
|
210
210
|
};
|
|
211
211
|
exports.HostingChangeResponseModelTypeEnum = {
|
|
212
212
|
NewInstance: 'New Instance',
|
|
213
|
-
BuildingInstance: 'Building Instance'
|
|
213
|
+
BuildingInstance: 'Building Instance',
|
|
214
214
|
};
|
|
215
215
|
exports.HostingRegionDTOCodeEnum = {
|
|
216
216
|
Uk1: 'UK1',
|
|
@@ -221,12 +221,12 @@ exports.HostingRegionDTOCodeEnum = {
|
|
|
221
221
|
Syd1: 'SYD1',
|
|
222
222
|
Sgp1: 'SGP1',
|
|
223
223
|
UsEastVa1: 'US-EAST-VA-1',
|
|
224
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
224
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
225
225
|
};
|
|
226
226
|
exports.ItemDiscountEntityTypeEnum = {
|
|
227
227
|
TcxPhones: 'TCX_PHONES',
|
|
228
228
|
PhoneBulk: 'PHONE_BULK',
|
|
229
|
-
Additional: 'ADDITIONAL'
|
|
229
|
+
Additional: 'ADDITIONAL',
|
|
230
230
|
};
|
|
231
231
|
exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
232
232
|
NewTrunk: 'New Trunk',
|
|
@@ -242,15 +242,15 @@ exports.MultiTenantChangeResponseModelTypeEnum = {
|
|
|
242
242
|
Address: 'Address',
|
|
243
243
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
244
244
|
Fraud: 'Fraud',
|
|
245
|
-
CallBarring: 'Call Barring'
|
|
245
|
+
CallBarring: 'Call Barring',
|
|
246
246
|
};
|
|
247
247
|
exports.OrderRequestModelLicenceTypeEnum = {
|
|
248
248
|
Lite: 'lite',
|
|
249
|
-
Pro: 'pro'
|
|
249
|
+
Pro: 'pro',
|
|
250
250
|
};
|
|
251
251
|
exports.OrderRequestModelSchoolTypeEnum = {
|
|
252
252
|
Primary: 'primary',
|
|
253
|
-
Secondary: 'secondary'
|
|
253
|
+
Secondary: 'secondary',
|
|
254
254
|
};
|
|
255
255
|
exports.OrderTotalModelCurrencyEnum = {
|
|
256
256
|
Eur: 'EUR',
|
|
@@ -283,7 +283,7 @@ exports.OrderTotalModelCurrencyEnum = {
|
|
|
283
283
|
Php: 'PHP',
|
|
284
284
|
Sgd: 'SGD',
|
|
285
285
|
Thb: 'THB',
|
|
286
|
-
Zar: 'ZAR'
|
|
286
|
+
Zar: 'ZAR',
|
|
287
287
|
};
|
|
288
288
|
exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
289
289
|
Rrp: 'RRP',
|
|
@@ -292,14 +292,14 @@ exports.PatchUpdatePriceListRequestPriceListEnum = {
|
|
|
292
292
|
Itsp: 'ITSP',
|
|
293
293
|
SubDisti: 'Sub Disti',
|
|
294
294
|
Distributor: 'Distributor',
|
|
295
|
-
HotelDisti: 'Hotel Disti'
|
|
295
|
+
HotelDisti: 'Hotel Disti',
|
|
296
296
|
};
|
|
297
297
|
exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
|
|
298
298
|
_1: '1',
|
|
299
299
|
_2: '2',
|
|
300
300
|
_3: '3',
|
|
301
301
|
_4: '4',
|
|
302
|
-
_5: '5'
|
|
302
|
+
_5: '5',
|
|
303
303
|
};
|
|
304
304
|
exports.ProspectDTOStatusEnum = {
|
|
305
305
|
NoCallBackSet: 'No Call Back Set',
|
|
@@ -307,47 +307,47 @@ exports.ProspectDTOStatusEnum = {
|
|
|
307
307
|
NoOrdersPlaced: 'No Orders Placed',
|
|
308
308
|
NoOrdersInTheLast4Months: 'No Orders In The Last 4 Months',
|
|
309
309
|
NoActionRequired: 'No Action Required',
|
|
310
|
-
DoNotCall: 'Do Not Call'
|
|
310
|
+
DoNotCall: 'Do Not Call',
|
|
311
311
|
};
|
|
312
312
|
exports.ServiceHealthDTOGlobalStatusEnum = {
|
|
313
313
|
NUMBER_0: 0,
|
|
314
314
|
NUMBER_1: 1,
|
|
315
|
-
NUMBER_2: 2
|
|
315
|
+
NUMBER_2: 2,
|
|
316
316
|
};
|
|
317
317
|
exports.ServiceStatusDTOStatusEnum = {
|
|
318
318
|
_0: '0',
|
|
319
319
|
_1: '1',
|
|
320
|
-
_2: '2'
|
|
320
|
+
_2: '2',
|
|
321
321
|
};
|
|
322
322
|
exports.ShipmentDTOCourierEnum = {
|
|
323
323
|
Dpd: 'DPD',
|
|
324
324
|
ChorltonPallet: 'Chorlton Pallet',
|
|
325
|
-
Pops: 'POPS'
|
|
325
|
+
Pops: 'POPS',
|
|
326
326
|
};
|
|
327
327
|
exports.ShipmentRequestDTOCourierEnum = {
|
|
328
328
|
Dpd: 'DPD',
|
|
329
329
|
ChorltonPallet: 'Chorlton Pallet',
|
|
330
|
-
Pops: 'POPS'
|
|
330
|
+
Pops: 'POPS',
|
|
331
331
|
};
|
|
332
332
|
exports.ShippingRequestDTOCourierEnum = {
|
|
333
333
|
Dpd: 'DPD',
|
|
334
334
|
ChorltonPallet: 'Chorlton Pallet',
|
|
335
|
-
Pops: 'POPS'
|
|
335
|
+
Pops: 'POPS',
|
|
336
336
|
};
|
|
337
337
|
exports.ShippingRequestDTOPrinterEnum = {
|
|
338
338
|
NUMBER_1: 1,
|
|
339
339
|
NUMBER_2: 2,
|
|
340
|
-
NUMBER_3: 3
|
|
340
|
+
NUMBER_3: 3,
|
|
341
341
|
};
|
|
342
342
|
exports.ShippingServiceDTOCourierEnum = {
|
|
343
343
|
Dpd: 'DPD',
|
|
344
344
|
ChorltonPallet: 'Chorlton Pallet',
|
|
345
|
-
Pops: 'POPS'
|
|
345
|
+
Pops: 'POPS',
|
|
346
346
|
};
|
|
347
347
|
exports.ShippingServiceModelCourierEnum = {
|
|
348
348
|
Dpd: 'DPD',
|
|
349
349
|
ChorltonPallet: 'Chorlton Pallet',
|
|
350
|
-
Pops: 'POPS'
|
|
350
|
+
Pops: 'POPS',
|
|
351
351
|
};
|
|
352
352
|
exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
353
353
|
NewTrunk: 'New Trunk',
|
|
@@ -363,17 +363,17 @@ exports.SipTrunkChangeResponseModelTypeEnum = {
|
|
|
363
363
|
Address: 'Address',
|
|
364
364
|
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
365
365
|
Fraud: 'Fraud',
|
|
366
|
-
CallBarring: 'Call Barring'
|
|
366
|
+
CallBarring: 'Call Barring',
|
|
367
367
|
};
|
|
368
368
|
exports.SmsAccountRequestDTOProviderEnum = {
|
|
369
|
-
NUMBER_1: 1
|
|
369
|
+
NUMBER_1: 1,
|
|
370
370
|
};
|
|
371
371
|
exports.SmsAccountRequestDTOTypeEnum = {
|
|
372
372
|
Local: 'local',
|
|
373
373
|
TollFree: 'toll_free',
|
|
374
374
|
Mobile: 'mobile',
|
|
375
375
|
National: 'national',
|
|
376
|
-
SharedCost: 'shared_cost'
|
|
376
|
+
SharedCost: 'shared_cost',
|
|
377
377
|
};
|
|
378
378
|
exports.SmsPhoneNumberModelStatusEnum = {
|
|
379
379
|
Queued: 'queued',
|
|
@@ -384,31 +384,31 @@ exports.SmsPhoneNumberModelStatusEnum = {
|
|
|
384
384
|
DeliveryUnconfirmed: 'delivery_unconfirmed',
|
|
385
385
|
Delivered: 'delivered',
|
|
386
386
|
DeliveryFailed: 'delivery_failed',
|
|
387
|
-
WebhookDelivered: 'webhook_delivered'
|
|
387
|
+
WebhookDelivered: 'webhook_delivered',
|
|
388
388
|
};
|
|
389
389
|
exports.SmsResponseModelEventTypeEnum = {
|
|
390
390
|
MessageSent: 'message.sent',
|
|
391
391
|
MessageFinalized: 'message.finalized',
|
|
392
|
-
MessageReceived: 'message.received'
|
|
392
|
+
MessageReceived: 'message.received',
|
|
393
393
|
};
|
|
394
394
|
exports.StockOrderModelDeliveryMethodEnum = {
|
|
395
395
|
Sea: 'Sea',
|
|
396
396
|
Air: 'Air',
|
|
397
|
-
Road: 'Road'
|
|
397
|
+
Road: 'Road',
|
|
398
398
|
};
|
|
399
399
|
exports.StockOrderModelPaidEnum = {
|
|
400
400
|
NUMBER_0: 0,
|
|
401
401
|
NUMBER_1: 1,
|
|
402
|
-
NUMBER_2: 2
|
|
402
|
+
NUMBER_2: 2,
|
|
403
403
|
};
|
|
404
404
|
exports.TcxMultiTenantModelPackageEnum = {
|
|
405
|
-
_3CxStarterBundle: '3CX Starter Bundle'
|
|
405
|
+
_3CxStarterBundle: '3CX Starter Bundle',
|
|
406
406
|
};
|
|
407
407
|
exports.TcxSetupEntityInstallTypeEnum = {
|
|
408
408
|
New: 'new',
|
|
409
409
|
Restore: 'restore',
|
|
410
410
|
Failover: 'failover',
|
|
411
|
-
MultiTenant: 'multi-tenant'
|
|
411
|
+
MultiTenant: 'multi-tenant',
|
|
412
412
|
};
|
|
413
413
|
exports.TcxSetupEntityRegionEnum = {
|
|
414
414
|
Uk1: 'UK1',
|
|
@@ -419,13 +419,13 @@ exports.TcxSetupEntityRegionEnum = {
|
|
|
419
419
|
Syd1: 'SYD1',
|
|
420
420
|
Sgp1: 'SGP1',
|
|
421
421
|
UsEastVa1: 'US-EAST-VA-1',
|
|
422
|
-
UsWestOr1: 'US-WEST-OR-1'
|
|
422
|
+
UsWestOr1: 'US-WEST-OR-1',
|
|
423
423
|
};
|
|
424
424
|
exports.TcxWizardModelInstallTypeEnum = {
|
|
425
425
|
New: 'new',
|
|
426
426
|
Restore: 'restore',
|
|
427
427
|
Failover: 'failover',
|
|
428
|
-
MultiTenant: 'multi-tenant'
|
|
428
|
+
MultiTenant: 'multi-tenant',
|
|
429
429
|
};
|
|
430
430
|
exports.TcxWizardModelInstallationStatusEnum = {
|
|
431
431
|
Building: 'Building',
|
|
@@ -442,15 +442,15 @@ exports.TcxWizardModelInstallationStatusEnum = {
|
|
|
442
442
|
RecordingsBackupInstalled: 'Recordings Backup Installed',
|
|
443
443
|
Complete: 'Complete',
|
|
444
444
|
Deleted: 'Deleted',
|
|
445
|
-
Failed: 'Failed'
|
|
445
|
+
Failed: 'Failed',
|
|
446
446
|
};
|
|
447
447
|
exports.UpgradeRequestModelLicenceTypeEnum = {
|
|
448
448
|
Lite: 'lite',
|
|
449
|
-
Pro: 'pro'
|
|
449
|
+
Pro: 'pro',
|
|
450
450
|
};
|
|
451
451
|
exports.UpgradeRequestModelSchoolTypeEnum = {
|
|
452
452
|
Primary: 'primary',
|
|
453
|
-
Secondary: 'secondary'
|
|
453
|
+
Secondary: 'secondary',
|
|
454
454
|
};
|
|
455
455
|
/**
|
|
456
456
|
* AccountsApi - axios parameter creator
|
|
@@ -479,8 +479,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
479
479
|
// verify required parameter 'contactId' is not null or undefined
|
|
480
480
|
(0, common_1.assertParamExists)('deleteAdminUpdateAccountContact', 'contactId', contactId);
|
|
481
481
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
482
|
-
.replace(
|
|
483
|
-
.replace(
|
|
482
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
483
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
484
484
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
485
485
|
if (configuration) {
|
|
486
486
|
baseOptions = configuration.baseOptions;
|
|
@@ -516,7 +516,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
516
516
|
// verify required parameter 'id' is not null or undefined
|
|
517
517
|
(0, common_1.assertParamExists)('deleteArchiveAccount', 'id', id);
|
|
518
518
|
localVarPath = "/admin/accounts/{id}/archive"
|
|
519
|
-
.replace(
|
|
519
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
520
520
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
521
521
|
if (configuration) {
|
|
522
522
|
baseOptions = configuration.baseOptions;
|
|
@@ -553,7 +553,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
553
553
|
// verify required parameter 'id' is not null or undefined
|
|
554
554
|
(0, common_1.assertParamExists)('deleteDeleteClientCredentials', 'id', id);
|
|
555
555
|
localVarPath = "/accounts/me/contacts/credentials/{id}"
|
|
556
|
-
.replace(
|
|
556
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
557
557
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
558
558
|
if (configuration) {
|
|
559
559
|
baseOptions = configuration.baseOptions;
|
|
@@ -590,7 +590,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
590
590
|
// verify required parameter 'email' is not null or undefined
|
|
591
591
|
(0, common_1.assertParamExists)('deleteUpdateAccountContact', 'email', email);
|
|
592
592
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
593
|
-
.replace(
|
|
593
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
594
594
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
595
595
|
if (configuration) {
|
|
596
596
|
baseOptions = configuration.baseOptions;
|
|
@@ -626,7 +626,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
626
626
|
// verify required parameter 'id' is not null or undefined
|
|
627
627
|
(0, common_1.assertParamExists)('getAdminCreateAccountContact', 'id', id);
|
|
628
628
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
629
|
-
.replace(
|
|
629
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
630
630
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
631
631
|
if (configuration) {
|
|
632
632
|
baseOptions = configuration.baseOptions;
|
|
@@ -697,7 +697,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
697
697
|
// verify required parameter 'id' is not null or undefined
|
|
698
698
|
(0, common_1.assertParamExists)('getGetAccountAddresses', 'id', id);
|
|
699
699
|
localVarPath = "/admin/accounts/{id}/addresses"
|
|
700
|
-
.replace(
|
|
700
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
701
701
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
702
702
|
if (configuration) {
|
|
703
703
|
baseOptions = configuration.baseOptions;
|
|
@@ -773,7 +773,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
773
773
|
// verify required parameter 'id' is not null or undefined
|
|
774
774
|
(0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
|
|
775
775
|
localVarPath = "/accounts/{id}/summary"
|
|
776
|
-
.replace(
|
|
776
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
777
777
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
778
778
|
if (configuration) {
|
|
779
779
|
baseOptions = configuration.baseOptions;
|
|
@@ -876,6 +876,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
876
876
|
});
|
|
877
877
|
});
|
|
878
878
|
},
|
|
879
|
+
/**
|
|
880
|
+
* Get Customer Accounts List
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
getGetCustomerAccountsList: function () {
|
|
885
|
+
var args_1 = [];
|
|
886
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
887
|
+
args_1[_i] = arguments[_i];
|
|
888
|
+
}
|
|
889
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
890
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
891
|
+
if (options === void 0) { options = {}; }
|
|
892
|
+
return __generator(this, function (_a) {
|
|
893
|
+
localVarPath = "/admin/accounts/customers/list";
|
|
894
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
895
|
+
if (configuration) {
|
|
896
|
+
baseOptions = configuration.baseOptions;
|
|
897
|
+
}
|
|
898
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
899
|
+
localVarHeaderParameter = {};
|
|
900
|
+
localVarQueryParameter = {};
|
|
901
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
902
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
903
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
904
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
905
|
+
return [2 /*return*/, {
|
|
906
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
907
|
+
options: localVarRequestOptions,
|
|
908
|
+
}];
|
|
909
|
+
});
|
|
910
|
+
});
|
|
911
|
+
},
|
|
879
912
|
/**
|
|
880
913
|
* Get 3CX Keys
|
|
881
914
|
* @summary Get 3CX Keys
|
|
@@ -928,7 +961,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
928
961
|
// verify required parameter 'id' is not null or undefined
|
|
929
962
|
(0, common_1.assertParamExists)('getGetFinanceSettings', 'id', id);
|
|
930
963
|
localVarPath = "/admin/accounts/{id}/finance"
|
|
931
|
-
.replace(
|
|
964
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
932
965
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
933
966
|
if (configuration) {
|
|
934
967
|
baseOptions = configuration.baseOptions;
|
|
@@ -999,7 +1032,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
999
1032
|
// verify required parameter 'id' is not null or undefined
|
|
1000
1033
|
(0, common_1.assertParamExists)('getGetTcxPartnerDetails', 'id', id);
|
|
1001
1034
|
localVarPath = "/admin/accounts/{id}/tcx/partner"
|
|
1002
|
-
.replace(
|
|
1035
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1003
1036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1004
1037
|
if (configuration) {
|
|
1005
1038
|
baseOptions = configuration.baseOptions;
|
|
@@ -1078,8 +1111,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1078
1111
|
// verify required parameter 'state' is not null or undefined
|
|
1079
1112
|
(0, common_1.assertParamExists)('patchSetPortalAccess', 'state', state);
|
|
1080
1113
|
localVarPath = "/admin/accounts/{id}/portal/access/{state}"
|
|
1081
|
-
.replace(
|
|
1082
|
-
.replace(
|
|
1114
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1115
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1083
1116
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1084
1117
|
if (configuration) {
|
|
1085
1118
|
baseOptions = configuration.baseOptions;
|
|
@@ -1118,8 +1151,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1118
1151
|
// verify required parameter 'state' is not null or undefined
|
|
1119
1152
|
(0, common_1.assertParamExists)('patchSetPrizePromo', 'state', state);
|
|
1120
1153
|
localVarPath = "/admin/accounts/{id}/prizes/{state}"
|
|
1121
|
-
.replace(
|
|
1122
|
-
.replace(
|
|
1154
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1155
|
+
.replace('{state}', encodeURIComponent(String(state)));
|
|
1123
1156
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1124
1157
|
if (configuration) {
|
|
1125
1158
|
baseOptions = configuration.baseOptions;
|
|
@@ -1191,7 +1224,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1191
1224
|
// verify required parameter 'id' is not null or undefined
|
|
1192
1225
|
(0, common_1.assertParamExists)('patchUpdateAccountCname', 'id', id);
|
|
1193
1226
|
localVarPath = "/admin/accounts/{id}/cname"
|
|
1194
|
-
.replace(
|
|
1227
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1195
1228
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1196
1229
|
if (configuration) {
|
|
1197
1230
|
baseOptions = configuration.baseOptions;
|
|
@@ -1230,7 +1263,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1263
|
// verify required parameter 'id' is not null or undefined
|
|
1231
1264
|
(0, common_1.assertParamExists)('patchUpdateAccountCompanyNumber', 'id', id);
|
|
1232
1265
|
localVarPath = "/admin/accounts/{id}/companyNumber"
|
|
1233
|
-
.replace(
|
|
1266
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1234
1267
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1235
1268
|
if (configuration) {
|
|
1236
1269
|
baseOptions = configuration.baseOptions;
|
|
@@ -1311,7 +1344,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1311
1344
|
// verify required parameter 'id' is not null or undefined
|
|
1312
1345
|
(0, common_1.assertParamExists)('patchUpdateAccountPhone', 'id', id);
|
|
1313
1346
|
localVarPath = "/admin/accounts/{id}/phone"
|
|
1314
|
-
.replace(
|
|
1347
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1315
1348
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1316
1349
|
if (configuration) {
|
|
1317
1350
|
baseOptions = configuration.baseOptions;
|
|
@@ -1350,7 +1383,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1350
1383
|
// verify required parameter 'id' is not null or undefined
|
|
1351
1384
|
(0, common_1.assertParamExists)('patchUpdateAccountVatNumber', 'id', id);
|
|
1352
1385
|
localVarPath = "/admin/accounts/{id}/vatNumber"
|
|
1353
|
-
.replace(
|
|
1386
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1354
1387
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1355
1388
|
if (configuration) {
|
|
1356
1389
|
baseOptions = configuration.baseOptions;
|
|
@@ -1389,7 +1422,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1389
1422
|
// verify required parameter 'id' is not null or undefined
|
|
1390
1423
|
(0, common_1.assertParamExists)('patchUpdateCreditLimit', 'id', id);
|
|
1391
1424
|
localVarPath = "/admin/accounts/{id}/creditLimit"
|
|
1392
|
-
.replace(
|
|
1425
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1393
1426
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1394
1427
|
if (configuration) {
|
|
1395
1428
|
baseOptions = configuration.baseOptions;
|
|
@@ -1429,7 +1462,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1429
1462
|
// verify required parameter 'id' is not null or undefined
|
|
1430
1463
|
(0, common_1.assertParamExists)('patchUpdatePriceList', 'id', id);
|
|
1431
1464
|
localVarPath = "/admin/accounts/{id}/priceList"
|
|
1432
|
-
.replace(
|
|
1465
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1433
1466
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1434
1467
|
if (configuration) {
|
|
1435
1468
|
baseOptions = configuration.baseOptions;
|
|
@@ -1469,7 +1502,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1469
1502
|
// verify required parameter 'id' is not null or undefined
|
|
1470
1503
|
(0, common_1.assertParamExists)('patchUpdateSipChannelCost', 'id', id);
|
|
1471
1504
|
localVarPath = "/admin/accounts/{id}/channelCost"
|
|
1472
|
-
.replace(
|
|
1505
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1473
1506
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1474
1507
|
if (configuration) {
|
|
1475
1508
|
baseOptions = configuration.baseOptions;
|
|
@@ -1509,7 +1542,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1509
1542
|
// verify required parameter 'id' is not null or undefined
|
|
1510
1543
|
(0, common_1.assertParamExists)('patchUpdateTcxHostingPriceList', 'id', id);
|
|
1511
1544
|
localVarPath = "/admin/accounts/{id}/tcx/hosting/priceList"
|
|
1512
|
-
.replace(
|
|
1545
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1513
1546
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1514
1547
|
if (configuration) {
|
|
1515
1548
|
baseOptions = configuration.baseOptions;
|
|
@@ -1549,7 +1582,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1549
1582
|
// verify required parameter 'id' is not null or undefined
|
|
1550
1583
|
(0, common_1.assertParamExists)('patchUpdateTcxPartnerId', 'id', id);
|
|
1551
1584
|
localVarPath = "/admin/accounts{id}/tcx/partner/id"
|
|
1552
|
-
.replace(
|
|
1585
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1553
1586
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1554
1587
|
if (configuration) {
|
|
1555
1588
|
baseOptions = configuration.baseOptions;
|
|
@@ -1589,7 +1622,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1589
1622
|
// verify required parameter 'id' is not null or undefined
|
|
1590
1623
|
(0, common_1.assertParamExists)('postAdminCreateAccountContact', 'id', id);
|
|
1591
1624
|
localVarPath = "/admin/accounts/{id}/contacts"
|
|
1592
|
-
.replace(
|
|
1625
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1593
1626
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1594
1627
|
if (configuration) {
|
|
1595
1628
|
baseOptions = configuration.baseOptions;
|
|
@@ -1772,7 +1805,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1772
1805
|
// verify required parameter 'email' is not null or undefined
|
|
1773
1806
|
(0, common_1.assertParamExists)('postSendEmailVerificationEmail', 'email', email);
|
|
1774
1807
|
localVarPath = "/accounts/contacts/verify/{email}"
|
|
1775
|
-
.replace(
|
|
1808
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1776
1809
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1777
1810
|
if (configuration) {
|
|
1778
1811
|
baseOptions = configuration.baseOptions;
|
|
@@ -1848,7 +1881,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1881
|
// verify required parameter 'id' is not null or undefined
|
|
1849
1882
|
(0, common_1.assertParamExists)('postSendWelcomeEmail', 'id', id);
|
|
1850
1883
|
localVarPath = "/admin/accounts/{id}/email/welcome"
|
|
1851
|
-
.replace(
|
|
1884
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1852
1885
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1853
1886
|
if (configuration) {
|
|
1854
1887
|
baseOptions = configuration.baseOptions;
|
|
@@ -1935,8 +1968,8 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1935
1968
|
// verify required parameter 'contactId' is not null or undefined
|
|
1936
1969
|
(0, common_1.assertParamExists)('putAdminUpdateAccountContact', 'contactId', contactId);
|
|
1937
1970
|
localVarPath = "/admin/accounts/{id}/contacts/{contact_id}"
|
|
1938
|
-
.replace(
|
|
1939
|
-
.replace(
|
|
1971
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
1972
|
+
.replace('{contact_id}', encodeURIComponent(String(contactId)));
|
|
1940
1973
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1941
1974
|
if (configuration) {
|
|
1942
1975
|
baseOptions = configuration.baseOptions;
|
|
@@ -1976,7 +2009,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
1976
2009
|
// verify required parameter 'email' is not null or undefined
|
|
1977
2010
|
(0, common_1.assertParamExists)('putUpdateAccountContact', 'email', email);
|
|
1978
2011
|
localVarPath = "/accounts/me/contacts/{email}"
|
|
1979
|
-
.replace(
|
|
2012
|
+
.replace('{email}', encodeURIComponent(String(email)));
|
|
1980
2013
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1981
2014
|
if (configuration) {
|
|
1982
2015
|
baseOptions = configuration.baseOptions;
|
|
@@ -2015,7 +2048,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2015
2048
|
// verify required parameter 'id' is not null or undefined
|
|
2016
2049
|
(0, common_1.assertParamExists)('putUpdateBillingAddress', 'id', id);
|
|
2017
2050
|
localVarPath = "/admin/accounts/{id}/billing/address"
|
|
2018
|
-
.replace(
|
|
2051
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2019
2052
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2020
2053
|
if (configuration) {
|
|
2021
2054
|
baseOptions = configuration.baseOptions;
|
|
@@ -2054,7 +2087,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
2054
2087
|
// verify required parameter 'id' is not null or undefined
|
|
2055
2088
|
(0, common_1.assertParamExists)('putUpdateShippingAddress', 'id', id);
|
|
2056
2089
|
localVarPath = "/admin/accounts/{id}/shipping/address"
|
|
2057
|
-
.replace(
|
|
2090
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
2058
2091
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2059
2092
|
if (configuration) {
|
|
2060
2093
|
baseOptions = configuration.baseOptions;
|
|
@@ -2334,6 +2367,27 @@ var AccountsApiFp = function (configuration) {
|
|
|
2334
2367
|
});
|
|
2335
2368
|
});
|
|
2336
2369
|
},
|
|
2370
|
+
/**
|
|
2371
|
+
* Get Customer Accounts List
|
|
2372
|
+
* @param {*} [options] Override http request option.
|
|
2373
|
+
* @throws {RequiredError}
|
|
2374
|
+
*/
|
|
2375
|
+
getGetCustomerAccountsList: function (options) {
|
|
2376
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2377
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2378
|
+
var _a, _b, _c;
|
|
2379
|
+
return __generator(this, function (_d) {
|
|
2380
|
+
switch (_d.label) {
|
|
2381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerAccountsList(options)];
|
|
2382
|
+
case 1:
|
|
2383
|
+
localVarAxiosArgs = _d.sent();
|
|
2384
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2385
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetCustomerAccountsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2386
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2387
|
+
}
|
|
2388
|
+
});
|
|
2389
|
+
});
|
|
2390
|
+
},
|
|
2337
2391
|
/**
|
|
2338
2392
|
* Get 3CX Keys
|
|
2339
2393
|
* @summary Get 3CX Keys
|
|
@@ -3163,6 +3217,14 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
3163
3217
|
getGetClientCredentials: function (options) {
|
|
3164
3218
|
return localVarFp.getGetClientCredentials(options).then(function (request) { return request(axios, basePath); });
|
|
3165
3219
|
},
|
|
3220
|
+
/**
|
|
3221
|
+
* Get Customer Accounts List
|
|
3222
|
+
* @param {*} [options] Override http request option.
|
|
3223
|
+
* @throws {RequiredError}
|
|
3224
|
+
*/
|
|
3225
|
+
getGetCustomerAccountsList: function (options) {
|
|
3226
|
+
return localVarFp.getGetCustomerAccountsList(options).then(function (request) { return request(axios, basePath); });
|
|
3227
|
+
},
|
|
3166
3228
|
/**
|
|
3167
3229
|
* Get 3CX Keys
|
|
3168
3230
|
* @summary Get 3CX Keys
|
|
@@ -3602,6 +3664,15 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3602
3664
|
var _this = this;
|
|
3603
3665
|
return (0, exports.AccountsApiFp)(this.configuration).getGetClientCredentials(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3604
3666
|
};
|
|
3667
|
+
/**
|
|
3668
|
+
* Get Customer Accounts List
|
|
3669
|
+
* @param {*} [options] Override http request option.
|
|
3670
|
+
* @throws {RequiredError}
|
|
3671
|
+
*/
|
|
3672
|
+
AccountsApi.prototype.getGetCustomerAccountsList = function (options) {
|
|
3673
|
+
var _this = this;
|
|
3674
|
+
return (0, exports.AccountsApiFp)(this.configuration).getGetCustomerAccountsList(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3675
|
+
};
|
|
3605
3676
|
/**
|
|
3606
3677
|
* Get 3CX Keys
|
|
3607
3678
|
* @summary Get 3CX Keys
|
|
@@ -3947,11 +4018,11 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
3947
4018
|
exports.AccountsApi = AccountsApi;
|
|
3948
4019
|
exports.PatchSetPortalAccessStateEnum = {
|
|
3949
4020
|
Enable: 'enable',
|
|
3950
|
-
Disable: 'disable'
|
|
4021
|
+
Disable: 'disable',
|
|
3951
4022
|
};
|
|
3952
4023
|
exports.PatchSetPrizePromoStateEnum = {
|
|
3953
4024
|
Enable: 'enable',
|
|
3954
|
-
Disable: 'disable'
|
|
4025
|
+
Disable: 'disable',
|
|
3955
4026
|
};
|
|
3956
4027
|
/**
|
|
3957
4028
|
* BillingApi - axios parameter creator
|
|
@@ -4092,7 +4163,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4092
4163
|
// verify required parameter 'id' is not null or undefined
|
|
4093
4164
|
(0, common_1.assertParamExists)('getGetCrmActivities', 'id', id);
|
|
4094
4165
|
localVarPath = "/admin/crm/{id}/activities"
|
|
4095
|
-
.replace(
|
|
4166
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4096
4167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4097
4168
|
if (configuration) {
|
|
4098
4169
|
baseOptions = configuration.baseOptions;
|
|
@@ -4169,7 +4240,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
|
|
|
4169
4240
|
// verify required parameter 'id' is not null or undefined
|
|
4170
4241
|
(0, common_1.assertParamExists)('postCreateCrmNote', 'id', id);
|
|
4171
4242
|
localVarPath = "/admin/crm/{id}/activities/note"
|
|
4172
|
-
.replace(
|
|
4243
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4173
4244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4174
4245
|
if (configuration) {
|
|
4175
4246
|
baseOptions = configuration.baseOptions;
|
|
@@ -4358,7 +4429,7 @@ exports.GetGetCrmActivitiesTypeEnum = {
|
|
|
4358
4429
|
Note: 'note',
|
|
4359
4430
|
Order: 'order',
|
|
4360
4431
|
Quote: 'quote',
|
|
4361
|
-
TcxOrder: 'tcx_order'
|
|
4432
|
+
TcxOrder: 'tcx_order',
|
|
4362
4433
|
};
|
|
4363
4434
|
/**
|
|
4364
4435
|
* Class3CXApi - axios parameter creator
|
|
@@ -4908,7 +4979,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
4908
4979
|
// verify required parameter 'id' is not null or undefined
|
|
4909
4980
|
(0, common_1.assertParamExists)('getGetDdisTcxWizard', 'id', id);
|
|
4910
4981
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
4911
|
-
.replace(
|
|
4982
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
4912
4983
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4913
4984
|
if (configuration) {
|
|
4914
4985
|
baseOptions = configuration.baseOptions;
|
|
@@ -5137,7 +5208,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5137
5208
|
// verify required parameter 'id' is not null or undefined
|
|
5138
5209
|
(0, common_1.assertParamExists)('getGetSipTrunkTcxWizard', 'id', id);
|
|
5139
5210
|
localVarPath = "/tcx/wizards/sip/trunks/{id}"
|
|
5140
|
-
.replace(
|
|
5211
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5141
5212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5142
5213
|
if (configuration) {
|
|
5143
5214
|
baseOptions = configuration.baseOptions;
|
|
@@ -5775,7 +5846,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
|
|
|
5775
5846
|
// verify required parameter 'id' is not null or undefined
|
|
5776
5847
|
(0, common_1.assertParamExists)('postGetDdisTcxWizard', 'id', id);
|
|
5777
5848
|
localVarPath = "/tcx/wizards/sip/trunks/{id}/ddis"
|
|
5778
|
-
.replace(
|
|
5849
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
5779
5850
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5780
5851
|
if (configuration) {
|
|
5781
5852
|
baseOptions = configuration.baseOptions;
|
|
@@ -7514,7 +7585,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7514
7585
|
// verify required parameter 'wizardId' is not null or undefined
|
|
7515
7586
|
(0, common_1.assertParamExists)('getGetDetails', 'wizardId', wizardId);
|
|
7516
7587
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
7517
|
-
.replace(
|
|
7588
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
7518
7589
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7519
7590
|
if (configuration) {
|
|
7520
7591
|
baseOptions = configuration.baseOptions;
|
|
@@ -7614,7 +7685,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7614
7685
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7615
7686
|
(0, common_1.assertParamExists)('getGetRecordingBackupStorage', 'instanceId', instanceId);
|
|
7616
7687
|
localVarPath = "/tcx/installations/{instance_id}/recordings/backup"
|
|
7617
|
-
.replace(
|
|
7688
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7618
7689
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7619
7690
|
if (configuration) {
|
|
7620
7691
|
baseOptions = configuration.baseOptions;
|
|
@@ -7655,7 +7726,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7655
7726
|
// verify required parameter 'customerId' is not null or undefined
|
|
7656
7727
|
(0, common_1.assertParamExists)('patchChangeInstanceOwner', 'customerId', customerId);
|
|
7657
7728
|
localVarPath = "/tcx/installations/{instance_id}/owner"
|
|
7658
|
-
.replace(
|
|
7729
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7659
7730
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7660
7731
|
if (configuration) {
|
|
7661
7732
|
baseOptions = configuration.baseOptions;
|
|
@@ -7698,7 +7769,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7698
7769
|
// verify required parameter 'enable' is not null or undefined
|
|
7699
7770
|
(0, common_1.assertParamExists)('patchUpdateAutoFailover', 'enable', enable);
|
|
7700
7771
|
localVarPath = "/tcx/installations/{instance_id}/failover/auto"
|
|
7701
|
-
.replace(
|
|
7772
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7702
7773
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7703
7774
|
if (configuration) {
|
|
7704
7775
|
baseOptions = configuration.baseOptions;
|
|
@@ -7741,7 +7812,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7741
7812
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7742
7813
|
(0, common_1.assertParamExists)('postAddDisk', 'gigabytes', gigabytes);
|
|
7743
7814
|
localVarPath = "/tcx/installations/{instance_id}/disk"
|
|
7744
|
-
.replace(
|
|
7815
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7745
7816
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7746
7817
|
if (configuration) {
|
|
7747
7818
|
baseOptions = configuration.baseOptions;
|
|
@@ -7787,7 +7858,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7787
7858
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
7788
7859
|
(0, common_1.assertParamExists)('postCreateSshUser', 'ipAddress', ipAddress);
|
|
7789
7860
|
localVarPath = "/tcx/installations/{instance_id}/create/user/root"
|
|
7790
|
-
.replace(
|
|
7861
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7791
7862
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7792
7863
|
if (configuration) {
|
|
7793
7864
|
baseOptions = configuration.baseOptions;
|
|
@@ -7831,7 +7902,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7831
7902
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7832
7903
|
(0, common_1.assertParamExists)('postDeleteInstance', 'instanceId', instanceId);
|
|
7833
7904
|
localVarPath = "/tcx/installations/{instance_id}/delete"
|
|
7834
|
-
.replace(
|
|
7905
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7835
7906
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7836
7907
|
if (configuration) {
|
|
7837
7908
|
baseOptions = configuration.baseOptions;
|
|
@@ -7872,7 +7943,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7872
7943
|
// verify required parameter 'gigabytes' is not null or undefined
|
|
7873
7944
|
(0, common_1.assertParamExists)('postExtendDisk', 'gigabytes', gigabytes);
|
|
7874
7945
|
localVarPath = "/tcx/installations/{instance_id}/disk/extend"
|
|
7875
|
-
.replace(
|
|
7946
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7876
7947
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7877
7948
|
if (configuration) {
|
|
7878
7949
|
baseOptions = configuration.baseOptions;
|
|
@@ -7918,7 +7989,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7918
7989
|
// verify required parameter 'type' is not null or undefined
|
|
7919
7990
|
(0, common_1.assertParamExists)('postFailoverInstance', 'type', type);
|
|
7920
7991
|
localVarPath = "/tcx/installations/{instance_id}/failover"
|
|
7921
|
-
.replace(
|
|
7992
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
7922
7993
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7923
7994
|
if (configuration) {
|
|
7924
7995
|
baseOptions = configuration.baseOptions;
|
|
@@ -7958,7 +8029,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7958
8029
|
// verify required parameter 'sbcId' is not null or undefined
|
|
7959
8030
|
(0, common_1.assertParamExists)('postInstallTcxSbc', 'sbcId', sbcId);
|
|
7960
8031
|
localVarPath = "/tcx/installations/sbcs/{sbc_id}/install"
|
|
7961
|
-
.replace(
|
|
8032
|
+
.replace('{sbc_id}', encodeURIComponent(String(sbcId)));
|
|
7962
8033
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7963
8034
|
if (configuration) {
|
|
7964
8035
|
baseOptions = configuration.baseOptions;
|
|
@@ -7996,7 +8067,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
7996
8067
|
// verify required parameter 'instanceId' is not null or undefined
|
|
7997
8068
|
(0, common_1.assertParamExists)('postRebootInstance', 'instanceId', instanceId);
|
|
7998
8069
|
localVarPath = "/tcx/installations/{instance_id}/reboot"
|
|
7999
|
-
.replace(
|
|
8070
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8000
8071
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8001
8072
|
if (configuration) {
|
|
8002
8073
|
baseOptions = configuration.baseOptions;
|
|
@@ -8037,7 +8108,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8037
8108
|
// verify required parameter 'size' is not null or undefined
|
|
8038
8109
|
(0, common_1.assertParamExists)('postResizeInstance', 'size', size);
|
|
8039
8110
|
localVarPath = "/tcx/installations/{instance_id}/resize"
|
|
8040
|
-
.replace(
|
|
8111
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8041
8112
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8042
8113
|
if (configuration) {
|
|
8043
8114
|
baseOptions = configuration.baseOptions;
|
|
@@ -8081,7 +8152,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8081
8152
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8082
8153
|
(0, common_1.assertParamExists)('postRestartServices', 'instanceId', instanceId);
|
|
8083
8154
|
localVarPath = "/tcx/installations/{instance_id}/services/restart"
|
|
8084
|
-
.replace(
|
|
8155
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8085
8156
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8086
8157
|
if (configuration) {
|
|
8087
8158
|
baseOptions = configuration.baseOptions;
|
|
@@ -8122,7 +8193,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8122
8193
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8123
8194
|
(0, common_1.assertParamExists)('postScheduledReboot', 'instanceId', instanceId);
|
|
8124
8195
|
localVarPath = "/tcx/installations/{instance_id}/reboot/scheduled"
|
|
8125
|
-
.replace(
|
|
8196
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8126
8197
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8127
8198
|
if (configuration) {
|
|
8128
8199
|
baseOptions = configuration.baseOptions;
|
|
@@ -8163,7 +8234,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8163
8234
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8164
8235
|
(0, common_1.assertParamExists)('postSuspendInstance', 'instanceId', instanceId);
|
|
8165
8236
|
localVarPath = "/tcx/installations/{instance_id}/suspend"
|
|
8166
|
-
.replace(
|
|
8237
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8167
8238
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8168
8239
|
if (configuration) {
|
|
8169
8240
|
baseOptions = configuration.baseOptions;
|
|
@@ -8203,7 +8274,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8203
8274
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8204
8275
|
(0, common_1.assertParamExists)('postTestLoginCredentials', 'instanceId', instanceId);
|
|
8205
8276
|
localVarPath = "/tcx/installations/{instance_id}/tests/login"
|
|
8206
|
-
.replace(
|
|
8277
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8207
8278
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8208
8279
|
if (configuration) {
|
|
8209
8280
|
baseOptions = configuration.baseOptions;
|
|
@@ -8240,7 +8311,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8240
8311
|
// verify required parameter 'instanceId' is not null or undefined
|
|
8241
8312
|
(0, common_1.assertParamExists)('postUnsuspendInstance', 'instanceId', instanceId);
|
|
8242
8313
|
localVarPath = "/tcx/installations/{instance_id}/unsuspend"
|
|
8243
|
-
.replace(
|
|
8314
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8244
8315
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8245
8316
|
if (configuration) {
|
|
8246
8317
|
baseOptions = configuration.baseOptions;
|
|
@@ -8280,7 +8351,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8280
8351
|
// verify required parameter 'schedule' is not null or undefined
|
|
8281
8352
|
(0, common_1.assertParamExists)('postUpgradeDebian', 'schedule', schedule);
|
|
8282
8353
|
localVarPath = "/tcx/installations/{instance_id}/debian/upgrade"
|
|
8283
|
-
.replace(
|
|
8354
|
+
.replace('{instance_id}', encodeURIComponent(String(instanceId)));
|
|
8284
8355
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8285
8356
|
if (configuration) {
|
|
8286
8357
|
baseOptions = configuration.baseOptions;
|
|
@@ -8321,7 +8392,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
|
|
|
8321
8392
|
// verify required parameter 'wizardId' is not null or undefined
|
|
8322
8393
|
(0, common_1.assertParamExists)('putGetDetails', 'wizardId', wizardId);
|
|
8323
8394
|
localVarPath = "/tcx/installations/{wizard_id}/details"
|
|
8324
|
-
.replace(
|
|
8395
|
+
.replace('{wizard_id}', encodeURIComponent(String(wizardId)));
|
|
8325
8396
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8326
8397
|
if (configuration) {
|
|
8327
8398
|
baseOptions = configuration.baseOptions;
|
|
@@ -9321,30 +9392,30 @@ exports.GetGetInstallationsStatusEnum = {
|
|
|
9321
9392
|
Completed: 'Completed',
|
|
9322
9393
|
Outstanding: 'Outstanding',
|
|
9323
9394
|
Offline: 'Offline',
|
|
9324
|
-
FailedOver: 'Failed Over'
|
|
9395
|
+
FailedOver: 'Failed Over',
|
|
9325
9396
|
};
|
|
9326
9397
|
exports.GetGetInstallationsHostingEnum = {
|
|
9327
9398
|
Yellowgrid: 'yellowgrid',
|
|
9328
9399
|
MultiTenant: 'multi-tenant',
|
|
9329
9400
|
Onprem: 'onprem',
|
|
9330
|
-
All: 'all'
|
|
9401
|
+
All: 'all',
|
|
9331
9402
|
};
|
|
9332
9403
|
exports.GetGetInstallationsInstallTypeEnum = {
|
|
9333
9404
|
New: 'new',
|
|
9334
9405
|
Restore: 'restore',
|
|
9335
9406
|
Failover: 'failover',
|
|
9336
|
-
MultiTenant: 'multi-tenant'
|
|
9407
|
+
MultiTenant: 'multi-tenant',
|
|
9337
9408
|
};
|
|
9338
9409
|
exports.PostFailoverInstanceTypeEnum = {
|
|
9339
9410
|
Config: 'config',
|
|
9340
|
-
Image: 'image'
|
|
9411
|
+
Image: 'image',
|
|
9341
9412
|
};
|
|
9342
9413
|
exports.PostResizeInstanceSizeEnum = {
|
|
9343
9414
|
D24: 'd2-4',
|
|
9344
9415
|
D28: 'd2-8',
|
|
9345
9416
|
B230: 'b2-30',
|
|
9346
9417
|
S2vcpu4gb: 's-2vcpu-4gb',
|
|
9347
|
-
S4vcpu8gb: 's-4vcpu-8gb'
|
|
9418
|
+
S4vcpu8gb: 's-4vcpu-8gb',
|
|
9348
9419
|
};
|
|
9349
9420
|
/**
|
|
9350
9421
|
* Class3CXIntegrationsApi - axios parameter creator
|
|
@@ -9499,8 +9570,8 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
9499
9570
|
// verify required parameter 'ref' is not null or undefined
|
|
9500
9571
|
(0, common_1.assertParamExists)('patchUpdateEtpOrderReference', 'ref', ref);
|
|
9501
9572
|
localVarPath = "/tcx/integrations/edtechpro/{clientId}/schools/{schoolId}/orderReference"
|
|
9502
|
-
.replace(
|
|
9503
|
-
.replace(
|
|
9573
|
+
.replace('{clientId}', encodeURIComponent(String(clientId)))
|
|
9574
|
+
.replace('{schoolId}', encodeURIComponent(String(schoolId)));
|
|
9504
9575
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9505
9576
|
if (configuration) {
|
|
9506
9577
|
baseOptions = configuration.baseOptions;
|
|
@@ -9885,11 +9956,11 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
|
|
|
9885
9956
|
exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
|
|
9886
9957
|
exports.GetGetPriceLicenceTypeEnum = {
|
|
9887
9958
|
Lite: 'lite',
|
|
9888
|
-
Pro: 'pro'
|
|
9959
|
+
Pro: 'pro',
|
|
9889
9960
|
};
|
|
9890
9961
|
exports.GetGetPriceSchoolTypeEnum = {
|
|
9891
9962
|
Primary: 'primary',
|
|
9892
|
-
Secondary: 'secondary'
|
|
9963
|
+
Secondary: 'secondary',
|
|
9893
9964
|
};
|
|
9894
9965
|
/**
|
|
9895
9966
|
* Class3CXMultiTenantApi - axios parameter creator
|
|
@@ -9916,7 +9987,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9916
9987
|
// verify required parameter 'reference' is not null or undefined
|
|
9917
9988
|
(0, common_1.assertParamExists)('deleteGetTenant', 'reference', reference);
|
|
9918
9989
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9919
|
-
.replace(
|
|
9990
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9920
9991
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9921
9992
|
if (configuration) {
|
|
9922
9993
|
baseOptions = configuration.baseOptions;
|
|
@@ -9993,7 +10064,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
|
|
|
9993
10064
|
// verify required parameter 'reference' is not null or undefined
|
|
9994
10065
|
(0, common_1.assertParamExists)('getGetTenant', 'reference', reference);
|
|
9995
10066
|
localVarPath = "/tcx/mt/tenants/{reference}"
|
|
9996
|
-
.replace(
|
|
10067
|
+
.replace('{reference}', encodeURIComponent(String(reference)));
|
|
9997
10068
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9998
10069
|
if (configuration) {
|
|
9999
10070
|
baseOptions = configuration.baseOptions;
|
|
@@ -10610,7 +10681,7 @@ exports.GetGetTenantsStatusEnum = {
|
|
|
10610
10681
|
Completed: 'Completed',
|
|
10611
10682
|
Outstanding: 'Outstanding',
|
|
10612
10683
|
Offline: 'Offline',
|
|
10613
|
-
FailedOver: 'Failed Over'
|
|
10684
|
+
FailedOver: 'Failed Over',
|
|
10614
10685
|
};
|
|
10615
10686
|
/**
|
|
10616
10687
|
* MyPBXToolsApi - axios parameter creator
|
|
@@ -10767,7 +10838,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10767
10838
|
// verify required parameter 'id' is not null or undefined
|
|
10768
10839
|
(0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
|
|
10769
10840
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10770
|
-
.replace(
|
|
10841
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10771
10842
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10772
10843
|
if (configuration) {
|
|
10773
10844
|
baseOptions = configuration.baseOptions;
|
|
@@ -10848,7 +10919,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10848
10919
|
// verify required parameter 'id' is not null or undefined
|
|
10849
10920
|
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
10850
10921
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
10851
|
-
.replace(
|
|
10922
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10852
10923
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10853
10924
|
if (configuration) {
|
|
10854
10925
|
baseOptions = configuration.baseOptions;
|
|
@@ -10930,7 +11001,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10930
11001
|
// verify required parameter 'id' is not null or undefined
|
|
10931
11002
|
(0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
|
|
10932
11003
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
10933
|
-
.replace(
|
|
11004
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10934
11005
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10935
11006
|
if (configuration) {
|
|
10936
11007
|
baseOptions = configuration.baseOptions;
|
|
@@ -10967,7 +11038,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
10967
11038
|
// verify required parameter 'id' is not null or undefined
|
|
10968
11039
|
(0, common_1.assertParamExists)('patchCancelAdminNumberPort', 'id', id);
|
|
10969
11040
|
localVarPath = "/admin/sip/numbers/ports/{id}/cancel"
|
|
10970
|
-
.replace(
|
|
11041
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
10971
11042
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10972
11043
|
if (configuration) {
|
|
10973
11044
|
baseOptions = configuration.baseOptions;
|
|
@@ -11004,7 +11075,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11004
11075
|
// verify required parameter 'id' is not null or undefined
|
|
11005
11076
|
(0, common_1.assertParamExists)('patchCloseAdminNumberPort', 'id', id);
|
|
11006
11077
|
localVarPath = "/admin/sip/numbers/ports/{id}/close"
|
|
11007
|
-
.replace(
|
|
11078
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11008
11079
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11009
11080
|
if (configuration) {
|
|
11010
11081
|
baseOptions = configuration.baseOptions;
|
|
@@ -11044,7 +11115,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11044
11115
|
// verify required parameter 'numberPortAdminNoteBody' is not null or undefined
|
|
11045
11116
|
(0, common_1.assertParamExists)('postAddAdminNote', 'numberPortAdminNoteBody', numberPortAdminNoteBody);
|
|
11046
11117
|
localVarPath = "/admin/sip/numbers/ports/{id}/notes"
|
|
11047
|
-
.replace(
|
|
11118
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11048
11119
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11049
11120
|
if (configuration) {
|
|
11050
11121
|
baseOptions = configuration.baseOptions;
|
|
@@ -11179,7 +11250,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11179
11250
|
// verify required parameter 'id' is not null or undefined
|
|
11180
11251
|
(0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
|
|
11181
11252
|
localVarPath = "/sip/numbers/ports/{id}/submit"
|
|
11182
|
-
.replace(
|
|
11253
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11183
11254
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11184
11255
|
if (configuration) {
|
|
11185
11256
|
baseOptions = configuration.baseOptions;
|
|
@@ -11267,7 +11338,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11267
11338
|
// verify required parameter 'id' is not null or undefined
|
|
11268
11339
|
(0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
|
|
11269
11340
|
localVarPath = "/sip/numbers/ports/{id}"
|
|
11270
|
-
.replace(
|
|
11341
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11271
11342
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11272
11343
|
if (configuration) {
|
|
11273
11344
|
baseOptions = configuration.baseOptions;
|
|
@@ -11346,7 +11417,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
11346
11417
|
// verify required parameter 'numberPortDTO' is not null or undefined
|
|
11347
11418
|
(0, common_1.assertParamExists)('putGetAdminNumberPort', 'numberPortDTO', numberPortDTO);
|
|
11348
11419
|
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
11349
|
-
.replace(
|
|
11420
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
11350
11421
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11351
11422
|
if (configuration) {
|
|
11352
11423
|
baseOptions = configuration.baseOptions;
|
|
@@ -12726,7 +12797,7 @@ exports.PostAccessTokenGrantTypeEnum = {
|
|
|
12726
12797
|
AuthorizationCode: 'authorization_code',
|
|
12727
12798
|
MsAuth: 'ms_auth',
|
|
12728
12799
|
TokenExchange: 'token_exchange',
|
|
12729
|
-
Password: 'password'
|
|
12800
|
+
Password: 'password',
|
|
12730
12801
|
};
|
|
12731
12802
|
exports.PostAccessTokenScopeEnum = {
|
|
12732
12803
|
Star: '*',
|
|
@@ -12756,11 +12827,11 @@ exports.PostAccessTokenScopeEnum = {
|
|
|
12756
12827
|
TcxMtRead: 'tcx_mt.read',
|
|
12757
12828
|
TcxMtWrite: 'tcx_mt.write',
|
|
12758
12829
|
TicketsRead: 'tickets.read',
|
|
12759
|
-
TicketsWrite: 'tickets.write'
|
|
12830
|
+
TicketsWrite: 'tickets.write',
|
|
12760
12831
|
};
|
|
12761
12832
|
exports.PostAccessTokenTokenExchangeTypeEnum = {
|
|
12762
12833
|
TcxWizard: 'tcx_wizard',
|
|
12763
|
-
Portal: 'portal'
|
|
12834
|
+
Portal: 'portal',
|
|
12764
12835
|
};
|
|
12765
12836
|
exports.PostAuthoriseScopeEnum = {
|
|
12766
12837
|
Star: '*',
|
|
@@ -12790,7 +12861,7 @@ exports.PostAuthoriseScopeEnum = {
|
|
|
12790
12861
|
TcxMtRead: 'tcx_mt.read',
|
|
12791
12862
|
TcxMtWrite: 'tcx_mt.write',
|
|
12792
12863
|
TicketsRead: 'tickets.read',
|
|
12793
|
-
TicketsWrite: 'tickets.write'
|
|
12864
|
+
TicketsWrite: 'tickets.write',
|
|
12794
12865
|
};
|
|
12795
12866
|
/**
|
|
12796
12867
|
* OrdersApi - axios parameter creator
|
|
@@ -12819,8 +12890,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12819
12890
|
// verify required parameter 'batchId' is not null or undefined
|
|
12820
12891
|
(0, common_1.assertParamExists)('deleteDeleteBatch', 'batchId', batchId);
|
|
12821
12892
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}"
|
|
12822
|
-
.replace(
|
|
12823
|
-
.replace(
|
|
12893
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12894
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
12824
12895
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12825
12896
|
if (configuration) {
|
|
12826
12897
|
baseOptions = configuration.baseOptions;
|
|
@@ -12857,7 +12928,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12857
12928
|
// verify required parameter 'id' is not null or undefined
|
|
12858
12929
|
(0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
|
|
12859
12930
|
localVarPath = "/orders/{id}"
|
|
12860
|
-
.replace(
|
|
12931
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12861
12932
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12862
12933
|
if (configuration) {
|
|
12863
12934
|
baseOptions = configuration.baseOptions;
|
|
@@ -12900,9 +12971,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12900
12971
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
12901
12972
|
(0, common_1.assertParamExists)('deleteUpdateShipment', 'shipmentId', shipmentId);
|
|
12902
12973
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
12903
|
-
.replace(
|
|
12904
|
-
.replace(
|
|
12905
|
-
.replace(
|
|
12974
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
12975
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
12976
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
12906
12977
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12907
12978
|
if (configuration) {
|
|
12908
12979
|
baseOptions = configuration.baseOptions;
|
|
@@ -12939,7 +13010,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12939
13010
|
// verify required parameter 'id' is not null or undefined
|
|
12940
13011
|
(0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
|
|
12941
13012
|
localVarPath = "/admin/orders/{id}/views/editable"
|
|
12942
|
-
.replace(
|
|
13013
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12943
13014
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12944
13015
|
if (configuration) {
|
|
12945
13016
|
baseOptions = configuration.baseOptions;
|
|
@@ -12977,7 +13048,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
12977
13048
|
// verify required parameter 'id' is not null or undefined
|
|
12978
13049
|
(0, common_1.assertParamExists)('getGetAdminOrderDetails', 'id', id);
|
|
12979
13050
|
localVarPath = "/admin/orders/{id}/details"
|
|
12980
|
-
.replace(
|
|
13051
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
12981
13052
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12982
13053
|
if (configuration) {
|
|
12983
13054
|
baseOptions = configuration.baseOptions;
|
|
@@ -13021,9 +13092,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13021
13092
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13022
13093
|
(0, common_1.assertParamExists)('getGetCommercialInvoice', 'shipmentId', shipmentId);
|
|
13023
13094
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/pdf"
|
|
13024
|
-
.replace(
|
|
13025
|
-
.replace(
|
|
13026
|
-
.replace(
|
|
13095
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13096
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13097
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13027
13098
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13028
13099
|
if (configuration) {
|
|
13029
13100
|
baseOptions = configuration.baseOptions;
|
|
@@ -13061,7 +13132,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13061
13132
|
// verify required parameter 'id' is not null or undefined
|
|
13062
13133
|
(0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
|
|
13063
13134
|
localVarPath = "/orders/{id}/views/editable"
|
|
13064
|
-
.replace(
|
|
13135
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13065
13136
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13066
13137
|
if (configuration) {
|
|
13067
13138
|
baseOptions = configuration.baseOptions;
|
|
@@ -13102,8 +13173,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13102
13173
|
// verify required parameter 'itemId' is not null or undefined
|
|
13103
13174
|
(0, common_1.assertParamExists)('getGetItemSerialInfo', 'itemId', itemId);
|
|
13104
13175
|
localVarPath = "/admin/orders/{id}/items/{item_id}/info"
|
|
13105
|
-
.replace(
|
|
13106
|
-
.replace(
|
|
13176
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13177
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13107
13178
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13108
13179
|
if (configuration) {
|
|
13109
13180
|
baseOptions = configuration.baseOptions;
|
|
@@ -13141,7 +13212,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13141
13212
|
// verify required parameter 'id' is not null or undefined
|
|
13142
13213
|
(0, common_1.assertParamExists)('getGetOrderPdf', 'id', id);
|
|
13143
13214
|
localVarPath = "/orders/{id}/pdf"
|
|
13144
|
-
.replace(
|
|
13215
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13145
13216
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13146
13217
|
if (configuration) {
|
|
13147
13218
|
baseOptions = configuration.baseOptions;
|
|
@@ -13179,7 +13250,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13179
13250
|
// verify required parameter 'id' is not null or undefined
|
|
13180
13251
|
(0, common_1.assertParamExists)('getGetOrderSummary', 'id', id);
|
|
13181
13252
|
localVarPath = "/admin/orders/{id}/summary"
|
|
13182
|
-
.replace(
|
|
13253
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13183
13254
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13184
13255
|
if (configuration) {
|
|
13185
13256
|
baseOptions = configuration.baseOptions;
|
|
@@ -13279,7 +13350,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13279
13350
|
// verify required parameter 'id' is not null or undefined
|
|
13280
13351
|
(0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
|
|
13281
13352
|
localVarPath = "/admin/orders/{id}/complete"
|
|
13282
|
-
.replace(
|
|
13353
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13283
13354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13284
13355
|
if (configuration) {
|
|
13285
13356
|
baseOptions = configuration.baseOptions;
|
|
@@ -13318,7 +13389,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13318
13389
|
// verify required parameter 'id' is not null or undefined
|
|
13319
13390
|
(0, common_1.assertParamExists)('postAddOrderNote', 'id', id);
|
|
13320
13391
|
localVarPath = "/admin/orders/{id}/notes"
|
|
13321
|
-
.replace(
|
|
13392
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13322
13393
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13323
13394
|
if (configuration) {
|
|
13324
13395
|
baseOptions = configuration.baseOptions;
|
|
@@ -13403,8 +13474,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13403
13474
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
13404
13475
|
(0, common_1.assertParamExists)('postCreateConsignment', 'shipmentId', shipmentId);
|
|
13405
13476
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/consignment"
|
|
13406
|
-
.replace(
|
|
13407
|
-
.replace(
|
|
13477
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13478
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13408
13479
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13409
13480
|
if (configuration) {
|
|
13410
13481
|
baseOptions = configuration.baseOptions;
|
|
@@ -13485,8 +13556,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13485
13556
|
// verify required parameter 'batchId' is not null or undefined
|
|
13486
13557
|
(0, common_1.assertParamExists)('postCreateShipment', 'batchId', batchId);
|
|
13487
13558
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments"
|
|
13488
|
-
.replace(
|
|
13489
|
-
.replace(
|
|
13559
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13560
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13490
13561
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13491
13562
|
if (configuration) {
|
|
13492
13563
|
baseOptions = configuration.baseOptions;
|
|
@@ -13568,7 +13639,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13568
13639
|
// verify required parameter 'id' is not null or undefined
|
|
13569
13640
|
(0, common_1.assertParamExists)('postIssueCredit', 'id', id);
|
|
13570
13641
|
localVarPath = "/admin/orders/{id}/credit"
|
|
13571
|
-
.replace(
|
|
13642
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13572
13643
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13573
13644
|
if (configuration) {
|
|
13574
13645
|
baseOptions = configuration.baseOptions;
|
|
@@ -13614,8 +13685,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13614
13685
|
// verify required parameter 'printer' is not null or undefined
|
|
13615
13686
|
(0, common_1.assertParamExists)('postPrintShippingLabel', 'printer', printer);
|
|
13616
13687
|
localVarPath = "/admin/orders/{id}/shipments/{shipment_id}/label/print"
|
|
13617
|
-
.replace(
|
|
13618
|
-
.replace(
|
|
13688
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13689
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13619
13690
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13620
13691
|
if (configuration) {
|
|
13621
13692
|
baseOptions = configuration.baseOptions;
|
|
@@ -13659,8 +13730,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13659
13730
|
// verify required parameter 'batchId' is not null or undefined
|
|
13660
13731
|
(0, common_1.assertParamExists)('postProcessTcxLicences', 'batchId', batchId);
|
|
13661
13732
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/licences/process"
|
|
13662
|
-
.replace(
|
|
13663
|
-
.replace(
|
|
13733
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13734
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13664
13735
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13665
13736
|
if (configuration) {
|
|
13666
13737
|
baseOptions = configuration.baseOptions;
|
|
@@ -13701,7 +13772,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13701
13772
|
// verify required parameter 'email' is not null or undefined
|
|
13702
13773
|
(0, common_1.assertParamExists)('postSendOrderEmail', 'email', email);
|
|
13703
13774
|
localVarPath = "/admin/orders/{id}/email/send"
|
|
13704
|
-
.replace(
|
|
13775
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13705
13776
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13706
13777
|
if (configuration) {
|
|
13707
13778
|
baseOptions = configuration.baseOptions;
|
|
@@ -13750,9 +13821,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13750
13821
|
// verify required parameter 'email' is not null or undefined
|
|
13751
13822
|
(0, common_1.assertParamExists)('postSendShipmentEmail', 'email', email);
|
|
13752
13823
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email"
|
|
13753
|
-
.replace(
|
|
13754
|
-
.replace(
|
|
13755
|
-
.replace(
|
|
13824
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13825
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
13826
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
13756
13827
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13757
13828
|
if (configuration) {
|
|
13758
13829
|
baseOptions = configuration.baseOptions;
|
|
@@ -13795,8 +13866,8 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13795
13866
|
// verify required parameter 'batchId' is not null or undefined
|
|
13796
13867
|
(0, common_1.assertParamExists)('postSendSupplierEmail', 'batchId', batchId);
|
|
13797
13868
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/email/send"
|
|
13798
|
-
.replace(
|
|
13799
|
-
.replace(
|
|
13869
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
13870
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)));
|
|
13800
13871
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13801
13872
|
if (configuration) {
|
|
13802
13873
|
baseOptions = configuration.baseOptions;
|
|
@@ -13834,7 +13905,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13834
13905
|
// verify required parameter 'id' is not null or undefined
|
|
13835
13906
|
(0, common_1.assertParamExists)('postSplitOrder', 'id', id);
|
|
13836
13907
|
localVarPath = "/admin/orders/{id}/split"
|
|
13837
|
-
.replace(
|
|
13908
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13838
13909
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13839
13910
|
if (configuration) {
|
|
13840
13911
|
baseOptions = configuration.baseOptions;
|
|
@@ -13878,7 +13949,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13878
13949
|
// verify required parameter 'supplierId' is not null or undefined
|
|
13879
13950
|
(0, common_1.assertParamExists)('putAllocateItems', 'supplierId', supplierId);
|
|
13880
13951
|
localVarPath = "/admin/orders/{id}/items/allocate"
|
|
13881
|
-
.replace(
|
|
13952
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13882
13953
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13883
13954
|
if (configuration) {
|
|
13884
13955
|
baseOptions = configuration.baseOptions;
|
|
@@ -13923,7 +13994,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13923
13994
|
// verify required parameter 'id' is not null or undefined
|
|
13924
13995
|
(0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
|
|
13925
13996
|
localVarPath = "/admin/orders/{id}"
|
|
13926
|
-
.replace(
|
|
13997
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
13927
13998
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13928
13999
|
if (configuration) {
|
|
13929
14000
|
baseOptions = configuration.baseOptions;
|
|
@@ -13973,9 +14044,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
13973
14044
|
// verify required parameter 'itemId' is not null or undefined
|
|
13974
14045
|
(0, common_1.assertParamExists)('putUpdateBatchItem', 'itemId', itemId);
|
|
13975
14046
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/items/{item_id}"
|
|
13976
|
-
.replace(
|
|
13977
|
-
.replace(
|
|
13978
|
-
.replace(
|
|
14047
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14048
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14049
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
13979
14050
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13980
14051
|
if (configuration) {
|
|
13981
14052
|
baseOptions = configuration.baseOptions;
|
|
@@ -14017,7 +14088,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14017
14088
|
// verify required parameter 'id' is not null or undefined
|
|
14018
14089
|
(0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
|
|
14019
14090
|
localVarPath = "/orders/{id}"
|
|
14020
|
-
.replace(
|
|
14091
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
14021
14092
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14022
14093
|
if (configuration) {
|
|
14023
14094
|
baseOptions = configuration.baseOptions;
|
|
@@ -14063,7 +14134,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14063
14134
|
// verify required parameter 'paid' is not null or undefined
|
|
14064
14135
|
(0, common_1.assertParamExists)('putUpdatePaymentStatus', 'paid', paid);
|
|
14065
14136
|
localVarPath = "/admin/orders/{id}/paid"
|
|
14066
|
-
.replace(
|
|
14137
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
14067
14138
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14068
14139
|
if (configuration) {
|
|
14069
14140
|
baseOptions = configuration.baseOptions;
|
|
@@ -14111,9 +14182,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
|
|
|
14111
14182
|
// verify required parameter 'shipmentId' is not null or undefined
|
|
14112
14183
|
(0, common_1.assertParamExists)('putUpdateShipment', 'shipmentId', shipmentId);
|
|
14113
14184
|
localVarPath = "/admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}"
|
|
14114
|
-
.replace(
|
|
14115
|
-
.replace(
|
|
14116
|
-
.replace(
|
|
14185
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
14186
|
+
.replace('{batch_id}', encodeURIComponent(String(batchId)))
|
|
14187
|
+
.replace('{shipment_id}', encodeURIComponent(String(shipmentId)));
|
|
14117
14188
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14118
14189
|
if (configuration) {
|
|
14119
14190
|
baseOptions = configuration.baseOptions;
|
|
@@ -15657,18 +15728,18 @@ exports.GetGetOrdersStatusEnum = {
|
|
|
15657
15728
|
Paid: 'PAID',
|
|
15658
15729
|
InvoicePaid: 'INVOICE_PAID',
|
|
15659
15730
|
Unpaid: 'UNPAID',
|
|
15660
|
-
Quote: 'QUOTE'
|
|
15731
|
+
Quote: 'QUOTE',
|
|
15661
15732
|
};
|
|
15662
15733
|
exports.GetGetOrdersFilterEnum = {
|
|
15663
15734
|
Outstanding: 'OUTSTANDING',
|
|
15664
15735
|
Quotes: 'QUOTES',
|
|
15665
15736
|
All: 'ALL',
|
|
15666
|
-
BackOrders: 'BACK_ORDERS'
|
|
15737
|
+
BackOrders: 'BACK_ORDERS',
|
|
15667
15738
|
};
|
|
15668
15739
|
exports.PostPrintShippingLabelPrinterEnum = {
|
|
15669
15740
|
NUMBER_1: 1,
|
|
15670
15741
|
NUMBER_2: 2,
|
|
15671
|
-
NUMBER_3: 3
|
|
15742
|
+
NUMBER_3: 3,
|
|
15672
15743
|
};
|
|
15673
15744
|
/**
|
|
15674
15745
|
* PricingApi - axios parameter creator
|
|
@@ -15941,14 +16012,14 @@ exports.GetGetPriceListTypeEnum = {
|
|
|
15941
16012
|
EdTechPro: 'EdTechPro',
|
|
15942
16013
|
Sms: 'SMS',
|
|
15943
16014
|
SipTrunks: 'SIP Trunks',
|
|
15944
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16015
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15945
16016
|
};
|
|
15946
16017
|
exports.GetGetPriceListFormatEnum = {
|
|
15947
16018
|
Pdf: 'pdf',
|
|
15948
16019
|
Json: 'json',
|
|
15949
16020
|
Csv: 'csv',
|
|
15950
16021
|
Xml: 'xml',
|
|
15951
|
-
Html: 'html'
|
|
16022
|
+
Html: 'html',
|
|
15952
16023
|
};
|
|
15953
16024
|
exports.GetGetPriceListCategoryEnum = {
|
|
15954
16025
|
Yealink: 'Yealink',
|
|
@@ -15970,7 +16041,7 @@ exports.GetGetPriceListCategoryEnum = {
|
|
|
15970
16041
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
15971
16042
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
15972
16043
|
FanvilAccessories: 'Fanvil Accessories',
|
|
15973
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16044
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
15974
16045
|
};
|
|
15975
16046
|
exports.PostSendPriceListTypeEnum = {
|
|
15976
16047
|
Products: 'Products',
|
|
@@ -15981,14 +16052,14 @@ exports.PostSendPriceListTypeEnum = {
|
|
|
15981
16052
|
EdTechPro: 'EdTechPro',
|
|
15982
16053
|
Sms: 'SMS',
|
|
15983
16054
|
SipTrunks: 'SIP Trunks',
|
|
15984
|
-
CrmIntegrations: 'CRM Integrations'
|
|
16055
|
+
CrmIntegrations: 'CRM Integrations',
|
|
15985
16056
|
};
|
|
15986
16057
|
exports.PostSendPriceListFormatEnum = {
|
|
15987
16058
|
Pdf: 'pdf',
|
|
15988
16059
|
Json: 'json',
|
|
15989
16060
|
Csv: 'csv',
|
|
15990
16061
|
Xml: 'xml',
|
|
15991
|
-
Html: 'html'
|
|
16062
|
+
Html: 'html',
|
|
15992
16063
|
};
|
|
15993
16064
|
exports.PostSendPriceListCategoryEnum = {
|
|
15994
16065
|
Yealink: 'Yealink',
|
|
@@ -16010,7 +16081,7 @@ exports.PostSendPriceListCategoryEnum = {
|
|
|
16010
16081
|
FanvilWirelessPhones: 'Fanvil Wireless Phones',
|
|
16011
16082
|
FanvilSecurityProducts: 'Fanvil Security Products',
|
|
16012
16083
|
FanvilAccessories: 'Fanvil Accessories',
|
|
16013
|
-
FanvilHotelPhones: 'Fanvil Hotel Phones'
|
|
16084
|
+
FanvilHotelPhones: 'Fanvil Hotel Phones',
|
|
16014
16085
|
};
|
|
16015
16086
|
/**
|
|
16016
16087
|
* ProductsApi - axios parameter creator
|
|
@@ -16297,7 +16368,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16297
16368
|
// verify required parameter 'quantity' is not null or undefined
|
|
16298
16369
|
(0, common_1.assertParamExists)('patchAddQuantityToStock', 'quantity', quantity);
|
|
16299
16370
|
localVarPath = "/products/{sku}/stock/add"
|
|
16300
|
-
.replace(
|
|
16371
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16301
16372
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16302
16373
|
if (configuration) {
|
|
16303
16374
|
baseOptions = configuration.baseOptions;
|
|
@@ -16340,7 +16411,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16340
16411
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16341
16412
|
(0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16342
16413
|
localVarPath = "/products/{sku}"
|
|
16343
|
-
.replace(
|
|
16414
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16344
16415
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16345
16416
|
if (configuration) {
|
|
16346
16417
|
baseOptions = configuration.baseOptions;
|
|
@@ -16386,7 +16457,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
16386
16457
|
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16387
16458
|
(0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
|
|
16388
16459
|
localVarPath = "/admin/products/{sku}"
|
|
16389
|
-
.replace(
|
|
16460
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
16390
16461
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16391
16462
|
if (configuration) {
|
|
16392
16463
|
baseOptions = configuration.baseOptions;
|
|
@@ -16890,7 +16961,7 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
16890
16961
|
exports.ProductsApi = ProductsApi;
|
|
16891
16962
|
exports.GetGetLegacyStockListFormatEnum = {
|
|
16892
16963
|
Xml: 'XML',
|
|
16893
|
-
Csv: 'CSV'
|
|
16964
|
+
Csv: 'CSV',
|
|
16894
16965
|
};
|
|
16895
16966
|
/**
|
|
16896
16967
|
* ProspectsApi - axios parameter creator
|
|
@@ -16917,7 +16988,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16917
16988
|
// verify required parameter 'xeroId' is not null or undefined
|
|
16918
16989
|
(0, common_1.assertParamExists)('getGetProspect', 'xeroId', xeroId);
|
|
16919
16990
|
localVarPath = "/accounts/prospects/{xero_id}"
|
|
16920
|
-
.replace(
|
|
16991
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16921
16992
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16922
16993
|
if (configuration) {
|
|
16923
16994
|
baseOptions = configuration.baseOptions;
|
|
@@ -16992,7 +17063,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
16992
17063
|
// verify required parameter 'status' is not null or undefined
|
|
16993
17064
|
(0, common_1.assertParamExists)('getRemoveFromProspects', 'status', status);
|
|
16994
17065
|
localVarPath = "/accounts/prospects/{xero_id}/remove"
|
|
16995
|
-
.replace(
|
|
17066
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
16996
17067
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16997
17068
|
if (configuration) {
|
|
16998
17069
|
baseOptions = configuration.baseOptions;
|
|
@@ -17036,7 +17107,7 @@ var ProspectsApiAxiosParamCreator = function (configuration) {
|
|
|
17036
17107
|
// verify required parameter 'date' is not null or undefined
|
|
17037
17108
|
(0, common_1.assertParamExists)('getSetCallback', 'date', date);
|
|
17038
17109
|
localVarPath = "/accounts/prospects/{xero_id}/date"
|
|
17039
|
-
.replace(
|
|
17110
|
+
.replace('{xero_id}', encodeURIComponent(String(xeroId)));
|
|
17040
17111
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17041
17112
|
if (configuration) {
|
|
17042
17113
|
baseOptions = configuration.baseOptions;
|
|
@@ -17297,8 +17368,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17297
17368
|
// verify required parameter 'mac' is not null or undefined
|
|
17298
17369
|
(0, common_1.assertParamExists)('deleteAddFanvilMac', 'mac', mac);
|
|
17299
17370
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17300
|
-
.replace(
|
|
17301
|
-
.replace(
|
|
17371
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17372
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17302
17373
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17303
17374
|
if (configuration) {
|
|
17304
17375
|
baseOptions = configuration.baseOptions;
|
|
@@ -17335,7 +17406,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17335
17406
|
// verify required parameter 'id' is not null or undefined
|
|
17336
17407
|
(0, common_1.assertParamExists)('deleteDeleteFanvilGroup', 'id', id);
|
|
17337
17408
|
localVarPath = "/provisioning/fanvil/groups/{id}"
|
|
17338
|
-
.replace(
|
|
17409
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17339
17410
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17340
17411
|
if (configuration) {
|
|
17341
17412
|
baseOptions = configuration.baseOptions;
|
|
@@ -17375,8 +17446,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17375
17446
|
// verify required parameter 'mac' is not null or undefined
|
|
17376
17447
|
(0, common_1.assertParamExists)('getGetFanvilEncryptionKey', 'mac', mac);
|
|
17377
17448
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}/key"
|
|
17378
|
-
.replace(
|
|
17379
|
-
.replace(
|
|
17449
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17450
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17380
17451
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17381
17452
|
if (configuration) {
|
|
17382
17453
|
baseOptions = configuration.baseOptions;
|
|
@@ -17414,7 +17485,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17414
17485
|
// verify required parameter 'id' is not null or undefined
|
|
17415
17486
|
(0, common_1.assertParamExists)('getGetFanvilGroupMacs', 'id', id);
|
|
17416
17487
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs"
|
|
17417
|
-
.replace(
|
|
17488
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17418
17489
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17419
17490
|
if (configuration) {
|
|
17420
17491
|
baseOptions = configuration.baseOptions;
|
|
@@ -17530,8 +17601,8 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
|
|
|
17530
17601
|
// verify required parameter 'mac' is not null or undefined
|
|
17531
17602
|
(0, common_1.assertParamExists)('postAddFanvilMac', 'mac', mac);
|
|
17532
17603
|
localVarPath = "/provisioning/fanvil/groups/{id}/macs/{mac}"
|
|
17533
|
-
.replace(
|
|
17534
|
-
.replace(
|
|
17604
|
+
.replace('{id}', encodeURIComponent(String(id)))
|
|
17605
|
+
.replace('{mac}', encodeURIComponent(String(mac)));
|
|
17535
17606
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17536
17607
|
if (configuration) {
|
|
17537
17608
|
baseOptions = configuration.baseOptions;
|
|
@@ -17923,7 +17994,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17923
17994
|
// verify required parameter 'id' is not null or undefined
|
|
17924
17995
|
(0, common_1.assertParamExists)('deleteGetSipTrunk', 'id', id);
|
|
17925
17996
|
localVarPath = "/sip/trunks/{id}"
|
|
17926
|
-
.replace(
|
|
17997
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17927
17998
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17928
17999
|
if (configuration) {
|
|
17929
18000
|
baseOptions = configuration.baseOptions;
|
|
@@ -17961,7 +18032,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17961
18032
|
// verify required parameter 'id' is not null or undefined
|
|
17962
18033
|
(0, common_1.assertParamExists)('getCanDivert', 'id', id);
|
|
17963
18034
|
localVarPath = "/sip/trunks/{id}/diverts/allowed"
|
|
17964
|
-
.replace(
|
|
18035
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
17965
18036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17966
18037
|
if (configuration) {
|
|
17967
18038
|
baseOptions = configuration.baseOptions;
|
|
@@ -17999,7 +18070,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
17999
18070
|
// verify required parameter 'id' is not null or undefined
|
|
18000
18071
|
(0, common_1.assertParamExists)('getGetAddress', 'id', id);
|
|
18001
18072
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18002
|
-
.replace(
|
|
18073
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18003
18074
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18004
18075
|
if (configuration) {
|
|
18005
18076
|
baseOptions = configuration.baseOptions;
|
|
@@ -18108,7 +18179,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18108
18179
|
// verify required parameter 'id' is not null or undefined
|
|
18109
18180
|
(0, common_1.assertParamExists)('getGetCliFlexibility', 'id', id);
|
|
18110
18181
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18111
|
-
.replace(
|
|
18182
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18112
18183
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18113
18184
|
if (configuration) {
|
|
18114
18185
|
baseOptions = configuration.baseOptions;
|
|
@@ -18146,7 +18217,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18146
18217
|
// verify required parameter 'id' is not null or undefined
|
|
18147
18218
|
(0, common_1.assertParamExists)('getGetDdis', 'id', id);
|
|
18148
18219
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18149
|
-
.replace(
|
|
18220
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18150
18221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18151
18222
|
if (configuration) {
|
|
18152
18223
|
baseOptions = configuration.baseOptions;
|
|
@@ -18185,7 +18256,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18185
18256
|
// verify required parameter 'id' is not null or undefined
|
|
18186
18257
|
(0, common_1.assertParamExists)('getGetDiverts', 'id', id);
|
|
18187
18258
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18188
|
-
.replace(
|
|
18259
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18189
18260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18190
18261
|
if (configuration) {
|
|
18191
18262
|
baseOptions = configuration.baseOptions;
|
|
@@ -18226,7 +18297,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18226
18297
|
// verify required parameter 'id' is not null or undefined
|
|
18227
18298
|
(0, common_1.assertParamExists)('getGetSipTrunk', 'id', id);
|
|
18228
18299
|
localVarPath = "/sip/trunks/{id}"
|
|
18229
|
-
.replace(
|
|
18300
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18230
18301
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18231
18302
|
if (configuration) {
|
|
18232
18303
|
baseOptions = configuration.baseOptions;
|
|
@@ -18313,7 +18384,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18313
18384
|
// verify required parameter 'enabled' is not null or undefined
|
|
18314
18385
|
(0, common_1.assertParamExists)('patchGetCliFlexibility', 'enabled', enabled);
|
|
18315
18386
|
localVarPath = "/sip/trunks/{id}/cli/flexibility"
|
|
18316
|
-
.replace(
|
|
18387
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18317
18388
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18318
18389
|
if (configuration) {
|
|
18319
18390
|
baseOptions = configuration.baseOptions;
|
|
@@ -18354,7 +18425,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18354
18425
|
// verify required parameter 'id' is not null or undefined
|
|
18355
18426
|
(0, common_1.assertParamExists)('patchSetAsAvailable', 'id', id);
|
|
18356
18427
|
localVarPath = "/sip/trunks/{id}/available"
|
|
18357
|
-
.replace(
|
|
18428
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18358
18429
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18359
18430
|
if (configuration) {
|
|
18360
18431
|
baseOptions = configuration.baseOptions;
|
|
@@ -18395,7 +18466,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18395
18466
|
// verify required parameter 'ownerId' is not null or undefined
|
|
18396
18467
|
(0, common_1.assertParamExists)('patchSetOwnership', 'ownerId', ownerId);
|
|
18397
18468
|
localVarPath = "/sip/trunks/{id}/owner"
|
|
18398
|
-
.replace(
|
|
18469
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18399
18470
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18400
18471
|
if (configuration) {
|
|
18401
18472
|
baseOptions = configuration.baseOptions;
|
|
@@ -18441,7 +18512,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18441
18512
|
// verify required parameter 'channels' is not null or undefined
|
|
18442
18513
|
(0, common_1.assertParamExists)('patchUpdateChannelCount', 'channels', channels);
|
|
18443
18514
|
localVarPath = "/sip/trunks/{id}/channels"
|
|
18444
|
-
.replace(
|
|
18515
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18445
18516
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18446
18517
|
if (configuration) {
|
|
18447
18518
|
baseOptions = configuration.baseOptions;
|
|
@@ -18485,7 +18556,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18485
18556
|
// verify required parameter 'company' is not null or undefined
|
|
18486
18557
|
(0, common_1.assertParamExists)('patchUpdateCompanyName', 'company', company);
|
|
18487
18558
|
localVarPath = "/sip/trunks/{id}/company"
|
|
18488
|
-
.replace(
|
|
18559
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18489
18560
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18490
18561
|
if (configuration) {
|
|
18491
18562
|
baseOptions = configuration.baseOptions;
|
|
@@ -18529,7 +18600,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18529
18600
|
// verify required parameter 'number' is not null or undefined
|
|
18530
18601
|
(0, common_1.assertParamExists)('patchUpdateMainTrunkNumber', 'number', number);
|
|
18531
18602
|
localVarPath = "/sip/trunks/{id}/number"
|
|
18532
|
-
.replace(
|
|
18603
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18533
18604
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18534
18605
|
if (configuration) {
|
|
18535
18606
|
baseOptions = configuration.baseOptions;
|
|
@@ -18573,7 +18644,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18573
18644
|
// verify required parameter 'ipAddress' is not null or undefined
|
|
18574
18645
|
(0, common_1.assertParamExists)('patchUpdatePbxIPAddress', 'ipAddress', ipAddress);
|
|
18575
18646
|
localVarPath = "/sip/trunks/{id}/pbx/ip"
|
|
18576
|
-
.replace(
|
|
18647
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18577
18648
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18578
18649
|
if (configuration) {
|
|
18579
18650
|
baseOptions = configuration.baseOptions;
|
|
@@ -18615,7 +18686,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18615
18686
|
// verify required parameter 'id' is not null or undefined
|
|
18616
18687
|
(0, common_1.assertParamExists)('postGetDdis', 'id', id);
|
|
18617
18688
|
localVarPath = "/sip/trunks/{id}/ddis"
|
|
18618
|
-
.replace(
|
|
18689
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18619
18690
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18620
18691
|
if (configuration) {
|
|
18621
18692
|
baseOptions = configuration.baseOptions;
|
|
@@ -18767,7 +18838,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18767
18838
|
// verify required parameter 'id' is not null or undefined
|
|
18768
18839
|
(0, common_1.assertParamExists)('putGetAddress', 'id', id);
|
|
18769
18840
|
localVarPath = "/sip/trunks/{id}/address"
|
|
18770
|
-
.replace(
|
|
18841
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18771
18842
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18772
18843
|
if (configuration) {
|
|
18773
18844
|
baseOptions = configuration.baseOptions;
|
|
@@ -18811,7 +18882,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
|
|
|
18811
18882
|
// verify required parameter 'enabled' is not null or undefined
|
|
18812
18883
|
(0, common_1.assertParamExists)('putGetDiverts', 'enabled', enabled);
|
|
18813
18884
|
localVarPath = "/sip/trunks/{id}/diverts"
|
|
18814
|
-
.replace(
|
|
18885
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
18815
18886
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18816
18887
|
if (configuration) {
|
|
18817
18888
|
baseOptions = configuration.baseOptions;
|
|
@@ -20217,7 +20288,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20217
20288
|
// verify required parameter 'id' is not null or undefined
|
|
20218
20289
|
(0, common_1.assertParamExists)('patchArchiveEvent', 'id', id);
|
|
20219
20290
|
localVarPath = "/services/events/{id}/archive"
|
|
20220
|
-
.replace(
|
|
20291
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20221
20292
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20222
20293
|
if (configuration) {
|
|
20223
20294
|
baseOptions = configuration.baseOptions;
|
|
@@ -20255,7 +20326,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20255
20326
|
// verify required parameter 'id' is not null or undefined
|
|
20256
20327
|
(0, common_1.assertParamExists)('patchUpdateEvent', 'id', id);
|
|
20257
20328
|
localVarPath = "/services/events/{id}"
|
|
20258
|
-
.replace(
|
|
20329
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20259
20330
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20260
20331
|
if (configuration) {
|
|
20261
20332
|
baseOptions = configuration.baseOptions;
|
|
@@ -20331,7 +20402,7 @@ var ServicesApiAxiosParamCreator = function (configuration) {
|
|
|
20331
20402
|
// verify required parameter 'id' is not null or undefined
|
|
20332
20403
|
(0, common_1.assertParamExists)('postCreateEventUpdate', 'id', id);
|
|
20333
20404
|
localVarPath = "/services/events/{id}/updates"
|
|
20334
|
-
.replace(
|
|
20405
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20335
20406
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20336
20407
|
if (configuration) {
|
|
20337
20408
|
baseOptions = configuration.baseOptions;
|
|
@@ -20947,7 +21018,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20947
21018
|
// verify required parameter 'id' is not null or undefined
|
|
20948
21019
|
(0, common_1.assertParamExists)('deleteDeleteStockOrder', 'id', id);
|
|
20949
21020
|
localVarPath = "/stock/orders/{id}"
|
|
20950
|
-
.replace(
|
|
21021
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
20951
21022
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20952
21023
|
if (configuration) {
|
|
20953
21024
|
baseOptions = configuration.baseOptions;
|
|
@@ -20987,8 +21058,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20987
21058
|
// verify required parameter 'deductionId' is not null or undefined
|
|
20988
21059
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
20989
21060
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
20990
|
-
.replace(
|
|
20991
|
-
.replace(
|
|
21061
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21062
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
20992
21063
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20993
21064
|
if (configuration) {
|
|
20994
21065
|
baseOptions = configuration.baseOptions;
|
|
@@ -21028,8 +21099,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21028
21099
|
// verify required parameter 'itemId' is not null or undefined
|
|
21029
21100
|
(0, common_1.assertParamExists)('deleteDeleteStockOrderItem', 'itemId', itemId);
|
|
21030
21101
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21031
|
-
.replace(
|
|
21032
|
-
.replace(
|
|
21102
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21103
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21033
21104
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21034
21105
|
if (configuration) {
|
|
21035
21106
|
baseOptions = configuration.baseOptions;
|
|
@@ -21066,7 +21137,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21066
21137
|
// verify required parameter 'id' is not null or undefined
|
|
21067
21138
|
(0, common_1.assertParamExists)('deleteGetStockProduct', 'id', id);
|
|
21068
21139
|
localVarPath = "/stock/products/{id}"
|
|
21069
|
-
.replace(
|
|
21140
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21070
21141
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21071
21142
|
if (configuration) {
|
|
21072
21143
|
baseOptions = configuration.baseOptions;
|
|
@@ -21103,7 +21174,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21103
21174
|
// verify required parameter 'id' is not null or undefined
|
|
21104
21175
|
(0, common_1.assertParamExists)('getDeleteStockOrder', 'id', id);
|
|
21105
21176
|
localVarPath = "/stock/orders/{id}"
|
|
21106
|
-
.replace(
|
|
21177
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21107
21178
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21108
21179
|
if (configuration) {
|
|
21109
21180
|
baseOptions = configuration.baseOptions;
|
|
@@ -21141,7 +21212,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21141
21212
|
// verify required parameter 'sku' is not null or undefined
|
|
21142
21213
|
(0, common_1.assertParamExists)('getGetProductDetails', 'sku', sku);
|
|
21143
21214
|
localVarPath = "/stock/products/{sku}/details"
|
|
21144
|
-
.replace(
|
|
21215
|
+
.replace('{sku}', encodeURIComponent(String(sku)));
|
|
21145
21216
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21146
21217
|
if (configuration) {
|
|
21147
21218
|
baseOptions = configuration.baseOptions;
|
|
@@ -21179,7 +21250,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21179
21250
|
// verify required parameter 'id' is not null or undefined
|
|
21180
21251
|
(0, common_1.assertParamExists)('getGetStockOrderPurchaseOrder', 'id', id);
|
|
21181
21252
|
localVarPath = "/stock/orders/{id}/po"
|
|
21182
|
-
.replace(
|
|
21253
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21183
21254
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21184
21255
|
if (configuration) {
|
|
21185
21256
|
baseOptions = configuration.baseOptions;
|
|
@@ -21217,7 +21288,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21217
21288
|
// verify required parameter 'id' is not null or undefined
|
|
21218
21289
|
(0, common_1.assertParamExists)('getGetStockOrderSupplierEmail', 'id', id);
|
|
21219
21290
|
localVarPath = "/stock/orders/{id}/supplier/email"
|
|
21220
|
-
.replace(
|
|
21291
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21221
21292
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21222
21293
|
if (configuration) {
|
|
21223
21294
|
baseOptions = configuration.baseOptions;
|
|
@@ -21305,7 +21376,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21305
21376
|
// verify required parameter 'id' is not null or undefined
|
|
21306
21377
|
(0, common_1.assertParamExists)('getGetStockProduct', 'id', id);
|
|
21307
21378
|
localVarPath = "/stock/products/{id}"
|
|
21308
|
-
.replace(
|
|
21379
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21309
21380
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21310
21381
|
if (configuration) {
|
|
21311
21382
|
baseOptions = configuration.baseOptions;
|
|
@@ -21423,7 +21494,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21423
21494
|
// verify required parameter 'id' is not null or undefined
|
|
21424
21495
|
(0, common_1.assertParamExists)('getGetStockSupplierProducts', 'id', id);
|
|
21425
21496
|
localVarPath = "/stock/suppliers/{id}/products"
|
|
21426
|
-
.replace(
|
|
21497
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21427
21498
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21428
21499
|
if (configuration) {
|
|
21429
21500
|
baseOptions = configuration.baseOptions;
|
|
@@ -21461,7 +21532,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21461
21532
|
// verify required parameter 'id' is not null or undefined
|
|
21462
21533
|
(0, common_1.assertParamExists)('getUploadStockOrderInvoice', 'id', id);
|
|
21463
21534
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21464
|
-
.replace(
|
|
21535
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21465
21536
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21466
21537
|
if (configuration) {
|
|
21467
21538
|
baseOptions = configuration.baseOptions;
|
|
@@ -21500,7 +21571,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21500
21571
|
// verify required parameter 'id' is not null or undefined
|
|
21501
21572
|
(0, common_1.assertParamExists)('patchDeleteStockOrder', 'id', id);
|
|
21502
21573
|
localVarPath = "/stock/orders/{id}"
|
|
21503
|
-
.replace(
|
|
21574
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21504
21575
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21505
21576
|
if (configuration) {
|
|
21506
21577
|
baseOptions = configuration.baseOptions;
|
|
@@ -21544,8 +21615,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21544
21615
|
// verify required parameter 'deductionId' is not null or undefined
|
|
21545
21616
|
(0, common_1.assertParamExists)('patchDeleteStockOrderDeduction', 'deductionId', deductionId);
|
|
21546
21617
|
localVarPath = "/stock/orders/{order_id}/deductions/{deduction_id}"
|
|
21547
|
-
.replace(
|
|
21548
|
-
.replace(
|
|
21618
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21619
|
+
.replace('{deduction_id}', encodeURIComponent(String(deductionId)));
|
|
21549
21620
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21550
21621
|
if (configuration) {
|
|
21551
21622
|
baseOptions = configuration.baseOptions;
|
|
@@ -21589,8 +21660,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21589
21660
|
// verify required parameter 'itemId' is not null or undefined
|
|
21590
21661
|
(0, common_1.assertParamExists)('patchDeleteStockOrderItem', 'itemId', itemId);
|
|
21591
21662
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}"
|
|
21592
|
-
.replace(
|
|
21593
|
-
.replace(
|
|
21663
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21664
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21594
21665
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21595
21666
|
if (configuration) {
|
|
21596
21667
|
baseOptions = configuration.baseOptions;
|
|
@@ -21631,7 +21702,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21631
21702
|
// verify required parameter 'id' is not null or undefined
|
|
21632
21703
|
(0, common_1.assertParamExists)('postAddStockOrderDeduction', 'id', id);
|
|
21633
21704
|
localVarPath = "/stock/orders/{id}/deductions"
|
|
21634
|
-
.replace(
|
|
21705
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21635
21706
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21636
21707
|
if (configuration) {
|
|
21637
21708
|
baseOptions = configuration.baseOptions;
|
|
@@ -21672,7 +21743,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21672
21743
|
// verify required parameter 'id' is not null or undefined
|
|
21673
21744
|
(0, common_1.assertParamExists)('postAddStockOrderItem', 'id', id);
|
|
21674
21745
|
localVarPath = "/stock/orders/{id}/items"
|
|
21675
|
-
.replace(
|
|
21746
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21676
21747
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21677
21748
|
if (configuration) {
|
|
21678
21749
|
baseOptions = configuration.baseOptions;
|
|
@@ -21789,7 +21860,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21789
21860
|
// verify required parameter 'invoice' is not null or undefined
|
|
21790
21861
|
(0, common_1.assertParamExists)('postUploadStockOrderInvoice', 'invoice', invoice);
|
|
21791
21862
|
localVarPath = "/stock/orders/{id}/invoice"
|
|
21792
|
-
.replace(
|
|
21863
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21793
21864
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21794
21865
|
if (configuration) {
|
|
21795
21866
|
baseOptions = configuration.baseOptions;
|
|
@@ -21833,7 +21904,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21833
21904
|
// verify required parameter 'id' is not null or undefined
|
|
21834
21905
|
(0, common_1.assertParamExists)('putGetStockProduct', 'id', id);
|
|
21835
21906
|
localVarPath = "/stock/products/{id}"
|
|
21836
|
-
.replace(
|
|
21907
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
21837
21908
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21838
21909
|
if (configuration) {
|
|
21839
21910
|
baseOptions = configuration.baseOptions;
|
|
@@ -21879,8 +21950,8 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21879
21950
|
// verify required parameter 'received' is not null or undefined
|
|
21880
21951
|
(0, common_1.assertParamExists)('putReceiveStockOrderItem', 'received', received);
|
|
21881
21952
|
localVarPath = "/stock/orders/{order_id}/items/{item_id}/receive"
|
|
21882
|
-
.replace(
|
|
21883
|
-
.replace(
|
|
21953
|
+
.replace('{order_id}', encodeURIComponent(String(orderId)))
|
|
21954
|
+
.replace('{item_id}', encodeURIComponent(String(itemId)));
|
|
21884
21955
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21885
21956
|
if (configuration) {
|
|
21886
21957
|
baseOptions = configuration.baseOptions;
|
|
@@ -23274,7 +23345,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23274
23345
|
// verify required parameter 'id' is not null or undefined
|
|
23275
23346
|
(0, common_1.assertParamExists)('getGetTicket', 'id', id);
|
|
23276
23347
|
localVarPath = "/tickets/support/{id}"
|
|
23277
|
-
.replace(
|
|
23348
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23278
23349
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23279
23350
|
if (configuration) {
|
|
23280
23351
|
baseOptions = configuration.baseOptions;
|
|
@@ -23311,7 +23382,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23311
23382
|
// verify required parameter 'id' is not null or undefined
|
|
23312
23383
|
(0, common_1.assertParamExists)('patchCloseTicket', 'id', id);
|
|
23313
23384
|
localVarPath = "/tickets/support/{id}/close"
|
|
23314
|
-
.replace(
|
|
23385
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23315
23386
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23316
23387
|
if (configuration) {
|
|
23317
23388
|
baseOptions = configuration.baseOptions;
|
|
@@ -23400,7 +23471,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
|
|
|
23400
23471
|
// verify required parameter 'id' is not null or undefined
|
|
23401
23472
|
(0, common_1.assertParamExists)('postTicketReply', 'id', id);
|
|
23402
23473
|
localVarPath = "/tickets/support/{id}/reply"
|
|
23403
|
-
.replace(
|
|
23474
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
23404
23475
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23405
23476
|
if (configuration) {
|
|
23406
23477
|
baseOptions = configuration.baseOptions;
|
|
@@ -23896,5 +23967,5 @@ exports.PostAddWebhookWebhookUriEnum = {
|
|
|
23896
23967
|
WebhookFreshdeskUpdate: '/webhook/freshdesk/update',
|
|
23897
23968
|
WebhookTest: '/webhook/test',
|
|
23898
23969
|
WebhookXeroInvoices: '/webhook/xero/invoices',
|
|
23899
|
-
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add'
|
|
23970
|
+
WebhookTcxPhonesAdd: '/webhook/tcx/phones/add',
|
|
23900
23971
|
};
|