yellowgrid-api-ts 3.1.13-dev.0 → 3.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +198 -217
- package/README.md +7 -34
- package/api.ts +233 -1836
- 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 +151 -1376
- package/dist/api.js +208 -1064
- 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 -301
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
- package/docs/ProductsApi.md +43 -164
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -33
- package/docs/AccountDetailedSummaryDTO.md +0 -39
- package/docs/AdminItemRequestDTO.md +0 -43
- package/docs/AdminOrderRequestDTO.md +0 -45
- package/docs/AdminUserModel.md +0 -29
- package/docs/BasicItemDTO.md +0 -23
- package/docs/BasicProductDTO.md +0 -23
- package/docs/CourierPriceEntity.md +0 -39
- package/docs/CustomerItemRequestDTO.md +0 -37
- package/docs/CustomerOrderRequestDTO.md +0 -33
- package/docs/ItemDiscountEntity.md +0 -31
- 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,218 +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
|
-
* Additional Discount
|
|
734
|
-
* @type {number}
|
|
735
|
-
* @memberof AdminItemRequestDTO
|
|
736
|
-
*/
|
|
737
|
-
'additionalDiscount'?: number | null;
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* Admin Order Request
|
|
741
|
-
* @export
|
|
742
|
-
* @interface AdminOrderRequestDTO
|
|
743
|
-
*/
|
|
744
|
-
export interface AdminOrderRequestDTO {
|
|
745
|
-
/**
|
|
746
|
-
* Order Reference
|
|
747
|
-
* @type {string}
|
|
748
|
-
* @memberof AdminOrderRequestDTO
|
|
749
|
-
*/
|
|
750
|
-
'orderReference'?: string | null;
|
|
751
|
-
/**
|
|
752
|
-
* Items
|
|
753
|
-
* @type {Array<AdminItemRequestDTO>}
|
|
754
|
-
* @memberof AdminOrderRequestDTO
|
|
755
|
-
*/
|
|
756
|
-
'items'?: Array<AdminItemRequestDTO>;
|
|
757
|
-
/**
|
|
758
|
-
*
|
|
759
|
-
* @type {ShippingServiceDTO}
|
|
760
|
-
* @memberof AdminOrderRequestDTO
|
|
761
|
-
*/
|
|
762
|
-
'shippingService'?: ShippingServiceDTO;
|
|
763
|
-
/**
|
|
764
|
-
* Provisioning URL
|
|
765
|
-
* @type {string}
|
|
766
|
-
* @memberof AdminOrderRequestDTO
|
|
767
|
-
*/
|
|
768
|
-
'provisioningUrl'?: string | null;
|
|
769
|
-
/**
|
|
770
|
-
*
|
|
771
|
-
* @type {AddressModel}
|
|
772
|
-
* @memberof AdminOrderRequestDTO
|
|
773
|
-
*/
|
|
774
|
-
'shippingAddress'?: AddressModel;
|
|
775
|
-
/**
|
|
776
|
-
* Part Ship Order
|
|
777
|
-
* @type {boolean}
|
|
778
|
-
* @memberof AdminOrderRequestDTO
|
|
779
|
-
*/
|
|
780
|
-
'partShip'?: boolean;
|
|
781
|
-
/**
|
|
782
|
-
* Quote
|
|
783
|
-
* @type {boolean}
|
|
784
|
-
* @memberof AdminOrderRequestDTO
|
|
785
|
-
*/
|
|
786
|
-
'quote'?: boolean;
|
|
787
|
-
/**
|
|
788
|
-
* Customer ID
|
|
789
|
-
* @type {number}
|
|
790
|
-
* @memberof AdminOrderRequestDTO
|
|
791
|
-
*/
|
|
792
|
-
'customerId'?: number;
|
|
793
|
-
/**
|
|
794
|
-
* Contact
|
|
795
|
-
* @type {string}
|
|
796
|
-
* @memberof AdminOrderRequestDTO
|
|
797
|
-
*/
|
|
798
|
-
'contact'?: string;
|
|
799
|
-
/**
|
|
800
|
-
* Ignore Customer On Hold
|
|
801
|
-
* @type {boolean}
|
|
802
|
-
* @memberof AdminOrderRequestDTO
|
|
803
|
-
*/
|
|
804
|
-
'ignoreOnHold'?: boolean;
|
|
805
|
-
/**
|
|
806
|
-
* Ignore Customer Credit Limit
|
|
807
|
-
* @type {boolean}
|
|
808
|
-
* @memberof AdminOrderRequestDTO
|
|
809
|
-
*/
|
|
810
|
-
'ignoreCreditLimit'?: boolean;
|
|
811
|
-
/**
|
|
812
|
-
* Include NFR Promos
|
|
813
|
-
* @type {boolean}
|
|
814
|
-
* @memberof AdminOrderRequestDTO
|
|
815
|
-
*/
|
|
816
|
-
'includeNfrPromos'?: boolean;
|
|
817
|
-
/**
|
|
818
|
-
* Carriage Charge
|
|
819
|
-
* @type {number}
|
|
820
|
-
* @memberof AdminOrderRequestDTO
|
|
821
|
-
*/
|
|
822
|
-
'carriageCharge'?: number;
|
|
823
|
-
}
|
|
824
|
-
/**
|
|
825
|
-
* Admin User
|
|
826
|
-
* @export
|
|
827
|
-
* @interface AdminUserModel
|
|
828
|
-
*/
|
|
829
|
-
export interface AdminUserModel {
|
|
830
|
-
/**
|
|
831
|
-
* First Name
|
|
832
|
-
* @type {string}
|
|
833
|
-
* @memberof AdminUserModel
|
|
834
|
-
*/
|
|
835
|
-
'firstName'?: string;
|
|
836
|
-
/**
|
|
837
|
-
* Last Name
|
|
838
|
-
* @type {string}
|
|
839
|
-
* @memberof AdminUserModel
|
|
840
|
-
*/
|
|
841
|
-
'lastName'?: string;
|
|
842
|
-
/**
|
|
843
|
-
* Avatar
|
|
844
|
-
* @type {string}
|
|
845
|
-
* @memberof AdminUserModel
|
|
846
|
-
*/
|
|
847
|
-
'avatar'?: string | null;
|
|
848
|
-
/**
|
|
849
|
-
* Role
|
|
850
|
-
* @type {number}
|
|
851
|
-
* @memberof AdminUserModel
|
|
852
|
-
*/
|
|
853
|
-
'role'?: AdminUserModelRoleEnum;
|
|
854
|
-
/**
|
|
855
|
-
* Email
|
|
856
|
-
* @type {string}
|
|
857
|
-
* @memberof AdminUserModel
|
|
858
|
-
*/
|
|
859
|
-
'email'?: string | null;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
export const AdminUserModelRoleEnum = {
|
|
863
|
-
NUMBER_0: 0,
|
|
864
|
-
NUMBER_1: 1,
|
|
865
|
-
NUMBER_2: 2,
|
|
866
|
-
NUMBER_3: 3,
|
|
867
|
-
NUMBER_4: 4
|
|
868
|
-
} as const;
|
|
869
|
-
|
|
870
|
-
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
871
|
-
|
|
872
538
|
/**
|
|
873
539
|
* Agent Hours Graph
|
|
874
540
|
* @export
|
|
@@ -1098,44 +764,6 @@ export interface AuthCodeResponseModel {
|
|
|
1098
764
|
*/
|
|
1099
765
|
'redirect_uri'?: string | null;
|
|
1100
766
|
}
|
|
1101
|
-
/**
|
|
1102
|
-
* Basic Order Item
|
|
1103
|
-
* @export
|
|
1104
|
-
* @interface BasicItemDTO
|
|
1105
|
-
*/
|
|
1106
|
-
export interface BasicItemDTO {
|
|
1107
|
-
/**
|
|
1108
|
-
* SKU
|
|
1109
|
-
* @type {string}
|
|
1110
|
-
* @memberof BasicItemDTO
|
|
1111
|
-
*/
|
|
1112
|
-
'sku'?: string;
|
|
1113
|
-
/**
|
|
1114
|
-
* Quantity
|
|
1115
|
-
* @type {number}
|
|
1116
|
-
* @memberof BasicItemDTO
|
|
1117
|
-
*/
|
|
1118
|
-
'quantity'?: number;
|
|
1119
|
-
}
|
|
1120
|
-
/**
|
|
1121
|
-
* Basic Product
|
|
1122
|
-
* @export
|
|
1123
|
-
* @interface BasicProductDTO
|
|
1124
|
-
*/
|
|
1125
|
-
export interface BasicProductDTO {
|
|
1126
|
-
/**
|
|
1127
|
-
* SKU
|
|
1128
|
-
* @type {string}
|
|
1129
|
-
* @memberof BasicProductDTO
|
|
1130
|
-
*/
|
|
1131
|
-
'sku'?: string;
|
|
1132
|
-
/**
|
|
1133
|
-
* Title
|
|
1134
|
-
* @type {string}
|
|
1135
|
-
* @memberof BasicProductDTO
|
|
1136
|
-
*/
|
|
1137
|
-
'title'?: string;
|
|
1138
|
-
}
|
|
1139
767
|
/**
|
|
1140
768
|
* BatchesEntity
|
|
1141
769
|
* @export
|
|
@@ -1330,6 +958,12 @@ export interface ClientDetailsModel {
|
|
|
1330
958
|
* @memberof ClientDetailsModel
|
|
1331
959
|
*/
|
|
1332
960
|
'lastName'?: string;
|
|
961
|
+
/**
|
|
962
|
+
* User Profile Picture
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof ClientDetailsModel
|
|
965
|
+
*/
|
|
966
|
+
'image'?: string | null;
|
|
1333
967
|
}
|
|
1334
968
|
/**
|
|
1335
969
|
* OAuth client details
|
|
@@ -1492,98 +1126,31 @@ export interface ConversationModel {
|
|
|
1492
1126
|
'attachments'?: Array<AttachmentModel>;
|
|
1493
1127
|
}
|
|
1494
1128
|
/**
|
|
1495
|
-
*
|
|
1129
|
+
* Credit Account
|
|
1496
1130
|
* @export
|
|
1497
|
-
* @interface
|
|
1131
|
+
* @interface CreditAccountEntity
|
|
1498
1132
|
*/
|
|
1499
|
-
export interface
|
|
1133
|
+
export interface CreditAccountEntity {
|
|
1500
1134
|
/**
|
|
1501
|
-
*
|
|
1135
|
+
* ID
|
|
1502
1136
|
* @type {number}
|
|
1503
|
-
* @memberof
|
|
1137
|
+
* @memberof CreditAccountEntity
|
|
1504
1138
|
*/
|
|
1505
1139
|
'id'?: number;
|
|
1506
1140
|
/**
|
|
1507
|
-
*
|
|
1141
|
+
* Contact Name
|
|
1508
1142
|
* @type {string}
|
|
1509
|
-
* @memberof
|
|
1143
|
+
* @memberof CreditAccountEntity
|
|
1510
1144
|
*/
|
|
1511
|
-
'
|
|
1145
|
+
'name'?: string;
|
|
1512
1146
|
/**
|
|
1513
|
-
*
|
|
1147
|
+
* Email
|
|
1514
1148
|
* @type {string}
|
|
1515
|
-
* @memberof
|
|
1149
|
+
* @memberof CreditAccountEntity
|
|
1516
1150
|
*/
|
|
1517
|
-
'
|
|
1151
|
+
'email'?: string;
|
|
1518
1152
|
/**
|
|
1519
|
-
*
|
|
1520
|
-
* @type {string}
|
|
1521
|
-
* @memberof CourierPriceEntity
|
|
1522
|
-
*/
|
|
1523
|
-
'serviceDescription'?: string;
|
|
1524
|
-
/**
|
|
1525
|
-
* flatRate
|
|
1526
|
-
* @type {number}
|
|
1527
|
-
* @memberof CourierPriceEntity
|
|
1528
|
-
*/
|
|
1529
|
-
'flatRate'?: number;
|
|
1530
|
-
/**
|
|
1531
|
-
* initialBox
|
|
1532
|
-
* @type {number}
|
|
1533
|
-
* @memberof CourierPriceEntity
|
|
1534
|
-
*/
|
|
1535
|
-
'initialBox'?: number;
|
|
1536
|
-
/**
|
|
1537
|
-
* initialKg
|
|
1538
|
-
* @type {number}
|
|
1539
|
-
* @memberof CourierPriceEntity
|
|
1540
|
-
*/
|
|
1541
|
-
'initialKg'?: number;
|
|
1542
|
-
/**
|
|
1543
|
-
* perBox
|
|
1544
|
-
* @type {number}
|
|
1545
|
-
* @memberof CourierPriceEntity
|
|
1546
|
-
*/
|
|
1547
|
-
'perBox'?: number;
|
|
1548
|
-
/**
|
|
1549
|
-
* perKg
|
|
1550
|
-
* @type {number}
|
|
1551
|
-
* @memberof CourierPriceEntity
|
|
1552
|
-
*/
|
|
1553
|
-
'perKg'?: number;
|
|
1554
|
-
/**
|
|
1555
|
-
* maxKg
|
|
1556
|
-
* @type {number}
|
|
1557
|
-
* @memberof CourierPriceEntity
|
|
1558
|
-
*/
|
|
1559
|
-
'maxKg'?: number;
|
|
1560
|
-
}
|
|
1561
|
-
/**
|
|
1562
|
-
* Credit Account
|
|
1563
|
-
* @export
|
|
1564
|
-
* @interface CreditAccountEntity
|
|
1565
|
-
*/
|
|
1566
|
-
export interface CreditAccountEntity {
|
|
1567
|
-
/**
|
|
1568
|
-
* ID
|
|
1569
|
-
* @type {number}
|
|
1570
|
-
* @memberof CreditAccountEntity
|
|
1571
|
-
*/
|
|
1572
|
-
'id'?: number;
|
|
1573
|
-
/**
|
|
1574
|
-
* Contact Name
|
|
1575
|
-
* @type {string}
|
|
1576
|
-
* @memberof CreditAccountEntity
|
|
1577
|
-
*/
|
|
1578
|
-
'name'?: string;
|
|
1579
|
-
/**
|
|
1580
|
-
* Email
|
|
1581
|
-
* @type {string}
|
|
1582
|
-
* @memberof CreditAccountEntity
|
|
1583
|
-
*/
|
|
1584
|
-
'email'?: string;
|
|
1585
|
-
/**
|
|
1586
|
-
* Phone Number
|
|
1153
|
+
* Phone Number
|
|
1587
1154
|
* @type {string}
|
|
1588
1155
|
* @memberof CreditAccountEntity
|
|
1589
1156
|
*/
|
|
@@ -1789,116 +1356,6 @@ export interface CustomerInformationModel {
|
|
|
1789
1356
|
*/
|
|
1790
1357
|
'contactLastName'?: string;
|
|
1791
1358
|
}
|
|
1792
|
-
/**
|
|
1793
|
-
* Order Item Request
|
|
1794
|
-
* @export
|
|
1795
|
-
* @interface CustomerItemRequestDTO
|
|
1796
|
-
*/
|
|
1797
|
-
export interface CustomerItemRequestDTO {
|
|
1798
|
-
/**
|
|
1799
|
-
* SKU
|
|
1800
|
-
* @type {string}
|
|
1801
|
-
* @memberof CustomerItemRequestDTO
|
|
1802
|
-
*/
|
|
1803
|
-
'sku'?: string;
|
|
1804
|
-
/**
|
|
1805
|
-
* Quantity
|
|
1806
|
-
* @type {number}
|
|
1807
|
-
* @memberof CustomerItemRequestDTO
|
|
1808
|
-
*/
|
|
1809
|
-
'quantity'?: number;
|
|
1810
|
-
/**
|
|
1811
|
-
* ID
|
|
1812
|
-
* @type {number}
|
|
1813
|
-
* @memberof CustomerItemRequestDTO
|
|
1814
|
-
*/
|
|
1815
|
-
'id'?: number | null;
|
|
1816
|
-
/**
|
|
1817
|
-
* 3CX Licence Key
|
|
1818
|
-
* @type {string}
|
|
1819
|
-
* @memberof CustomerItemRequestDTO
|
|
1820
|
-
*/
|
|
1821
|
-
'licenceKey'?: string | null;
|
|
1822
|
-
/**
|
|
1823
|
-
* 3CX Hosting
|
|
1824
|
-
* @type {boolean}
|
|
1825
|
-
* @memberof CustomerItemRequestDTO
|
|
1826
|
-
*/
|
|
1827
|
-
'hosting'?: boolean | null;
|
|
1828
|
-
/**
|
|
1829
|
-
* Date Time
|
|
1830
|
-
* @type {string}
|
|
1831
|
-
* @memberof CustomerItemRequestDTO
|
|
1832
|
-
*/
|
|
1833
|
-
'processDate'?: string;
|
|
1834
|
-
/**
|
|
1835
|
-
* 3CX Sales Code
|
|
1836
|
-
* @type {string}
|
|
1837
|
-
* @memberof CustomerItemRequestDTO
|
|
1838
|
-
*/
|
|
1839
|
-
'tcxSalesCode'?: string | null;
|
|
1840
|
-
/**
|
|
1841
|
-
* SBCS
|
|
1842
|
-
* @type {Array<TcxSbcDTO>}
|
|
1843
|
-
* @memberof CustomerItemRequestDTO
|
|
1844
|
-
*/
|
|
1845
|
-
'sbcs'?: Array<TcxSbcDTO>;
|
|
1846
|
-
/**
|
|
1847
|
-
* Read Only (Cannot be edited)
|
|
1848
|
-
* @type {boolean}
|
|
1849
|
-
* @memberof CustomerItemRequestDTO
|
|
1850
|
-
*/
|
|
1851
|
-
'readOnly'?: boolean;
|
|
1852
|
-
}
|
|
1853
|
-
/**
|
|
1854
|
-
* Order Request
|
|
1855
|
-
* @export
|
|
1856
|
-
* @interface CustomerOrderRequestDTO
|
|
1857
|
-
*/
|
|
1858
|
-
export interface CustomerOrderRequestDTO {
|
|
1859
|
-
/**
|
|
1860
|
-
* Order Reference
|
|
1861
|
-
* @type {string}
|
|
1862
|
-
* @memberof CustomerOrderRequestDTO
|
|
1863
|
-
*/
|
|
1864
|
-
'orderReference'?: string | null;
|
|
1865
|
-
/**
|
|
1866
|
-
* Items
|
|
1867
|
-
* @type {Array<CustomerItemRequestDTO>}
|
|
1868
|
-
* @memberof CustomerOrderRequestDTO
|
|
1869
|
-
*/
|
|
1870
|
-
'items'?: Array<CustomerItemRequestDTO>;
|
|
1871
|
-
/**
|
|
1872
|
-
*
|
|
1873
|
-
* @type {ShippingServiceDTO}
|
|
1874
|
-
* @memberof CustomerOrderRequestDTO
|
|
1875
|
-
*/
|
|
1876
|
-
'shippingService'?: ShippingServiceDTO;
|
|
1877
|
-
/**
|
|
1878
|
-
* Provisioning URL
|
|
1879
|
-
* @type {string}
|
|
1880
|
-
* @memberof CustomerOrderRequestDTO
|
|
1881
|
-
*/
|
|
1882
|
-
'provisioningUrl'?: string | null;
|
|
1883
|
-
/**
|
|
1884
|
-
*
|
|
1885
|
-
* @type {AddressModel}
|
|
1886
|
-
* @memberof CustomerOrderRequestDTO
|
|
1887
|
-
*/
|
|
1888
|
-
'shippingAddress'?: AddressModel;
|
|
1889
|
-
/**
|
|
1890
|
-
* Part Ship Order
|
|
1891
|
-
* @type {boolean}
|
|
1892
|
-
* @memberof CustomerOrderRequestDTO
|
|
1893
|
-
*/
|
|
1894
|
-
'partShip'?: boolean;
|
|
1895
|
-
/**
|
|
1896
|
-
* Quote
|
|
1897
|
-
* @type {boolean}
|
|
1898
|
-
* @memberof CustomerOrderRequestDTO
|
|
1899
|
-
*/
|
|
1900
|
-
'quote'?: boolean;
|
|
1901
|
-
}
|
|
1902
1359
|
/**
|
|
1903
1360
|
* Customer Price List
|
|
1904
1361
|
* @export
|
|
@@ -2408,6 +1865,19 @@ export interface GenericFileModel {
|
|
|
2408
1865
|
*/
|
|
2409
1866
|
'type'?: string;
|
|
2410
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
|
+
}
|
|
2411
1881
|
/**
|
|
2412
1882
|
*
|
|
2413
1883
|
* @export
|
|
@@ -3008,36 +2478,36 @@ export interface InstanceUserCredentialsEntity {
|
|
|
3008
2478
|
* @interface ItemDTO
|
|
3009
2479
|
*/
|
|
3010
2480
|
export interface ItemDTO {
|
|
3011
|
-
/**
|
|
3012
|
-
* SKU
|
|
3013
|
-
* @type {string}
|
|
3014
|
-
* @memberof ItemDTO
|
|
3015
|
-
*/
|
|
3016
|
-
'sku'?: string;
|
|
3017
|
-
/**
|
|
3018
|
-
* Quantity
|
|
3019
|
-
* @type {number}
|
|
3020
|
-
* @memberof ItemDTO
|
|
3021
|
-
*/
|
|
3022
|
-
'quantity'?: number;
|
|
3023
2481
|
/**
|
|
3024
2482
|
* ID
|
|
3025
2483
|
* @type {number}
|
|
3026
2484
|
* @memberof ItemDTO
|
|
3027
2485
|
*/
|
|
3028
|
-
'id'?: number
|
|
2486
|
+
'id'?: number;
|
|
3029
2487
|
/**
|
|
3030
2488
|
* Order ID
|
|
3031
2489
|
* @type {number}
|
|
3032
2490
|
* @memberof ItemDTO
|
|
3033
2491
|
*/
|
|
3034
|
-
'orderId'?: number
|
|
2492
|
+
'orderId'?: number;
|
|
3035
2493
|
/**
|
|
3036
2494
|
* Title
|
|
3037
2495
|
* @type {string}
|
|
3038
2496
|
* @memberof ItemDTO
|
|
3039
2497
|
*/
|
|
3040
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;
|
|
3041
2511
|
/**
|
|
3042
2512
|
* Price
|
|
3043
2513
|
* @type {number}
|
|
@@ -3062,12 +2532,6 @@ export interface ItemDTO {
|
|
|
3062
2532
|
* @memberof ItemDTO
|
|
3063
2533
|
*/
|
|
3064
2534
|
'processDate'?: string;
|
|
3065
|
-
/**
|
|
3066
|
-
* 3CX Hosting
|
|
3067
|
-
* @type {boolean}
|
|
3068
|
-
* @memberof ItemDTO
|
|
3069
|
-
*/
|
|
3070
|
-
'hosting'?: boolean | null;
|
|
3071
2535
|
/**
|
|
3072
2536
|
* Promo Item
|
|
3073
2537
|
* @type {boolean}
|
|
@@ -3079,68 +2543,7 @@ export interface ItemDTO {
|
|
|
3079
2543
|
* @type {number}
|
|
3080
2544
|
* @memberof ItemDTO
|
|
3081
2545
|
*/
|
|
3082
|
-
'refunded'?: number
|
|
3083
|
-
/**
|
|
3084
|
-
* SBCs
|
|
3085
|
-
* @type {Array<TcxSbcDTO>}
|
|
3086
|
-
* @memberof ItemDTO
|
|
3087
|
-
*/
|
|
3088
|
-
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3089
|
-
/**
|
|
3090
|
-
* Readonly
|
|
3091
|
-
* @type {boolean}
|
|
3092
|
-
* @memberof ItemDTO
|
|
3093
|
-
*/
|
|
3094
|
-
'readonly'?: boolean;
|
|
3095
|
-
/**
|
|
3096
|
-
* 3CX Sales Code
|
|
3097
|
-
* @type {string}
|
|
3098
|
-
* @memberof ItemDTO
|
|
3099
|
-
*/
|
|
3100
|
-
'tcxSalesCode'?: string | null;
|
|
3101
|
-
}
|
|
3102
|
-
/**
|
|
3103
|
-
* ItemDiscountsEntity
|
|
3104
|
-
* @export
|
|
3105
|
-
* @interface ItemDiscountEntity
|
|
3106
|
-
*/
|
|
3107
|
-
export interface ItemDiscountEntity {
|
|
3108
|
-
/**
|
|
3109
|
-
* id
|
|
3110
|
-
* @type {number}
|
|
3111
|
-
* @memberof ItemDiscountEntity
|
|
3112
|
-
*/
|
|
3113
|
-
'id'?: number;
|
|
3114
|
-
/**
|
|
3115
|
-
* itemId
|
|
3116
|
-
* @type {number}
|
|
3117
|
-
* @memberof ItemDiscountEntity
|
|
3118
|
-
*/
|
|
3119
|
-
'itemId'?: number;
|
|
3120
|
-
/**
|
|
3121
|
-
* priceList
|
|
3122
|
-
* @type {string}
|
|
3123
|
-
* @memberof ItemDiscountEntity
|
|
3124
|
-
*/
|
|
3125
|
-
'priceList'?: string;
|
|
3126
|
-
/**
|
|
3127
|
-
* discount
|
|
3128
|
-
* @type {number}
|
|
3129
|
-
* @memberof ItemDiscountEntity
|
|
3130
|
-
*/
|
|
3131
|
-
'discount'?: number;
|
|
3132
|
-
/**
|
|
3133
|
-
* description
|
|
3134
|
-
* @type {string}
|
|
3135
|
-
* @memberof ItemDiscountEntity
|
|
3136
|
-
*/
|
|
3137
|
-
'description'?: string;
|
|
3138
|
-
/**
|
|
3139
|
-
* priority
|
|
3140
|
-
* @type {number}
|
|
3141
|
-
* @memberof ItemDiscountEntity
|
|
3142
|
-
*/
|
|
3143
|
-
'priority'?: number;
|
|
2546
|
+
'refunded'?: number;
|
|
3144
2547
|
}
|
|
3145
2548
|
/**
|
|
3146
2549
|
* ItemsEntity
|
|
@@ -3274,31 +2677,6 @@ export interface ItemEntity {
|
|
|
3274
2677
|
* @memberof ItemEntity
|
|
3275
2678
|
*/
|
|
3276
2679
|
'promoItem'?: number;
|
|
3277
|
-
/**
|
|
3278
|
-
* 3CX Sales Code
|
|
3279
|
-
* @type {string}
|
|
3280
|
-
* @memberof ItemEntity
|
|
3281
|
-
*/
|
|
3282
|
-
'tcxSalesCode'?: string | null;
|
|
3283
|
-
}
|
|
3284
|
-
/**
|
|
3285
|
-
* LinkedOrdersEntity
|
|
3286
|
-
* @export
|
|
3287
|
-
* @interface LinkedOrderEntity
|
|
3288
|
-
*/
|
|
3289
|
-
export interface LinkedOrderEntity {
|
|
3290
|
-
/**
|
|
3291
|
-
* orderId
|
|
3292
|
-
* @type {number}
|
|
3293
|
-
* @memberof LinkedOrderEntity
|
|
3294
|
-
*/
|
|
3295
|
-
'orderId'?: number;
|
|
3296
|
-
/**
|
|
3297
|
-
* linkedOrderId
|
|
3298
|
-
* @type {number}
|
|
3299
|
-
* @memberof LinkedOrderEntity
|
|
3300
|
-
*/
|
|
3301
|
-
'linkedOrderId'?: number;
|
|
3302
2680
|
}
|
|
3303
2681
|
/**
|
|
3304
2682
|
* MFA Required
|
|
@@ -3959,19 +3337,13 @@ export interface OrderSummaryDTO {
|
|
|
3959
3337
|
* @type {string}
|
|
3960
3338
|
* @memberof OrderSummaryDTO
|
|
3961
3339
|
*/
|
|
3962
|
-
'reference'?: string
|
|
3340
|
+
'reference'?: string;
|
|
3963
3341
|
/**
|
|
3964
3342
|
* Invoice Number
|
|
3965
3343
|
* @type {string}
|
|
3966
3344
|
* @memberof OrderSummaryDTO
|
|
3967
3345
|
*/
|
|
3968
3346
|
'invoiceNumber'?: string;
|
|
3969
|
-
/**
|
|
3970
|
-
* Invoice ID
|
|
3971
|
-
* @type {string}
|
|
3972
|
-
* @memberof OrderSummaryDTO
|
|
3973
|
-
*/
|
|
3974
|
-
'invoiceId'?: string | null;
|
|
3975
3347
|
/**
|
|
3976
3348
|
* Date Time
|
|
3977
3349
|
* @type {string}
|
|
@@ -4026,24 +3398,6 @@ export interface OrderSummaryDTO {
|
|
|
4026
3398
|
* @memberof OrderSummaryDTO
|
|
4027
3399
|
*/
|
|
4028
3400
|
'fulfillable'?: boolean | null;
|
|
4029
|
-
/**
|
|
4030
|
-
* Provisioning URL
|
|
4031
|
-
* @type {string}
|
|
4032
|
-
* @memberof OrderSummaryDTO
|
|
4033
|
-
*/
|
|
4034
|
-
'provisioningUrl'?: string | null;
|
|
4035
|
-
/**
|
|
4036
|
-
*
|
|
4037
|
-
* @type {ShippingServiceDTO}
|
|
4038
|
-
* @memberof OrderSummaryDTO
|
|
4039
|
-
*/
|
|
4040
|
-
'shippingService'?: ShippingServiceDTO | null;
|
|
4041
|
-
/**
|
|
4042
|
-
* Readonly
|
|
4043
|
-
* @type {boolean}
|
|
4044
|
-
* @memberof OrderSummaryDTO
|
|
4045
|
-
*/
|
|
4046
|
-
'readonly'?: boolean;
|
|
4047
3401
|
}
|
|
4048
3402
|
/**
|
|
4049
3403
|
* Order Totals
|
|
@@ -4093,12 +3447,6 @@ export interface OrderTotalModel {
|
|
|
4093
3447
|
* @memberof OrderTotalModel
|
|
4094
3448
|
*/
|
|
4095
3449
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
4096
|
-
/**
|
|
4097
|
-
* Delivery
|
|
4098
|
-
* @type {number}
|
|
4099
|
-
* @memberof OrderTotalModel
|
|
4100
|
-
*/
|
|
4101
|
-
'delivery'?: number | null;
|
|
4102
3450
|
}
|
|
4103
3451
|
|
|
4104
3452
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -4480,31 +3828,6 @@ export interface PostGetClientCredentialsRequest {
|
|
|
4480
3828
|
*/
|
|
4481
3829
|
'scopes'?: Array<string>;
|
|
4482
3830
|
}
|
|
4483
|
-
/**
|
|
4484
|
-
*
|
|
4485
|
-
* @export
|
|
4486
|
-
* @interface PostGetProductForCustomerRequest
|
|
4487
|
-
*/
|
|
4488
|
-
export interface PostGetProductForCustomerRequest {
|
|
4489
|
-
/**
|
|
4490
|
-
* Quantity
|
|
4491
|
-
* @type {number}
|
|
4492
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4493
|
-
*/
|
|
4494
|
-
'quantity'?: number | null;
|
|
4495
|
-
/**
|
|
4496
|
-
* 3CX Licence Key
|
|
4497
|
-
* @type {string}
|
|
4498
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4499
|
-
*/
|
|
4500
|
-
'licenceKey'?: string | null;
|
|
4501
|
-
/**
|
|
4502
|
-
* 3CX Hosting
|
|
4503
|
-
* @type {boolean}
|
|
4504
|
-
* @memberof PostGetProductForCustomerRequest
|
|
4505
|
-
*/
|
|
4506
|
-
'hosting'?: boolean | null;
|
|
4507
|
-
}
|
|
4508
3831
|
/**
|
|
4509
3832
|
* Price & Stock List
|
|
4510
3833
|
* @export
|
|
@@ -4636,10 +3959,10 @@ export interface ProductPriceListItemModel {
|
|
|
4636
3959
|
export interface ProductSearchResultsModel {
|
|
4637
3960
|
/**
|
|
4638
3961
|
* Results
|
|
4639
|
-
* @type {Array<
|
|
3962
|
+
* @type {Array<ProductSummaryModel>}
|
|
4640
3963
|
* @memberof ProductSearchResultsModel
|
|
4641
3964
|
*/
|
|
4642
|
-
'results'?: Array<
|
|
3965
|
+
'results'?: Array<ProductSummaryModel>;
|
|
4643
3966
|
}
|
|
4644
3967
|
/**
|
|
4645
3968
|
* Product Serial Info
|
|
@@ -4675,51 +3998,45 @@ export interface ProductSerialInfoModel {
|
|
|
4675
3998
|
/**
|
|
4676
3999
|
* Product Summary
|
|
4677
4000
|
* @export
|
|
4678
|
-
* @interface
|
|
4001
|
+
* @interface ProductSummaryModel
|
|
4679
4002
|
*/
|
|
4680
|
-
export interface
|
|
4003
|
+
export interface ProductSummaryModel {
|
|
4681
4004
|
/**
|
|
4682
4005
|
* SKU
|
|
4683
4006
|
* @type {string}
|
|
4684
|
-
* @memberof
|
|
4007
|
+
* @memberof ProductSummaryModel
|
|
4685
4008
|
*/
|
|
4686
4009
|
'sku'?: string;
|
|
4687
4010
|
/**
|
|
4688
4011
|
* Title
|
|
4689
4012
|
* @type {string}
|
|
4690
|
-
* @memberof
|
|
4013
|
+
* @memberof ProductSummaryModel
|
|
4691
4014
|
*/
|
|
4692
4015
|
'title'?: string;
|
|
4693
4016
|
/**
|
|
4694
4017
|
* Stock Quantity
|
|
4695
4018
|
* @type {number}
|
|
4696
|
-
* @memberof
|
|
4019
|
+
* @memberof ProductSummaryModel
|
|
4697
4020
|
*/
|
|
4698
4021
|
'quantity'?: number | null;
|
|
4699
4022
|
/**
|
|
4700
4023
|
* Stock Product
|
|
4701
4024
|
* @type {boolean}
|
|
4702
|
-
* @memberof
|
|
4025
|
+
* @memberof ProductSummaryModel
|
|
4703
4026
|
*/
|
|
4704
4027
|
'stockProduct'?: boolean;
|
|
4705
4028
|
/**
|
|
4706
4029
|
* Price
|
|
4707
4030
|
* @type {number}
|
|
4708
|
-
* @memberof
|
|
4031
|
+
* @memberof ProductSummaryModel
|
|
4709
4032
|
*/
|
|
4710
4033
|
'price'?: number | null;
|
|
4711
4034
|
/**
|
|
4712
4035
|
* Carton Size
|
|
4713
4036
|
* @type {number}
|
|
4714
|
-
* @memberof
|
|
4037
|
+
* @memberof ProductSummaryModel
|
|
4715
4038
|
*/
|
|
4716
4039
|
'cartonSize'?: number | null;
|
|
4717
|
-
/**
|
|
4718
|
-
* RRP Price
|
|
4719
|
-
* @type {number}
|
|
4720
|
-
* @memberof ProductSummaryDTO
|
|
4721
|
-
*/
|
|
4722
|
-
'rrp'?: number | null;
|
|
4723
4040
|
}
|
|
4724
4041
|
/**
|
|
4725
4042
|
* PromoCodesEntity
|
|
@@ -4858,37 +4175,37 @@ export interface PromoItemsEntity {
|
|
|
4858
4175
|
/**
|
|
4859
4176
|
* Provisioning Group
|
|
4860
4177
|
* @export
|
|
4861
|
-
* @interface
|
|
4178
|
+
* @interface ProvisioningEntity
|
|
4862
4179
|
*/
|
|
4863
|
-
export interface
|
|
4180
|
+
export interface ProvisioningEntity {
|
|
4864
4181
|
/**
|
|
4865
4182
|
* Provisioning Group Name
|
|
4866
4183
|
* @type {string}
|
|
4867
|
-
* @memberof
|
|
4184
|
+
* @memberof ProvisioningEntity
|
|
4868
4185
|
*/
|
|
4869
4186
|
'groupName'?: string;
|
|
4870
4187
|
/**
|
|
4871
4188
|
* Provisioning URL (Static Provisioning Server)
|
|
4872
4189
|
* @type {string}
|
|
4873
|
-
* @memberof
|
|
4190
|
+
* @memberof ProvisioningEntity
|
|
4874
4191
|
*/
|
|
4875
4192
|
'provisioningUrl'?: string;
|
|
4876
4193
|
/**
|
|
4877
4194
|
* Additional Authentication Secret
|
|
4878
4195
|
* @type {string}
|
|
4879
|
-
* @memberof
|
|
4196
|
+
* @memberof ProvisioningEntity
|
|
4880
4197
|
*/
|
|
4881
4198
|
'auth'?: string;
|
|
4882
4199
|
/**
|
|
4883
4200
|
* Provisioning Group ID
|
|
4884
4201
|
* @type {number}
|
|
4885
|
-
* @memberof
|
|
4202
|
+
* @memberof ProvisioningEntity
|
|
4886
4203
|
*/
|
|
4887
4204
|
'id'?: number;
|
|
4888
4205
|
/**
|
|
4889
4206
|
* Owner ID
|
|
4890
4207
|
* @type {number}
|
|
4891
|
-
* @memberof
|
|
4208
|
+
* @memberof ProvisioningEntity
|
|
4892
4209
|
*/
|
|
4893
4210
|
'customerId'?: number;
|
|
4894
4211
|
}
|
|
@@ -5242,7 +4559,7 @@ export interface ShipmentEntity {
|
|
|
5242
4559
|
* @type {string}
|
|
5243
4560
|
* @memberof ShipmentEntity
|
|
5244
4561
|
*/
|
|
5245
|
-
'
|
|
4562
|
+
'date'?: string;
|
|
5246
4563
|
/**
|
|
5247
4564
|
* requestDate
|
|
5248
4565
|
* @type {string}
|
|
@@ -5293,155 +4610,6 @@ export interface ShipmentItemEntity {
|
|
|
5293
4610
|
*/
|
|
5294
4611
|
'itemId'?: string;
|
|
5295
4612
|
}
|
|
5296
|
-
/**
|
|
5297
|
-
*
|
|
5298
|
-
* @export
|
|
5299
|
-
* @interface ShippingConsignmentModel
|
|
5300
|
-
*/
|
|
5301
|
-
export interface ShippingConsignmentModel {
|
|
5302
|
-
/**
|
|
5303
|
-
*
|
|
5304
|
-
* @type {ShippingServiceModel}
|
|
5305
|
-
* @memberof ShippingConsignmentModel
|
|
5306
|
-
*/
|
|
5307
|
-
'service'?: ShippingServiceModel;
|
|
5308
|
-
/**
|
|
5309
|
-
* ID/Number
|
|
5310
|
-
* @type {string}
|
|
5311
|
-
* @memberof ShippingConsignmentModel
|
|
5312
|
-
*/
|
|
5313
|
-
'id'?: string;
|
|
5314
|
-
/**
|
|
5315
|
-
* Tracking Number
|
|
5316
|
-
* @type {string}
|
|
5317
|
-
* @memberof ShippingConsignmentModel
|
|
5318
|
-
*/
|
|
5319
|
-
'trackingNumber'?: string;
|
|
5320
|
-
/**
|
|
5321
|
-
* Parcels
|
|
5322
|
-
* @type {Array<string>}
|
|
5323
|
-
* @memberof ShippingConsignmentModel
|
|
5324
|
-
*/
|
|
5325
|
-
'parcelIds'?: Array<string>;
|
|
5326
|
-
}
|
|
5327
|
-
/**
|
|
5328
|
-
* Shipping Information
|
|
5329
|
-
* @export
|
|
5330
|
-
* @interface ShippingInformationDTO
|
|
5331
|
-
*/
|
|
5332
|
-
export interface ShippingInformationDTO {
|
|
5333
|
-
/**
|
|
5334
|
-
* Items
|
|
5335
|
-
* @type {Array<BasicItemDTO>}
|
|
5336
|
-
* @memberof ShippingInformationDTO
|
|
5337
|
-
*/
|
|
5338
|
-
'items'?: Array<BasicItemDTO>;
|
|
5339
|
-
/**
|
|
5340
|
-
* Destination Post Code
|
|
5341
|
-
* @type {string}
|
|
5342
|
-
* @memberof ShippingInformationDTO
|
|
5343
|
-
*/
|
|
5344
|
-
'postalCode'?: string;
|
|
5345
|
-
/**
|
|
5346
|
-
* Destination ISO
|
|
5347
|
-
* @type {string}
|
|
5348
|
-
* @memberof ShippingInformationDTO
|
|
5349
|
-
*/
|
|
5350
|
-
'iso'?: string;
|
|
5351
|
-
}
|
|
5352
|
-
/**
|
|
5353
|
-
* Shipping Service
|
|
5354
|
-
* @export
|
|
5355
|
-
* @interface ShippingServiceDTO
|
|
5356
|
-
*/
|
|
5357
|
-
export interface ShippingServiceDTO {
|
|
5358
|
-
/**
|
|
5359
|
-
* Courier
|
|
5360
|
-
* @type {string}
|
|
5361
|
-
* @memberof ShippingServiceDTO
|
|
5362
|
-
*/
|
|
5363
|
-
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5364
|
-
/**
|
|
5365
|
-
* Service Name
|
|
5366
|
-
* @type {string}
|
|
5367
|
-
* @memberof ShippingServiceDTO
|
|
5368
|
-
*/
|
|
5369
|
-
'serviceName'?: string;
|
|
5370
|
-
}
|
|
5371
|
-
|
|
5372
|
-
export const ShippingServiceDTOCourierEnum = {
|
|
5373
|
-
Dpd: 'DPD',
|
|
5374
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5375
|
-
Pops: 'POPS'
|
|
5376
|
-
} as const;
|
|
5377
|
-
|
|
5378
|
-
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5379
|
-
|
|
5380
|
-
/**
|
|
5381
|
-
* Shipping Service
|
|
5382
|
-
* @export
|
|
5383
|
-
* @interface ShippingServiceModel
|
|
5384
|
-
*/
|
|
5385
|
-
export interface ShippingServiceModel {
|
|
5386
|
-
/**
|
|
5387
|
-
* Courier
|
|
5388
|
-
* @type {string}
|
|
5389
|
-
* @memberof ShippingServiceModel
|
|
5390
|
-
*/
|
|
5391
|
-
'courier'?: ShippingServiceModelCourierEnum;
|
|
5392
|
-
/**
|
|
5393
|
-
* Code
|
|
5394
|
-
* @type {string}
|
|
5395
|
-
* @memberof ShippingServiceModel
|
|
5396
|
-
*/
|
|
5397
|
-
'code'?: string;
|
|
5398
|
-
/**
|
|
5399
|
-
* Name
|
|
5400
|
-
* @type {string}
|
|
5401
|
-
* @memberof ShippingServiceModel
|
|
5402
|
-
*/
|
|
5403
|
-
'name'?: string;
|
|
5404
|
-
/**
|
|
5405
|
-
* Description
|
|
5406
|
-
* @type {string}
|
|
5407
|
-
* @memberof ShippingServiceModel
|
|
5408
|
-
*/
|
|
5409
|
-
'description'?: string;
|
|
5410
|
-
/**
|
|
5411
|
-
* Label
|
|
5412
|
-
* @type {string}
|
|
5413
|
-
* @memberof ShippingServiceModel
|
|
5414
|
-
*/
|
|
5415
|
-
'label'?: string | null;
|
|
5416
|
-
/**
|
|
5417
|
-
* Price
|
|
5418
|
-
* @type {number}
|
|
5419
|
-
* @memberof ShippingServiceModel
|
|
5420
|
-
*/
|
|
5421
|
-
'price'?: number | null;
|
|
5422
|
-
}
|
|
5423
|
-
|
|
5424
|
-
export const ShippingServiceModelCourierEnum = {
|
|
5425
|
-
Dpd: 'DPD',
|
|
5426
|
-
ChorltonPallet: 'Chorlton Pallet',
|
|
5427
|
-
Pops: 'POPS'
|
|
5428
|
-
} as const;
|
|
5429
|
-
|
|
5430
|
-
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5431
|
-
|
|
5432
|
-
/**
|
|
5433
|
-
*
|
|
5434
|
-
* @export
|
|
5435
|
-
* @interface ShippingServicesModel
|
|
5436
|
-
*/
|
|
5437
|
-
export interface ShippingServicesModel {
|
|
5438
|
-
/**
|
|
5439
|
-
* Services
|
|
5440
|
-
* @type {Array<ShippingServiceModel>}
|
|
5441
|
-
* @memberof ShippingServicesModel
|
|
5442
|
-
*/
|
|
5443
|
-
'services'?: Array<ShippingServiceModel>;
|
|
5444
|
-
}
|
|
5445
4613
|
/**
|
|
5446
4614
|
* Change Response
|
|
5447
4615
|
* @export
|
|
@@ -8281,49 +7449,6 @@ export interface TcxRemoteStorageModel {
|
|
|
8281
7449
|
*/
|
|
8282
7450
|
'secretAccessKey'?: string;
|
|
8283
7451
|
}
|
|
8284
|
-
/**
|
|
8285
|
-
* SBC Data
|
|
8286
|
-
* @export
|
|
8287
|
-
* @interface TcxSbcDTO
|
|
8288
|
-
*/
|
|
8289
|
-
export interface TcxSbcDTO {
|
|
8290
|
-
/**
|
|
8291
|
-
* LAN IP Address
|
|
8292
|
-
* @type {string}
|
|
8293
|
-
* @memberof TcxSbcDTO
|
|
8294
|
-
*/
|
|
8295
|
-
'ipAddress'?: string;
|
|
8296
|
-
/**
|
|
8297
|
-
* LAN Default Gateway
|
|
8298
|
-
* @type {string}
|
|
8299
|
-
* @memberof TcxSbcDTO
|
|
8300
|
-
*/
|
|
8301
|
-
'defaultGateway'?: string;
|
|
8302
|
-
/**
|
|
8303
|
-
* LAN Subnet Mask
|
|
8304
|
-
* @type {string}
|
|
8305
|
-
* @memberof TcxSbcDTO
|
|
8306
|
-
*/
|
|
8307
|
-
'netmask'?: string;
|
|
8308
|
-
/**
|
|
8309
|
-
* DNS
|
|
8310
|
-
* @type {string}
|
|
8311
|
-
* @memberof TcxSbcDTO
|
|
8312
|
-
*/
|
|
8313
|
-
'dns'?: string;
|
|
8314
|
-
/**
|
|
8315
|
-
* 3CX URL
|
|
8316
|
-
* @type {string}
|
|
8317
|
-
* @memberof TcxSbcDTO
|
|
8318
|
-
*/
|
|
8319
|
-
'tcxUrl'?: string;
|
|
8320
|
-
/**
|
|
8321
|
-
* 3CX SBC Key
|
|
8322
|
-
* @type {string}
|
|
8323
|
-
* @memberof TcxSbcDTO
|
|
8324
|
-
*/
|
|
8325
|
-
'tcxKey'?: string;
|
|
8326
|
-
}
|
|
8327
7452
|
/**
|
|
8328
7453
|
* 3CX Wizard SBC
|
|
8329
7454
|
* @export
|
|
@@ -8428,7 +7553,7 @@ export interface TcxSbcEntity {
|
|
|
8428
7553
|
'technicalContact'?: string;
|
|
8429
7554
|
}
|
|
8430
7555
|
/**
|
|
8431
|
-
* 3CX
|
|
7556
|
+
* 3CX SBC Model
|
|
8432
7557
|
* @export
|
|
8433
7558
|
* @interface TcxSbcModel
|
|
8434
7559
|
*/
|
|
@@ -9613,40 +8738,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9613
8738
|
|
|
9614
8739
|
|
|
9615
8740
|
|
|
9616
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9617
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9618
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9619
|
-
|
|
9620
|
-
return {
|
|
9621
|
-
url: toPathString(localVarUrlObj),
|
|
9622
|
-
options: localVarRequestOptions,
|
|
9623
|
-
};
|
|
9624
|
-
},
|
|
9625
|
-
/**
|
|
9626
|
-
* Get Account Detailed Summary
|
|
9627
|
-
* @summary Get Account Detailed Summary
|
|
9628
|
-
* @param {number} id Customer ID
|
|
9629
|
-
* @param {*} [options] Override http request option.
|
|
9630
|
-
* @throws {RequiredError}
|
|
9631
|
-
*/
|
|
9632
|
-
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9633
|
-
// verify required parameter 'id' is not null or undefined
|
|
9634
|
-
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9635
|
-
const localVarPath = `/accounts/{id}/summary`
|
|
9636
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9637
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9638
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9639
|
-
let baseOptions;
|
|
9640
|
-
if (configuration) {
|
|
9641
|
-
baseOptions = configuration.baseOptions;
|
|
9642
|
-
}
|
|
9643
|
-
|
|
9644
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9645
|
-
const localVarHeaderParameter = {} as any;
|
|
9646
|
-
const localVarQueryParameter = {} as any;
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
8741
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9651
8742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9652
8743
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9945,36 +9036,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9945
9036
|
options: localVarRequestOptions,
|
|
9946
9037
|
};
|
|
9947
9038
|
},
|
|
9948
|
-
/**
|
|
9949
|
-
* Get Admin Account
|
|
9950
|
-
* @summary Get Admin Account
|
|
9951
|
-
* @param {*} [options] Override http request option.
|
|
9952
|
-
* @throws {RequiredError}
|
|
9953
|
-
*/
|
|
9954
|
-
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9955
|
-
const localVarPath = `/admin/me`;
|
|
9956
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9957
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9958
|
-
let baseOptions;
|
|
9959
|
-
if (configuration) {
|
|
9960
|
-
baseOptions = configuration.baseOptions;
|
|
9961
|
-
}
|
|
9962
|
-
|
|
9963
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9964
|
-
const localVarHeaderParameter = {} as any;
|
|
9965
|
-
const localVarQueryParameter = {} as any;
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9970
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9971
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9972
|
-
|
|
9973
|
-
return {
|
|
9974
|
-
url: toPathString(localVarUrlObj),
|
|
9975
|
-
options: localVarRequestOptions,
|
|
9976
|
-
};
|
|
9977
|
-
},
|
|
9978
9039
|
/**
|
|
9979
9040
|
* Create client credentials
|
|
9980
9041
|
* @summary Create client credentials
|
|
@@ -10224,19 +9285,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10224
9285
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
10225
9286
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10226
9287
|
},
|
|
10227
|
-
/**
|
|
10228
|
-
* Get Account Detailed Summary
|
|
10229
|
-
* @summary Get Account Detailed Summary
|
|
10230
|
-
* @param {number} id Customer ID
|
|
10231
|
-
* @param {*} [options] Override http request option.
|
|
10232
|
-
* @throws {RequiredError}
|
|
10233
|
-
*/
|
|
10234
|
-
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
10235
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
10236
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10237
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
10238
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10239
|
-
},
|
|
10240
9288
|
/**
|
|
10241
9289
|
* Get Accounts
|
|
10242
9290
|
* @summary Get Accounts
|
|
@@ -10342,18 +9390,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
10342
9390
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
10343
9391
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10344
9392
|
},
|
|
10345
|
-
/**
|
|
10346
|
-
* Get Admin Account
|
|
10347
|
-
* @summary Get Admin Account
|
|
10348
|
-
* @param {*} [options] Override http request option.
|
|
10349
|
-
* @throws {RequiredError}
|
|
10350
|
-
*/
|
|
10351
|
-
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10353
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10354
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10355
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10356
|
-
},
|
|
10357
9393
|
/**
|
|
10358
9394
|
* Create client credentials
|
|
10359
9395
|
* @summary Create client credentials
|
|
@@ -10471,16 +9507,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10471
9507
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
10472
9508
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
10473
9509
|
},
|
|
10474
|
-
/**
|
|
10475
|
-
* Get Account Detailed Summary
|
|
10476
|
-
* @summary Get Account Detailed Summary
|
|
10477
|
-
* @param {number} id Customer ID
|
|
10478
|
-
* @param {*} [options] Override http request option.
|
|
10479
|
-
* @throws {RequiredError}
|
|
10480
|
-
*/
|
|
10481
|
-
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10482
|
-
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10483
|
-
},
|
|
10484
9510
|
/**
|
|
10485
9511
|
* Get Accounts
|
|
10486
9512
|
* @summary Get Accounts
|
|
@@ -10562,15 +9588,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
10562
9588
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
10563
9589
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
10564
9590
|
},
|
|
10565
|
-
/**
|
|
10566
|
-
* Get Admin Account
|
|
10567
|
-
* @summary Get Admin Account
|
|
10568
|
-
* @param {*} [options] Override http request option.
|
|
10569
|
-
* @throws {RequiredError}
|
|
10570
|
-
*/
|
|
10571
|
-
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10572
|
-
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10573
|
-
},
|
|
10574
9591
|
/**
|
|
10575
9592
|
* Create client credentials
|
|
10576
9593
|
* @summary Create client credentials
|
|
@@ -10681,18 +9698,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10681
9698
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
10682
9699
|
}
|
|
10683
9700
|
|
|
10684
|
-
/**
|
|
10685
|
-
* Get Account Detailed Summary
|
|
10686
|
-
* @summary Get Account Detailed Summary
|
|
10687
|
-
* @param {number} id Customer ID
|
|
10688
|
-
* @param {*} [options] Override http request option.
|
|
10689
|
-
* @throws {RequiredError}
|
|
10690
|
-
* @memberof AccountsApi
|
|
10691
|
-
*/
|
|
10692
|
-
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10693
|
-
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10694
|
-
}
|
|
10695
|
-
|
|
10696
9701
|
/**
|
|
10697
9702
|
* Get Accounts
|
|
10698
9703
|
* @summary Get Accounts
|
|
@@ -10790,17 +9795,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
10790
9795
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
10791
9796
|
}
|
|
10792
9797
|
|
|
10793
|
-
/**
|
|
10794
|
-
* Get Admin Account
|
|
10795
|
-
* @summary Get Admin Account
|
|
10796
|
-
* @param {*} [options] Override http request option.
|
|
10797
|
-
* @throws {RequiredError}
|
|
10798
|
-
* @memberof AccountsApi
|
|
10799
|
-
*/
|
|
10800
|
-
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10801
|
-
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10802
|
-
}
|
|
10803
|
-
|
|
10804
9798
|
/**
|
|
10805
9799
|
* Create client credentials
|
|
10806
9800
|
* @summary Create client credentials
|
|
@@ -10998,6 +9992,43 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
10998
9992
|
|
|
10999
9993
|
|
|
11000
9994
|
|
|
9995
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9996
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9997
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9998
|
+
|
|
9999
|
+
return {
|
|
10000
|
+
url: toPathString(localVarUrlObj),
|
|
10001
|
+
options: localVarRequestOptions,
|
|
10002
|
+
};
|
|
10003
|
+
},
|
|
10004
|
+
/**
|
|
10005
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10006
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10007
|
+
* @param {string} password Desired 3CX web access password
|
|
10008
|
+
* @param {*} [options] Override http request option.
|
|
10009
|
+
* @throws {RequiredError}
|
|
10010
|
+
*/
|
|
10011
|
+
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10012
|
+
// verify required parameter 'password' is not null or undefined
|
|
10013
|
+
assertParamExists('getGetPasswordHash', 'password', password)
|
|
10014
|
+
const localVarPath = `/tcx/pwd2hash`;
|
|
10015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10016
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10017
|
+
let baseOptions;
|
|
10018
|
+
if (configuration) {
|
|
10019
|
+
baseOptions = configuration.baseOptions;
|
|
10020
|
+
}
|
|
10021
|
+
|
|
10022
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10023
|
+
const localVarHeaderParameter = {} as any;
|
|
10024
|
+
const localVarQueryParameter = {} as any;
|
|
10025
|
+
|
|
10026
|
+
if (password !== undefined) {
|
|
10027
|
+
localVarQueryParameter['password'] = password;
|
|
10028
|
+
}
|
|
10029
|
+
|
|
10030
|
+
|
|
10031
|
+
|
|
11001
10032
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11002
10033
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11003
10034
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11064,6 +10095,19 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
11064
10095
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
11065
10096
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11066
10097
|
},
|
|
10098
|
+
/**
|
|
10099
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10100
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10101
|
+
* @param {string} password Desired 3CX web access password
|
|
10102
|
+
* @param {*} [options] Override http request option.
|
|
10103
|
+
* @throws {RequiredError}
|
|
10104
|
+
*/
|
|
10105
|
+
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
10106
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
10107
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10108
|
+
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
10109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10110
|
+
},
|
|
11067
10111
|
/**
|
|
11068
10112
|
* Get Bulk 3CX Licence Details
|
|
11069
10113
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11097,6 +10141,16 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
11097
10141
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
11098
10142
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
11099
10143
|
},
|
|
10144
|
+
/**
|
|
10145
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10146
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10147
|
+
* @param {string} password Desired 3CX web access password
|
|
10148
|
+
* @param {*} [options] Override http request option.
|
|
10149
|
+
* @throws {RequiredError}
|
|
10150
|
+
*/
|
|
10151
|
+
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
10152
|
+
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
10153
|
+
},
|
|
11100
10154
|
/**
|
|
11101
10155
|
* Get Bulk 3CX Licence Details
|
|
11102
10156
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -11130,9 +10184,21 @@ export class Class3CXApi extends BaseAPI {
|
|
|
11130
10184
|
}
|
|
11131
10185
|
|
|
11132
10186
|
/**
|
|
11133
|
-
*
|
|
11134
|
-
* @summary
|
|
11135
|
-
* @param {
|
|
10187
|
+
* Generate a 3CX hashed password for 3CX installation
|
|
10188
|
+
* @summary Convert a password to a hashed 3CX password
|
|
10189
|
+
* @param {string} password Desired 3CX web access password
|
|
10190
|
+
* @param {*} [options] Override http request option.
|
|
10191
|
+
* @throws {RequiredError}
|
|
10192
|
+
* @memberof Class3CXApi
|
|
10193
|
+
*/
|
|
10194
|
+
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
10195
|
+
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
10196
|
+
}
|
|
10197
|
+
|
|
10198
|
+
/**
|
|
10199
|
+
* Get Bulk 3CX Licence Details
|
|
10200
|
+
* @summary Get bulk 3CX Licence Details
|
|
10201
|
+
* @param {Array<string>} [requestBody] Licence Lookup Request
|
|
11136
10202
|
* @param {*} [options] Override http request option.
|
|
11137
10203
|
* @throws {RequiredError}
|
|
11138
10204
|
* @memberof Class3CXApi
|
|
@@ -16303,14 +15369,13 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16303
15369
|
return {
|
|
16304
15370
|
/**
|
|
16305
15371
|
* Delete Orders
|
|
16306
|
-
* @summary Delete Orders
|
|
16307
15372
|
* @param {number} id Order ID
|
|
16308
15373
|
* @param {*} [options] Override http request option.
|
|
16309
15374
|
* @throws {RequiredError}
|
|
16310
15375
|
*/
|
|
16311
|
-
|
|
15376
|
+
deleteDeleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16312
15377
|
// verify required parameter 'id' is not null or undefined
|
|
16313
|
-
assertParamExists('
|
|
15378
|
+
assertParamExists('deleteDeleteOrder', 'id', id)
|
|
16314
15379
|
const localVarPath = `/orders/{id}`
|
|
16315
15380
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16316
15381
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -16326,40 +15391,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16326
15391
|
|
|
16327
15392
|
|
|
16328
15393
|
|
|
16329
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16330
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16331
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16332
|
-
|
|
16333
|
-
return {
|
|
16334
|
-
url: toPathString(localVarUrlObj),
|
|
16335
|
-
options: localVarRequestOptions,
|
|
16336
|
-
};
|
|
16337
|
-
},
|
|
16338
|
-
/**
|
|
16339
|
-
* Get Editable Order
|
|
16340
|
-
* @summary Get Editable Order
|
|
16341
|
-
* @param {number} id Order ID
|
|
16342
|
-
* @param {*} [options] Override http request option.
|
|
16343
|
-
* @throws {RequiredError}
|
|
16344
|
-
*/
|
|
16345
|
-
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16346
|
-
// verify required parameter 'id' is not null or undefined
|
|
16347
|
-
assertParamExists('getGetEditableOrder', 'id', id)
|
|
16348
|
-
const localVarPath = `/orders/{id}/views/editable`
|
|
16349
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16350
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16351
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16352
|
-
let baseOptions;
|
|
16353
|
-
if (configuration) {
|
|
16354
|
-
baseOptions = configuration.baseOptions;
|
|
16355
|
-
}
|
|
16356
|
-
|
|
16357
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16358
|
-
const localVarHeaderParameter = {} as any;
|
|
16359
|
-
const localVarQueryParameter = {} as any;
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16363
15394
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16364
15395
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16365
15396
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -16429,170 +15460,6 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
16429
15460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16430
15461
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16431
15462
|
|
|
16432
|
-
return {
|
|
16433
|
-
url: toPathString(localVarUrlObj),
|
|
16434
|
-
options: localVarRequestOptions,
|
|
16435
|
-
};
|
|
16436
|
-
},
|
|
16437
|
-
/**
|
|
16438
|
-
* Create An Order (Admin)
|
|
16439
|
-
* @summary Create An Order (Admin)
|
|
16440
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16441
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16442
|
-
* @param {*} [options] Override http request option.
|
|
16443
|
-
* @throws {RequiredError}
|
|
16444
|
-
*/
|
|
16445
|
-
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16446
|
-
const localVarPath = `/admin/orders`;
|
|
16447
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16448
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16449
|
-
let baseOptions;
|
|
16450
|
-
if (configuration) {
|
|
16451
|
-
baseOptions = configuration.baseOptions;
|
|
16452
|
-
}
|
|
16453
|
-
|
|
16454
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16455
|
-
const localVarHeaderParameter = {} as any;
|
|
16456
|
-
const localVarQueryParameter = {} as any;
|
|
16457
|
-
|
|
16458
|
-
if (readonly !== undefined) {
|
|
16459
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16460
|
-
}
|
|
16461
|
-
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16465
|
-
|
|
16466
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16467
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16468
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16469
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16470
|
-
|
|
16471
|
-
return {
|
|
16472
|
-
url: toPathString(localVarUrlObj),
|
|
16473
|
-
options: localVarRequestOptions,
|
|
16474
|
-
};
|
|
16475
|
-
},
|
|
16476
|
-
/**
|
|
16477
|
-
* Create An Order
|
|
16478
|
-
* @summary Create An Order
|
|
16479
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16480
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16481
|
-
* @param {*} [options] Override http request option.
|
|
16482
|
-
* @throws {RequiredError}
|
|
16483
|
-
*/
|
|
16484
|
-
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16485
|
-
const localVarPath = `/orders`;
|
|
16486
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16487
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16488
|
-
let baseOptions;
|
|
16489
|
-
if (configuration) {
|
|
16490
|
-
baseOptions = configuration.baseOptions;
|
|
16491
|
-
}
|
|
16492
|
-
|
|
16493
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16494
|
-
const localVarHeaderParameter = {} as any;
|
|
16495
|
-
const localVarQueryParameter = {} as any;
|
|
16496
|
-
|
|
16497
|
-
if (readonly !== undefined) {
|
|
16498
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16499
|
-
}
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16504
|
-
|
|
16505
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16506
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16507
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16508
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16509
|
-
|
|
16510
|
-
return {
|
|
16511
|
-
url: toPathString(localVarUrlObj),
|
|
16512
|
-
options: localVarRequestOptions,
|
|
16513
|
-
};
|
|
16514
|
-
},
|
|
16515
|
-
/**
|
|
16516
|
-
* Update An Order (Admin)
|
|
16517
|
-
* @summary Update An Order (Admin)
|
|
16518
|
-
* @param {number} id Order ID
|
|
16519
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16520
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16521
|
-
* @param {*} [options] Override http request option.
|
|
16522
|
-
* @throws {RequiredError}
|
|
16523
|
-
*/
|
|
16524
|
-
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16525
|
-
// verify required parameter 'id' is not null or undefined
|
|
16526
|
-
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
16527
|
-
const localVarPath = `/admin/orders/{id}`
|
|
16528
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16529
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16531
|
-
let baseOptions;
|
|
16532
|
-
if (configuration) {
|
|
16533
|
-
baseOptions = configuration.baseOptions;
|
|
16534
|
-
}
|
|
16535
|
-
|
|
16536
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16537
|
-
const localVarHeaderParameter = {} as any;
|
|
16538
|
-
const localVarQueryParameter = {} as any;
|
|
16539
|
-
|
|
16540
|
-
if (readonly !== undefined) {
|
|
16541
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16542
|
-
}
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16547
|
-
|
|
16548
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16549
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16550
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16551
|
-
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16552
|
-
|
|
16553
|
-
return {
|
|
16554
|
-
url: toPathString(localVarUrlObj),
|
|
16555
|
-
options: localVarRequestOptions,
|
|
16556
|
-
};
|
|
16557
|
-
},
|
|
16558
|
-
/**
|
|
16559
|
-
* Update An Order
|
|
16560
|
-
* @summary Update An Order
|
|
16561
|
-
* @param {number} id Order ID
|
|
16562
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16563
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16564
|
-
* @param {*} [options] Override http request option.
|
|
16565
|
-
* @throws {RequiredError}
|
|
16566
|
-
*/
|
|
16567
|
-
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16568
|
-
// verify required parameter 'id' is not null or undefined
|
|
16569
|
-
assertParamExists('putUpdateOrder', 'id', id)
|
|
16570
|
-
const localVarPath = `/orders/{id}`
|
|
16571
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16572
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16573
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16574
|
-
let baseOptions;
|
|
16575
|
-
if (configuration) {
|
|
16576
|
-
baseOptions = configuration.baseOptions;
|
|
16577
|
-
}
|
|
16578
|
-
|
|
16579
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16580
|
-
const localVarHeaderParameter = {} as any;
|
|
16581
|
-
const localVarQueryParameter = {} as any;
|
|
16582
|
-
|
|
16583
|
-
if (readonly !== undefined) {
|
|
16584
|
-
localVarQueryParameter['readonly'] = readonly;
|
|
16585
|
-
}
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16590
|
-
|
|
16591
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16592
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16593
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16594
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16595
|
-
|
|
16596
15463
|
return {
|
|
16597
15464
|
url: toPathString(localVarUrlObj),
|
|
16598
15465
|
options: localVarRequestOptions,
|
|
@@ -16610,28 +15477,14 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16610
15477
|
return {
|
|
16611
15478
|
/**
|
|
16612
15479
|
* Delete Orders
|
|
16613
|
-
* @summary Delete Orders
|
|
16614
|
-
* @param {number} id Order ID
|
|
16615
|
-
* @param {*} [options] Override http request option.
|
|
16616
|
-
* @throws {RequiredError}
|
|
16617
|
-
*/
|
|
16618
|
-
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16619
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
16620
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16621
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16622
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16623
|
-
},
|
|
16624
|
-
/**
|
|
16625
|
-
* Get Editable Order
|
|
16626
|
-
* @summary Get Editable Order
|
|
16627
15480
|
* @param {number} id Order ID
|
|
16628
15481
|
* @param {*} [options] Override http request option.
|
|
16629
15482
|
* @throws {RequiredError}
|
|
16630
15483
|
*/
|
|
16631
|
-
async
|
|
16632
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15484
|
+
async deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteOrder(id, options);
|
|
16633
15486
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16634
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
15487
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteDeleteOrder']?.[localVarOperationServerIndex]?.url;
|
|
16635
15488
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16636
15489
|
},
|
|
16637
15490
|
/**
|
|
@@ -16653,64 +15506,6 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
16653
15506
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16654
15507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16655
15508
|
},
|
|
16656
|
-
/**
|
|
16657
|
-
* Create An Order (Admin)
|
|
16658
|
-
* @summary Create An Order (Admin)
|
|
16659
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16660
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16661
|
-
* @param {*} [options] Override http request option.
|
|
16662
|
-
* @throws {RequiredError}
|
|
16663
|
-
*/
|
|
16664
|
-
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16665
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
16666
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16667
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16668
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16669
|
-
},
|
|
16670
|
-
/**
|
|
16671
|
-
* Create An Order
|
|
16672
|
-
* @summary Create An Order
|
|
16673
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16674
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16675
|
-
* @param {*} [options] Override http request option.
|
|
16676
|
-
* @throws {RequiredError}
|
|
16677
|
-
*/
|
|
16678
|
-
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16679
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
16680
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16681
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16682
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16683
|
-
},
|
|
16684
|
-
/**
|
|
16685
|
-
* Update An Order (Admin)
|
|
16686
|
-
* @summary Update An Order (Admin)
|
|
16687
|
-
* @param {number} id Order ID
|
|
16688
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16689
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16690
|
-
* @param {*} [options] Override http request option.
|
|
16691
|
-
* @throws {RequiredError}
|
|
16692
|
-
*/
|
|
16693
|
-
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
16695
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16696
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16697
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16698
|
-
},
|
|
16699
|
-
/**
|
|
16700
|
-
* Update An Order
|
|
16701
|
-
* @summary Update An Order
|
|
16702
|
-
* @param {number} id Order ID
|
|
16703
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16704
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16705
|
-
* @param {*} [options] Override http request option.
|
|
16706
|
-
* @throws {RequiredError}
|
|
16707
|
-
*/
|
|
16708
|
-
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16709
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
16710
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16711
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16712
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16713
|
-
},
|
|
16714
15509
|
}
|
|
16715
15510
|
};
|
|
16716
15511
|
|
|
@@ -16723,23 +15518,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16723
15518
|
return {
|
|
16724
15519
|
/**
|
|
16725
15520
|
* Delete Orders
|
|
16726
|
-
* @summary Delete Orders
|
|
16727
|
-
* @param {number} id Order ID
|
|
16728
|
-
* @param {*} [options] Override http request option.
|
|
16729
|
-
* @throws {RequiredError}
|
|
16730
|
-
*/
|
|
16731
|
-
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16732
|
-
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
16733
|
-
},
|
|
16734
|
-
/**
|
|
16735
|
-
* Get Editable Order
|
|
16736
|
-
* @summary Get Editable Order
|
|
16737
15521
|
* @param {number} id Order ID
|
|
16738
15522
|
* @param {*} [options] Override http request option.
|
|
16739
15523
|
* @throws {RequiredError}
|
|
16740
15524
|
*/
|
|
16741
|
-
|
|
16742
|
-
return localVarFp.
|
|
15525
|
+
deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15526
|
+
return localVarFp.deleteDeleteOrder(id, options).then((request) => request(axios, basePath));
|
|
16743
15527
|
},
|
|
16744
15528
|
/**
|
|
16745
15529
|
* Get Orders
|
|
@@ -16757,52 +15541,6 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16757
15541
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
16758
15542
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
16759
15543
|
},
|
|
16760
|
-
/**
|
|
16761
|
-
* Create An Order (Admin)
|
|
16762
|
-
* @summary Create An Order (Admin)
|
|
16763
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16764
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16765
|
-
* @param {*} [options] Override http request option.
|
|
16766
|
-
* @throws {RequiredError}
|
|
16767
|
-
*/
|
|
16768
|
-
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16769
|
-
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16770
|
-
},
|
|
16771
|
-
/**
|
|
16772
|
-
* Create An Order
|
|
16773
|
-
* @summary Create An Order
|
|
16774
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16775
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16776
|
-
* @param {*} [options] Override http request option.
|
|
16777
|
-
* @throws {RequiredError}
|
|
16778
|
-
*/
|
|
16779
|
-
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16780
|
-
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16781
|
-
},
|
|
16782
|
-
/**
|
|
16783
|
-
* Update An Order (Admin)
|
|
16784
|
-
* @summary Update An Order (Admin)
|
|
16785
|
-
* @param {number} id Order ID
|
|
16786
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16787
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16788
|
-
* @param {*} [options] Override http request option.
|
|
16789
|
-
* @throws {RequiredError}
|
|
16790
|
-
*/
|
|
16791
|
-
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16792
|
-
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16793
|
-
},
|
|
16794
|
-
/**
|
|
16795
|
-
* Update An Order
|
|
16796
|
-
* @summary Update An Order
|
|
16797
|
-
* @param {number} id Order ID
|
|
16798
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16799
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16800
|
-
* @param {*} [options] Override http request option.
|
|
16801
|
-
* @throws {RequiredError}
|
|
16802
|
-
*/
|
|
16803
|
-
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16804
|
-
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16805
|
-
},
|
|
16806
15544
|
};
|
|
16807
15545
|
};
|
|
16808
15546
|
|
|
@@ -16815,26 +15553,13 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
16815
15553
|
export class OrdersApi extends BaseAPI {
|
|
16816
15554
|
/**
|
|
16817
15555
|
* Delete Orders
|
|
16818
|
-
* @summary Delete Orders
|
|
16819
15556
|
* @param {number} id Order ID
|
|
16820
15557
|
* @param {*} [options] Override http request option.
|
|
16821
15558
|
* @throws {RequiredError}
|
|
16822
15559
|
* @memberof OrdersApi
|
|
16823
15560
|
*/
|
|
16824
|
-
public
|
|
16825
|
-
return OrdersApiFp(this.configuration).
|
|
16826
|
-
}
|
|
16827
|
-
|
|
16828
|
-
/**
|
|
16829
|
-
* Get Editable Order
|
|
16830
|
-
* @summary Get Editable Order
|
|
16831
|
-
* @param {number} id Order ID
|
|
16832
|
-
* @param {*} [options] Override http request option.
|
|
16833
|
-
* @throws {RequiredError}
|
|
16834
|
-
* @memberof OrdersApi
|
|
16835
|
-
*/
|
|
16836
|
-
public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16837
|
-
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15561
|
+
public deleteDeleteOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15562
|
+
return OrdersApiFp(this.configuration).deleteDeleteOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16838
15563
|
}
|
|
16839
15564
|
|
|
16840
15565
|
/**
|
|
@@ -16854,60 +15579,6 @@ export class OrdersApi extends BaseAPI {
|
|
|
16854
15579
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
16855
15580
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
16856
15581
|
}
|
|
16857
|
-
|
|
16858
|
-
/**
|
|
16859
|
-
* Create An Order (Admin)
|
|
16860
|
-
* @summary Create An Order (Admin)
|
|
16861
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16862
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16863
|
-
* @param {*} [options] Override http request option.
|
|
16864
|
-
* @throws {RequiredError}
|
|
16865
|
-
* @memberof OrdersApi
|
|
16866
|
-
*/
|
|
16867
|
-
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16868
|
-
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16869
|
-
}
|
|
16870
|
-
|
|
16871
|
-
/**
|
|
16872
|
-
* Create An Order
|
|
16873
|
-
* @summary Create An Order
|
|
16874
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16875
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16876
|
-
* @param {*} [options] Override http request option.
|
|
16877
|
-
* @throws {RequiredError}
|
|
16878
|
-
* @memberof OrdersApi
|
|
16879
|
-
*/
|
|
16880
|
-
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16881
|
-
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16882
|
-
}
|
|
16883
|
-
|
|
16884
|
-
/**
|
|
16885
|
-
* Update An Order (Admin)
|
|
16886
|
-
* @summary Update An Order (Admin)
|
|
16887
|
-
* @param {number} id Order ID
|
|
16888
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16889
|
-
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16890
|
-
* @param {*} [options] Override http request option.
|
|
16891
|
-
* @throws {RequiredError}
|
|
16892
|
-
* @memberof OrdersApi
|
|
16893
|
-
*/
|
|
16894
|
-
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16895
|
-
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16896
|
-
}
|
|
16897
|
-
|
|
16898
|
-
/**
|
|
16899
|
-
* Update An Order
|
|
16900
|
-
* @summary Update An Order
|
|
16901
|
-
* @param {number} id Order ID
|
|
16902
|
-
* @param {boolean} [readonly] Readonly Order
|
|
16903
|
-
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16904
|
-
* @param {*} [options] Override http request option.
|
|
16905
|
-
* @throws {RequiredError}
|
|
16906
|
-
* @memberof OrdersApi
|
|
16907
|
-
*/
|
|
16908
|
-
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16909
|
-
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16910
|
-
}
|
|
16911
15582
|
}
|
|
16912
15583
|
|
|
16913
15584
|
/**
|
|
@@ -17288,47 +15959,13 @@ export type PostSendPriceListCategoryEnum = typeof PostSendPriceListCategoryEnum
|
|
|
17288
15959
|
export const ProductsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17289
15960
|
return {
|
|
17290
15961
|
/**
|
|
17291
|
-
* Get Attribute Sets
|
|
17292
|
-
* @summary Get Attribute Sets
|
|
17293
|
-
* @param {*} [options] Override http request option.
|
|
17294
|
-
* @throws {RequiredError}
|
|
17295
|
-
*/
|
|
17296
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17297
|
-
const localVarPath = `/products/attributes`;
|
|
17298
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17299
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17300
|
-
let baseOptions;
|
|
17301
|
-
if (configuration) {
|
|
17302
|
-
baseOptions = configuration.baseOptions;
|
|
17303
|
-
}
|
|
17304
|
-
|
|
17305
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17306
|
-
const localVarHeaderParameter = {} as any;
|
|
17307
|
-
const localVarQueryParameter = {} as any;
|
|
17308
|
-
|
|
17309
|
-
|
|
17310
|
-
|
|
17311
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17312
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17313
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17314
|
-
|
|
17315
|
-
return {
|
|
17316
|
-
url: toPathString(localVarUrlObj),
|
|
17317
|
-
options: localVarRequestOptions,
|
|
17318
|
-
};
|
|
17319
|
-
},
|
|
17320
|
-
/**
|
|
17321
|
-
* Get Current Stock & Pricing
|
|
17322
|
-
* @summary Get Current Stock & Pricing
|
|
17323
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15962
|
+
* Get Attribute Sets
|
|
15963
|
+
* @summary Get Attribute Sets
|
|
17324
15964
|
* @param {*} [options] Override http request option.
|
|
17325
|
-
* @deprecated
|
|
17326
15965
|
* @throws {RequiredError}
|
|
17327
15966
|
*/
|
|
17328
|
-
|
|
17329
|
-
|
|
17330
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
17331
|
-
const localVarPath = `/products/stock/legacy`;
|
|
15967
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15968
|
+
const localVarPath = `/products/attributes`;
|
|
17332
15969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17333
15970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17334
15971
|
let baseOptions;
|
|
@@ -17340,10 +15977,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17340
15977
|
const localVarHeaderParameter = {} as any;
|
|
17341
15978
|
const localVarQueryParameter = {} as any;
|
|
17342
15979
|
|
|
17343
|
-
if (format !== undefined) {
|
|
17344
|
-
localVarQueryParameter['format'] = format;
|
|
17345
|
-
}
|
|
17346
|
-
|
|
17347
15980
|
|
|
17348
15981
|
|
|
17349
15982
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17356,13 +15989,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17356
15989
|
};
|
|
17357
15990
|
},
|
|
17358
15991
|
/**
|
|
17359
|
-
* Get
|
|
17360
|
-
* @summary Get
|
|
15992
|
+
* Get Customer Price Lists
|
|
15993
|
+
* @summary Get Customer Price Lists
|
|
17361
15994
|
* @param {*} [options] Override http request option.
|
|
17362
15995
|
* @throws {RequiredError}
|
|
17363
15996
|
*/
|
|
17364
|
-
|
|
17365
|
-
const localVarPath = `/products`;
|
|
15997
|
+
getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15998
|
+
const localVarPath = `/products/prices/lists`;
|
|
17366
15999
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17367
16000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17368
16001
|
let baseOptions;
|
|
@@ -17388,11 +16021,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17388
16021
|
/**
|
|
17389
16022
|
* Get Current Stock & Pricing
|
|
17390
16023
|
* @summary Get Current Stock & Pricing
|
|
16024
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
17391
16025
|
* @param {*} [options] Override http request option.
|
|
16026
|
+
* @deprecated
|
|
17392
16027
|
* @throws {RequiredError}
|
|
17393
16028
|
*/
|
|
17394
|
-
|
|
17395
|
-
|
|
16029
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16030
|
+
// verify required parameter 'format' is not null or undefined
|
|
16031
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
16032
|
+
const localVarPath = `/products/stock/legacy`;
|
|
17396
16033
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17397
16034
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17398
16035
|
let baseOptions;
|
|
@@ -17404,36 +16041,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17404
16041
|
const localVarHeaderParameter = {} as any;
|
|
17405
16042
|
const localVarQueryParameter = {} as any;
|
|
17406
16043
|
|
|
17407
|
-
|
|
17408
|
-
|
|
17409
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17410
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17411
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17412
|
-
|
|
17413
|
-
return {
|
|
17414
|
-
url: toPathString(localVarUrlObj),
|
|
17415
|
-
options: localVarRequestOptions,
|
|
17416
|
-
};
|
|
17417
|
-
},
|
|
17418
|
-
/**
|
|
17419
|
-
* Get 3CX Templates
|
|
17420
|
-
* @summary Get 3CX Templates
|
|
17421
|
-
* @param {*} [options] Override http request option.
|
|
17422
|
-
* @throws {RequiredError}
|
|
17423
|
-
*/
|
|
17424
|
-
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17425
|
-
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17426
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17427
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17428
|
-
let baseOptions;
|
|
17429
|
-
if (configuration) {
|
|
17430
|
-
baseOptions = configuration.baseOptions;
|
|
16044
|
+
if (format !== undefined) {
|
|
16045
|
+
localVarQueryParameter['format'] = format;
|
|
17431
16046
|
}
|
|
17432
16047
|
|
|
17433
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17434
|
-
const localVarHeaderParameter = {} as any;
|
|
17435
|
-
const localVarQueryParameter = {} as any;
|
|
17436
|
-
|
|
17437
16048
|
|
|
17438
16049
|
|
|
17439
16050
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -17446,15 +16057,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17446
16057
|
};
|
|
17447
16058
|
},
|
|
17448
16059
|
/**
|
|
17449
|
-
*
|
|
17450
|
-
* @summary
|
|
16060
|
+
* Get Products
|
|
16061
|
+
* @summary Get Products
|
|
17451
16062
|
* @param {number} [pageSize] Number Of Results
|
|
17452
16063
|
* @param {number} [page] Page Number
|
|
17453
16064
|
* @param {string} [search] Search
|
|
17454
16065
|
* @param {*} [options] Override http request option.
|
|
17455
16066
|
* @throws {RequiredError}
|
|
17456
16067
|
*/
|
|
17457
|
-
|
|
16068
|
+
getGetProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17458
16069
|
const localVarPath = `/products/search`;
|
|
17459
16070
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17460
16071
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17491,20 +16102,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17491
16102
|
};
|
|
17492
16103
|
},
|
|
17493
16104
|
/**
|
|
17494
|
-
* Get
|
|
17495
|
-
* @summary Get
|
|
17496
|
-
* @param {string} sku Product SKU
|
|
17497
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16105
|
+
* Get Current Stock & Pricing
|
|
16106
|
+
* @summary Get Current Stock & Pricing
|
|
17498
16107
|
* @param {*} [options] Override http request option.
|
|
17499
16108
|
* @throws {RequiredError}
|
|
17500
16109
|
*/
|
|
17501
|
-
|
|
17502
|
-
|
|
17503
|
-
assertParamExists('postGetProduct', 'sku', sku)
|
|
17504
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17505
|
-
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17506
|
-
const localVarPath = `/products/{sku}`
|
|
17507
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16110
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16111
|
+
const localVarPath = `/products/stock`;
|
|
17508
16112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17509
16113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17510
16114
|
let baseOptions;
|
|
@@ -17512,18 +16116,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17512
16116
|
baseOptions = configuration.baseOptions;
|
|
17513
16117
|
}
|
|
17514
16118
|
|
|
17515
|
-
const localVarRequestOptions = { method: '
|
|
16119
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17516
16120
|
const localVarHeaderParameter = {} as any;
|
|
17517
16121
|
const localVarQueryParameter = {} as any;
|
|
17518
16122
|
|
|
17519
16123
|
|
|
17520
16124
|
|
|
17521
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17522
|
-
|
|
17523
16125
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17524
16126
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17525
16127
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17526
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17527
16128
|
|
|
17528
16129
|
return {
|
|
17529
16130
|
url: toPathString(localVarUrlObj),
|
|
@@ -17531,23 +16132,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17531
16132
|
};
|
|
17532
16133
|
},
|
|
17533
16134
|
/**
|
|
17534
|
-
* Get
|
|
17535
|
-
* @summary Get
|
|
17536
|
-
* @param {number} customerId Customer ID
|
|
17537
|
-
* @param {string} sku Product SKU
|
|
17538
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16135
|
+
* Get 3CX Templates
|
|
16136
|
+
* @summary Get 3CX Templates
|
|
17539
16137
|
* @param {*} [options] Override http request option.
|
|
17540
16138
|
* @throws {RequiredError}
|
|
17541
16139
|
*/
|
|
17542
|
-
|
|
17543
|
-
|
|
17544
|
-
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
17545
|
-
// verify required parameter 'sku' is not null or undefined
|
|
17546
|
-
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
17547
|
-
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17548
|
-
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17549
|
-
const localVarPath = `/admin/products/{sku}`
|
|
17550
|
-
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
16140
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16141
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17551
16142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17552
16143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17553
16144
|
let baseOptions;
|
|
@@ -17555,22 +16146,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
17555
16146
|
baseOptions = configuration.baseOptions;
|
|
17556
16147
|
}
|
|
17557
16148
|
|
|
17558
|
-
const localVarRequestOptions = { method: '
|
|
16149
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17559
16150
|
const localVarHeaderParameter = {} as any;
|
|
17560
16151
|
const localVarQueryParameter = {} as any;
|
|
17561
16152
|
|
|
17562
|
-
if (customerId !== undefined) {
|
|
17563
|
-
localVarQueryParameter['customerId'] = customerId;
|
|
17564
|
-
}
|
|
17565
|
-
|
|
17566
16153
|
|
|
17567
16154
|
|
|
17568
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17569
|
-
|
|
17570
16155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17571
16156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17572
16157
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17573
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
17574
16158
|
|
|
17575
16159
|
return {
|
|
17576
16160
|
url: toPathString(localVarUrlObj),
|
|
@@ -17599,6 +16183,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17599
16183
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
17600
16184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17601
16185
|
},
|
|
16186
|
+
/**
|
|
16187
|
+
* Get Customer Price Lists
|
|
16188
|
+
* @summary Get Customer Price Lists
|
|
16189
|
+
* @param {*} [options] Override http request option.
|
|
16190
|
+
* @throws {RequiredError}
|
|
16191
|
+
*/
|
|
16192
|
+
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
16193
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
16194
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16195
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
16196
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16197
|
+
},
|
|
17602
16198
|
/**
|
|
17603
16199
|
* Get Current Stock & Pricing
|
|
17604
16200
|
* @summary Get Current Stock & Pricing
|
|
@@ -17616,11 +16212,14 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17616
16212
|
/**
|
|
17617
16213
|
* Get Products
|
|
17618
16214
|
* @summary Get Products
|
|
16215
|
+
* @param {number} [pageSize] Number Of Results
|
|
16216
|
+
* @param {number} [page] Page Number
|
|
16217
|
+
* @param {string} [search] Search
|
|
17619
16218
|
* @param {*} [options] Override http request option.
|
|
17620
16219
|
* @throws {RequiredError}
|
|
17621
16220
|
*/
|
|
17622
|
-
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17623
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
16221
|
+
async getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
16222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options);
|
|
17624
16223
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17625
16224
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
17626
16225
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -17649,50 +16248,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
17649
16248
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17650
16249
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17651
16250
|
},
|
|
17652
|
-
/**
|
|
17653
|
-
* Search Products
|
|
17654
|
-
* @summary Search Products
|
|
17655
|
-
* @param {number} [pageSize] Number Of Results
|
|
17656
|
-
* @param {number} [page] Page Number
|
|
17657
|
-
* @param {string} [search] Search
|
|
17658
|
-
* @param {*} [options] Override http request option.
|
|
17659
|
-
* @throws {RequiredError}
|
|
17660
|
-
*/
|
|
17661
|
-
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
17662
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
17663
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17664
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
17665
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17666
|
-
},
|
|
17667
|
-
/**
|
|
17668
|
-
* Get Product
|
|
17669
|
-
* @summary Get Product
|
|
17670
|
-
* @param {string} sku Product SKU
|
|
17671
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17672
|
-
* @param {*} [options] Override http request option.
|
|
17673
|
-
* @throws {RequiredError}
|
|
17674
|
-
*/
|
|
17675
|
-
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17676
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
17677
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17678
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
17679
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17680
|
-
},
|
|
17681
|
-
/**
|
|
17682
|
-
* Get Product For Customer
|
|
17683
|
-
* @summary Get Product For Customer
|
|
17684
|
-
* @param {number} customerId Customer ID
|
|
17685
|
-
* @param {string} sku Product SKU
|
|
17686
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17687
|
-
* @param {*} [options] Override http request option.
|
|
17688
|
-
* @throws {RequiredError}
|
|
17689
|
-
*/
|
|
17690
|
-
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17691
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
17692
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17693
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
17694
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17695
|
-
},
|
|
17696
16251
|
}
|
|
17697
16252
|
};
|
|
17698
16253
|
|
|
@@ -17712,6 +16267,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17712
16267
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
17713
16268
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
17714
16269
|
},
|
|
16270
|
+
/**
|
|
16271
|
+
* Get Customer Price Lists
|
|
16272
|
+
* @summary Get Customer Price Lists
|
|
16273
|
+
* @param {*} [options] Override http request option.
|
|
16274
|
+
* @throws {RequiredError}
|
|
16275
|
+
*/
|
|
16276
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
16277
|
+
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
16278
|
+
},
|
|
17715
16279
|
/**
|
|
17716
16280
|
* Get Current Stock & Pricing
|
|
17717
16281
|
* @summary Get Current Stock & Pricing
|
|
@@ -17726,11 +16290,14 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17726
16290
|
/**
|
|
17727
16291
|
* Get Products
|
|
17728
16292
|
* @summary Get Products
|
|
16293
|
+
* @param {number} [pageSize] Number Of Results
|
|
16294
|
+
* @param {number} [page] Page Number
|
|
16295
|
+
* @param {string} [search] Search
|
|
17729
16296
|
* @param {*} [options] Override http request option.
|
|
17730
16297
|
* @throws {RequiredError}
|
|
17731
16298
|
*/
|
|
17732
|
-
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17733
|
-
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
16299
|
+
getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
16300
|
+
return localVarFp.getGetProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17734
16301
|
},
|
|
17735
16302
|
/**
|
|
17736
16303
|
* Get Current Stock & Pricing
|
|
@@ -17750,41 +16317,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
17750
16317
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
17751
16318
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
17752
16319
|
},
|
|
17753
|
-
/**
|
|
17754
|
-
* Search Products
|
|
17755
|
-
* @summary Search Products
|
|
17756
|
-
* @param {number} [pageSize] Number Of Results
|
|
17757
|
-
* @param {number} [page] Page Number
|
|
17758
|
-
* @param {string} [search] Search
|
|
17759
|
-
* @param {*} [options] Override http request option.
|
|
17760
|
-
* @throws {RequiredError}
|
|
17761
|
-
*/
|
|
17762
|
-
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
17763
|
-
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17764
|
-
},
|
|
17765
|
-
/**
|
|
17766
|
-
* Get Product
|
|
17767
|
-
* @summary Get Product
|
|
17768
|
-
* @param {string} sku Product SKU
|
|
17769
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17770
|
-
* @param {*} [options] Override http request option.
|
|
17771
|
-
* @throws {RequiredError}
|
|
17772
|
-
*/
|
|
17773
|
-
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17774
|
-
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17775
|
-
},
|
|
17776
|
-
/**
|
|
17777
|
-
* Get Product For Customer
|
|
17778
|
-
* @summary Get Product For Customer
|
|
17779
|
-
* @param {number} customerId Customer ID
|
|
17780
|
-
* @param {string} sku Product SKU
|
|
17781
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17782
|
-
* @param {*} [options] Override http request option.
|
|
17783
|
-
* @throws {RequiredError}
|
|
17784
|
-
*/
|
|
17785
|
-
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17786
|
-
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17787
|
-
},
|
|
17788
16320
|
};
|
|
17789
16321
|
};
|
|
17790
16322
|
|
|
@@ -17806,6 +16338,17 @@ export class ProductsApi extends BaseAPI {
|
|
|
17806
16338
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
17807
16339
|
}
|
|
17808
16340
|
|
|
16341
|
+
/**
|
|
16342
|
+
* Get Customer Price Lists
|
|
16343
|
+
* @summary Get Customer Price Lists
|
|
16344
|
+
* @param {*} [options] Override http request option.
|
|
16345
|
+
* @throws {RequiredError}
|
|
16346
|
+
* @memberof ProductsApi
|
|
16347
|
+
*/
|
|
16348
|
+
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
16349
|
+
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
16350
|
+
}
|
|
16351
|
+
|
|
17809
16352
|
/**
|
|
17810
16353
|
* Get Current Stock & Pricing
|
|
17811
16354
|
* @summary Get Current Stock & Pricing
|
|
@@ -17822,12 +16365,15 @@ export class ProductsApi extends BaseAPI {
|
|
|
17822
16365
|
/**
|
|
17823
16366
|
* Get Products
|
|
17824
16367
|
* @summary Get Products
|
|
16368
|
+
* @param {number} [pageSize] Number Of Results
|
|
16369
|
+
* @param {number} [page] Page Number
|
|
16370
|
+
* @param {string} [search] Search
|
|
17825
16371
|
* @param {*} [options] Override http request option.
|
|
17826
16372
|
* @throws {RequiredError}
|
|
17827
16373
|
* @memberof ProductsApi
|
|
17828
16374
|
*/
|
|
17829
|
-
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
17830
|
-
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
16375
|
+
public getGetProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
16376
|
+
return ProductsApiFp(this.configuration).getGetProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17831
16377
|
}
|
|
17832
16378
|
|
|
17833
16379
|
/**
|
|
@@ -17851,47 +16397,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
17851
16397
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
17852
16398
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
17853
16399
|
}
|
|
17854
|
-
|
|
17855
|
-
/**
|
|
17856
|
-
* Search Products
|
|
17857
|
-
* @summary Search Products
|
|
17858
|
-
* @param {number} [pageSize] Number Of Results
|
|
17859
|
-
* @param {number} [page] Page Number
|
|
17860
|
-
* @param {string} [search] Search
|
|
17861
|
-
* @param {*} [options] Override http request option.
|
|
17862
|
-
* @throws {RequiredError}
|
|
17863
|
-
* @memberof ProductsApi
|
|
17864
|
-
*/
|
|
17865
|
-
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
17866
|
-
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17867
|
-
}
|
|
17868
|
-
|
|
17869
|
-
/**
|
|
17870
|
-
* Get Product
|
|
17871
|
-
* @summary Get Product
|
|
17872
|
-
* @param {string} sku Product SKU
|
|
17873
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17874
|
-
* @param {*} [options] Override http request option.
|
|
17875
|
-
* @throws {RequiredError}
|
|
17876
|
-
* @memberof ProductsApi
|
|
17877
|
-
*/
|
|
17878
|
-
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17879
|
-
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17880
|
-
}
|
|
17881
|
-
|
|
17882
|
-
/**
|
|
17883
|
-
* Get Product For Customer
|
|
17884
|
-
* @summary Get Product For Customer
|
|
17885
|
-
* @param {number} customerId Customer ID
|
|
17886
|
-
* @param {string} sku Product SKU
|
|
17887
|
-
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17888
|
-
* @param {*} [options] Override http request option.
|
|
17889
|
-
* @throws {RequiredError}
|
|
17890
|
-
* @memberof ProductsApi
|
|
17891
|
-
*/
|
|
17892
|
-
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17893
|
-
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17894
|
-
}
|
|
17895
16400
|
}
|
|
17896
16401
|
|
|
17897
16402
|
/**
|
|
@@ -18232,7 +16737,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18232
16737
|
* @param {*} [options] Override http request option.
|
|
18233
16738
|
* @throws {RequiredError}
|
|
18234
16739
|
*/
|
|
18235
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
16740
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningEntity>>> {
|
|
18236
16741
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
18237
16742
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18238
16743
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18245,7 +16750,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
18245
16750
|
* @param {*} [options] Override http request option.
|
|
18246
16751
|
* @throws {RequiredError}
|
|
18247
16752
|
*/
|
|
18248
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16753
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningEntity>> {
|
|
18249
16754
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
18250
16755
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18251
16756
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -18324,7 +16829,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18324
16829
|
* @param {*} [options] Override http request option.
|
|
18325
16830
|
* @throws {RequiredError}
|
|
18326
16831
|
*/
|
|
18327
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
16832
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningEntity>> {
|
|
18328
16833
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
18329
16834
|
},
|
|
18330
16835
|
/**
|
|
@@ -18334,7 +16839,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
18334
16839
|
* @param {*} [options] Override http request option.
|
|
18335
16840
|
* @throws {RequiredError}
|
|
18336
16841
|
*/
|
|
18337
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
16842
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningEntity> {
|
|
18338
16843
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
18339
16844
|
},
|
|
18340
16845
|
/**
|
|
@@ -20235,114 +18740,6 @@ export class SMSApi extends BaseAPI {
|
|
|
20235
18740
|
|
|
20236
18741
|
|
|
20237
18742
|
|
|
20238
|
-
/**
|
|
20239
|
-
* ShippingApi - axios parameter creator
|
|
20240
|
-
* @export
|
|
20241
|
-
*/
|
|
20242
|
-
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20243
|
-
return {
|
|
20244
|
-
/**
|
|
20245
|
-
* Get Shipping Services
|
|
20246
|
-
* @summary Get Shipping Services
|
|
20247
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20248
|
-
* @param {*} [options] Override http request option.
|
|
20249
|
-
* @throws {RequiredError}
|
|
20250
|
-
*/
|
|
20251
|
-
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20252
|
-
const localVarPath = `/shipping/services`;
|
|
20253
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20255
|
-
let baseOptions;
|
|
20256
|
-
if (configuration) {
|
|
20257
|
-
baseOptions = configuration.baseOptions;
|
|
20258
|
-
}
|
|
20259
|
-
|
|
20260
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20261
|
-
const localVarHeaderParameter = {} as any;
|
|
20262
|
-
const localVarQueryParameter = {} as any;
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20267
|
-
|
|
20268
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20269
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20270
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20271
|
-
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
20272
|
-
|
|
20273
|
-
return {
|
|
20274
|
-
url: toPathString(localVarUrlObj),
|
|
20275
|
-
options: localVarRequestOptions,
|
|
20276
|
-
};
|
|
20277
|
-
},
|
|
20278
|
-
}
|
|
20279
|
-
};
|
|
20280
|
-
|
|
20281
|
-
/**
|
|
20282
|
-
* ShippingApi - functional programming interface
|
|
20283
|
-
* @export
|
|
20284
|
-
*/
|
|
20285
|
-
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
20286
|
-
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(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
|
-
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
20296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
20297
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20298
|
-
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
20299
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20300
|
-
},
|
|
20301
|
-
}
|
|
20302
|
-
};
|
|
20303
|
-
|
|
20304
|
-
/**
|
|
20305
|
-
* ShippingApi - factory interface
|
|
20306
|
-
* @export
|
|
20307
|
-
*/
|
|
20308
|
-
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20309
|
-
const localVarFp = ShippingApiFp(configuration)
|
|
20310
|
-
return {
|
|
20311
|
-
/**
|
|
20312
|
-
* Get Shipping Services
|
|
20313
|
-
* @summary Get Shipping Services
|
|
20314
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20315
|
-
* @param {*} [options] Override http request option.
|
|
20316
|
-
* @throws {RequiredError}
|
|
20317
|
-
*/
|
|
20318
|
-
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
20319
|
-
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
20320
|
-
},
|
|
20321
|
-
};
|
|
20322
|
-
};
|
|
20323
|
-
|
|
20324
|
-
/**
|
|
20325
|
-
* ShippingApi - object-oriented interface
|
|
20326
|
-
* @export
|
|
20327
|
-
* @class ShippingApi
|
|
20328
|
-
* @extends {BaseAPI}
|
|
20329
|
-
*/
|
|
20330
|
-
export class ShippingApi extends BaseAPI {
|
|
20331
|
-
/**
|
|
20332
|
-
* Get Shipping Services
|
|
20333
|
-
* @summary Get Shipping Services
|
|
20334
|
-
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20335
|
-
* @param {*} [options] Override http request option.
|
|
20336
|
-
* @throws {RequiredError}
|
|
20337
|
-
* @memberof ShippingApi
|
|
20338
|
-
*/
|
|
20339
|
-
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
20340
|
-
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
20341
|
-
}
|
|
20342
|
-
}
|
|
20343
|
-
|
|
20344
|
-
|
|
20345
|
-
|
|
20346
18743
|
/**
|
|
20347
18744
|
* StockManagementApi - axios parameter creator
|
|
20348
18745
|
* @export
|
|
@@ -21429,7 +19826,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
21429
19826
|
* @param {*} [options] Override http request option.
|
|
21430
19827
|
* @throws {RequiredError}
|
|
21431
19828
|
*/
|
|
21432
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
19829
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryModel>>> {
|
|
21433
19830
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
21434
19831
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21435
19832
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -21732,7 +20129,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
21732
20129
|
* @param {*} [options] Override http request option.
|
|
21733
20130
|
* @throws {RequiredError}
|
|
21734
20131
|
*/
|
|
21735
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
20132
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryModel>> {
|
|
21736
20133
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
21737
20134
|
},
|
|
21738
20135
|
/**
|