yellowgrid-api-ts 3.0.87-dev.0 → 3.0.87
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 +190 -209
- package/README.md +7 -35
- package/api.ts +273 -1825
- 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 +156 -1330
- package/dist/api.js +208 -1060
- 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/Class3CXApi.md +55 -0
- package/docs/ClientDetailsModel.md +2 -0
- package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
- package/docs/ItemDTO.md +4 -10
- package/docs/OrderSummaryDTO.md +0 -8
- package/docs/OrderTotalModel.md +0 -2
- package/docs/OrdersApi.md +4 -301
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
- 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/TcxBackupModel.md +2 -0
- 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 -35
- package/docs/AdminItemRequestDTO.md +0 -37
- package/docs/AdminOrderRequestDTO.md +0 -45
- package/docs/AdminUserModel.md +0 -31
- package/docs/BasicItemDTO.md +0 -23
- package/docs/BasicProductDTO.md +0 -23
- package/docs/CourierPriceEntity.md +0 -39
- package/docs/CustomerItemRequestDTO.md +0 -33
- package/docs/CustomerOrderRequestDTO.md +0 -33
- package/docs/LinkedOrderEntity.md +0 -23
- package/docs/NavigationItemModel.md +0 -27
- 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/SubNavigationItemModel.md +0 -25
- package/docs/TcxSbcDTO.md +0 -31
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;
|
|
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,61 +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
257
|
/**
|
|
362
258
|
* New Account Request
|
|
363
259
|
* @export
|
|
@@ -639,206 +535,6 @@ export interface AddressRequestModel {
|
|
|
639
535
|
*/
|
|
640
536
|
'addressPostcode'?: string;
|
|
641
537
|
}
|
|
642
|
-
/**
|
|
643
|
-
* Admin Order Item Request
|
|
644
|
-
* @export
|
|
645
|
-
* @interface AdminItemRequestDTO
|
|
646
|
-
*/
|
|
647
|
-
export interface AdminItemRequestDTO {
|
|
648
|
-
/**
|
|
649
|
-
* SKU
|
|
650
|
-
* @type {string}
|
|
651
|
-
* @memberof AdminItemRequestDTO
|
|
652
|
-
*/
|
|
653
|
-
'sku'?: string;
|
|
654
|
-
/**
|
|
655
|
-
* Quantity
|
|
656
|
-
* @type {number}
|
|
657
|
-
* @memberof AdminItemRequestDTO
|
|
658
|
-
*/
|
|
659
|
-
'quantity'?: number;
|
|
660
|
-
/**
|
|
661
|
-
* ID
|
|
662
|
-
* @type {number}
|
|
663
|
-
* @memberof AdminItemRequestDTO
|
|
664
|
-
*/
|
|
665
|
-
'id'?: number | null;
|
|
666
|
-
/**
|
|
667
|
-
* 3CX Licence Key
|
|
668
|
-
* @type {string}
|
|
669
|
-
* @memberof AdminItemRequestDTO
|
|
670
|
-
*/
|
|
671
|
-
'licenceKey'?: string | null;
|
|
672
|
-
/**
|
|
673
|
-
* 3CX Hosting
|
|
674
|
-
* @type {boolean}
|
|
675
|
-
* @memberof AdminItemRequestDTO
|
|
676
|
-
*/
|
|
677
|
-
'hosting'?: boolean | null;
|
|
678
|
-
/**
|
|
679
|
-
* Date Time
|
|
680
|
-
* @type {string}
|
|
681
|
-
* @memberof AdminItemRequestDTO
|
|
682
|
-
*/
|
|
683
|
-
'processDate'?: string;
|
|
684
|
-
/**
|
|
685
|
-
* SBCS
|
|
686
|
-
* @type {Array<TcxSbcDTO>}
|
|
687
|
-
* @memberof AdminItemRequestDTO
|
|
688
|
-
*/
|
|
689
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
690
|
-
/**
|
|
691
|
-
* Title
|
|
692
|
-
* @type {string}
|
|
693
|
-
* @memberof AdminItemRequestDTO
|
|
694
|
-
*/
|
|
695
|
-
'title'?: string | null;
|
|
696
|
-
/**
|
|
697
|
-
* Price (£)
|
|
698
|
-
* @type {number}
|
|
699
|
-
* @memberof AdminItemRequestDTO
|
|
700
|
-
*/
|
|
701
|
-
'itemPrice'?: number | null;
|
|
702
|
-
}
|
|
703
|
-
/**
|
|
704
|
-
* Admin Order Request
|
|
705
|
-
* @export
|
|
706
|
-
* @interface AdminOrderRequestDTO
|
|
707
|
-
*/
|
|
708
|
-
export interface AdminOrderRequestDTO {
|
|
709
|
-
/**
|
|
710
|
-
* Order Reference
|
|
711
|
-
* @type {string}
|
|
712
|
-
* @memberof AdminOrderRequestDTO
|
|
713
|
-
*/
|
|
714
|
-
'orderReference'?: string;
|
|
715
|
-
/**
|
|
716
|
-
* Items
|
|
717
|
-
* @type {Array<AdminItemRequestDTO>}
|
|
718
|
-
* @memberof AdminOrderRequestDTO
|
|
719
|
-
*/
|
|
720
|
-
'items'?: Array<AdminItemRequestDTO>;
|
|
721
|
-
/**
|
|
722
|
-
*
|
|
723
|
-
* @type {ShippingServiceDTO}
|
|
724
|
-
* @memberof AdminOrderRequestDTO
|
|
725
|
-
*/
|
|
726
|
-
'shippingService'?: ShippingServiceDTO;
|
|
727
|
-
/**
|
|
728
|
-
* Provisioning URL
|
|
729
|
-
* @type {string}
|
|
730
|
-
* @memberof AdminOrderRequestDTO
|
|
731
|
-
*/
|
|
732
|
-
'provisioningUrl'?: string | null;
|
|
733
|
-
/**
|
|
734
|
-
*
|
|
735
|
-
* @type {AddressModel}
|
|
736
|
-
* @memberof AdminOrderRequestDTO
|
|
737
|
-
*/
|
|
738
|
-
'shippingAddress'?: AddressModel;
|
|
739
|
-
/**
|
|
740
|
-
* Part Ship Order
|
|
741
|
-
* @type {boolean}
|
|
742
|
-
* @memberof AdminOrderRequestDTO
|
|
743
|
-
*/
|
|
744
|
-
'partShip'?: boolean;
|
|
745
|
-
/**
|
|
746
|
-
* Quote
|
|
747
|
-
* @type {boolean}
|
|
748
|
-
* @memberof AdminOrderRequestDTO
|
|
749
|
-
*/
|
|
750
|
-
'quote'?: boolean;
|
|
751
|
-
/**
|
|
752
|
-
* Customer ID
|
|
753
|
-
* @type {number}
|
|
754
|
-
* @memberof AdminOrderRequestDTO
|
|
755
|
-
*/
|
|
756
|
-
'customerId'?: number;
|
|
757
|
-
/**
|
|
758
|
-
* Contact
|
|
759
|
-
* @type {string}
|
|
760
|
-
* @memberof AdminOrderRequestDTO
|
|
761
|
-
*/
|
|
762
|
-
'contact'?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Ignore Customer On Hold
|
|
765
|
-
* @type {boolean}
|
|
766
|
-
* @memberof AdminOrderRequestDTO
|
|
767
|
-
*/
|
|
768
|
-
'ignoreOnHold'?: boolean;
|
|
769
|
-
/**
|
|
770
|
-
* Ignore Customer Credit Limit
|
|
771
|
-
* @type {boolean}
|
|
772
|
-
* @memberof AdminOrderRequestDTO
|
|
773
|
-
*/
|
|
774
|
-
'ignoreCreditLimit'?: boolean;
|
|
775
|
-
/**
|
|
776
|
-
* Include NFR Promos
|
|
777
|
-
* @type {boolean}
|
|
778
|
-
* @memberof AdminOrderRequestDTO
|
|
779
|
-
*/
|
|
780
|
-
'includeNfrPromos'?: boolean;
|
|
781
|
-
/**
|
|
782
|
-
* Carriage Charge
|
|
783
|
-
* @type {number}
|
|
784
|
-
* @memberof AdminOrderRequestDTO
|
|
785
|
-
*/
|
|
786
|
-
'carriageCharge'?: number;
|
|
787
|
-
}
|
|
788
|
-
/**
|
|
789
|
-
* Admin User
|
|
790
|
-
* @export
|
|
791
|
-
* @interface AdminUserModel
|
|
792
|
-
*/
|
|
793
|
-
export interface AdminUserModel {
|
|
794
|
-
/**
|
|
795
|
-
* First Name
|
|
796
|
-
* @type {string}
|
|
797
|
-
* @memberof AdminUserModel
|
|
798
|
-
*/
|
|
799
|
-
'firstName'?: string;
|
|
800
|
-
/**
|
|
801
|
-
* Last Name
|
|
802
|
-
* @type {string}
|
|
803
|
-
* @memberof AdminUserModel
|
|
804
|
-
*/
|
|
805
|
-
'lastName'?: string;
|
|
806
|
-
/**
|
|
807
|
-
* Avatar
|
|
808
|
-
* @type {string}
|
|
809
|
-
* @memberof AdminUserModel
|
|
810
|
-
*/
|
|
811
|
-
'avatar'?: string | null;
|
|
812
|
-
/**
|
|
813
|
-
* Role
|
|
814
|
-
* @type {number}
|
|
815
|
-
* @memberof AdminUserModel
|
|
816
|
-
*/
|
|
817
|
-
'role'?: AdminUserModelRoleEnum;
|
|
818
|
-
/**
|
|
819
|
-
* Navigation
|
|
820
|
-
* @type {Array<NavigationItemModel>}
|
|
821
|
-
* @memberof AdminUserModel
|
|
822
|
-
*/
|
|
823
|
-
'navigation'?: Array<NavigationItemModel>;
|
|
824
|
-
/**
|
|
825
|
-
* Email
|
|
826
|
-
* @type {string}
|
|
827
|
-
* @memberof AdminUserModel
|
|
828
|
-
*/
|
|
829
|
-
'email'?: string | null;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
export const AdminUserModelRoleEnum = {
|
|
833
|
-
NUMBER_0: 0,
|
|
834
|
-
NUMBER_1: 1,
|
|
835
|
-
NUMBER_2: 2,
|
|
836
|
-
NUMBER_3: 3,
|
|
837
|
-
NUMBER_4: 4
|
|
838
|
-
} as const;
|
|
839
|
-
|
|
840
|
-
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
841
|
-
|
|
842
538
|
/**
|
|
843
539
|
* Agent Hours Graph
|
|
844
540
|
* @export
|
|
@@ -1068,44 +764,6 @@ export interface AuthCodeResponseModel {
|
|
|
1068
764
|
*/
|
|
1069
765
|
'redirect_uri'?: string | null;
|
|
1070
766
|
}
|
|
1071
|
-
/**
|
|
1072
|
-
* Basic Order Item
|
|
1073
|
-
* @export
|
|
1074
|
-
* @interface BasicItemDTO
|
|
1075
|
-
*/
|
|
1076
|
-
export interface BasicItemDTO {
|
|
1077
|
-
/**
|
|
1078
|
-
* SKU
|
|
1079
|
-
* @type {string}
|
|
1080
|
-
* @memberof BasicItemDTO
|
|
1081
|
-
*/
|
|
1082
|
-
'sku'?: string;
|
|
1083
|
-
/**
|
|
1084
|
-
* Quantity
|
|
1085
|
-
* @type {number}
|
|
1086
|
-
* @memberof BasicItemDTO
|
|
1087
|
-
*/
|
|
1088
|
-
'quantity'?: number;
|
|
1089
|
-
}
|
|
1090
|
-
/**
|
|
1091
|
-
* Basic Product
|
|
1092
|
-
* @export
|
|
1093
|
-
* @interface BasicProductDTO
|
|
1094
|
-
*/
|
|
1095
|
-
export interface BasicProductDTO {
|
|
1096
|
-
/**
|
|
1097
|
-
* SKU
|
|
1098
|
-
* @type {string}
|
|
1099
|
-
* @memberof BasicProductDTO
|
|
1100
|
-
*/
|
|
1101
|
-
'sku'?: string;
|
|
1102
|
-
/**
|
|
1103
|
-
* Title
|
|
1104
|
-
* @type {string}
|
|
1105
|
-
* @memberof BasicProductDTO
|
|
1106
|
-
*/
|
|
1107
|
-
'title'?: string;
|
|
1108
|
-
}
|
|
1109
767
|
/**
|
|
1110
768
|
* BatchesEntity
|
|
1111
769
|
* @export
|
|
@@ -1300,6 +958,12 @@ export interface ClientDetailsModel {
|
|
|
1300
958
|
* @memberof ClientDetailsModel
|
|
1301
959
|
*/
|
|
1302
960
|
'lastName'?: string;
|
|
961
|
+
/**
|
|
962
|
+
* User Profile Picture
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof ClientDetailsModel
|
|
965
|
+
*/
|
|
966
|
+
'image'?: string | null;
|
|
1303
967
|
}
|
|
1304
968
|
/**
|
|
1305
969
|
* OAuth client details
|
|
@@ -1462,120 +1126,53 @@ export interface ConversationModel {
|
|
|
1462
1126
|
'attachments'?: Array<AttachmentModel>;
|
|
1463
1127
|
}
|
|
1464
1128
|
/**
|
|
1465
|
-
*
|
|
1129
|
+
* Credit Account
|
|
1466
1130
|
* @export
|
|
1467
|
-
* @interface
|
|
1131
|
+
* @interface CreditAccountEntity
|
|
1468
1132
|
*/
|
|
1469
|
-
export interface
|
|
1133
|
+
export interface CreditAccountEntity {
|
|
1470
1134
|
/**
|
|
1471
|
-
*
|
|
1135
|
+
* ID
|
|
1472
1136
|
* @type {number}
|
|
1473
|
-
* @memberof
|
|
1137
|
+
* @memberof CreditAccountEntity
|
|
1474
1138
|
*/
|
|
1475
1139
|
'id'?: number;
|
|
1476
1140
|
/**
|
|
1477
|
-
*
|
|
1141
|
+
* Contact Name
|
|
1478
1142
|
* @type {string}
|
|
1479
|
-
* @memberof
|
|
1143
|
+
* @memberof CreditAccountEntity
|
|
1480
1144
|
*/
|
|
1481
|
-
'
|
|
1145
|
+
'name'?: string;
|
|
1482
1146
|
/**
|
|
1483
|
-
*
|
|
1147
|
+
* Email
|
|
1484
1148
|
* @type {string}
|
|
1485
|
-
* @memberof
|
|
1149
|
+
* @memberof CreditAccountEntity
|
|
1486
1150
|
*/
|
|
1487
|
-
'
|
|
1151
|
+
'email'?: string;
|
|
1488
1152
|
/**
|
|
1489
|
-
*
|
|
1153
|
+
* Phone Number
|
|
1490
1154
|
* @type {string}
|
|
1491
|
-
* @memberof
|
|
1155
|
+
* @memberof CreditAccountEntity
|
|
1492
1156
|
*/
|
|
1493
|
-
'
|
|
1157
|
+
'phone'?: string;
|
|
1494
1158
|
/**
|
|
1495
|
-
*
|
|
1496
|
-
* @type {
|
|
1497
|
-
* @memberof
|
|
1159
|
+
* Company Name
|
|
1160
|
+
* @type {string}
|
|
1161
|
+
* @memberof CreditAccountEntity
|
|
1498
1162
|
*/
|
|
1499
|
-
'
|
|
1163
|
+
'company'?: string;
|
|
1500
1164
|
/**
|
|
1501
|
-
*
|
|
1502
|
-
* @type {
|
|
1503
|
-
* @memberof
|
|
1165
|
+
* Company Registration Number
|
|
1166
|
+
* @type {string}
|
|
1167
|
+
* @memberof CreditAccountEntity
|
|
1504
1168
|
*/
|
|
1505
|
-
'
|
|
1169
|
+
'companyNumber'?: string;
|
|
1506
1170
|
/**
|
|
1507
|
-
*
|
|
1508
|
-
* @type {
|
|
1509
|
-
* @memberof
|
|
1171
|
+
* VAT Number
|
|
1172
|
+
* @type {string}
|
|
1173
|
+
* @memberof CreditAccountEntity
|
|
1510
1174
|
*/
|
|
1511
|
-
'
|
|
1512
|
-
/**
|
|
1513
|
-
* perBox
|
|
1514
|
-
* @type {number}
|
|
1515
|
-
* @memberof CourierPriceEntity
|
|
1516
|
-
*/
|
|
1517
|
-
'perBox'?: number;
|
|
1518
|
-
/**
|
|
1519
|
-
* perKg
|
|
1520
|
-
* @type {number}
|
|
1521
|
-
* @memberof CourierPriceEntity
|
|
1522
|
-
*/
|
|
1523
|
-
'perKg'?: number;
|
|
1524
|
-
/**
|
|
1525
|
-
* maxKg
|
|
1526
|
-
* @type {number}
|
|
1527
|
-
* @memberof CourierPriceEntity
|
|
1528
|
-
*/
|
|
1529
|
-
'maxKg'?: number;
|
|
1530
|
-
}
|
|
1531
|
-
/**
|
|
1532
|
-
* Credit Account
|
|
1533
|
-
* @export
|
|
1534
|
-
* @interface CreditAccountEntity
|
|
1535
|
-
*/
|
|
1536
|
-
export interface CreditAccountEntity {
|
|
1537
|
-
/**
|
|
1538
|
-
* ID
|
|
1539
|
-
* @type {number}
|
|
1540
|
-
* @memberof CreditAccountEntity
|
|
1541
|
-
*/
|
|
1542
|
-
'id'?: number;
|
|
1543
|
-
/**
|
|
1544
|
-
* Contact Name
|
|
1545
|
-
* @type {string}
|
|
1546
|
-
* @memberof CreditAccountEntity
|
|
1547
|
-
*/
|
|
1548
|
-
'name'?: string;
|
|
1549
|
-
/**
|
|
1550
|
-
* Email
|
|
1551
|
-
* @type {string}
|
|
1552
|
-
* @memberof CreditAccountEntity
|
|
1553
|
-
*/
|
|
1554
|
-
'email'?: string;
|
|
1555
|
-
/**
|
|
1556
|
-
* Phone Number
|
|
1557
|
-
* @type {string}
|
|
1558
|
-
* @memberof CreditAccountEntity
|
|
1559
|
-
*/
|
|
1560
|
-
'phone'?: string;
|
|
1561
|
-
/**
|
|
1562
|
-
* Company Name
|
|
1563
|
-
* @type {string}
|
|
1564
|
-
* @memberof CreditAccountEntity
|
|
1565
|
-
*/
|
|
1566
|
-
'company'?: string;
|
|
1567
|
-
/**
|
|
1568
|
-
* Company Registration Number
|
|
1569
|
-
* @type {string}
|
|
1570
|
-
* @memberof CreditAccountEntity
|
|
1571
|
-
*/
|
|
1572
|
-
'companyNumber'?: string;
|
|
1573
|
-
/**
|
|
1574
|
-
* VAT Number
|
|
1575
|
-
* @type {string}
|
|
1576
|
-
* @memberof CreditAccountEntity
|
|
1577
|
-
*/
|
|
1578
|
-
'vatNumber'?: string;
|
|
1175
|
+
'vatNumber'?: string;
|
|
1579
1176
|
/**
|
|
1580
1177
|
* Address Line 1
|
|
1581
1178
|
* @type {string}
|
|
@@ -1710,104 +1307,6 @@ export interface CustomerInformationModel {
|
|
|
1710
1307
|
*/
|
|
1711
1308
|
'contactLastName'?: string;
|
|
1712
1309
|
}
|
|
1713
|
-
/**
|
|
1714
|
-
* Order Item Request
|
|
1715
|
-
* @export
|
|
1716
|
-
* @interface CustomerItemRequestDTO
|
|
1717
|
-
*/
|
|
1718
|
-
export interface CustomerItemRequestDTO {
|
|
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;
|
|
1731
|
-
/**
|
|
1732
|
-
* ID
|
|
1733
|
-
* @type {number}
|
|
1734
|
-
* @memberof CustomerItemRequestDTO
|
|
1735
|
-
*/
|
|
1736
|
-
'id'?: number | null;
|
|
1737
|
-
/**
|
|
1738
|
-
* 3CX Licence Key
|
|
1739
|
-
* @type {string}
|
|
1740
|
-
* @memberof CustomerItemRequestDTO
|
|
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
|
-
* SBCS
|
|
1757
|
-
* @type {Array<TcxSbcDTO>}
|
|
1758
|
-
* @memberof CustomerItemRequestDTO
|
|
1759
|
-
*/
|
|
1760
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
1761
|
-
}
|
|
1762
|
-
/**
|
|
1763
|
-
* Order Request
|
|
1764
|
-
* @export
|
|
1765
|
-
* @interface CustomerOrderRequestDTO
|
|
1766
|
-
*/
|
|
1767
|
-
export interface CustomerOrderRequestDTO {
|
|
1768
|
-
/**
|
|
1769
|
-
* Order Reference
|
|
1770
|
-
* @type {string}
|
|
1771
|
-
* @memberof CustomerOrderRequestDTO
|
|
1772
|
-
*/
|
|
1773
|
-
'orderReference'?: string;
|
|
1774
|
-
/**
|
|
1775
|
-
* Items
|
|
1776
|
-
* @type {Array<CustomerItemRequestDTO>}
|
|
1777
|
-
* @memberof CustomerOrderRequestDTO
|
|
1778
|
-
*/
|
|
1779
|
-
'items'?: Array<CustomerItemRequestDTO>;
|
|
1780
|
-
/**
|
|
1781
|
-
*
|
|
1782
|
-
* @type {ShippingServiceDTO}
|
|
1783
|
-
* @memberof CustomerOrderRequestDTO
|
|
1784
|
-
*/
|
|
1785
|
-
'shippingService'?: ShippingServiceDTO;
|
|
1786
|
-
/**
|
|
1787
|
-
* Provisioning URL
|
|
1788
|
-
* @type {string}
|
|
1789
|
-
* @memberof CustomerOrderRequestDTO
|
|
1790
|
-
*/
|
|
1791
|
-
'provisioningUrl'?: string | null;
|
|
1792
|
-
/**
|
|
1793
|
-
*
|
|
1794
|
-
* @type {AddressModel}
|
|
1795
|
-
* @memberof CustomerOrderRequestDTO
|
|
1796
|
-
*/
|
|
1797
|
-
'shippingAddress'?: AddressModel;
|
|
1798
|
-
/**
|
|
1799
|
-
* Part Ship Order
|
|
1800
|
-
* @type {boolean}
|
|
1801
|
-
* @memberof CustomerOrderRequestDTO
|
|
1802
|
-
*/
|
|
1803
|
-
'partShip'?: boolean;
|
|
1804
|
-
/**
|
|
1805
|
-
* Quote
|
|
1806
|
-
* @type {boolean}
|
|
1807
|
-
* @memberof CustomerOrderRequestDTO
|
|
1808
|
-
*/
|
|
1809
|
-
'quote'?: boolean;
|
|
1810
|
-
}
|
|
1811
1310
|
/**
|
|
1812
1311
|
* Customer Price List
|
|
1813
1312
|
* @export
|
|
@@ -2317,6 +1816,19 @@ export interface GenericFileModel {
|
|
|
2317
1816
|
*/
|
|
2318
1817
|
'type'?: string;
|
|
2319
1818
|
}
|
|
1819
|
+
/**
|
|
1820
|
+
*
|
|
1821
|
+
* @export
|
|
1822
|
+
* @interface GetGetPasswordHash200Response
|
|
1823
|
+
*/
|
|
1824
|
+
export interface GetGetPasswordHash200Response {
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @type {string}
|
|
1828
|
+
* @memberof GetGetPasswordHash200Response
|
|
1829
|
+
*/
|
|
1830
|
+
'hash'?: string;
|
|
1831
|
+
}
|
|
2320
1832
|
/**
|
|
2321
1833
|
*
|
|
2322
1834
|
* @export
|
|
@@ -2877,36 +2389,36 @@ export interface InstanceUserCredentialsEntity {
|
|
|
2877
2389
|
* @interface ItemDTO
|
|
2878
2390
|
*/
|
|
2879
2391
|
export interface ItemDTO {
|
|
2880
|
-
/**
|
|
2881
|
-
* SKU
|
|
2882
|
-
* @type {string}
|
|
2883
|
-
* @memberof ItemDTO
|
|
2884
|
-
*/
|
|
2885
|
-
'sku'?: string;
|
|
2886
|
-
/**
|
|
2887
|
-
* Quantity
|
|
2888
|
-
* @type {number}
|
|
2889
|
-
* @memberof ItemDTO
|
|
2890
|
-
*/
|
|
2891
|
-
'quantity'?: number;
|
|
2892
2392
|
/**
|
|
2893
2393
|
* ID
|
|
2894
2394
|
* @type {number}
|
|
2895
2395
|
* @memberof ItemDTO
|
|
2896
2396
|
*/
|
|
2897
|
-
'id'?: number
|
|
2397
|
+
'id'?: number;
|
|
2898
2398
|
/**
|
|
2899
2399
|
* Order ID
|
|
2900
2400
|
* @type {number}
|
|
2901
2401
|
* @memberof ItemDTO
|
|
2902
2402
|
*/
|
|
2903
|
-
'orderId'?: number
|
|
2403
|
+
'orderId'?: number;
|
|
2904
2404
|
/**
|
|
2905
2405
|
* Title
|
|
2906
2406
|
* @type {string}
|
|
2907
2407
|
* @memberof ItemDTO
|
|
2908
2408
|
*/
|
|
2909
2409
|
'title'?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* SKU
|
|
2412
|
+
* @type {string}
|
|
2413
|
+
* @memberof ItemDTO
|
|
2414
|
+
*/
|
|
2415
|
+
'sku'?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Quantity
|
|
2418
|
+
* @type {number}
|
|
2419
|
+
* @memberof ItemDTO
|
|
2420
|
+
*/
|
|
2421
|
+
'quantity'?: number;
|
|
2910
2422
|
/**
|
|
2911
2423
|
* Price
|
|
2912
2424
|
* @type {number}
|
|
@@ -2931,12 +2443,6 @@ export interface ItemDTO {
|
|
|
2931
2443
|
* @memberof ItemDTO
|
|
2932
2444
|
*/
|
|
2933
2445
|
'processDate'?: string;
|
|
2934
|
-
/**
|
|
2935
|
-
* 3CX Hosting
|
|
2936
|
-
* @type {boolean}
|
|
2937
|
-
* @memberof ItemDTO
|
|
2938
|
-
*/
|
|
2939
|
-
'hosting'?: boolean | null;
|
|
2940
2446
|
/**
|
|
2941
2447
|
* Promo Item
|
|
2942
2448
|
* @type {boolean}
|
|
@@ -2948,19 +2454,7 @@ export interface ItemDTO {
|
|
|
2948
2454
|
* @type {number}
|
|
2949
2455
|
* @memberof ItemDTO
|
|
2950
2456
|
*/
|
|
2951
|
-
'refunded'?: number
|
|
2952
|
-
/**
|
|
2953
|
-
* SBCs
|
|
2954
|
-
* @type {Array<TcxSbcDTO>}
|
|
2955
|
-
* @memberof ItemDTO
|
|
2956
|
-
*/
|
|
2957
|
-
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
2958
|
-
/**
|
|
2959
|
-
* Readonly
|
|
2960
|
-
* @type {boolean}
|
|
2961
|
-
* @memberof ItemDTO
|
|
2962
|
-
*/
|
|
2963
|
-
'readonly'?: boolean;
|
|
2457
|
+
'refunded'?: number;
|
|
2964
2458
|
}
|
|
2965
2459
|
/**
|
|
2966
2460
|
* ItemsEntity
|
|
@@ -3095,25 +2589,6 @@ export interface ItemEntity {
|
|
|
3095
2589
|
*/
|
|
3096
2590
|
'promoItem'?: number;
|
|
3097
2591
|
}
|
|
3098
|
-
/**
|
|
3099
|
-
* LinkedOrdersEntity
|
|
3100
|
-
* @export
|
|
3101
|
-
* @interface LinkedOrderEntity
|
|
3102
|
-
*/
|
|
3103
|
-
export interface LinkedOrderEntity {
|
|
3104
|
-
/**
|
|
3105
|
-
* orderId
|
|
3106
|
-
* @type {number}
|
|
3107
|
-
* @memberof LinkedOrderEntity
|
|
3108
|
-
*/
|
|
3109
|
-
'orderId'?: number;
|
|
3110
|
-
/**
|
|
3111
|
-
* linkedOrderId
|
|
3112
|
-
* @type {number}
|
|
3113
|
-
* @memberof LinkedOrderEntity
|
|
3114
|
-
*/
|
|
3115
|
-
'linkedOrderId'?: number;
|
|
3116
|
-
}
|
|
3117
2592
|
/**
|
|
3118
2593
|
* MFA Required
|
|
3119
2594
|
* @export
|
|
@@ -3203,37 +2678,6 @@ export const MultiTenantChangeResponseModelTypeEnum = {
|
|
|
3203
2678
|
|
|
3204
2679
|
export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
|
|
3205
2680
|
|
|
3206
|
-
/**
|
|
3207
|
-
* POPS Navigation Item
|
|
3208
|
-
* @export
|
|
3209
|
-
* @interface NavigationItemModel
|
|
3210
|
-
*/
|
|
3211
|
-
export interface NavigationItemModel {
|
|
3212
|
-
/**
|
|
3213
|
-
* Title
|
|
3214
|
-
* @type {string}
|
|
3215
|
-
* @memberof NavigationItemModel
|
|
3216
|
-
*/
|
|
3217
|
-
'title'?: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* URL
|
|
3220
|
-
* @type {string}
|
|
3221
|
-
* @memberof NavigationItemModel
|
|
3222
|
-
*/
|
|
3223
|
-
'url'?: string | null;
|
|
3224
|
-
/**
|
|
3225
|
-
* Icon (Font Awesome)
|
|
3226
|
-
* @type {string}
|
|
3227
|
-
* @memberof NavigationItemModel
|
|
3228
|
-
*/
|
|
3229
|
-
'icon'?: string;
|
|
3230
|
-
/**
|
|
3231
|
-
* Sub Navigation
|
|
3232
|
-
* @type {Array<SubNavigationItemModel>}
|
|
3233
|
-
* @memberof NavigationItemModel
|
|
3234
|
-
*/
|
|
3235
|
-
'items'?: Array<SubNavigationItemModel>;
|
|
3236
|
-
}
|
|
3237
2681
|
/**
|
|
3238
2682
|
* Navigation Endpoint
|
|
3239
2683
|
* @export
|
|
@@ -3811,12 +3255,6 @@ export interface OrderSummaryDTO {
|
|
|
3811
3255
|
* @memberof OrderSummaryDTO
|
|
3812
3256
|
*/
|
|
3813
3257
|
'invoiceNumber'?: string;
|
|
3814
|
-
/**
|
|
3815
|
-
* Invoice ID
|
|
3816
|
-
* @type {string}
|
|
3817
|
-
* @memberof OrderSummaryDTO
|
|
3818
|
-
*/
|
|
3819
|
-
'invoiceId'?: string | null;
|
|
3820
3258
|
/**
|
|
3821
3259
|
* Date Time
|
|
3822
3260
|
* @type {string}
|
|
@@ -3871,24 +3309,6 @@ export interface OrderSummaryDTO {
|
|
|
3871
3309
|
* @memberof OrderSummaryDTO
|
|
3872
3310
|
*/
|
|
3873
3311
|
'fulfillable'?: boolean | null;
|
|
3874
|
-
/**
|
|
3875
|
-
* Provisioning URL
|
|
3876
|
-
* @type {string}
|
|
3877
|
-
* @memberof OrderSummaryDTO
|
|
3878
|
-
*/
|
|
3879
|
-
'provisioningUrl'?: string | null;
|
|
3880
|
-
/**
|
|
3881
|
-
*
|
|
3882
|
-
* @type {ShippingServiceDTO}
|
|
3883
|
-
* @memberof OrderSummaryDTO
|
|
3884
|
-
*/
|
|
3885
|
-
'shippingService'?: ShippingServiceDTO | null;
|
|
3886
|
-
/**
|
|
3887
|
-
* Readonly
|
|
3888
|
-
* @type {boolean}
|
|
3889
|
-
* @memberof OrderSummaryDTO
|
|
3890
|
-
*/
|
|
3891
|
-
'readonly'?: boolean;
|
|
3892
3312
|
}
|
|
3893
3313
|
/**
|
|
3894
3314
|
* Order Totals
|
|
@@ -3938,12 +3358,6 @@ export interface OrderTotalModel {
|
|
|
3938
3358
|
* @memberof OrderTotalModel
|
|
3939
3359
|
*/
|
|
3940
3360
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
3941
|
-
/**
|
|
3942
|
-
* Delivery
|
|
3943
|
-
* @type {number}
|
|
3944
|
-
* @memberof OrderTotalModel
|
|
3945
|
-
*/
|
|
3946
|
-
'delivery'?: number | null;
|
|
3947
3361
|
}
|
|
3948
3362
|
|
|
3949
3363
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -4325,31 +3739,6 @@ export interface PostGetClientCredentialsRequest {
|
|
|
4325
3739
|
*/
|
|
4326
3740
|
'scopes'?: Array<string>;
|
|
4327
3741
|
}
|
|
4328
|
-
/**
|
|
4329
|
-
*
|
|
4330
|
-
* @export
|
|
4331
|
-
* @interface PostGetProductForCustomerRequest
|
|
4332
|
-
*/
|
|
4333
|
-
export interface PostGetProductForCustomerRequest {
|
|
4334
|
-
/**
|
|
4335
|
-
* Quantity
|
|
4336
|
-
* @type {number}
|
|
4337
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4338
|
-
*/
|
|
4339
|
-
'quantity'?: number | null;
|
|
4340
|
-
/**
|
|
4341
|
-
* 3CX Licence Key
|
|
4342
|
-
* @type {string}
|
|
4343
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4344
|
-
*/
|
|
4345
|
-
'licenceKey'?: string | null;
|
|
4346
|
-
/**
|
|
4347
|
-
* 3CX Hosting
|
|
4348
|
-
* @type {boolean}
|
|
4349
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4350
|
-
*/
|
|
4351
|
-
'hosting'?: boolean | null;
|
|
4352
|
-
}
|
|
4353
3742
|
/**
|
|
4354
3743
|
* Price & Stock List
|
|
4355
3744
|
* @export
|
|
@@ -4438,10 +3827,10 @@ export interface PrizesEntity {
|
|
|
4438
3827
|
export interface ProductSearchResultsModel {
|
|
4439
3828
|
/**
|
|
4440
3829
|
* Results
|
|
4441
|
-
* @type {Array<
|
|
3830
|
+
* @type {Array<ProductSummaryModel>}
|
|
4442
3831
|
* @memberof ProductSearchResultsModel
|
|
4443
3832
|
*/
|
|
4444
|
-
'results'?: Array<
|
|
3833
|
+
'results'?: Array<ProductSummaryModel>;
|
|
4445
3834
|
}
|
|
4446
3835
|
/**
|
|
4447
3836
|
* Product Serial Info
|
|
@@ -4477,51 +3866,45 @@ export interface ProductSerialInfoModel {
|
|
|
4477
3866
|
/**
|
|
4478
3867
|
* Product Summary
|
|
4479
3868
|
* @export
|
|
4480
|
-
* @interface
|
|
3869
|
+
* @interface ProductSummaryModel
|
|
4481
3870
|
*/
|
|
4482
|
-
export interface
|
|
3871
|
+
export interface ProductSummaryModel {
|
|
4483
3872
|
/**
|
|
4484
3873
|
* SKU
|
|
4485
3874
|
* @type {string}
|
|
4486
|
-
* @memberof
|
|
3875
|
+
* @memberof ProductSummaryModel
|
|
4487
3876
|
*/
|
|
4488
3877
|
'sku'?: string;
|
|
4489
3878
|
/**
|
|
4490
3879
|
* Title
|
|
4491
3880
|
* @type {string}
|
|
4492
|
-
* @memberof
|
|
3881
|
+
* @memberof ProductSummaryModel
|
|
4493
3882
|
*/
|
|
4494
3883
|
'title'?: string;
|
|
4495
3884
|
/**
|
|
4496
3885
|
* Stock Quantity
|
|
4497
3886
|
* @type {number}
|
|
4498
|
-
* @memberof
|
|
3887
|
+
* @memberof ProductSummaryModel
|
|
4499
3888
|
*/
|
|
4500
3889
|
'quantity'?: number | null;
|
|
4501
3890
|
/**
|
|
4502
3891
|
* Stock Product
|
|
4503
3892
|
* @type {boolean}
|
|
4504
|
-
* @memberof
|
|
3893
|
+
* @memberof ProductSummaryModel
|
|
4505
3894
|
*/
|
|
4506
3895
|
'stockProduct'?: boolean;
|
|
4507
3896
|
/**
|
|
4508
3897
|
* Price
|
|
4509
3898
|
* @type {number}
|
|
4510
|
-
* @memberof
|
|
3899
|
+
* @memberof ProductSummaryModel
|
|
4511
3900
|
*/
|
|
4512
3901
|
'price'?: number | null;
|
|
4513
3902
|
/**
|
|
4514
3903
|
* Carton Size
|
|
4515
3904
|
* @type {number}
|
|
4516
|
-
* @memberof
|
|
3905
|
+
* @memberof ProductSummaryModel
|
|
4517
3906
|
*/
|
|
4518
3907
|
'cartonSize'?: number | null;
|
|
4519
|
-
/**
|
|
4520
|
-
* RRP Price
|
|
4521
|
-
* @type {number}
|
|
4522
|
-
* @memberof ProductSummaryDTO
|
|
4523
|
-
*/
|
|
4524
|
-
'rrp'?: number | null;
|
|
4525
3908
|
}
|
|
4526
3909
|
/**
|
|
4527
3910
|
* PromoCodesEntity
|
|
@@ -4660,37 +4043,37 @@ export interface PromoItemsEntity {
|
|
|
4660
4043
|
/**
|
|
4661
4044
|
* Provisioning Group
|
|
4662
4045
|
* @export
|
|
4663
|
-
* @interface
|
|
4046
|
+
* @interface ProvisioningEntity
|
|
4664
4047
|
*/
|
|
4665
|
-
export interface
|
|
4048
|
+
export interface ProvisioningEntity {
|
|
4666
4049
|
/**
|
|
4667
4050
|
* Provisioning Group Name
|
|
4668
4051
|
* @type {string}
|
|
4669
|
-
* @memberof
|
|
4052
|
+
* @memberof ProvisioningEntity
|
|
4670
4053
|
*/
|
|
4671
4054
|
'groupName'?: string;
|
|
4672
4055
|
/**
|
|
4673
4056
|
* Provisioning URL (Static Provisioning Server)
|
|
4674
4057
|
* @type {string}
|
|
4675
|
-
* @memberof
|
|
4058
|
+
* @memberof ProvisioningEntity
|
|
4676
4059
|
*/
|
|
4677
4060
|
'provisioningUrl'?: string;
|
|
4678
4061
|
/**
|
|
4679
4062
|
* Additional Authentication Secret
|
|
4680
4063
|
* @type {string}
|
|
4681
|
-
* @memberof
|
|
4064
|
+
* @memberof ProvisioningEntity
|
|
4682
4065
|
*/
|
|
4683
4066
|
'auth'?: string;
|
|
4684
4067
|
/**
|
|
4685
4068
|
* Provisioning Group ID
|
|
4686
4069
|
* @type {number}
|
|
4687
|
-
* @memberof
|
|
4070
|
+
* @memberof ProvisioningEntity
|
|
4688
4071
|
*/
|
|
4689
4072
|
'id'?: number;
|
|
4690
4073
|
/**
|
|
4691
4074
|
* Owner ID
|
|
4692
4075
|
* @type {number}
|
|
4693
|
-
* @memberof
|
|
4076
|
+
* @memberof ProvisioningEntity
|
|
4694
4077
|
*/
|
|
4695
4078
|
'customerId'?: number;
|
|
4696
4079
|
}
|
|
@@ -4963,7 +4346,7 @@ export interface ShipmentEntity {
|
|
|
4963
4346
|
* @type {string}
|
|
4964
4347
|
* @memberof ShipmentEntity
|
|
4965
4348
|
*/
|
|
4966
|
-
'
|
|
4349
|
+
'date'?: string;
|
|
4967
4350
|
/**
|
|
4968
4351
|
* requestDate
|
|
4969
4352
|
* @type {string}
|
|
@@ -5015,176 +4398,27 @@ export interface ShipmentItemEntity {
|
|
|
5015
4398
|
'itemId'?: string;
|
|
5016
4399
|
}
|
|
5017
4400
|
/**
|
|
5018
|
-
*
|
|
4401
|
+
* Change Response
|
|
5019
4402
|
* @export
|
|
5020
|
-
* @interface
|
|
4403
|
+
* @interface SipTrunkChangeResponseModel
|
|
5021
4404
|
*/
|
|
5022
|
-
export interface
|
|
4405
|
+
export interface SipTrunkChangeResponseModel {
|
|
4406
|
+
/**
|
|
4407
|
+
* ID
|
|
4408
|
+
* @type {string}
|
|
4409
|
+
* @memberof SipTrunkChangeResponseModel
|
|
4410
|
+
*/
|
|
4411
|
+
'changeId'?: string;
|
|
5023
4412
|
/**
|
|
5024
4413
|
*
|
|
5025
|
-
* @type {
|
|
5026
|
-
* @memberof
|
|
4414
|
+
* @type {SipTrunkEntity}
|
|
4415
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5027
4416
|
*/
|
|
5028
|
-
'
|
|
4417
|
+
'trunk'?: SipTrunkEntity;
|
|
5029
4418
|
/**
|
|
5030
|
-
*
|
|
4419
|
+
* Type
|
|
5031
4420
|
* @type {string}
|
|
5032
|
-
* @memberof
|
|
5033
|
-
*/
|
|
5034
|
-
'id'?: string;
|
|
5035
|
-
/**
|
|
5036
|
-
* Tracking Number
|
|
5037
|
-
* @type {string}
|
|
5038
|
-
* @memberof ShippingConsignmentModel
|
|
5039
|
-
*/
|
|
5040
|
-
'trackingNumber'?: string;
|
|
5041
|
-
/**
|
|
5042
|
-
* Parcels
|
|
5043
|
-
* @type {Array<string>}
|
|
5044
|
-
* @memberof ShippingConsignmentModel
|
|
5045
|
-
*/
|
|
5046
|
-
'parcelIds'?: Array<string>;
|
|
5047
|
-
}
|
|
5048
|
-
/**
|
|
5049
|
-
* Shipping Information
|
|
5050
|
-
* @export
|
|
5051
|
-
* @interface ShippingInformationDTO
|
|
5052
|
-
*/
|
|
5053
|
-
export interface ShippingInformationDTO {
|
|
5054
|
-
/**
|
|
5055
|
-
* Items
|
|
5056
|
-
* @type {Array<BasicItemDTO>}
|
|
5057
|
-
* @memberof ShippingInformationDTO
|
|
5058
|
-
*/
|
|
5059
|
-
'items'?: Array<BasicItemDTO>;
|
|
5060
|
-
/**
|
|
5061
|
-
* Destination Post Code
|
|
5062
|
-
* @type {string}
|
|
5063
|
-
* @memberof ShippingInformationDTO
|
|
5064
|
-
*/
|
|
5065
|
-
'postalCode'?: string;
|
|
5066
|
-
/**
|
|
5067
|
-
* Destination ISO
|
|
5068
|
-
* @type {string}
|
|
5069
|
-
* @memberof ShippingInformationDTO
|
|
5070
|
-
*/
|
|
5071
|
-
'iso'?: string;
|
|
5072
|
-
}
|
|
5073
|
-
/**
|
|
5074
|
-
* Shipping Service
|
|
5075
|
-
* @export
|
|
5076
|
-
* @interface ShippingServiceDTO
|
|
5077
|
-
*/
|
|
5078
|
-
export interface ShippingServiceDTO {
|
|
5079
|
-
/**
|
|
5080
|
-
* Courier
|
|
5081
|
-
* @type {string}
|
|
5082
|
-
* @memberof ShippingServiceDTO
|
|
5083
|
-
*/
|
|
5084
|
-
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5085
|
-
/**
|
|
5086
|
-
* Service Name
|
|
5087
|
-
* @type {string}
|
|
5088
|
-
* @memberof ShippingServiceDTO
|
|
5089
|
-
*/
|
|
5090
|
-
'serviceName'?: string;
|
|
5091
|
-
}
|
|
5092
|
-
|
|
5093
|
-
export const ShippingServiceDTOCourierEnum = {
|
|
5094
|
-
Dpd: 'DPD',
|
|
5095
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5096
|
-
Pops: 'POPS'
|
|
5097
|
-
} as const;
|
|
5098
|
-
|
|
5099
|
-
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5100
|
-
|
|
5101
|
-
/**
|
|
5102
|
-
* Shipping Service
|
|
5103
|
-
* @export
|
|
5104
|
-
* @interface ShippingServiceModel
|
|
5105
|
-
*/
|
|
5106
|
-
export interface ShippingServiceModel {
|
|
5107
|
-
/**
|
|
5108
|
-
* Courier
|
|
5109
|
-
* @type {string}
|
|
5110
|
-
* @memberof ShippingServiceModel
|
|
5111
|
-
*/
|
|
5112
|
-
'courier'?: ShippingServiceModelCourierEnum;
|
|
5113
|
-
/**
|
|
5114
|
-
* Code
|
|
5115
|
-
* @type {string}
|
|
5116
|
-
* @memberof ShippingServiceModel
|
|
5117
|
-
*/
|
|
5118
|
-
'code'?: string;
|
|
5119
|
-
/**
|
|
5120
|
-
* Name
|
|
5121
|
-
* @type {string}
|
|
5122
|
-
* @memberof ShippingServiceModel
|
|
5123
|
-
*/
|
|
5124
|
-
'name'?: string;
|
|
5125
|
-
/**
|
|
5126
|
-
* Description
|
|
5127
|
-
* @type {string}
|
|
5128
|
-
* @memberof ShippingServiceModel
|
|
5129
|
-
*/
|
|
5130
|
-
'description'?: string;
|
|
5131
|
-
/**
|
|
5132
|
-
* Label
|
|
5133
|
-
* @type {string}
|
|
5134
|
-
* @memberof ShippingServiceModel
|
|
5135
|
-
*/
|
|
5136
|
-
'label'?: string | null;
|
|
5137
|
-
/**
|
|
5138
|
-
* Price
|
|
5139
|
-
* @type {number}
|
|
5140
|
-
* @memberof ShippingServiceModel
|
|
5141
|
-
*/
|
|
5142
|
-
'price'?: number | null;
|
|
5143
|
-
}
|
|
5144
|
-
|
|
5145
|
-
export const ShippingServiceModelCourierEnum = {
|
|
5146
|
-
Dpd: 'DPD',
|
|
5147
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5148
|
-
Pops: 'POPS'
|
|
5149
|
-
} as const;
|
|
5150
|
-
|
|
5151
|
-
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5152
|
-
|
|
5153
|
-
/**
|
|
5154
|
-
*
|
|
5155
|
-
* @export
|
|
5156
|
-
* @interface ShippingServicesModel
|
|
5157
|
-
*/
|
|
5158
|
-
export interface ShippingServicesModel {
|
|
5159
|
-
/**
|
|
5160
|
-
* Services
|
|
5161
|
-
* @type {Array<ShippingServiceModel>}
|
|
5162
|
-
* @memberof ShippingServicesModel
|
|
5163
|
-
*/
|
|
5164
|
-
'services'?: Array<ShippingServiceModel>;
|
|
5165
|
-
}
|
|
5166
|
-
/**
|
|
5167
|
-
* Change Response
|
|
5168
|
-
* @export
|
|
5169
|
-
* @interface SipTrunkChangeResponseModel
|
|
5170
|
-
*/
|
|
5171
|
-
export interface SipTrunkChangeResponseModel {
|
|
5172
|
-
/**
|
|
5173
|
-
* ID
|
|
5174
|
-
* @type {string}
|
|
5175
|
-
* @memberof SipTrunkChangeResponseModel
|
|
5176
|
-
*/
|
|
5177
|
-
'changeId'?: string;
|
|
5178
|
-
/**
|
|
5179
|
-
*
|
|
5180
|
-
* @type {SipTrunkEntity}
|
|
5181
|
-
* @memberof SipTrunkChangeResponseModel
|
|
5182
|
-
*/
|
|
5183
|
-
'trunk'?: SipTrunkEntity;
|
|
5184
|
-
/**
|
|
5185
|
-
* Type
|
|
5186
|
-
* @type {string}
|
|
5187
|
-
* @memberof SipTrunkChangeResponseModel
|
|
4421
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5188
4422
|
*/
|
|
5189
4423
|
'type'?: SipTrunkChangeResponseModelTypeEnum;
|
|
5190
4424
|
/**
|
|
@@ -6584,31 +5818,6 @@ export interface StockTransactionsEntity {
|
|
|
6584
5818
|
*/
|
|
6585
5819
|
'user'?: number;
|
|
6586
5820
|
}
|
|
6587
|
-
/**
|
|
6588
|
-
* POPS Sub Navigation Item
|
|
6589
|
-
* @export
|
|
6590
|
-
* @interface SubNavigationItemModel
|
|
6591
|
-
*/
|
|
6592
|
-
export interface SubNavigationItemModel {
|
|
6593
|
-
/**
|
|
6594
|
-
* Title
|
|
6595
|
-
* @type {string}
|
|
6596
|
-
* @memberof SubNavigationItemModel
|
|
6597
|
-
*/
|
|
6598
|
-
'title'?: string;
|
|
6599
|
-
/**
|
|
6600
|
-
* URL
|
|
6601
|
-
* @type {string}
|
|
6602
|
-
* @memberof SubNavigationItemModel
|
|
6603
|
-
*/
|
|
6604
|
-
'url'?: string;
|
|
6605
|
-
/**
|
|
6606
|
-
* Icon (Font Awesome)
|
|
6607
|
-
* @type {string}
|
|
6608
|
-
* @memberof SubNavigationItemModel
|
|
6609
|
-
*/
|
|
6610
|
-
'icon'?: string | null;
|
|
6611
|
-
}
|
|
6612
5821
|
/**
|
|
6613
5822
|
* SuppliersEntity
|
|
6614
5823
|
* @export
|
|
@@ -6900,6 +6109,12 @@ export interface TcxBackupModel {
|
|
|
6900
6109
|
* @memberof TcxBackupModel
|
|
6901
6110
|
*/
|
|
6902
6111
|
'phone'?: string | null;
|
|
6112
|
+
/**
|
|
6113
|
+
* Company Name
|
|
6114
|
+
* @type {string}
|
|
6115
|
+
* @memberof TcxBackupModel
|
|
6116
|
+
*/
|
|
6117
|
+
'companyName'?: string | null;
|
|
6903
6118
|
}
|
|
6904
6119
|
/**
|
|
6905
6120
|
* TcxBillingEntity
|
|
@@ -7990,49 +7205,6 @@ export interface TcxPhonesEntity {
|
|
|
7990
7205
|
*/
|
|
7991
7206
|
'sbcId'?: string;
|
|
7992
7207
|
}
|
|
7993
|
-
/**
|
|
7994
|
-
* SBC Data
|
|
7995
|
-
* @export
|
|
7996
|
-
* @interface TcxSbcDTO
|
|
7997
|
-
*/
|
|
7998
|
-
export interface TcxSbcDTO {
|
|
7999
|
-
/**
|
|
8000
|
-
* LAN IP Address
|
|
8001
|
-
* @type {string}
|
|
8002
|
-
* @memberof TcxSbcDTO
|
|
8003
|
-
*/
|
|
8004
|
-
'ipAddress'?: string;
|
|
8005
|
-
/**
|
|
8006
|
-
* LAN Default Gateway
|
|
8007
|
-
* @type {string}
|
|
8008
|
-
* @memberof TcxSbcDTO
|
|
8009
|
-
*/
|
|
8010
|
-
'defaultGateway'?: string;
|
|
8011
|
-
/**
|
|
8012
|
-
* LAN Subnet Mask
|
|
8013
|
-
* @type {string}
|
|
8014
|
-
* @memberof TcxSbcDTO
|
|
8015
|
-
*/
|
|
8016
|
-
'netmask'?: string;
|
|
8017
|
-
/**
|
|
8018
|
-
* DNS
|
|
8019
|
-
* @type {string}
|
|
8020
|
-
* @memberof TcxSbcDTO
|
|
8021
|
-
*/
|
|
8022
|
-
'dns'?: string;
|
|
8023
|
-
/**
|
|
8024
|
-
* 3CX URL
|
|
8025
|
-
* @type {string}
|
|
8026
|
-
* @memberof TcxSbcDTO
|
|
8027
|
-
*/
|
|
8028
|
-
'tcxUrl'?: string;
|
|
8029
|
-
/**
|
|
8030
|
-
* 3CX SBC Key
|
|
8031
|
-
* @type {string}
|
|
8032
|
-
* @memberof TcxSbcDTO
|
|
8033
|
-
*/
|
|
8034
|
-
'tcxKey'?: string;
|
|
8035
|
-
}
|
|
8036
7208
|
/**
|
|
8037
7209
|
* 3CX Wizard SBC
|
|
8038
7210
|
* @export
|
|
@@ -8137,7 +7309,7 @@ export interface TcxSbcEntity {
|
|
|
8137
7309
|
'technicalContact'?: string;
|
|
8138
7310
|
}
|
|
8139
7311
|
/**
|
|
8140
|
-
* 3CX
|
|
7312
|
+
* 3CX SBC Model
|
|
8141
7313
|
* @export
|
|
8142
7314
|
* @interface TcxSbcModel
|
|
8143
7315
|
*/
|
|
@@ -9309,40 +8481,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9309
8481
|
|
|
9310
8482
|
|
|
9311
8483
|
|
|
9312
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9313
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9314
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9315
|
-
|
|
9316
|
-
return {
|
|
9317
|
-
url: toPathString(localVarUrlObj),
|
|
9318
|
-
options: localVarRequestOptions,
|
|
9319
|
-
};
|
|
9320
|
-
},
|
|
9321
|
-
/**
|
|
9322
|
-
* Get Account Detailed Summary
|
|
9323
|
-
* @summary Get Account Detailed Summary
|
|
9324
|
-
* @param {number} id Customer ID
|
|
9325
|
-
* @param {*} [options] Override http request option.
|
|
9326
|
-
* @throws {RequiredError}
|
|
9327
|
-
*/
|
|
9328
|
-
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9329
|
-
// verify required parameter 'id' is not null or undefined
|
|
9330
|
-
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9331
|
-
const localVarPath = `/accounts/{id}/summary`
|
|
9332
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9333
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9334
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9335
|
-
let baseOptions;
|
|
9336
|
-
if (configuration) {
|
|
9337
|
-
baseOptions = configuration.baseOptions;
|
|
9338
|
-
}
|
|
9339
|
-
|
|
9340
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9341
|
-
const localVarHeaderParameter = {} as any;
|
|
9342
|
-
const localVarQueryParameter = {} as any;
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
8484
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9347
8485
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9348
8486
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9641,36 +8779,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9641
8779
|
options: localVarRequestOptions,
|
|
9642
8780
|
};
|
|
9643
8781
|
},
|
|
9644
|
-
/**
|
|
9645
|
-
* Get Admin Account
|
|
9646
|
-
* @summary Get Admin Account
|
|
9647
|
-
* @param {*} [options] Override http request option.
|
|
9648
|
-
* @throws {RequiredError}
|
|
9649
|
-
*/
|
|
9650
|
-
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9651
|
-
const localVarPath = `/admin/me`;
|
|
9652
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9653
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9654
|
-
let baseOptions;
|
|
9655
|
-
if (configuration) {
|
|
9656
|
-
baseOptions = configuration.baseOptions;
|
|
9657
|
-
}
|
|
9658
|
-
|
|
9659
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9660
|
-
const localVarHeaderParameter = {} as any;
|
|
9661
|
-
const localVarQueryParameter = {} as any;
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9666
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9667
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9668
|
-
|
|
9669
|
-
return {
|
|
9670
|
-
url: toPathString(localVarUrlObj),
|
|
9671
|
-
options: localVarRequestOptions,
|
|
9672
|
-
};
|
|
9673
|
-
},
|
|
9674
8782
|
/**
|
|
9675
8783
|
* Create client credentials
|
|
9676
8784
|
* @summary Create client credentials
|
|
@@ -9920,19 +9028,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9920
9028
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
9921
9029
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9922
9030
|
},
|
|
9923
|
-
/**
|
|
9924
|
-
* Get Account Detailed Summary
|
|
9925
|
-
* @summary Get Account Detailed Summary
|
|
9926
|
-
* @param {number} id Customer ID
|
|
9927
|
-
* @param {*} [options] Override http request option.
|
|
9928
|
-
* @throws {RequiredError}
|
|
9929
|
-
*/
|
|
9930
|
-
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
9931
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
9932
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9933
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
9934
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9935
|
-
},
|
|
9936
9031
|
/**
|
|
9937
9032
|
* Get Accounts
|
|
9938
9033
|
* @summary Get Accounts
|
|
@@ -10038,18 +9133,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10038
9133
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
10039
9134
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10040
9135
|
},
|
|
10041
|
-
/**
|
|
10042
|
-
* Get Admin Account
|
|
10043
|
-
* @summary Get Admin Account
|
|
10044
|
-
* @param {*} [options] Override http request option.
|
|
10045
|
-
* @throws {RequiredError}
|
|
10046
|
-
*/
|
|
10047
|
-
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10048
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10049
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10050
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10051
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10052
|
-
},
|
|
10053
9136
|
/**
|
|
10054
9137
|
* Create client credentials
|
|
10055
9138
|
* @summary Create client credentials
|
|
@@ -10167,16 +9250,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10167
9250
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
10168
9251
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
10169
9252
|
},
|
|
10170
|
-
/**
|
|
10171
|
-
* Get Account Detailed Summary
|
|
10172
|
-
* @summary Get Account Detailed Summary
|
|
10173
|
-
* @param {number} id Customer ID
|
|
10174
|
-
* @param {*} [options] Override http request option.
|
|
10175
|
-
* @throws {RequiredError}
|
|
10176
|
-
*/
|
|
10177
|
-
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10178
|
-
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10179
|
-
},
|
|
10180
9253
|
/**
|
|
10181
9254
|
* Get Accounts
|
|
10182
9255
|
* @summary Get Accounts
|
|
@@ -10258,15 +9331,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10258
9331
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
10259
9332
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
10260
9333
|
},
|
|
10261
|
-
/**
|
|
10262
|
-
* Get Admin Account
|
|
10263
|
-
* @summary Get Admin Account
|
|
10264
|
-
* @param {*} [options] Override http request option.
|
|
10265
|
-
* @throws {RequiredError}
|
|
10266
|
-
*/
|
|
10267
|
-
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10268
|
-
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10269
|
-
},
|
|
10270
9334
|
/**
|
|
10271
9335
|
* Create client credentials
|
|
10272
9336
|
* @summary Create client credentials
|
|
@@ -10377,18 +9441,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10377
9441
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
10378
9442
|
}
|
|
10379
9443
|
|
|
10380
|
-
/**
|
|
10381
|
-
* Get Account Detailed Summary
|
|
10382
|
-
* @summary Get Account Detailed Summary
|
|
10383
|
-
* @param {number} id Customer ID
|
|
10384
|
-
* @param {*} [options] Override http request option.
|
|
10385
|
-
* @throws {RequiredError}
|
|
10386
|
-
* @memberof AccountsApi
|
|
10387
|
-
*/
|
|
10388
|
-
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10389
|
-
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10390
|
-
}
|
|
10391
|
-
|
|
10392
9444
|
/**
|
|
10393
9445
|
* Get Accounts
|
|
10394
9446
|
* @summary Get Accounts
|
|
@@ -10486,17 +9538,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10486
9538
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
10487
9539
|
}
|
|
10488
9540
|
|
|
10489
|
-
/**
|
|
10490
|
-
* Get Admin Account
|
|
10491
|
-
* @summary Get Admin Account
|
|
10492
|
-
* @param {*} [options] Override http request option.
|
|
10493
|
-
* @throws {RequiredError}
|
|
10494
|
-
* @memberof AccountsApi
|
|
10495
|
-
*/
|
|
10496
|
-
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10497
|
-
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10498
|
-
}
|
|
10499
|
-
|
|
10500
9541
|
/**
|
|
10501
9542
|
* Create client credentials
|
|
10502
9543
|
* @summary Create client credentials
|
|
@@ -10607,14 +9648,16 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10607
9648
|
};
|
|
10608
9649
|
},
|
|
10609
9650
|
/**
|
|
10610
|
-
*
|
|
10611
|
-
* @summary
|
|
10612
|
-
* @param {
|
|
9651
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
9652
|
+
* @summary Convert a password to a hashed 3CX password
|
|
9653
|
+
* @param {string} password Desired 3CX web access password
|
|
10613
9654
|
* @param {*} [options] Override http request option.
|
|
10614
9655
|
* @throws {RequiredError}
|
|
10615
9656
|
*/
|
|
10616
|
-
|
|
10617
|
-
|
|
9657
|
+
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9658
|
+
// verify required parameter 'password' is not null or undefined
|
|
9659
|
+
assertParamExists('getGetPasswordHash', 'password', password)
|
|
9660
|
+
const localVarPath = `/tcx/pwd2hash`;
|
|
10618
9661
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10619
9662
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10620
9663
|
let baseOptions;
|
|
@@ -10622,25 +9665,60 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10622
9665
|
baseOptions = configuration.baseOptions;
|
|
10623
9666
|
}
|
|
10624
9667
|
|
|
10625
|
-
const localVarRequestOptions = { method: '
|
|
9668
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10626
9669
|
const localVarHeaderParameter = {} as any;
|
|
10627
9670
|
const localVarQueryParameter = {} as any;
|
|
10628
9671
|
|
|
9672
|
+
if (password !== undefined) {
|
|
9673
|
+
localVarQueryParameter['password'] = password;
|
|
9674
|
+
}
|
|
10629
9675
|
|
|
10630
|
-
|
|
10631
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10632
9676
|
|
|
9677
|
+
|
|
10633
9678
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10634
9679
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10635
9680
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10636
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
10637
9681
|
|
|
10638
9682
|
return {
|
|
10639
9683
|
url: toPathString(localVarUrlObj),
|
|
10640
9684
|
options: localVarRequestOptions,
|
|
10641
9685
|
};
|
|
10642
9686
|
},
|
|
10643
|
-
|
|
9687
|
+
/**
|
|
9688
|
+
* Get Bulk 3CX Licence Details
|
|
9689
|
+
* @summary Get bulk 3CX Licence Details
|
|
9690
|
+
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
9691
|
+
* @param {*} [options] Override http request option.
|
|
9692
|
+
* @throws {RequiredError}
|
|
9693
|
+
*/
|
|
9694
|
+
postGetBulkLicenceDetails: async (requestBody?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9695
|
+
const localVarPath = `/tcx/licences/bulk/details`;
|
|
9696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9697
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9698
|
+
let baseOptions;
|
|
9699
|
+
if (configuration) {
|
|
9700
|
+
baseOptions = configuration.baseOptions;
|
|
9701
|
+
}
|
|
9702
|
+
|
|
9703
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9704
|
+
const localVarHeaderParameter = {} as any;
|
|
9705
|
+
const localVarQueryParameter = {} as any;
|
|
9706
|
+
|
|
9707
|
+
|
|
9708
|
+
|
|
9709
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9710
|
+
|
|
9711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9713
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9714
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
9715
|
+
|
|
9716
|
+
return {
|
|
9717
|
+
url: toPathString(localVarUrlObj),
|
|
9718
|
+
options: localVarRequestOptions,
|
|
9719
|
+
};
|
|
9720
|
+
},
|
|
9721
|
+
}
|
|
10644
9722
|
};
|
|
10645
9723
|
|
|
10646
9724
|
/**
|
|
@@ -10663,6 +9741,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
10663
9741
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
10664
9742
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10665
9743
|
},
|
|
9744
|
+
/**
|
|
9745
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
9746
|
+
* @summary Convert a password to a hashed 3CX password
|
|
9747
|
+
* @param {string} password Desired 3CX web access password
|
|
9748
|
+
* @param {*} [options] Override http request option.
|
|
9749
|
+
* @throws {RequiredError}
|
|
9750
|
+
*/
|
|
9751
|
+
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
9752
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
9753
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9754
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
9755
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9756
|
+
},
|
|
10666
9757
|
/**
|
|
10667
9758
|
* Get Bulk 3CX Licence Details
|
|
10668
9759
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10696,6 +9787,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
10696
9787
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
10697
9788
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
10698
9789
|
},
|
|
9790
|
+
/**
|
|
9791
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
9792
|
+
* @summary Convert a password to a hashed 3CX password
|
|
9793
|
+
* @param {string} password Desired 3CX web access password
|
|
9794
|
+
* @param {*} [options] Override http request option.
|
|
9795
|
+
* @throws {RequiredError}
|
|
9796
|
+
*/
|
|
9797
|
+
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
9798
|
+
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
9799
|
+
},
|
|
10699
9800
|
/**
|
|
10700
9801
|
* Get Bulk 3CX Licence Details
|
|
10701
9802
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10728,6 +9829,18 @@ export class Class3CXApi extends BaseAPI {
|
|
|
10728
9829
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
10729
9830
|
}
|
|
10730
9831
|
|
|
9832
|
+
/**
|
|
9833
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
9834
|
+
* @summary Convert a password to a hashed 3CX password
|
|
9835
|
+
* @param {string} password Desired 3CX web access password
|
|
9836
|
+
* @param {*} [options] Override http request option.
|
|
9837
|
+
* @throws {RequiredError}
|
|
9838
|
+
* @memberof Class3CXApi
|
|
9839
|
+
*/
|
|
9840
|
+
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
9841
|
+
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
9842
|
+
}
|
|
9843
|
+
|
|
10731
9844
|
/**
|
|
10732
9845
|
* Get Bulk 3CX Licence Details
|
|
10733
9846
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -15322,14 +14435,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15322
14435
|
return {
|
|
15323
14436
|
/**
|
|
15324
14437
|
* Delete Orders
|
|
15325
|
-
* @summary Delete Orders
|
|
15326
14438
|
* @param {number} id Order ID
|
|
15327
14439
|
* @param {*} [options] Override http request option.
|
|
15328
14440
|
* @throws {RequiredError}
|
|
15329
14441
|
*/
|
|
15330
|
-
|
|
14442
|
+
deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15331
14443
|
// verify required parameter 'id' is not null or undefined
|
|
15332
|
-
assertParamExists('
|
|
14444
|
+
assertParamExists('deleteDeleteOrder', 'id', id)
|
|
15333
14445
|
const localVarPath = `/orders/{id}`
|
|
15334
14446
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15335
14447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -15345,39 +14457,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15345
14457
|
|
|
15346
14458
|
|
|
15347
14459
|
|
|
15348
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15349
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15350
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15351
|
-
|
|
15352
|
-
return {
|
|
15353
|
-
url: toPathString(localVarUrlObj),
|
|
15354
|
-
options: localVarRequestOptions,
|
|
15355
|
-
};
|
|
15356
|
-
},
|
|
15357
|
-
/**
|
|
15358
|
-
* Get Editable Order
|
|
15359
|
-
* @param {number} id Order ID
|
|
15360
|
-
* @param {*} [options] Override http request option.
|
|
15361
|
-
* @throws {RequiredError}
|
|
15362
|
-
*/
|
|
15363
|
-
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15364
|
-
// verify required parameter 'id' is not null or undefined
|
|
15365
|
-
assertParamExists('getGetEditableOrder', 'id', id)
|
|
15366
|
-
const localVarPath = `/orders/{id}/views/editable`
|
|
15367
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15368
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15369
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15370
|
-
let baseOptions;
|
|
15371
|
-
if (configuration) {
|
|
15372
|
-
baseOptions = configuration.baseOptions;
|
|
15373
|
-
}
|
|
15374
|
-
|
|
15375
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15376
|
-
const localVarHeaderParameter = {} as any;
|
|
15377
|
-
const localVarQueryParameter = {} as any;
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
14460
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15382
14461
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15383
14462
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15447,170 +14526,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15447
14526
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15448
14527
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15449
14528
|
|
|
15450
|
-
return {
|
|
15451
|
-
url: toPathString(localVarUrlObj),
|
|
15452
|
-
options: localVarRequestOptions,
|
|
15453
|
-
};
|
|
15454
|
-
},
|
|
15455
|
-
/**
|
|
15456
|
-
* Create An Order (Admin)
|
|
15457
|
-
* @summary Create An Order (Admin)
|
|
15458
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15459
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15460
|
-
* @param {*} [options] Override http request option.
|
|
15461
|
-
* @throws {RequiredError}
|
|
15462
|
-
*/
|
|
15463
|
-
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15464
|
-
const localVarPath = `/admin/orders`;
|
|
15465
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15466
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15467
|
-
let baseOptions;
|
|
15468
|
-
if (configuration) {
|
|
15469
|
-
baseOptions = configuration.baseOptions;
|
|
15470
|
-
}
|
|
15471
|
-
|
|
15472
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15473
|
-
const localVarHeaderParameter = {} as any;
|
|
15474
|
-
const localVarQueryParameter = {} as any;
|
|
15475
|
-
|
|
15476
|
-
if (readonly !== undefined) {
|
|
15477
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
15478
|
-
}
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15483
|
-
|
|
15484
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15485
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15486
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15487
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15488
|
-
|
|
15489
|
-
return {
|
|
15490
|
-
url: toPathString(localVarUrlObj),
|
|
15491
|
-
options: localVarRequestOptions,
|
|
15492
|
-
};
|
|
15493
|
-
},
|
|
15494
|
-
/**
|
|
15495
|
-
* Create An Order
|
|
15496
|
-
* @summary Create An Order
|
|
15497
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15498
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15499
|
-
* @param {*} [options] Override http request option.
|
|
15500
|
-
* @throws {RequiredError}
|
|
15501
|
-
*/
|
|
15502
|
-
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15503
|
-
const localVarPath = `/orders`;
|
|
15504
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15505
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15506
|
-
let baseOptions;
|
|
15507
|
-
if (configuration) {
|
|
15508
|
-
baseOptions = configuration.baseOptions;
|
|
15509
|
-
}
|
|
15510
|
-
|
|
15511
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15512
|
-
const localVarHeaderParameter = {} as any;
|
|
15513
|
-
const localVarQueryParameter = {} as any;
|
|
15514
|
-
|
|
15515
|
-
if (readonly !== undefined) {
|
|
15516
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
15517
|
-
}
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15521
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15522
|
-
|
|
15523
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15524
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15525
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15526
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15527
|
-
|
|
15528
|
-
return {
|
|
15529
|
-
url: toPathString(localVarUrlObj),
|
|
15530
|
-
options: localVarRequestOptions,
|
|
15531
|
-
};
|
|
15532
|
-
},
|
|
15533
|
-
/**
|
|
15534
|
-
* Update An Order (Admin)
|
|
15535
|
-
* @summary Update An Order (Admin)
|
|
15536
|
-
* @param {number} id Order ID
|
|
15537
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15538
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15539
|
-
* @param {*} [options] Override http request option.
|
|
15540
|
-
* @throws {RequiredError}
|
|
15541
|
-
*/
|
|
15542
|
-
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15543
|
-
// verify required parameter 'id' is not null or undefined
|
|
15544
|
-
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
15545
|
-
const localVarPath = `/admin/orders/{id}`
|
|
15546
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15547
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15548
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15549
|
-
let baseOptions;
|
|
15550
|
-
if (configuration) {
|
|
15551
|
-
baseOptions = configuration.baseOptions;
|
|
15552
|
-
}
|
|
15553
|
-
|
|
15554
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15555
|
-
const localVarHeaderParameter = {} as any;
|
|
15556
|
-
const localVarQueryParameter = {} as any;
|
|
15557
|
-
|
|
15558
|
-
if (readonly !== undefined) {
|
|
15559
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
15560
|
-
}
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15565
|
-
|
|
15566
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15567
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15568
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15569
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15570
|
-
|
|
15571
|
-
return {
|
|
15572
|
-
url: toPathString(localVarUrlObj),
|
|
15573
|
-
options: localVarRequestOptions,
|
|
15574
|
-
};
|
|
15575
|
-
},
|
|
15576
|
-
/**
|
|
15577
|
-
* Update An Order
|
|
15578
|
-
* @summary Update An Order
|
|
15579
|
-
* @param {number} id Order ID
|
|
15580
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15581
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15582
|
-
* @param {*} [options] Override http request option.
|
|
15583
|
-
* @throws {RequiredError}
|
|
15584
|
-
*/
|
|
15585
|
-
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15586
|
-
// verify required parameter 'id' is not null or undefined
|
|
15587
|
-
assertParamExists('putUpdateOrder', 'id', id)
|
|
15588
|
-
const localVarPath = `/orders/{id}`
|
|
15589
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15590
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15591
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15592
|
-
let baseOptions;
|
|
15593
|
-
if (configuration) {
|
|
15594
|
-
baseOptions = configuration.baseOptions;
|
|
15595
|
-
}
|
|
15596
|
-
|
|
15597
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15598
|
-
const localVarHeaderParameter = {} as any;
|
|
15599
|
-
const localVarQueryParameter = {} as any;
|
|
15600
|
-
|
|
15601
|
-
if (readonly !== undefined) {
|
|
15602
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
15603
|
-
}
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15608
|
-
|
|
15609
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15610
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15611
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15612
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15613
|
-
|
|
15614
14529
|
return {
|
|
15615
14530
|
url: toPathString(localVarUrlObj),
|
|
15616
14531
|
options: localVarRequestOptions,
|
|
@@ -15628,27 +14543,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15628
14543
|
return {
|
|
15629
14544
|
/**
|
|
15630
14545
|
* Delete Orders
|
|
15631
|
-
* @summary Delete Orders
|
|
15632
14546
|
* @param {number} id Order ID
|
|
15633
14547
|
* @param {*} [options] Override http request option.
|
|
15634
14548
|
* @throws {RequiredError}
|
|
15635
14549
|
*/
|
|
15636
|
-
async
|
|
15637
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14550
|
+
async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14551
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
|
|
15638
14552
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15639
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
15640
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15641
|
-
},
|
|
15642
|
-
/**
|
|
15643
|
-
* Get Editable Order
|
|
15644
|
-
* @param {number} id Order ID
|
|
15645
|
-
* @param {*} [options] Override http request option.
|
|
15646
|
-
* @throws {RequiredError}
|
|
15647
|
-
*/
|
|
15648
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
|
|
15649
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
15650
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15651
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
14553
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
15652
14554
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15653
14555
|
},
|
|
15654
14556
|
/**
|
|
@@ -15670,64 +14572,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15670
14572
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
15671
14573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15672
14574
|
},
|
|
15673
|
-
/**
|
|
15674
|
-
* Create An Order (Admin)
|
|
15675
|
-
* @summary Create An Order (Admin)
|
|
15676
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15677
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15678
|
-
* @param {*} [options] Override http request option.
|
|
15679
|
-
* @throws {RequiredError}
|
|
15680
|
-
*/
|
|
15681
|
-
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15682
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
15683
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15684
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
15685
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15686
|
-
},
|
|
15687
|
-
/**
|
|
15688
|
-
* Create An Order
|
|
15689
|
-
* @summary Create An Order
|
|
15690
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15691
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15692
|
-
* @param {*} [options] Override http request option.
|
|
15693
|
-
* @throws {RequiredError}
|
|
15694
|
-
*/
|
|
15695
|
-
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15696
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
15697
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15698
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
15699
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15700
|
-
},
|
|
15701
|
-
/**
|
|
15702
|
-
* Update An Order (Admin)
|
|
15703
|
-
* @summary Update An Order (Admin)
|
|
15704
|
-
* @param {number} id Order ID
|
|
15705
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15706
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15707
|
-
* @param {*} [options] Override http request option.
|
|
15708
|
-
* @throws {RequiredError}
|
|
15709
|
-
*/
|
|
15710
|
-
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15711
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
15712
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15713
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
15714
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15715
|
-
},
|
|
15716
|
-
/**
|
|
15717
|
-
* Update An Order
|
|
15718
|
-
* @summary Update An Order
|
|
15719
|
-
* @param {number} id Order ID
|
|
15720
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15721
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15722
|
-
* @param {*} [options] Override http request option.
|
|
15723
|
-
* @throws {RequiredError}
|
|
15724
|
-
*/
|
|
15725
|
-
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
15727
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15728
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
15729
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15730
|
-
},
|
|
15731
14575
|
}
|
|
15732
14576
|
};
|
|
15733
14577
|
|
|
@@ -15740,22 +14584,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15740
14584
|
return {
|
|
15741
14585
|
/**
|
|
15742
14586
|
* Delete Orders
|
|
15743
|
-
* @summary Delete Orders
|
|
15744
14587
|
* @param {number} id Order ID
|
|
15745
14588
|
* @param {*} [options] Override http request option.
|
|
15746
14589
|
* @throws {RequiredError}
|
|
15747
14590
|
*/
|
|
15748
|
-
|
|
15749
|
-
return localVarFp.
|
|
15750
|
-
},
|
|
15751
|
-
/**
|
|
15752
|
-
* Get Editable Order
|
|
15753
|
-
* @param {number} id Order ID
|
|
15754
|
-
* @param {*} [options] Override http request option.
|
|
15755
|
-
* @throws {RequiredError}
|
|
15756
|
-
*/
|
|
15757
|
-
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
|
|
15758
|
-
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
14591
|
+
deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
14592
|
+
return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
|
|
15759
14593
|
},
|
|
15760
14594
|
/**
|
|
15761
14595
|
* Get Orders
|
|
@@ -15773,52 +14607,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15773
14607
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
15774
14608
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
15775
14609
|
},
|
|
15776
|
-
/**
|
|
15777
|
-
* Create An Order (Admin)
|
|
15778
|
-
* @summary Create An Order (Admin)
|
|
15779
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15780
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15781
|
-
* @param {*} [options] Override http request option.
|
|
15782
|
-
* @throws {RequiredError}
|
|
15783
|
-
*/
|
|
15784
|
-
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15785
|
-
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15786
|
-
},
|
|
15787
|
-
/**
|
|
15788
|
-
* Create An Order
|
|
15789
|
-
* @summary Create An Order
|
|
15790
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15791
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15792
|
-
* @param {*} [options] Override http request option.
|
|
15793
|
-
* @throws {RequiredError}
|
|
15794
|
-
*/
|
|
15795
|
-
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15796
|
-
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15797
|
-
},
|
|
15798
|
-
/**
|
|
15799
|
-
* Update An Order (Admin)
|
|
15800
|
-
* @summary Update An Order (Admin)
|
|
15801
|
-
* @param {number} id Order ID
|
|
15802
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15803
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15804
|
-
* @param {*} [options] Override http request option.
|
|
15805
|
-
* @throws {RequiredError}
|
|
15806
|
-
*/
|
|
15807
|
-
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15808
|
-
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15809
|
-
},
|
|
15810
|
-
/**
|
|
15811
|
-
* Update An Order
|
|
15812
|
-
* @summary Update An Order
|
|
15813
|
-
* @param {number} id Order ID
|
|
15814
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15815
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15816
|
-
* @param {*} [options] Override http request option.
|
|
15817
|
-
* @throws {RequiredError}
|
|
15818
|
-
*/
|
|
15819
|
-
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15820
|
-
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15821
|
-
},
|
|
15822
14610
|
};
|
|
15823
14611
|
};
|
|
15824
14612
|
|
|
@@ -15831,25 +14619,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15831
14619
|
export class OrdersApi extends BaseAPI {
|
|
15832
14620
|
/**
|
|
15833
14621
|
* Delete Orders
|
|
15834
|
-
* @summary Delete Orders
|
|
15835
|
-
* @param {number} id Order ID
|
|
15836
|
-
* @param {*} [options] Override http request option.
|
|
15837
|
-
* @throws {RequiredError}
|
|
15838
|
-
* @memberof OrdersApi
|
|
15839
|
-
*/
|
|
15840
|
-
public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15841
|
-
return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15842
|
-
}
|
|
15843
|
-
|
|
15844
|
-
/**
|
|
15845
|
-
* Get Editable Order
|
|
15846
14622
|
* @param {number} id Order ID
|
|
15847
14623
|
* @param {*} [options] Override http request option.
|
|
15848
14624
|
* @throws {RequiredError}
|
|
15849
14625
|
* @memberof OrdersApi
|
|
15850
14626
|
*/
|
|
15851
|
-
public
|
|
15852
|
-
return OrdersApiFp(this.configuration).
|
|
14627
|
+
public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
14628
|
+
return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15853
14629
|
}
|
|
15854
14630
|
|
|
15855
14631
|
/**
|
|
@@ -15869,60 +14645,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
15869
14645
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
15870
14646
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
15871
14647
|
}
|
|
15872
|
-
|
|
15873
|
-
/**
|
|
15874
|
-
* Create An Order (Admin)
|
|
15875
|
-
* @summary Create An Order (Admin)
|
|
15876
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15877
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15878
|
-
* @param {*} [options] Override http request option.
|
|
15879
|
-
* @throws {RequiredError}
|
|
15880
|
-
* @memberof OrdersApi
|
|
15881
|
-
*/
|
|
15882
|
-
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15883
|
-
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15884
|
-
}
|
|
15885
|
-
|
|
15886
|
-
/**
|
|
15887
|
-
* Create An Order
|
|
15888
|
-
* @summary Create An Order
|
|
15889
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15890
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15891
|
-
* @param {*} [options] Override http request option.
|
|
15892
|
-
* @throws {RequiredError}
|
|
15893
|
-
* @memberof OrdersApi
|
|
15894
|
-
*/
|
|
15895
|
-
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15896
|
-
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15897
|
-
}
|
|
15898
|
-
|
|
15899
|
-
/**
|
|
15900
|
-
* Update An Order (Admin)
|
|
15901
|
-
* @summary Update An Order (Admin)
|
|
15902
|
-
* @param {number} id Order ID
|
|
15903
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15904
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15905
|
-
* @param {*} [options] Override http request option.
|
|
15906
|
-
* @throws {RequiredError}
|
|
15907
|
-
* @memberof OrdersApi
|
|
15908
|
-
*/
|
|
15909
|
-
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15910
|
-
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15911
|
-
}
|
|
15912
|
-
|
|
15913
|
-
/**
|
|
15914
|
-
* Update An Order
|
|
15915
|
-
* @summary Update An Order
|
|
15916
|
-
* @param {number} id Order ID
|
|
15917
|
-
* @param {boolean} [readonly] Readonly Order
|
|
15918
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15919
|
-
* @param {*} [options] Override http request option.
|
|
15920
|
-
* @throws {RequiredError}
|
|
15921
|
-
* @memberof OrdersApi
|
|
15922
|
-
*/
|
|
15923
|
-
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15924
|
-
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15925
|
-
}
|
|
15926
14648
|
}
|
|
15927
14649
|
|
|
15928
14650
|
/**
|
|
@@ -16303,47 +15025,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
|
|
|
16303
15025
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
16304
15026
|
return {
|
|
16305
15027
|
/**
|
|
16306
|
-
* Get Attribute Sets
|
|
16307
|
-
* @summary Get Attribute Sets
|
|
16308
|
-
* @param {*} [options] Override http request option.
|
|
16309
|
-
* @throws {RequiredError}
|
|
16310
|
-
*/
|
|
16311
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16312
|
-
const localVarPath = `/products/attributes`;
|
|
16313
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16314
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16315
|
-
let baseOptions;
|
|
16316
|
-
if (configuration) {
|
|
16317
|
-
baseOptions = configuration.baseOptions;
|
|
16318
|
-
}
|
|
16319
|
-
|
|
16320
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16321
|
-
const localVarHeaderParameter = {} as any;
|
|
16322
|
-
const localVarQueryParameter = {} as any;
|
|
16323
|
-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16327
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16328
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16329
|
-
|
|
16330
|
-
return {
|
|
16331
|
-
url: toPathString(localVarUrlObj),
|
|
16332
|
-
options: localVarRequestOptions,
|
|
16333
|
-
};
|
|
16334
|
-
},
|
|
16335
|
-
/**
|
|
16336
|
-
* Get Current Stock & Pricing
|
|
16337
|
-
* @summary Get Current Stock & Pricing
|
|
16338
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15028
|
+
* Get Attribute Sets
|
|
15029
|
+
* @summary Get Attribute Sets
|
|
16339
15030
|
* @param {*} [options] Override http request option.
|
|
16340
|
-
* @deprecated
|
|
16341
15031
|
* @throws {RequiredError}
|
|
16342
15032
|
*/
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
16346
|
-
const localVarPath = `/products/stock/legacy`;
|
|
15033
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15034
|
+
const localVarPath = `/products/attributes`;
|
|
16347
15035
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16348
15036
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16349
15037
|
let baseOptions;
|
|
@@ -16355,10 +15043,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16355
15043
|
const localVarHeaderParameter = {} as any;
|
|
16356
15044
|
const localVarQueryParameter = {} as any;
|
|
16357
15045
|
|
|
16358
|
-
if (format !== undefined) {
|
|
16359
|
-
localVarQueryParameter['format'] = format;
|
|
16360
|
-
}
|
|
16361
|
-
|
|
16362
15046
|
|
|
16363
15047
|
|
|
16364
15048
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16371,13 +15055,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16371
15055
|
};
|
|
16372
15056
|
},
|
|
16373
15057
|
/**
|
|
16374
|
-
* Get
|
|
16375
|
-
* @summary Get
|
|
15058
|
+
* Get Customer Price Lists
|
|
15059
|
+
* @summary Get Customer Price Lists
|
|
16376
15060
|
* @param {*} [options] Override http request option.
|
|
16377
15061
|
* @throws {RequiredError}
|
|
16378
15062
|
*/
|
|
16379
|
-
|
|
16380
|
-
const localVarPath = `/products`;
|
|
15063
|
+
getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15064
|
+
const localVarPath = `/products/prices/lists`;
|
|
16381
15065
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16382
15066
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16383
15067
|
let baseOptions;
|
|
@@ -16403,11 +15087,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16403
15087
|
/**
|
|
16404
15088
|
* Get Current Stock & Pricing
|
|
16405
15089
|
* @summary Get Current Stock & Pricing
|
|
15090
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
16406
15091
|
* @param {*} [options] Override http request option.
|
|
15092
|
+
* @deprecated
|
|
16407
15093
|
* @throws {RequiredError}
|
|
16408
15094
|
*/
|
|
16409
|
-
|
|
16410
|
-
|
|
15095
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15096
|
+
// verify required parameter 'format' is not null or undefined
|
|
15097
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
15098
|
+
const localVarPath = `/products/stock/legacy`;
|
|
16411
15099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16412
15100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16413
15101
|
let baseOptions;
|
|
@@ -16419,36 +15107,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16419
15107
|
const localVarHeaderParameter = {} as any;
|
|
16420
15108
|
const localVarQueryParameter = {} as any;
|
|
16421
15109
|
|
|
16422
|
-
|
|
16423
|
-
|
|
16424
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16425
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16426
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16427
|
-
|
|
16428
|
-
return {
|
|
16429
|
-
url: toPathString(localVarUrlObj),
|
|
16430
|
-
options: localVarRequestOptions,
|
|
16431
|
-
};
|
|
16432
|
-
},
|
|
16433
|
-
/**
|
|
16434
|
-
* Get 3CX Templates
|
|
16435
|
-
* @summary Get 3CX Templates
|
|
16436
|
-
* @param {*} [options] Override http request option.
|
|
16437
|
-
* @throws {RequiredError}
|
|
16438
|
-
*/
|
|
16439
|
-
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16440
|
-
const localVarPath = `/products/attributes/tcx/templates`;
|
|
16441
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16442
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16443
|
-
let baseOptions;
|
|
16444
|
-
if (configuration) {
|
|
16445
|
-
baseOptions = configuration.baseOptions;
|
|
15110
|
+
if (format !== undefined) {
|
|
15111
|
+
localVarQueryParameter['format'] = format;
|
|
16446
15112
|
}
|
|
16447
15113
|
|
|
16448
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16449
|
-
const localVarHeaderParameter = {} as any;
|
|
16450
|
-
const localVarQueryParameter = {} as any;
|
|
16451
|
-
|
|
16452
15114
|
|
|
16453
15115
|
|
|
16454
15116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16461,15 +15123,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16461
15123
|
};
|
|
16462
15124
|
},
|
|
16463
15125
|
/**
|
|
16464
|
-
*
|
|
16465
|
-
* @summary
|
|
15126
|
+
* Get Products
|
|
15127
|
+
* @summary Get Products
|
|
16466
15128
|
* @param {number} [pageSize] Number Of Results
|
|
16467
15129
|
* @param {number} [page] Page Number
|
|
16468
15130
|
* @param {string} [search] Search
|
|
16469
15131
|
* @param {*} [options] Override http request option.
|
|
16470
15132
|
* @throws {RequiredError}
|
|
16471
15133
|
*/
|
|
16472
|
-
|
|
15134
|
+
getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16473
15135
|
const localVarPath = `/products/search`;
|
|
16474
15136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16475
15137
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16506,20 +15168,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16506
15168
|
};
|
|
16507
15169
|
},
|
|
16508
15170
|
/**
|
|
16509
|
-
* Get
|
|
16510
|
-
* @summary Get
|
|
16511
|
-
* @param {string} sku Product SKU
|
|
16512
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15171
|
+
* Get Current Stock & Pricing
|
|
15172
|
+
* @summary Get Current Stock & Pricing
|
|
16513
15173
|
* @param {*} [options] Override http request option.
|
|
16514
15174
|
* @throws {RequiredError}
|
|
16515
15175
|
*/
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
assertParamExists('postGetProduct', 'sku', sku)
|
|
16519
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16520
|
-
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
16521
|
-
const localVarPath = `/products/{sku}`
|
|
16522
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15176
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15177
|
+
const localVarPath = `/products/stock`;
|
|
16523
15178
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16524
15179
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16525
15180
|
let baseOptions;
|
|
@@ -16527,18 +15182,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16527
15182
|
baseOptions = configuration.baseOptions;
|
|
16528
15183
|
}
|
|
16529
15184
|
|
|
16530
|
-
const localVarRequestOptions = { method: '
|
|
15185
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16531
15186
|
const localVarHeaderParameter = {} as any;
|
|
16532
15187
|
const localVarQueryParameter = {} as any;
|
|
16533
15188
|
|
|
16534
15189
|
|
|
16535
15190
|
|
|
16536
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16537
|
-
|
|
16538
15191
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16539
15192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16540
15193
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16541
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
16542
15194
|
|
|
16543
15195
|
return {
|
|
16544
15196
|
url: toPathString(localVarUrlObj),
|
|
@@ -16546,23 +15198,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16546
15198
|
};
|
|
16547
15199
|
},
|
|
16548
15200
|
/**
|
|
16549
|
-
* Get
|
|
16550
|
-
* @summary Get
|
|
16551
|
-
* @param {number} customerId Customer ID
|
|
16552
|
-
* @param {string} sku Product SKU
|
|
16553
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15201
|
+
* Get 3CX Templates
|
|
15202
|
+
* @summary Get 3CX Templates
|
|
16554
15203
|
* @param {*} [options] Override http request option.
|
|
16555
15204
|
* @throws {RequiredError}
|
|
16556
15205
|
*/
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
16560
|
-
// verify required parameter 'sku' is not null or undefined
|
|
16561
|
-
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
16562
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16563
|
-
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
16564
|
-
const localVarPath = `/admin/products/{sku}`
|
|
16565
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15206
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15207
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
16566
15208
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16567
15209
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16568
15210
|
let baseOptions;
|
|
@@ -16570,22 +15212,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16570
15212
|
baseOptions = configuration.baseOptions;
|
|
16571
15213
|
}
|
|
16572
15214
|
|
|
16573
|
-
const localVarRequestOptions = { method: '
|
|
15215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16574
15216
|
const localVarHeaderParameter = {} as any;
|
|
16575
15217
|
const localVarQueryParameter = {} as any;
|
|
16576
15218
|
|
|
16577
|
-
if (customerId !== undefined) {
|
|
16578
|
-
localVarQueryParameter['customerId'] = customerId;
|
|
16579
|
-
}
|
|
16580
|
-
|
|
16581
15219
|
|
|
16582
15220
|
|
|
16583
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16584
|
-
|
|
16585
15221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16586
15222
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16587
15223
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16588
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
16589
15224
|
|
|
16590
15225
|
return {
|
|
16591
15226
|
url: toPathString(localVarUrlObj),
|
|
@@ -16614,6 +15249,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16614
15249
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
16615
15250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16616
15251
|
},
|
|
15252
|
+
/**
|
|
15253
|
+
* Get Customer Price Lists
|
|
15254
|
+
* @summary Get Customer Price Lists
|
|
15255
|
+
* @param {*} [options] Override http request option.
|
|
15256
|
+
* @throws {RequiredError}
|
|
15257
|
+
*/
|
|
15258
|
+
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
15259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
15260
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15261
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
15262
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15263
|
+
},
|
|
16617
15264
|
/**
|
|
16618
15265
|
* Get Current Stock & Pricing
|
|
16619
15266
|
* @summary Get Current Stock & Pricing
|
|
@@ -16631,11 +15278,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16631
15278
|
/**
|
|
16632
15279
|
* Get Products
|
|
16633
15280
|
* @summary Get Products
|
|
15281
|
+
* @param {number} [pageSize] Number Of Results
|
|
15282
|
+
* @param {number} [page] Page Number
|
|
15283
|
+
* @param {string} [search] Search
|
|
16634
15284
|
* @param {*} [options] Override http request option.
|
|
16635
15285
|
* @throws {RequiredError}
|
|
16636
15286
|
*/
|
|
16637
|
-
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16638
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
15287
|
+
async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
15288
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
|
|
16639
15289
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16640
15290
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
16641
15291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16664,50 +15314,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16664
15314
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
16665
15315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16666
15316
|
},
|
|
16667
|
-
/**
|
|
16668
|
-
* Search Products
|
|
16669
|
-
* @summary Search Products
|
|
16670
|
-
* @param {number} [pageSize] Number Of Results
|
|
16671
|
-
* @param {number} [page] Page Number
|
|
16672
|
-
* @param {string} [search] Search
|
|
16673
|
-
* @param {*} [options] Override http request option.
|
|
16674
|
-
* @throws {RequiredError}
|
|
16675
|
-
*/
|
|
16676
|
-
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
16677
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
16678
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16679
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
16680
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16681
|
-
},
|
|
16682
|
-
/**
|
|
16683
|
-
* Get Product
|
|
16684
|
-
* @summary Get Product
|
|
16685
|
-
* @param {string} sku Product SKU
|
|
16686
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16687
|
-
* @param {*} [options] Override http request option.
|
|
16688
|
-
* @throws {RequiredError}
|
|
16689
|
-
*/
|
|
16690
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
16691
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
16692
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16693
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
16694
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16695
|
-
},
|
|
16696
|
-
/**
|
|
16697
|
-
* Get Product For Customer
|
|
16698
|
-
* @summary Get Product For Customer
|
|
16699
|
-
* @param {number} customerId Customer ID
|
|
16700
|
-
* @param {string} sku Product SKU
|
|
16701
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16702
|
-
* @param {*} [options] Override http request option.
|
|
16703
|
-
* @throws {RequiredError}
|
|
16704
|
-
*/
|
|
16705
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
16706
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
16707
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16708
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
16709
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16710
|
-
},
|
|
16711
15317
|
}
|
|
16712
15318
|
};
|
|
16713
15319
|
|
|
@@ -16727,6 +15333,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16727
15333
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
16728
15334
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
16729
15335
|
},
|
|
15336
|
+
/**
|
|
15337
|
+
* Get Customer Price Lists
|
|
15338
|
+
* @summary Get Customer Price Lists
|
|
15339
|
+
* @param {*} [options] Override http request option.
|
|
15340
|
+
* @throws {RequiredError}
|
|
15341
|
+
*/
|
|
15342
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
15343
|
+
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
15344
|
+
},
|
|
16730
15345
|
/**
|
|
16731
15346
|
* Get Current Stock & Pricing
|
|
16732
15347
|
* @summary Get Current Stock & Pricing
|
|
@@ -16741,11 +15356,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16741
15356
|
/**
|
|
16742
15357
|
* Get Products
|
|
16743
15358
|
* @summary Get Products
|
|
15359
|
+
* @param {number} [pageSize] Number Of Results
|
|
15360
|
+
* @param {number} [page] Page Number
|
|
15361
|
+
* @param {string} [search] Search
|
|
16744
15362
|
* @param {*} [options] Override http request option.
|
|
16745
15363
|
* @throws {RequiredError}
|
|
16746
15364
|
*/
|
|
16747
|
-
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16748
|
-
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
15365
|
+
getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
15366
|
+
return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
16749
15367
|
},
|
|
16750
15368
|
/**
|
|
16751
15369
|
* Get Current Stock & Pricing
|
|
@@ -16765,41 +15383,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16765
15383
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
16766
15384
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
16767
15385
|
},
|
|
16768
|
-
/**
|
|
16769
|
-
* Search Products
|
|
16770
|
-
* @summary Search Products
|
|
16771
|
-
* @param {number} [pageSize] Number Of Results
|
|
16772
|
-
* @param {number} [page] Page Number
|
|
16773
|
-
* @param {string} [search] Search
|
|
16774
|
-
* @param {*} [options] Override http request option.
|
|
16775
|
-
* @throws {RequiredError}
|
|
16776
|
-
*/
|
|
16777
|
-
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
16778
|
-
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
16779
|
-
},
|
|
16780
|
-
/**
|
|
16781
|
-
* Get Product
|
|
16782
|
-
* @summary Get Product
|
|
16783
|
-
* @param {string} sku Product SKU
|
|
16784
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16785
|
-
* @param {*} [options] Override http request option.
|
|
16786
|
-
* @throws {RequiredError}
|
|
16787
|
-
*/
|
|
16788
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
16789
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
16790
|
-
},
|
|
16791
|
-
/**
|
|
16792
|
-
* Get Product For Customer
|
|
16793
|
-
* @summary Get Product For Customer
|
|
16794
|
-
* @param {number} customerId Customer ID
|
|
16795
|
-
* @param {string} sku Product SKU
|
|
16796
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16797
|
-
* @param {*} [options] Override http request option.
|
|
16798
|
-
* @throws {RequiredError}
|
|
16799
|
-
*/
|
|
16800
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
16801
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
16802
|
-
},
|
|
16803
15386
|
};
|
|
16804
15387
|
};
|
|
16805
15388
|
|
|
@@ -16821,6 +15404,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
16821
15404
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
16822
15405
|
}
|
|
16823
15406
|
|
|
15407
|
+
/**
|
|
15408
|
+
* Get Customer Price Lists
|
|
15409
|
+
* @summary Get Customer Price Lists
|
|
15410
|
+
* @param {*} [options] Override http request option.
|
|
15411
|
+
* @throws {RequiredError}
|
|
15412
|
+
* @memberof ProductsApi
|
|
15413
|
+
*/
|
|
15414
|
+
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
15415
|
+
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
15416
|
+
}
|
|
15417
|
+
|
|
16824
15418
|
/**
|
|
16825
15419
|
* Get Current Stock & Pricing
|
|
16826
15420
|
* @summary Get Current Stock & Pricing
|
|
@@ -16837,12 +15431,15 @@ export class ProductsApi extends BaseAPI {
|
|
|
16837
15431
|
/**
|
|
16838
15432
|
* Get Products
|
|
16839
15433
|
* @summary Get Products
|
|
15434
|
+
* @param {number} [pageSize] Number Of Results
|
|
15435
|
+
* @param {number} [page] Page Number
|
|
15436
|
+
* @param {string} [search] Search
|
|
16840
15437
|
* @param {*} [options] Override http request option.
|
|
16841
15438
|
* @throws {RequiredError}
|
|
16842
15439
|
* @memberof ProductsApi
|
|
16843
15440
|
*/
|
|
16844
|
-
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
16845
|
-
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
15441
|
+
public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
15442
|
+
return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
16846
15443
|
}
|
|
16847
15444
|
|
|
16848
15445
|
/**
|
|
@@ -16866,47 +15463,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
16866
15463
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
16867
15464
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
16868
15465
|
}
|
|
16869
|
-
|
|
16870
|
-
/**
|
|
16871
|
-
* Search Products
|
|
16872
|
-
* @summary Search Products
|
|
16873
|
-
* @param {number} [pageSize] Number Of Results
|
|
16874
|
-
* @param {number} [page] Page Number
|
|
16875
|
-
* @param {string} [search] Search
|
|
16876
|
-
* @param {*} [options] Override http request option.
|
|
16877
|
-
* @throws {RequiredError}
|
|
16878
|
-
* @memberof ProductsApi
|
|
16879
|
-
*/
|
|
16880
|
-
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
16881
|
-
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
16882
|
-
}
|
|
16883
|
-
|
|
16884
|
-
/**
|
|
16885
|
-
* Get Product
|
|
16886
|
-
* @summary Get Product
|
|
16887
|
-
* @param {string} sku Product SKU
|
|
16888
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16889
|
-
* @param {*} [options] Override http request option.
|
|
16890
|
-
* @throws {RequiredError}
|
|
16891
|
-
* @memberof ProductsApi
|
|
16892
|
-
*/
|
|
16893
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
16894
|
-
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16895
|
-
}
|
|
16896
|
-
|
|
16897
|
-
/**
|
|
16898
|
-
* Get Product For Customer
|
|
16899
|
-
* @summary Get Product For Customer
|
|
16900
|
-
* @param {number} customerId Customer ID
|
|
16901
|
-
* @param {string} sku Product SKU
|
|
16902
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16903
|
-
* @param {*} [options] Override http request option.
|
|
16904
|
-
* @throws {RequiredError}
|
|
16905
|
-
* @memberof ProductsApi
|
|
16906
|
-
*/
|
|
16907
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
16908
|
-
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16909
|
-
}
|
|
16910
15466
|
}
|
|
16911
15467
|
|
|
16912
15468
|
/**
|
|
@@ -17247,7 +15803,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
17247
15803
|
* @param {*} [options] Override http request option.
|
|
17248
15804
|
* @throws {RequiredError}
|
|
17249
15805
|
*/
|
|
17250
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
15806
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
|
|
17251
15807
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
17252
15808
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17253
15809
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -17260,7 +15816,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
17260
15816
|
* @param {*} [options] Override http request option.
|
|
17261
15817
|
* @throws {RequiredError}
|
|
17262
15818
|
*/
|
|
17263
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
15819
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
|
|
17264
15820
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
17265
15821
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17266
15822
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -17339,7 +15895,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
17339
15895
|
* @param {*} [options] Override http request option.
|
|
17340
15896
|
* @throws {RequiredError}
|
|
17341
15897
|
*/
|
|
17342
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
15898
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
|
|
17343
15899
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
17344
15900
|
},
|
|
17345
15901
|
/**
|
|
@@ -17349,7 +15905,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
17349
15905
|
* @param {*} [options] Override http request option.
|
|
17350
15906
|
* @throws {RequiredError}
|
|
17351
15907
|
*/
|
|
17352
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
15908
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
|
|
17353
15909
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
17354
15910
|
},
|
|
17355
15911
|
/**
|
|
@@ -19250,114 +17806,6 @@ export class SMSApi extends BaseAPI {
|
|
|
19250
17806
|
|
|
19251
17807
|
|
|
19252
17808
|
|
|
19253
|
-
/**
|
|
19254
|
-
* ShippingApi - axios parameter creator
|
|
19255
|
-
* @export
|
|
19256
|
-
*/
|
|
19257
|
-
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19258
|
-
return {
|
|
19259
|
-
/**
|
|
19260
|
-
* Get Shipping Services
|
|
19261
|
-
* @summary Get Shipping Services
|
|
19262
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19263
|
-
* @param {*} [options] Override http request option.
|
|
19264
|
-
* @throws {RequiredError}
|
|
19265
|
-
*/
|
|
19266
|
-
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19267
|
-
const localVarPath = `/shipping/services`;
|
|
19268
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19269
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19270
|
-
let baseOptions;
|
|
19271
|
-
if (configuration) {
|
|
19272
|
-
baseOptions = configuration.baseOptions;
|
|
19273
|
-
}
|
|
19274
|
-
|
|
19275
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19276
|
-
const localVarHeaderParameter = {} as any;
|
|
19277
|
-
const localVarQueryParameter = {} as any;
|
|
19278
|
-
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19282
|
-
|
|
19283
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19284
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19285
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19286
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
19287
|
-
|
|
19288
|
-
return {
|
|
19289
|
-
url: toPathString(localVarUrlObj),
|
|
19290
|
-
options: localVarRequestOptions,
|
|
19291
|
-
};
|
|
19292
|
-
},
|
|
19293
|
-
}
|
|
19294
|
-
};
|
|
19295
|
-
|
|
19296
|
-
/**
|
|
19297
|
-
* ShippingApi - functional programming interface
|
|
19298
|
-
* @export
|
|
19299
|
-
*/
|
|
19300
|
-
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
19301
|
-
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
|
|
19302
|
-
return {
|
|
19303
|
-
/**
|
|
19304
|
-
* Get Shipping Services
|
|
19305
|
-
* @summary Get Shipping Services
|
|
19306
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19307
|
-
* @param {*} [options] Override http request option.
|
|
19308
|
-
* @throws {RequiredError}
|
|
19309
|
-
*/
|
|
19310
|
-
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
19311
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
19312
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19313
|
-
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
19314
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19315
|
-
},
|
|
19316
|
-
}
|
|
19317
|
-
};
|
|
19318
|
-
|
|
19319
|
-
/**
|
|
19320
|
-
* ShippingApi - factory interface
|
|
19321
|
-
* @export
|
|
19322
|
-
*/
|
|
19323
|
-
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19324
|
-
const localVarFp = ShippingApiFp(configuration)
|
|
19325
|
-
return {
|
|
19326
|
-
/**
|
|
19327
|
-
* Get Shipping Services
|
|
19328
|
-
* @summary Get Shipping Services
|
|
19329
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19330
|
-
* @param {*} [options] Override http request option.
|
|
19331
|
-
* @throws {RequiredError}
|
|
19332
|
-
*/
|
|
19333
|
-
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
19334
|
-
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
19335
|
-
},
|
|
19336
|
-
};
|
|
19337
|
-
};
|
|
19338
|
-
|
|
19339
|
-
/**
|
|
19340
|
-
* ShippingApi - object-oriented interface
|
|
19341
|
-
* @export
|
|
19342
|
-
* @class ShippingApi
|
|
19343
|
-
* @extends {BaseAPI}
|
|
19344
|
-
*/
|
|
19345
|
-
export class ShippingApi extends BaseAPI {
|
|
19346
|
-
/**
|
|
19347
|
-
* Get Shipping Services
|
|
19348
|
-
* @summary Get Shipping Services
|
|
19349
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19350
|
-
* @param {*} [options] Override http request option.
|
|
19351
|
-
* @throws {RequiredError}
|
|
19352
|
-
* @memberof ShippingApi
|
|
19353
|
-
*/
|
|
19354
|
-
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
19355
|
-
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19356
|
-
}
|
|
19357
|
-
}
|
|
19358
|
-
|
|
19359
|
-
|
|
19360
|
-
|
|
19361
17809
|
/**
|
|
19362
17810
|
* StockManagementApi - axios parameter creator
|
|
19363
17811
|
* @export
|
|
@@ -20444,7 +18892,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
20444
18892
|
* @param {*} [options] Override http request option.
|
|
20445
18893
|
* @throws {RequiredError}
|
|
20446
18894
|
*/
|
|
20447
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
18895
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
|
|
20448
18896
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
20449
18897
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20450
18898
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20747,7 +19195,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
20747
19195
|
* @param {*} [options] Override http request option.
|
|
20748
19196
|
* @throws {RequiredError}
|
|
20749
19197
|
*/
|
|
20750
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
19198
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
|
|
20751
19199
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
20752
19200
|
},
|
|
20753
19201
|
/**
|