yellowgrid-api-ts 3.1.7 → 3.1.8-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +214 -197
- package/README.md +34 -7
- package/api.ts +1874 -251
- 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 +1355 -146
- package/dist/api.js +1135 -197
- 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/AbstractOrderRequestDTO.md +33 -0
- package/docs/AccountDetailedSummaryDTO.md +39 -0
- package/docs/AccountsApi.md +103 -0
- package/docs/AddressModel.md +2 -0
- package/docs/AdminItemRequestDTO.md +41 -0
- package/docs/AdminOrderRequestDTO.md +45 -0
- package/docs/AdminUserModel.md +29 -0
- package/docs/BasicItemDTO.md +23 -0
- package/docs/BasicProductDTO.md +23 -0
- package/docs/Class3CXApi.md +0 -55
- package/docs/ClientDetailsModel.md +0 -2
- package/docs/CourierPriceEntity.md +39 -0
- package/docs/CustomerItemRequestDTO.md +37 -0
- package/docs/CustomerOrderRequestDTO.md +33 -0
- package/docs/ItemDTO.md +12 -4
- package/docs/ItemEntity.md +2 -0
- package/docs/LinkedOrderEntity.md +23 -0
- package/docs/OrderSummaryDTO.md +8 -0
- package/docs/OrderTotalModel.md +2 -0
- package/docs/OrdersApi.md +356 -4
- package/docs/PostGetProductForCustomerRequest.md +24 -0
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +5 -3
- package/docs/ProductsApi.md +164 -43
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/ShippingApi.md +63 -0
- package/docs/ShippingConsignmentModel.md +26 -0
- package/docs/ShippingInformationDTO.md +25 -0
- package/docs/ShippingServiceDTO.md +23 -0
- package/docs/ShippingServiceModel.md +31 -0
- package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcDTO.md +31 -0
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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,6 +23,55 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Order Request
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AbstractOrderRequestDTO
|
|
30
|
+
*/
|
|
31
|
+
export interface AbstractOrderRequestDTO {
|
|
32
|
+
/**
|
|
33
|
+
* Order Reference
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AbstractOrderRequestDTO
|
|
36
|
+
*/
|
|
37
|
+
'orderReference'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Items
|
|
40
|
+
* @type {Array<CustomerItemRequestDTO>}
|
|
41
|
+
* @memberof AbstractOrderRequestDTO
|
|
42
|
+
*/
|
|
43
|
+
'items'?: Array<CustomerItemRequestDTO>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ShippingServiceDTO}
|
|
47
|
+
* @memberof AbstractOrderRequestDTO
|
|
48
|
+
*/
|
|
49
|
+
'shippingService'?: ShippingServiceDTO;
|
|
50
|
+
/**
|
|
51
|
+
* Provisioning URL
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AbstractOrderRequestDTO
|
|
54
|
+
*/
|
|
55
|
+
'provisioningUrl'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {AddressModel}
|
|
59
|
+
* @memberof AbstractOrderRequestDTO
|
|
60
|
+
*/
|
|
61
|
+
'shippingAddress'?: AddressModel | null;
|
|
62
|
+
/**
|
|
63
|
+
* Part Ship Order
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof AbstractOrderRequestDTO
|
|
66
|
+
*/
|
|
67
|
+
'partShip'?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Quote
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AbstractOrderRequestDTO
|
|
72
|
+
*/
|
|
73
|
+
'quote'?: boolean;
|
|
74
|
+
}
|
|
26
75
|
/**
|
|
27
76
|
* AccountContactsEntity
|
|
28
77
|
* @export
|
|
@@ -254,6 +303,73 @@ export interface AccountContactRequestModel {
|
|
|
254
303
|
*/
|
|
255
304
|
'despatchEmails'?: boolean;
|
|
256
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Account Details
|
|
308
|
+
* @export
|
|
309
|
+
* @interface AccountDetailedSummaryDTO
|
|
310
|
+
*/
|
|
311
|
+
export interface AccountDetailedSummaryDTO {
|
|
312
|
+
/**
|
|
313
|
+
* ID
|
|
314
|
+
* @type {number}
|
|
315
|
+
* @memberof AccountDetailedSummaryDTO
|
|
316
|
+
*/
|
|
317
|
+
'id'?: number;
|
|
318
|
+
/**
|
|
319
|
+
* Xero ID
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof AccountDetailedSummaryDTO
|
|
322
|
+
*/
|
|
323
|
+
'xeroId'?: string;
|
|
324
|
+
/**
|
|
325
|
+
* Company
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof AccountDetailedSummaryDTO
|
|
328
|
+
*/
|
|
329
|
+
'company'?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Credit Limit
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof AccountDetailedSummaryDTO
|
|
334
|
+
*/
|
|
335
|
+
'creditLimit'?: number;
|
|
336
|
+
/**
|
|
337
|
+
* Contacts
|
|
338
|
+
* @type {Array<AccountContactModel>}
|
|
339
|
+
* @memberof AccountDetailedSummaryDTO
|
|
340
|
+
*/
|
|
341
|
+
'contacts'?: Array<AccountContactModel>;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {AddressModel}
|
|
345
|
+
* @memberof AccountDetailedSummaryDTO
|
|
346
|
+
*/
|
|
347
|
+
'billingAddress'?: AddressModel;
|
|
348
|
+
/**
|
|
349
|
+
* Addresses
|
|
350
|
+
* @type {Array<AddressModel>}
|
|
351
|
+
* @memberof AccountDetailedSummaryDTO
|
|
352
|
+
*/
|
|
353
|
+
'addresses'?: Array<AddressModel>;
|
|
354
|
+
/**
|
|
355
|
+
* Provisioning URLs
|
|
356
|
+
* @type {Array<ProvisioningModel>}
|
|
357
|
+
* @memberof AccountDetailedSummaryDTO
|
|
358
|
+
*/
|
|
359
|
+
'provisioningUrls'?: Array<ProvisioningModel>;
|
|
360
|
+
/**
|
|
361
|
+
* On Hold
|
|
362
|
+
* @type {boolean}
|
|
363
|
+
* @memberof AccountDetailedSummaryDTO
|
|
364
|
+
*/
|
|
365
|
+
'onHold'?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Balance (£)
|
|
368
|
+
* @type {number}
|
|
369
|
+
* @memberof AccountDetailedSummaryDTO
|
|
370
|
+
*/
|
|
371
|
+
'balance'?: number | null;
|
|
372
|
+
}
|
|
257
373
|
/**
|
|
258
374
|
* New Account Request
|
|
259
375
|
* @export
|
|
@@ -503,6 +619,12 @@ export interface AddressModel {
|
|
|
503
619
|
* @memberof AddressModel
|
|
504
620
|
*/
|
|
505
621
|
'company'?: string;
|
|
622
|
+
/**
|
|
623
|
+
* Default
|
|
624
|
+
* @type {boolean}
|
|
625
|
+
* @memberof AddressModel
|
|
626
|
+
*/
|
|
627
|
+
'default'?: boolean;
|
|
506
628
|
}
|
|
507
629
|
/**
|
|
508
630
|
* Address Request
|
|
@@ -535,6 +657,212 @@ export interface AddressRequestModel {
|
|
|
535
657
|
*/
|
|
536
658
|
'addressPostcode'?: string;
|
|
537
659
|
}
|
|
660
|
+
/**
|
|
661
|
+
* Admin Order Item Request
|
|
662
|
+
* @export
|
|
663
|
+
* @interface AdminItemRequestDTO
|
|
664
|
+
*/
|
|
665
|
+
export interface AdminItemRequestDTO {
|
|
666
|
+
/**
|
|
667
|
+
* SKU
|
|
668
|
+
* @type {string}
|
|
669
|
+
* @memberof AdminItemRequestDTO
|
|
670
|
+
*/
|
|
671
|
+
'sku'?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Quantity
|
|
674
|
+
* @type {number}
|
|
675
|
+
* @memberof AdminItemRequestDTO
|
|
676
|
+
*/
|
|
677
|
+
'quantity'?: number;
|
|
678
|
+
/**
|
|
679
|
+
* ID
|
|
680
|
+
* @type {number}
|
|
681
|
+
* @memberof AdminItemRequestDTO
|
|
682
|
+
*/
|
|
683
|
+
'id'?: number | null;
|
|
684
|
+
/**
|
|
685
|
+
* 3CX Licence Key
|
|
686
|
+
* @type {string}
|
|
687
|
+
* @memberof AdminItemRequestDTO
|
|
688
|
+
*/
|
|
689
|
+
'licenceKey'?: string | null;
|
|
690
|
+
/**
|
|
691
|
+
* 3CX Hosting
|
|
692
|
+
* @type {boolean}
|
|
693
|
+
* @memberof AdminItemRequestDTO
|
|
694
|
+
*/
|
|
695
|
+
'hosting'?: boolean | null;
|
|
696
|
+
/**
|
|
697
|
+
* Date Time
|
|
698
|
+
* @type {string}
|
|
699
|
+
* @memberof AdminItemRequestDTO
|
|
700
|
+
*/
|
|
701
|
+
'processDate'?: string;
|
|
702
|
+
/**
|
|
703
|
+
* 3CX Sales Code
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof AdminItemRequestDTO
|
|
706
|
+
*/
|
|
707
|
+
'tcxSalesCode'?: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* SBCS
|
|
710
|
+
* @type {Array<TcxSbcDTO>}
|
|
711
|
+
* @memberof AdminItemRequestDTO
|
|
712
|
+
*/
|
|
713
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
714
|
+
/**
|
|
715
|
+
* Read Only (Cannot be edited)
|
|
716
|
+
* @type {boolean}
|
|
717
|
+
* @memberof AdminItemRequestDTO
|
|
718
|
+
*/
|
|
719
|
+
'readOnly'?: boolean;
|
|
720
|
+
/**
|
|
721
|
+
* Title
|
|
722
|
+
* @type {string}
|
|
723
|
+
* @memberof AdminItemRequestDTO
|
|
724
|
+
*/
|
|
725
|
+
'title'?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* Price (£)
|
|
728
|
+
* @type {number}
|
|
729
|
+
* @memberof AdminItemRequestDTO
|
|
730
|
+
*/
|
|
731
|
+
'itemPrice'?: number | null;
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* Admin Order Request
|
|
735
|
+
* @export
|
|
736
|
+
* @interface AdminOrderRequestDTO
|
|
737
|
+
*/
|
|
738
|
+
export interface AdminOrderRequestDTO {
|
|
739
|
+
/**
|
|
740
|
+
* Order Reference
|
|
741
|
+
* @type {string}
|
|
742
|
+
* @memberof AdminOrderRequestDTO
|
|
743
|
+
*/
|
|
744
|
+
'orderReference'?: string | null;
|
|
745
|
+
/**
|
|
746
|
+
* Items
|
|
747
|
+
* @type {Array<AdminItemRequestDTO>}
|
|
748
|
+
* @memberof AdminOrderRequestDTO
|
|
749
|
+
*/
|
|
750
|
+
'items'?: Array<AdminItemRequestDTO>;
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @type {ShippingServiceDTO}
|
|
754
|
+
* @memberof AdminOrderRequestDTO
|
|
755
|
+
*/
|
|
756
|
+
'shippingService'?: ShippingServiceDTO;
|
|
757
|
+
/**
|
|
758
|
+
* Provisioning URL
|
|
759
|
+
* @type {string}
|
|
760
|
+
* @memberof AdminOrderRequestDTO
|
|
761
|
+
*/
|
|
762
|
+
'provisioningUrl'?: string | null;
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {AddressModel}
|
|
766
|
+
* @memberof AdminOrderRequestDTO
|
|
767
|
+
*/
|
|
768
|
+
'shippingAddress'?: AddressModel;
|
|
769
|
+
/**
|
|
770
|
+
* Part Ship Order
|
|
771
|
+
* @type {boolean}
|
|
772
|
+
* @memberof AdminOrderRequestDTO
|
|
773
|
+
*/
|
|
774
|
+
'partShip'?: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* Quote
|
|
777
|
+
* @type {boolean}
|
|
778
|
+
* @memberof AdminOrderRequestDTO
|
|
779
|
+
*/
|
|
780
|
+
'quote'?: boolean;
|
|
781
|
+
/**
|
|
782
|
+
* Customer ID
|
|
783
|
+
* @type {number}
|
|
784
|
+
* @memberof AdminOrderRequestDTO
|
|
785
|
+
*/
|
|
786
|
+
'customerId'?: number;
|
|
787
|
+
/**
|
|
788
|
+
* Contact
|
|
789
|
+
* @type {string}
|
|
790
|
+
* @memberof AdminOrderRequestDTO
|
|
791
|
+
*/
|
|
792
|
+
'contact'?: string;
|
|
793
|
+
/**
|
|
794
|
+
* Ignore Customer On Hold
|
|
795
|
+
* @type {boolean}
|
|
796
|
+
* @memberof AdminOrderRequestDTO
|
|
797
|
+
*/
|
|
798
|
+
'ignoreOnHold'?: boolean;
|
|
799
|
+
/**
|
|
800
|
+
* Ignore Customer Credit Limit
|
|
801
|
+
* @type {boolean}
|
|
802
|
+
* @memberof AdminOrderRequestDTO
|
|
803
|
+
*/
|
|
804
|
+
'ignoreCreditLimit'?: boolean;
|
|
805
|
+
/**
|
|
806
|
+
* Include NFR Promos
|
|
807
|
+
* @type {boolean}
|
|
808
|
+
* @memberof AdminOrderRequestDTO
|
|
809
|
+
*/
|
|
810
|
+
'includeNfrPromos'?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Carriage Charge
|
|
813
|
+
* @type {number}
|
|
814
|
+
* @memberof AdminOrderRequestDTO
|
|
815
|
+
*/
|
|
816
|
+
'carriageCharge'?: number;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Admin User
|
|
820
|
+
* @export
|
|
821
|
+
* @interface AdminUserModel
|
|
822
|
+
*/
|
|
823
|
+
export interface AdminUserModel {
|
|
824
|
+
/**
|
|
825
|
+
* First Name
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof AdminUserModel
|
|
828
|
+
*/
|
|
829
|
+
'firstName'?: string;
|
|
830
|
+
/**
|
|
831
|
+
* Last Name
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof AdminUserModel
|
|
834
|
+
*/
|
|
835
|
+
'lastName'?: string;
|
|
836
|
+
/**
|
|
837
|
+
* Avatar
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof AdminUserModel
|
|
840
|
+
*/
|
|
841
|
+
'avatar'?: string | null;
|
|
842
|
+
/**
|
|
843
|
+
* Role
|
|
844
|
+
* @type {number}
|
|
845
|
+
* @memberof AdminUserModel
|
|
846
|
+
*/
|
|
847
|
+
'role'?: AdminUserModelRoleEnum;
|
|
848
|
+
/**
|
|
849
|
+
* Email
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof AdminUserModel
|
|
852
|
+
*/
|
|
853
|
+
'email'?: string | null;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export const AdminUserModelRoleEnum = {
|
|
857
|
+
NUMBER_0: 0,
|
|
858
|
+
NUMBER_1: 1,
|
|
859
|
+
NUMBER_2: 2,
|
|
860
|
+
NUMBER_3: 3,
|
|
861
|
+
NUMBER_4: 4
|
|
862
|
+
} as const;
|
|
863
|
+
|
|
864
|
+
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
865
|
+
|
|
538
866
|
/**
|
|
539
867
|
* Agent Hours Graph
|
|
540
868
|
* @export
|
|
@@ -764,6 +1092,44 @@ export interface AuthCodeResponseModel {
|
|
|
764
1092
|
*/
|
|
765
1093
|
'redirect_uri'?: string | null;
|
|
766
1094
|
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Basic Order Item
|
|
1097
|
+
* @export
|
|
1098
|
+
* @interface BasicItemDTO
|
|
1099
|
+
*/
|
|
1100
|
+
export interface BasicItemDTO {
|
|
1101
|
+
/**
|
|
1102
|
+
* SKU
|
|
1103
|
+
* @type {string}
|
|
1104
|
+
* @memberof BasicItemDTO
|
|
1105
|
+
*/
|
|
1106
|
+
'sku'?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Quantity
|
|
1109
|
+
* @type {number}
|
|
1110
|
+
* @memberof BasicItemDTO
|
|
1111
|
+
*/
|
|
1112
|
+
'quantity'?: number;
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* Basic Product
|
|
1116
|
+
* @export
|
|
1117
|
+
* @interface BasicProductDTO
|
|
1118
|
+
*/
|
|
1119
|
+
export interface BasicProductDTO {
|
|
1120
|
+
/**
|
|
1121
|
+
* SKU
|
|
1122
|
+
* @type {string}
|
|
1123
|
+
* @memberof BasicProductDTO
|
|
1124
|
+
*/
|
|
1125
|
+
'sku'?: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* Title
|
|
1128
|
+
* @type {string}
|
|
1129
|
+
* @memberof BasicProductDTO
|
|
1130
|
+
*/
|
|
1131
|
+
'title'?: string;
|
|
1132
|
+
}
|
|
767
1133
|
/**
|
|
768
1134
|
* BatchesEntity
|
|
769
1135
|
* @export
|
|
@@ -958,12 +1324,6 @@ export interface ClientDetailsModel {
|
|
|
958
1324
|
* @memberof ClientDetailsModel
|
|
959
1325
|
*/
|
|
960
1326
|
'lastName'?: string;
|
|
961
|
-
/**
|
|
962
|
-
* User Profile Picture
|
|
963
|
-
* @type {string}
|
|
964
|
-
* @memberof ClientDetailsModel
|
|
965
|
-
*/
|
|
966
|
-
'image'?: string | null;
|
|
967
1327
|
}
|
|
968
1328
|
/**
|
|
969
1329
|
* OAuth client details
|
|
@@ -1126,37 +1486,104 @@ export interface ConversationModel {
|
|
|
1126
1486
|
'attachments'?: Array<AttachmentModel>;
|
|
1127
1487
|
}
|
|
1128
1488
|
/**
|
|
1129
|
-
*
|
|
1489
|
+
* CourierPricesEntity
|
|
1130
1490
|
* @export
|
|
1131
|
-
* @interface
|
|
1491
|
+
* @interface CourierPriceEntity
|
|
1132
1492
|
*/
|
|
1133
|
-
export interface
|
|
1493
|
+
export interface CourierPriceEntity {
|
|
1134
1494
|
/**
|
|
1135
|
-
*
|
|
1495
|
+
* id
|
|
1136
1496
|
* @type {number}
|
|
1137
|
-
* @memberof
|
|
1497
|
+
* @memberof CourierPriceEntity
|
|
1138
1498
|
*/
|
|
1139
1499
|
'id'?: number;
|
|
1140
1500
|
/**
|
|
1141
|
-
*
|
|
1501
|
+
* courier
|
|
1142
1502
|
* @type {string}
|
|
1143
|
-
* @memberof
|
|
1503
|
+
* @memberof CourierPriceEntity
|
|
1144
1504
|
*/
|
|
1145
|
-
'
|
|
1505
|
+
'courier'?: string;
|
|
1146
1506
|
/**
|
|
1147
|
-
*
|
|
1507
|
+
* destinationIso
|
|
1148
1508
|
* @type {string}
|
|
1149
|
-
* @memberof
|
|
1509
|
+
* @memberof CourierPriceEntity
|
|
1150
1510
|
*/
|
|
1151
|
-
'
|
|
1511
|
+
'destinationIso'?: string;
|
|
1152
1512
|
/**
|
|
1153
|
-
*
|
|
1513
|
+
* serviceDescription
|
|
1154
1514
|
* @type {string}
|
|
1155
|
-
* @memberof
|
|
1515
|
+
* @memberof CourierPriceEntity
|
|
1156
1516
|
*/
|
|
1157
|
-
'
|
|
1517
|
+
'serviceDescription'?: string;
|
|
1158
1518
|
/**
|
|
1159
|
-
*
|
|
1519
|
+
* flatRate
|
|
1520
|
+
* @type {number}
|
|
1521
|
+
* @memberof CourierPriceEntity
|
|
1522
|
+
*/
|
|
1523
|
+
'flatRate'?: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* initialBox
|
|
1526
|
+
* @type {number}
|
|
1527
|
+
* @memberof CourierPriceEntity
|
|
1528
|
+
*/
|
|
1529
|
+
'initialBox'?: number;
|
|
1530
|
+
/**
|
|
1531
|
+
* initialKg
|
|
1532
|
+
* @type {number}
|
|
1533
|
+
* @memberof CourierPriceEntity
|
|
1534
|
+
*/
|
|
1535
|
+
'initialKg'?: number;
|
|
1536
|
+
/**
|
|
1537
|
+
* perBox
|
|
1538
|
+
* @type {number}
|
|
1539
|
+
* @memberof CourierPriceEntity
|
|
1540
|
+
*/
|
|
1541
|
+
'perBox'?: number;
|
|
1542
|
+
/**
|
|
1543
|
+
* perKg
|
|
1544
|
+
* @type {number}
|
|
1545
|
+
* @memberof CourierPriceEntity
|
|
1546
|
+
*/
|
|
1547
|
+
'perKg'?: number;
|
|
1548
|
+
/**
|
|
1549
|
+
* maxKg
|
|
1550
|
+
* @type {number}
|
|
1551
|
+
* @memberof CourierPriceEntity
|
|
1552
|
+
*/
|
|
1553
|
+
'maxKg'?: number;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* Credit Account
|
|
1557
|
+
* @export
|
|
1558
|
+
* @interface CreditAccountEntity
|
|
1559
|
+
*/
|
|
1560
|
+
export interface CreditAccountEntity {
|
|
1561
|
+
/**
|
|
1562
|
+
* ID
|
|
1563
|
+
* @type {number}
|
|
1564
|
+
* @memberof CreditAccountEntity
|
|
1565
|
+
*/
|
|
1566
|
+
'id'?: number;
|
|
1567
|
+
/**
|
|
1568
|
+
* Contact Name
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof CreditAccountEntity
|
|
1571
|
+
*/
|
|
1572
|
+
'name'?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Email
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof CreditAccountEntity
|
|
1577
|
+
*/
|
|
1578
|
+
'email'?: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* Phone Number
|
|
1581
|
+
* @type {string}
|
|
1582
|
+
* @memberof CreditAccountEntity
|
|
1583
|
+
*/
|
|
1584
|
+
'phone'?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* Company Name
|
|
1160
1587
|
* @type {string}
|
|
1161
1588
|
* @memberof CreditAccountEntity
|
|
1162
1589
|
*/
|
|
@@ -1356,6 +1783,116 @@ export interface CustomerInformationModel {
|
|
|
1356
1783
|
*/
|
|
1357
1784
|
'contactLastName'?: string;
|
|
1358
1785
|
}
|
|
1786
|
+
/**
|
|
1787
|
+
* Order Item Request
|
|
1788
|
+
* @export
|
|
1789
|
+
* @interface CustomerItemRequestDTO
|
|
1790
|
+
*/
|
|
1791
|
+
export interface CustomerItemRequestDTO {
|
|
1792
|
+
/**
|
|
1793
|
+
* SKU
|
|
1794
|
+
* @type {string}
|
|
1795
|
+
* @memberof CustomerItemRequestDTO
|
|
1796
|
+
*/
|
|
1797
|
+
'sku'?: string;
|
|
1798
|
+
/**
|
|
1799
|
+
* Quantity
|
|
1800
|
+
* @type {number}
|
|
1801
|
+
* @memberof CustomerItemRequestDTO
|
|
1802
|
+
*/
|
|
1803
|
+
'quantity'?: number;
|
|
1804
|
+
/**
|
|
1805
|
+
* ID
|
|
1806
|
+
* @type {number}
|
|
1807
|
+
* @memberof CustomerItemRequestDTO
|
|
1808
|
+
*/
|
|
1809
|
+
'id'?: number | null;
|
|
1810
|
+
/**
|
|
1811
|
+
* 3CX Licence Key
|
|
1812
|
+
* @type {string}
|
|
1813
|
+
* @memberof CustomerItemRequestDTO
|
|
1814
|
+
*/
|
|
1815
|
+
'licenceKey'?: string | null;
|
|
1816
|
+
/**
|
|
1817
|
+
* 3CX Hosting
|
|
1818
|
+
* @type {boolean}
|
|
1819
|
+
* @memberof CustomerItemRequestDTO
|
|
1820
|
+
*/
|
|
1821
|
+
'hosting'?: boolean | null;
|
|
1822
|
+
/**
|
|
1823
|
+
* Date Time
|
|
1824
|
+
* @type {string}
|
|
1825
|
+
* @memberof CustomerItemRequestDTO
|
|
1826
|
+
*/
|
|
1827
|
+
'processDate'?: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* 3CX Sales Code
|
|
1830
|
+
* @type {string}
|
|
1831
|
+
* @memberof CustomerItemRequestDTO
|
|
1832
|
+
*/
|
|
1833
|
+
'tcxSalesCode'?: string | null;
|
|
1834
|
+
/**
|
|
1835
|
+
* SBCS
|
|
1836
|
+
* @type {Array<TcxSbcDTO>}
|
|
1837
|
+
* @memberof CustomerItemRequestDTO
|
|
1838
|
+
*/
|
|
1839
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Read Only (Cannot be edited)
|
|
1842
|
+
* @type {boolean}
|
|
1843
|
+
* @memberof CustomerItemRequestDTO
|
|
1844
|
+
*/
|
|
1845
|
+
'readOnly'?: boolean;
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* Order Request
|
|
1849
|
+
* @export
|
|
1850
|
+
* @interface CustomerOrderRequestDTO
|
|
1851
|
+
*/
|
|
1852
|
+
export interface CustomerOrderRequestDTO {
|
|
1853
|
+
/**
|
|
1854
|
+
* Order Reference
|
|
1855
|
+
* @type {string}
|
|
1856
|
+
* @memberof CustomerOrderRequestDTO
|
|
1857
|
+
*/
|
|
1858
|
+
'orderReference'?: string | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* Items
|
|
1861
|
+
* @type {Array<CustomerItemRequestDTO>}
|
|
1862
|
+
* @memberof CustomerOrderRequestDTO
|
|
1863
|
+
*/
|
|
1864
|
+
'items'?: Array<CustomerItemRequestDTO>;
|
|
1865
|
+
/**
|
|
1866
|
+
*
|
|
1867
|
+
* @type {ShippingServiceDTO}
|
|
1868
|
+
* @memberof CustomerOrderRequestDTO
|
|
1869
|
+
*/
|
|
1870
|
+
'shippingService'?: ShippingServiceDTO;
|
|
1871
|
+
/**
|
|
1872
|
+
* Provisioning URL
|
|
1873
|
+
* @type {string}
|
|
1874
|
+
* @memberof CustomerOrderRequestDTO
|
|
1875
|
+
*/
|
|
1876
|
+
'provisioningUrl'?: string | null;
|
|
1877
|
+
/**
|
|
1878
|
+
*
|
|
1879
|
+
* @type {AddressModel}
|
|
1880
|
+
* @memberof CustomerOrderRequestDTO
|
|
1881
|
+
*/
|
|
1882
|
+
'shippingAddress'?: AddressModel;
|
|
1883
|
+
/**
|
|
1884
|
+
* Part Ship Order
|
|
1885
|
+
* @type {boolean}
|
|
1886
|
+
* @memberof CustomerOrderRequestDTO
|
|
1887
|
+
*/
|
|
1888
|
+
'partShip'?: boolean;
|
|
1889
|
+
/**
|
|
1890
|
+
* Quote
|
|
1891
|
+
* @type {boolean}
|
|
1892
|
+
* @memberof CustomerOrderRequestDTO
|
|
1893
|
+
*/
|
|
1894
|
+
'quote'?: boolean;
|
|
1895
|
+
}
|
|
1359
1896
|
/**
|
|
1360
1897
|
* Customer Price List
|
|
1361
1898
|
* @export
|
|
@@ -1865,19 +2402,6 @@ export interface GenericFileModel {
|
|
|
1865
2402
|
*/
|
|
1866
2403
|
'type'?: string;
|
|
1867
2404
|
}
|
|
1868
|
-
/**
|
|
1869
|
-
*
|
|
1870
|
-
* @export
|
|
1871
|
-
* @interface GetGetPasswordHash200Response
|
|
1872
|
-
*/
|
|
1873
|
-
export interface GetGetPasswordHash200Response {
|
|
1874
|
-
/**
|
|
1875
|
-
*
|
|
1876
|
-
* @type {string}
|
|
1877
|
-
* @memberof GetGetPasswordHash200Response
|
|
1878
|
-
*/
|
|
1879
|
-
'hash'?: string;
|
|
1880
|
-
}
|
|
1881
2405
|
/**
|
|
1882
2406
|
*
|
|
1883
2407
|
* @export
|
|
@@ -2479,35 +3003,35 @@ export interface InstanceUserCredentialsEntity {
|
|
|
2479
3003
|
*/
|
|
2480
3004
|
export interface ItemDTO {
|
|
2481
3005
|
/**
|
|
2482
|
-
*
|
|
2483
|
-
* @type {
|
|
3006
|
+
* SKU
|
|
3007
|
+
* @type {string}
|
|
2484
3008
|
* @memberof ItemDTO
|
|
2485
3009
|
*/
|
|
2486
|
-
'
|
|
3010
|
+
'sku'?: string;
|
|
2487
3011
|
/**
|
|
2488
|
-
*
|
|
3012
|
+
* Quantity
|
|
2489
3013
|
* @type {number}
|
|
2490
3014
|
* @memberof ItemDTO
|
|
2491
3015
|
*/
|
|
2492
|
-
'
|
|
3016
|
+
'quantity'?: number;
|
|
2493
3017
|
/**
|
|
2494
|
-
*
|
|
2495
|
-
* @type {
|
|
3018
|
+
* ID
|
|
3019
|
+
* @type {number}
|
|
2496
3020
|
* @memberof ItemDTO
|
|
2497
3021
|
*/
|
|
2498
|
-
'
|
|
3022
|
+
'id'?: number | null;
|
|
2499
3023
|
/**
|
|
2500
|
-
*
|
|
2501
|
-
* @type {
|
|
3024
|
+
* Order ID
|
|
3025
|
+
* @type {number}
|
|
2502
3026
|
* @memberof ItemDTO
|
|
2503
3027
|
*/
|
|
2504
|
-
'
|
|
3028
|
+
'orderId'?: number | null;
|
|
2505
3029
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
* @type {
|
|
3030
|
+
* Title
|
|
3031
|
+
* @type {string}
|
|
2508
3032
|
* @memberof ItemDTO
|
|
2509
3033
|
*/
|
|
2510
|
-
'
|
|
3034
|
+
'title'?: string;
|
|
2511
3035
|
/**
|
|
2512
3036
|
* Price
|
|
2513
3037
|
* @type {number}
|
|
@@ -2532,6 +3056,12 @@ export interface ItemDTO {
|
|
|
2532
3056
|
* @memberof ItemDTO
|
|
2533
3057
|
*/
|
|
2534
3058
|
'processDate'?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* 3CX Hosting
|
|
3061
|
+
* @type {boolean}
|
|
3062
|
+
* @memberof ItemDTO
|
|
3063
|
+
*/
|
|
3064
|
+
'hosting'?: boolean | null;
|
|
2535
3065
|
/**
|
|
2536
3066
|
* Promo Item
|
|
2537
3067
|
* @type {boolean}
|
|
@@ -2543,7 +3073,25 @@ export interface ItemDTO {
|
|
|
2543
3073
|
* @type {number}
|
|
2544
3074
|
* @memberof ItemDTO
|
|
2545
3075
|
*/
|
|
2546
|
-
'refunded'?: number;
|
|
3076
|
+
'refunded'?: number | null;
|
|
3077
|
+
/**
|
|
3078
|
+
* SBCs
|
|
3079
|
+
* @type {Array<TcxSbcDTO>}
|
|
3080
|
+
* @memberof ItemDTO
|
|
3081
|
+
*/
|
|
3082
|
+
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3083
|
+
/**
|
|
3084
|
+
* Readonly
|
|
3085
|
+
* @type {boolean}
|
|
3086
|
+
* @memberof ItemDTO
|
|
3087
|
+
*/
|
|
3088
|
+
'readonly'?: boolean;
|
|
3089
|
+
/**
|
|
3090
|
+
* 3CX Sales Code
|
|
3091
|
+
* @type {string}
|
|
3092
|
+
* @memberof ItemDTO
|
|
3093
|
+
*/
|
|
3094
|
+
'tcxSalesCode'?: string | null;
|
|
2547
3095
|
}
|
|
2548
3096
|
/**
|
|
2549
3097
|
* ItemsEntity
|
|
@@ -2677,6 +3225,31 @@ export interface ItemEntity {
|
|
|
2677
3225
|
* @memberof ItemEntity
|
|
2678
3226
|
*/
|
|
2679
3227
|
'promoItem'?: number;
|
|
3228
|
+
/**
|
|
3229
|
+
* 3CX Sales Code
|
|
3230
|
+
* @type {string}
|
|
3231
|
+
* @memberof ItemEntity
|
|
3232
|
+
*/
|
|
3233
|
+
'tcxSalesCode'?: string | null;
|
|
3234
|
+
}
|
|
3235
|
+
/**
|
|
3236
|
+
* LinkedOrdersEntity
|
|
3237
|
+
* @export
|
|
3238
|
+
* @interface LinkedOrderEntity
|
|
3239
|
+
*/
|
|
3240
|
+
export interface LinkedOrderEntity {
|
|
3241
|
+
/**
|
|
3242
|
+
* orderId
|
|
3243
|
+
* @type {number}
|
|
3244
|
+
* @memberof LinkedOrderEntity
|
|
3245
|
+
*/
|
|
3246
|
+
'orderId'?: number;
|
|
3247
|
+
/**
|
|
3248
|
+
* linkedOrderId
|
|
3249
|
+
* @type {number}
|
|
3250
|
+
* @memberof LinkedOrderEntity
|
|
3251
|
+
*/
|
|
3252
|
+
'linkedOrderId'?: number;
|
|
2680
3253
|
}
|
|
2681
3254
|
/**
|
|
2682
3255
|
* MFA Required
|
|
@@ -3337,13 +3910,19 @@ export interface OrderSummaryDTO {
|
|
|
3337
3910
|
* @type {string}
|
|
3338
3911
|
* @memberof OrderSummaryDTO
|
|
3339
3912
|
*/
|
|
3340
|
-
'reference'?: string;
|
|
3913
|
+
'reference'?: string | null;
|
|
3341
3914
|
/**
|
|
3342
3915
|
* Invoice Number
|
|
3343
3916
|
* @type {string}
|
|
3344
3917
|
* @memberof OrderSummaryDTO
|
|
3345
3918
|
*/
|
|
3346
3919
|
'invoiceNumber'?: string;
|
|
3920
|
+
/**
|
|
3921
|
+
* Invoice ID
|
|
3922
|
+
* @type {string}
|
|
3923
|
+
* @memberof OrderSummaryDTO
|
|
3924
|
+
*/
|
|
3925
|
+
'invoiceId'?: string | null;
|
|
3347
3926
|
/**
|
|
3348
3927
|
* Date Time
|
|
3349
3928
|
* @type {string}
|
|
@@ -3398,6 +3977,24 @@ export interface OrderSummaryDTO {
|
|
|
3398
3977
|
* @memberof OrderSummaryDTO
|
|
3399
3978
|
*/
|
|
3400
3979
|
'fulfillable'?: boolean | null;
|
|
3980
|
+
/**
|
|
3981
|
+
* Provisioning URL
|
|
3982
|
+
* @type {string}
|
|
3983
|
+
* @memberof OrderSummaryDTO
|
|
3984
|
+
*/
|
|
3985
|
+
'provisioningUrl'?: string | null;
|
|
3986
|
+
/**
|
|
3987
|
+
*
|
|
3988
|
+
* @type {ShippingServiceDTO}
|
|
3989
|
+
* @memberof OrderSummaryDTO
|
|
3990
|
+
*/
|
|
3991
|
+
'shippingService'?: ShippingServiceDTO | null;
|
|
3992
|
+
/**
|
|
3993
|
+
* Readonly
|
|
3994
|
+
* @type {boolean}
|
|
3995
|
+
* @memberof OrderSummaryDTO
|
|
3996
|
+
*/
|
|
3997
|
+
'readonly'?: boolean;
|
|
3401
3998
|
}
|
|
3402
3999
|
/**
|
|
3403
4000
|
* Order Totals
|
|
@@ -3447,6 +4044,12 @@ export interface OrderTotalModel {
|
|
|
3447
4044
|
* @memberof OrderTotalModel
|
|
3448
4045
|
*/
|
|
3449
4046
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
4047
|
+
/**
|
|
4048
|
+
* Delivery
|
|
4049
|
+
* @type {number}
|
|
4050
|
+
* @memberof OrderTotalModel
|
|
4051
|
+
*/
|
|
4052
|
+
'delivery'?: number | null;
|
|
3450
4053
|
}
|
|
3451
4054
|
|
|
3452
4055
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -3828,6 +4431,31 @@ export interface PostGetClientCredentialsRequest {
|
|
|
3828
4431
|
*/
|
|
3829
4432
|
'scopes'?: Array<string>;
|
|
3830
4433
|
}
|
|
4434
|
+
/**
|
|
4435
|
+
*
|
|
4436
|
+
* @export
|
|
4437
|
+
* @interface PostGetProductForCustomerRequest
|
|
4438
|
+
*/
|
|
4439
|
+
export interface PostGetProductForCustomerRequest {
|
|
4440
|
+
/**
|
|
4441
|
+
* Quantity
|
|
4442
|
+
* @type {number}
|
|
4443
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4444
|
+
*/
|
|
4445
|
+
'quantity'?: number | null;
|
|
4446
|
+
/**
|
|
4447
|
+
* 3CX Licence Key
|
|
4448
|
+
* @type {string}
|
|
4449
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4450
|
+
*/
|
|
4451
|
+
'licenceKey'?: string | null;
|
|
4452
|
+
/**
|
|
4453
|
+
* 3CX Hosting
|
|
4454
|
+
* @type {boolean}
|
|
4455
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4456
|
+
*/
|
|
4457
|
+
'hosting'?: boolean | null;
|
|
4458
|
+
}
|
|
3831
4459
|
/**
|
|
3832
4460
|
* Price & Stock List
|
|
3833
4461
|
* @export
|
|
@@ -3916,10 +4544,10 @@ export interface PrizesEntity {
|
|
|
3916
4544
|
export interface ProductSearchResultsModel {
|
|
3917
4545
|
/**
|
|
3918
4546
|
* Results
|
|
3919
|
-
* @type {Array<
|
|
4547
|
+
* @type {Array<ProductSummaryDTO>}
|
|
3920
4548
|
* @memberof ProductSearchResultsModel
|
|
3921
4549
|
*/
|
|
3922
|
-
'results'?: Array<
|
|
4550
|
+
'results'?: Array<ProductSummaryDTO>;
|
|
3923
4551
|
}
|
|
3924
4552
|
/**
|
|
3925
4553
|
* Product Serial Info
|
|
@@ -3955,45 +4583,51 @@ export interface ProductSerialInfoModel {
|
|
|
3955
4583
|
/**
|
|
3956
4584
|
* Product Summary
|
|
3957
4585
|
* @export
|
|
3958
|
-
* @interface
|
|
4586
|
+
* @interface ProductSummaryDTO
|
|
3959
4587
|
*/
|
|
3960
|
-
export interface
|
|
4588
|
+
export interface ProductSummaryDTO {
|
|
3961
4589
|
/**
|
|
3962
4590
|
* SKU
|
|
3963
4591
|
* @type {string}
|
|
3964
|
-
* @memberof
|
|
4592
|
+
* @memberof ProductSummaryDTO
|
|
3965
4593
|
*/
|
|
3966
4594
|
'sku'?: string;
|
|
3967
4595
|
/**
|
|
3968
4596
|
* Title
|
|
3969
4597
|
* @type {string}
|
|
3970
|
-
* @memberof
|
|
4598
|
+
* @memberof ProductSummaryDTO
|
|
3971
4599
|
*/
|
|
3972
4600
|
'title'?: string;
|
|
3973
4601
|
/**
|
|
3974
4602
|
* Stock Quantity
|
|
3975
4603
|
* @type {number}
|
|
3976
|
-
* @memberof
|
|
4604
|
+
* @memberof ProductSummaryDTO
|
|
3977
4605
|
*/
|
|
3978
4606
|
'quantity'?: number | null;
|
|
3979
4607
|
/**
|
|
3980
4608
|
* Stock Product
|
|
3981
4609
|
* @type {boolean}
|
|
3982
|
-
* @memberof
|
|
4610
|
+
* @memberof ProductSummaryDTO
|
|
3983
4611
|
*/
|
|
3984
4612
|
'stockProduct'?: boolean;
|
|
3985
4613
|
/**
|
|
3986
4614
|
* Price
|
|
3987
4615
|
* @type {number}
|
|
3988
|
-
* @memberof
|
|
4616
|
+
* @memberof ProductSummaryDTO
|
|
3989
4617
|
*/
|
|
3990
4618
|
'price'?: number | null;
|
|
3991
4619
|
/**
|
|
3992
4620
|
* Carton Size
|
|
3993
4621
|
* @type {number}
|
|
3994
|
-
* @memberof
|
|
4622
|
+
* @memberof ProductSummaryDTO
|
|
3995
4623
|
*/
|
|
3996
4624
|
'cartonSize'?: number | null;
|
|
4625
|
+
/**
|
|
4626
|
+
* RRP Price
|
|
4627
|
+
* @type {number}
|
|
4628
|
+
* @memberof ProductSummaryDTO
|
|
4629
|
+
*/
|
|
4630
|
+
'rrp'?: number | null;
|
|
3997
4631
|
}
|
|
3998
4632
|
/**
|
|
3999
4633
|
* PromoCodesEntity
|
|
@@ -4132,37 +4766,37 @@ export interface PromoItemsEntity {
|
|
|
4132
4766
|
/**
|
|
4133
4767
|
* Provisioning Group
|
|
4134
4768
|
* @export
|
|
4135
|
-
* @interface
|
|
4769
|
+
* @interface ProvisioningModel
|
|
4136
4770
|
*/
|
|
4137
|
-
export interface
|
|
4771
|
+
export interface ProvisioningModel {
|
|
4138
4772
|
/**
|
|
4139
4773
|
* Provisioning Group Name
|
|
4140
4774
|
* @type {string}
|
|
4141
|
-
* @memberof
|
|
4775
|
+
* @memberof ProvisioningModel
|
|
4142
4776
|
*/
|
|
4143
4777
|
'groupName'?: string;
|
|
4144
4778
|
/**
|
|
4145
4779
|
* Provisioning URL (Static Provisioning Server)
|
|
4146
4780
|
* @type {string}
|
|
4147
|
-
* @memberof
|
|
4781
|
+
* @memberof ProvisioningModel
|
|
4148
4782
|
*/
|
|
4149
4783
|
'provisioningUrl'?: string;
|
|
4150
4784
|
/**
|
|
4151
4785
|
* Additional Authentication Secret
|
|
4152
4786
|
* @type {string}
|
|
4153
|
-
* @memberof
|
|
4787
|
+
* @memberof ProvisioningModel
|
|
4154
4788
|
*/
|
|
4155
4789
|
'auth'?: string;
|
|
4156
4790
|
/**
|
|
4157
4791
|
* Provisioning Group ID
|
|
4158
4792
|
* @type {number}
|
|
4159
|
-
* @memberof
|
|
4793
|
+
* @memberof ProvisioningModel
|
|
4160
4794
|
*/
|
|
4161
4795
|
'id'?: number;
|
|
4162
4796
|
/**
|
|
4163
4797
|
* Owner ID
|
|
4164
4798
|
* @type {number}
|
|
4165
|
-
* @memberof
|
|
4799
|
+
* @memberof ProvisioningModel
|
|
4166
4800
|
*/
|
|
4167
4801
|
'customerId'?: number;
|
|
4168
4802
|
}
|
|
@@ -4516,7 +5150,7 @@ export interface ShipmentEntity {
|
|
|
4516
5150
|
* @type {string}
|
|
4517
5151
|
* @memberof ShipmentEntity
|
|
4518
5152
|
*/
|
|
4519
|
-
'
|
|
5153
|
+
'dateShipped'?: string;
|
|
4520
5154
|
/**
|
|
4521
5155
|
* requestDate
|
|
4522
5156
|
* @type {string}
|
|
@@ -4568,37 +5202,186 @@ export interface ShipmentItemEntity {
|
|
|
4568
5202
|
'itemId'?: string;
|
|
4569
5203
|
}
|
|
4570
5204
|
/**
|
|
4571
|
-
*
|
|
5205
|
+
*
|
|
4572
5206
|
* @export
|
|
4573
|
-
* @interface
|
|
5207
|
+
* @interface ShippingConsignmentModel
|
|
4574
5208
|
*/
|
|
4575
|
-
export interface
|
|
4576
|
-
/**
|
|
4577
|
-
* ID
|
|
4578
|
-
* @type {string}
|
|
4579
|
-
* @memberof SipTrunkChangeResponseModel
|
|
4580
|
-
*/
|
|
4581
|
-
'changeId'?: string;
|
|
5209
|
+
export interface ShippingConsignmentModel {
|
|
4582
5210
|
/**
|
|
4583
5211
|
*
|
|
4584
|
-
* @type {
|
|
4585
|
-
* @memberof
|
|
5212
|
+
* @type {ShippingServiceModel}
|
|
5213
|
+
* @memberof ShippingConsignmentModel
|
|
4586
5214
|
*/
|
|
4587
|
-
'
|
|
5215
|
+
'service'?: ShippingServiceModel;
|
|
4588
5216
|
/**
|
|
4589
|
-
*
|
|
5217
|
+
* ID/Number
|
|
4590
5218
|
* @type {string}
|
|
4591
|
-
* @memberof
|
|
5219
|
+
* @memberof ShippingConsignmentModel
|
|
4592
5220
|
*/
|
|
4593
|
-
'
|
|
5221
|
+
'id'?: string;
|
|
4594
5222
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
* @type {
|
|
4597
|
-
* @memberof
|
|
5223
|
+
* Tracking Number
|
|
5224
|
+
* @type {string}
|
|
5225
|
+
* @memberof ShippingConsignmentModel
|
|
4598
5226
|
*/
|
|
4599
|
-
'
|
|
5227
|
+
'trackingNumber'?: string;
|
|
4600
5228
|
/**
|
|
4601
|
-
*
|
|
5229
|
+
* Parcels
|
|
5230
|
+
* @type {Array<string>}
|
|
5231
|
+
* @memberof ShippingConsignmentModel
|
|
5232
|
+
*/
|
|
5233
|
+
'parcelIds'?: Array<string>;
|
|
5234
|
+
}
|
|
5235
|
+
/**
|
|
5236
|
+
* Shipping Information
|
|
5237
|
+
* @export
|
|
5238
|
+
* @interface ShippingInformationDTO
|
|
5239
|
+
*/
|
|
5240
|
+
export interface ShippingInformationDTO {
|
|
5241
|
+
/**
|
|
5242
|
+
* Items
|
|
5243
|
+
* @type {Array<BasicItemDTO>}
|
|
5244
|
+
* @memberof ShippingInformationDTO
|
|
5245
|
+
*/
|
|
5246
|
+
'items'?: Array<BasicItemDTO>;
|
|
5247
|
+
/**
|
|
5248
|
+
* Destination Post Code
|
|
5249
|
+
* @type {string}
|
|
5250
|
+
* @memberof ShippingInformationDTO
|
|
5251
|
+
*/
|
|
5252
|
+
'postalCode'?: string;
|
|
5253
|
+
/**
|
|
5254
|
+
* Destination ISO
|
|
5255
|
+
* @type {string}
|
|
5256
|
+
* @memberof ShippingInformationDTO
|
|
5257
|
+
*/
|
|
5258
|
+
'iso'?: string;
|
|
5259
|
+
}
|
|
5260
|
+
/**
|
|
5261
|
+
* Shipping Service
|
|
5262
|
+
* @export
|
|
5263
|
+
* @interface ShippingServiceDTO
|
|
5264
|
+
*/
|
|
5265
|
+
export interface ShippingServiceDTO {
|
|
5266
|
+
/**
|
|
5267
|
+
* Courier
|
|
5268
|
+
* @type {string}
|
|
5269
|
+
* @memberof ShippingServiceDTO
|
|
5270
|
+
*/
|
|
5271
|
+
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5272
|
+
/**
|
|
5273
|
+
* Service Name
|
|
5274
|
+
* @type {string}
|
|
5275
|
+
* @memberof ShippingServiceDTO
|
|
5276
|
+
*/
|
|
5277
|
+
'serviceName'?: string;
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5280
|
+
export const ShippingServiceDTOCourierEnum = {
|
|
5281
|
+
Dpd: 'DPD',
|
|
5282
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5283
|
+
Pops: 'POPS'
|
|
5284
|
+
} as const;
|
|
5285
|
+
|
|
5286
|
+
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5287
|
+
|
|
5288
|
+
/**
|
|
5289
|
+
* Shipping Service
|
|
5290
|
+
* @export
|
|
5291
|
+
* @interface ShippingServiceModel
|
|
5292
|
+
*/
|
|
5293
|
+
export interface ShippingServiceModel {
|
|
5294
|
+
/**
|
|
5295
|
+
* Courier
|
|
5296
|
+
* @type {string}
|
|
5297
|
+
* @memberof ShippingServiceModel
|
|
5298
|
+
*/
|
|
5299
|
+
'courier'?: ShippingServiceModelCourierEnum;
|
|
5300
|
+
/**
|
|
5301
|
+
* Code
|
|
5302
|
+
* @type {string}
|
|
5303
|
+
* @memberof ShippingServiceModel
|
|
5304
|
+
*/
|
|
5305
|
+
'code'?: string;
|
|
5306
|
+
/**
|
|
5307
|
+
* Name
|
|
5308
|
+
* @type {string}
|
|
5309
|
+
* @memberof ShippingServiceModel
|
|
5310
|
+
*/
|
|
5311
|
+
'name'?: string;
|
|
5312
|
+
/**
|
|
5313
|
+
* Description
|
|
5314
|
+
* @type {string}
|
|
5315
|
+
* @memberof ShippingServiceModel
|
|
5316
|
+
*/
|
|
5317
|
+
'description'?: string;
|
|
5318
|
+
/**
|
|
5319
|
+
* Label
|
|
5320
|
+
* @type {string}
|
|
5321
|
+
* @memberof ShippingServiceModel
|
|
5322
|
+
*/
|
|
5323
|
+
'label'?: string | null;
|
|
5324
|
+
/**
|
|
5325
|
+
* Price
|
|
5326
|
+
* @type {number}
|
|
5327
|
+
* @memberof ShippingServiceModel
|
|
5328
|
+
*/
|
|
5329
|
+
'price'?: number | null;
|
|
5330
|
+
}
|
|
5331
|
+
|
|
5332
|
+
export const ShippingServiceModelCourierEnum = {
|
|
5333
|
+
Dpd: 'DPD',
|
|
5334
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5335
|
+
Pops: 'POPS'
|
|
5336
|
+
} as const;
|
|
5337
|
+
|
|
5338
|
+
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5339
|
+
|
|
5340
|
+
/**
|
|
5341
|
+
*
|
|
5342
|
+
* @export
|
|
5343
|
+
* @interface ShippingServicesModel
|
|
5344
|
+
*/
|
|
5345
|
+
export interface ShippingServicesModel {
|
|
5346
|
+
/**
|
|
5347
|
+
* Services
|
|
5348
|
+
* @type {Array<ShippingServiceModel>}
|
|
5349
|
+
* @memberof ShippingServicesModel
|
|
5350
|
+
*/
|
|
5351
|
+
'services'?: Array<ShippingServiceModel>;
|
|
5352
|
+
}
|
|
5353
|
+
/**
|
|
5354
|
+
* Change Response
|
|
5355
|
+
* @export
|
|
5356
|
+
* @interface SipTrunkChangeResponseModel
|
|
5357
|
+
*/
|
|
5358
|
+
export interface SipTrunkChangeResponseModel {
|
|
5359
|
+
/**
|
|
5360
|
+
* ID
|
|
5361
|
+
* @type {string}
|
|
5362
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5363
|
+
*/
|
|
5364
|
+
'changeId'?: string;
|
|
5365
|
+
/**
|
|
5366
|
+
*
|
|
5367
|
+
* @type {SipTrunkEntity}
|
|
5368
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5369
|
+
*/
|
|
5370
|
+
'trunk'?: SipTrunkEntity;
|
|
5371
|
+
/**
|
|
5372
|
+
* Type
|
|
5373
|
+
* @type {string}
|
|
5374
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5375
|
+
*/
|
|
5376
|
+
'type'?: SipTrunkChangeResponseModelTypeEnum;
|
|
5377
|
+
/**
|
|
5378
|
+
* Progress
|
|
5379
|
+
* @type {number}
|
|
5380
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5381
|
+
*/
|
|
5382
|
+
'progress'?: number;
|
|
5383
|
+
/**
|
|
5384
|
+
* Service Provider
|
|
4602
5385
|
* @type {number}
|
|
4603
5386
|
* @memberof SipTrunkChangeResponseModel
|
|
4604
5387
|
*/
|
|
@@ -7406,6 +8189,49 @@ export interface TcxRemoteStorageModel {
|
|
|
7406
8189
|
*/
|
|
7407
8190
|
'secretAccessKey'?: string;
|
|
7408
8191
|
}
|
|
8192
|
+
/**
|
|
8193
|
+
* SBC Data
|
|
8194
|
+
* @export
|
|
8195
|
+
* @interface TcxSbcDTO
|
|
8196
|
+
*/
|
|
8197
|
+
export interface TcxSbcDTO {
|
|
8198
|
+
/**
|
|
8199
|
+
* LAN IP Address
|
|
8200
|
+
* @type {string}
|
|
8201
|
+
* @memberof TcxSbcDTO
|
|
8202
|
+
*/
|
|
8203
|
+
'ipAddress'?: string;
|
|
8204
|
+
/**
|
|
8205
|
+
* LAN Default Gateway
|
|
8206
|
+
* @type {string}
|
|
8207
|
+
* @memberof TcxSbcDTO
|
|
8208
|
+
*/
|
|
8209
|
+
'defaultGateway'?: string;
|
|
8210
|
+
/**
|
|
8211
|
+
* LAN Subnet Mask
|
|
8212
|
+
* @type {string}
|
|
8213
|
+
* @memberof TcxSbcDTO
|
|
8214
|
+
*/
|
|
8215
|
+
'netmask'?: string;
|
|
8216
|
+
/**
|
|
8217
|
+
* DNS
|
|
8218
|
+
* @type {string}
|
|
8219
|
+
* @memberof TcxSbcDTO
|
|
8220
|
+
*/
|
|
8221
|
+
'dns'?: string;
|
|
8222
|
+
/**
|
|
8223
|
+
* 3CX URL
|
|
8224
|
+
* @type {string}
|
|
8225
|
+
* @memberof TcxSbcDTO
|
|
8226
|
+
*/
|
|
8227
|
+
'tcxUrl'?: string;
|
|
8228
|
+
/**
|
|
8229
|
+
* 3CX SBC Key
|
|
8230
|
+
* @type {string}
|
|
8231
|
+
* @memberof TcxSbcDTO
|
|
8232
|
+
*/
|
|
8233
|
+
'tcxKey'?: string;
|
|
8234
|
+
}
|
|
7409
8235
|
/**
|
|
7410
8236
|
* 3CX Wizard SBC
|
|
7411
8237
|
* @export
|
|
@@ -7510,7 +8336,7 @@ export interface TcxSbcEntity {
|
|
|
7510
8336
|
'technicalContact'?: string;
|
|
7511
8337
|
}
|
|
7512
8338
|
/**
|
|
7513
|
-
* 3CX SBC
|
|
8339
|
+
* 3CX Wizard SBC
|
|
7514
8340
|
* @export
|
|
7515
8341
|
* @interface TcxSbcModel
|
|
7516
8342
|
*/
|
|
@@ -8695,6 +9521,40 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8695
9521
|
|
|
8696
9522
|
|
|
8697
9523
|
|
|
9524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9526
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9527
|
+
|
|
9528
|
+
return {
|
|
9529
|
+
url: toPathString(localVarUrlObj),
|
|
9530
|
+
options: localVarRequestOptions,
|
|
9531
|
+
};
|
|
9532
|
+
},
|
|
9533
|
+
/**
|
|
9534
|
+
* Get Account Detailed Summary
|
|
9535
|
+
* @summary Get Account Detailed Summary
|
|
9536
|
+
* @param {number} id Customer ID
|
|
9537
|
+
* @param {*} [options] Override http request option.
|
|
9538
|
+
* @throws {RequiredError}
|
|
9539
|
+
*/
|
|
9540
|
+
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9541
|
+
// verify required parameter 'id' is not null or undefined
|
|
9542
|
+
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9543
|
+
const localVarPath = `/accounts/{id}/summary`
|
|
9544
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9545
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9546
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9547
|
+
let baseOptions;
|
|
9548
|
+
if (configuration) {
|
|
9549
|
+
baseOptions = configuration.baseOptions;
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9552
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9553
|
+
const localVarHeaderParameter = {} as any;
|
|
9554
|
+
const localVarQueryParameter = {} as any;
|
|
9555
|
+
|
|
9556
|
+
|
|
9557
|
+
|
|
8698
9558
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8699
9559
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8700
9560
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8993,6 +9853,36 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8993
9853
|
options: localVarRequestOptions,
|
|
8994
9854
|
};
|
|
8995
9855
|
},
|
|
9856
|
+
/**
|
|
9857
|
+
* Get Admin Account
|
|
9858
|
+
* @summary Get Admin Account
|
|
9859
|
+
* @param {*} [options] Override http request option.
|
|
9860
|
+
* @throws {RequiredError}
|
|
9861
|
+
*/
|
|
9862
|
+
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9863
|
+
const localVarPath = `/admin/me`;
|
|
9864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9865
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9866
|
+
let baseOptions;
|
|
9867
|
+
if (configuration) {
|
|
9868
|
+
baseOptions = configuration.baseOptions;
|
|
9869
|
+
}
|
|
9870
|
+
|
|
9871
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9872
|
+
const localVarHeaderParameter = {} as any;
|
|
9873
|
+
const localVarQueryParameter = {} as any;
|
|
9874
|
+
|
|
9875
|
+
|
|
9876
|
+
|
|
9877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9880
|
+
|
|
9881
|
+
return {
|
|
9882
|
+
url: toPathString(localVarUrlObj),
|
|
9883
|
+
options: localVarRequestOptions,
|
|
9884
|
+
};
|
|
9885
|
+
},
|
|
8996
9886
|
/**
|
|
8997
9887
|
* Create client credentials
|
|
8998
9888
|
* @summary Create client credentials
|
|
@@ -9242,6 +10132,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9242
10132
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
9243
10133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9244
10134
|
},
|
|
10135
|
+
/**
|
|
10136
|
+
* Get Account Detailed Summary
|
|
10137
|
+
* @summary Get Account Detailed Summary
|
|
10138
|
+
* @param {number} id Customer ID
|
|
10139
|
+
* @param {*} [options] Override http request option.
|
|
10140
|
+
* @throws {RequiredError}
|
|
10141
|
+
*/
|
|
10142
|
+
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
10143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
10144
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10145
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
10146
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10147
|
+
},
|
|
9245
10148
|
/**
|
|
9246
10149
|
* Get Accounts
|
|
9247
10150
|
* @summary Get Accounts
|
|
@@ -9347,6 +10250,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9347
10250
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
9348
10251
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9349
10252
|
},
|
|
10253
|
+
/**
|
|
10254
|
+
* Get Admin Account
|
|
10255
|
+
* @summary Get Admin Account
|
|
10256
|
+
* @param {*} [options] Override http request option.
|
|
10257
|
+
* @throws {RequiredError}
|
|
10258
|
+
*/
|
|
10259
|
+
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10261
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10262
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10264
|
+
},
|
|
9350
10265
|
/**
|
|
9351
10266
|
* Create client credentials
|
|
9352
10267
|
* @summary Create client credentials
|
|
@@ -9464,6 +10379,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9464
10379
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
9465
10380
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
9466
10381
|
},
|
|
10382
|
+
/**
|
|
10383
|
+
* Get Account Detailed Summary
|
|
10384
|
+
* @summary Get Account Detailed Summary
|
|
10385
|
+
* @param {number} id Customer ID
|
|
10386
|
+
* @param {*} [options] Override http request option.
|
|
10387
|
+
* @throws {RequiredError}
|
|
10388
|
+
*/
|
|
10389
|
+
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10390
|
+
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10391
|
+
},
|
|
9467
10392
|
/**
|
|
9468
10393
|
* Get Accounts
|
|
9469
10394
|
* @summary Get Accounts
|
|
@@ -9545,6 +10470,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9545
10470
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
9546
10471
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
9547
10472
|
},
|
|
10473
|
+
/**
|
|
10474
|
+
* Get Admin Account
|
|
10475
|
+
* @summary Get Admin Account
|
|
10476
|
+
* @param {*} [options] Override http request option.
|
|
10477
|
+
* @throws {RequiredError}
|
|
10478
|
+
*/
|
|
10479
|
+
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10480
|
+
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10481
|
+
},
|
|
9548
10482
|
/**
|
|
9549
10483
|
* Create client credentials
|
|
9550
10484
|
* @summary Create client credentials
|
|
@@ -9655,6 +10589,18 @@ export class AccountsApi extends BaseAPI {
|
|
|
9655
10589
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
9656
10590
|
}
|
|
9657
10591
|
|
|
10592
|
+
/**
|
|
10593
|
+
* Get Account Detailed Summary
|
|
10594
|
+
* @summary Get Account Detailed Summary
|
|
10595
|
+
* @param {number} id Customer ID
|
|
10596
|
+
* @param {*} [options] Override http request option.
|
|
10597
|
+
* @throws {RequiredError}
|
|
10598
|
+
* @memberof AccountsApi
|
|
10599
|
+
*/
|
|
10600
|
+
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10601
|
+
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10602
|
+
}
|
|
10603
|
+
|
|
9658
10604
|
/**
|
|
9659
10605
|
* Get Accounts
|
|
9660
10606
|
* @summary Get Accounts
|
|
@@ -9752,6 +10698,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
9752
10698
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
9753
10699
|
}
|
|
9754
10700
|
|
|
10701
|
+
/**
|
|
10702
|
+
* Get Admin Account
|
|
10703
|
+
* @summary Get Admin Account
|
|
10704
|
+
* @param {*} [options] Override http request option.
|
|
10705
|
+
* @throws {RequiredError}
|
|
10706
|
+
* @memberof AccountsApi
|
|
10707
|
+
*/
|
|
10708
|
+
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10709
|
+
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10710
|
+
}
|
|
10711
|
+
|
|
9755
10712
|
/**
|
|
9756
10713
|
* Create client credentials
|
|
9757
10714
|
* @summary Create client credentials
|
|
@@ -9949,43 +10906,6 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9949
10906
|
|
|
9950
10907
|
|
|
9951
10908
|
|
|
9952
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9953
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9954
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9955
|
-
|
|
9956
|
-
return {
|
|
9957
|
-
url: toPathString(localVarUrlObj),
|
|
9958
|
-
options: localVarRequestOptions,
|
|
9959
|
-
};
|
|
9960
|
-
},
|
|
9961
|
-
/**
|
|
9962
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9963
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9964
|
-
* @param {string} password Desired 3CX web access password
|
|
9965
|
-
* @param {*} [options] Override http request option.
|
|
9966
|
-
* @throws {RequiredError}
|
|
9967
|
-
*/
|
|
9968
|
-
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9969
|
-
// verify required parameter 'password' is not null or undefined
|
|
9970
|
-
assertParamExists('getGetPasswordHash', 'password', password)
|
|
9971
|
-
const localVarPath = `/tcx/pwd2hash`;
|
|
9972
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9973
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9974
|
-
let baseOptions;
|
|
9975
|
-
if (configuration) {
|
|
9976
|
-
baseOptions = configuration.baseOptions;
|
|
9977
|
-
}
|
|
9978
|
-
|
|
9979
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9980
|
-
const localVarHeaderParameter = {} as any;
|
|
9981
|
-
const localVarQueryParameter = {} as any;
|
|
9982
|
-
|
|
9983
|
-
if (password !== undefined) {
|
|
9984
|
-
localVarQueryParameter['password'] = password;
|
|
9985
|
-
}
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
10909
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9990
10910
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9991
10911
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10052,19 +10972,6 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
10052
10972
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
10053
10973
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10054
10974
|
},
|
|
10055
|
-
/**
|
|
10056
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
10057
|
-
* @summary Convert a password to a hashed 3CX password
|
|
10058
|
-
* @param {string} password Desired 3CX web access password
|
|
10059
|
-
* @param {*} [options] Override http request option.
|
|
10060
|
-
* @throws {RequiredError}
|
|
10061
|
-
*/
|
|
10062
|
-
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
10063
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
10064
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10065
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
10066
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10067
|
-
},
|
|
10068
10975
|
/**
|
|
10069
10976
|
* Get Bulk 3CX Licence Details
|
|
10070
10977
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10098,16 +11005,6 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
10098
11005
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
10099
11006
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
10100
11007
|
},
|
|
10101
|
-
/**
|
|
10102
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
10103
|
-
* @summary Convert a password to a hashed 3CX password
|
|
10104
|
-
* @param {string} password Desired 3CX web access password
|
|
10105
|
-
* @param {*} [options] Override http request option.
|
|
10106
|
-
* @throws {RequiredError}
|
|
10107
|
-
*/
|
|
10108
|
-
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
10109
|
-
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
10110
|
-
},
|
|
10111
11008
|
/**
|
|
10112
11009
|
* Get Bulk 3CX Licence Details
|
|
10113
11010
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -10140,18 +11037,6 @@ export class Class3CXApi extends BaseAPI {
|
|
|
10140
11037
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
10141
11038
|
}
|
|
10142
11039
|
|
|
10143
|
-
/**
|
|
10144
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
10145
|
-
* @summary Convert a password to a hashed 3CX password
|
|
10146
|
-
* @param {string} password Desired 3CX web access password
|
|
10147
|
-
* @param {*} [options] Override http request option.
|
|
10148
|
-
* @throws {RequiredError}
|
|
10149
|
-
* @memberof Class3CXApi
|
|
10150
|
-
*/
|
|
10151
|
-
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
10152
|
-
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
10153
|
-
}
|
|
10154
|
-
|
|
10155
11040
|
/**
|
|
10156
11041
|
* Get Bulk 3CX Licence Details
|
|
10157
11042
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -15326,13 +16211,14 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15326
16211
|
return {
|
|
15327
16212
|
/**
|
|
15328
16213
|
* Delete Orders
|
|
16214
|
+
* @summary Delete Orders
|
|
15329
16215
|
* @param {number} id Order ID
|
|
15330
16216
|
* @param {*} [options] Override http request option.
|
|
15331
16217
|
* @throws {RequiredError}
|
|
15332
16218
|
*/
|
|
15333
|
-
|
|
16219
|
+
deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15334
16220
|
// verify required parameter 'id' is not null or undefined
|
|
15335
|
-
assertParamExists('
|
|
16221
|
+
assertParamExists('deleteUpdateOrder', 'id', id)
|
|
15336
16222
|
const localVarPath = `/orders/{id}`
|
|
15337
16223
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15338
16224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -15348,6 +16234,74 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15348
16234
|
|
|
15349
16235
|
|
|
15350
16236
|
|
|
16237
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16238
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16239
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16240
|
+
|
|
16241
|
+
return {
|
|
16242
|
+
url: toPathString(localVarUrlObj),
|
|
16243
|
+
options: localVarRequestOptions,
|
|
16244
|
+
};
|
|
16245
|
+
},
|
|
16246
|
+
/**
|
|
16247
|
+
* Get Editable Order (Admin)
|
|
16248
|
+
* @summary Get Editable Order (Admin)
|
|
16249
|
+
* @param {number} id Order ID
|
|
16250
|
+
* @param {*} [options] Override http request option.
|
|
16251
|
+
* @throws {RequiredError}
|
|
16252
|
+
*/
|
|
16253
|
+
getGetAdminEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16254
|
+
// verify required parameter 'id' is not null or undefined
|
|
16255
|
+
assertParamExists('getGetAdminEditableOrder', 'id', id)
|
|
16256
|
+
const localVarPath = `/admin/orders/{id}/views/editable`
|
|
16257
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16258
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16260
|
+
let baseOptions;
|
|
16261
|
+
if (configuration) {
|
|
16262
|
+
baseOptions = configuration.baseOptions;
|
|
16263
|
+
}
|
|
16264
|
+
|
|
16265
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16266
|
+
const localVarHeaderParameter = {} as any;
|
|
16267
|
+
const localVarQueryParameter = {} as any;
|
|
16268
|
+
|
|
16269
|
+
|
|
16270
|
+
|
|
16271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16274
|
+
|
|
16275
|
+
return {
|
|
16276
|
+
url: toPathString(localVarUrlObj),
|
|
16277
|
+
options: localVarRequestOptions,
|
|
16278
|
+
};
|
|
16279
|
+
},
|
|
16280
|
+
/**
|
|
16281
|
+
* Get Editable Order
|
|
16282
|
+
* @summary Get Editable Order
|
|
16283
|
+
* @param {number} id Order ID
|
|
16284
|
+
* @param {*} [options] Override http request option.
|
|
16285
|
+
* @throws {RequiredError}
|
|
16286
|
+
*/
|
|
16287
|
+
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16288
|
+
// verify required parameter 'id' is not null or undefined
|
|
16289
|
+
assertParamExists('getGetEditableOrder', 'id', id)
|
|
16290
|
+
const localVarPath = `/orders/{id}/views/editable`
|
|
16291
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16294
|
+
let baseOptions;
|
|
16295
|
+
if (configuration) {
|
|
16296
|
+
baseOptions = configuration.baseOptions;
|
|
16297
|
+
}
|
|
16298
|
+
|
|
16299
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16300
|
+
const localVarHeaderParameter = {} as any;
|
|
16301
|
+
const localVarQueryParameter = {} as any;
|
|
16302
|
+
|
|
16303
|
+
|
|
16304
|
+
|
|
15351
16305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15352
16306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15353
16307
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15417,6 +16371,170 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15417
16371
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15418
16372
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15419
16373
|
|
|
16374
|
+
return {
|
|
16375
|
+
url: toPathString(localVarUrlObj),
|
|
16376
|
+
options: localVarRequestOptions,
|
|
16377
|
+
};
|
|
16378
|
+
},
|
|
16379
|
+
/**
|
|
16380
|
+
* Create An Order (Admin)
|
|
16381
|
+
* @summary Create An Order (Admin)
|
|
16382
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16383
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16384
|
+
* @param {*} [options] Override http request option.
|
|
16385
|
+
* @throws {RequiredError}
|
|
16386
|
+
*/
|
|
16387
|
+
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16388
|
+
const localVarPath = `/admin/orders`;
|
|
16389
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16390
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16391
|
+
let baseOptions;
|
|
16392
|
+
if (configuration) {
|
|
16393
|
+
baseOptions = configuration.baseOptions;
|
|
16394
|
+
}
|
|
16395
|
+
|
|
16396
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16397
|
+
const localVarHeaderParameter = {} as any;
|
|
16398
|
+
const localVarQueryParameter = {} as any;
|
|
16399
|
+
|
|
16400
|
+
if (readonly !== undefined) {
|
|
16401
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16402
|
+
}
|
|
16403
|
+
|
|
16404
|
+
|
|
16405
|
+
|
|
16406
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16407
|
+
|
|
16408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16411
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16412
|
+
|
|
16413
|
+
return {
|
|
16414
|
+
url: toPathString(localVarUrlObj),
|
|
16415
|
+
options: localVarRequestOptions,
|
|
16416
|
+
};
|
|
16417
|
+
},
|
|
16418
|
+
/**
|
|
16419
|
+
* Create An Order
|
|
16420
|
+
* @summary Create An Order
|
|
16421
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16422
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16423
|
+
* @param {*} [options] Override http request option.
|
|
16424
|
+
* @throws {RequiredError}
|
|
16425
|
+
*/
|
|
16426
|
+
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16427
|
+
const localVarPath = `/orders`;
|
|
16428
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16429
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16430
|
+
let baseOptions;
|
|
16431
|
+
if (configuration) {
|
|
16432
|
+
baseOptions = configuration.baseOptions;
|
|
16433
|
+
}
|
|
16434
|
+
|
|
16435
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16436
|
+
const localVarHeaderParameter = {} as any;
|
|
16437
|
+
const localVarQueryParameter = {} as any;
|
|
16438
|
+
|
|
16439
|
+
if (readonly !== undefined) {
|
|
16440
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16441
|
+
}
|
|
16442
|
+
|
|
16443
|
+
|
|
16444
|
+
|
|
16445
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16446
|
+
|
|
16447
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16448
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16449
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16450
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16451
|
+
|
|
16452
|
+
return {
|
|
16453
|
+
url: toPathString(localVarUrlObj),
|
|
16454
|
+
options: localVarRequestOptions,
|
|
16455
|
+
};
|
|
16456
|
+
},
|
|
16457
|
+
/**
|
|
16458
|
+
* Update An Order (Admin)
|
|
16459
|
+
* @summary Update An Order (Admin)
|
|
16460
|
+
* @param {number} id Order ID
|
|
16461
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16462
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16463
|
+
* @param {*} [options] Override http request option.
|
|
16464
|
+
* @throws {RequiredError}
|
|
16465
|
+
*/
|
|
16466
|
+
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16467
|
+
// verify required parameter 'id' is not null or undefined
|
|
16468
|
+
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
16469
|
+
const localVarPath = `/admin/orders/{id}`
|
|
16470
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16471
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16472
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16473
|
+
let baseOptions;
|
|
16474
|
+
if (configuration) {
|
|
16475
|
+
baseOptions = configuration.baseOptions;
|
|
16476
|
+
}
|
|
16477
|
+
|
|
16478
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16479
|
+
const localVarHeaderParameter = {} as any;
|
|
16480
|
+
const localVarQueryParameter = {} as any;
|
|
16481
|
+
|
|
16482
|
+
if (readonly !== undefined) {
|
|
16483
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16484
|
+
}
|
|
16485
|
+
|
|
16486
|
+
|
|
16487
|
+
|
|
16488
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16489
|
+
|
|
16490
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16491
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16492
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16493
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16494
|
+
|
|
16495
|
+
return {
|
|
16496
|
+
url: toPathString(localVarUrlObj),
|
|
16497
|
+
options: localVarRequestOptions,
|
|
16498
|
+
};
|
|
16499
|
+
},
|
|
16500
|
+
/**
|
|
16501
|
+
* Update An Order
|
|
16502
|
+
* @summary Update An Order
|
|
16503
|
+
* @param {number} id Order ID
|
|
16504
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16505
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16506
|
+
* @param {*} [options] Override http request option.
|
|
16507
|
+
* @throws {RequiredError}
|
|
16508
|
+
*/
|
|
16509
|
+
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16510
|
+
// verify required parameter 'id' is not null or undefined
|
|
16511
|
+
assertParamExists('putUpdateOrder', 'id', id)
|
|
16512
|
+
const localVarPath = `/orders/{id}`
|
|
16513
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16514
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16515
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16516
|
+
let baseOptions;
|
|
16517
|
+
if (configuration) {
|
|
16518
|
+
baseOptions = configuration.baseOptions;
|
|
16519
|
+
}
|
|
16520
|
+
|
|
16521
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16522
|
+
const localVarHeaderParameter = {} as any;
|
|
16523
|
+
const localVarQueryParameter = {} as any;
|
|
16524
|
+
|
|
16525
|
+
if (readonly !== undefined) {
|
|
16526
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16527
|
+
}
|
|
16528
|
+
|
|
16529
|
+
|
|
16530
|
+
|
|
16531
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16532
|
+
|
|
16533
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16534
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16535
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16536
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16537
|
+
|
|
15420
16538
|
return {
|
|
15421
16539
|
url: toPathString(localVarUrlObj),
|
|
15422
16540
|
options: localVarRequestOptions,
|
|
@@ -15434,14 +16552,41 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15434
16552
|
return {
|
|
15435
16553
|
/**
|
|
15436
16554
|
* Delete Orders
|
|
16555
|
+
* @summary Delete Orders
|
|
16556
|
+
* @param {number} id Order ID
|
|
16557
|
+
* @param {*} [options] Override http request option.
|
|
16558
|
+
* @throws {RequiredError}
|
|
16559
|
+
*/
|
|
16560
|
+
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
16562
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16563
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16564
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16565
|
+
},
|
|
16566
|
+
/**
|
|
16567
|
+
* Get Editable Order (Admin)
|
|
16568
|
+
* @summary Get Editable Order (Admin)
|
|
16569
|
+
* @param {number} id Order ID
|
|
16570
|
+
* @param {*} [options] Override http request option.
|
|
16571
|
+
* @throws {RequiredError}
|
|
16572
|
+
*/
|
|
16573
|
+
async getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminOrderRequestDTO>> {
|
|
16574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminEditableOrder(id, options);
|
|
16575
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16576
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetAdminEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
16577
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16578
|
+
},
|
|
16579
|
+
/**
|
|
16580
|
+
* Get Editable Order
|
|
16581
|
+
* @summary Get Editable Order
|
|
15437
16582
|
* @param {number} id Order ID
|
|
15438
16583
|
* @param {*} [options] Override http request option.
|
|
15439
16584
|
* @throws {RequiredError}
|
|
15440
16585
|
*/
|
|
15441
|
-
async
|
|
15442
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
16586
|
+
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerOrderRequestDTO>> {
|
|
16587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
15443
16588
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15444
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
16589
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
15445
16590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15446
16591
|
},
|
|
15447
16592
|
/**
|
|
@@ -15463,6 +16608,64 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15463
16608
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
15464
16609
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15465
16610
|
},
|
|
16611
|
+
/**
|
|
16612
|
+
* Create An Order (Admin)
|
|
16613
|
+
* @summary Create An Order (Admin)
|
|
16614
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16615
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16616
|
+
* @param {*} [options] Override http request option.
|
|
16617
|
+
* @throws {RequiredError}
|
|
16618
|
+
*/
|
|
16619
|
+
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
16621
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16622
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16623
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16624
|
+
},
|
|
16625
|
+
/**
|
|
16626
|
+
* Create An Order
|
|
16627
|
+
* @summary Create An Order
|
|
16628
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16629
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16630
|
+
* @param {*} [options] Override http request option.
|
|
16631
|
+
* @throws {RequiredError}
|
|
16632
|
+
*/
|
|
16633
|
+
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
16635
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16636
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16637
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16638
|
+
},
|
|
16639
|
+
/**
|
|
16640
|
+
* Update An Order (Admin)
|
|
16641
|
+
* @summary Update An Order (Admin)
|
|
16642
|
+
* @param {number} id Order ID
|
|
16643
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16644
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16645
|
+
* @param {*} [options] Override http request option.
|
|
16646
|
+
* @throws {RequiredError}
|
|
16647
|
+
*/
|
|
16648
|
+
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
16650
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16651
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16652
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16653
|
+
},
|
|
16654
|
+
/**
|
|
16655
|
+
* Update An Order
|
|
16656
|
+
* @summary Update An Order
|
|
16657
|
+
* @param {number} id Order ID
|
|
16658
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16659
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16660
|
+
* @param {*} [options] Override http request option.
|
|
16661
|
+
* @throws {RequiredError}
|
|
16662
|
+
*/
|
|
16663
|
+
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
16665
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16666
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16667
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16668
|
+
},
|
|
15466
16669
|
}
|
|
15467
16670
|
};
|
|
15468
16671
|
|
|
@@ -15475,12 +16678,33 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15475
16678
|
return {
|
|
15476
16679
|
/**
|
|
15477
16680
|
* Delete Orders
|
|
16681
|
+
* @summary Delete Orders
|
|
16682
|
+
* @param {number} id Order ID
|
|
16683
|
+
* @param {*} [options] Override http request option.
|
|
16684
|
+
* @throws {RequiredError}
|
|
16685
|
+
*/
|
|
16686
|
+
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16687
|
+
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
16688
|
+
},
|
|
16689
|
+
/**
|
|
16690
|
+
* Get Editable Order (Admin)
|
|
16691
|
+
* @summary Get Editable Order (Admin)
|
|
16692
|
+
* @param {number} id Order ID
|
|
16693
|
+
* @param {*} [options] Override http request option.
|
|
16694
|
+
* @throws {RequiredError}
|
|
16695
|
+
*/
|
|
16696
|
+
getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminOrderRequestDTO> {
|
|
16697
|
+
return localVarFp.getGetAdminEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
16698
|
+
},
|
|
16699
|
+
/**
|
|
16700
|
+
* Get Editable Order
|
|
16701
|
+
* @summary Get Editable Order
|
|
15478
16702
|
* @param {number} id Order ID
|
|
15479
16703
|
* @param {*} [options] Override http request option.
|
|
15480
16704
|
* @throws {RequiredError}
|
|
15481
16705
|
*/
|
|
15482
|
-
|
|
15483
|
-
return localVarFp.
|
|
16706
|
+
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<CustomerOrderRequestDTO> {
|
|
16707
|
+
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
15484
16708
|
},
|
|
15485
16709
|
/**
|
|
15486
16710
|
* Get Orders
|
|
@@ -15498,6 +16722,52 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15498
16722
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
15499
16723
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
15500
16724
|
},
|
|
16725
|
+
/**
|
|
16726
|
+
* Create An Order (Admin)
|
|
16727
|
+
* @summary Create An Order (Admin)
|
|
16728
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16729
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16730
|
+
* @param {*} [options] Override http request option.
|
|
16731
|
+
* @throws {RequiredError}
|
|
16732
|
+
*/
|
|
16733
|
+
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16734
|
+
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16735
|
+
},
|
|
16736
|
+
/**
|
|
16737
|
+
* Create An Order
|
|
16738
|
+
* @summary Create An Order
|
|
16739
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16740
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16741
|
+
* @param {*} [options] Override http request option.
|
|
16742
|
+
* @throws {RequiredError}
|
|
16743
|
+
*/
|
|
16744
|
+
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16745
|
+
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16746
|
+
},
|
|
16747
|
+
/**
|
|
16748
|
+
* Update An Order (Admin)
|
|
16749
|
+
* @summary Update An Order (Admin)
|
|
16750
|
+
* @param {number} id Order ID
|
|
16751
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16752
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16753
|
+
* @param {*} [options] Override http request option.
|
|
16754
|
+
* @throws {RequiredError}
|
|
16755
|
+
*/
|
|
16756
|
+
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16757
|
+
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16758
|
+
},
|
|
16759
|
+
/**
|
|
16760
|
+
* Update An Order
|
|
16761
|
+
* @summary Update An Order
|
|
16762
|
+
* @param {number} id Order ID
|
|
16763
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16764
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16765
|
+
* @param {*} [options] Override http request option.
|
|
16766
|
+
* @throws {RequiredError}
|
|
16767
|
+
*/
|
|
16768
|
+
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16769
|
+
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16770
|
+
},
|
|
15501
16771
|
};
|
|
15502
16772
|
};
|
|
15503
16773
|
|
|
@@ -15510,13 +16780,38 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15510
16780
|
export class OrdersApi extends BaseAPI {
|
|
15511
16781
|
/**
|
|
15512
16782
|
* Delete Orders
|
|
16783
|
+
* @summary Delete Orders
|
|
15513
16784
|
* @param {number} id Order ID
|
|
15514
16785
|
* @param {*} [options] Override http request option.
|
|
15515
16786
|
* @throws {RequiredError}
|
|
15516
16787
|
* @memberof OrdersApi
|
|
15517
16788
|
*/
|
|
15518
|
-
public
|
|
15519
|
-
return OrdersApiFp(this.configuration).
|
|
16789
|
+
public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16790
|
+
return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16791
|
+
}
|
|
16792
|
+
|
|
16793
|
+
/**
|
|
16794
|
+
* Get Editable Order (Admin)
|
|
16795
|
+
* @summary Get Editable Order (Admin)
|
|
16796
|
+
* @param {number} id Order ID
|
|
16797
|
+
* @param {*} [options] Override http request option.
|
|
16798
|
+
* @throws {RequiredError}
|
|
16799
|
+
* @memberof OrdersApi
|
|
16800
|
+
*/
|
|
16801
|
+
public getGetAdminEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16802
|
+
return OrdersApiFp(this.configuration).getGetAdminEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16803
|
+
}
|
|
16804
|
+
|
|
16805
|
+
/**
|
|
16806
|
+
* Get Editable Order
|
|
16807
|
+
* @summary Get Editable Order
|
|
16808
|
+
* @param {number} id Order ID
|
|
16809
|
+
* @param {*} [options] Override http request option.
|
|
16810
|
+
* @throws {RequiredError}
|
|
16811
|
+
* @memberof OrdersApi
|
|
16812
|
+
*/
|
|
16813
|
+
public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16814
|
+
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15520
16815
|
}
|
|
15521
16816
|
|
|
15522
16817
|
/**
|
|
@@ -15536,6 +16831,60 @@ export class OrdersApi extends BaseAPI {
|
|
|
15536
16831
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
15537
16832
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
15538
16833
|
}
|
|
16834
|
+
|
|
16835
|
+
/**
|
|
16836
|
+
* Create An Order (Admin)
|
|
16837
|
+
* @summary Create An Order (Admin)
|
|
16838
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16839
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16840
|
+
* @param {*} [options] Override http request option.
|
|
16841
|
+
* @throws {RequiredError}
|
|
16842
|
+
* @memberof OrdersApi
|
|
16843
|
+
*/
|
|
16844
|
+
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16845
|
+
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16846
|
+
}
|
|
16847
|
+
|
|
16848
|
+
/**
|
|
16849
|
+
* Create An Order
|
|
16850
|
+
* @summary Create An Order
|
|
16851
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16852
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16853
|
+
* @param {*} [options] Override http request option.
|
|
16854
|
+
* @throws {RequiredError}
|
|
16855
|
+
* @memberof OrdersApi
|
|
16856
|
+
*/
|
|
16857
|
+
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16858
|
+
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16859
|
+
}
|
|
16860
|
+
|
|
16861
|
+
/**
|
|
16862
|
+
* Update An Order (Admin)
|
|
16863
|
+
* @summary Update An Order (Admin)
|
|
16864
|
+
* @param {number} id Order ID
|
|
16865
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16866
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16867
|
+
* @param {*} [options] Override http request option.
|
|
16868
|
+
* @throws {RequiredError}
|
|
16869
|
+
* @memberof OrdersApi
|
|
16870
|
+
*/
|
|
16871
|
+
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16872
|
+
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16873
|
+
}
|
|
16874
|
+
|
|
16875
|
+
/**
|
|
16876
|
+
* Update An Order
|
|
16877
|
+
* @summary Update An Order
|
|
16878
|
+
* @param {number} id Order ID
|
|
16879
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16880
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16881
|
+
* @param {*} [options] Override http request option.
|
|
16882
|
+
* @throws {RequiredError}
|
|
16883
|
+
* @memberof OrdersApi
|
|
16884
|
+
*/
|
|
16885
|
+
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16886
|
+
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16887
|
+
}
|
|
15539
16888
|
}
|
|
15540
16889
|
|
|
15541
16890
|
/**
|
|
@@ -15921,8 +17270,42 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15921
17270
|
* @param {*} [options] Override http request option.
|
|
15922
17271
|
* @throws {RequiredError}
|
|
15923
17272
|
*/
|
|
15924
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15925
|
-
const localVarPath = `/products/attributes`;
|
|
17273
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17274
|
+
const localVarPath = `/products/attributes`;
|
|
17275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17277
|
+
let baseOptions;
|
|
17278
|
+
if (configuration) {
|
|
17279
|
+
baseOptions = configuration.baseOptions;
|
|
17280
|
+
}
|
|
17281
|
+
|
|
17282
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17283
|
+
const localVarHeaderParameter = {} as any;
|
|
17284
|
+
const localVarQueryParameter = {} as any;
|
|
17285
|
+
|
|
17286
|
+
|
|
17287
|
+
|
|
17288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17290
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17291
|
+
|
|
17292
|
+
return {
|
|
17293
|
+
url: toPathString(localVarUrlObj),
|
|
17294
|
+
options: localVarRequestOptions,
|
|
17295
|
+
};
|
|
17296
|
+
},
|
|
17297
|
+
/**
|
|
17298
|
+
* Get Current Stock & Pricing
|
|
17299
|
+
* @summary Get Current Stock & Pricing
|
|
17300
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
17301
|
+
* @param {*} [options] Override http request option.
|
|
17302
|
+
* @deprecated
|
|
17303
|
+
* @throws {RequiredError}
|
|
17304
|
+
*/
|
|
17305
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17306
|
+
// verify required parameter 'format' is not null or undefined
|
|
17307
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
17308
|
+
const localVarPath = `/products/stock/legacy`;
|
|
15926
17309
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15927
17310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15928
17311
|
let baseOptions;
|
|
@@ -15934,6 +17317,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15934
17317
|
const localVarHeaderParameter = {} as any;
|
|
15935
17318
|
const localVarQueryParameter = {} as any;
|
|
15936
17319
|
|
|
17320
|
+
if (format !== undefined) {
|
|
17321
|
+
localVarQueryParameter['format'] = format;
|
|
17322
|
+
}
|
|
17323
|
+
|
|
15937
17324
|
|
|
15938
17325
|
|
|
15939
17326
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15946,13 +17333,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15946
17333
|
};
|
|
15947
17334
|
},
|
|
15948
17335
|
/**
|
|
15949
|
-
* Get
|
|
15950
|
-
* @summary Get
|
|
17336
|
+
* Get Products
|
|
17337
|
+
* @summary Get Products
|
|
15951
17338
|
* @param {*} [options] Override http request option.
|
|
15952
17339
|
* @throws {RequiredError}
|
|
15953
17340
|
*/
|
|
15954
|
-
|
|
15955
|
-
const localVarPath = `/products
|
|
17341
|
+
getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17342
|
+
const localVarPath = `/products`;
|
|
15956
17343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15957
17344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15958
17345
|
let baseOptions;
|
|
@@ -15978,15 +17365,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15978
17365
|
/**
|
|
15979
17366
|
* Get Current Stock & Pricing
|
|
15980
17367
|
* @summary Get Current Stock & Pricing
|
|
15981
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15982
17368
|
* @param {*} [options] Override http request option.
|
|
15983
|
-
* @deprecated
|
|
15984
17369
|
* @throws {RequiredError}
|
|
15985
17370
|
*/
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
15989
|
-
const localVarPath = `/products/stock/legacy`;
|
|
17371
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17372
|
+
const localVarPath = `/products/stock`;
|
|
15990
17373
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15991
17374
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15992
17375
|
let baseOptions;
|
|
@@ -15998,10 +17381,36 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15998
17381
|
const localVarHeaderParameter = {} as any;
|
|
15999
17382
|
const localVarQueryParameter = {} as any;
|
|
16000
17383
|
|
|
16001
|
-
|
|
16002
|
-
|
|
17384
|
+
|
|
17385
|
+
|
|
17386
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17387
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17388
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17389
|
+
|
|
17390
|
+
return {
|
|
17391
|
+
url: toPathString(localVarUrlObj),
|
|
17392
|
+
options: localVarRequestOptions,
|
|
17393
|
+
};
|
|
17394
|
+
},
|
|
17395
|
+
/**
|
|
17396
|
+
* Get 3CX Templates
|
|
17397
|
+
* @summary Get 3CX Templates
|
|
17398
|
+
* @param {*} [options] Override http request option.
|
|
17399
|
+
* @throws {RequiredError}
|
|
17400
|
+
*/
|
|
17401
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17402
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17403
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17404
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17405
|
+
let baseOptions;
|
|
17406
|
+
if (configuration) {
|
|
17407
|
+
baseOptions = configuration.baseOptions;
|
|
16003
17408
|
}
|
|
16004
17409
|
|
|
17410
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17411
|
+
const localVarHeaderParameter = {} as any;
|
|
17412
|
+
const localVarQueryParameter = {} as any;
|
|
17413
|
+
|
|
16005
17414
|
|
|
16006
17415
|
|
|
16007
17416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -16014,15 +17423,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16014
17423
|
};
|
|
16015
17424
|
},
|
|
16016
17425
|
/**
|
|
16017
|
-
*
|
|
16018
|
-
* @summary
|
|
17426
|
+
* Search Products
|
|
17427
|
+
* @summary Search Products
|
|
16019
17428
|
* @param {number} [pageSize] Number Of Results
|
|
16020
17429
|
* @param {number} [page] Page Number
|
|
16021
17430
|
* @param {string} [search] Search
|
|
16022
17431
|
* @param {*} [options] Override http request option.
|
|
16023
17432
|
* @throws {RequiredError}
|
|
16024
17433
|
*/
|
|
16025
|
-
|
|
17434
|
+
getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16026
17435
|
const localVarPath = `/products/search`;
|
|
16027
17436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16028
17437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16059,13 +17468,20 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16059
17468
|
};
|
|
16060
17469
|
},
|
|
16061
17470
|
/**
|
|
16062
|
-
* Get
|
|
16063
|
-
* @summary Get
|
|
17471
|
+
* Get Product
|
|
17472
|
+
* @summary Get Product
|
|
17473
|
+
* @param {string} sku Product SKU
|
|
17474
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16064
17475
|
* @param {*} [options] Override http request option.
|
|
16065
17476
|
* @throws {RequiredError}
|
|
16066
17477
|
*/
|
|
16067
|
-
|
|
16068
|
-
|
|
17478
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17479
|
+
// verify required parameter 'sku' is not null or undefined
|
|
17480
|
+
assertParamExists('postGetProduct', 'sku', sku)
|
|
17481
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17482
|
+
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17483
|
+
const localVarPath = `/products/{sku}`
|
|
17484
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16069
17485
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16070
17486
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16071
17487
|
let baseOptions;
|
|
@@ -16073,15 +17489,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16073
17489
|
baseOptions = configuration.baseOptions;
|
|
16074
17490
|
}
|
|
16075
17491
|
|
|
16076
|
-
const localVarRequestOptions = { method: '
|
|
17492
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16077
17493
|
const localVarHeaderParameter = {} as any;
|
|
16078
17494
|
const localVarQueryParameter = {} as any;
|
|
16079
17495
|
|
|
16080
17496
|
|
|
16081
17497
|
|
|
17498
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17499
|
+
|
|
16082
17500
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16083
17501
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16084
17502
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17503
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
16085
17504
|
|
|
16086
17505
|
return {
|
|
16087
17506
|
url: toPathString(localVarUrlObj),
|
|
@@ -16089,13 +17508,23 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16089
17508
|
};
|
|
16090
17509
|
},
|
|
16091
17510
|
/**
|
|
16092
|
-
* Get
|
|
16093
|
-
* @summary Get
|
|
17511
|
+
* Get Product For Customer
|
|
17512
|
+
* @summary Get Product For Customer
|
|
17513
|
+
* @param {number} customerId Customer ID
|
|
17514
|
+
* @param {string} sku Product SKU
|
|
17515
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16094
17516
|
* @param {*} [options] Override http request option.
|
|
16095
17517
|
* @throws {RequiredError}
|
|
16096
17518
|
*/
|
|
16097
|
-
|
|
16098
|
-
|
|
17519
|
+
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17520
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
17521
|
+
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
17522
|
+
// verify required parameter 'sku' is not null or undefined
|
|
17523
|
+
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
17524
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17525
|
+
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17526
|
+
const localVarPath = `/admin/products/{sku}`
|
|
17527
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16099
17528
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16100
17529
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16101
17530
|
let baseOptions;
|
|
@@ -16103,15 +17532,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
16103
17532
|
baseOptions = configuration.baseOptions;
|
|
16104
17533
|
}
|
|
16105
17534
|
|
|
16106
|
-
const localVarRequestOptions = { method: '
|
|
17535
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16107
17536
|
const localVarHeaderParameter = {} as any;
|
|
16108
17537
|
const localVarQueryParameter = {} as any;
|
|
16109
17538
|
|
|
17539
|
+
if (customerId !== undefined) {
|
|
17540
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
17541
|
+
}
|
|
17542
|
+
|
|
16110
17543
|
|
|
16111
17544
|
|
|
17545
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17546
|
+
|
|
16112
17547
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16113
17548
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16114
17549
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17550
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
16115
17551
|
|
|
16116
17552
|
return {
|
|
16117
17553
|
url: toPathString(localVarUrlObj),
|
|
@@ -16140,18 +17576,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16140
17576
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
16141
17577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16142
17578
|
},
|
|
16143
|
-
/**
|
|
16144
|
-
* Get Customer Price Lists
|
|
16145
|
-
* @summary Get Customer Price Lists
|
|
16146
|
-
* @param {*} [options] Override http request option.
|
|
16147
|
-
* @throws {RequiredError}
|
|
16148
|
-
*/
|
|
16149
|
-
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
16150
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
16151
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16152
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
16153
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16154
|
-
},
|
|
16155
17579
|
/**
|
|
16156
17580
|
* Get Current Stock & Pricing
|
|
16157
17581
|
* @summary Get Current Stock & Pricing
|
|
@@ -16169,14 +17593,11 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16169
17593
|
/**
|
|
16170
17594
|
* Get Products
|
|
16171
17595
|
* @summary Get Products
|
|
16172
|
-
* @param {number} [pageSize] Number Of Results
|
|
16173
|
-
* @param {number} [page] Page Number
|
|
16174
|
-
* @param {string} [search] Search
|
|
16175
17596
|
* @param {*} [options] Override http request option.
|
|
16176
17597
|
* @throws {RequiredError}
|
|
16177
17598
|
*/
|
|
16178
|
-
async getGetProducts(
|
|
16179
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(
|
|
17599
|
+
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
|
|
17600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
16180
17601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16181
17602
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
16182
17603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16205,6 +17626,50 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16205
17626
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
16206
17627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16207
17628
|
},
|
|
17629
|
+
/**
|
|
17630
|
+
* Search Products
|
|
17631
|
+
* @summary Search Products
|
|
17632
|
+
* @param {number} [pageSize] Number Of Results
|
|
17633
|
+
* @param {number} [page] Page Number
|
|
17634
|
+
* @param {string} [search] Search
|
|
17635
|
+
* @param {*} [options] Override http request option.
|
|
17636
|
+
* @throws {RequiredError}
|
|
17637
|
+
*/
|
|
17638
|
+
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
17639
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
17640
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17641
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
17642
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17643
|
+
},
|
|
17644
|
+
/**
|
|
17645
|
+
* Get Product
|
|
17646
|
+
* @summary Get Product
|
|
17647
|
+
* @param {string} sku Product SKU
|
|
17648
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17649
|
+
* @param {*} [options] Override http request option.
|
|
17650
|
+
* @throws {RequiredError}
|
|
17651
|
+
*/
|
|
17652
|
+
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
17654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17655
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
17656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17657
|
+
},
|
|
17658
|
+
/**
|
|
17659
|
+
* Get Product For Customer
|
|
17660
|
+
* @summary Get Product For Customer
|
|
17661
|
+
* @param {number} customerId Customer ID
|
|
17662
|
+
* @param {string} sku Product SKU
|
|
17663
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17664
|
+
* @param {*} [options] Override http request option.
|
|
17665
|
+
* @throws {RequiredError}
|
|
17666
|
+
*/
|
|
17667
|
+
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
17669
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17670
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
17671
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17672
|
+
},
|
|
16208
17673
|
}
|
|
16209
17674
|
};
|
|
16210
17675
|
|
|
@@ -16224,15 +17689,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16224
17689
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
16225
17690
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
16226
17691
|
},
|
|
16227
|
-
/**
|
|
16228
|
-
* Get Customer Price Lists
|
|
16229
|
-
* @summary Get Customer Price Lists
|
|
16230
|
-
* @param {*} [options] Override http request option.
|
|
16231
|
-
* @throws {RequiredError}
|
|
16232
|
-
*/
|
|
16233
|
-
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
16234
|
-
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
16235
|
-
},
|
|
16236
17692
|
/**
|
|
16237
17693
|
* Get Current Stock & Pricing
|
|
16238
17694
|
* @summary Get Current Stock & Pricing
|
|
@@ -16247,14 +17703,11 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16247
17703
|
/**
|
|
16248
17704
|
* Get Products
|
|
16249
17705
|
* @summary Get Products
|
|
16250
|
-
* @param {number} [pageSize] Number Of Results
|
|
16251
|
-
* @param {number} [page] Page Number
|
|
16252
|
-
* @param {string} [search] Search
|
|
16253
17706
|
* @param {*} [options] Override http request option.
|
|
16254
17707
|
* @throws {RequiredError}
|
|
16255
17708
|
*/
|
|
16256
|
-
getGetProducts(
|
|
16257
|
-
return localVarFp.getGetProducts(
|
|
17709
|
+
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
|
|
17710
|
+
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
16258
17711
|
},
|
|
16259
17712
|
/**
|
|
16260
17713
|
* Get Current Stock & Pricing
|
|
@@ -16274,6 +17727,41 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16274
17727
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
16275
17728
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
16276
17729
|
},
|
|
17730
|
+
/**
|
|
17731
|
+
* Search Products
|
|
17732
|
+
* @summary Search Products
|
|
17733
|
+
* @param {number} [pageSize] Number Of Results
|
|
17734
|
+
* @param {number} [page] Page Number
|
|
17735
|
+
* @param {string} [search] Search
|
|
17736
|
+
* @param {*} [options] Override http request option.
|
|
17737
|
+
* @throws {RequiredError}
|
|
17738
|
+
*/
|
|
17739
|
+
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
17740
|
+
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17741
|
+
},
|
|
17742
|
+
/**
|
|
17743
|
+
* Get Product
|
|
17744
|
+
* @summary Get Product
|
|
17745
|
+
* @param {string} sku Product SKU
|
|
17746
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17747
|
+
* @param {*} [options] Override http request option.
|
|
17748
|
+
* @throws {RequiredError}
|
|
17749
|
+
*/
|
|
17750
|
+
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17751
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17752
|
+
},
|
|
17753
|
+
/**
|
|
17754
|
+
* Get Product For Customer
|
|
17755
|
+
* @summary Get Product For Customer
|
|
17756
|
+
* @param {number} customerId Customer ID
|
|
17757
|
+
* @param {string} sku Product SKU
|
|
17758
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17759
|
+
* @param {*} [options] Override http request option.
|
|
17760
|
+
* @throws {RequiredError}
|
|
17761
|
+
*/
|
|
17762
|
+
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17763
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17764
|
+
},
|
|
16277
17765
|
};
|
|
16278
17766
|
};
|
|
16279
17767
|
|
|
@@ -16295,17 +17783,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
16295
17783
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
16296
17784
|
}
|
|
16297
17785
|
|
|
16298
|
-
/**
|
|
16299
|
-
* Get Customer Price Lists
|
|
16300
|
-
* @summary Get Customer Price Lists
|
|
16301
|
-
* @param {*} [options] Override http request option.
|
|
16302
|
-
* @throws {RequiredError}
|
|
16303
|
-
* @memberof ProductsApi
|
|
16304
|
-
*/
|
|
16305
|
-
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
16306
|
-
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
16307
|
-
}
|
|
16308
|
-
|
|
16309
17786
|
/**
|
|
16310
17787
|
* Get Current Stock & Pricing
|
|
16311
17788
|
* @summary Get Current Stock & Pricing
|
|
@@ -16322,15 +17799,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
16322
17799
|
/**
|
|
16323
17800
|
* Get Products
|
|
16324
17801
|
* @summary Get Products
|
|
16325
|
-
* @param {number} [pageSize] Number Of Results
|
|
16326
|
-
* @param {number} [page] Page Number
|
|
16327
|
-
* @param {string} [search] Search
|
|
16328
17802
|
* @param {*} [options] Override http request option.
|
|
16329
17803
|
* @throws {RequiredError}
|
|
16330
17804
|
* @memberof ProductsApi
|
|
16331
17805
|
*/
|
|
16332
|
-
public getGetProducts(
|
|
16333
|
-
return ProductsApiFp(this.configuration).getGetProducts(
|
|
17806
|
+
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
17807
|
+
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
16334
17808
|
}
|
|
16335
17809
|
|
|
16336
17810
|
/**
|
|
@@ -16354,6 +17828,47 @@ export class ProductsApi extends BaseAPI {
|
|
|
16354
17828
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
16355
17829
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
16356
17830
|
}
|
|
17831
|
+
|
|
17832
|
+
/**
|
|
17833
|
+
* Search Products
|
|
17834
|
+
* @summary Search Products
|
|
17835
|
+
* @param {number} [pageSize] Number Of Results
|
|
17836
|
+
* @param {number} [page] Page Number
|
|
17837
|
+
* @param {string} [search] Search
|
|
17838
|
+
* @param {*} [options] Override http request option.
|
|
17839
|
+
* @throws {RequiredError}
|
|
17840
|
+
* @memberof ProductsApi
|
|
17841
|
+
*/
|
|
17842
|
+
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
17843
|
+
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17844
|
+
}
|
|
17845
|
+
|
|
17846
|
+
/**
|
|
17847
|
+
* Get Product
|
|
17848
|
+
* @summary Get Product
|
|
17849
|
+
* @param {string} sku Product SKU
|
|
17850
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17851
|
+
* @param {*} [options] Override http request option.
|
|
17852
|
+
* @throws {RequiredError}
|
|
17853
|
+
* @memberof ProductsApi
|
|
17854
|
+
*/
|
|
17855
|
+
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17856
|
+
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17857
|
+
}
|
|
17858
|
+
|
|
17859
|
+
/**
|
|
17860
|
+
* Get Product For Customer
|
|
17861
|
+
* @summary Get Product For Customer
|
|
17862
|
+
* @param {number} customerId Customer ID
|
|
17863
|
+
* @param {string} sku Product SKU
|
|
17864
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17865
|
+
* @param {*} [options] Override http request option.
|
|
17866
|
+
* @throws {RequiredError}
|
|
17867
|
+
* @memberof ProductsApi
|
|
17868
|
+
*/
|
|
17869
|
+
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17870
|
+
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17871
|
+
}
|
|
16357
17872
|
}
|
|
16358
17873
|
|
|
16359
17874
|
/**
|
|
@@ -16694,7 +18209,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
16694
18209
|
* @param {*} [options] Override http request option.
|
|
16695
18210
|
* @throws {RequiredError}
|
|
16696
18211
|
*/
|
|
16697
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
18212
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
|
|
16698
18213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
16699
18214
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16700
18215
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16707,7 +18222,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
16707
18222
|
* @param {*} [options] Override http request option.
|
|
16708
18223
|
* @throws {RequiredError}
|
|
16709
18224
|
*/
|
|
16710
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18225
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
|
|
16711
18226
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
16712
18227
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16713
18228
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16786,7 +18301,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
16786
18301
|
* @param {*} [options] Override http request option.
|
|
16787
18302
|
* @throws {RequiredError}
|
|
16788
18303
|
*/
|
|
16789
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
18304
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
|
|
16790
18305
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
16791
18306
|
},
|
|
16792
18307
|
/**
|
|
@@ -16796,7 +18311,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
16796
18311
|
* @param {*} [options] Override http request option.
|
|
16797
18312
|
* @throws {RequiredError}
|
|
16798
18313
|
*/
|
|
16799
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18314
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
|
|
16800
18315
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
16801
18316
|
},
|
|
16802
18317
|
/**
|
|
@@ -18697,6 +20212,114 @@ export class SMSApi extends BaseAPI {
|
|
|
18697
20212
|
|
|
18698
20213
|
|
|
18699
20214
|
|
|
20215
|
+
/**
|
|
20216
|
+
* ShippingApi - axios parameter creator
|
|
20217
|
+
* @export
|
|
20218
|
+
*/
|
|
20219
|
+
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20220
|
+
return {
|
|
20221
|
+
/**
|
|
20222
|
+
* Get Shipping Services
|
|
20223
|
+
* @summary Get Shipping Services
|
|
20224
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20225
|
+
* @param {*} [options] Override http request option.
|
|
20226
|
+
* @throws {RequiredError}
|
|
20227
|
+
*/
|
|
20228
|
+
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20229
|
+
const localVarPath = `/shipping/services`;
|
|
20230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20232
|
+
let baseOptions;
|
|
20233
|
+
if (configuration) {
|
|
20234
|
+
baseOptions = configuration.baseOptions;
|
|
20235
|
+
}
|
|
20236
|
+
|
|
20237
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20238
|
+
const localVarHeaderParameter = {} as any;
|
|
20239
|
+
const localVarQueryParameter = {} as any;
|
|
20240
|
+
|
|
20241
|
+
|
|
20242
|
+
|
|
20243
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20244
|
+
|
|
20245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20248
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
20249
|
+
|
|
20250
|
+
return {
|
|
20251
|
+
url: toPathString(localVarUrlObj),
|
|
20252
|
+
options: localVarRequestOptions,
|
|
20253
|
+
};
|
|
20254
|
+
},
|
|
20255
|
+
}
|
|
20256
|
+
};
|
|
20257
|
+
|
|
20258
|
+
/**
|
|
20259
|
+
* ShippingApi - functional programming interface
|
|
20260
|
+
* @export
|
|
20261
|
+
*/
|
|
20262
|
+
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
20263
|
+
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
|
|
20264
|
+
return {
|
|
20265
|
+
/**
|
|
20266
|
+
* Get Shipping Services
|
|
20267
|
+
* @summary Get Shipping Services
|
|
20268
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20269
|
+
* @param {*} [options] Override http request option.
|
|
20270
|
+
* @throws {RequiredError}
|
|
20271
|
+
*/
|
|
20272
|
+
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
20273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
20274
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20275
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
20276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20277
|
+
},
|
|
20278
|
+
}
|
|
20279
|
+
};
|
|
20280
|
+
|
|
20281
|
+
/**
|
|
20282
|
+
* ShippingApi - factory interface
|
|
20283
|
+
* @export
|
|
20284
|
+
*/
|
|
20285
|
+
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20286
|
+
const localVarFp = ShippingApiFp(configuration)
|
|
20287
|
+
return {
|
|
20288
|
+
/**
|
|
20289
|
+
* Get Shipping Services
|
|
20290
|
+
* @summary Get Shipping Services
|
|
20291
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20292
|
+
* @param {*} [options] Override http request option.
|
|
20293
|
+
* @throws {RequiredError}
|
|
20294
|
+
*/
|
|
20295
|
+
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
20296
|
+
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
20297
|
+
},
|
|
20298
|
+
};
|
|
20299
|
+
};
|
|
20300
|
+
|
|
20301
|
+
/**
|
|
20302
|
+
* ShippingApi - object-oriented interface
|
|
20303
|
+
* @export
|
|
20304
|
+
* @class ShippingApi
|
|
20305
|
+
* @extends {BaseAPI}
|
|
20306
|
+
*/
|
|
20307
|
+
export class ShippingApi extends BaseAPI {
|
|
20308
|
+
/**
|
|
20309
|
+
* Get Shipping Services
|
|
20310
|
+
* @summary Get Shipping Services
|
|
20311
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20312
|
+
* @param {*} [options] Override http request option.
|
|
20313
|
+
* @throws {RequiredError}
|
|
20314
|
+
* @memberof ShippingApi
|
|
20315
|
+
*/
|
|
20316
|
+
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
20317
|
+
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
20318
|
+
}
|
|
20319
|
+
}
|
|
20320
|
+
|
|
20321
|
+
|
|
20322
|
+
|
|
18700
20323
|
/**
|
|
18701
20324
|
* StockManagementApi - axios parameter creator
|
|
18702
20325
|
* @export
|
|
@@ -19783,7 +21406,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
19783
21406
|
* @param {*} [options] Override http request option.
|
|
19784
21407
|
* @throws {RequiredError}
|
|
19785
21408
|
*/
|
|
19786
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
21409
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
|
|
19787
21410
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
19788
21411
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19789
21412
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -20086,7 +21709,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
20086
21709
|
* @param {*} [options] Override http request option.
|
|
20087
21710
|
* @throws {RequiredError}
|
|
20088
21711
|
*/
|
|
20089
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
21712
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
|
|
20090
21713
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
20091
21714
|
},
|
|
20092
21715
|
/**
|