yellowgrid-api-ts 3.1.8-dev.0 → 3.1.8
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 +197 -214
- package/README.md +7 -34
- package/api.ts +252 -1875
- 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 +154 -1363
- package/dist/api.js +197 -1135
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AccountsApi.md +0 -103
- package/docs/AddressModel.md +0 -2
- package/docs/Class3CXApi.md +55 -0
- package/docs/ClientDetailsModel.md +2 -0
- package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
- package/docs/ItemDTO.md +4 -12
- package/docs/ItemEntity.md +0 -2
- package/docs/OrderSummaryDTO.md +0 -8
- package/docs/OrderTotalModel.md +0 -2
- package/docs/OrdersApi.md +4 -356
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
- package/docs/ProductsApi.md +43 -164
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -33
- package/docs/AccountDetailedSummaryDTO.md +0 -39
- package/docs/AdminItemRequestDTO.md +0 -41
- package/docs/AdminOrderRequestDTO.md +0 -45
- package/docs/AdminUserModel.md +0 -29
- package/docs/BasicItemDTO.md +0 -23
- package/docs/BasicProductDTO.md +0 -23
- package/docs/CourierPriceEntity.md +0 -39
- package/docs/CustomerItemRequestDTO.md +0 -37
- package/docs/CustomerOrderRequestDTO.md +0 -33
- package/docs/LinkedOrderEntity.md +0 -23
- package/docs/PostGetProductForCustomerRequest.md +0 -24
- package/docs/ShippingApi.md +0 -63
- package/docs/ShippingConsignmentModel.md +0 -26
- package/docs/ShippingInformationDTO.md +0 -25
- package/docs/ShippingServiceDTO.md +0 -23
- package/docs/ShippingServiceModel.md +0 -31
- package/docs/TcxSbcDTO.md +0 -31
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -23,55 +23,6 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
* Order Request
|
|
28
|
-
* @export
|
|
29
|
-
* @interface AbstractOrderRequestDTO
|
|
30
|
-
*/
|
|
31
|
-
export interface AbstractOrderRequestDTO {
|
|
32
|
-
/**
|
|
33
|
-
* Order Reference
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AbstractOrderRequestDTO
|
|
36
|
-
*/
|
|
37
|
-
'orderReference'?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Items
|
|
40
|
-
* @type {Array<CustomerItemRequestDTO>}
|
|
41
|
-
* @memberof AbstractOrderRequestDTO
|
|
42
|
-
*/
|
|
43
|
-
'items'?: Array<CustomerItemRequestDTO>;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {ShippingServiceDTO}
|
|
47
|
-
* @memberof AbstractOrderRequestDTO
|
|
48
|
-
*/
|
|
49
|
-
'shippingService'?: ShippingServiceDTO;
|
|
50
|
-
/**
|
|
51
|
-
* Provisioning URL
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof AbstractOrderRequestDTO
|
|
54
|
-
*/
|
|
55
|
-
'provisioningUrl'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {AddressModel}
|
|
59
|
-
* @memberof AbstractOrderRequestDTO
|
|
60
|
-
*/
|
|
61
|
-
'shippingAddress'?: AddressModel | null;
|
|
62
|
-
/**
|
|
63
|
-
* Part Ship Order
|
|
64
|
-
* @type {boolean}
|
|
65
|
-
* @memberof AbstractOrderRequestDTO
|
|
66
|
-
*/
|
|
67
|
-
'partShip'?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Quote
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @memberof AbstractOrderRequestDTO
|
|
72
|
-
*/
|
|
73
|
-
'quote'?: boolean;
|
|
74
|
-
}
|
|
75
26
|
/**
|
|
76
27
|
* AccountContactsEntity
|
|
77
28
|
* @export
|
|
@@ -303,73 +254,6 @@ export interface AccountContactRequestModel {
|
|
|
303
254
|
*/
|
|
304
255
|
'despatchEmails'?: boolean;
|
|
305
256
|
}
|
|
306
|
-
/**
|
|
307
|
-
* Account Details
|
|
308
|
-
* @export
|
|
309
|
-
* @interface AccountDetailedSummaryDTO
|
|
310
|
-
*/
|
|
311
|
-
export interface AccountDetailedSummaryDTO {
|
|
312
|
-
/**
|
|
313
|
-
* ID
|
|
314
|
-
* @type {number}
|
|
315
|
-
* @memberof AccountDetailedSummaryDTO
|
|
316
|
-
*/
|
|
317
|
-
'id'?: number;
|
|
318
|
-
/**
|
|
319
|
-
* Xero ID
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof AccountDetailedSummaryDTO
|
|
322
|
-
*/
|
|
323
|
-
'xeroId'?: string;
|
|
324
|
-
/**
|
|
325
|
-
* Company
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof AccountDetailedSummaryDTO
|
|
328
|
-
*/
|
|
329
|
-
'company'?: string;
|
|
330
|
-
/**
|
|
331
|
-
* Credit Limit
|
|
332
|
-
* @type {number}
|
|
333
|
-
* @memberof AccountDetailedSummaryDTO
|
|
334
|
-
*/
|
|
335
|
-
'creditLimit'?: number;
|
|
336
|
-
/**
|
|
337
|
-
* Contacts
|
|
338
|
-
* @type {Array<AccountContactModel>}
|
|
339
|
-
* @memberof AccountDetailedSummaryDTO
|
|
340
|
-
*/
|
|
341
|
-
'contacts'?: Array<AccountContactModel>;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @type {AddressModel}
|
|
345
|
-
* @memberof AccountDetailedSummaryDTO
|
|
346
|
-
*/
|
|
347
|
-
'billingAddress'?: AddressModel;
|
|
348
|
-
/**
|
|
349
|
-
* Addresses
|
|
350
|
-
* @type {Array<AddressModel>}
|
|
351
|
-
* @memberof AccountDetailedSummaryDTO
|
|
352
|
-
*/
|
|
353
|
-
'addresses'?: Array<AddressModel>;
|
|
354
|
-
/**
|
|
355
|
-
* Provisioning URLs
|
|
356
|
-
* @type {Array<ProvisioningModel>}
|
|
357
|
-
* @memberof AccountDetailedSummaryDTO
|
|
358
|
-
*/
|
|
359
|
-
'provisioningUrls'?: Array<ProvisioningModel>;
|
|
360
|
-
/**
|
|
361
|
-
* On Hold
|
|
362
|
-
* @type {boolean}
|
|
363
|
-
* @memberof AccountDetailedSummaryDTO
|
|
364
|
-
*/
|
|
365
|
-
'onHold'?: boolean;
|
|
366
|
-
/**
|
|
367
|
-
* Balance (£)
|
|
368
|
-
* @type {number}
|
|
369
|
-
* @memberof AccountDetailedSummaryDTO
|
|
370
|
-
*/
|
|
371
|
-
'balance'?: number | null;
|
|
372
|
-
}
|
|
373
257
|
/**
|
|
374
258
|
* New Account Request
|
|
375
259
|
* @export
|
|
@@ -619,12 +503,6 @@ export interface AddressModel {
|
|
|
619
503
|
* @memberof AddressModel
|
|
620
504
|
*/
|
|
621
505
|
'company'?: string;
|
|
622
|
-
/**
|
|
623
|
-
* Default
|
|
624
|
-
* @type {boolean}
|
|
625
|
-
* @memberof AddressModel
|
|
626
|
-
*/
|
|
627
|
-
'default'?: boolean;
|
|
628
506
|
}
|
|
629
507
|
/**
|
|
630
508
|
* Address Request
|
|
@@ -657,212 +535,6 @@ export interface AddressRequestModel {
|
|
|
657
535
|
*/
|
|
658
536
|
'addressPostcode'?: string;
|
|
659
537
|
}
|
|
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
|
-
|
|
866
538
|
/**
|
|
867
539
|
* Agent Hours Graph
|
|
868
540
|
* @export
|
|
@@ -1092,44 +764,6 @@ export interface AuthCodeResponseModel {
|
|
|
1092
764
|
*/
|
|
1093
765
|
'redirect_uri'?: string | null;
|
|
1094
766
|
}
|
|
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
|
-
}
|
|
1133
767
|
/**
|
|
1134
768
|
* BatchesEntity
|
|
1135
769
|
* @export
|
|
@@ -1324,6 +958,12 @@ export interface ClientDetailsModel {
|
|
|
1324
958
|
* @memberof ClientDetailsModel
|
|
1325
959
|
*/
|
|
1326
960
|
'lastName'?: string;
|
|
961
|
+
/**
|
|
962
|
+
* User Profile Picture
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof ClientDetailsModel
|
|
965
|
+
*/
|
|
966
|
+
'image'?: string | null;
|
|
1327
967
|
}
|
|
1328
968
|
/**
|
|
1329
969
|
* OAuth client details
|
|
@@ -1486,102 +1126,35 @@ export interface ConversationModel {
|
|
|
1486
1126
|
'attachments'?: Array<AttachmentModel>;
|
|
1487
1127
|
}
|
|
1488
1128
|
/**
|
|
1489
|
-
*
|
|
1129
|
+
* Credit Account
|
|
1490
1130
|
* @export
|
|
1491
|
-
* @interface
|
|
1131
|
+
* @interface CreditAccountEntity
|
|
1492
1132
|
*/
|
|
1493
|
-
export interface
|
|
1133
|
+
export interface CreditAccountEntity {
|
|
1494
1134
|
/**
|
|
1495
|
-
*
|
|
1135
|
+
* ID
|
|
1496
1136
|
* @type {number}
|
|
1497
|
-
* @memberof
|
|
1137
|
+
* @memberof CreditAccountEntity
|
|
1498
1138
|
*/
|
|
1499
1139
|
'id'?: number;
|
|
1500
1140
|
/**
|
|
1501
|
-
*
|
|
1141
|
+
* Contact Name
|
|
1502
1142
|
* @type {string}
|
|
1503
|
-
* @memberof
|
|
1143
|
+
* @memberof CreditAccountEntity
|
|
1504
1144
|
*/
|
|
1505
|
-
'
|
|
1145
|
+
'name'?: string;
|
|
1506
1146
|
/**
|
|
1507
|
-
*
|
|
1147
|
+
* Email
|
|
1508
1148
|
* @type {string}
|
|
1509
|
-
* @memberof
|
|
1149
|
+
* @memberof CreditAccountEntity
|
|
1510
1150
|
*/
|
|
1511
|
-
'
|
|
1151
|
+
'email'?: string;
|
|
1512
1152
|
/**
|
|
1513
|
-
*
|
|
1153
|
+
* Phone Number
|
|
1514
1154
|
* @type {string}
|
|
1515
|
-
* @memberof
|
|
1155
|
+
* @memberof CreditAccountEntity
|
|
1516
1156
|
*/
|
|
1517
|
-
'
|
|
1518
|
-
/**
|
|
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;
|
|
1157
|
+
'phone'?: string;
|
|
1585
1158
|
/**
|
|
1586
1159
|
* Company Name
|
|
1587
1160
|
* @type {string}
|
|
@@ -1783,116 +1356,6 @@ export interface CustomerInformationModel {
|
|
|
1783
1356
|
*/
|
|
1784
1357
|
'contactLastName'?: string;
|
|
1785
1358
|
}
|
|
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
|
-
}
|
|
1896
1359
|
/**
|
|
1897
1360
|
* Customer Price List
|
|
1898
1361
|
* @export
|
|
@@ -2402,6 +1865,19 @@ export interface GenericFileModel {
|
|
|
2402
1865
|
*/
|
|
2403
1866
|
'type'?: string;
|
|
2404
1867
|
}
|
|
1868
|
+
/**
|
|
1869
|
+
*
|
|
1870
|
+
* @export
|
|
1871
|
+
* @interface GetGetPasswordHash200Response
|
|
1872
|
+
*/
|
|
1873
|
+
export interface GetGetPasswordHash200Response {
|
|
1874
|
+
/**
|
|
1875
|
+
*
|
|
1876
|
+
* @type {string}
|
|
1877
|
+
* @memberof GetGetPasswordHash200Response
|
|
1878
|
+
*/
|
|
1879
|
+
'hash'?: string;
|
|
1880
|
+
}
|
|
2405
1881
|
/**
|
|
2406
1882
|
*
|
|
2407
1883
|
* @export
|
|
@@ -3002,36 +2478,36 @@ export interface InstanceUserCredentialsEntity {
|
|
|
3002
2478
|
* @interface ItemDTO
|
|
3003
2479
|
*/
|
|
3004
2480
|
export interface ItemDTO {
|
|
3005
|
-
/**
|
|
3006
|
-
* SKU
|
|
3007
|
-
* @type {string}
|
|
3008
|
-
* @memberof ItemDTO
|
|
3009
|
-
*/
|
|
3010
|
-
'sku'?: string;
|
|
3011
|
-
/**
|
|
3012
|
-
* Quantity
|
|
3013
|
-
* @type {number}
|
|
3014
|
-
* @memberof ItemDTO
|
|
3015
|
-
*/
|
|
3016
|
-
'quantity'?: number;
|
|
3017
2481
|
/**
|
|
3018
2482
|
* ID
|
|
3019
2483
|
* @type {number}
|
|
3020
2484
|
* @memberof ItemDTO
|
|
3021
2485
|
*/
|
|
3022
|
-
'id'?: number
|
|
2486
|
+
'id'?: number;
|
|
3023
2487
|
/**
|
|
3024
2488
|
* Order ID
|
|
3025
2489
|
* @type {number}
|
|
3026
2490
|
* @memberof ItemDTO
|
|
3027
2491
|
*/
|
|
3028
|
-
'orderId'?: number
|
|
2492
|
+
'orderId'?: number;
|
|
3029
2493
|
/**
|
|
3030
2494
|
* Title
|
|
3031
2495
|
* @type {string}
|
|
3032
2496
|
* @memberof ItemDTO
|
|
3033
2497
|
*/
|
|
3034
2498
|
'title'?: string;
|
|
2499
|
+
/**
|
|
2500
|
+
* SKU
|
|
2501
|
+
* @type {string}
|
|
2502
|
+
* @memberof ItemDTO
|
|
2503
|
+
*/
|
|
2504
|
+
'sku'?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* Quantity
|
|
2507
|
+
* @type {number}
|
|
2508
|
+
* @memberof ItemDTO
|
|
2509
|
+
*/
|
|
2510
|
+
'quantity'?: number;
|
|
3035
2511
|
/**
|
|
3036
2512
|
* Price
|
|
3037
2513
|
* @type {number}
|
|
@@ -3056,12 +2532,6 @@ export interface ItemDTO {
|
|
|
3056
2532
|
* @memberof ItemDTO
|
|
3057
2533
|
*/
|
|
3058
2534
|
'processDate'?: string;
|
|
3059
|
-
/**
|
|
3060
|
-
* 3CX Hosting
|
|
3061
|
-
* @type {boolean}
|
|
3062
|
-
* @memberof ItemDTO
|
|
3063
|
-
*/
|
|
3064
|
-
'hosting'?: boolean | null;
|
|
3065
2535
|
/**
|
|
3066
2536
|
* Promo Item
|
|
3067
2537
|
* @type {boolean}
|
|
@@ -3073,25 +2543,7 @@ export interface ItemDTO {
|
|
|
3073
2543
|
* @type {number}
|
|
3074
2544
|
* @memberof ItemDTO
|
|
3075
2545
|
*/
|
|
3076
|
-
'refunded'?: number
|
|
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;
|
|
2546
|
+
'refunded'?: number;
|
|
3095
2547
|
}
|
|
3096
2548
|
/**
|
|
3097
2549
|
* ItemsEntity
|
|
@@ -3225,31 +2677,6 @@ export interface ItemEntity {
|
|
|
3225
2677
|
* @memberof ItemEntity
|
|
3226
2678
|
*/
|
|
3227
2679
|
'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;
|
|
3253
2680
|
}
|
|
3254
2681
|
/**
|
|
3255
2682
|
* MFA Required
|
|
@@ -3910,19 +3337,13 @@ export interface OrderSummaryDTO {
|
|
|
3910
3337
|
* @type {string}
|
|
3911
3338
|
* @memberof OrderSummaryDTO
|
|
3912
3339
|
*/
|
|
3913
|
-
'reference'?: string
|
|
3340
|
+
'reference'?: string;
|
|
3914
3341
|
/**
|
|
3915
3342
|
* Invoice Number
|
|
3916
3343
|
* @type {string}
|
|
3917
3344
|
* @memberof OrderSummaryDTO
|
|
3918
3345
|
*/
|
|
3919
3346
|
'invoiceNumber'?: string;
|
|
3920
|
-
/**
|
|
3921
|
-
* Invoice ID
|
|
3922
|
-
* @type {string}
|
|
3923
|
-
* @memberof OrderSummaryDTO
|
|
3924
|
-
*/
|
|
3925
|
-
'invoiceId'?: string | null;
|
|
3926
3347
|
/**
|
|
3927
3348
|
* Date Time
|
|
3928
3349
|
* @type {string}
|
|
@@ -3977,24 +3398,6 @@ export interface OrderSummaryDTO {
|
|
|
3977
3398
|
* @memberof OrderSummaryDTO
|
|
3978
3399
|
*/
|
|
3979
3400
|
'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;
|
|
3998
3401
|
}
|
|
3999
3402
|
/**
|
|
4000
3403
|
* Order Totals
|
|
@@ -4044,12 +3447,6 @@ export interface OrderTotalModel {
|
|
|
4044
3447
|
* @memberof OrderTotalModel
|
|
4045
3448
|
*/
|
|
4046
3449
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
4047
|
-
/**
|
|
4048
|
-
* Delivery
|
|
4049
|
-
* @type {number}
|
|
4050
|
-
* @memberof OrderTotalModel
|
|
4051
|
-
*/
|
|
4052
|
-
'delivery'?: number | null;
|
|
4053
3450
|
}
|
|
4054
3451
|
|
|
4055
3452
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -4431,31 +3828,6 @@ export interface PostGetClientCredentialsRequest {
|
|
|
4431
3828
|
*/
|
|
4432
3829
|
'scopes'?: Array<string>;
|
|
4433
3830
|
}
|
|
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
|
-
}
|
|
4459
3831
|
/**
|
|
4460
3832
|
* Price & Stock List
|
|
4461
3833
|
* @export
|
|
@@ -4544,10 +3916,10 @@ export interface PrizesEntity {
|
|
|
4544
3916
|
export interface ProductSearchResultsModel {
|
|
4545
3917
|
/**
|
|
4546
3918
|
* Results
|
|
4547
|
-
* @type {Array<
|
|
3919
|
+
* @type {Array<ProductSummaryModel>}
|
|
4548
3920
|
* @memberof ProductSearchResultsModel
|
|
4549
3921
|
*/
|
|
4550
|
-
'results'?: Array<
|
|
3922
|
+
'results'?: Array<ProductSummaryModel>;
|
|
4551
3923
|
}
|
|
4552
3924
|
/**
|
|
4553
3925
|
* Product Serial Info
|
|
@@ -4583,51 +3955,45 @@ export interface ProductSerialInfoModel {
|
|
|
4583
3955
|
/**
|
|
4584
3956
|
* Product Summary
|
|
4585
3957
|
* @export
|
|
4586
|
-
* @interface
|
|
3958
|
+
* @interface ProductSummaryModel
|
|
4587
3959
|
*/
|
|
4588
|
-
export interface
|
|
3960
|
+
export interface ProductSummaryModel {
|
|
4589
3961
|
/**
|
|
4590
3962
|
* SKU
|
|
4591
3963
|
* @type {string}
|
|
4592
|
-
* @memberof
|
|
3964
|
+
* @memberof ProductSummaryModel
|
|
4593
3965
|
*/
|
|
4594
3966
|
'sku'?: string;
|
|
4595
3967
|
/**
|
|
4596
3968
|
* Title
|
|
4597
3969
|
* @type {string}
|
|
4598
|
-
* @memberof
|
|
3970
|
+
* @memberof ProductSummaryModel
|
|
4599
3971
|
*/
|
|
4600
3972
|
'title'?: string;
|
|
4601
3973
|
/**
|
|
4602
3974
|
* Stock Quantity
|
|
4603
3975
|
* @type {number}
|
|
4604
|
-
* @memberof
|
|
3976
|
+
* @memberof ProductSummaryModel
|
|
4605
3977
|
*/
|
|
4606
3978
|
'quantity'?: number | null;
|
|
4607
3979
|
/**
|
|
4608
3980
|
* Stock Product
|
|
4609
3981
|
* @type {boolean}
|
|
4610
|
-
* @memberof
|
|
3982
|
+
* @memberof ProductSummaryModel
|
|
4611
3983
|
*/
|
|
4612
3984
|
'stockProduct'?: boolean;
|
|
4613
3985
|
/**
|
|
4614
3986
|
* Price
|
|
4615
3987
|
* @type {number}
|
|
4616
|
-
* @memberof
|
|
3988
|
+
* @memberof ProductSummaryModel
|
|
4617
3989
|
*/
|
|
4618
3990
|
'price'?: number | null;
|
|
4619
3991
|
/**
|
|
4620
3992
|
* Carton Size
|
|
4621
3993
|
* @type {number}
|
|
4622
|
-
* @memberof
|
|
3994
|
+
* @memberof ProductSummaryModel
|
|
4623
3995
|
*/
|
|
4624
3996
|
'cartonSize'?: number | null;
|
|
4625
|
-
/**
|
|
4626
|
-
* RRP Price
|
|
4627
|
-
* @type {number}
|
|
4628
|
-
* @memberof ProductSummaryDTO
|
|
4629
|
-
*/
|
|
4630
|
-
'rrp'?: number | null;
|
|
4631
3997
|
}
|
|
4632
3998
|
/**
|
|
4633
3999
|
* PromoCodesEntity
|
|
@@ -4766,37 +4132,37 @@ export interface PromoItemsEntity {
|
|
|
4766
4132
|
/**
|
|
4767
4133
|
* Provisioning Group
|
|
4768
4134
|
* @export
|
|
4769
|
-
* @interface
|
|
4135
|
+
* @interface ProvisioningEntity
|
|
4770
4136
|
*/
|
|
4771
|
-
export interface
|
|
4137
|
+
export interface ProvisioningEntity {
|
|
4772
4138
|
/**
|
|
4773
4139
|
* Provisioning Group Name
|
|
4774
4140
|
* @type {string}
|
|
4775
|
-
* @memberof
|
|
4141
|
+
* @memberof ProvisioningEntity
|
|
4776
4142
|
*/
|
|
4777
4143
|
'groupName'?: string;
|
|
4778
4144
|
/**
|
|
4779
4145
|
* Provisioning URL (Static Provisioning Server)
|
|
4780
4146
|
* @type {string}
|
|
4781
|
-
* @memberof
|
|
4147
|
+
* @memberof ProvisioningEntity
|
|
4782
4148
|
*/
|
|
4783
4149
|
'provisioningUrl'?: string;
|
|
4784
4150
|
/**
|
|
4785
4151
|
* Additional Authentication Secret
|
|
4786
4152
|
* @type {string}
|
|
4787
|
-
* @memberof
|
|
4153
|
+
* @memberof ProvisioningEntity
|
|
4788
4154
|
*/
|
|
4789
4155
|
'auth'?: string;
|
|
4790
4156
|
/**
|
|
4791
4157
|
* Provisioning Group ID
|
|
4792
4158
|
* @type {number}
|
|
4793
|
-
* @memberof
|
|
4159
|
+
* @memberof ProvisioningEntity
|
|
4794
4160
|
*/
|
|
4795
4161
|
'id'?: number;
|
|
4796
4162
|
/**
|
|
4797
4163
|
* Owner ID
|
|
4798
4164
|
* @type {number}
|
|
4799
|
-
* @memberof
|
|
4165
|
+
* @memberof ProvisioningEntity
|
|
4800
4166
|
*/
|
|
4801
4167
|
'customerId'?: number;
|
|
4802
4168
|
}
|
|
@@ -5150,7 +4516,7 @@ export interface ShipmentEntity {
|
|
|
5150
4516
|
* @type {string}
|
|
5151
4517
|
* @memberof ShipmentEntity
|
|
5152
4518
|
*/
|
|
5153
|
-
'
|
|
4519
|
+
'date'?: string;
|
|
5154
4520
|
/**
|
|
5155
4521
|
* requestDate
|
|
5156
4522
|
* @type {string}
|
|
@@ -5202,182 +4568,33 @@ export interface ShipmentItemEntity {
|
|
|
5202
4568
|
'itemId'?: string;
|
|
5203
4569
|
}
|
|
5204
4570
|
/**
|
|
5205
|
-
*
|
|
4571
|
+
* Change Response
|
|
5206
4572
|
* @export
|
|
5207
|
-
* @interface
|
|
4573
|
+
* @interface SipTrunkChangeResponseModel
|
|
5208
4574
|
*/
|
|
5209
|
-
export interface
|
|
4575
|
+
export interface SipTrunkChangeResponseModel {
|
|
5210
4576
|
/**
|
|
5211
|
-
*
|
|
5212
|
-
* @type {
|
|
5213
|
-
* @memberof
|
|
4577
|
+
* ID
|
|
4578
|
+
* @type {string}
|
|
4579
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5214
4580
|
*/
|
|
5215
|
-
'
|
|
4581
|
+
'changeId'?: string;
|
|
5216
4582
|
/**
|
|
5217
|
-
*
|
|
5218
|
-
* @type {
|
|
5219
|
-
* @memberof
|
|
4583
|
+
*
|
|
4584
|
+
* @type {SipTrunkEntity}
|
|
4585
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5220
4586
|
*/
|
|
5221
|
-
'
|
|
4587
|
+
'trunk'?: SipTrunkEntity;
|
|
5222
4588
|
/**
|
|
5223
|
-
*
|
|
4589
|
+
* Type
|
|
5224
4590
|
* @type {string}
|
|
5225
|
-
* @memberof
|
|
4591
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5226
4592
|
*/
|
|
5227
|
-
'
|
|
4593
|
+
'type'?: SipTrunkChangeResponseModelTypeEnum;
|
|
5228
4594
|
/**
|
|
5229
|
-
*
|
|
5230
|
-
* @type {
|
|
5231
|
-
* @memberof
|
|
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
|
|
4595
|
+
* Progress
|
|
4596
|
+
* @type {number}
|
|
4597
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5381
4598
|
*/
|
|
5382
4599
|
'progress'?: number;
|
|
5383
4600
|
/**
|
|
@@ -8189,49 +7406,6 @@ export interface TcxRemoteStorageModel {
|
|
|
8189
7406
|
*/
|
|
8190
7407
|
'secretAccessKey'?: string;
|
|
8191
7408
|
}
|
|
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
|
-
}
|
|
8235
7409
|
/**
|
|
8236
7410
|
* 3CX Wizard SBC
|
|
8237
7411
|
* @export
|
|
@@ -8336,7 +7510,7 @@ export interface TcxSbcEntity {
|
|
|
8336
7510
|
'technicalContact'?: string;
|
|
8337
7511
|
}
|
|
8338
7512
|
/**
|
|
8339
|
-
* 3CX
|
|
7513
|
+
* 3CX SBC Model
|
|
8340
7514
|
* @export
|
|
8341
7515
|
* @interface TcxSbcModel
|
|
8342
7516
|
*/
|
|
@@ -9521,40 +8695,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9521
8695
|
|
|
9522
8696
|
|
|
9523
8697
|
|
|
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
|
-
|
|
9558
8698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9559
8699
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9560
8700
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9853,36 +8993,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9853
8993
|
options: localVarRequestOptions,
|
|
9854
8994
|
};
|
|
9855
8995
|
},
|
|
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
|
-
},
|
|
9886
8996
|
/**
|
|
9887
8997
|
* Create client credentials
|
|
9888
8998
|
* @summary Create client credentials
|
|
@@ -10132,19 +9242,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10132
9242
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
10133
9243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10134
9244
|
},
|
|
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
|
-
},
|
|
10148
9245
|
/**
|
|
10149
9246
|
* Get Accounts
|
|
10150
9247
|
* @summary Get Accounts
|
|
@@ -10250,18 +9347,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10250
9347
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
10251
9348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10252
9349
|
},
|
|
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
|
-
},
|
|
10265
9350
|
/**
|
|
10266
9351
|
* Create client credentials
|
|
10267
9352
|
* @summary Create client credentials
|
|
@@ -10379,16 +9464,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10379
9464
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
10380
9465
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
10381
9466
|
},
|
|
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
|
-
},
|
|
10392
9467
|
/**
|
|
10393
9468
|
* Get Accounts
|
|
10394
9469
|
* @summary Get Accounts
|
|
@@ -10470,15 +9545,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10470
9545
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
10471
9546
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
10472
9547
|
},
|
|
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
|
-
},
|
|
10482
9548
|
/**
|
|
10483
9549
|
* Create client credentials
|
|
10484
9550
|
* @summary Create client credentials
|
|
@@ -10589,18 +9655,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10589
9655
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
10590
9656
|
}
|
|
10591
9657
|
|
|
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
|
-
|
|
10604
9658
|
/**
|
|
10605
9659
|
* Get Accounts
|
|
10606
9660
|
* @summary Get Accounts
|
|
@@ -10698,17 +9752,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10698
9752
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
10699
9753
|
}
|
|
10700
9754
|
|
|
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
|
-
|
|
10712
9755
|
/**
|
|
10713
9756
|
* Create client credentials
|
|
10714
9757
|
* @summary Create client credentials
|
|
@@ -10906,6 +9949,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10906
9949
|
|
|
10907
9950
|
|
|
10908
9951
|
|
|
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
|
+
|
|
10909
9989
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10910
9990
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10911
9991
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10972,6 +10052,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
10972
10052
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
10973
10053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10974
10054
|
},
|
|
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
|
+
},
|
|
10975
10068
|
/**
|
|
10976
10069
|
* Get Bulk 3CX Licence Details
|
|
10977
10070
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11006,9 +10099,19 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
11006
10099
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
11007
10100
|
},
|
|
11008
10101
|
/**
|
|
11009
|
-
*
|
|
11010
|
-
* @summary
|
|
11011
|
-
* @param {
|
|
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
|
+
/**
|
|
10112
|
+
* Get Bulk 3CX Licence Details
|
|
10113
|
+
* @summary Get bulk 3CX Licence Details
|
|
10114
|
+
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
11012
10115
|
* @param {*} [options] Override http request option.
|
|
11013
10116
|
* @throws {RequiredError}
|
|
11014
10117
|
*/
|
|
@@ -11037,6 +10140,18 @@ export class Class3CXApi extends BaseAPI {
|
|
|
11037
10140
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
11038
10141
|
}
|
|
11039
10142
|
|
|
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
|
+
|
|
11040
10155
|
/**
|
|
11041
10156
|
* Get Bulk 3CX Licence Details
|
|
11042
10157
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -16211,14 +15326,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16211
15326
|
return {
|
|
16212
15327
|
/**
|
|
16213
15328
|
* Delete Orders
|
|
16214
|
-
* @summary Delete Orders
|
|
16215
15329
|
* @param {number} id Order ID
|
|
16216
15330
|
* @param {*} [options] Override http request option.
|
|
16217
15331
|
* @throws {RequiredError}
|
|
16218
15332
|
*/
|
|
16219
|
-
|
|
15333
|
+
deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16220
15334
|
// verify required parameter 'id' is not null or undefined
|
|
16221
|
-
assertParamExists('
|
|
15335
|
+
assertParamExists('deleteDeleteOrder', 'id', id)
|
|
16222
15336
|
const localVarPath = `/orders/{id}`
|
|
16223
15337
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16224
15338
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -16234,74 +15348,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16234
15348
|
|
|
16235
15349
|
|
|
16236
15350
|
|
|
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
|
-
|
|
16305
15351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16306
15352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16307
15353
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16371,170 +15417,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16371
15417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16372
15418
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16373
15419
|
|
|
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
|
-
|
|
16538
15420
|
return {
|
|
16539
15421
|
url: toPathString(localVarUrlObj),
|
|
16540
15422
|
options: localVarRequestOptions,
|
|
@@ -16552,41 +15434,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16552
15434
|
return {
|
|
16553
15435
|
/**
|
|
16554
15436
|
* Delete Orders
|
|
16555
|
-
* @summary Delete Orders
|
|
16556
15437
|
* @param {number} id Order ID
|
|
16557
15438
|
* @param {*} [options] Override http request option.
|
|
16558
15439
|
* @throws {RequiredError}
|
|
16559
15440
|
*/
|
|
16560
|
-
async
|
|
16561
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15441
|
+
async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
|
|
16562
15443
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16563
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
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
|
|
16582
|
-
* @param {number} id Order ID
|
|
16583
|
-
* @param {*} [options] Override http request option.
|
|
16584
|
-
* @throws {RequiredError}
|
|
16585
|
-
*/
|
|
16586
|
-
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerOrderRequestDTO>> {
|
|
16587
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
16588
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16589
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
15444
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
16590
15445
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16591
15446
|
},
|
|
16592
15447
|
/**
|
|
@@ -16608,64 +15463,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16608
15463
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16609
15464
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16610
15465
|
},
|
|
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
|
-
},
|
|
16669
15466
|
}
|
|
16670
15467
|
};
|
|
16671
15468
|
|
|
@@ -16678,33 +15475,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16678
15475
|
return {
|
|
16679
15476
|
/**
|
|
16680
15477
|
* Delete Orders
|
|
16681
|
-
* @summary Delete Orders
|
|
16682
15478
|
* @param {number} id Order ID
|
|
16683
15479
|
* @param {*} [options] Override http request option.
|
|
16684
15480
|
* @throws {RequiredError}
|
|
16685
15481
|
*/
|
|
16686
|
-
|
|
16687
|
-
return localVarFp.
|
|
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
|
|
16702
|
-
* @param {number} id Order ID
|
|
16703
|
-
* @param {*} [options] Override http request option.
|
|
16704
|
-
* @throws {RequiredError}
|
|
16705
|
-
*/
|
|
16706
|
-
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<CustomerOrderRequestDTO> {
|
|
16707
|
-
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
15482
|
+
deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15483
|
+
return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
|
|
16708
15484
|
},
|
|
16709
15485
|
/**
|
|
16710
15486
|
* Get Orders
|
|
@@ -16722,52 +15498,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16722
15498
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
16723
15499
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
16724
15500
|
},
|
|
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
|
-
},
|
|
16771
15501
|
};
|
|
16772
15502
|
};
|
|
16773
15503
|
|
|
@@ -16780,38 +15510,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16780
15510
|
export class OrdersApi extends BaseAPI {
|
|
16781
15511
|
/**
|
|
16782
15512
|
* Delete Orders
|
|
16783
|
-
* @summary Delete Orders
|
|
16784
15513
|
* @param {number} id Order ID
|
|
16785
15514
|
* @param {*} [options] Override http request option.
|
|
16786
15515
|
* @throws {RequiredError}
|
|
16787
15516
|
* @memberof OrdersApi
|
|
16788
15517
|
*/
|
|
16789
|
-
public
|
|
16790
|
-
return OrdersApiFp(this.configuration).
|
|
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));
|
|
15518
|
+
public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15519
|
+
return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16815
15520
|
}
|
|
16816
15521
|
|
|
16817
15522
|
/**
|
|
@@ -16831,60 +15536,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
16831
15536
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
16832
15537
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
16833
15538
|
}
|
|
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
|
-
}
|
|
16888
15539
|
}
|
|
16889
15540
|
|
|
16890
15541
|
/**
|
|
@@ -17265,47 +15916,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
|
|
|
17265
15916
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17266
15917
|
return {
|
|
17267
15918
|
/**
|
|
17268
|
-
* Get Attribute Sets
|
|
17269
|
-
* @summary Get Attribute Sets
|
|
17270
|
-
* @param {*} [options] Override http request option.
|
|
17271
|
-
* @throws {RequiredError}
|
|
17272
|
-
*/
|
|
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
|
|
15919
|
+
* Get Attribute Sets
|
|
15920
|
+
* @summary Get Attribute Sets
|
|
17301
15921
|
* @param {*} [options] Override http request option.
|
|
17302
|
-
* @deprecated
|
|
17303
15922
|
* @throws {RequiredError}
|
|
17304
15923
|
*/
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
17308
|
-
const localVarPath = `/products/stock/legacy`;
|
|
15924
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15925
|
+
const localVarPath = `/products/attributes`;
|
|
17309
15926
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17310
15927
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17311
15928
|
let baseOptions;
|
|
@@ -17317,10 +15934,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17317
15934
|
const localVarHeaderParameter = {} as any;
|
|
17318
15935
|
const localVarQueryParameter = {} as any;
|
|
17319
15936
|
|
|
17320
|
-
if (format !== undefined) {
|
|
17321
|
-
localVarQueryParameter['format'] = format;
|
|
17322
|
-
}
|
|
17323
|
-
|
|
17324
15937
|
|
|
17325
15938
|
|
|
17326
15939
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17333,13 +15946,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17333
15946
|
};
|
|
17334
15947
|
},
|
|
17335
15948
|
/**
|
|
17336
|
-
* Get
|
|
17337
|
-
* @summary Get
|
|
15949
|
+
* Get Customer Price Lists
|
|
15950
|
+
* @summary Get Customer Price Lists
|
|
17338
15951
|
* @param {*} [options] Override http request option.
|
|
17339
15952
|
* @throws {RequiredError}
|
|
17340
15953
|
*/
|
|
17341
|
-
|
|
17342
|
-
const localVarPath = `/products`;
|
|
15954
|
+
getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15955
|
+
const localVarPath = `/products/prices/lists`;
|
|
17343
15956
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17344
15957
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17345
15958
|
let baseOptions;
|
|
@@ -17365,11 +15978,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17365
15978
|
/**
|
|
17366
15979
|
* Get Current Stock & Pricing
|
|
17367
15980
|
* @summary Get Current Stock & Pricing
|
|
15981
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
17368
15982
|
* @param {*} [options] Override http request option.
|
|
15983
|
+
* @deprecated
|
|
17369
15984
|
* @throws {RequiredError}
|
|
17370
15985
|
*/
|
|
17371
|
-
|
|
17372
|
-
|
|
15986
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15987
|
+
// verify required parameter 'format' is not null or undefined
|
|
15988
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
15989
|
+
const localVarPath = `/products/stock/legacy`;
|
|
17373
15990
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17374
15991
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17375
15992
|
let baseOptions;
|
|
@@ -17381,36 +15998,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17381
15998
|
const localVarHeaderParameter = {} as any;
|
|
17382
15999
|
const localVarQueryParameter = {} as any;
|
|
17383
16000
|
|
|
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;
|
|
16001
|
+
if (format !== undefined) {
|
|
16002
|
+
localVarQueryParameter['format'] = format;
|
|
17408
16003
|
}
|
|
17409
16004
|
|
|
17410
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17411
|
-
const localVarHeaderParameter = {} as any;
|
|
17412
|
-
const localVarQueryParameter = {} as any;
|
|
17413
|
-
|
|
17414
16005
|
|
|
17415
16006
|
|
|
17416
16007
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17423,15 +16014,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17423
16014
|
};
|
|
17424
16015
|
},
|
|
17425
16016
|
/**
|
|
17426
|
-
*
|
|
17427
|
-
* @summary
|
|
16017
|
+
* Get Products
|
|
16018
|
+
* @summary Get Products
|
|
17428
16019
|
* @param {number} [pageSize] Number Of Results
|
|
17429
16020
|
* @param {number} [page] Page Number
|
|
17430
16021
|
* @param {string} [search] Search
|
|
17431
16022
|
* @param {*} [options] Override http request option.
|
|
17432
16023
|
* @throws {RequiredError}
|
|
17433
16024
|
*/
|
|
17434
|
-
|
|
16025
|
+
getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17435
16026
|
const localVarPath = `/products/search`;
|
|
17436
16027
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17437
16028
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17468,20 +16059,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17468
16059
|
};
|
|
17469
16060
|
},
|
|
17470
16061
|
/**
|
|
17471
|
-
* Get
|
|
17472
|
-
* @summary Get
|
|
17473
|
-
* @param {string} sku Product SKU
|
|
17474
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16062
|
+
* Get Current Stock & Pricing
|
|
16063
|
+
* @summary Get Current Stock & Pricing
|
|
17475
16064
|
* @param {*} [options] Override http request option.
|
|
17476
16065
|
* @throws {RequiredError}
|
|
17477
16066
|
*/
|
|
17478
|
-
|
|
17479
|
-
|
|
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)));
|
|
16067
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16068
|
+
const localVarPath = `/products/stock`;
|
|
17485
16069
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17486
16070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17487
16071
|
let baseOptions;
|
|
@@ -17489,18 +16073,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17489
16073
|
baseOptions = configuration.baseOptions;
|
|
17490
16074
|
}
|
|
17491
16075
|
|
|
17492
|
-
const localVarRequestOptions = { method: '
|
|
16076
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17493
16077
|
const localVarHeaderParameter = {} as any;
|
|
17494
16078
|
const localVarQueryParameter = {} as any;
|
|
17495
16079
|
|
|
17496
16080
|
|
|
17497
16081
|
|
|
17498
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17499
|
-
|
|
17500
16082
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17501
16083
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17502
16084
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17503
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17504
16085
|
|
|
17505
16086
|
return {
|
|
17506
16087
|
url: toPathString(localVarUrlObj),
|
|
@@ -17508,23 +16089,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17508
16089
|
};
|
|
17509
16090
|
},
|
|
17510
16091
|
/**
|
|
17511
|
-
* Get
|
|
17512
|
-
* @summary Get
|
|
17513
|
-
* @param {number} customerId Customer ID
|
|
17514
|
-
* @param {string} sku Product SKU
|
|
17515
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16092
|
+
* Get 3CX Templates
|
|
16093
|
+
* @summary Get 3CX Templates
|
|
17516
16094
|
* @param {*} [options] Override http request option.
|
|
17517
16095
|
* @throws {RequiredError}
|
|
17518
16096
|
*/
|
|
17519
|
-
|
|
17520
|
-
|
|
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)));
|
|
16097
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16098
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17528
16099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17529
16100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17530
16101
|
let baseOptions;
|
|
@@ -17532,22 +16103,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17532
16103
|
baseOptions = configuration.baseOptions;
|
|
17533
16104
|
}
|
|
17534
16105
|
|
|
17535
|
-
const localVarRequestOptions = { method: '
|
|
16106
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17536
16107
|
const localVarHeaderParameter = {} as any;
|
|
17537
16108
|
const localVarQueryParameter = {} as any;
|
|
17538
16109
|
|
|
17539
|
-
if (customerId !== undefined) {
|
|
17540
|
-
localVarQueryParameter['customerId'] = customerId;
|
|
17541
|
-
}
|
|
17542
|
-
|
|
17543
16110
|
|
|
17544
16111
|
|
|
17545
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17546
|
-
|
|
17547
16112
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17548
16113
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17549
16114
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17550
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17551
16115
|
|
|
17552
16116
|
return {
|
|
17553
16117
|
url: toPathString(localVarUrlObj),
|
|
@@ -17576,6 +16140,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17576
16140
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
17577
16141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17578
16142
|
},
|
|
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
|
+
},
|
|
17579
16155
|
/**
|
|
17580
16156
|
* Get Current Stock & Pricing
|
|
17581
16157
|
* @summary Get Current Stock & Pricing
|
|
@@ -17593,11 +16169,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17593
16169
|
/**
|
|
17594
16170
|
* Get Products
|
|
17595
16171
|
* @summary Get Products
|
|
16172
|
+
* @param {number} [pageSize] Number Of Results
|
|
16173
|
+
* @param {number} [page] Page Number
|
|
16174
|
+
* @param {string} [search] Search
|
|
17596
16175
|
* @param {*} [options] Override http request option.
|
|
17597
16176
|
* @throws {RequiredError}
|
|
17598
16177
|
*/
|
|
17599
|
-
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
16178
|
+
async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
16179
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
|
|
17601
16180
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17602
16181
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
17603
16182
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17626,50 +16205,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17626
16205
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17627
16206
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17628
16207
|
},
|
|
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
|
-
},
|
|
17673
16208
|
}
|
|
17674
16209
|
};
|
|
17675
16210
|
|
|
@@ -17689,6 +16224,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17689
16224
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
17690
16225
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
17691
16226
|
},
|
|
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
|
+
},
|
|
17692
16236
|
/**
|
|
17693
16237
|
* Get Current Stock & Pricing
|
|
17694
16238
|
* @summary Get Current Stock & Pricing
|
|
@@ -17703,11 +16247,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17703
16247
|
/**
|
|
17704
16248
|
* Get Products
|
|
17705
16249
|
* @summary Get Products
|
|
16250
|
+
* @param {number} [pageSize] Number Of Results
|
|
16251
|
+
* @param {number} [page] Page Number
|
|
16252
|
+
* @param {string} [search] Search
|
|
17706
16253
|
* @param {*} [options] Override http request option.
|
|
17707
16254
|
* @throws {RequiredError}
|
|
17708
16255
|
*/
|
|
17709
|
-
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17710
|
-
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
16256
|
+
getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
16257
|
+
return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17711
16258
|
},
|
|
17712
16259
|
/**
|
|
17713
16260
|
* Get Current Stock & Pricing
|
|
@@ -17727,41 +16274,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17727
16274
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
17728
16275
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
17729
16276
|
},
|
|
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
|
-
},
|
|
17765
16277
|
};
|
|
17766
16278
|
};
|
|
17767
16279
|
|
|
@@ -17783,6 +16295,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
17783
16295
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
17784
16296
|
}
|
|
17785
16297
|
|
|
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
|
+
|
|
17786
16309
|
/**
|
|
17787
16310
|
* Get Current Stock & Pricing
|
|
17788
16311
|
* @summary Get Current Stock & Pricing
|
|
@@ -17799,12 +16322,15 @@ export class ProductsApi extends BaseAPI {
|
|
|
17799
16322
|
/**
|
|
17800
16323
|
* Get Products
|
|
17801
16324
|
* @summary Get Products
|
|
16325
|
+
* @param {number} [pageSize] Number Of Results
|
|
16326
|
+
* @param {number} [page] Page Number
|
|
16327
|
+
* @param {string} [search] Search
|
|
17802
16328
|
* @param {*} [options] Override http request option.
|
|
17803
16329
|
* @throws {RequiredError}
|
|
17804
16330
|
* @memberof ProductsApi
|
|
17805
16331
|
*/
|
|
17806
|
-
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
17807
|
-
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
16332
|
+
public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
16333
|
+
return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17808
16334
|
}
|
|
17809
16335
|
|
|
17810
16336
|
/**
|
|
@@ -17828,47 +16354,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
17828
16354
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
17829
16355
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
17830
16356
|
}
|
|
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
|
-
}
|
|
17872
16357
|
}
|
|
17873
16358
|
|
|
17874
16359
|
/**
|
|
@@ -18209,7 +16694,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18209
16694
|
* @param {*} [options] Override http request option.
|
|
18210
16695
|
* @throws {RequiredError}
|
|
18211
16696
|
*/
|
|
18212
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
16697
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
|
|
18213
16698
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
18214
16699
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18215
16700
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18222,7 +16707,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18222
16707
|
* @param {*} [options] Override http request option.
|
|
18223
16708
|
* @throws {RequiredError}
|
|
18224
16709
|
*/
|
|
18225
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16710
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
|
|
18226
16711
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
18227
16712
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18228
16713
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18301,7 +16786,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18301
16786
|
* @param {*} [options] Override http request option.
|
|
18302
16787
|
* @throws {RequiredError}
|
|
18303
16788
|
*/
|
|
18304
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
16789
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
|
|
18305
16790
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
18306
16791
|
},
|
|
18307
16792
|
/**
|
|
@@ -18311,7 +16796,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18311
16796
|
* @param {*} [options] Override http request option.
|
|
18312
16797
|
* @throws {RequiredError}
|
|
18313
16798
|
*/
|
|
18314
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16799
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
|
|
18315
16800
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
18316
16801
|
},
|
|
18317
16802
|
/**
|
|
@@ -20212,114 +18697,6 @@ export class SMSApi extends BaseAPI {
|
|
|
20212
18697
|
|
|
20213
18698
|
|
|
20214
18699
|
|
|
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
|
-
|
|
20323
18700
|
/**
|
|
20324
18701
|
* StockManagementApi - axios parameter creator
|
|
20325
18702
|
* @export
|
|
@@ -21406,7 +19783,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
21406
19783
|
* @param {*} [options] Override http request option.
|
|
21407
19784
|
* @throws {RequiredError}
|
|
21408
19785
|
*/
|
|
21409
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
19786
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
|
|
21410
19787
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
21411
19788
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21412
19789
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -21709,7 +20086,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
21709
20086
|
* @param {*} [options] Override http request option.
|
|
21710
20087
|
* @throws {RequiredError}
|
|
21711
20088
|
*/
|
|
21712
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
20089
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
|
|
21713
20090
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
21714
20091
|
},
|
|
21715
20092
|
/**
|