yellowgrid-api-ts 3.1.15-dev.0 → 3.1.15
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 +198 -217
- package/README.md +7 -36
- package/api.ts +233 -1975
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/config.json +3 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +159 -1484
- package/dist/api.js +197 -1140
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AccountsApi.md +0 -103
- package/docs/AddressModel.md +0 -2
- package/docs/Class3CXApi.md +55 -0
- package/docs/ClientDetailsModel.md +2 -0
- package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
- package/docs/ItemDTO.md +4 -12
- package/docs/ItemEntity.md +2 -4
- package/docs/OrderSummaryDTO.md +0 -8
- package/docs/OrderTotalModel.md +0 -2
- package/docs/OrdersApi.md +4 -356
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -7
- package/docs/ProductsApi.md +43 -164
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -33
- package/docs/AccountDetailedSummaryDTO.md +0 -39
- package/docs/AdminItemRequestDTO.md +0 -43
- package/docs/AdminOrderRequestDTO.md +0 -45
- package/docs/AdminUserModel.md +0 -29
- package/docs/BasicItemDTO.md +0 -23
- package/docs/BasicProductDTO.md +0 -23
- package/docs/CourierPriceEntity.md +0 -39
- package/docs/CustomerItemRequestDTO.md +0 -37
- package/docs/CustomerOrderRequestDTO.md +0 -33
- package/docs/DetailedItemRequestDTO.md +0 -43
- package/docs/DetailedOrderRequestDTO.md +0 -33
- package/docs/ItemDiscountEntity.md +0 -33
- package/docs/LinkedOrderEntity.md +0 -23
- package/docs/PostGetProductForCustomerRequest.md +0 -24
- package/docs/ShippingApi.md +0 -63
- package/docs/ShippingConsignmentModel.md +0 -26
- package/docs/ShippingInformationDTO.md +0 -25
- package/docs/ShippingServiceDTO.md +0 -23
- package/docs/ShippingServiceModel.md +0 -31
- package/docs/TcxSbcDTO.md +0 -31
- package/hs_err_pid58424.log +0 -247
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -23,55 +23,6 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* Order Request
|
|
28
|
-
* @export
|
|
29
|
-
* @interface AbstractOrderRequestDTO
|
|
30
|
-
*/
|
|
31
|
-
export interface AbstractOrderRequestDTO {
|
|
32
|
-
/**
|
|
33
|
-
* Order Reference
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AbstractOrderRequestDTO
|
|
36
|
-
*/
|
|
37
|
-
'orderReference'?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Items
|
|
40
|
-
* @type {Array<CustomerItemRequestDTO>}
|
|
41
|
-
* @memberof AbstractOrderRequestDTO
|
|
42
|
-
*/
|
|
43
|
-
'items'?: Array<CustomerItemRequestDTO>;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {ShippingServiceDTO}
|
|
47
|
-
* @memberof AbstractOrderRequestDTO
|
|
48
|
-
*/
|
|
49
|
-
'shippingService'?: ShippingServiceDTO;
|
|
50
|
-
/**
|
|
51
|
-
* Provisioning URL
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof AbstractOrderRequestDTO
|
|
54
|
-
*/
|
|
55
|
-
'provisioningUrl'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {AddressModel}
|
|
59
|
-
* @memberof AbstractOrderRequestDTO
|
|
60
|
-
*/
|
|
61
|
-
'shippingAddress'?: AddressModel | null;
|
|
62
|
-
/**
|
|
63
|
-
* Part Ship Order
|
|
64
|
-
* @type {boolean}
|
|
65
|
-
* @memberof AbstractOrderRequestDTO
|
|
66
|
-
*/
|
|
67
|
-
'partShip'?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Quote
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @memberof AbstractOrderRequestDTO
|
|
72
|
-
*/
|
|
73
|
-
'quote'?: boolean;
|
|
74
|
-
}
|
|
75
26
|
/**
|
|
76
27
|
* AccountContactsEntity
|
|
77
28
|
* @export
|
|
@@ -303,73 +254,6 @@ export interface AccountContactRequestModel {
|
|
|
303
254
|
*/
|
|
304
255
|
'despatchEmails'?: boolean;
|
|
305
256
|
}
|
|
306
|
-
/**
|
|
307
|
-
* Account Details
|
|
308
|
-
* @export
|
|
309
|
-
* @interface AccountDetailedSummaryDTO
|
|
310
|
-
*/
|
|
311
|
-
export interface AccountDetailedSummaryDTO {
|
|
312
|
-
/**
|
|
313
|
-
* ID
|
|
314
|
-
* @type {number}
|
|
315
|
-
* @memberof AccountDetailedSummaryDTO
|
|
316
|
-
*/
|
|
317
|
-
'id'?: number;
|
|
318
|
-
/**
|
|
319
|
-
* Xero ID
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof AccountDetailedSummaryDTO
|
|
322
|
-
*/
|
|
323
|
-
'xeroId'?: string;
|
|
324
|
-
/**
|
|
325
|
-
* Company
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof AccountDetailedSummaryDTO
|
|
328
|
-
*/
|
|
329
|
-
'company'?: string;
|
|
330
|
-
/**
|
|
331
|
-
* Credit Limit
|
|
332
|
-
* @type {number}
|
|
333
|
-
* @memberof AccountDetailedSummaryDTO
|
|
334
|
-
*/
|
|
335
|
-
'creditLimit'?: number;
|
|
336
|
-
/**
|
|
337
|
-
* Contacts
|
|
338
|
-
* @type {Array<AccountContactModel>}
|
|
339
|
-
* @memberof AccountDetailedSummaryDTO
|
|
340
|
-
*/
|
|
341
|
-
'contacts'?: Array<AccountContactModel>;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @type {AddressModel}
|
|
345
|
-
* @memberof AccountDetailedSummaryDTO
|
|
346
|
-
*/
|
|
347
|
-
'billingAddress'?: AddressModel;
|
|
348
|
-
/**
|
|
349
|
-
* Addresses
|
|
350
|
-
* @type {Array<AddressModel>}
|
|
351
|
-
* @memberof AccountDetailedSummaryDTO
|
|
352
|
-
*/
|
|
353
|
-
'addresses'?: Array<AddressModel>;
|
|
354
|
-
/**
|
|
355
|
-
* Provisioning URLs
|
|
356
|
-
* @type {Array<ProvisioningModel>}
|
|
357
|
-
* @memberof AccountDetailedSummaryDTO
|
|
358
|
-
*/
|
|
359
|
-
'provisioningUrls'?: Array<ProvisioningModel>;
|
|
360
|
-
/**
|
|
361
|
-
* On Hold
|
|
362
|
-
* @type {boolean}
|
|
363
|
-
* @memberof AccountDetailedSummaryDTO
|
|
364
|
-
*/
|
|
365
|
-
'onHold'?: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* Balance (£)
|
|
368
|
-
* @type {number}
|
|
369
|
-
* @memberof AccountDetailedSummaryDTO
|
|
370
|
-
*/
|
|
371
|
-
'balance'?: number | null;
|
|
372
|
-
}
|
|
373
257
|
/**
|
|
374
258
|
* New Account Request
|
|
375
259
|
* @export
|
|
@@ -619,12 +503,6 @@ export interface AddressModel {
|
|
|
619
503
|
* @memberof AddressModel
|
|
620
504
|
*/
|
|
621
505
|
'company'?: string;
|
|
622
|
-
/**
|
|
623
|
-
* Default
|
|
624
|
-
* @type {boolean}
|
|
625
|
-
* @memberof AddressModel
|
|
626
|
-
*/
|
|
627
|
-
'default'?: boolean;
|
|
628
506
|
}
|
|
629
507
|
/**
|
|
630
508
|
* Address Request
|
|
@@ -657,139 +535,6 @@ export interface AddressRequestModel {
|
|
|
657
535
|
*/
|
|
658
536
|
'addressPostcode'?: string;
|
|
659
537
|
}
|
|
660
|
-
/**
|
|
661
|
-
* Admin Order Request
|
|
662
|
-
* @export
|
|
663
|
-
* @interface AdminOrderRequestDTO
|
|
664
|
-
*/
|
|
665
|
-
export interface AdminOrderRequestDTO {
|
|
666
|
-
/**
|
|
667
|
-
* Order Reference
|
|
668
|
-
* @type {string}
|
|
669
|
-
* @memberof AdminOrderRequestDTO
|
|
670
|
-
*/
|
|
671
|
-
'orderReference'?: string | null;
|
|
672
|
-
/**
|
|
673
|
-
* Items
|
|
674
|
-
* @type {Array<DetailedItemRequestDTO>}
|
|
675
|
-
* @memberof AdminOrderRequestDTO
|
|
676
|
-
*/
|
|
677
|
-
'items'?: Array<DetailedItemRequestDTO>;
|
|
678
|
-
/**
|
|
679
|
-
*
|
|
680
|
-
* @type {ShippingServiceDTO}
|
|
681
|
-
* @memberof AdminOrderRequestDTO
|
|
682
|
-
*/
|
|
683
|
-
'shippingService'?: ShippingServiceDTO;
|
|
684
|
-
/**
|
|
685
|
-
* Provisioning URL
|
|
686
|
-
* @type {string}
|
|
687
|
-
* @memberof AdminOrderRequestDTO
|
|
688
|
-
*/
|
|
689
|
-
'provisioningUrl'?: string | null;
|
|
690
|
-
/**
|
|
691
|
-
*
|
|
692
|
-
* @type {AddressModel}
|
|
693
|
-
* @memberof AdminOrderRequestDTO
|
|
694
|
-
*/
|
|
695
|
-
'shippingAddress'?: AddressModel;
|
|
696
|
-
/**
|
|
697
|
-
* Part Ship Order
|
|
698
|
-
* @type {boolean}
|
|
699
|
-
* @memberof AdminOrderRequestDTO
|
|
700
|
-
*/
|
|
701
|
-
'partShip'?: boolean;
|
|
702
|
-
/**
|
|
703
|
-
* Quote
|
|
704
|
-
* @type {boolean}
|
|
705
|
-
* @memberof AdminOrderRequestDTO
|
|
706
|
-
*/
|
|
707
|
-
'quote'?: boolean;
|
|
708
|
-
/**
|
|
709
|
-
* Customer ID
|
|
710
|
-
* @type {number}
|
|
711
|
-
* @memberof AdminOrderRequestDTO
|
|
712
|
-
*/
|
|
713
|
-
'customerId'?: number;
|
|
714
|
-
/**
|
|
715
|
-
* Contact
|
|
716
|
-
* @type {string}
|
|
717
|
-
* @memberof AdminOrderRequestDTO
|
|
718
|
-
*/
|
|
719
|
-
'contact'?: string;
|
|
720
|
-
/**
|
|
721
|
-
* Ignore Customer On Hold
|
|
722
|
-
* @type {boolean}
|
|
723
|
-
* @memberof AdminOrderRequestDTO
|
|
724
|
-
*/
|
|
725
|
-
'ignoreOnHold'?: boolean;
|
|
726
|
-
/**
|
|
727
|
-
* Ignore Customer Credit Limit
|
|
728
|
-
* @type {boolean}
|
|
729
|
-
* @memberof AdminOrderRequestDTO
|
|
730
|
-
*/
|
|
731
|
-
'ignoreCreditLimit'?: boolean;
|
|
732
|
-
/**
|
|
733
|
-
* Include NFR Promos
|
|
734
|
-
* @type {boolean}
|
|
735
|
-
* @memberof AdminOrderRequestDTO
|
|
736
|
-
*/
|
|
737
|
-
'includeNfrPromos'?: boolean;
|
|
738
|
-
/**
|
|
739
|
-
* Carriage Charge
|
|
740
|
-
* @type {number}
|
|
741
|
-
* @memberof AdminOrderRequestDTO
|
|
742
|
-
*/
|
|
743
|
-
'carriageCharge'?: number;
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* Admin User
|
|
747
|
-
* @export
|
|
748
|
-
* @interface AdminUserModel
|
|
749
|
-
*/
|
|
750
|
-
export interface AdminUserModel {
|
|
751
|
-
/**
|
|
752
|
-
* First Name
|
|
753
|
-
* @type {string}
|
|
754
|
-
* @memberof AdminUserModel
|
|
755
|
-
*/
|
|
756
|
-
'firstName'?: string;
|
|
757
|
-
/**
|
|
758
|
-
* Last Name
|
|
759
|
-
* @type {string}
|
|
760
|
-
* @memberof AdminUserModel
|
|
761
|
-
*/
|
|
762
|
-
'lastName'?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Avatar
|
|
765
|
-
* @type {string}
|
|
766
|
-
* @memberof AdminUserModel
|
|
767
|
-
*/
|
|
768
|
-
'avatar'?: string | null;
|
|
769
|
-
/**
|
|
770
|
-
* Role
|
|
771
|
-
* @type {number}
|
|
772
|
-
* @memberof AdminUserModel
|
|
773
|
-
*/
|
|
774
|
-
'role'?: AdminUserModelRoleEnum;
|
|
775
|
-
/**
|
|
776
|
-
* Email
|
|
777
|
-
* @type {string}
|
|
778
|
-
* @memberof AdminUserModel
|
|
779
|
-
*/
|
|
780
|
-
'email'?: string | null;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
export const AdminUserModelRoleEnum = {
|
|
784
|
-
NUMBER_0: 0,
|
|
785
|
-
NUMBER_1: 1,
|
|
786
|
-
NUMBER_2: 2,
|
|
787
|
-
NUMBER_3: 3,
|
|
788
|
-
NUMBER_4: 4
|
|
789
|
-
} as const;
|
|
790
|
-
|
|
791
|
-
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
792
|
-
|
|
793
538
|
/**
|
|
794
539
|
* Agent Hours Graph
|
|
795
540
|
* @export
|
|
@@ -1019,44 +764,6 @@ export interface AuthCodeResponseModel {
|
|
|
1019
764
|
*/
|
|
1020
765
|
'redirect_uri'?: string | null;
|
|
1021
766
|
}
|
|
1022
|
-
/**
|
|
1023
|
-
* Basic Order Item
|
|
1024
|
-
* @export
|
|
1025
|
-
* @interface BasicItemDTO
|
|
1026
|
-
*/
|
|
1027
|
-
export interface BasicItemDTO {
|
|
1028
|
-
/**
|
|
1029
|
-
* SKU
|
|
1030
|
-
* @type {string}
|
|
1031
|
-
* @memberof BasicItemDTO
|
|
1032
|
-
*/
|
|
1033
|
-
'sku'?: string;
|
|
1034
|
-
/**
|
|
1035
|
-
* Quantity
|
|
1036
|
-
* @type {number}
|
|
1037
|
-
* @memberof BasicItemDTO
|
|
1038
|
-
*/
|
|
1039
|
-
'quantity'?: number;
|
|
1040
|
-
}
|
|
1041
|
-
/**
|
|
1042
|
-
* Basic Product
|
|
1043
|
-
* @export
|
|
1044
|
-
* @interface BasicProductDTO
|
|
1045
|
-
*/
|
|
1046
|
-
export interface BasicProductDTO {
|
|
1047
|
-
/**
|
|
1048
|
-
* SKU
|
|
1049
|
-
* @type {string}
|
|
1050
|
-
* @memberof BasicProductDTO
|
|
1051
|
-
*/
|
|
1052
|
-
'sku'?: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* Title
|
|
1055
|
-
* @type {string}
|
|
1056
|
-
* @memberof BasicProductDTO
|
|
1057
|
-
*/
|
|
1058
|
-
'title'?: string;
|
|
1059
|
-
}
|
|
1060
767
|
/**
|
|
1061
768
|
* BatchesEntity
|
|
1062
769
|
* @export
|
|
@@ -1251,6 +958,12 @@ export interface ClientDetailsModel {
|
|
|
1251
958
|
* @memberof ClientDetailsModel
|
|
1252
959
|
*/
|
|
1253
960
|
'lastName'?: string;
|
|
961
|
+
/**
|
|
962
|
+
* User Profile Picture
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof ClientDetailsModel
|
|
965
|
+
*/
|
|
966
|
+
'image'?: string | null;
|
|
1254
967
|
}
|
|
1255
968
|
/**
|
|
1256
969
|
* OAuth client details
|
|
@@ -1412,73 +1125,6 @@ export interface ConversationModel {
|
|
|
1412
1125
|
*/
|
|
1413
1126
|
'attachments'?: Array<AttachmentModel>;
|
|
1414
1127
|
}
|
|
1415
|
-
/**
|
|
1416
|
-
* CourierPricesEntity
|
|
1417
|
-
* @export
|
|
1418
|
-
* @interface CourierPriceEntity
|
|
1419
|
-
*/
|
|
1420
|
-
export interface CourierPriceEntity {
|
|
1421
|
-
/**
|
|
1422
|
-
* id
|
|
1423
|
-
* @type {number}
|
|
1424
|
-
* @memberof CourierPriceEntity
|
|
1425
|
-
*/
|
|
1426
|
-
'id'?: number;
|
|
1427
|
-
/**
|
|
1428
|
-
* courier
|
|
1429
|
-
* @type {string}
|
|
1430
|
-
* @memberof CourierPriceEntity
|
|
1431
|
-
*/
|
|
1432
|
-
'courier'?: string;
|
|
1433
|
-
/**
|
|
1434
|
-
* destinationIso
|
|
1435
|
-
* @type {string}
|
|
1436
|
-
* @memberof CourierPriceEntity
|
|
1437
|
-
*/
|
|
1438
|
-
'destinationIso'?: string;
|
|
1439
|
-
/**
|
|
1440
|
-
* serviceDescription
|
|
1441
|
-
* @type {string}
|
|
1442
|
-
* @memberof CourierPriceEntity
|
|
1443
|
-
*/
|
|
1444
|
-
'serviceDescription'?: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* flatRate
|
|
1447
|
-
* @type {number}
|
|
1448
|
-
* @memberof CourierPriceEntity
|
|
1449
|
-
*/
|
|
1450
|
-
'flatRate'?: number;
|
|
1451
|
-
/**
|
|
1452
|
-
* initialBox
|
|
1453
|
-
* @type {number}
|
|
1454
|
-
* @memberof CourierPriceEntity
|
|
1455
|
-
*/
|
|
1456
|
-
'initialBox'?: number;
|
|
1457
|
-
/**
|
|
1458
|
-
* initialKg
|
|
1459
|
-
* @type {number}
|
|
1460
|
-
* @memberof CourierPriceEntity
|
|
1461
|
-
*/
|
|
1462
|
-
'initialKg'?: number;
|
|
1463
|
-
/**
|
|
1464
|
-
* perBox
|
|
1465
|
-
* @type {number}
|
|
1466
|
-
* @memberof CourierPriceEntity
|
|
1467
|
-
*/
|
|
1468
|
-
'perBox'?: number;
|
|
1469
|
-
/**
|
|
1470
|
-
* perKg
|
|
1471
|
-
* @type {number}
|
|
1472
|
-
* @memberof CourierPriceEntity
|
|
1473
|
-
*/
|
|
1474
|
-
'perKg'?: number;
|
|
1475
|
-
/**
|
|
1476
|
-
* maxKg
|
|
1477
|
-
* @type {number}
|
|
1478
|
-
* @memberof CourierPriceEntity
|
|
1479
|
-
*/
|
|
1480
|
-
'maxKg'?: number;
|
|
1481
|
-
}
|
|
1482
1128
|
/**
|
|
1483
1129
|
* Credit Account
|
|
1484
1130
|
* @export
|
|
@@ -1711,131 +1357,21 @@ export interface CustomerInformationModel {
|
|
|
1711
1357
|
'contactLastName'?: string;
|
|
1712
1358
|
}
|
|
1713
1359
|
/**
|
|
1714
|
-
*
|
|
1360
|
+
* Customer Price List
|
|
1715
1361
|
* @export
|
|
1716
|
-
* @interface
|
|
1362
|
+
* @interface CustomerPriceListEnum
|
|
1717
1363
|
*/
|
|
1718
|
-
export interface
|
|
1719
|
-
/**
|
|
1720
|
-
* SKU
|
|
1721
|
-
* @type {string}
|
|
1722
|
-
* @memberof CustomerItemRequestDTO
|
|
1723
|
-
*/
|
|
1724
|
-
'sku'?: string;
|
|
1725
|
-
/**
|
|
1726
|
-
* Quantity
|
|
1727
|
-
* @type {number}
|
|
1728
|
-
* @memberof CustomerItemRequestDTO
|
|
1729
|
-
*/
|
|
1730
|
-
'quantity'?: number;
|
|
1364
|
+
export interface CustomerPriceListEnum {
|
|
1731
1365
|
/**
|
|
1732
|
-
* ID
|
|
1366
|
+
* Price List ID
|
|
1733
1367
|
* @type {number}
|
|
1734
|
-
* @memberof
|
|
1368
|
+
* @memberof CustomerPriceListEnum
|
|
1735
1369
|
*/
|
|
1736
|
-
'id'?: number
|
|
1370
|
+
'id'?: number;
|
|
1737
1371
|
/**
|
|
1738
|
-
*
|
|
1372
|
+
* Price List Name
|
|
1739
1373
|
* @type {string}
|
|
1740
|
-
* @memberof
|
|
1741
|
-
*/
|
|
1742
|
-
'licenceKey'?: string | null;
|
|
1743
|
-
/**
|
|
1744
|
-
* 3CX Hosting
|
|
1745
|
-
* @type {boolean}
|
|
1746
|
-
* @memberof CustomerItemRequestDTO
|
|
1747
|
-
*/
|
|
1748
|
-
'hosting'?: boolean | null;
|
|
1749
|
-
/**
|
|
1750
|
-
* Date Time
|
|
1751
|
-
* @type {string}
|
|
1752
|
-
* @memberof CustomerItemRequestDTO
|
|
1753
|
-
*/
|
|
1754
|
-
'processDate'?: string;
|
|
1755
|
-
/**
|
|
1756
|
-
* 3CX Sales Code
|
|
1757
|
-
* @type {string}
|
|
1758
|
-
* @memberof CustomerItemRequestDTO
|
|
1759
|
-
*/
|
|
1760
|
-
'tcxSalesCode'?: string | null;
|
|
1761
|
-
/**
|
|
1762
|
-
* SBCS
|
|
1763
|
-
* @type {Array<TcxSbcDTO>}
|
|
1764
|
-
* @memberof CustomerItemRequestDTO
|
|
1765
|
-
*/
|
|
1766
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
1767
|
-
/**
|
|
1768
|
-
* Read Only (Cannot be edited)
|
|
1769
|
-
* @type {boolean}
|
|
1770
|
-
* @memberof CustomerItemRequestDTO
|
|
1771
|
-
*/
|
|
1772
|
-
'readOnly'?: boolean;
|
|
1773
|
-
}
|
|
1774
|
-
/**
|
|
1775
|
-
* Order Request
|
|
1776
|
-
* @export
|
|
1777
|
-
* @interface CustomerOrderRequestDTO
|
|
1778
|
-
*/
|
|
1779
|
-
export interface CustomerOrderRequestDTO {
|
|
1780
|
-
/**
|
|
1781
|
-
* Order Reference
|
|
1782
|
-
* @type {string}
|
|
1783
|
-
* @memberof CustomerOrderRequestDTO
|
|
1784
|
-
*/
|
|
1785
|
-
'orderReference'?: string | null;
|
|
1786
|
-
/**
|
|
1787
|
-
* Items
|
|
1788
|
-
* @type {Array<CustomerItemRequestDTO>}
|
|
1789
|
-
* @memberof CustomerOrderRequestDTO
|
|
1790
|
-
*/
|
|
1791
|
-
'items'?: Array<CustomerItemRequestDTO>;
|
|
1792
|
-
/**
|
|
1793
|
-
*
|
|
1794
|
-
* @type {ShippingServiceDTO}
|
|
1795
|
-
* @memberof CustomerOrderRequestDTO
|
|
1796
|
-
*/
|
|
1797
|
-
'shippingService'?: ShippingServiceDTO;
|
|
1798
|
-
/**
|
|
1799
|
-
* Provisioning URL
|
|
1800
|
-
* @type {string}
|
|
1801
|
-
* @memberof CustomerOrderRequestDTO
|
|
1802
|
-
*/
|
|
1803
|
-
'provisioningUrl'?: string | null;
|
|
1804
|
-
/**
|
|
1805
|
-
*
|
|
1806
|
-
* @type {AddressModel}
|
|
1807
|
-
* @memberof CustomerOrderRequestDTO
|
|
1808
|
-
*/
|
|
1809
|
-
'shippingAddress'?: AddressModel;
|
|
1810
|
-
/**
|
|
1811
|
-
* Part Ship Order
|
|
1812
|
-
* @type {boolean}
|
|
1813
|
-
* @memberof CustomerOrderRequestDTO
|
|
1814
|
-
*/
|
|
1815
|
-
'partShip'?: boolean;
|
|
1816
|
-
/**
|
|
1817
|
-
* Quote
|
|
1818
|
-
* @type {boolean}
|
|
1819
|
-
* @memberof CustomerOrderRequestDTO
|
|
1820
|
-
*/
|
|
1821
|
-
'quote'?: boolean;
|
|
1822
|
-
}
|
|
1823
|
-
/**
|
|
1824
|
-
* Customer Price List
|
|
1825
|
-
* @export
|
|
1826
|
-
* @interface CustomerPriceListEnum
|
|
1827
|
-
*/
|
|
1828
|
-
export interface CustomerPriceListEnum {
|
|
1829
|
-
/**
|
|
1830
|
-
* Price List ID
|
|
1831
|
-
* @type {number}
|
|
1832
|
-
* @memberof CustomerPriceListEnum
|
|
1833
|
-
*/
|
|
1834
|
-
'id'?: number;
|
|
1835
|
-
/**
|
|
1836
|
-
* Price List Name
|
|
1837
|
-
* @type {string}
|
|
1838
|
-
* @memberof CustomerPriceListEnum
|
|
1374
|
+
* @memberof CustomerPriceListEnum
|
|
1839
1375
|
*/
|
|
1840
1376
|
'name'?: string;
|
|
1841
1377
|
}
|
|
@@ -1920,134 +1456,6 @@ export interface DdiRangesRequestModel {
|
|
|
1920
1456
|
*/
|
|
1921
1457
|
'ranges'?: Array<DdiRangeRequestModel>;
|
|
1922
1458
|
}
|
|
1923
|
-
/**
|
|
1924
|
-
* Detailed Order Item Request
|
|
1925
|
-
* @export
|
|
1926
|
-
* @interface DetailedItemRequestDTO
|
|
1927
|
-
*/
|
|
1928
|
-
export interface DetailedItemRequestDTO {
|
|
1929
|
-
/**
|
|
1930
|
-
* SKU
|
|
1931
|
-
* @type {string}
|
|
1932
|
-
* @memberof DetailedItemRequestDTO
|
|
1933
|
-
*/
|
|
1934
|
-
'sku'?: string;
|
|
1935
|
-
/**
|
|
1936
|
-
* Quantity
|
|
1937
|
-
* @type {number}
|
|
1938
|
-
* @memberof DetailedItemRequestDTO
|
|
1939
|
-
*/
|
|
1940
|
-
'quantity'?: number;
|
|
1941
|
-
/**
|
|
1942
|
-
* ID
|
|
1943
|
-
* @type {number}
|
|
1944
|
-
* @memberof DetailedItemRequestDTO
|
|
1945
|
-
*/
|
|
1946
|
-
'id'?: number | null;
|
|
1947
|
-
/**
|
|
1948
|
-
* 3CX Licence Key
|
|
1949
|
-
* @type {string}
|
|
1950
|
-
* @memberof DetailedItemRequestDTO
|
|
1951
|
-
*/
|
|
1952
|
-
'licenceKey'?: string | null;
|
|
1953
|
-
/**
|
|
1954
|
-
* 3CX Hosting
|
|
1955
|
-
* @type {boolean}
|
|
1956
|
-
* @memberof DetailedItemRequestDTO
|
|
1957
|
-
*/
|
|
1958
|
-
'hosting'?: boolean | null;
|
|
1959
|
-
/**
|
|
1960
|
-
* Date Time
|
|
1961
|
-
* @type {string}
|
|
1962
|
-
* @memberof DetailedItemRequestDTO
|
|
1963
|
-
*/
|
|
1964
|
-
'processDate'?: string;
|
|
1965
|
-
/**
|
|
1966
|
-
* 3CX Sales Code
|
|
1967
|
-
* @type {string}
|
|
1968
|
-
* @memberof DetailedItemRequestDTO
|
|
1969
|
-
*/
|
|
1970
|
-
'tcxSalesCode'?: string | null;
|
|
1971
|
-
/**
|
|
1972
|
-
* SBCS
|
|
1973
|
-
* @type {Array<TcxSbcDTO>}
|
|
1974
|
-
* @memberof DetailedItemRequestDTO
|
|
1975
|
-
*/
|
|
1976
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
1977
|
-
/**
|
|
1978
|
-
* Read Only (Cannot be edited)
|
|
1979
|
-
* @type {boolean}
|
|
1980
|
-
* @memberof DetailedItemRequestDTO
|
|
1981
|
-
*/
|
|
1982
|
-
'readOnly'?: boolean;
|
|
1983
|
-
/**
|
|
1984
|
-
* Title
|
|
1985
|
-
* @type {string}
|
|
1986
|
-
* @memberof DetailedItemRequestDTO
|
|
1987
|
-
*/
|
|
1988
|
-
'title'?: string | null;
|
|
1989
|
-
/**
|
|
1990
|
-
* Price (£)
|
|
1991
|
-
* @type {number}
|
|
1992
|
-
* @memberof DetailedItemRequestDTO
|
|
1993
|
-
*/
|
|
1994
|
-
'itemPrice'?: number | null;
|
|
1995
|
-
/**
|
|
1996
|
-
* Additional Discount
|
|
1997
|
-
* @type {number}
|
|
1998
|
-
* @memberof DetailedItemRequestDTO
|
|
1999
|
-
*/
|
|
2000
|
-
'additionalDiscount'?: number | null;
|
|
2001
|
-
}
|
|
2002
|
-
/**
|
|
2003
|
-
* Detailed Order Request
|
|
2004
|
-
* @export
|
|
2005
|
-
* @interface DetailedOrderRequestDTO
|
|
2006
|
-
*/
|
|
2007
|
-
export interface DetailedOrderRequestDTO {
|
|
2008
|
-
/**
|
|
2009
|
-
* Order Reference
|
|
2010
|
-
* @type {string}
|
|
2011
|
-
* @memberof DetailedOrderRequestDTO
|
|
2012
|
-
*/
|
|
2013
|
-
'orderReference'?: string | null;
|
|
2014
|
-
/**
|
|
2015
|
-
* Items
|
|
2016
|
-
* @type {Array<DetailedItemRequestDTO>}
|
|
2017
|
-
* @memberof DetailedOrderRequestDTO
|
|
2018
|
-
*/
|
|
2019
|
-
'items'?: Array<DetailedItemRequestDTO>;
|
|
2020
|
-
/**
|
|
2021
|
-
*
|
|
2022
|
-
* @type {ShippingServiceDTO}
|
|
2023
|
-
* @memberof DetailedOrderRequestDTO
|
|
2024
|
-
*/
|
|
2025
|
-
'shippingService'?: ShippingServiceDTO;
|
|
2026
|
-
/**
|
|
2027
|
-
* Provisioning URL
|
|
2028
|
-
* @type {string}
|
|
2029
|
-
* @memberof DetailedOrderRequestDTO
|
|
2030
|
-
*/
|
|
2031
|
-
'provisioningUrl'?: string | null;
|
|
2032
|
-
/**
|
|
2033
|
-
*
|
|
2034
|
-
* @type {AddressModel}
|
|
2035
|
-
* @memberof DetailedOrderRequestDTO
|
|
2036
|
-
*/
|
|
2037
|
-
'shippingAddress'?: AddressModel;
|
|
2038
|
-
/**
|
|
2039
|
-
* Part Ship Order
|
|
2040
|
-
* @type {boolean}
|
|
2041
|
-
* @memberof DetailedOrderRequestDTO
|
|
2042
|
-
*/
|
|
2043
|
-
'partShip'?: boolean;
|
|
2044
|
-
/**
|
|
2045
|
-
* Quote
|
|
2046
|
-
* @type {boolean}
|
|
2047
|
-
* @memberof DetailedOrderRequestDTO
|
|
2048
|
-
*/
|
|
2049
|
-
'quote'?: boolean;
|
|
2050
|
-
}
|
|
2051
1459
|
/**
|
|
2052
1460
|
* Divert Request
|
|
2053
1461
|
* @export
|
|
@@ -2457,6 +1865,19 @@ export interface GenericFileModel {
|
|
|
2457
1865
|
*/
|
|
2458
1866
|
'type'?: string;
|
|
2459
1867
|
}
|
|
1868
|
+
/**
|
|
1869
|
+
*
|
|
1870
|
+
* @export
|
|
1871
|
+
* @interface GetGetPasswordHash200Response
|
|
1872
|
+
*/
|
|
1873
|
+
export interface GetGetPasswordHash200Response {
|
|
1874
|
+
/**
|
|
1875
|
+
*
|
|
1876
|
+
* @type {string}
|
|
1877
|
+
* @memberof GetGetPasswordHash200Response
|
|
1878
|
+
*/
|
|
1879
|
+
'hash'?: string;
|
|
1880
|
+
}
|
|
2460
1881
|
/**
|
|
2461
1882
|
*
|
|
2462
1883
|
* @export
|
|
@@ -3057,36 +2478,36 @@ export interface InstanceUserCredentialsEntity {
|
|
|
3057
2478
|
* @interface ItemDTO
|
|
3058
2479
|
*/
|
|
3059
2480
|
export interface ItemDTO {
|
|
3060
|
-
/**
|
|
3061
|
-
* SKU
|
|
3062
|
-
* @type {string}
|
|
3063
|
-
* @memberof ItemDTO
|
|
3064
|
-
*/
|
|
3065
|
-
'sku'?: string;
|
|
3066
|
-
/**
|
|
3067
|
-
* Quantity
|
|
3068
|
-
* @type {number}
|
|
3069
|
-
* @memberof ItemDTO
|
|
3070
|
-
*/
|
|
3071
|
-
'quantity'?: number;
|
|
3072
2481
|
/**
|
|
3073
2482
|
* ID
|
|
3074
2483
|
* @type {number}
|
|
3075
2484
|
* @memberof ItemDTO
|
|
3076
2485
|
*/
|
|
3077
|
-
'id'?: number
|
|
2486
|
+
'id'?: number;
|
|
3078
2487
|
/**
|
|
3079
2488
|
* Order ID
|
|
3080
2489
|
* @type {number}
|
|
3081
2490
|
* @memberof ItemDTO
|
|
3082
2491
|
*/
|
|
3083
|
-
'orderId'?: number
|
|
2492
|
+
'orderId'?: number;
|
|
3084
2493
|
/**
|
|
3085
2494
|
* Title
|
|
3086
2495
|
* @type {string}
|
|
3087
2496
|
* @memberof ItemDTO
|
|
3088
2497
|
*/
|
|
3089
2498
|
'title'?: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* SKU
|
|
2501
|
+
* @type {string}
|
|
2502
|
+
* @memberof ItemDTO
|
|
2503
|
+
*/
|
|
2504
|
+
'sku'?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* Quantity
|
|
2507
|
+
* @type {number}
|
|
2508
|
+
* @memberof ItemDTO
|
|
2509
|
+
*/
|
|
2510
|
+
'quantity'?: number;
|
|
3090
2511
|
/**
|
|
3091
2512
|
* Price
|
|
3092
2513
|
* @type {number}
|
|
@@ -3111,12 +2532,6 @@ export interface ItemDTO {
|
|
|
3111
2532
|
* @memberof ItemDTO
|
|
3112
2533
|
*/
|
|
3113
2534
|
'processDate'?: string;
|
|
3114
|
-
/**
|
|
3115
|
-
* 3CX Hosting
|
|
3116
|
-
* @type {boolean}
|
|
3117
|
-
* @memberof ItemDTO
|
|
3118
|
-
*/
|
|
3119
|
-
'hosting'?: boolean | null;
|
|
3120
2535
|
/**
|
|
3121
2536
|
* Promo Item
|
|
3122
2537
|
* @type {boolean}
|
|
@@ -3128,84 +2543,8 @@ export interface ItemDTO {
|
|
|
3128
2543
|
* @type {number}
|
|
3129
2544
|
* @memberof ItemDTO
|
|
3130
2545
|
*/
|
|
3131
|
-
'refunded'?: number
|
|
3132
|
-
/**
|
|
3133
|
-
* SBCs
|
|
3134
|
-
* @type {Array<TcxSbcDTO>}
|
|
3135
|
-
* @memberof ItemDTO
|
|
3136
|
-
*/
|
|
3137
|
-
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3138
|
-
/**
|
|
3139
|
-
* Readonly
|
|
3140
|
-
* @type {boolean}
|
|
3141
|
-
* @memberof ItemDTO
|
|
3142
|
-
*/
|
|
3143
|
-
'readonly'?: boolean;
|
|
3144
|
-
/**
|
|
3145
|
-
* 3CX Sales Code
|
|
3146
|
-
* @type {string}
|
|
3147
|
-
* @memberof ItemDTO
|
|
3148
|
-
*/
|
|
3149
|
-
'tcxSalesCode'?: string | null;
|
|
3150
|
-
}
|
|
3151
|
-
/**
|
|
3152
|
-
* ItemDiscountsEntity
|
|
3153
|
-
* @export
|
|
3154
|
-
* @interface ItemDiscountEntity
|
|
3155
|
-
*/
|
|
3156
|
-
export interface ItemDiscountEntity {
|
|
3157
|
-
/**
|
|
3158
|
-
* id
|
|
3159
|
-
* @type {number}
|
|
3160
|
-
* @memberof ItemDiscountEntity
|
|
3161
|
-
*/
|
|
3162
|
-
'id'?: number;
|
|
3163
|
-
/**
|
|
3164
|
-
* itemId
|
|
3165
|
-
* @type {number}
|
|
3166
|
-
* @memberof ItemDiscountEntity
|
|
3167
|
-
*/
|
|
3168
|
-
'itemId'?: number;
|
|
3169
|
-
/**
|
|
3170
|
-
* priceList
|
|
3171
|
-
* @type {string}
|
|
3172
|
-
* @memberof ItemDiscountEntity
|
|
3173
|
-
*/
|
|
3174
|
-
'priceList'?: string;
|
|
3175
|
-
/**
|
|
3176
|
-
* discount
|
|
3177
|
-
* @type {number}
|
|
3178
|
-
* @memberof ItemDiscountEntity
|
|
3179
|
-
*/
|
|
3180
|
-
'discount'?: number;
|
|
3181
|
-
/**
|
|
3182
|
-
* type
|
|
3183
|
-
* @type {string}
|
|
3184
|
-
* @memberof ItemDiscountEntity
|
|
3185
|
-
*/
|
|
3186
|
-
'type'?: ItemDiscountEntityTypeEnum | null;
|
|
3187
|
-
/**
|
|
3188
|
-
* description
|
|
3189
|
-
* @type {string}
|
|
3190
|
-
* @memberof ItemDiscountEntity
|
|
3191
|
-
*/
|
|
3192
|
-
'description'?: string;
|
|
3193
|
-
/**
|
|
3194
|
-
* priority
|
|
3195
|
-
* @type {number}
|
|
3196
|
-
* @memberof ItemDiscountEntity
|
|
3197
|
-
*/
|
|
3198
|
-
'priority'?: number;
|
|
2546
|
+
'refunded'?: number;
|
|
3199
2547
|
}
|
|
3200
|
-
|
|
3201
|
-
export const ItemDiscountEntityTypeEnum = {
|
|
3202
|
-
TcxPhones: 'TCX_PHONES',
|
|
3203
|
-
PhoneBulk: 'PHONE_BULK',
|
|
3204
|
-
Additional: 'ADDITIONAL'
|
|
3205
|
-
} as const;
|
|
3206
|
-
|
|
3207
|
-
export type ItemDiscountEntityTypeEnum = typeof ItemDiscountEntityTypeEnum[keyof typeof ItemDiscountEntityTypeEnum];
|
|
3208
|
-
|
|
3209
2548
|
/**
|
|
3210
2549
|
* ItemsEntity
|
|
3211
2550
|
* @export
|
|
@@ -3313,7 +2652,7 @@ export interface ItemEntity {
|
|
|
3313
2652
|
* @type {string}
|
|
3314
2653
|
* @memberof ItemEntity
|
|
3315
2654
|
*/
|
|
3316
|
-
'
|
|
2655
|
+
'licencekey'?: string;
|
|
3317
2656
|
/**
|
|
3318
2657
|
* addHosting
|
|
3319
2658
|
* @type {number}
|
|
@@ -3338,31 +2677,6 @@ export interface ItemEntity {
|
|
|
3338
2677
|
* @memberof ItemEntity
|
|
3339
2678
|
*/
|
|
3340
2679
|
'promoItem'?: number;
|
|
3341
|
-
/**
|
|
3342
|
-
* 3CX Sales Code
|
|
3343
|
-
* @type {string}
|
|
3344
|
-
* @memberof ItemEntity
|
|
3345
|
-
*/
|
|
3346
|
-
'tcxSalesCode'?: string | null;
|
|
3347
|
-
}
|
|
3348
|
-
/**
|
|
3349
|
-
* LinkedOrdersEntity
|
|
3350
|
-
* @export
|
|
3351
|
-
* @interface LinkedOrderEntity
|
|
3352
|
-
*/
|
|
3353
|
-
export interface LinkedOrderEntity {
|
|
3354
|
-
/**
|
|
3355
|
-
* orderId
|
|
3356
|
-
* @type {number}
|
|
3357
|
-
* @memberof LinkedOrderEntity
|
|
3358
|
-
*/
|
|
3359
|
-
'orderId'?: number;
|
|
3360
|
-
/**
|
|
3361
|
-
* linkedOrderId
|
|
3362
|
-
* @type {number}
|
|
3363
|
-
* @memberof LinkedOrderEntity
|
|
3364
|
-
*/
|
|
3365
|
-
'linkedOrderId'?: number;
|
|
3366
2680
|
}
|
|
3367
2681
|
/**
|
|
3368
2682
|
* MFA Required
|
|
@@ -4023,19 +3337,13 @@ export interface OrderSummaryDTO {
|
|
|
4023
3337
|
* @type {string}
|
|
4024
3338
|
* @memberof OrderSummaryDTO
|
|
4025
3339
|
*/
|
|
4026
|
-
'reference'?: string
|
|
3340
|
+
'reference'?: string;
|
|
4027
3341
|
/**
|
|
4028
3342
|
* Invoice Number
|
|
4029
3343
|
* @type {string}
|
|
4030
3344
|
* @memberof OrderSummaryDTO
|
|
4031
3345
|
*/
|
|
4032
3346
|
'invoiceNumber'?: string;
|
|
4033
|
-
/**
|
|
4034
|
-
* Invoice ID
|
|
4035
|
-
* @type {string}
|
|
4036
|
-
* @memberof OrderSummaryDTO
|
|
4037
|
-
*/
|
|
4038
|
-
'invoiceId'?: string | null;
|
|
4039
3347
|
/**
|
|
4040
3348
|
* Date Time
|
|
4041
3349
|
* @type {string}
|
|
@@ -4090,24 +3398,6 @@ export interface OrderSummaryDTO {
|
|
|
4090
3398
|
* @memberof OrderSummaryDTO
|
|
4091
3399
|
*/
|
|
4092
3400
|
'fulfillable'?: boolean | null;
|
|
4093
|
-
/**
|
|
4094
|
-
* Provisioning URL
|
|
4095
|
-
* @type {string}
|
|
4096
|
-
* @memberof OrderSummaryDTO
|
|
4097
|
-
*/
|
|
4098
|
-
'provisioningUrl'?: string | null;
|
|
4099
|
-
/**
|
|
4100
|
-
*
|
|
4101
|
-
* @type {ShippingServiceDTO}
|
|
4102
|
-
* @memberof OrderSummaryDTO
|
|
4103
|
-
*/
|
|
4104
|
-
'shippingService'?: ShippingServiceDTO | null;
|
|
4105
|
-
/**
|
|
4106
|
-
* Readonly
|
|
4107
|
-
* @type {boolean}
|
|
4108
|
-
* @memberof OrderSummaryDTO
|
|
4109
|
-
*/
|
|
4110
|
-
'readonly'?: boolean;
|
|
4111
3401
|
}
|
|
4112
3402
|
/**
|
|
4113
3403
|
* Order Totals
|
|
@@ -4157,12 +3447,6 @@ export interface OrderTotalModel {
|
|
|
4157
3447
|
* @memberof OrderTotalModel
|
|
4158
3448
|
*/
|
|
4159
3449
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
4160
|
-
/**
|
|
4161
|
-
* Delivery
|
|
4162
|
-
* @type {number}
|
|
4163
|
-
* @memberof OrderTotalModel
|
|
4164
|
-
*/
|
|
4165
|
-
'delivery'?: number | null;
|
|
4166
3450
|
}
|
|
4167
3451
|
|
|
4168
3452
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -4544,31 +3828,6 @@ export interface PostGetClientCredentialsRequest {
|
|
|
4544
3828
|
*/
|
|
4545
3829
|
'scopes'?: Array<string>;
|
|
4546
3830
|
}
|
|
4547
|
-
/**
|
|
4548
|
-
*
|
|
4549
|
-
* @export
|
|
4550
|
-
* @interface PostGetProductForCustomerRequest
|
|
4551
|
-
*/
|
|
4552
|
-
export interface PostGetProductForCustomerRequest {
|
|
4553
|
-
/**
|
|
4554
|
-
* Quantity
|
|
4555
|
-
* @type {number}
|
|
4556
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4557
|
-
*/
|
|
4558
|
-
'quantity'?: number | null;
|
|
4559
|
-
/**
|
|
4560
|
-
* 3CX Licence Key
|
|
4561
|
-
* @type {string}
|
|
4562
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4563
|
-
*/
|
|
4564
|
-
'licenceKey'?: string | null;
|
|
4565
|
-
/**
|
|
4566
|
-
* 3CX Hosting
|
|
4567
|
-
* @type {boolean}
|
|
4568
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4569
|
-
*/
|
|
4570
|
-
'hosting'?: boolean | null;
|
|
4571
|
-
}
|
|
4572
3831
|
/**
|
|
4573
3832
|
* Price & Stock List
|
|
4574
3833
|
* @export
|
|
@@ -4700,10 +3959,10 @@ export interface ProductPriceListItemModel {
|
|
|
4700
3959
|
export interface ProductSearchResultsModel {
|
|
4701
3960
|
/**
|
|
4702
3961
|
* Results
|
|
4703
|
-
* @type {Array<
|
|
3962
|
+
* @type {Array<ProductSummaryModel>}
|
|
4704
3963
|
* @memberof ProductSearchResultsModel
|
|
4705
3964
|
*/
|
|
4706
|
-
'results'?: Array<
|
|
3965
|
+
'results'?: Array<ProductSummaryModel>;
|
|
4707
3966
|
}
|
|
4708
3967
|
/**
|
|
4709
3968
|
* Product Serial Info
|
|
@@ -4739,57 +3998,45 @@ export interface ProductSerialInfoModel {
|
|
|
4739
3998
|
/**
|
|
4740
3999
|
* Product Summary
|
|
4741
4000
|
* @export
|
|
4742
|
-
* @interface
|
|
4001
|
+
* @interface ProductSummaryModel
|
|
4743
4002
|
*/
|
|
4744
|
-
export interface
|
|
4003
|
+
export interface ProductSummaryModel {
|
|
4745
4004
|
/**
|
|
4746
4005
|
* SKU
|
|
4747
4006
|
* @type {string}
|
|
4748
|
-
* @memberof
|
|
4007
|
+
* @memberof ProductSummaryModel
|
|
4749
4008
|
*/
|
|
4750
4009
|
'sku'?: string;
|
|
4751
4010
|
/**
|
|
4752
4011
|
* Title
|
|
4753
4012
|
* @type {string}
|
|
4754
|
-
* @memberof
|
|
4013
|
+
* @memberof ProductSummaryModel
|
|
4755
4014
|
*/
|
|
4756
4015
|
'title'?: string;
|
|
4757
4016
|
/**
|
|
4758
4017
|
* Stock Quantity
|
|
4759
4018
|
* @type {number}
|
|
4760
|
-
* @memberof
|
|
4019
|
+
* @memberof ProductSummaryModel
|
|
4761
4020
|
*/
|
|
4762
4021
|
'quantity'?: number | null;
|
|
4763
4022
|
/**
|
|
4764
4023
|
* Stock Product
|
|
4765
4024
|
* @type {boolean}
|
|
4766
|
-
* @memberof
|
|
4025
|
+
* @memberof ProductSummaryModel
|
|
4767
4026
|
*/
|
|
4768
4027
|
'stockProduct'?: boolean;
|
|
4769
4028
|
/**
|
|
4770
4029
|
* Price
|
|
4771
4030
|
* @type {number}
|
|
4772
|
-
* @memberof
|
|
4031
|
+
* @memberof ProductSummaryModel
|
|
4773
4032
|
*/
|
|
4774
4033
|
'price'?: number | null;
|
|
4775
4034
|
/**
|
|
4776
4035
|
* Carton Size
|
|
4777
4036
|
* @type {number}
|
|
4778
|
-
* @memberof
|
|
4037
|
+
* @memberof ProductSummaryModel
|
|
4779
4038
|
*/
|
|
4780
4039
|
'cartonSize'?: number | null;
|
|
4781
|
-
/**
|
|
4782
|
-
* RRP Price
|
|
4783
|
-
* @type {number}
|
|
4784
|
-
* @memberof ProductSummaryDTO
|
|
4785
|
-
*/
|
|
4786
|
-
'rrp'?: number | null;
|
|
4787
|
-
/**
|
|
4788
|
-
*
|
|
4789
|
-
* @type {TcxLicenceDetailsModel}
|
|
4790
|
-
* @memberof ProductSummaryDTO
|
|
4791
|
-
*/
|
|
4792
|
-
'licenceDetails'?: TcxLicenceDetailsModel | null;
|
|
4793
4040
|
}
|
|
4794
4041
|
/**
|
|
4795
4042
|
* PromoCodesEntity
|
|
@@ -4928,37 +4175,37 @@ export interface PromoItemsEntity {
|
|
|
4928
4175
|
/**
|
|
4929
4176
|
* Provisioning Group
|
|
4930
4177
|
* @export
|
|
4931
|
-
* @interface
|
|
4178
|
+
* @interface ProvisioningEntity
|
|
4932
4179
|
*/
|
|
4933
|
-
export interface
|
|
4180
|
+
export interface ProvisioningEntity {
|
|
4934
4181
|
/**
|
|
4935
4182
|
* Provisioning Group Name
|
|
4936
4183
|
* @type {string}
|
|
4937
|
-
* @memberof
|
|
4184
|
+
* @memberof ProvisioningEntity
|
|
4938
4185
|
*/
|
|
4939
4186
|
'groupName'?: string;
|
|
4940
4187
|
/**
|
|
4941
4188
|
* Provisioning URL (Static Provisioning Server)
|
|
4942
4189
|
* @type {string}
|
|
4943
|
-
* @memberof
|
|
4190
|
+
* @memberof ProvisioningEntity
|
|
4944
4191
|
*/
|
|
4945
4192
|
'provisioningUrl'?: string;
|
|
4946
4193
|
/**
|
|
4947
4194
|
* Additional Authentication Secret
|
|
4948
4195
|
* @type {string}
|
|
4949
|
-
* @memberof
|
|
4196
|
+
* @memberof ProvisioningEntity
|
|
4950
4197
|
*/
|
|
4951
4198
|
'auth'?: string;
|
|
4952
4199
|
/**
|
|
4953
4200
|
* Provisioning Group ID
|
|
4954
4201
|
* @type {number}
|
|
4955
|
-
* @memberof
|
|
4202
|
+
* @memberof ProvisioningEntity
|
|
4956
4203
|
*/
|
|
4957
4204
|
'id'?: number;
|
|
4958
4205
|
/**
|
|
4959
4206
|
* Owner ID
|
|
4960
4207
|
* @type {number}
|
|
4961
|
-
* @memberof
|
|
4208
|
+
* @memberof ProvisioningEntity
|
|
4962
4209
|
*/
|
|
4963
4210
|
'customerId'?: number;
|
|
4964
4211
|
}
|
|
@@ -5312,7 +4559,7 @@ export interface ShipmentEntity {
|
|
|
5312
4559
|
* @type {string}
|
|
5313
4560
|
* @memberof ShipmentEntity
|
|
5314
4561
|
*/
|
|
5315
|
-
'
|
|
4562
|
+
'date'?: string;
|
|
5316
4563
|
/**
|
|
5317
4564
|
* requestDate
|
|
5318
4565
|
* @type {string}
|
|
@@ -5363,155 +4610,6 @@ export interface ShipmentItemEntity {
|
|
|
5363
4610
|
*/
|
|
5364
4611
|
'itemId'?: string;
|
|
5365
4612
|
}
|
|
5366
|
-
/**
|
|
5367
|
-
*
|
|
5368
|
-
* @export
|
|
5369
|
-
* @interface ShippingConsignmentModel
|
|
5370
|
-
*/
|
|
5371
|
-
export interface ShippingConsignmentModel {
|
|
5372
|
-
/**
|
|
5373
|
-
*
|
|
5374
|
-
* @type {ShippingServiceModel}
|
|
5375
|
-
* @memberof ShippingConsignmentModel
|
|
5376
|
-
*/
|
|
5377
|
-
'service'?: ShippingServiceModel;
|
|
5378
|
-
/**
|
|
5379
|
-
* ID/Number
|
|
5380
|
-
* @type {string}
|
|
5381
|
-
* @memberof ShippingConsignmentModel
|
|
5382
|
-
*/
|
|
5383
|
-
'id'?: string;
|
|
5384
|
-
/**
|
|
5385
|
-
* Tracking Number
|
|
5386
|
-
* @type {string}
|
|
5387
|
-
* @memberof ShippingConsignmentModel
|
|
5388
|
-
*/
|
|
5389
|
-
'trackingNumber'?: string;
|
|
5390
|
-
/**
|
|
5391
|
-
* Parcels
|
|
5392
|
-
* @type {Array<string>}
|
|
5393
|
-
* @memberof ShippingConsignmentModel
|
|
5394
|
-
*/
|
|
5395
|
-
'parcelIds'?: Array<string>;
|
|
5396
|
-
}
|
|
5397
|
-
/**
|
|
5398
|
-
* Shipping Information
|
|
5399
|
-
* @export
|
|
5400
|
-
* @interface ShippingInformationDTO
|
|
5401
|
-
*/
|
|
5402
|
-
export interface ShippingInformationDTO {
|
|
5403
|
-
/**
|
|
5404
|
-
* Items
|
|
5405
|
-
* @type {Array<BasicItemDTO>}
|
|
5406
|
-
* @memberof ShippingInformationDTO
|
|
5407
|
-
*/
|
|
5408
|
-
'items'?: Array<BasicItemDTO>;
|
|
5409
|
-
/**
|
|
5410
|
-
* Destination Post Code
|
|
5411
|
-
* @type {string}
|
|
5412
|
-
* @memberof ShippingInformationDTO
|
|
5413
|
-
*/
|
|
5414
|
-
'postalCode'?: string;
|
|
5415
|
-
/**
|
|
5416
|
-
* Destination ISO
|
|
5417
|
-
* @type {string}
|
|
5418
|
-
* @memberof ShippingInformationDTO
|
|
5419
|
-
*/
|
|
5420
|
-
'iso'?: string;
|
|
5421
|
-
}
|
|
5422
|
-
/**
|
|
5423
|
-
* Shipping Service
|
|
5424
|
-
* @export
|
|
5425
|
-
* @interface ShippingServiceDTO
|
|
5426
|
-
*/
|
|
5427
|
-
export interface ShippingServiceDTO {
|
|
5428
|
-
/**
|
|
5429
|
-
* Courier
|
|
5430
|
-
* @type {string}
|
|
5431
|
-
* @memberof ShippingServiceDTO
|
|
5432
|
-
*/
|
|
5433
|
-
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5434
|
-
/**
|
|
5435
|
-
* Service Name
|
|
5436
|
-
* @type {string}
|
|
5437
|
-
* @memberof ShippingServiceDTO
|
|
5438
|
-
*/
|
|
5439
|
-
'serviceName'?: string;
|
|
5440
|
-
}
|
|
5441
|
-
|
|
5442
|
-
export const ShippingServiceDTOCourierEnum = {
|
|
5443
|
-
Dpd: 'DPD',
|
|
5444
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5445
|
-
Pops: 'POPS'
|
|
5446
|
-
} as const;
|
|
5447
|
-
|
|
5448
|
-
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5449
|
-
|
|
5450
|
-
/**
|
|
5451
|
-
* Shipping Service
|
|
5452
|
-
* @export
|
|
5453
|
-
* @interface ShippingServiceModel
|
|
5454
|
-
*/
|
|
5455
|
-
export interface ShippingServiceModel {
|
|
5456
|
-
/**
|
|
5457
|
-
* Courier
|
|
5458
|
-
* @type {string}
|
|
5459
|
-
* @memberof ShippingServiceModel
|
|
5460
|
-
*/
|
|
5461
|
-
'courier'?: ShippingServiceModelCourierEnum;
|
|
5462
|
-
/**
|
|
5463
|
-
* Code
|
|
5464
|
-
* @type {string}
|
|
5465
|
-
* @memberof ShippingServiceModel
|
|
5466
|
-
*/
|
|
5467
|
-
'code'?: string;
|
|
5468
|
-
/**
|
|
5469
|
-
* Name
|
|
5470
|
-
* @type {string}
|
|
5471
|
-
* @memberof ShippingServiceModel
|
|
5472
|
-
*/
|
|
5473
|
-
'name'?: string;
|
|
5474
|
-
/**
|
|
5475
|
-
* Description
|
|
5476
|
-
* @type {string}
|
|
5477
|
-
* @memberof ShippingServiceModel
|
|
5478
|
-
*/
|
|
5479
|
-
'description'?: string;
|
|
5480
|
-
/**
|
|
5481
|
-
* Label
|
|
5482
|
-
* @type {string}
|
|
5483
|
-
* @memberof ShippingServiceModel
|
|
5484
|
-
*/
|
|
5485
|
-
'label'?: string | null;
|
|
5486
|
-
/**
|
|
5487
|
-
* Price
|
|
5488
|
-
* @type {number}
|
|
5489
|
-
* @memberof ShippingServiceModel
|
|
5490
|
-
*/
|
|
5491
|
-
'price'?: number | null;
|
|
5492
|
-
}
|
|
5493
|
-
|
|
5494
|
-
export const ShippingServiceModelCourierEnum = {
|
|
5495
|
-
Dpd: 'DPD',
|
|
5496
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5497
|
-
Pops: 'POPS'
|
|
5498
|
-
} as const;
|
|
5499
|
-
|
|
5500
|
-
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5501
|
-
|
|
5502
|
-
/**
|
|
5503
|
-
*
|
|
5504
|
-
* @export
|
|
5505
|
-
* @interface ShippingServicesModel
|
|
5506
|
-
*/
|
|
5507
|
-
export interface ShippingServicesModel {
|
|
5508
|
-
/**
|
|
5509
|
-
* Services
|
|
5510
|
-
* @type {Array<ShippingServiceModel>}
|
|
5511
|
-
* @memberof ShippingServicesModel
|
|
5512
|
-
*/
|
|
5513
|
-
'services'?: Array<ShippingServiceModel>;
|
|
5514
|
-
}
|
|
5515
4613
|
/**
|
|
5516
4614
|
* Change Response
|
|
5517
4615
|
* @export
|
|
@@ -8351,49 +7449,6 @@ export interface TcxRemoteStorageModel {
|
|
|
8351
7449
|
*/
|
|
8352
7450
|
'secretAccessKey'?: string;
|
|
8353
7451
|
}
|
|
8354
|
-
/**
|
|
8355
|
-
* SBC Data
|
|
8356
|
-
* @export
|
|
8357
|
-
* @interface TcxSbcDTO
|
|
8358
|
-
*/
|
|
8359
|
-
export interface TcxSbcDTO {
|
|
8360
|
-
/**
|
|
8361
|
-
* LAN IP Address
|
|
8362
|
-
* @type {string}
|
|
8363
|
-
* @memberof TcxSbcDTO
|
|
8364
|
-
*/
|
|
8365
|
-
'ipAddress'?: string;
|
|
8366
|
-
/**
|
|
8367
|
-
* LAN Default Gateway
|
|
8368
|
-
* @type {string}
|
|
8369
|
-
* @memberof TcxSbcDTO
|
|
8370
|
-
*/
|
|
8371
|
-
'defaultGateway'?: string;
|
|
8372
|
-
/**
|
|
8373
|
-
* LAN Subnet Mask
|
|
8374
|
-
* @type {string}
|
|
8375
|
-
* @memberof TcxSbcDTO
|
|
8376
|
-
*/
|
|
8377
|
-
'netmask'?: string;
|
|
8378
|
-
/**
|
|
8379
|
-
* DNS
|
|
8380
|
-
* @type {string}
|
|
8381
|
-
* @memberof TcxSbcDTO
|
|
8382
|
-
*/
|
|
8383
|
-
'dns'?: string;
|
|
8384
|
-
/**
|
|
8385
|
-
* 3CX URL
|
|
8386
|
-
* @type {string}
|
|
8387
|
-
* @memberof TcxSbcDTO
|
|
8388
|
-
*/
|
|
8389
|
-
'tcxUrl'?: string;
|
|
8390
|
-
/**
|
|
8391
|
-
* 3CX SBC Key
|
|
8392
|
-
* @type {string}
|
|
8393
|
-
* @memberof TcxSbcDTO
|
|
8394
|
-
*/
|
|
8395
|
-
'tcxKey'?: string;
|
|
8396
|
-
}
|
|
8397
7452
|
/**
|
|
8398
7453
|
* 3CX Wizard SBC
|
|
8399
7454
|
* @export
|
|
@@ -8498,7 +7553,7 @@ export interface TcxSbcEntity {
|
|
|
8498
7553
|
'technicalContact'?: string;
|
|
8499
7554
|
}
|
|
8500
7555
|
/**
|
|
8501
|
-
* 3CX
|
|
7556
|
+
* 3CX SBC Model
|
|
8502
7557
|
* @export
|
|
8503
7558
|
* @interface TcxSbcModel
|
|
8504
7559
|
*/
|
|
@@ -9683,40 +8738,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9683
8738
|
|
|
9684
8739
|
|
|
9685
8740
|
|
|
9686
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9687
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9688
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9689
|
-
|
|
9690
|
-
return {
|
|
9691
|
-
url: toPathString(localVarUrlObj),
|
|
9692
|
-
options: localVarRequestOptions,
|
|
9693
|
-
};
|
|
9694
|
-
},
|
|
9695
|
-
/**
|
|
9696
|
-
* Get Account Detailed Summary
|
|
9697
|
-
* @summary Get Account Detailed Summary
|
|
9698
|
-
* @param {number} id Customer ID
|
|
9699
|
-
* @param {*} [options] Override http request option.
|
|
9700
|
-
* @throws {RequiredError}
|
|
9701
|
-
*/
|
|
9702
|
-
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9703
|
-
// verify required parameter 'id' is not null or undefined
|
|
9704
|
-
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9705
|
-
const localVarPath = `/accounts/{id}/summary`
|
|
9706
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9707
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9708
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9709
|
-
let baseOptions;
|
|
9710
|
-
if (configuration) {
|
|
9711
|
-
baseOptions = configuration.baseOptions;
|
|
9712
|
-
}
|
|
9713
|
-
|
|
9714
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9715
|
-
const localVarHeaderParameter = {} as any;
|
|
9716
|
-
const localVarQueryParameter = {} as any;
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
8741
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9721
8742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9722
8743
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10015,36 +9036,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10015
9036
|
options: localVarRequestOptions,
|
|
10016
9037
|
};
|
|
10017
9038
|
},
|
|
10018
|
-
/**
|
|
10019
|
-
* Get Admin Account
|
|
10020
|
-
* @summary Get Admin Account
|
|
10021
|
-
* @param {*} [options] Override http request option.
|
|
10022
|
-
* @throws {RequiredError}
|
|
10023
|
-
*/
|
|
10024
|
-
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10025
|
-
const localVarPath = `/admin/me`;
|
|
10026
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10027
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10028
|
-
let baseOptions;
|
|
10029
|
-
if (configuration) {
|
|
10030
|
-
baseOptions = configuration.baseOptions;
|
|
10031
|
-
}
|
|
10032
|
-
|
|
10033
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10034
|
-
const localVarHeaderParameter = {} as any;
|
|
10035
|
-
const localVarQueryParameter = {} as any;
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10040
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10041
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10042
|
-
|
|
10043
|
-
return {
|
|
10044
|
-
url: toPathString(localVarUrlObj),
|
|
10045
|
-
options: localVarRequestOptions,
|
|
10046
|
-
};
|
|
10047
|
-
},
|
|
10048
9039
|
/**
|
|
10049
9040
|
* Create client credentials
|
|
10050
9041
|
* @summary Create client credentials
|
|
@@ -10294,19 +9285,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10294
9285
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
10295
9286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10296
9287
|
},
|
|
10297
|
-
/**
|
|
10298
|
-
* Get Account Detailed Summary
|
|
10299
|
-
* @summary Get Account Detailed Summary
|
|
10300
|
-
* @param {number} id Customer ID
|
|
10301
|
-
* @param {*} [options] Override http request option.
|
|
10302
|
-
* @throws {RequiredError}
|
|
10303
|
-
*/
|
|
10304
|
-
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
10305
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
10306
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10307
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
10308
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10309
|
-
},
|
|
10310
9288
|
/**
|
|
10311
9289
|
* Get Accounts
|
|
10312
9290
|
* @summary Get Accounts
|
|
@@ -10412,18 +9390,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10412
9390
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
10413
9391
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10414
9392
|
},
|
|
10415
|
-
/**
|
|
10416
|
-
* Get Admin Account
|
|
10417
|
-
* @summary Get Admin Account
|
|
10418
|
-
* @param {*} [options] Override http request option.
|
|
10419
|
-
* @throws {RequiredError}
|
|
10420
|
-
*/
|
|
10421
|
-
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10422
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10423
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10424
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10425
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10426
|
-
},
|
|
10427
9393
|
/**
|
|
10428
9394
|
* Create client credentials
|
|
10429
9395
|
* @summary Create client credentials
|
|
@@ -10541,16 +9507,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10541
9507
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
10542
9508
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
10543
9509
|
},
|
|
10544
|
-
/**
|
|
10545
|
-
* Get Account Detailed Summary
|
|
10546
|
-
* @summary Get Account Detailed Summary
|
|
10547
|
-
* @param {number} id Customer ID
|
|
10548
|
-
* @param {*} [options] Override http request option.
|
|
10549
|
-
* @throws {RequiredError}
|
|
10550
|
-
*/
|
|
10551
|
-
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10552
|
-
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10553
|
-
},
|
|
10554
9510
|
/**
|
|
10555
9511
|
* Get Accounts
|
|
10556
9512
|
* @summary Get Accounts
|
|
@@ -10632,15 +9588,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10632
9588
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
10633
9589
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
10634
9590
|
},
|
|
10635
|
-
/**
|
|
10636
|
-
* Get Admin Account
|
|
10637
|
-
* @summary Get Admin Account
|
|
10638
|
-
* @param {*} [options] Override http request option.
|
|
10639
|
-
* @throws {RequiredError}
|
|
10640
|
-
*/
|
|
10641
|
-
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10642
|
-
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10643
|
-
},
|
|
10644
9591
|
/**
|
|
10645
9592
|
* Create client credentials
|
|
10646
9593
|
* @summary Create client credentials
|
|
@@ -10751,18 +9698,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10751
9698
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
10752
9699
|
}
|
|
10753
9700
|
|
|
10754
|
-
/**
|
|
10755
|
-
* Get Account Detailed Summary
|
|
10756
|
-
* @summary Get Account Detailed Summary
|
|
10757
|
-
* @param {number} id Customer ID
|
|
10758
|
-
* @param {*} [options] Override http request option.
|
|
10759
|
-
* @throws {RequiredError}
|
|
10760
|
-
* @memberof AccountsApi
|
|
10761
|
-
*/
|
|
10762
|
-
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10763
|
-
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10764
|
-
}
|
|
10765
|
-
|
|
10766
9701
|
/**
|
|
10767
9702
|
* Get Accounts
|
|
10768
9703
|
* @summary Get Accounts
|
|
@@ -10860,17 +9795,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10860
9795
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
10861
9796
|
}
|
|
10862
9797
|
|
|
10863
|
-
/**
|
|
10864
|
-
* Get Admin Account
|
|
10865
|
-
* @summary Get Admin Account
|
|
10866
|
-
* @param {*} [options] Override http request option.
|
|
10867
|
-
* @throws {RequiredError}
|
|
10868
|
-
* @memberof AccountsApi
|
|
10869
|
-
*/
|
|
10870
|
-
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10871
|
-
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10872
|
-
}
|
|
10873
|
-
|
|
10874
9798
|
/**
|
|
10875
9799
|
* Create client credentials
|
|
10876
9800
|
* @summary Create client credentials
|
|
@@ -11078,14 +10002,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11078
10002
|
};
|
|
11079
10003
|
},
|
|
11080
10004
|
/**
|
|
11081
|
-
*
|
|
11082
|
-
* @summary
|
|
11083
|
-
* @param {
|
|
10005
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10006
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10007
|
+
* @param {string} password Desired 3CX web access password
|
|
11084
10008
|
* @param {*} [options] Override http request option.
|
|
11085
10009
|
* @throws {RequiredError}
|
|
11086
10010
|
*/
|
|
11087
|
-
|
|
11088
|
-
|
|
10011
|
+
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10012
|
+
// verify required parameter 'password' is not null or undefined
|
|
10013
|
+
assertParamExists('getGetPasswordHash', 'password', password)
|
|
10014
|
+
const localVarPath = `/tcx/pwd2hash`;
|
|
11089
10015
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11090
10016
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11091
10017
|
let baseOptions;
|
|
@@ -11093,7 +10019,42 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11093
10019
|
baseOptions = configuration.baseOptions;
|
|
11094
10020
|
}
|
|
11095
10021
|
|
|
11096
|
-
const localVarRequestOptions = { method: '
|
|
10022
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10023
|
+
const localVarHeaderParameter = {} as any;
|
|
10024
|
+
const localVarQueryParameter = {} as any;
|
|
10025
|
+
|
|
10026
|
+
if (password !== undefined) {
|
|
10027
|
+
localVarQueryParameter['password'] = password;
|
|
10028
|
+
}
|
|
10029
|
+
|
|
10030
|
+
|
|
10031
|
+
|
|
10032
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10033
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10034
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10035
|
+
|
|
10036
|
+
return {
|
|
10037
|
+
url: toPathString(localVarUrlObj),
|
|
10038
|
+
options: localVarRequestOptions,
|
|
10039
|
+
};
|
|
10040
|
+
},
|
|
10041
|
+
/**
|
|
10042
|
+
* Get Bulk 3CX Licence Details
|
|
10043
|
+
* @summary Get bulk 3CX Licence Details
|
|
10044
|
+
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
10045
|
+
* @param {*} [options] Override http request option.
|
|
10046
|
+
* @throws {RequiredError}
|
|
10047
|
+
*/
|
|
10048
|
+
postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10049
|
+
const localVarPath = `/tcx/licences/bulk/details`;
|
|
10050
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10051
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10052
|
+
let baseOptions;
|
|
10053
|
+
if (configuration) {
|
|
10054
|
+
baseOptions = configuration.baseOptions;
|
|
10055
|
+
}
|
|
10056
|
+
|
|
10057
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11097
10058
|
const localVarHeaderParameter = {} as any;
|
|
11098
10059
|
const localVarQueryParameter = {} as any;
|
|
11099
10060
|
|
|
@@ -11134,6 +10095,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
11134
10095
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
11135
10096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11136
10097
|
},
|
|
10098
|
+
/**
|
|
10099
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10100
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10101
|
+
* @param {string} password Desired 3CX web access password
|
|
10102
|
+
* @param {*} [options] Override http request option.
|
|
10103
|
+
* @throws {RequiredError}
|
|
10104
|
+
*/
|
|
10105
|
+
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
10106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
10107
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10108
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
10109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10110
|
+
},
|
|
11137
10111
|
/**
|
|
11138
10112
|
* Get Bulk 3CX Licence Details
|
|
11139
10113
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11167,6 +10141,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
11167
10141
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
11168
10142
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
11169
10143
|
},
|
|
10144
|
+
/**
|
|
10145
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10146
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10147
|
+
* @param {string} password Desired 3CX web access password
|
|
10148
|
+
* @param {*} [options] Override http request option.
|
|
10149
|
+
* @throws {RequiredError}
|
|
10150
|
+
*/
|
|
10151
|
+
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
10152
|
+
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
10153
|
+
},
|
|
11170
10154
|
/**
|
|
11171
10155
|
* Get Bulk 3CX Licence Details
|
|
11172
10156
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11199,6 +10183,18 @@ export class Class3CXApi extends BaseAPI {
|
|
|
11199
10183
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
11200
10184
|
}
|
|
11201
10185
|
|
|
10186
|
+
/**
|
|
10187
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10188
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10189
|
+
* @param {string} password Desired 3CX web access password
|
|
10190
|
+
* @param {*} [options] Override http request option.
|
|
10191
|
+
* @throws {RequiredError}
|
|
10192
|
+
* @memberof Class3CXApi
|
|
10193
|
+
*/
|
|
10194
|
+
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
10195
|
+
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
10196
|
+
}
|
|
10197
|
+
|
|
11202
10198
|
/**
|
|
11203
10199
|
* Get Bulk 3CX Licence Details
|
|
11204
10200
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -16373,14 +15369,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16373
15369
|
return {
|
|
16374
15370
|
/**
|
|
16375
15371
|
* Delete Orders
|
|
16376
|
-
* @summary Delete Orders
|
|
16377
15372
|
* @param {number} id Order ID
|
|
16378
15373
|
* @param {*} [options] Override http request option.
|
|
16379
15374
|
* @throws {RequiredError}
|
|
16380
15375
|
*/
|
|
16381
|
-
|
|
15376
|
+
deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16382
15377
|
// verify required parameter 'id' is not null or undefined
|
|
16383
|
-
assertParamExists('
|
|
15378
|
+
assertParamExists('deleteDeleteOrder', 'id', id)
|
|
16384
15379
|
const localVarPath = `/orders/{id}`
|
|
16385
15380
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16386
15381
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -16396,74 +15391,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16396
15391
|
|
|
16397
15392
|
|
|
16398
15393
|
|
|
16399
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16400
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16401
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16402
|
-
|
|
16403
|
-
return {
|
|
16404
|
-
url: toPathString(localVarUrlObj),
|
|
16405
|
-
options: localVarRequestOptions,
|
|
16406
|
-
};
|
|
16407
|
-
},
|
|
16408
|
-
/**
|
|
16409
|
-
* Get Editable Order (Admin)
|
|
16410
|
-
* @summary Get Editable Order (Admin)
|
|
16411
|
-
* @param {number} id Order ID
|
|
16412
|
-
* @param {*} [options] Override http request option.
|
|
16413
|
-
* @throws {RequiredError}
|
|
16414
|
-
*/
|
|
16415
|
-
getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16416
|
-
// verify required parameter 'id' is not null or undefined
|
|
16417
|
-
assertParamExists('getGetAdminEditableOrder', 'id', id)
|
|
16418
|
-
const localVarPath = `/admin/orders/{id}/views/editable`
|
|
16419
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16420
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16421
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16422
|
-
let baseOptions;
|
|
16423
|
-
if (configuration) {
|
|
16424
|
-
baseOptions = configuration.baseOptions;
|
|
16425
|
-
}
|
|
16426
|
-
|
|
16427
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16428
|
-
const localVarHeaderParameter = {} as any;
|
|
16429
|
-
const localVarQueryParameter = {} as any;
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16434
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16435
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16436
|
-
|
|
16437
|
-
return {
|
|
16438
|
-
url: toPathString(localVarUrlObj),
|
|
16439
|
-
options: localVarRequestOptions,
|
|
16440
|
-
};
|
|
16441
|
-
},
|
|
16442
|
-
/**
|
|
16443
|
-
* Get Editable Order
|
|
16444
|
-
* @summary Get Editable Order
|
|
16445
|
-
* @param {number} id Order ID
|
|
16446
|
-
* @param {*} [options] Override http request option.
|
|
16447
|
-
* @throws {RequiredError}
|
|
16448
|
-
*/
|
|
16449
|
-
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16450
|
-
// verify required parameter 'id' is not null or undefined
|
|
16451
|
-
assertParamExists('getGetEditableOrder', 'id', id)
|
|
16452
|
-
const localVarPath = `/orders/{id}/views/editable`
|
|
16453
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16454
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16455
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16456
|
-
let baseOptions;
|
|
16457
|
-
if (configuration) {
|
|
16458
|
-
baseOptions = configuration.baseOptions;
|
|
16459
|
-
}
|
|
16460
|
-
|
|
16461
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16462
|
-
const localVarHeaderParameter = {} as any;
|
|
16463
|
-
const localVarQueryParameter = {} as any;
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
15394
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16468
15395
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16469
15396
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16533,170 +15460,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16533
15460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16534
15461
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16535
15462
|
|
|
16536
|
-
return {
|
|
16537
|
-
url: toPathString(localVarUrlObj),
|
|
16538
|
-
options: localVarRequestOptions,
|
|
16539
|
-
};
|
|
16540
|
-
},
|
|
16541
|
-
/**
|
|
16542
|
-
* Create An Order (Admin)
|
|
16543
|
-
* @summary Create An Order (Admin)
|
|
16544
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16545
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16546
|
-
* @param {*} [options] Override http request option.
|
|
16547
|
-
* @throws {RequiredError}
|
|
16548
|
-
*/
|
|
16549
|
-
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16550
|
-
const localVarPath = `/admin/orders`;
|
|
16551
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16552
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16553
|
-
let baseOptions;
|
|
16554
|
-
if (configuration) {
|
|
16555
|
-
baseOptions = configuration.baseOptions;
|
|
16556
|
-
}
|
|
16557
|
-
|
|
16558
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16559
|
-
const localVarHeaderParameter = {} as any;
|
|
16560
|
-
const localVarQueryParameter = {} as any;
|
|
16561
|
-
|
|
16562
|
-
if (readonly !== undefined) {
|
|
16563
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16564
|
-
}
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
|
|
16568
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16569
|
-
|
|
16570
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16571
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16572
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16573
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16574
|
-
|
|
16575
|
-
return {
|
|
16576
|
-
url: toPathString(localVarUrlObj),
|
|
16577
|
-
options: localVarRequestOptions,
|
|
16578
|
-
};
|
|
16579
|
-
},
|
|
16580
|
-
/**
|
|
16581
|
-
* Create An Order
|
|
16582
|
-
* @summary Create An Order
|
|
16583
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16584
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16585
|
-
* @param {*} [options] Override http request option.
|
|
16586
|
-
* @throws {RequiredError}
|
|
16587
|
-
*/
|
|
16588
|
-
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16589
|
-
const localVarPath = `/orders`;
|
|
16590
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16591
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16592
|
-
let baseOptions;
|
|
16593
|
-
if (configuration) {
|
|
16594
|
-
baseOptions = configuration.baseOptions;
|
|
16595
|
-
}
|
|
16596
|
-
|
|
16597
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16598
|
-
const localVarHeaderParameter = {} as any;
|
|
16599
|
-
const localVarQueryParameter = {} as any;
|
|
16600
|
-
|
|
16601
|
-
if (readonly !== undefined) {
|
|
16602
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16603
|
-
}
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16608
|
-
|
|
16609
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16610
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16611
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16612
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16613
|
-
|
|
16614
|
-
return {
|
|
16615
|
-
url: toPathString(localVarUrlObj),
|
|
16616
|
-
options: localVarRequestOptions,
|
|
16617
|
-
};
|
|
16618
|
-
},
|
|
16619
|
-
/**
|
|
16620
|
-
* Update An Order (Admin)
|
|
16621
|
-
* @summary Update An Order (Admin)
|
|
16622
|
-
* @param {number} id Order ID
|
|
16623
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16624
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16625
|
-
* @param {*} [options] Override http request option.
|
|
16626
|
-
* @throws {RequiredError}
|
|
16627
|
-
*/
|
|
16628
|
-
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16629
|
-
// verify required parameter 'id' is not null or undefined
|
|
16630
|
-
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
16631
|
-
const localVarPath = `/admin/orders/{id}`
|
|
16632
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16633
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16634
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16635
|
-
let baseOptions;
|
|
16636
|
-
if (configuration) {
|
|
16637
|
-
baseOptions = configuration.baseOptions;
|
|
16638
|
-
}
|
|
16639
|
-
|
|
16640
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16641
|
-
const localVarHeaderParameter = {} as any;
|
|
16642
|
-
const localVarQueryParameter = {} as any;
|
|
16643
|
-
|
|
16644
|
-
if (readonly !== undefined) {
|
|
16645
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16646
|
-
}
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16651
|
-
|
|
16652
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16653
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16654
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16655
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16656
|
-
|
|
16657
|
-
return {
|
|
16658
|
-
url: toPathString(localVarUrlObj),
|
|
16659
|
-
options: localVarRequestOptions,
|
|
16660
|
-
};
|
|
16661
|
-
},
|
|
16662
|
-
/**
|
|
16663
|
-
* Update An Order
|
|
16664
|
-
* @summary Update An Order
|
|
16665
|
-
* @param {number} id Order ID
|
|
16666
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16667
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16668
|
-
* @param {*} [options] Override http request option.
|
|
16669
|
-
* @throws {RequiredError}
|
|
16670
|
-
*/
|
|
16671
|
-
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16672
|
-
// verify required parameter 'id' is not null or undefined
|
|
16673
|
-
assertParamExists('putUpdateOrder', 'id', id)
|
|
16674
|
-
const localVarPath = `/orders/{id}`
|
|
16675
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16676
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16677
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16678
|
-
let baseOptions;
|
|
16679
|
-
if (configuration) {
|
|
16680
|
-
baseOptions = configuration.baseOptions;
|
|
16681
|
-
}
|
|
16682
|
-
|
|
16683
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16684
|
-
const localVarHeaderParameter = {} as any;
|
|
16685
|
-
const localVarQueryParameter = {} as any;
|
|
16686
|
-
|
|
16687
|
-
if (readonly !== undefined) {
|
|
16688
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16689
|
-
}
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16694
|
-
|
|
16695
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16696
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16697
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16698
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16699
|
-
|
|
16700
15463
|
return {
|
|
16701
15464
|
url: toPathString(localVarUrlObj),
|
|
16702
15465
|
options: localVarRequestOptions,
|
|
@@ -16714,41 +15477,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16714
15477
|
return {
|
|
16715
15478
|
/**
|
|
16716
15479
|
* Delete Orders
|
|
16717
|
-
* @summary Delete Orders
|
|
16718
15480
|
* @param {number} id Order ID
|
|
16719
15481
|
* @param {*} [options] Override http request option.
|
|
16720
15482
|
* @throws {RequiredError}
|
|
16721
15483
|
*/
|
|
16722
|
-
async
|
|
16723
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15484
|
+
async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
|
|
16724
15486
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16725
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
16726
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16727
|
-
},
|
|
16728
|
-
/**
|
|
16729
|
-
* Get Editable Order (Admin)
|
|
16730
|
-
* @summary Get Editable Order (Admin)
|
|
16731
|
-
* @param {number} id Order ID
|
|
16732
|
-
* @param {*} [options] Override http request option.
|
|
16733
|
-
* @throws {RequiredError}
|
|
16734
|
-
*/
|
|
16735
|
-
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
16736
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
16737
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16738
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
16739
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16740
|
-
},
|
|
16741
|
-
/**
|
|
16742
|
-
* Get Editable Order
|
|
16743
|
-
* @summary Get Editable Order
|
|
16744
|
-
* @param {number} id Order ID
|
|
16745
|
-
* @param {*} [options] Override http request option.
|
|
16746
|
-
* @throws {RequiredError}
|
|
16747
|
-
*/
|
|
16748
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DetailedOrderRequestDTO>> {
|
|
16749
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
16750
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16751
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
15487
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
16752
15488
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16753
15489
|
},
|
|
16754
15490
|
/**
|
|
@@ -16770,64 +15506,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16770
15506
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16771
15507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16772
15508
|
},
|
|
16773
|
-
/**
|
|
16774
|
-
* Create An Order (Admin)
|
|
16775
|
-
* @summary Create An Order (Admin)
|
|
16776
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16777
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16778
|
-
* @param {*} [options] Override http request option.
|
|
16779
|
-
* @throws {RequiredError}
|
|
16780
|
-
*/
|
|
16781
|
-
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16782
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
16783
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16784
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16785
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16786
|
-
},
|
|
16787
|
-
/**
|
|
16788
|
-
* Create An Order
|
|
16789
|
-
* @summary Create An Order
|
|
16790
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16791
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16792
|
-
* @param {*} [options] Override http request option.
|
|
16793
|
-
* @throws {RequiredError}
|
|
16794
|
-
*/
|
|
16795
|
-
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16796
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
16797
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16798
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16799
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16800
|
-
},
|
|
16801
|
-
/**
|
|
16802
|
-
* Update An Order (Admin)
|
|
16803
|
-
* @summary Update An Order (Admin)
|
|
16804
|
-
* @param {number} id Order ID
|
|
16805
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16806
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16807
|
-
* @param {*} [options] Override http request option.
|
|
16808
|
-
* @throws {RequiredError}
|
|
16809
|
-
*/
|
|
16810
|
-
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16811
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
16812
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16813
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16814
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16815
|
-
},
|
|
16816
|
-
/**
|
|
16817
|
-
* Update An Order
|
|
16818
|
-
* @summary Update An Order
|
|
16819
|
-
* @param {number} id Order ID
|
|
16820
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16821
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16822
|
-
* @param {*} [options] Override http request option.
|
|
16823
|
-
* @throws {RequiredError}
|
|
16824
|
-
*/
|
|
16825
|
-
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16826
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
16827
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16828
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16829
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16830
|
-
},
|
|
16831
15509
|
}
|
|
16832
15510
|
};
|
|
16833
15511
|
|
|
@@ -16840,33 +15518,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16840
15518
|
return {
|
|
16841
15519
|
/**
|
|
16842
15520
|
* Delete Orders
|
|
16843
|
-
* @summary Delete Orders
|
|
16844
|
-
* @param {number} id Order ID
|
|
16845
|
-
* @param {*} [options] Override http request option.
|
|
16846
|
-
* @throws {RequiredError}
|
|
16847
|
-
*/
|
|
16848
|
-
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16849
|
-
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
16850
|
-
},
|
|
16851
|
-
/**
|
|
16852
|
-
* Get Editable Order (Admin)
|
|
16853
|
-
* @summary Get Editable Order (Admin)
|
|
16854
|
-
* @param {number} id Order ID
|
|
16855
|
-
* @param {*} [options] Override http request option.
|
|
16856
|
-
* @throws {RequiredError}
|
|
16857
|
-
*/
|
|
16858
|
-
getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
|
|
16859
|
-
return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
16860
|
-
},
|
|
16861
|
-
/**
|
|
16862
|
-
* Get Editable Order
|
|
16863
|
-
* @summary Get Editable Order
|
|
16864
15521
|
* @param {number} id Order ID
|
|
16865
15522
|
* @param {*} [options] Override http request option.
|
|
16866
15523
|
* @throws {RequiredError}
|
|
16867
15524
|
*/
|
|
16868
|
-
|
|
16869
|
-
return localVarFp.
|
|
15525
|
+
deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15526
|
+
return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
|
|
16870
15527
|
},
|
|
16871
15528
|
/**
|
|
16872
15529
|
* Get Orders
|
|
@@ -16884,52 +15541,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16884
15541
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
16885
15542
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
16886
15543
|
},
|
|
16887
|
-
/**
|
|
16888
|
-
* Create An Order (Admin)
|
|
16889
|
-
* @summary Create An Order (Admin)
|
|
16890
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16891
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16892
|
-
* @param {*} [options] Override http request option.
|
|
16893
|
-
* @throws {RequiredError}
|
|
16894
|
-
*/
|
|
16895
|
-
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16896
|
-
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16897
|
-
},
|
|
16898
|
-
/**
|
|
16899
|
-
* Create An Order
|
|
16900
|
-
* @summary Create An Order
|
|
16901
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16902
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16903
|
-
* @param {*} [options] Override http request option.
|
|
16904
|
-
* @throws {RequiredError}
|
|
16905
|
-
*/
|
|
16906
|
-
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16907
|
-
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16908
|
-
},
|
|
16909
|
-
/**
|
|
16910
|
-
* Update An Order (Admin)
|
|
16911
|
-
* @summary Update An Order (Admin)
|
|
16912
|
-
* @param {number} id Order ID
|
|
16913
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16914
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16915
|
-
* @param {*} [options] Override http request option.
|
|
16916
|
-
* @throws {RequiredError}
|
|
16917
|
-
*/
|
|
16918
|
-
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16919
|
-
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16920
|
-
},
|
|
16921
|
-
/**
|
|
16922
|
-
* Update An Order
|
|
16923
|
-
* @summary Update An Order
|
|
16924
|
-
* @param {number} id Order ID
|
|
16925
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16926
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16927
|
-
* @param {*} [options] Override http request option.
|
|
16928
|
-
* @throws {RequiredError}
|
|
16929
|
-
*/
|
|
16930
|
-
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16931
|
-
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16932
|
-
},
|
|
16933
15544
|
};
|
|
16934
15545
|
};
|
|
16935
15546
|
|
|
@@ -16942,38 +15553,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16942
15553
|
export class OrdersApi extends BaseAPI {
|
|
16943
15554
|
/**
|
|
16944
15555
|
* Delete Orders
|
|
16945
|
-
* @summary Delete Orders
|
|
16946
15556
|
* @param {number} id Order ID
|
|
16947
15557
|
* @param {*} [options] Override http request option.
|
|
16948
15558
|
* @throws {RequiredError}
|
|
16949
15559
|
* @memberof OrdersApi
|
|
16950
15560
|
*/
|
|
16951
|
-
public
|
|
16952
|
-
return OrdersApiFp(this.configuration).
|
|
16953
|
-
}
|
|
16954
|
-
|
|
16955
|
-
/**
|
|
16956
|
-
* Get Editable Order (Admin)
|
|
16957
|
-
* @summary Get Editable Order (Admin)
|
|
16958
|
-
* @param {number} id Order ID
|
|
16959
|
-
* @param {*} [options] Override http request option.
|
|
16960
|
-
* @throws {RequiredError}
|
|
16961
|
-
* @memberof OrdersApi
|
|
16962
|
-
*/
|
|
16963
|
-
public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16964
|
-
return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16965
|
-
}
|
|
16966
|
-
|
|
16967
|
-
/**
|
|
16968
|
-
* Get Editable Order
|
|
16969
|
-
* @summary Get Editable Order
|
|
16970
|
-
* @param {number} id Order ID
|
|
16971
|
-
* @param {*} [options] Override http request option.
|
|
16972
|
-
* @throws {RequiredError}
|
|
16973
|
-
* @memberof OrdersApi
|
|
16974
|
-
*/
|
|
16975
|
-
public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16976
|
-
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15561
|
+
public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15562
|
+
return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16977
15563
|
}
|
|
16978
15564
|
|
|
16979
15565
|
/**
|
|
@@ -16993,60 +15579,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
16993
15579
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
16994
15580
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
16995
15581
|
}
|
|
16996
|
-
|
|
16997
|
-
/**
|
|
16998
|
-
* Create An Order (Admin)
|
|
16999
|
-
* @summary Create An Order (Admin)
|
|
17000
|
-
* @param {boolean} [readonly] Readonly Order
|
|
17001
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
17002
|
-
* @param {*} [options] Override http request option.
|
|
17003
|
-
* @throws {RequiredError}
|
|
17004
|
-
* @memberof OrdersApi
|
|
17005
|
-
*/
|
|
17006
|
-
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
17007
|
-
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17008
|
-
}
|
|
17009
|
-
|
|
17010
|
-
/**
|
|
17011
|
-
* Create An Order
|
|
17012
|
-
* @summary Create An Order
|
|
17013
|
-
* @param {boolean} [readonly] Readonly Order
|
|
17014
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
17015
|
-
* @param {*} [options] Override http request option.
|
|
17016
|
-
* @throws {RequiredError}
|
|
17017
|
-
* @memberof OrdersApi
|
|
17018
|
-
*/
|
|
17019
|
-
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
17020
|
-
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17021
|
-
}
|
|
17022
|
-
|
|
17023
|
-
/**
|
|
17024
|
-
* Update An Order (Admin)
|
|
17025
|
-
* @summary Update An Order (Admin)
|
|
17026
|
-
* @param {number} id Order ID
|
|
17027
|
-
* @param {boolean} [readonly] Readonly Order
|
|
17028
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
17029
|
-
* @param {*} [options] Override http request option.
|
|
17030
|
-
* @throws {RequiredError}
|
|
17031
|
-
* @memberof OrdersApi
|
|
17032
|
-
*/
|
|
17033
|
-
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
17034
|
-
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17035
|
-
}
|
|
17036
|
-
|
|
17037
|
-
/**
|
|
17038
|
-
* Update An Order
|
|
17039
|
-
* @summary Update An Order
|
|
17040
|
-
* @param {number} id Order ID
|
|
17041
|
-
* @param {boolean} [readonly] Readonly Order
|
|
17042
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
17043
|
-
* @param {*} [options] Override http request option.
|
|
17044
|
-
* @throws {RequiredError}
|
|
17045
|
-
* @memberof OrdersApi
|
|
17046
|
-
*/
|
|
17047
|
-
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
17048
|
-
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17049
|
-
}
|
|
17050
15582
|
}
|
|
17051
15583
|
|
|
17052
15584
|
/**
|
|
@@ -17427,47 +15959,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
|
|
|
17427
15959
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17428
15960
|
return {
|
|
17429
15961
|
/**
|
|
17430
|
-
* Get Attribute Sets
|
|
17431
|
-
* @summary Get Attribute Sets
|
|
17432
|
-
* @param {*} [options] Override http request option.
|
|
17433
|
-
* @throws {RequiredError}
|
|
17434
|
-
*/
|
|
17435
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17436
|
-
const localVarPath = `/products/attributes`;
|
|
17437
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17438
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17439
|
-
let baseOptions;
|
|
17440
|
-
if (configuration) {
|
|
17441
|
-
baseOptions = configuration.baseOptions;
|
|
17442
|
-
}
|
|
17443
|
-
|
|
17444
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17445
|
-
const localVarHeaderParameter = {} as any;
|
|
17446
|
-
const localVarQueryParameter = {} as any;
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17451
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17452
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17453
|
-
|
|
17454
|
-
return {
|
|
17455
|
-
url: toPathString(localVarUrlObj),
|
|
17456
|
-
options: localVarRequestOptions,
|
|
17457
|
-
};
|
|
17458
|
-
},
|
|
17459
|
-
/**
|
|
17460
|
-
* Get Current Stock & Pricing
|
|
17461
|
-
* @summary Get Current Stock & Pricing
|
|
17462
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15962
|
+
* Get Attribute Sets
|
|
15963
|
+
* @summary Get Attribute Sets
|
|
17463
15964
|
* @param {*} [options] Override http request option.
|
|
17464
|
-
* @deprecated
|
|
17465
15965
|
* @throws {RequiredError}
|
|
17466
15966
|
*/
|
|
17467
|
-
|
|
17468
|
-
|
|
17469
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
17470
|
-
const localVarPath = `/products/stock/legacy`;
|
|
15967
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15968
|
+
const localVarPath = `/products/attributes`;
|
|
17471
15969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17472
15970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17473
15971
|
let baseOptions;
|
|
@@ -17479,10 +15977,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17479
15977
|
const localVarHeaderParameter = {} as any;
|
|
17480
15978
|
const localVarQueryParameter = {} as any;
|
|
17481
15979
|
|
|
17482
|
-
if (format !== undefined) {
|
|
17483
|
-
localVarQueryParameter['format'] = format;
|
|
17484
|
-
}
|
|
17485
|
-
|
|
17486
15980
|
|
|
17487
15981
|
|
|
17488
15982
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17495,13 +15989,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17495
15989
|
};
|
|
17496
15990
|
},
|
|
17497
15991
|
/**
|
|
17498
|
-
* Get
|
|
17499
|
-
* @summary Get
|
|
15992
|
+
* Get Customer Price Lists
|
|
15993
|
+
* @summary Get Customer Price Lists
|
|
17500
15994
|
* @param {*} [options] Override http request option.
|
|
17501
15995
|
* @throws {RequiredError}
|
|
17502
15996
|
*/
|
|
17503
|
-
|
|
17504
|
-
const localVarPath = `/products`;
|
|
15997
|
+
getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15998
|
+
const localVarPath = `/products/prices/lists`;
|
|
17505
15999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17506
16000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17507
16001
|
let baseOptions;
|
|
@@ -17527,11 +16021,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17527
16021
|
/**
|
|
17528
16022
|
* Get Current Stock & Pricing
|
|
17529
16023
|
* @summary Get Current Stock & Pricing
|
|
16024
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
17530
16025
|
* @param {*} [options] Override http request option.
|
|
16026
|
+
* @deprecated
|
|
17531
16027
|
* @throws {RequiredError}
|
|
17532
16028
|
*/
|
|
17533
|
-
|
|
17534
|
-
|
|
16029
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16030
|
+
// verify required parameter 'format' is not null or undefined
|
|
16031
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
16032
|
+
const localVarPath = `/products/stock/legacy`;
|
|
17535
16033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17536
16034
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17537
16035
|
let baseOptions;
|
|
@@ -17543,36 +16041,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17543
16041
|
const localVarHeaderParameter = {} as any;
|
|
17544
16042
|
const localVarQueryParameter = {} as any;
|
|
17545
16043
|
|
|
17546
|
-
|
|
17547
|
-
|
|
17548
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17549
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17550
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17551
|
-
|
|
17552
|
-
return {
|
|
17553
|
-
url: toPathString(localVarUrlObj),
|
|
17554
|
-
options: localVarRequestOptions,
|
|
17555
|
-
};
|
|
17556
|
-
},
|
|
17557
|
-
/**
|
|
17558
|
-
* Get 3CX Templates
|
|
17559
|
-
* @summary Get 3CX Templates
|
|
17560
|
-
* @param {*} [options] Override http request option.
|
|
17561
|
-
* @throws {RequiredError}
|
|
17562
|
-
*/
|
|
17563
|
-
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17564
|
-
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17565
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17566
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17567
|
-
let baseOptions;
|
|
17568
|
-
if (configuration) {
|
|
17569
|
-
baseOptions = configuration.baseOptions;
|
|
16044
|
+
if (format !== undefined) {
|
|
16045
|
+
localVarQueryParameter['format'] = format;
|
|
17570
16046
|
}
|
|
17571
16047
|
|
|
17572
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17573
|
-
const localVarHeaderParameter = {} as any;
|
|
17574
|
-
const localVarQueryParameter = {} as any;
|
|
17575
|
-
|
|
17576
16048
|
|
|
17577
16049
|
|
|
17578
16050
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17585,15 +16057,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17585
16057
|
};
|
|
17586
16058
|
},
|
|
17587
16059
|
/**
|
|
17588
|
-
*
|
|
17589
|
-
* @summary
|
|
16060
|
+
* Get Products
|
|
16061
|
+
* @summary Get Products
|
|
17590
16062
|
* @param {number} [pageSize] Number Of Results
|
|
17591
16063
|
* @param {number} [page] Page Number
|
|
17592
16064
|
* @param {string} [search] Search
|
|
17593
16065
|
* @param {*} [options] Override http request option.
|
|
17594
16066
|
* @throws {RequiredError}
|
|
17595
16067
|
*/
|
|
17596
|
-
|
|
16068
|
+
getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17597
16069
|
const localVarPath = `/products/search`;
|
|
17598
16070
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17599
16071
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17630,20 +16102,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17630
16102
|
};
|
|
17631
16103
|
},
|
|
17632
16104
|
/**
|
|
17633
|
-
* Get
|
|
17634
|
-
* @summary Get
|
|
17635
|
-
* @param {string} sku Product SKU
|
|
17636
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16105
|
+
* Get Current Stock & Pricing
|
|
16106
|
+
* @summary Get Current Stock & Pricing
|
|
17637
16107
|
* @param {*} [options] Override http request option.
|
|
17638
16108
|
* @throws {RequiredError}
|
|
17639
16109
|
*/
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
assertParamExists('postGetProduct', 'sku', sku)
|
|
17643
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17644
|
-
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17645
|
-
const localVarPath = `/products/{sku}`
|
|
17646
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16110
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16111
|
+
const localVarPath = `/products/stock`;
|
|
17647
16112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17648
16113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17649
16114
|
let baseOptions;
|
|
@@ -17651,18 +16116,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17651
16116
|
baseOptions = configuration.baseOptions;
|
|
17652
16117
|
}
|
|
17653
16118
|
|
|
17654
|
-
const localVarRequestOptions = { method: '
|
|
16119
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17655
16120
|
const localVarHeaderParameter = {} as any;
|
|
17656
16121
|
const localVarQueryParameter = {} as any;
|
|
17657
16122
|
|
|
17658
16123
|
|
|
17659
16124
|
|
|
17660
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17661
|
-
|
|
17662
16125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17663
16126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17664
16127
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17665
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17666
16128
|
|
|
17667
16129
|
return {
|
|
17668
16130
|
url: toPathString(localVarUrlObj),
|
|
@@ -17670,23 +16132,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17670
16132
|
};
|
|
17671
16133
|
},
|
|
17672
16134
|
/**
|
|
17673
|
-
* Get
|
|
17674
|
-
* @summary Get
|
|
17675
|
-
* @param {number} customerId Customer ID
|
|
17676
|
-
* @param {string} sku Product SKU
|
|
17677
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16135
|
+
* Get 3CX Templates
|
|
16136
|
+
* @summary Get 3CX Templates
|
|
17678
16137
|
* @param {*} [options] Override http request option.
|
|
17679
16138
|
* @throws {RequiredError}
|
|
17680
16139
|
*/
|
|
17681
|
-
|
|
17682
|
-
|
|
17683
|
-
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
17684
|
-
// verify required parameter 'sku' is not null or undefined
|
|
17685
|
-
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
17686
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17687
|
-
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17688
|
-
const localVarPath = `/admin/products/{sku}`
|
|
17689
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16140
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16141
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17690
16142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17691
16143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17692
16144
|
let baseOptions;
|
|
@@ -17694,22 +16146,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17694
16146
|
baseOptions = configuration.baseOptions;
|
|
17695
16147
|
}
|
|
17696
16148
|
|
|
17697
|
-
const localVarRequestOptions = { method: '
|
|
16149
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17698
16150
|
const localVarHeaderParameter = {} as any;
|
|
17699
16151
|
const localVarQueryParameter = {} as any;
|
|
17700
16152
|
|
|
17701
|
-
if (customerId !== undefined) {
|
|
17702
|
-
localVarQueryParameter['customerId'] = customerId;
|
|
17703
|
-
}
|
|
17704
|
-
|
|
17705
16153
|
|
|
17706
16154
|
|
|
17707
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17708
|
-
|
|
17709
16155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17710
16156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17711
16157
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17712
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17713
16158
|
|
|
17714
16159
|
return {
|
|
17715
16160
|
url: toPathString(localVarUrlObj),
|
|
@@ -17738,6 +16183,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17738
16183
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
17739
16184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17740
16185
|
},
|
|
16186
|
+
/**
|
|
16187
|
+
* Get Customer Price Lists
|
|
16188
|
+
* @summary Get Customer Price Lists
|
|
16189
|
+
* @param {*} [options] Override http request option.
|
|
16190
|
+
* @throws {RequiredError}
|
|
16191
|
+
*/
|
|
16192
|
+
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
16193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
16194
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16195
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
16196
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16197
|
+
},
|
|
17741
16198
|
/**
|
|
17742
16199
|
* Get Current Stock & Pricing
|
|
17743
16200
|
* @summary Get Current Stock & Pricing
|
|
@@ -17755,11 +16212,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17755
16212
|
/**
|
|
17756
16213
|
* Get Products
|
|
17757
16214
|
* @summary Get Products
|
|
16215
|
+
* @param {number} [pageSize] Number Of Results
|
|
16216
|
+
* @param {number} [page] Page Number
|
|
16217
|
+
* @param {string} [search] Search
|
|
17758
16218
|
* @param {*} [options] Override http request option.
|
|
17759
16219
|
* @throws {RequiredError}
|
|
17760
16220
|
*/
|
|
17761
|
-
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17762
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
16221
|
+
async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
16222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
|
|
17763
16223
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17764
16224
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
17765
16225
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17788,50 +16248,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17788
16248
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17789
16249
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17790
16250
|
},
|
|
17791
|
-
/**
|
|
17792
|
-
* Search Products
|
|
17793
|
-
* @summary Search Products
|
|
17794
|
-
* @param {number} [pageSize] Number Of Results
|
|
17795
|
-
* @param {number} [page] Page Number
|
|
17796
|
-
* @param {string} [search] Search
|
|
17797
|
-
* @param {*} [options] Override http request option.
|
|
17798
|
-
* @throws {RequiredError}
|
|
17799
|
-
*/
|
|
17800
|
-
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
17801
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
17802
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17803
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
17804
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17805
|
-
},
|
|
17806
|
-
/**
|
|
17807
|
-
* Get Product
|
|
17808
|
-
* @summary Get Product
|
|
17809
|
-
* @param {string} sku Product SKU
|
|
17810
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17811
|
-
* @param {*} [options] Override http request option.
|
|
17812
|
-
* @throws {RequiredError}
|
|
17813
|
-
*/
|
|
17814
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17815
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
17816
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17817
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
17818
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17819
|
-
},
|
|
17820
|
-
/**
|
|
17821
|
-
* Get Product For Customer
|
|
17822
|
-
* @summary Get Product For Customer
|
|
17823
|
-
* @param {number} customerId Customer ID
|
|
17824
|
-
* @param {string} sku Product SKU
|
|
17825
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17826
|
-
* @param {*} [options] Override http request option.
|
|
17827
|
-
* @throws {RequiredError}
|
|
17828
|
-
*/
|
|
17829
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17830
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
17831
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17832
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
17833
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17834
|
-
},
|
|
17835
16251
|
}
|
|
17836
16252
|
};
|
|
17837
16253
|
|
|
@@ -17851,6 +16267,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17851
16267
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
17852
16268
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
17853
16269
|
},
|
|
16270
|
+
/**
|
|
16271
|
+
* Get Customer Price Lists
|
|
16272
|
+
* @summary Get Customer Price Lists
|
|
16273
|
+
* @param {*} [options] Override http request option.
|
|
16274
|
+
* @throws {RequiredError}
|
|
16275
|
+
*/
|
|
16276
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
16277
|
+
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
16278
|
+
},
|
|
17854
16279
|
/**
|
|
17855
16280
|
* Get Current Stock & Pricing
|
|
17856
16281
|
* @summary Get Current Stock & Pricing
|
|
@@ -17865,11 +16290,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17865
16290
|
/**
|
|
17866
16291
|
* Get Products
|
|
17867
16292
|
* @summary Get Products
|
|
16293
|
+
* @param {number} [pageSize] Number Of Results
|
|
16294
|
+
* @param {number} [page] Page Number
|
|
16295
|
+
* @param {string} [search] Search
|
|
17868
16296
|
* @param {*} [options] Override http request option.
|
|
17869
16297
|
* @throws {RequiredError}
|
|
17870
16298
|
*/
|
|
17871
|
-
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17872
|
-
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
16299
|
+
getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
16300
|
+
return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17873
16301
|
},
|
|
17874
16302
|
/**
|
|
17875
16303
|
* Get Current Stock & Pricing
|
|
@@ -17889,41 +16317,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17889
16317
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
17890
16318
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
17891
16319
|
},
|
|
17892
|
-
/**
|
|
17893
|
-
* Search Products
|
|
17894
|
-
* @summary Search Products
|
|
17895
|
-
* @param {number} [pageSize] Number Of Results
|
|
17896
|
-
* @param {number} [page] Page Number
|
|
17897
|
-
* @param {string} [search] Search
|
|
17898
|
-
* @param {*} [options] Override http request option.
|
|
17899
|
-
* @throws {RequiredError}
|
|
17900
|
-
*/
|
|
17901
|
-
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
17902
|
-
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17903
|
-
},
|
|
17904
|
-
/**
|
|
17905
|
-
* Get Product
|
|
17906
|
-
* @summary Get Product
|
|
17907
|
-
* @param {string} sku Product SKU
|
|
17908
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17909
|
-
* @param {*} [options] Override http request option.
|
|
17910
|
-
* @throws {RequiredError}
|
|
17911
|
-
*/
|
|
17912
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17913
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17914
|
-
},
|
|
17915
|
-
/**
|
|
17916
|
-
* Get Product For Customer
|
|
17917
|
-
* @summary Get Product For Customer
|
|
17918
|
-
* @param {number} customerId Customer ID
|
|
17919
|
-
* @param {string} sku Product SKU
|
|
17920
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17921
|
-
* @param {*} [options] Override http request option.
|
|
17922
|
-
* @throws {RequiredError}
|
|
17923
|
-
*/
|
|
17924
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17925
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17926
|
-
},
|
|
17927
16320
|
};
|
|
17928
16321
|
};
|
|
17929
16322
|
|
|
@@ -17945,6 +16338,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
17945
16338
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
17946
16339
|
}
|
|
17947
16340
|
|
|
16341
|
+
/**
|
|
16342
|
+
* Get Customer Price Lists
|
|
16343
|
+
* @summary Get Customer Price Lists
|
|
16344
|
+
* @param {*} [options] Override http request option.
|
|
16345
|
+
* @throws {RequiredError}
|
|
16346
|
+
* @memberof ProductsApi
|
|
16347
|
+
*/
|
|
16348
|
+
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
16349
|
+
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
16350
|
+
}
|
|
16351
|
+
|
|
17948
16352
|
/**
|
|
17949
16353
|
* Get Current Stock & Pricing
|
|
17950
16354
|
* @summary Get Current Stock & Pricing
|
|
@@ -17961,12 +16365,15 @@ export class ProductsApi extends BaseAPI {
|
|
|
17961
16365
|
/**
|
|
17962
16366
|
* Get Products
|
|
17963
16367
|
* @summary Get Products
|
|
16368
|
+
* @param {number} [pageSize] Number Of Results
|
|
16369
|
+
* @param {number} [page] Page Number
|
|
16370
|
+
* @param {string} [search] Search
|
|
17964
16371
|
* @param {*} [options] Override http request option.
|
|
17965
16372
|
* @throws {RequiredError}
|
|
17966
16373
|
* @memberof ProductsApi
|
|
17967
16374
|
*/
|
|
17968
|
-
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
17969
|
-
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
16375
|
+
public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
16376
|
+
return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17970
16377
|
}
|
|
17971
16378
|
|
|
17972
16379
|
/**
|
|
@@ -17990,47 +16397,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
17990
16397
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
17991
16398
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
17992
16399
|
}
|
|
17993
|
-
|
|
17994
|
-
/**
|
|
17995
|
-
* Search Products
|
|
17996
|
-
* @summary Search Products
|
|
17997
|
-
* @param {number} [pageSize] Number Of Results
|
|
17998
|
-
* @param {number} [page] Page Number
|
|
17999
|
-
* @param {string} [search] Search
|
|
18000
|
-
* @param {*} [options] Override http request option.
|
|
18001
|
-
* @throws {RequiredError}
|
|
18002
|
-
* @memberof ProductsApi
|
|
18003
|
-
*/
|
|
18004
|
-
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
18005
|
-
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
18006
|
-
}
|
|
18007
|
-
|
|
18008
|
-
/**
|
|
18009
|
-
* Get Product
|
|
18010
|
-
* @summary Get Product
|
|
18011
|
-
* @param {string} sku Product SKU
|
|
18012
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
18013
|
-
* @param {*} [options] Override http request option.
|
|
18014
|
-
* @throws {RequiredError}
|
|
18015
|
-
* @memberof ProductsApi
|
|
18016
|
-
*/
|
|
18017
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
18018
|
-
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18019
|
-
}
|
|
18020
|
-
|
|
18021
|
-
/**
|
|
18022
|
-
* Get Product For Customer
|
|
18023
|
-
* @summary Get Product For Customer
|
|
18024
|
-
* @param {number} customerId Customer ID
|
|
18025
|
-
* @param {string} sku Product SKU
|
|
18026
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
18027
|
-
* @param {*} [options] Override http request option.
|
|
18028
|
-
* @throws {RequiredError}
|
|
18029
|
-
* @memberof ProductsApi
|
|
18030
|
-
*/
|
|
18031
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
18032
|
-
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18033
|
-
}
|
|
18034
16400
|
}
|
|
18035
16401
|
|
|
18036
16402
|
/**
|
|
@@ -18371,7 +16737,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18371
16737
|
* @param {*} [options] Override http request option.
|
|
18372
16738
|
* @throws {RequiredError}
|
|
18373
16739
|
*/
|
|
18374
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
16740
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
|
|
18375
16741
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
18376
16742
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18377
16743
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18384,7 +16750,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18384
16750
|
* @param {*} [options] Override http request option.
|
|
18385
16751
|
* @throws {RequiredError}
|
|
18386
16752
|
*/
|
|
18387
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16753
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
|
|
18388
16754
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
18389
16755
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18390
16756
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18463,7 +16829,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18463
16829
|
* @param {*} [options] Override http request option.
|
|
18464
16830
|
* @throws {RequiredError}
|
|
18465
16831
|
*/
|
|
18466
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
16832
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
|
|
18467
16833
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
18468
16834
|
},
|
|
18469
16835
|
/**
|
|
@@ -18473,7 +16839,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18473
16839
|
* @param {*} [options] Override http request option.
|
|
18474
16840
|
* @throws {RequiredError}
|
|
18475
16841
|
*/
|
|
18476
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16842
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
|
|
18477
16843
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
18478
16844
|
},
|
|
18479
16845
|
/**
|
|
@@ -20374,114 +18740,6 @@ export class SMSApi extends BaseAPI {
|
|
|
20374
18740
|
|
|
20375
18741
|
|
|
20376
18742
|
|
|
20377
|
-
/**
|
|
20378
|
-
* ShippingApi - axios parameter creator
|
|
20379
|
-
* @export
|
|
20380
|
-
*/
|
|
20381
|
-
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20382
|
-
return {
|
|
20383
|
-
/**
|
|
20384
|
-
* Get Shipping Services
|
|
20385
|
-
* @summary Get Shipping Services
|
|
20386
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20387
|
-
* @param {*} [options] Override http request option.
|
|
20388
|
-
* @throws {RequiredError}
|
|
20389
|
-
*/
|
|
20390
|
-
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20391
|
-
const localVarPath = `/shipping/services`;
|
|
20392
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20393
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20394
|
-
let baseOptions;
|
|
20395
|
-
if (configuration) {
|
|
20396
|
-
baseOptions = configuration.baseOptions;
|
|
20397
|
-
}
|
|
20398
|
-
|
|
20399
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20400
|
-
const localVarHeaderParameter = {} as any;
|
|
20401
|
-
const localVarQueryParameter = {} as any;
|
|
20402
|
-
|
|
20403
|
-
|
|
20404
|
-
|
|
20405
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20406
|
-
|
|
20407
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20408
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20409
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20410
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
20411
|
-
|
|
20412
|
-
return {
|
|
20413
|
-
url: toPathString(localVarUrlObj),
|
|
20414
|
-
options: localVarRequestOptions,
|
|
20415
|
-
};
|
|
20416
|
-
},
|
|
20417
|
-
}
|
|
20418
|
-
};
|
|
20419
|
-
|
|
20420
|
-
/**
|
|
20421
|
-
* ShippingApi - functional programming interface
|
|
20422
|
-
* @export
|
|
20423
|
-
*/
|
|
20424
|
-
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
20425
|
-
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
|
|
20426
|
-
return {
|
|
20427
|
-
/**
|
|
20428
|
-
* Get Shipping Services
|
|
20429
|
-
* @summary Get Shipping Services
|
|
20430
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20431
|
-
* @param {*} [options] Override http request option.
|
|
20432
|
-
* @throws {RequiredError}
|
|
20433
|
-
*/
|
|
20434
|
-
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
20435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
20436
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20437
|
-
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
20438
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20439
|
-
},
|
|
20440
|
-
}
|
|
20441
|
-
};
|
|
20442
|
-
|
|
20443
|
-
/**
|
|
20444
|
-
* ShippingApi - factory interface
|
|
20445
|
-
* @export
|
|
20446
|
-
*/
|
|
20447
|
-
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20448
|
-
const localVarFp = ShippingApiFp(configuration)
|
|
20449
|
-
return {
|
|
20450
|
-
/**
|
|
20451
|
-
* Get Shipping Services
|
|
20452
|
-
* @summary Get Shipping Services
|
|
20453
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20454
|
-
* @param {*} [options] Override http request option.
|
|
20455
|
-
* @throws {RequiredError}
|
|
20456
|
-
*/
|
|
20457
|
-
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
20458
|
-
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
20459
|
-
},
|
|
20460
|
-
};
|
|
20461
|
-
};
|
|
20462
|
-
|
|
20463
|
-
/**
|
|
20464
|
-
* ShippingApi - object-oriented interface
|
|
20465
|
-
* @export
|
|
20466
|
-
* @class ShippingApi
|
|
20467
|
-
* @extends {BaseAPI}
|
|
20468
|
-
*/
|
|
20469
|
-
export class ShippingApi extends BaseAPI {
|
|
20470
|
-
/**
|
|
20471
|
-
* Get Shipping Services
|
|
20472
|
-
* @summary Get Shipping Services
|
|
20473
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20474
|
-
* @param {*} [options] Override http request option.
|
|
20475
|
-
* @throws {RequiredError}
|
|
20476
|
-
* @memberof ShippingApi
|
|
20477
|
-
*/
|
|
20478
|
-
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
20479
|
-
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
20480
|
-
}
|
|
20481
|
-
}
|
|
20482
|
-
|
|
20483
|
-
|
|
20484
|
-
|
|
20485
18743
|
/**
|
|
20486
18744
|
* StockManagementApi - axios parameter creator
|
|
20487
18745
|
* @export
|
|
@@ -21568,7 +19826,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
21568
19826
|
* @param {*} [options] Override http request option.
|
|
21569
19827
|
* @throws {RequiredError}
|
|
21570
19828
|
*/
|
|
21571
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
19829
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
|
|
21572
19830
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
21573
19831
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21574
19832
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -21871,7 +20129,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
21871
20129
|
* @param {*} [options] Override http request option.
|
|
21872
20130
|
* @throws {RequiredError}
|
|
21873
20131
|
*/
|
|
21874
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
20132
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
|
|
21875
20133
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
21876
20134
|
},
|
|
21877
20135
|
/**
|