yellowgrid-api-ts 3.0.108 → 3.0.109-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +213 -195
- package/README.md +33 -7
- package/api.ts +1780 -260
- 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 +1292 -150
- package/dist/api.js +1059 -207
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractOrderRequestDTO.md +33 -0
- package/docs/AccountDetailedSummaryDTO.md +39 -0
- package/docs/AccountsApi.md +103 -0
- package/docs/AdminItemRequestDTO.md +37 -0
- package/docs/AdminOrderRequestDTO.md +45 -0
- package/docs/AdminUserModel.md +29 -0
- package/docs/BasicItemDTO.md +23 -0
- package/docs/BasicProductDTO.md +23 -0
- package/docs/Class3CXApi.md +0 -55
- package/docs/ClientDetailsModel.md +0 -2
- package/docs/CourierPriceEntity.md +39 -0
- package/docs/CustomerItemRequestDTO.md +33 -0
- package/docs/CustomerOrderRequestDTO.md +33 -0
- package/docs/ItemDTO.md +12 -4
- package/docs/ItemEntity.md +2 -0
- package/docs/LinkedOrderEntity.md +23 -0
- package/docs/OrderSummaryDTO.md +8 -0
- package/docs/OrderTotalModel.md +2 -0
- package/docs/OrdersApi.md +301 -4
- package/docs/PostGetProductForCustomerRequest.md +24 -0
- package/docs/ProductSearchResultsModel.md +1 -1
- package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +5 -3
- package/docs/ProductsApi.md +164 -43
- package/docs/ProvisioningApi.md +4 -4
- package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
- package/docs/ShipmentEntity.md +2 -2
- package/docs/ShippingApi.md +63 -0
- package/docs/ShippingConsignmentModel.md +26 -0
- package/docs/ShippingInformationDTO.md +25 -0
- package/docs/ShippingServiceDTO.md +23 -0
- package/docs/ShippingServiceModel.md +31 -0
- package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
- package/docs/StockManagementApi.md +2 -2
- package/docs/TcxSbcDTO.md +31 -0
- package/docs/TcxSbcModel.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Yellowgrid
|
|
5
|
-
* Welcome to the Yellowgrid API documentation.
|
|
5
|
+
* Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0
|
|
8
8
|
*
|
|
@@ -23,6 +23,55 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Order Request
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AbstractOrderRequestDTO
|
|
30
|
+
*/
|
|
31
|
+
export interface AbstractOrderRequestDTO {
|
|
32
|
+
/**
|
|
33
|
+
* Order Reference
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AbstractOrderRequestDTO
|
|
36
|
+
*/
|
|
37
|
+
'orderReference'?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Items
|
|
40
|
+
* @type {Array<CustomerItemRequestDTO>}
|
|
41
|
+
* @memberof AbstractOrderRequestDTO
|
|
42
|
+
*/
|
|
43
|
+
'items'?: Array<CustomerItemRequestDTO>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ShippingServiceDTO}
|
|
47
|
+
* @memberof AbstractOrderRequestDTO
|
|
48
|
+
*/
|
|
49
|
+
'shippingService'?: ShippingServiceDTO;
|
|
50
|
+
/**
|
|
51
|
+
* Provisioning URL
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AbstractOrderRequestDTO
|
|
54
|
+
*/
|
|
55
|
+
'provisioningUrl'?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {AddressModel}
|
|
59
|
+
* @memberof AbstractOrderRequestDTO
|
|
60
|
+
*/
|
|
61
|
+
'shippingAddress'?: AddressModel | null;
|
|
62
|
+
/**
|
|
63
|
+
* Part Ship Order
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof AbstractOrderRequestDTO
|
|
66
|
+
*/
|
|
67
|
+
'partShip'?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Quote
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AbstractOrderRequestDTO
|
|
72
|
+
*/
|
|
73
|
+
'quote'?: boolean;
|
|
74
|
+
}
|
|
26
75
|
/**
|
|
27
76
|
* AccountContactsEntity
|
|
28
77
|
* @export
|
|
@@ -254,6 +303,73 @@ export interface AccountContactRequestModel {
|
|
|
254
303
|
*/
|
|
255
304
|
'despatchEmails'?: boolean;
|
|
256
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* Account Details
|
|
308
|
+
* @export
|
|
309
|
+
* @interface AccountDetailedSummaryDTO
|
|
310
|
+
*/
|
|
311
|
+
export interface AccountDetailedSummaryDTO {
|
|
312
|
+
/**
|
|
313
|
+
* ID
|
|
314
|
+
* @type {number}
|
|
315
|
+
* @memberof AccountDetailedSummaryDTO
|
|
316
|
+
*/
|
|
317
|
+
'id'?: number;
|
|
318
|
+
/**
|
|
319
|
+
* Xero ID
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof AccountDetailedSummaryDTO
|
|
322
|
+
*/
|
|
323
|
+
'xeroId'?: string;
|
|
324
|
+
/**
|
|
325
|
+
* Company
|
|
326
|
+
* @type {string}
|
|
327
|
+
* @memberof AccountDetailedSummaryDTO
|
|
328
|
+
*/
|
|
329
|
+
'company'?: string;
|
|
330
|
+
/**
|
|
331
|
+
* Credit Limit
|
|
332
|
+
* @type {number}
|
|
333
|
+
* @memberof AccountDetailedSummaryDTO
|
|
334
|
+
*/
|
|
335
|
+
'creditLimit'?: number;
|
|
336
|
+
/**
|
|
337
|
+
* Contacts
|
|
338
|
+
* @type {Array<AccountContactModel>}
|
|
339
|
+
* @memberof AccountDetailedSummaryDTO
|
|
340
|
+
*/
|
|
341
|
+
'contacts'?: Array<AccountContactModel>;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {AddressModel}
|
|
345
|
+
* @memberof AccountDetailedSummaryDTO
|
|
346
|
+
*/
|
|
347
|
+
'billingAddress'?: AddressModel;
|
|
348
|
+
/**
|
|
349
|
+
* Addresses
|
|
350
|
+
* @type {Array<AddressModel>}
|
|
351
|
+
* @memberof AccountDetailedSummaryDTO
|
|
352
|
+
*/
|
|
353
|
+
'addresses'?: Array<AddressModel>;
|
|
354
|
+
/**
|
|
355
|
+
* Provisioning URLs
|
|
356
|
+
* @type {Array<ProvisioningModel>}
|
|
357
|
+
* @memberof AccountDetailedSummaryDTO
|
|
358
|
+
*/
|
|
359
|
+
'provisioningUrls'?: Array<ProvisioningModel>;
|
|
360
|
+
/**
|
|
361
|
+
* On Hold
|
|
362
|
+
* @type {boolean}
|
|
363
|
+
* @memberof AccountDetailedSummaryDTO
|
|
364
|
+
*/
|
|
365
|
+
'onHold'?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Balance (£)
|
|
368
|
+
* @type {number}
|
|
369
|
+
* @memberof AccountDetailedSummaryDTO
|
|
370
|
+
*/
|
|
371
|
+
'balance'?: number | null;
|
|
372
|
+
}
|
|
257
373
|
/**
|
|
258
374
|
* New Account Request
|
|
259
375
|
* @export
|
|
@@ -535,6 +651,200 @@ export interface AddressRequestModel {
|
|
|
535
651
|
*/
|
|
536
652
|
'addressPostcode'?: string;
|
|
537
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* Admin Order Item Request
|
|
656
|
+
* @export
|
|
657
|
+
* @interface AdminItemRequestDTO
|
|
658
|
+
*/
|
|
659
|
+
export interface AdminItemRequestDTO {
|
|
660
|
+
/**
|
|
661
|
+
* SKU
|
|
662
|
+
* @type {string}
|
|
663
|
+
* @memberof AdminItemRequestDTO
|
|
664
|
+
*/
|
|
665
|
+
'sku'?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Quantity
|
|
668
|
+
* @type {number}
|
|
669
|
+
* @memberof AdminItemRequestDTO
|
|
670
|
+
*/
|
|
671
|
+
'quantity'?: number;
|
|
672
|
+
/**
|
|
673
|
+
* ID
|
|
674
|
+
* @type {number}
|
|
675
|
+
* @memberof AdminItemRequestDTO
|
|
676
|
+
*/
|
|
677
|
+
'id'?: number | null;
|
|
678
|
+
/**
|
|
679
|
+
* 3CX Licence Key
|
|
680
|
+
* @type {string}
|
|
681
|
+
* @memberof AdminItemRequestDTO
|
|
682
|
+
*/
|
|
683
|
+
'licenceKey'?: string | null;
|
|
684
|
+
/**
|
|
685
|
+
* 3CX Hosting
|
|
686
|
+
* @type {boolean}
|
|
687
|
+
* @memberof AdminItemRequestDTO
|
|
688
|
+
*/
|
|
689
|
+
'hosting'?: boolean | null;
|
|
690
|
+
/**
|
|
691
|
+
* Date Time
|
|
692
|
+
* @type {string}
|
|
693
|
+
* @memberof AdminItemRequestDTO
|
|
694
|
+
*/
|
|
695
|
+
'processDate'?: string;
|
|
696
|
+
/**
|
|
697
|
+
* SBCS
|
|
698
|
+
* @type {Array<TcxSbcDTO>}
|
|
699
|
+
* @memberof AdminItemRequestDTO
|
|
700
|
+
*/
|
|
701
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
702
|
+
/**
|
|
703
|
+
* Title
|
|
704
|
+
* @type {string}
|
|
705
|
+
* @memberof AdminItemRequestDTO
|
|
706
|
+
*/
|
|
707
|
+
'title'?: string | null;
|
|
708
|
+
/**
|
|
709
|
+
* Price (£)
|
|
710
|
+
* @type {number}
|
|
711
|
+
* @memberof AdminItemRequestDTO
|
|
712
|
+
*/
|
|
713
|
+
'itemPrice'?: number | null;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Admin Order Request
|
|
717
|
+
* @export
|
|
718
|
+
* @interface AdminOrderRequestDTO
|
|
719
|
+
*/
|
|
720
|
+
export interface AdminOrderRequestDTO {
|
|
721
|
+
/**
|
|
722
|
+
* Order Reference
|
|
723
|
+
* @type {string}
|
|
724
|
+
* @memberof AdminOrderRequestDTO
|
|
725
|
+
*/
|
|
726
|
+
'orderReference'?: string | null;
|
|
727
|
+
/**
|
|
728
|
+
* Items
|
|
729
|
+
* @type {Array<AdminItemRequestDTO>}
|
|
730
|
+
* @memberof AdminOrderRequestDTO
|
|
731
|
+
*/
|
|
732
|
+
'items'?: Array<AdminItemRequestDTO>;
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {ShippingServiceDTO}
|
|
736
|
+
* @memberof AdminOrderRequestDTO
|
|
737
|
+
*/
|
|
738
|
+
'shippingService'?: ShippingServiceDTO;
|
|
739
|
+
/**
|
|
740
|
+
* Provisioning URL
|
|
741
|
+
* @type {string}
|
|
742
|
+
* @memberof AdminOrderRequestDTO
|
|
743
|
+
*/
|
|
744
|
+
'provisioningUrl'?: string | null;
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @type {AddressModel}
|
|
748
|
+
* @memberof AdminOrderRequestDTO
|
|
749
|
+
*/
|
|
750
|
+
'shippingAddress'?: AddressModel;
|
|
751
|
+
/**
|
|
752
|
+
* Part Ship Order
|
|
753
|
+
* @type {boolean}
|
|
754
|
+
* @memberof AdminOrderRequestDTO
|
|
755
|
+
*/
|
|
756
|
+
'partShip'?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* Quote
|
|
759
|
+
* @type {boolean}
|
|
760
|
+
* @memberof AdminOrderRequestDTO
|
|
761
|
+
*/
|
|
762
|
+
'quote'?: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* Customer ID
|
|
765
|
+
* @type {number}
|
|
766
|
+
* @memberof AdminOrderRequestDTO
|
|
767
|
+
*/
|
|
768
|
+
'customerId'?: number;
|
|
769
|
+
/**
|
|
770
|
+
* Contact
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof AdminOrderRequestDTO
|
|
773
|
+
*/
|
|
774
|
+
'contact'?: string;
|
|
775
|
+
/**
|
|
776
|
+
* Ignore Customer On Hold
|
|
777
|
+
* @type {boolean}
|
|
778
|
+
* @memberof AdminOrderRequestDTO
|
|
779
|
+
*/
|
|
780
|
+
'ignoreOnHold'?: boolean;
|
|
781
|
+
/**
|
|
782
|
+
* Ignore Customer Credit Limit
|
|
783
|
+
* @type {boolean}
|
|
784
|
+
* @memberof AdminOrderRequestDTO
|
|
785
|
+
*/
|
|
786
|
+
'ignoreCreditLimit'?: boolean;
|
|
787
|
+
/**
|
|
788
|
+
* Include NFR Promos
|
|
789
|
+
* @type {boolean}
|
|
790
|
+
* @memberof AdminOrderRequestDTO
|
|
791
|
+
*/
|
|
792
|
+
'includeNfrPromos'?: boolean;
|
|
793
|
+
/**
|
|
794
|
+
* Carriage Charge
|
|
795
|
+
* @type {number}
|
|
796
|
+
* @memberof AdminOrderRequestDTO
|
|
797
|
+
*/
|
|
798
|
+
'carriageCharge'?: number;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Admin User
|
|
802
|
+
* @export
|
|
803
|
+
* @interface AdminUserModel
|
|
804
|
+
*/
|
|
805
|
+
export interface AdminUserModel {
|
|
806
|
+
/**
|
|
807
|
+
* First Name
|
|
808
|
+
* @type {string}
|
|
809
|
+
* @memberof AdminUserModel
|
|
810
|
+
*/
|
|
811
|
+
'firstName'?: string;
|
|
812
|
+
/**
|
|
813
|
+
* Last Name
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof AdminUserModel
|
|
816
|
+
*/
|
|
817
|
+
'lastName'?: string;
|
|
818
|
+
/**
|
|
819
|
+
* Avatar
|
|
820
|
+
* @type {string}
|
|
821
|
+
* @memberof AdminUserModel
|
|
822
|
+
*/
|
|
823
|
+
'avatar'?: string | null;
|
|
824
|
+
/**
|
|
825
|
+
* Role
|
|
826
|
+
* @type {number}
|
|
827
|
+
* @memberof AdminUserModel
|
|
828
|
+
*/
|
|
829
|
+
'role'?: AdminUserModelRoleEnum;
|
|
830
|
+
/**
|
|
831
|
+
* Email
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof AdminUserModel
|
|
834
|
+
*/
|
|
835
|
+
'email'?: string | null;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export const AdminUserModelRoleEnum = {
|
|
839
|
+
NUMBER_0: 0,
|
|
840
|
+
NUMBER_1: 1,
|
|
841
|
+
NUMBER_2: 2,
|
|
842
|
+
NUMBER_3: 3,
|
|
843
|
+
NUMBER_4: 4
|
|
844
|
+
} as const;
|
|
845
|
+
|
|
846
|
+
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
847
|
+
|
|
538
848
|
/**
|
|
539
849
|
* Agent Hours Graph
|
|
540
850
|
* @export
|
|
@@ -764,6 +1074,44 @@ export interface AuthCodeResponseModel {
|
|
|
764
1074
|
*/
|
|
765
1075
|
'redirect_uri'?: string | null;
|
|
766
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* Basic Order Item
|
|
1079
|
+
* @export
|
|
1080
|
+
* @interface BasicItemDTO
|
|
1081
|
+
*/
|
|
1082
|
+
export interface BasicItemDTO {
|
|
1083
|
+
/**
|
|
1084
|
+
* SKU
|
|
1085
|
+
* @type {string}
|
|
1086
|
+
* @memberof BasicItemDTO
|
|
1087
|
+
*/
|
|
1088
|
+
'sku'?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Quantity
|
|
1091
|
+
* @type {number}
|
|
1092
|
+
* @memberof BasicItemDTO
|
|
1093
|
+
*/
|
|
1094
|
+
'quantity'?: number;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Basic Product
|
|
1098
|
+
* @export
|
|
1099
|
+
* @interface BasicProductDTO
|
|
1100
|
+
*/
|
|
1101
|
+
export interface BasicProductDTO {
|
|
1102
|
+
/**
|
|
1103
|
+
* SKU
|
|
1104
|
+
* @type {string}
|
|
1105
|
+
* @memberof BasicProductDTO
|
|
1106
|
+
*/
|
|
1107
|
+
'sku'?: string;
|
|
1108
|
+
/**
|
|
1109
|
+
* Title
|
|
1110
|
+
* @type {string}
|
|
1111
|
+
* @memberof BasicProductDTO
|
|
1112
|
+
*/
|
|
1113
|
+
'title'?: string;
|
|
1114
|
+
}
|
|
767
1115
|
/**
|
|
768
1116
|
* BatchesEntity
|
|
769
1117
|
* @export
|
|
@@ -958,12 +1306,6 @@ export interface ClientDetailsModel {
|
|
|
958
1306
|
* @memberof ClientDetailsModel
|
|
959
1307
|
*/
|
|
960
1308
|
'lastName'?: string;
|
|
961
|
-
/**
|
|
962
|
-
* User Profile Picture
|
|
963
|
-
* @type {string}
|
|
964
|
-
* @memberof ClientDetailsModel
|
|
965
|
-
*/
|
|
966
|
-
'image'?: string | null;
|
|
967
1309
|
}
|
|
968
1310
|
/**
|
|
969
1311
|
* OAuth client details
|
|
@@ -1126,45 +1468,112 @@ export interface ConversationModel {
|
|
|
1126
1468
|
'attachments'?: Array<AttachmentModel>;
|
|
1127
1469
|
}
|
|
1128
1470
|
/**
|
|
1129
|
-
*
|
|
1471
|
+
* CourierPricesEntity
|
|
1130
1472
|
* @export
|
|
1131
|
-
* @interface
|
|
1473
|
+
* @interface CourierPriceEntity
|
|
1132
1474
|
*/
|
|
1133
|
-
export interface
|
|
1475
|
+
export interface CourierPriceEntity {
|
|
1134
1476
|
/**
|
|
1135
|
-
*
|
|
1477
|
+
* id
|
|
1136
1478
|
* @type {number}
|
|
1137
|
-
* @memberof
|
|
1479
|
+
* @memberof CourierPriceEntity
|
|
1138
1480
|
*/
|
|
1139
1481
|
'id'?: number;
|
|
1140
1482
|
/**
|
|
1141
|
-
*
|
|
1483
|
+
* courier
|
|
1142
1484
|
* @type {string}
|
|
1143
|
-
* @memberof
|
|
1485
|
+
* @memberof CourierPriceEntity
|
|
1144
1486
|
*/
|
|
1145
|
-
'
|
|
1487
|
+
'courier'?: string;
|
|
1146
1488
|
/**
|
|
1147
|
-
*
|
|
1489
|
+
* destinationIso
|
|
1148
1490
|
* @type {string}
|
|
1149
|
-
* @memberof
|
|
1491
|
+
* @memberof CourierPriceEntity
|
|
1150
1492
|
*/
|
|
1151
|
-
'
|
|
1493
|
+
'destinationIso'?: string;
|
|
1152
1494
|
/**
|
|
1153
|
-
*
|
|
1495
|
+
* serviceDescription
|
|
1154
1496
|
* @type {string}
|
|
1155
|
-
* @memberof
|
|
1497
|
+
* @memberof CourierPriceEntity
|
|
1156
1498
|
*/
|
|
1157
|
-
'
|
|
1499
|
+
'serviceDescription'?: string;
|
|
1158
1500
|
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @type {
|
|
1161
|
-
* @memberof
|
|
1501
|
+
* flatRate
|
|
1502
|
+
* @type {number}
|
|
1503
|
+
* @memberof CourierPriceEntity
|
|
1162
1504
|
*/
|
|
1163
|
-
'
|
|
1505
|
+
'flatRate'?: number;
|
|
1164
1506
|
/**
|
|
1165
|
-
*
|
|
1166
|
-
* @type {
|
|
1167
|
-
* @memberof
|
|
1507
|
+
* initialBox
|
|
1508
|
+
* @type {number}
|
|
1509
|
+
* @memberof CourierPriceEntity
|
|
1510
|
+
*/
|
|
1511
|
+
'initialBox'?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* initialKg
|
|
1514
|
+
* @type {number}
|
|
1515
|
+
* @memberof CourierPriceEntity
|
|
1516
|
+
*/
|
|
1517
|
+
'initialKg'?: number;
|
|
1518
|
+
/**
|
|
1519
|
+
* perBox
|
|
1520
|
+
* @type {number}
|
|
1521
|
+
* @memberof CourierPriceEntity
|
|
1522
|
+
*/
|
|
1523
|
+
'perBox'?: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* perKg
|
|
1526
|
+
* @type {number}
|
|
1527
|
+
* @memberof CourierPriceEntity
|
|
1528
|
+
*/
|
|
1529
|
+
'perKg'?: number;
|
|
1530
|
+
/**
|
|
1531
|
+
* maxKg
|
|
1532
|
+
* @type {number}
|
|
1533
|
+
* @memberof CourierPriceEntity
|
|
1534
|
+
*/
|
|
1535
|
+
'maxKg'?: number;
|
|
1536
|
+
}
|
|
1537
|
+
/**
|
|
1538
|
+
* Credit Account
|
|
1539
|
+
* @export
|
|
1540
|
+
* @interface CreditAccountEntity
|
|
1541
|
+
*/
|
|
1542
|
+
export interface CreditAccountEntity {
|
|
1543
|
+
/**
|
|
1544
|
+
* ID
|
|
1545
|
+
* @type {number}
|
|
1546
|
+
* @memberof CreditAccountEntity
|
|
1547
|
+
*/
|
|
1548
|
+
'id'?: number;
|
|
1549
|
+
/**
|
|
1550
|
+
* Contact Name
|
|
1551
|
+
* @type {string}
|
|
1552
|
+
* @memberof CreditAccountEntity
|
|
1553
|
+
*/
|
|
1554
|
+
'name'?: string;
|
|
1555
|
+
/**
|
|
1556
|
+
* Email
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof CreditAccountEntity
|
|
1559
|
+
*/
|
|
1560
|
+
'email'?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Phone Number
|
|
1563
|
+
* @type {string}
|
|
1564
|
+
* @memberof CreditAccountEntity
|
|
1565
|
+
*/
|
|
1566
|
+
'phone'?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* Company Name
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof CreditAccountEntity
|
|
1571
|
+
*/
|
|
1572
|
+
'company'?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Company Registration Number
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof CreditAccountEntity
|
|
1168
1577
|
*/
|
|
1169
1578
|
'companyNumber'?: string;
|
|
1170
1579
|
/**
|
|
@@ -1307,6 +1716,104 @@ export interface CustomerInformationModel {
|
|
|
1307
1716
|
*/
|
|
1308
1717
|
'contactLastName'?: string;
|
|
1309
1718
|
}
|
|
1719
|
+
/**
|
|
1720
|
+
* Order Item Request
|
|
1721
|
+
* @export
|
|
1722
|
+
* @interface CustomerItemRequestDTO
|
|
1723
|
+
*/
|
|
1724
|
+
export interface CustomerItemRequestDTO {
|
|
1725
|
+
/**
|
|
1726
|
+
* SKU
|
|
1727
|
+
* @type {string}
|
|
1728
|
+
* @memberof CustomerItemRequestDTO
|
|
1729
|
+
*/
|
|
1730
|
+
'sku'?: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* Quantity
|
|
1733
|
+
* @type {number}
|
|
1734
|
+
* @memberof CustomerItemRequestDTO
|
|
1735
|
+
*/
|
|
1736
|
+
'quantity'?: number;
|
|
1737
|
+
/**
|
|
1738
|
+
* ID
|
|
1739
|
+
* @type {number}
|
|
1740
|
+
* @memberof CustomerItemRequestDTO
|
|
1741
|
+
*/
|
|
1742
|
+
'id'?: number | null;
|
|
1743
|
+
/**
|
|
1744
|
+
* 3CX Licence Key
|
|
1745
|
+
* @type {string}
|
|
1746
|
+
* @memberof CustomerItemRequestDTO
|
|
1747
|
+
*/
|
|
1748
|
+
'licenceKey'?: string | null;
|
|
1749
|
+
/**
|
|
1750
|
+
* 3CX Hosting
|
|
1751
|
+
* @type {boolean}
|
|
1752
|
+
* @memberof CustomerItemRequestDTO
|
|
1753
|
+
*/
|
|
1754
|
+
'hosting'?: boolean | null;
|
|
1755
|
+
/**
|
|
1756
|
+
* Date Time
|
|
1757
|
+
* @type {string}
|
|
1758
|
+
* @memberof CustomerItemRequestDTO
|
|
1759
|
+
*/
|
|
1760
|
+
'processDate'?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* SBCS
|
|
1763
|
+
* @type {Array<TcxSbcDTO>}
|
|
1764
|
+
* @memberof CustomerItemRequestDTO
|
|
1765
|
+
*/
|
|
1766
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Order Request
|
|
1770
|
+
* @export
|
|
1771
|
+
* @interface CustomerOrderRequestDTO
|
|
1772
|
+
*/
|
|
1773
|
+
export interface CustomerOrderRequestDTO {
|
|
1774
|
+
/**
|
|
1775
|
+
* Order Reference
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof CustomerOrderRequestDTO
|
|
1778
|
+
*/
|
|
1779
|
+
'orderReference'?: string | null;
|
|
1780
|
+
/**
|
|
1781
|
+
* Items
|
|
1782
|
+
* @type {Array<CustomerItemRequestDTO>}
|
|
1783
|
+
* @memberof CustomerOrderRequestDTO
|
|
1784
|
+
*/
|
|
1785
|
+
'items'?: Array<CustomerItemRequestDTO>;
|
|
1786
|
+
/**
|
|
1787
|
+
*
|
|
1788
|
+
* @type {ShippingServiceDTO}
|
|
1789
|
+
* @memberof CustomerOrderRequestDTO
|
|
1790
|
+
*/
|
|
1791
|
+
'shippingService'?: ShippingServiceDTO;
|
|
1792
|
+
/**
|
|
1793
|
+
* Provisioning URL
|
|
1794
|
+
* @type {string}
|
|
1795
|
+
* @memberof CustomerOrderRequestDTO
|
|
1796
|
+
*/
|
|
1797
|
+
'provisioningUrl'?: string | null;
|
|
1798
|
+
/**
|
|
1799
|
+
*
|
|
1800
|
+
* @type {AddressModel}
|
|
1801
|
+
* @memberof CustomerOrderRequestDTO
|
|
1802
|
+
*/
|
|
1803
|
+
'shippingAddress'?: AddressModel;
|
|
1804
|
+
/**
|
|
1805
|
+
* Part Ship Order
|
|
1806
|
+
* @type {boolean}
|
|
1807
|
+
* @memberof CustomerOrderRequestDTO
|
|
1808
|
+
*/
|
|
1809
|
+
'partShip'?: boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* Quote
|
|
1812
|
+
* @type {boolean}
|
|
1813
|
+
* @memberof CustomerOrderRequestDTO
|
|
1814
|
+
*/
|
|
1815
|
+
'quote'?: boolean;
|
|
1816
|
+
}
|
|
1310
1817
|
/**
|
|
1311
1818
|
* Customer Price List
|
|
1312
1819
|
* @export
|
|
@@ -1816,19 +2323,6 @@ export interface GenericFileModel {
|
|
|
1816
2323
|
*/
|
|
1817
2324
|
'type'?: string;
|
|
1818
2325
|
}
|
|
1819
|
-
/**
|
|
1820
|
-
*
|
|
1821
|
-
* @export
|
|
1822
|
-
* @interface GetGetPasswordHash200Response
|
|
1823
|
-
*/
|
|
1824
|
-
export interface GetGetPasswordHash200Response {
|
|
1825
|
-
/**
|
|
1826
|
-
*
|
|
1827
|
-
* @type {string}
|
|
1828
|
-
* @memberof GetGetPasswordHash200Response
|
|
1829
|
-
*/
|
|
1830
|
-
'hash'?: string;
|
|
1831
|
-
}
|
|
1832
2326
|
/**
|
|
1833
2327
|
*
|
|
1834
2328
|
* @export
|
|
@@ -2430,35 +2924,35 @@ export interface InstanceUserCredentialsEntity {
|
|
|
2430
2924
|
*/
|
|
2431
2925
|
export interface ItemDTO {
|
|
2432
2926
|
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {
|
|
2927
|
+
* SKU
|
|
2928
|
+
* @type {string}
|
|
2435
2929
|
* @memberof ItemDTO
|
|
2436
2930
|
*/
|
|
2437
|
-
'
|
|
2931
|
+
'sku'?: string;
|
|
2438
2932
|
/**
|
|
2439
|
-
*
|
|
2933
|
+
* Quantity
|
|
2440
2934
|
* @type {number}
|
|
2441
2935
|
* @memberof ItemDTO
|
|
2442
2936
|
*/
|
|
2443
|
-
'
|
|
2937
|
+
'quantity'?: number;
|
|
2444
2938
|
/**
|
|
2445
|
-
*
|
|
2446
|
-
* @type {
|
|
2939
|
+
* ID
|
|
2940
|
+
* @type {number}
|
|
2447
2941
|
* @memberof ItemDTO
|
|
2448
2942
|
*/
|
|
2449
|
-
'
|
|
2943
|
+
'id'?: number | null;
|
|
2450
2944
|
/**
|
|
2451
|
-
*
|
|
2452
|
-
* @type {
|
|
2945
|
+
* Order ID
|
|
2946
|
+
* @type {number}
|
|
2453
2947
|
* @memberof ItemDTO
|
|
2454
2948
|
*/
|
|
2455
|
-
'
|
|
2949
|
+
'orderId'?: number | null;
|
|
2456
2950
|
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @type {
|
|
2951
|
+
* Title
|
|
2952
|
+
* @type {string}
|
|
2459
2953
|
* @memberof ItemDTO
|
|
2460
2954
|
*/
|
|
2461
|
-
'
|
|
2955
|
+
'title'?: string;
|
|
2462
2956
|
/**
|
|
2463
2957
|
* Price
|
|
2464
2958
|
* @type {number}
|
|
@@ -2483,6 +2977,12 @@ export interface ItemDTO {
|
|
|
2483
2977
|
* @memberof ItemDTO
|
|
2484
2978
|
*/
|
|
2485
2979
|
'processDate'?: string;
|
|
2980
|
+
/**
|
|
2981
|
+
* 3CX Hosting
|
|
2982
|
+
* @type {boolean}
|
|
2983
|
+
* @memberof ItemDTO
|
|
2984
|
+
*/
|
|
2985
|
+
'hosting'?: boolean | null;
|
|
2486
2986
|
/**
|
|
2487
2987
|
* Promo Item
|
|
2488
2988
|
* @type {boolean}
|
|
@@ -2494,7 +2994,25 @@ export interface ItemDTO {
|
|
|
2494
2994
|
* @type {number}
|
|
2495
2995
|
* @memberof ItemDTO
|
|
2496
2996
|
*/
|
|
2497
|
-
'refunded'?: number;
|
|
2997
|
+
'refunded'?: number | null;
|
|
2998
|
+
/**
|
|
2999
|
+
* SBCs
|
|
3000
|
+
* @type {Array<TcxSbcDTO>}
|
|
3001
|
+
* @memberof ItemDTO
|
|
3002
|
+
*/
|
|
3003
|
+
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
3004
|
+
/**
|
|
3005
|
+
* Readonly
|
|
3006
|
+
* @type {boolean}
|
|
3007
|
+
* @memberof ItemDTO
|
|
3008
|
+
*/
|
|
3009
|
+
'readonly'?: boolean;
|
|
3010
|
+
/**
|
|
3011
|
+
* 3CX Sales Code
|
|
3012
|
+
* @type {string}
|
|
3013
|
+
* @memberof ItemDTO
|
|
3014
|
+
*/
|
|
3015
|
+
'tcxSalesCode'?: string | null;
|
|
2498
3016
|
}
|
|
2499
3017
|
/**
|
|
2500
3018
|
* ItemsEntity
|
|
@@ -2628,6 +3146,31 @@ export interface ItemEntity {
|
|
|
2628
3146
|
* @memberof ItemEntity
|
|
2629
3147
|
*/
|
|
2630
3148
|
'promoItem'?: number;
|
|
3149
|
+
/**
|
|
3150
|
+
* 3CX Sales Code
|
|
3151
|
+
* @type {string}
|
|
3152
|
+
* @memberof ItemEntity
|
|
3153
|
+
*/
|
|
3154
|
+
'tcxSalesCode'?: string | null;
|
|
3155
|
+
}
|
|
3156
|
+
/**
|
|
3157
|
+
* LinkedOrdersEntity
|
|
3158
|
+
* @export
|
|
3159
|
+
* @interface LinkedOrderEntity
|
|
3160
|
+
*/
|
|
3161
|
+
export interface LinkedOrderEntity {
|
|
3162
|
+
/**
|
|
3163
|
+
* orderId
|
|
3164
|
+
* @type {number}
|
|
3165
|
+
* @memberof LinkedOrderEntity
|
|
3166
|
+
*/
|
|
3167
|
+
'orderId'?: number;
|
|
3168
|
+
/**
|
|
3169
|
+
* linkedOrderId
|
|
3170
|
+
* @type {number}
|
|
3171
|
+
* @memberof LinkedOrderEntity
|
|
3172
|
+
*/
|
|
3173
|
+
'linkedOrderId'?: number;
|
|
2631
3174
|
}
|
|
2632
3175
|
/**
|
|
2633
3176
|
* MFA Required
|
|
@@ -3288,13 +3831,19 @@ export interface OrderSummaryDTO {
|
|
|
3288
3831
|
* @type {string}
|
|
3289
3832
|
* @memberof OrderSummaryDTO
|
|
3290
3833
|
*/
|
|
3291
|
-
'reference'?: string;
|
|
3834
|
+
'reference'?: string | null;
|
|
3292
3835
|
/**
|
|
3293
3836
|
* Invoice Number
|
|
3294
3837
|
* @type {string}
|
|
3295
3838
|
* @memberof OrderSummaryDTO
|
|
3296
3839
|
*/
|
|
3297
3840
|
'invoiceNumber'?: string;
|
|
3841
|
+
/**
|
|
3842
|
+
* Invoice ID
|
|
3843
|
+
* @type {string}
|
|
3844
|
+
* @memberof OrderSummaryDTO
|
|
3845
|
+
*/
|
|
3846
|
+
'invoiceId'?: string | null;
|
|
3298
3847
|
/**
|
|
3299
3848
|
* Date Time
|
|
3300
3849
|
* @type {string}
|
|
@@ -3349,6 +3898,24 @@ export interface OrderSummaryDTO {
|
|
|
3349
3898
|
* @memberof OrderSummaryDTO
|
|
3350
3899
|
*/
|
|
3351
3900
|
'fulfillable'?: boolean | null;
|
|
3901
|
+
/**
|
|
3902
|
+
* Provisioning URL
|
|
3903
|
+
* @type {string}
|
|
3904
|
+
* @memberof OrderSummaryDTO
|
|
3905
|
+
*/
|
|
3906
|
+
'provisioningUrl'?: string | null;
|
|
3907
|
+
/**
|
|
3908
|
+
*
|
|
3909
|
+
* @type {ShippingServiceDTO}
|
|
3910
|
+
* @memberof OrderSummaryDTO
|
|
3911
|
+
*/
|
|
3912
|
+
'shippingService'?: ShippingServiceDTO | null;
|
|
3913
|
+
/**
|
|
3914
|
+
* Readonly
|
|
3915
|
+
* @type {boolean}
|
|
3916
|
+
* @memberof OrderSummaryDTO
|
|
3917
|
+
*/
|
|
3918
|
+
'readonly'?: boolean;
|
|
3352
3919
|
}
|
|
3353
3920
|
/**
|
|
3354
3921
|
* Order Totals
|
|
@@ -3398,6 +3965,12 @@ export interface OrderTotalModel {
|
|
|
3398
3965
|
* @memberof OrderTotalModel
|
|
3399
3966
|
*/
|
|
3400
3967
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
3968
|
+
/**
|
|
3969
|
+
* Delivery
|
|
3970
|
+
* @type {number}
|
|
3971
|
+
* @memberof OrderTotalModel
|
|
3972
|
+
*/
|
|
3973
|
+
'delivery'?: number | null;
|
|
3401
3974
|
}
|
|
3402
3975
|
|
|
3403
3976
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -3779,6 +4352,31 @@ export interface PostGetClientCredentialsRequest {
|
|
|
3779
4352
|
*/
|
|
3780
4353
|
'scopes'?: Array<string>;
|
|
3781
4354
|
}
|
|
4355
|
+
/**
|
|
4356
|
+
*
|
|
4357
|
+
* @export
|
|
4358
|
+
* @interface PostGetProductForCustomerRequest
|
|
4359
|
+
*/
|
|
4360
|
+
export interface PostGetProductForCustomerRequest {
|
|
4361
|
+
/**
|
|
4362
|
+
* Quantity
|
|
4363
|
+
* @type {number}
|
|
4364
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4365
|
+
*/
|
|
4366
|
+
'quantity'?: number | null;
|
|
4367
|
+
/**
|
|
4368
|
+
* 3CX Licence Key
|
|
4369
|
+
* @type {string}
|
|
4370
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4371
|
+
*/
|
|
4372
|
+
'licenceKey'?: string | null;
|
|
4373
|
+
/**
|
|
4374
|
+
* 3CX Hosting
|
|
4375
|
+
* @type {boolean}
|
|
4376
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4377
|
+
*/
|
|
4378
|
+
'hosting'?: boolean | null;
|
|
4379
|
+
}
|
|
3782
4380
|
/**
|
|
3783
4381
|
* Price & Stock List
|
|
3784
4382
|
* @export
|
|
@@ -3867,10 +4465,10 @@ export interface PrizesEntity {
|
|
|
3867
4465
|
export interface ProductSearchResultsModel {
|
|
3868
4466
|
/**
|
|
3869
4467
|
* Results
|
|
3870
|
-
* @type {Array<
|
|
4468
|
+
* @type {Array<ProductSummaryDTO>}
|
|
3871
4469
|
* @memberof ProductSearchResultsModel
|
|
3872
4470
|
*/
|
|
3873
|
-
'results'?: Array<
|
|
4471
|
+
'results'?: Array<ProductSummaryDTO>;
|
|
3874
4472
|
}
|
|
3875
4473
|
/**
|
|
3876
4474
|
* Product Serial Info
|
|
@@ -3906,45 +4504,51 @@ export interface ProductSerialInfoModel {
|
|
|
3906
4504
|
/**
|
|
3907
4505
|
* Product Summary
|
|
3908
4506
|
* @export
|
|
3909
|
-
* @interface
|
|
4507
|
+
* @interface ProductSummaryDTO
|
|
3910
4508
|
*/
|
|
3911
|
-
export interface
|
|
4509
|
+
export interface ProductSummaryDTO {
|
|
3912
4510
|
/**
|
|
3913
4511
|
* SKU
|
|
3914
4512
|
* @type {string}
|
|
3915
|
-
* @memberof
|
|
4513
|
+
* @memberof ProductSummaryDTO
|
|
3916
4514
|
*/
|
|
3917
4515
|
'sku'?: string;
|
|
3918
4516
|
/**
|
|
3919
4517
|
* Title
|
|
3920
4518
|
* @type {string}
|
|
3921
|
-
* @memberof
|
|
4519
|
+
* @memberof ProductSummaryDTO
|
|
3922
4520
|
*/
|
|
3923
4521
|
'title'?: string;
|
|
3924
4522
|
/**
|
|
3925
4523
|
* Stock Quantity
|
|
3926
4524
|
* @type {number}
|
|
3927
|
-
* @memberof
|
|
4525
|
+
* @memberof ProductSummaryDTO
|
|
3928
4526
|
*/
|
|
3929
4527
|
'quantity'?: number | null;
|
|
3930
4528
|
/**
|
|
3931
4529
|
* Stock Product
|
|
3932
4530
|
* @type {boolean}
|
|
3933
|
-
* @memberof
|
|
4531
|
+
* @memberof ProductSummaryDTO
|
|
3934
4532
|
*/
|
|
3935
4533
|
'stockProduct'?: boolean;
|
|
3936
4534
|
/**
|
|
3937
4535
|
* Price
|
|
3938
4536
|
* @type {number}
|
|
3939
|
-
* @memberof
|
|
4537
|
+
* @memberof ProductSummaryDTO
|
|
3940
4538
|
*/
|
|
3941
4539
|
'price'?: number | null;
|
|
3942
4540
|
/**
|
|
3943
4541
|
* Carton Size
|
|
3944
4542
|
* @type {number}
|
|
3945
|
-
* @memberof
|
|
4543
|
+
* @memberof ProductSummaryDTO
|
|
3946
4544
|
*/
|
|
3947
4545
|
'cartonSize'?: number | null;
|
|
4546
|
+
/**
|
|
4547
|
+
* RRP Price
|
|
4548
|
+
* @type {number}
|
|
4549
|
+
* @memberof ProductSummaryDTO
|
|
4550
|
+
*/
|
|
4551
|
+
'rrp'?: number | null;
|
|
3948
4552
|
}
|
|
3949
4553
|
/**
|
|
3950
4554
|
* PromoCodesEntity
|
|
@@ -4083,37 +4687,37 @@ export interface PromoItemsEntity {
|
|
|
4083
4687
|
/**
|
|
4084
4688
|
* Provisioning Group
|
|
4085
4689
|
* @export
|
|
4086
|
-
* @interface
|
|
4690
|
+
* @interface ProvisioningModel
|
|
4087
4691
|
*/
|
|
4088
|
-
export interface
|
|
4692
|
+
export interface ProvisioningModel {
|
|
4089
4693
|
/**
|
|
4090
4694
|
* Provisioning Group Name
|
|
4091
4695
|
* @type {string}
|
|
4092
|
-
* @memberof
|
|
4696
|
+
* @memberof ProvisioningModel
|
|
4093
4697
|
*/
|
|
4094
4698
|
'groupName'?: string;
|
|
4095
4699
|
/**
|
|
4096
4700
|
* Provisioning URL (Static Provisioning Server)
|
|
4097
4701
|
* @type {string}
|
|
4098
|
-
* @memberof
|
|
4702
|
+
* @memberof ProvisioningModel
|
|
4099
4703
|
*/
|
|
4100
4704
|
'provisioningUrl'?: string;
|
|
4101
4705
|
/**
|
|
4102
4706
|
* Additional Authentication Secret
|
|
4103
4707
|
* @type {string}
|
|
4104
|
-
* @memberof
|
|
4708
|
+
* @memberof ProvisioningModel
|
|
4105
4709
|
*/
|
|
4106
4710
|
'auth'?: string;
|
|
4107
4711
|
/**
|
|
4108
4712
|
* Provisioning Group ID
|
|
4109
4713
|
* @type {number}
|
|
4110
|
-
* @memberof
|
|
4714
|
+
* @memberof ProvisioningModel
|
|
4111
4715
|
*/
|
|
4112
4716
|
'id'?: number;
|
|
4113
4717
|
/**
|
|
4114
4718
|
* Owner ID
|
|
4115
4719
|
* @type {number}
|
|
4116
|
-
* @memberof
|
|
4720
|
+
* @memberof ProvisioningModel
|
|
4117
4721
|
*/
|
|
4118
4722
|
'customerId'?: number;
|
|
4119
4723
|
}
|
|
@@ -4467,7 +5071,7 @@ export interface ShipmentEntity {
|
|
|
4467
5071
|
* @type {string}
|
|
4468
5072
|
* @memberof ShipmentEntity
|
|
4469
5073
|
*/
|
|
4470
|
-
'
|
|
5074
|
+
'dateShipped'?: string;
|
|
4471
5075
|
/**
|
|
4472
5076
|
* requestDate
|
|
4473
5077
|
* @type {string}
|
|
@@ -4519,41 +5123,190 @@ export interface ShipmentItemEntity {
|
|
|
4519
5123
|
'itemId'?: string;
|
|
4520
5124
|
}
|
|
4521
5125
|
/**
|
|
4522
|
-
*
|
|
5126
|
+
*
|
|
4523
5127
|
* @export
|
|
4524
|
-
* @interface
|
|
5128
|
+
* @interface ShippingConsignmentModel
|
|
4525
5129
|
*/
|
|
4526
|
-
export interface
|
|
4527
|
-
/**
|
|
4528
|
-
* ID
|
|
4529
|
-
* @type {string}
|
|
4530
|
-
* @memberof SipTrunkChangeResponseModel
|
|
4531
|
-
*/
|
|
4532
|
-
'changeId'?: string;
|
|
5130
|
+
export interface ShippingConsignmentModel {
|
|
4533
5131
|
/**
|
|
4534
5132
|
*
|
|
4535
|
-
* @type {
|
|
4536
|
-
* @memberof
|
|
5133
|
+
* @type {ShippingServiceModel}
|
|
5134
|
+
* @memberof ShippingConsignmentModel
|
|
4537
5135
|
*/
|
|
4538
|
-
'
|
|
5136
|
+
'service'?: ShippingServiceModel;
|
|
4539
5137
|
/**
|
|
4540
|
-
*
|
|
5138
|
+
* ID/Number
|
|
4541
5139
|
* @type {string}
|
|
4542
|
-
* @memberof
|
|
5140
|
+
* @memberof ShippingConsignmentModel
|
|
4543
5141
|
*/
|
|
4544
|
-
'
|
|
5142
|
+
'id'?: string;
|
|
4545
5143
|
/**
|
|
4546
|
-
*
|
|
4547
|
-
* @type {
|
|
4548
|
-
* @memberof
|
|
5144
|
+
* Tracking Number
|
|
5145
|
+
* @type {string}
|
|
5146
|
+
* @memberof ShippingConsignmentModel
|
|
4549
5147
|
*/
|
|
4550
|
-
'
|
|
5148
|
+
'trackingNumber'?: string;
|
|
4551
5149
|
/**
|
|
4552
|
-
*
|
|
4553
|
-
* @type {
|
|
4554
|
-
* @memberof
|
|
5150
|
+
* Parcels
|
|
5151
|
+
* @type {Array<string>}
|
|
5152
|
+
* @memberof ShippingConsignmentModel
|
|
4555
5153
|
*/
|
|
4556
|
-
'
|
|
5154
|
+
'parcelIds'?: Array<string>;
|
|
5155
|
+
}
|
|
5156
|
+
/**
|
|
5157
|
+
* Shipping Information
|
|
5158
|
+
* @export
|
|
5159
|
+
* @interface ShippingInformationDTO
|
|
5160
|
+
*/
|
|
5161
|
+
export interface ShippingInformationDTO {
|
|
5162
|
+
/**
|
|
5163
|
+
* Items
|
|
5164
|
+
* @type {Array<BasicItemDTO>}
|
|
5165
|
+
* @memberof ShippingInformationDTO
|
|
5166
|
+
*/
|
|
5167
|
+
'items'?: Array<BasicItemDTO>;
|
|
5168
|
+
/**
|
|
5169
|
+
* Destination Post Code
|
|
5170
|
+
* @type {string}
|
|
5171
|
+
* @memberof ShippingInformationDTO
|
|
5172
|
+
*/
|
|
5173
|
+
'postalCode'?: string;
|
|
5174
|
+
/**
|
|
5175
|
+
* Destination ISO
|
|
5176
|
+
* @type {string}
|
|
5177
|
+
* @memberof ShippingInformationDTO
|
|
5178
|
+
*/
|
|
5179
|
+
'iso'?: string;
|
|
5180
|
+
}
|
|
5181
|
+
/**
|
|
5182
|
+
* Shipping Service
|
|
5183
|
+
* @export
|
|
5184
|
+
* @interface ShippingServiceDTO
|
|
5185
|
+
*/
|
|
5186
|
+
export interface ShippingServiceDTO {
|
|
5187
|
+
/**
|
|
5188
|
+
* Courier
|
|
5189
|
+
* @type {string}
|
|
5190
|
+
* @memberof ShippingServiceDTO
|
|
5191
|
+
*/
|
|
5192
|
+
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5193
|
+
/**
|
|
5194
|
+
* Service Name
|
|
5195
|
+
* @type {string}
|
|
5196
|
+
* @memberof ShippingServiceDTO
|
|
5197
|
+
*/
|
|
5198
|
+
'serviceName'?: string;
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
export const ShippingServiceDTOCourierEnum = {
|
|
5202
|
+
Dpd: 'DPD',
|
|
5203
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5204
|
+
Pops: 'POPS'
|
|
5205
|
+
} as const;
|
|
5206
|
+
|
|
5207
|
+
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5208
|
+
|
|
5209
|
+
/**
|
|
5210
|
+
* Shipping Service
|
|
5211
|
+
* @export
|
|
5212
|
+
* @interface ShippingServiceModel
|
|
5213
|
+
*/
|
|
5214
|
+
export interface ShippingServiceModel {
|
|
5215
|
+
/**
|
|
5216
|
+
* Courier
|
|
5217
|
+
* @type {string}
|
|
5218
|
+
* @memberof ShippingServiceModel
|
|
5219
|
+
*/
|
|
5220
|
+
'courier'?: ShippingServiceModelCourierEnum;
|
|
5221
|
+
/**
|
|
5222
|
+
* Code
|
|
5223
|
+
* @type {string}
|
|
5224
|
+
* @memberof ShippingServiceModel
|
|
5225
|
+
*/
|
|
5226
|
+
'code'?: string;
|
|
5227
|
+
/**
|
|
5228
|
+
* Name
|
|
5229
|
+
* @type {string}
|
|
5230
|
+
* @memberof ShippingServiceModel
|
|
5231
|
+
*/
|
|
5232
|
+
'name'?: string;
|
|
5233
|
+
/**
|
|
5234
|
+
* Description
|
|
5235
|
+
* @type {string}
|
|
5236
|
+
* @memberof ShippingServiceModel
|
|
5237
|
+
*/
|
|
5238
|
+
'description'?: string;
|
|
5239
|
+
/**
|
|
5240
|
+
* Label
|
|
5241
|
+
* @type {string}
|
|
5242
|
+
* @memberof ShippingServiceModel
|
|
5243
|
+
*/
|
|
5244
|
+
'label'?: string | null;
|
|
5245
|
+
/**
|
|
5246
|
+
* Price
|
|
5247
|
+
* @type {number}
|
|
5248
|
+
* @memberof ShippingServiceModel
|
|
5249
|
+
*/
|
|
5250
|
+
'price'?: number | null;
|
|
5251
|
+
}
|
|
5252
|
+
|
|
5253
|
+
export const ShippingServiceModelCourierEnum = {
|
|
5254
|
+
Dpd: 'DPD',
|
|
5255
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5256
|
+
Pops: 'POPS'
|
|
5257
|
+
} as const;
|
|
5258
|
+
|
|
5259
|
+
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5260
|
+
|
|
5261
|
+
/**
|
|
5262
|
+
*
|
|
5263
|
+
* @export
|
|
5264
|
+
* @interface ShippingServicesModel
|
|
5265
|
+
*/
|
|
5266
|
+
export interface ShippingServicesModel {
|
|
5267
|
+
/**
|
|
5268
|
+
* Services
|
|
5269
|
+
* @type {Array<ShippingServiceModel>}
|
|
5270
|
+
* @memberof ShippingServicesModel
|
|
5271
|
+
*/
|
|
5272
|
+
'services'?: Array<ShippingServiceModel>;
|
|
5273
|
+
}
|
|
5274
|
+
/**
|
|
5275
|
+
* Change Response
|
|
5276
|
+
* @export
|
|
5277
|
+
* @interface SipTrunkChangeResponseModel
|
|
5278
|
+
*/
|
|
5279
|
+
export interface SipTrunkChangeResponseModel {
|
|
5280
|
+
/**
|
|
5281
|
+
* ID
|
|
5282
|
+
* @type {string}
|
|
5283
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5284
|
+
*/
|
|
5285
|
+
'changeId'?: string;
|
|
5286
|
+
/**
|
|
5287
|
+
*
|
|
5288
|
+
* @type {SipTrunkEntity}
|
|
5289
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5290
|
+
*/
|
|
5291
|
+
'trunk'?: SipTrunkEntity;
|
|
5292
|
+
/**
|
|
5293
|
+
* Type
|
|
5294
|
+
* @type {string}
|
|
5295
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5296
|
+
*/
|
|
5297
|
+
'type'?: SipTrunkChangeResponseModelTypeEnum;
|
|
5298
|
+
/**
|
|
5299
|
+
* Progress
|
|
5300
|
+
* @type {number}
|
|
5301
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5302
|
+
*/
|
|
5303
|
+
'progress'?: number;
|
|
5304
|
+
/**
|
|
5305
|
+
* Service Provider
|
|
5306
|
+
* @type {number}
|
|
5307
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5308
|
+
*/
|
|
5309
|
+
'provider'?: number;
|
|
4557
5310
|
}
|
|
4558
5311
|
|
|
4559
5312
|
export const SipTrunkChangeResponseModelTypeEnum = {
|
|
@@ -7357,6 +8110,49 @@ export interface TcxRemoteStorageModel {
|
|
|
7357
8110
|
*/
|
|
7358
8111
|
'secretAccessKey'?: string;
|
|
7359
8112
|
}
|
|
8113
|
+
/**
|
|
8114
|
+
* SBC Data
|
|
8115
|
+
* @export
|
|
8116
|
+
* @interface TcxSbcDTO
|
|
8117
|
+
*/
|
|
8118
|
+
export interface TcxSbcDTO {
|
|
8119
|
+
/**
|
|
8120
|
+
* LAN IP Address
|
|
8121
|
+
* @type {string}
|
|
8122
|
+
* @memberof TcxSbcDTO
|
|
8123
|
+
*/
|
|
8124
|
+
'ipAddress'?: string;
|
|
8125
|
+
/**
|
|
8126
|
+
* LAN Default Gateway
|
|
8127
|
+
* @type {string}
|
|
8128
|
+
* @memberof TcxSbcDTO
|
|
8129
|
+
*/
|
|
8130
|
+
'defaultGateway'?: string;
|
|
8131
|
+
/**
|
|
8132
|
+
* LAN Subnet Mask
|
|
8133
|
+
* @type {string}
|
|
8134
|
+
* @memberof TcxSbcDTO
|
|
8135
|
+
*/
|
|
8136
|
+
'netmask'?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* DNS
|
|
8139
|
+
* @type {string}
|
|
8140
|
+
* @memberof TcxSbcDTO
|
|
8141
|
+
*/
|
|
8142
|
+
'dns'?: string;
|
|
8143
|
+
/**
|
|
8144
|
+
* 3CX URL
|
|
8145
|
+
* @type {string}
|
|
8146
|
+
* @memberof TcxSbcDTO
|
|
8147
|
+
*/
|
|
8148
|
+
'tcxUrl'?: string;
|
|
8149
|
+
/**
|
|
8150
|
+
* 3CX SBC Key
|
|
8151
|
+
* @type {string}
|
|
8152
|
+
* @memberof TcxSbcDTO
|
|
8153
|
+
*/
|
|
8154
|
+
'tcxKey'?: string;
|
|
8155
|
+
}
|
|
7360
8156
|
/**
|
|
7361
8157
|
* 3CX Wizard SBC
|
|
7362
8158
|
* @export
|
|
@@ -7461,7 +8257,7 @@ export interface TcxSbcEntity {
|
|
|
7461
8257
|
'technicalContact'?: string;
|
|
7462
8258
|
}
|
|
7463
8259
|
/**
|
|
7464
|
-
* 3CX SBC
|
|
8260
|
+
* 3CX Wizard SBC
|
|
7465
8261
|
* @export
|
|
7466
8262
|
* @interface TcxSbcModel
|
|
7467
8263
|
*/
|
|
@@ -8646,6 +9442,40 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8646
9442
|
|
|
8647
9443
|
|
|
8648
9444
|
|
|
9445
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9446
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9447
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9448
|
+
|
|
9449
|
+
return {
|
|
9450
|
+
url: toPathString(localVarUrlObj),
|
|
9451
|
+
options: localVarRequestOptions,
|
|
9452
|
+
};
|
|
9453
|
+
},
|
|
9454
|
+
/**
|
|
9455
|
+
* Get Account Detailed Summary
|
|
9456
|
+
* @summary Get Account Detailed Summary
|
|
9457
|
+
* @param {number} id Customer ID
|
|
9458
|
+
* @param {*} [options] Override http request option.
|
|
9459
|
+
* @throws {RequiredError}
|
|
9460
|
+
*/
|
|
9461
|
+
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9462
|
+
// verify required parameter 'id' is not null or undefined
|
|
9463
|
+
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9464
|
+
const localVarPath = `/accounts/{id}/summary`
|
|
9465
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9466
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9468
|
+
let baseOptions;
|
|
9469
|
+
if (configuration) {
|
|
9470
|
+
baseOptions = configuration.baseOptions;
|
|
9471
|
+
}
|
|
9472
|
+
|
|
9473
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9474
|
+
const localVarHeaderParameter = {} as any;
|
|
9475
|
+
const localVarQueryParameter = {} as any;
|
|
9476
|
+
|
|
9477
|
+
|
|
9478
|
+
|
|
8649
9479
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8650
9480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8651
9481
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8944,6 +9774,36 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8944
9774
|
options: localVarRequestOptions,
|
|
8945
9775
|
};
|
|
8946
9776
|
},
|
|
9777
|
+
/**
|
|
9778
|
+
* Get Admin Account
|
|
9779
|
+
* @summary Get Admin Account
|
|
9780
|
+
* @param {*} [options] Override http request option.
|
|
9781
|
+
* @throws {RequiredError}
|
|
9782
|
+
*/
|
|
9783
|
+
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9784
|
+
const localVarPath = `/admin/me`;
|
|
9785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9787
|
+
let baseOptions;
|
|
9788
|
+
if (configuration) {
|
|
9789
|
+
baseOptions = configuration.baseOptions;
|
|
9790
|
+
}
|
|
9791
|
+
|
|
9792
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9793
|
+
const localVarHeaderParameter = {} as any;
|
|
9794
|
+
const localVarQueryParameter = {} as any;
|
|
9795
|
+
|
|
9796
|
+
|
|
9797
|
+
|
|
9798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9801
|
+
|
|
9802
|
+
return {
|
|
9803
|
+
url: toPathString(localVarUrlObj),
|
|
9804
|
+
options: localVarRequestOptions,
|
|
9805
|
+
};
|
|
9806
|
+
},
|
|
8947
9807
|
/**
|
|
8948
9808
|
* Create client credentials
|
|
8949
9809
|
* @summary Create client credentials
|
|
@@ -9193,6 +10053,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9193
10053
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
9194
10054
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9195
10055
|
},
|
|
10056
|
+
/**
|
|
10057
|
+
* Get Account Detailed Summary
|
|
10058
|
+
* @summary Get Account Detailed Summary
|
|
10059
|
+
* @param {number} id Customer ID
|
|
10060
|
+
* @param {*} [options] Override http request option.
|
|
10061
|
+
* @throws {RequiredError}
|
|
10062
|
+
*/
|
|
10063
|
+
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
10064
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
10065
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10066
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
10067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10068
|
+
},
|
|
9196
10069
|
/**
|
|
9197
10070
|
* Get Accounts
|
|
9198
10071
|
* @summary Get Accounts
|
|
@@ -9298,6 +10171,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9298
10171
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
9299
10172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9300
10173
|
},
|
|
10174
|
+
/**
|
|
10175
|
+
* Get Admin Account
|
|
10176
|
+
* @summary Get Admin Account
|
|
10177
|
+
* @param {*} [options] Override http request option.
|
|
10178
|
+
* @throws {RequiredError}
|
|
10179
|
+
*/
|
|
10180
|
+
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10183
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10185
|
+
},
|
|
9301
10186
|
/**
|
|
9302
10187
|
* Create client credentials
|
|
9303
10188
|
* @summary Create client credentials
|
|
@@ -9415,6 +10300,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9415
10300
|
getGetAccountContacts(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountContactModel>> {
|
|
9416
10301
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
9417
10302
|
},
|
|
10303
|
+
/**
|
|
10304
|
+
* Get Account Detailed Summary
|
|
10305
|
+
* @summary Get Account Detailed Summary
|
|
10306
|
+
* @param {number} id Customer ID
|
|
10307
|
+
* @param {*} [options] Override http request option.
|
|
10308
|
+
* @throws {RequiredError}
|
|
10309
|
+
*/
|
|
10310
|
+
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10311
|
+
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10312
|
+
},
|
|
9418
10313
|
/**
|
|
9419
10314
|
* Get Accounts
|
|
9420
10315
|
* @summary Get Accounts
|
|
@@ -9496,6 +10391,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9496
10391
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
9497
10392
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
9498
10393
|
},
|
|
10394
|
+
/**
|
|
10395
|
+
* Get Admin Account
|
|
10396
|
+
* @summary Get Admin Account
|
|
10397
|
+
* @param {*} [options] Override http request option.
|
|
10398
|
+
* @throws {RequiredError}
|
|
10399
|
+
*/
|
|
10400
|
+
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10401
|
+
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10402
|
+
},
|
|
9499
10403
|
/**
|
|
9500
10404
|
* Create client credentials
|
|
9501
10405
|
* @summary Create client credentials
|
|
@@ -9606,6 +10510,18 @@ export class AccountsApi extends BaseAPI {
|
|
|
9606
10510
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
9607
10511
|
}
|
|
9608
10512
|
|
|
10513
|
+
/**
|
|
10514
|
+
* Get Account Detailed Summary
|
|
10515
|
+
* @summary Get Account Detailed Summary
|
|
10516
|
+
* @param {number} id Customer ID
|
|
10517
|
+
* @param {*} [options] Override http request option.
|
|
10518
|
+
* @throws {RequiredError}
|
|
10519
|
+
* @memberof AccountsApi
|
|
10520
|
+
*/
|
|
10521
|
+
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10522
|
+
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10523
|
+
}
|
|
10524
|
+
|
|
9609
10525
|
/**
|
|
9610
10526
|
* Get Accounts
|
|
9611
10527
|
* @summary Get Accounts
|
|
@@ -9703,6 +10619,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
9703
10619
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
9704
10620
|
}
|
|
9705
10621
|
|
|
10622
|
+
/**
|
|
10623
|
+
* Get Admin Account
|
|
10624
|
+
* @summary Get Admin Account
|
|
10625
|
+
* @param {*} [options] Override http request option.
|
|
10626
|
+
* @throws {RequiredError}
|
|
10627
|
+
* @memberof AccountsApi
|
|
10628
|
+
*/
|
|
10629
|
+
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10630
|
+
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10631
|
+
}
|
|
10632
|
+
|
|
9706
10633
|
/**
|
|
9707
10634
|
* Create client credentials
|
|
9708
10635
|
* @summary Create client credentials
|
|
@@ -9803,43 +10730,6 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9803
10730
|
|
|
9804
10731
|
|
|
9805
10732
|
|
|
9806
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9807
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9808
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9809
|
-
|
|
9810
|
-
return {
|
|
9811
|
-
url: toPathString(localVarUrlObj),
|
|
9812
|
-
options: localVarRequestOptions,
|
|
9813
|
-
};
|
|
9814
|
-
},
|
|
9815
|
-
/**
|
|
9816
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9817
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9818
|
-
* @param {string} password Desired 3CX web access password
|
|
9819
|
-
* @param {*} [options] Override http request option.
|
|
9820
|
-
* @throws {RequiredError}
|
|
9821
|
-
*/
|
|
9822
|
-
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9823
|
-
// verify required parameter 'password' is not null or undefined
|
|
9824
|
-
assertParamExists('getGetPasswordHash', 'password', password)
|
|
9825
|
-
const localVarPath = `/tcx/pwd2hash`;
|
|
9826
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9827
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9828
|
-
let baseOptions;
|
|
9829
|
-
if (configuration) {
|
|
9830
|
-
baseOptions = configuration.baseOptions;
|
|
9831
|
-
}
|
|
9832
|
-
|
|
9833
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9834
|
-
const localVarHeaderParameter = {} as any;
|
|
9835
|
-
const localVarQueryParameter = {} as any;
|
|
9836
|
-
|
|
9837
|
-
if (password !== undefined) {
|
|
9838
|
-
localVarQueryParameter['password'] = password;
|
|
9839
|
-
}
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
10733
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9844
10734
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9845
10735
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9906,19 +10796,6 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
9906
10796
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
9907
10797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9908
10798
|
},
|
|
9909
|
-
/**
|
|
9910
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9911
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9912
|
-
* @param {string} password Desired 3CX web access password
|
|
9913
|
-
* @param {*} [options] Override http request option.
|
|
9914
|
-
* @throws {RequiredError}
|
|
9915
|
-
*/
|
|
9916
|
-
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
9917
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
9918
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9919
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
9920
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9921
|
-
},
|
|
9922
10799
|
/**
|
|
9923
10800
|
* Get Bulk 3CX Licence Details
|
|
9924
10801
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -9952,16 +10829,6 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
9952
10829
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
9953
10830
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
9954
10831
|
},
|
|
9955
|
-
/**
|
|
9956
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9957
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9958
|
-
* @param {string} password Desired 3CX web access password
|
|
9959
|
-
* @param {*} [options] Override http request option.
|
|
9960
|
-
* @throws {RequiredError}
|
|
9961
|
-
*/
|
|
9962
|
-
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
9963
|
-
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
9964
|
-
},
|
|
9965
10832
|
/**
|
|
9966
10833
|
* Get Bulk 3CX Licence Details
|
|
9967
10834
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -9994,18 +10861,6 @@ export class Class3CXApi extends BaseAPI {
|
|
|
9994
10861
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
9995
10862
|
}
|
|
9996
10863
|
|
|
9997
|
-
/**
|
|
9998
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9999
|
-
* @summary Convert a password to a hashed 3CX password
|
|
10000
|
-
* @param {string} password Desired 3CX web access password
|
|
10001
|
-
* @param {*} [options] Override http request option.
|
|
10002
|
-
* @throws {RequiredError}
|
|
10003
|
-
* @memberof Class3CXApi
|
|
10004
|
-
*/
|
|
10005
|
-
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
10006
|
-
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
10007
|
-
}
|
|
10008
|
-
|
|
10009
10864
|
/**
|
|
10010
10865
|
* Get Bulk 3CX Licence Details
|
|
10011
10866
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -15162,13 +16017,14 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15162
16017
|
return {
|
|
15163
16018
|
/**
|
|
15164
16019
|
* Delete Orders
|
|
16020
|
+
* @summary Delete Orders
|
|
15165
16021
|
* @param {number} id Order ID
|
|
15166
16022
|
* @param {*} [options] Override http request option.
|
|
15167
16023
|
* @throws {RequiredError}
|
|
15168
16024
|
*/
|
|
15169
|
-
|
|
16025
|
+
deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15170
16026
|
// verify required parameter 'id' is not null or undefined
|
|
15171
|
-
assertParamExists('
|
|
16027
|
+
assertParamExists('deleteUpdateOrder', 'id', id)
|
|
15172
16028
|
const localVarPath = `/orders/{id}`
|
|
15173
16029
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15174
16030
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -15184,6 +16040,39 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15184
16040
|
|
|
15185
16041
|
|
|
15186
16042
|
|
|
16043
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16044
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16045
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16046
|
+
|
|
16047
|
+
return {
|
|
16048
|
+
url: toPathString(localVarUrlObj),
|
|
16049
|
+
options: localVarRequestOptions,
|
|
16050
|
+
};
|
|
16051
|
+
},
|
|
16052
|
+
/**
|
|
16053
|
+
* Get Editable Order
|
|
16054
|
+
* @param {number} id Order ID
|
|
16055
|
+
* @param {*} [options] Override http request option.
|
|
16056
|
+
* @throws {RequiredError}
|
|
16057
|
+
*/
|
|
16058
|
+
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16059
|
+
// verify required parameter 'id' is not null or undefined
|
|
16060
|
+
assertParamExists('getGetEditableOrder', 'id', id)
|
|
16061
|
+
const localVarPath = `/orders/{id}/views/editable`
|
|
16062
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16063
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16064
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16065
|
+
let baseOptions;
|
|
16066
|
+
if (configuration) {
|
|
16067
|
+
baseOptions = configuration.baseOptions;
|
|
16068
|
+
}
|
|
16069
|
+
|
|
16070
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16071
|
+
const localVarHeaderParameter = {} as any;
|
|
16072
|
+
const localVarQueryParameter = {} as any;
|
|
16073
|
+
|
|
16074
|
+
|
|
16075
|
+
|
|
15187
16076
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15188
16077
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15189
16078
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15253,6 +16142,170 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
15253
16142
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15254
16143
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15255
16144
|
|
|
16145
|
+
return {
|
|
16146
|
+
url: toPathString(localVarUrlObj),
|
|
16147
|
+
options: localVarRequestOptions,
|
|
16148
|
+
};
|
|
16149
|
+
},
|
|
16150
|
+
/**
|
|
16151
|
+
* Create An Order (Admin)
|
|
16152
|
+
* @summary Create An Order (Admin)
|
|
16153
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16154
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16155
|
+
* @param {*} [options] Override http request option.
|
|
16156
|
+
* @throws {RequiredError}
|
|
16157
|
+
*/
|
|
16158
|
+
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16159
|
+
const localVarPath = `/admin/orders`;
|
|
16160
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16162
|
+
let baseOptions;
|
|
16163
|
+
if (configuration) {
|
|
16164
|
+
baseOptions = configuration.baseOptions;
|
|
16165
|
+
}
|
|
16166
|
+
|
|
16167
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16168
|
+
const localVarHeaderParameter = {} as any;
|
|
16169
|
+
const localVarQueryParameter = {} as any;
|
|
16170
|
+
|
|
16171
|
+
if (readonly !== undefined) {
|
|
16172
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16173
|
+
}
|
|
16174
|
+
|
|
16175
|
+
|
|
16176
|
+
|
|
16177
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16178
|
+
|
|
16179
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16180
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16181
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16182
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16183
|
+
|
|
16184
|
+
return {
|
|
16185
|
+
url: toPathString(localVarUrlObj),
|
|
16186
|
+
options: localVarRequestOptions,
|
|
16187
|
+
};
|
|
16188
|
+
},
|
|
16189
|
+
/**
|
|
16190
|
+
* Create An Order
|
|
16191
|
+
* @summary Create An Order
|
|
16192
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16193
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16194
|
+
* @param {*} [options] Override http request option.
|
|
16195
|
+
* @throws {RequiredError}
|
|
16196
|
+
*/
|
|
16197
|
+
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16198
|
+
const localVarPath = `/orders`;
|
|
16199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16201
|
+
let baseOptions;
|
|
16202
|
+
if (configuration) {
|
|
16203
|
+
baseOptions = configuration.baseOptions;
|
|
16204
|
+
}
|
|
16205
|
+
|
|
16206
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16207
|
+
const localVarHeaderParameter = {} as any;
|
|
16208
|
+
const localVarQueryParameter = {} as any;
|
|
16209
|
+
|
|
16210
|
+
if (readonly !== undefined) {
|
|
16211
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16212
|
+
}
|
|
16213
|
+
|
|
16214
|
+
|
|
16215
|
+
|
|
16216
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16217
|
+
|
|
16218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16221
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16222
|
+
|
|
16223
|
+
return {
|
|
16224
|
+
url: toPathString(localVarUrlObj),
|
|
16225
|
+
options: localVarRequestOptions,
|
|
16226
|
+
};
|
|
16227
|
+
},
|
|
16228
|
+
/**
|
|
16229
|
+
* Update An Order (Admin)
|
|
16230
|
+
* @summary Update An Order (Admin)
|
|
16231
|
+
* @param {number} id Order ID
|
|
16232
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16233
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16234
|
+
* @param {*} [options] Override http request option.
|
|
16235
|
+
* @throws {RequiredError}
|
|
16236
|
+
*/
|
|
16237
|
+
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16238
|
+
// verify required parameter 'id' is not null or undefined
|
|
16239
|
+
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
16240
|
+
const localVarPath = `/admin/orders/{id}`
|
|
16241
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16244
|
+
let baseOptions;
|
|
16245
|
+
if (configuration) {
|
|
16246
|
+
baseOptions = configuration.baseOptions;
|
|
16247
|
+
}
|
|
16248
|
+
|
|
16249
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16250
|
+
const localVarHeaderParameter = {} as any;
|
|
16251
|
+
const localVarQueryParameter = {} as any;
|
|
16252
|
+
|
|
16253
|
+
if (readonly !== undefined) {
|
|
16254
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16255
|
+
}
|
|
16256
|
+
|
|
16257
|
+
|
|
16258
|
+
|
|
16259
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16260
|
+
|
|
16261
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16263
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16264
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16265
|
+
|
|
16266
|
+
return {
|
|
16267
|
+
url: toPathString(localVarUrlObj),
|
|
16268
|
+
options: localVarRequestOptions,
|
|
16269
|
+
};
|
|
16270
|
+
},
|
|
16271
|
+
/**
|
|
16272
|
+
* Update An Order
|
|
16273
|
+
* @summary Update An Order
|
|
16274
|
+
* @param {number} id Order ID
|
|
16275
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16276
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16277
|
+
* @param {*} [options] Override http request option.
|
|
16278
|
+
* @throws {RequiredError}
|
|
16279
|
+
*/
|
|
16280
|
+
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16281
|
+
// verify required parameter 'id' is not null or undefined
|
|
16282
|
+
assertParamExists('putUpdateOrder', 'id', id)
|
|
16283
|
+
const localVarPath = `/orders/{id}`
|
|
16284
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
16285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16287
|
+
let baseOptions;
|
|
16288
|
+
if (configuration) {
|
|
16289
|
+
baseOptions = configuration.baseOptions;
|
|
16290
|
+
}
|
|
16291
|
+
|
|
16292
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16293
|
+
const localVarHeaderParameter = {} as any;
|
|
16294
|
+
const localVarQueryParameter = {} as any;
|
|
16295
|
+
|
|
16296
|
+
if (readonly !== undefined) {
|
|
16297
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
16298
|
+
}
|
|
16299
|
+
|
|
16300
|
+
|
|
16301
|
+
|
|
16302
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16303
|
+
|
|
16304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16307
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
16308
|
+
|
|
15256
16309
|
return {
|
|
15257
16310
|
url: toPathString(localVarUrlObj),
|
|
15258
16311
|
options: localVarRequestOptions,
|
|
@@ -15270,14 +16323,27 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15270
16323
|
return {
|
|
15271
16324
|
/**
|
|
15272
16325
|
* Delete Orders
|
|
16326
|
+
* @summary Delete Orders
|
|
16327
|
+
* @param {number} id Order ID
|
|
16328
|
+
* @param {*} [options] Override http request option.
|
|
16329
|
+
* @throws {RequiredError}
|
|
16330
|
+
*/
|
|
16331
|
+
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
16333
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16334
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16336
|
+
},
|
|
16337
|
+
/**
|
|
16338
|
+
* Get Editable Order
|
|
15273
16339
|
* @param {number} id Order ID
|
|
15274
16340
|
* @param {*} [options] Override http request option.
|
|
15275
16341
|
* @throws {RequiredError}
|
|
15276
16342
|
*/
|
|
15277
|
-
async
|
|
15278
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
16343
|
+
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
|
|
16344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
15279
16345
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15280
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
16346
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
15281
16347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15282
16348
|
},
|
|
15283
16349
|
/**
|
|
@@ -15299,6 +16365,64 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
15299
16365
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
15300
16366
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15301
16367
|
},
|
|
16368
|
+
/**
|
|
16369
|
+
* Create An Order (Admin)
|
|
16370
|
+
* @summary Create An Order (Admin)
|
|
16371
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16372
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16373
|
+
* @param {*} [options] Override http request option.
|
|
16374
|
+
* @throws {RequiredError}
|
|
16375
|
+
*/
|
|
16376
|
+
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16377
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
16378
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16379
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16380
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16381
|
+
},
|
|
16382
|
+
/**
|
|
16383
|
+
* Create An Order
|
|
16384
|
+
* @summary Create An Order
|
|
16385
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16386
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16387
|
+
* @param {*} [options] Override http request option.
|
|
16388
|
+
* @throws {RequiredError}
|
|
16389
|
+
*/
|
|
16390
|
+
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
16392
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16393
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
16394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16395
|
+
},
|
|
16396
|
+
/**
|
|
16397
|
+
* Update An Order (Admin)
|
|
16398
|
+
* @summary Update An Order (Admin)
|
|
16399
|
+
* @param {number} id Order ID
|
|
16400
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16401
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16402
|
+
* @param {*} [options] Override http request option.
|
|
16403
|
+
* @throws {RequiredError}
|
|
16404
|
+
*/
|
|
16405
|
+
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
16407
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16408
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
16409
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16410
|
+
},
|
|
16411
|
+
/**
|
|
16412
|
+
* Update An Order
|
|
16413
|
+
* @summary Update An Order
|
|
16414
|
+
* @param {number} id Order ID
|
|
16415
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16416
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16417
|
+
* @param {*} [options] Override http request option.
|
|
16418
|
+
* @throws {RequiredError}
|
|
16419
|
+
*/
|
|
16420
|
+
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
16421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
16422
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16423
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
16424
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16425
|
+
},
|
|
15302
16426
|
}
|
|
15303
16427
|
};
|
|
15304
16428
|
|
|
@@ -15311,12 +16435,22 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15311
16435
|
return {
|
|
15312
16436
|
/**
|
|
15313
16437
|
* Delete Orders
|
|
16438
|
+
* @summary Delete Orders
|
|
16439
|
+
* @param {number} id Order ID
|
|
16440
|
+
* @param {*} [options] Override http request option.
|
|
16441
|
+
* @throws {RequiredError}
|
|
16442
|
+
*/
|
|
16443
|
+
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
16444
|
+
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
16445
|
+
},
|
|
16446
|
+
/**
|
|
16447
|
+
* Get Editable Order
|
|
15314
16448
|
* @param {number} id Order ID
|
|
15315
16449
|
* @param {*} [options] Override http request option.
|
|
15316
16450
|
* @throws {RequiredError}
|
|
15317
16451
|
*/
|
|
15318
|
-
|
|
15319
|
-
return localVarFp.
|
|
16452
|
+
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
|
|
16453
|
+
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
15320
16454
|
},
|
|
15321
16455
|
/**
|
|
15322
16456
|
* Get Orders
|
|
@@ -15334,6 +16468,52 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15334
16468
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
15335
16469
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
15336
16470
|
},
|
|
16471
|
+
/**
|
|
16472
|
+
* Create An Order (Admin)
|
|
16473
|
+
* @summary Create An Order (Admin)
|
|
16474
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16475
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16476
|
+
* @param {*} [options] Override http request option.
|
|
16477
|
+
* @throws {RequiredError}
|
|
16478
|
+
*/
|
|
16479
|
+
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16480
|
+
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16481
|
+
},
|
|
16482
|
+
/**
|
|
16483
|
+
* Create An Order
|
|
16484
|
+
* @summary Create An Order
|
|
16485
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16486
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16487
|
+
* @param {*} [options] Override http request option.
|
|
16488
|
+
* @throws {RequiredError}
|
|
16489
|
+
*/
|
|
16490
|
+
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16491
|
+
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16492
|
+
},
|
|
16493
|
+
/**
|
|
16494
|
+
* Update An Order (Admin)
|
|
16495
|
+
* @summary Update An Order (Admin)
|
|
16496
|
+
* @param {number} id Order ID
|
|
16497
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16498
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16499
|
+
* @param {*} [options] Override http request option.
|
|
16500
|
+
* @throws {RequiredError}
|
|
16501
|
+
*/
|
|
16502
|
+
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16503
|
+
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16504
|
+
},
|
|
16505
|
+
/**
|
|
16506
|
+
* Update An Order
|
|
16507
|
+
* @summary Update An Order
|
|
16508
|
+
* @param {number} id Order ID
|
|
16509
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16510
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16511
|
+
* @param {*} [options] Override http request option.
|
|
16512
|
+
* @throws {RequiredError}
|
|
16513
|
+
*/
|
|
16514
|
+
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
16515
|
+
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
16516
|
+
},
|
|
15337
16517
|
};
|
|
15338
16518
|
};
|
|
15339
16519
|
|
|
@@ -15346,13 +16526,25 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
15346
16526
|
export class OrdersApi extends BaseAPI {
|
|
15347
16527
|
/**
|
|
15348
16528
|
* Delete Orders
|
|
16529
|
+
* @summary Delete Orders
|
|
15349
16530
|
* @param {number} id Order ID
|
|
15350
16531
|
* @param {*} [options] Override http request option.
|
|
15351
16532
|
* @throws {RequiredError}
|
|
15352
16533
|
* @memberof OrdersApi
|
|
15353
16534
|
*/
|
|
15354
|
-
public
|
|
15355
|
-
return OrdersApiFp(this.configuration).
|
|
16535
|
+
public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16536
|
+
return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
16537
|
+
}
|
|
16538
|
+
|
|
16539
|
+
/**
|
|
16540
|
+
* Get Editable Order
|
|
16541
|
+
* @param {number} id Order ID
|
|
16542
|
+
* @param {*} [options] Override http request option.
|
|
16543
|
+
* @throws {RequiredError}
|
|
16544
|
+
* @memberof OrdersApi
|
|
16545
|
+
*/
|
|
16546
|
+
public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
16547
|
+
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15356
16548
|
}
|
|
15357
16549
|
|
|
15358
16550
|
/**
|
|
@@ -15372,6 +16564,60 @@ export class OrdersApi extends BaseAPI {
|
|
|
15372
16564
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
15373
16565
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
15374
16566
|
}
|
|
16567
|
+
|
|
16568
|
+
/**
|
|
16569
|
+
* Create An Order (Admin)
|
|
16570
|
+
* @summary Create An Order (Admin)
|
|
16571
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16572
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
16573
|
+
* @param {*} [options] Override http request option.
|
|
16574
|
+
* @throws {RequiredError}
|
|
16575
|
+
* @memberof OrdersApi
|
|
16576
|
+
*/
|
|
16577
|
+
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16578
|
+
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16579
|
+
}
|
|
16580
|
+
|
|
16581
|
+
/**
|
|
16582
|
+
* Create An Order
|
|
16583
|
+
* @summary Create An Order
|
|
16584
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16585
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16586
|
+
* @param {*} [options] Override http request option.
|
|
16587
|
+
* @throws {RequiredError}
|
|
16588
|
+
* @memberof OrdersApi
|
|
16589
|
+
*/
|
|
16590
|
+
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16591
|
+
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16592
|
+
}
|
|
16593
|
+
|
|
16594
|
+
/**
|
|
16595
|
+
* Update An Order (Admin)
|
|
16596
|
+
* @summary Update An Order (Admin)
|
|
16597
|
+
* @param {number} id Order ID
|
|
16598
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16599
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
16600
|
+
* @param {*} [options] Override http request option.
|
|
16601
|
+
* @throws {RequiredError}
|
|
16602
|
+
* @memberof OrdersApi
|
|
16603
|
+
*/
|
|
16604
|
+
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16605
|
+
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16606
|
+
}
|
|
16607
|
+
|
|
16608
|
+
/**
|
|
16609
|
+
* Update An Order
|
|
16610
|
+
* @summary Update An Order
|
|
16611
|
+
* @param {number} id Order ID
|
|
16612
|
+
* @param {boolean} [readonly] Readonly Order
|
|
16613
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
16614
|
+
* @param {*} [options] Override http request option.
|
|
16615
|
+
* @throws {RequiredError}
|
|
16616
|
+
* @memberof OrdersApi
|
|
16617
|
+
*/
|
|
16618
|
+
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
16619
|
+
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
16620
|
+
}
|
|
15375
16621
|
}
|
|
15376
16622
|
|
|
15377
16623
|
/**
|
|
@@ -15757,8 +17003,42 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15757
17003
|
* @param {*} [options] Override http request option.
|
|
15758
17004
|
* @throws {RequiredError}
|
|
15759
17005
|
*/
|
|
15760
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15761
|
-
const localVarPath = `/products/attributes`;
|
|
17006
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17007
|
+
const localVarPath = `/products/attributes`;
|
|
17008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17010
|
+
let baseOptions;
|
|
17011
|
+
if (configuration) {
|
|
17012
|
+
baseOptions = configuration.baseOptions;
|
|
17013
|
+
}
|
|
17014
|
+
|
|
17015
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17016
|
+
const localVarHeaderParameter = {} as any;
|
|
17017
|
+
const localVarQueryParameter = {} as any;
|
|
17018
|
+
|
|
17019
|
+
|
|
17020
|
+
|
|
17021
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17022
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17023
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17024
|
+
|
|
17025
|
+
return {
|
|
17026
|
+
url: toPathString(localVarUrlObj),
|
|
17027
|
+
options: localVarRequestOptions,
|
|
17028
|
+
};
|
|
17029
|
+
},
|
|
17030
|
+
/**
|
|
17031
|
+
* Get Current Stock & Pricing
|
|
17032
|
+
* @summary Get Current Stock & Pricing
|
|
17033
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
17034
|
+
* @param {*} [options] Override http request option.
|
|
17035
|
+
* @deprecated
|
|
17036
|
+
* @throws {RequiredError}
|
|
17037
|
+
*/
|
|
17038
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17039
|
+
// verify required parameter 'format' is not null or undefined
|
|
17040
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
17041
|
+
const localVarPath = `/products/stock/legacy`;
|
|
15762
17042
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15763
17043
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15764
17044
|
let baseOptions;
|
|
@@ -15770,6 +17050,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15770
17050
|
const localVarHeaderParameter = {} as any;
|
|
15771
17051
|
const localVarQueryParameter = {} as any;
|
|
15772
17052
|
|
|
17053
|
+
if (format !== undefined) {
|
|
17054
|
+
localVarQueryParameter['format'] = format;
|
|
17055
|
+
}
|
|
17056
|
+
|
|
15773
17057
|
|
|
15774
17058
|
|
|
15775
17059
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15782,13 +17066,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15782
17066
|
};
|
|
15783
17067
|
},
|
|
15784
17068
|
/**
|
|
15785
|
-
* Get
|
|
15786
|
-
* @summary Get
|
|
17069
|
+
* Get Products
|
|
17070
|
+
* @summary Get Products
|
|
15787
17071
|
* @param {*} [options] Override http request option.
|
|
15788
17072
|
* @throws {RequiredError}
|
|
15789
17073
|
*/
|
|
15790
|
-
|
|
15791
|
-
const localVarPath = `/products
|
|
17074
|
+
getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17075
|
+
const localVarPath = `/products`;
|
|
15792
17076
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15793
17077
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15794
17078
|
let baseOptions;
|
|
@@ -15814,15 +17098,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15814
17098
|
/**
|
|
15815
17099
|
* Get Current Stock & Pricing
|
|
15816
17100
|
* @summary Get Current Stock & Pricing
|
|
15817
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15818
17101
|
* @param {*} [options] Override http request option.
|
|
15819
|
-
* @deprecated
|
|
15820
17102
|
* @throws {RequiredError}
|
|
15821
17103
|
*/
|
|
15822
|
-
|
|
15823
|
-
|
|
15824
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
15825
|
-
const localVarPath = `/products/stock/legacy`;
|
|
17104
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17105
|
+
const localVarPath = `/products/stock`;
|
|
15826
17106
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15827
17107
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15828
17108
|
let baseOptions;
|
|
@@ -15834,10 +17114,36 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15834
17114
|
const localVarHeaderParameter = {} as any;
|
|
15835
17115
|
const localVarQueryParameter = {} as any;
|
|
15836
17116
|
|
|
15837
|
-
|
|
15838
|
-
|
|
17117
|
+
|
|
17118
|
+
|
|
17119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17121
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17122
|
+
|
|
17123
|
+
return {
|
|
17124
|
+
url: toPathString(localVarUrlObj),
|
|
17125
|
+
options: localVarRequestOptions,
|
|
17126
|
+
};
|
|
17127
|
+
},
|
|
17128
|
+
/**
|
|
17129
|
+
* Get 3CX Templates
|
|
17130
|
+
* @summary Get 3CX Templates
|
|
17131
|
+
* @param {*} [options] Override http request option.
|
|
17132
|
+
* @throws {RequiredError}
|
|
17133
|
+
*/
|
|
17134
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17135
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
17136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17138
|
+
let baseOptions;
|
|
17139
|
+
if (configuration) {
|
|
17140
|
+
baseOptions = configuration.baseOptions;
|
|
15839
17141
|
}
|
|
15840
17142
|
|
|
17143
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17144
|
+
const localVarHeaderParameter = {} as any;
|
|
17145
|
+
const localVarQueryParameter = {} as any;
|
|
17146
|
+
|
|
15841
17147
|
|
|
15842
17148
|
|
|
15843
17149
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15850,15 +17156,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15850
17156
|
};
|
|
15851
17157
|
},
|
|
15852
17158
|
/**
|
|
15853
|
-
*
|
|
15854
|
-
* @summary
|
|
17159
|
+
* Search Products
|
|
17160
|
+
* @summary Search Products
|
|
15855
17161
|
* @param {number} [pageSize] Number Of Results
|
|
15856
17162
|
* @param {number} [page] Page Number
|
|
15857
17163
|
* @param {string} [search] Search
|
|
15858
17164
|
* @param {*} [options] Override http request option.
|
|
15859
17165
|
* @throws {RequiredError}
|
|
15860
17166
|
*/
|
|
15861
|
-
|
|
17167
|
+
getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15862
17168
|
const localVarPath = `/products/search`;
|
|
15863
17169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15864
17170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15895,13 +17201,20 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15895
17201
|
};
|
|
15896
17202
|
},
|
|
15897
17203
|
/**
|
|
15898
|
-
* Get
|
|
15899
|
-
* @summary Get
|
|
17204
|
+
* Get Product
|
|
17205
|
+
* @summary Get Product
|
|
17206
|
+
* @param {string} sku Product SKU
|
|
17207
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15900
17208
|
* @param {*} [options] Override http request option.
|
|
15901
17209
|
* @throws {RequiredError}
|
|
15902
17210
|
*/
|
|
15903
|
-
|
|
15904
|
-
|
|
17211
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17212
|
+
// verify required parameter 'sku' is not null or undefined
|
|
17213
|
+
assertParamExists('postGetProduct', 'sku', sku)
|
|
17214
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17215
|
+
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17216
|
+
const localVarPath = `/products/{sku}`
|
|
17217
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15905
17218
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15906
17219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15907
17220
|
let baseOptions;
|
|
@@ -15909,15 +17222,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15909
17222
|
baseOptions = configuration.baseOptions;
|
|
15910
17223
|
}
|
|
15911
17224
|
|
|
15912
|
-
const localVarRequestOptions = { method: '
|
|
17225
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15913
17226
|
const localVarHeaderParameter = {} as any;
|
|
15914
17227
|
const localVarQueryParameter = {} as any;
|
|
15915
17228
|
|
|
15916
17229
|
|
|
15917
17230
|
|
|
17231
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17232
|
+
|
|
15918
17233
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15919
17234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15920
17235
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17236
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
15921
17237
|
|
|
15922
17238
|
return {
|
|
15923
17239
|
url: toPathString(localVarUrlObj),
|
|
@@ -15925,13 +17241,23 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15925
17241
|
};
|
|
15926
17242
|
},
|
|
15927
17243
|
/**
|
|
15928
|
-
* Get
|
|
15929
|
-
* @summary Get
|
|
17244
|
+
* Get Product For Customer
|
|
17245
|
+
* @summary Get Product For Customer
|
|
17246
|
+
* @param {number} customerId Customer ID
|
|
17247
|
+
* @param {string} sku Product SKU
|
|
17248
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15930
17249
|
* @param {*} [options] Override http request option.
|
|
15931
17250
|
* @throws {RequiredError}
|
|
15932
17251
|
*/
|
|
15933
|
-
|
|
15934
|
-
|
|
17252
|
+
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17253
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
17254
|
+
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
17255
|
+
// verify required parameter 'sku' is not null or undefined
|
|
17256
|
+
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
17257
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
17258
|
+
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
17259
|
+
const localVarPath = `/admin/products/{sku}`
|
|
17260
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15935
17261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15936
17262
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15937
17263
|
let baseOptions;
|
|
@@ -15939,15 +17265,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15939
17265
|
baseOptions = configuration.baseOptions;
|
|
15940
17266
|
}
|
|
15941
17267
|
|
|
15942
|
-
const localVarRequestOptions = { method: '
|
|
17268
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15943
17269
|
const localVarHeaderParameter = {} as any;
|
|
15944
17270
|
const localVarQueryParameter = {} as any;
|
|
15945
17271
|
|
|
17272
|
+
if (customerId !== undefined) {
|
|
17273
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
17274
|
+
}
|
|
17275
|
+
|
|
15946
17276
|
|
|
15947
17277
|
|
|
17278
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17279
|
+
|
|
15948
17280
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15949
17281
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15950
17282
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17283
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
15951
17284
|
|
|
15952
17285
|
return {
|
|
15953
17286
|
url: toPathString(localVarUrlObj),
|
|
@@ -15976,18 +17309,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
15976
17309
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
15977
17310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15978
17311
|
},
|
|
15979
|
-
/**
|
|
15980
|
-
* Get Customer Price Lists
|
|
15981
|
-
* @summary Get Customer Price Lists
|
|
15982
|
-
* @param {*} [options] Override http request option.
|
|
15983
|
-
* @throws {RequiredError}
|
|
15984
|
-
*/
|
|
15985
|
-
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
15986
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
15987
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15988
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
15989
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15990
|
-
},
|
|
15991
17312
|
/**
|
|
15992
17313
|
* Get Current Stock & Pricing
|
|
15993
17314
|
* @summary Get Current Stock & Pricing
|
|
@@ -16005,14 +17326,11 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16005
17326
|
/**
|
|
16006
17327
|
* Get Products
|
|
16007
17328
|
* @summary Get Products
|
|
16008
|
-
* @param {number} [pageSize] Number Of Results
|
|
16009
|
-
* @param {number} [page] Page Number
|
|
16010
|
-
* @param {string} [search] Search
|
|
16011
17329
|
* @param {*} [options] Override http request option.
|
|
16012
17330
|
* @throws {RequiredError}
|
|
16013
17331
|
*/
|
|
16014
|
-
async getGetProducts(
|
|
16015
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(
|
|
17332
|
+
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
|
|
17333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
16016
17334
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16017
17335
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
16018
17336
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -16041,6 +17359,50 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
16041
17359
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
16042
17360
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16043
17361
|
},
|
|
17362
|
+
/**
|
|
17363
|
+
* Search Products
|
|
17364
|
+
* @summary Search Products
|
|
17365
|
+
* @param {number} [pageSize] Number Of Results
|
|
17366
|
+
* @param {number} [page] Page Number
|
|
17367
|
+
* @param {string} [search] Search
|
|
17368
|
+
* @param {*} [options] Override http request option.
|
|
17369
|
+
* @throws {RequiredError}
|
|
17370
|
+
*/
|
|
17371
|
+
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
17372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
17373
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17374
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
17375
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17376
|
+
},
|
|
17377
|
+
/**
|
|
17378
|
+
* Get Product
|
|
17379
|
+
* @summary Get Product
|
|
17380
|
+
* @param {string} sku Product SKU
|
|
17381
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17382
|
+
* @param {*} [options] Override http request option.
|
|
17383
|
+
* @throws {RequiredError}
|
|
17384
|
+
*/
|
|
17385
|
+
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
17387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17388
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
17389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17390
|
+
},
|
|
17391
|
+
/**
|
|
17392
|
+
* Get Product For Customer
|
|
17393
|
+
* @summary Get Product For Customer
|
|
17394
|
+
* @param {number} customerId Customer ID
|
|
17395
|
+
* @param {string} sku Product SKU
|
|
17396
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17397
|
+
* @param {*} [options] Override http request option.
|
|
17398
|
+
* @throws {RequiredError}
|
|
17399
|
+
*/
|
|
17400
|
+
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
17401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
17402
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17403
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
17404
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17405
|
+
},
|
|
16044
17406
|
}
|
|
16045
17407
|
};
|
|
16046
17408
|
|
|
@@ -16060,15 +17422,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16060
17422
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
16061
17423
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
16062
17424
|
},
|
|
16063
|
-
/**
|
|
16064
|
-
* Get Customer Price Lists
|
|
16065
|
-
* @summary Get Customer Price Lists
|
|
16066
|
-
* @param {*} [options] Override http request option.
|
|
16067
|
-
* @throws {RequiredError}
|
|
16068
|
-
*/
|
|
16069
|
-
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
16070
|
-
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
16071
|
-
},
|
|
16072
17425
|
/**
|
|
16073
17426
|
* Get Current Stock & Pricing
|
|
16074
17427
|
* @summary Get Current Stock & Pricing
|
|
@@ -16083,14 +17436,11 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16083
17436
|
/**
|
|
16084
17437
|
* Get Products
|
|
16085
17438
|
* @summary Get Products
|
|
16086
|
-
* @param {number} [pageSize] Number Of Results
|
|
16087
|
-
* @param {number} [page] Page Number
|
|
16088
|
-
* @param {string} [search] Search
|
|
16089
17439
|
* @param {*} [options] Override http request option.
|
|
16090
17440
|
* @throws {RequiredError}
|
|
16091
17441
|
*/
|
|
16092
|
-
getGetProducts(
|
|
16093
|
-
return localVarFp.getGetProducts(
|
|
17442
|
+
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
|
|
17443
|
+
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
16094
17444
|
},
|
|
16095
17445
|
/**
|
|
16096
17446
|
* Get Current Stock & Pricing
|
|
@@ -16110,6 +17460,41 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
16110
17460
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
16111
17461
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
16112
17462
|
},
|
|
17463
|
+
/**
|
|
17464
|
+
* Search Products
|
|
17465
|
+
* @summary Search Products
|
|
17466
|
+
* @param {number} [pageSize] Number Of Results
|
|
17467
|
+
* @param {number} [page] Page Number
|
|
17468
|
+
* @param {string} [search] Search
|
|
17469
|
+
* @param {*} [options] Override http request option.
|
|
17470
|
+
* @throws {RequiredError}
|
|
17471
|
+
*/
|
|
17472
|
+
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
17473
|
+
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
17474
|
+
},
|
|
17475
|
+
/**
|
|
17476
|
+
* Get Product
|
|
17477
|
+
* @summary Get Product
|
|
17478
|
+
* @param {string} sku Product SKU
|
|
17479
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17480
|
+
* @param {*} [options] Override http request option.
|
|
17481
|
+
* @throws {RequiredError}
|
|
17482
|
+
*/
|
|
17483
|
+
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17484
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17485
|
+
},
|
|
17486
|
+
/**
|
|
17487
|
+
* Get Product For Customer
|
|
17488
|
+
* @summary Get Product For Customer
|
|
17489
|
+
* @param {number} customerId Customer ID
|
|
17490
|
+
* @param {string} sku Product SKU
|
|
17491
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17492
|
+
* @param {*} [options] Override http request option.
|
|
17493
|
+
* @throws {RequiredError}
|
|
17494
|
+
*/
|
|
17495
|
+
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
17496
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
17497
|
+
},
|
|
16113
17498
|
};
|
|
16114
17499
|
};
|
|
16115
17500
|
|
|
@@ -16131,17 +17516,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
16131
17516
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
16132
17517
|
}
|
|
16133
17518
|
|
|
16134
|
-
/**
|
|
16135
|
-
* Get Customer Price Lists
|
|
16136
|
-
* @summary Get Customer Price Lists
|
|
16137
|
-
* @param {*} [options] Override http request option.
|
|
16138
|
-
* @throws {RequiredError}
|
|
16139
|
-
* @memberof ProductsApi
|
|
16140
|
-
*/
|
|
16141
|
-
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
16142
|
-
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
16143
|
-
}
|
|
16144
|
-
|
|
16145
17519
|
/**
|
|
16146
17520
|
* Get Current Stock & Pricing
|
|
16147
17521
|
* @summary Get Current Stock & Pricing
|
|
@@ -16158,15 +17532,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
16158
17532
|
/**
|
|
16159
17533
|
* Get Products
|
|
16160
17534
|
* @summary Get Products
|
|
16161
|
-
* @param {number} [pageSize] Number Of Results
|
|
16162
|
-
* @param {number} [page] Page Number
|
|
16163
|
-
* @param {string} [search] Search
|
|
16164
17535
|
* @param {*} [options] Override http request option.
|
|
16165
17536
|
* @throws {RequiredError}
|
|
16166
17537
|
* @memberof ProductsApi
|
|
16167
17538
|
*/
|
|
16168
|
-
public getGetProducts(
|
|
16169
|
-
return ProductsApiFp(this.configuration).getGetProducts(
|
|
17539
|
+
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
17540
|
+
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
16170
17541
|
}
|
|
16171
17542
|
|
|
16172
17543
|
/**
|
|
@@ -16190,6 +17561,47 @@ export class ProductsApi extends BaseAPI {
|
|
|
16190
17561
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
16191
17562
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
16192
17563
|
}
|
|
17564
|
+
|
|
17565
|
+
/**
|
|
17566
|
+
* Search Products
|
|
17567
|
+
* @summary Search Products
|
|
17568
|
+
* @param {number} [pageSize] Number Of Results
|
|
17569
|
+
* @param {number} [page] Page Number
|
|
17570
|
+
* @param {string} [search] Search
|
|
17571
|
+
* @param {*} [options] Override http request option.
|
|
17572
|
+
* @throws {RequiredError}
|
|
17573
|
+
* @memberof ProductsApi
|
|
17574
|
+
*/
|
|
17575
|
+
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
17576
|
+
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
17577
|
+
}
|
|
17578
|
+
|
|
17579
|
+
/**
|
|
17580
|
+
* Get Product
|
|
17581
|
+
* @summary Get Product
|
|
17582
|
+
* @param {string} sku Product SKU
|
|
17583
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17584
|
+
* @param {*} [options] Override http request option.
|
|
17585
|
+
* @throws {RequiredError}
|
|
17586
|
+
* @memberof ProductsApi
|
|
17587
|
+
*/
|
|
17588
|
+
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17589
|
+
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17590
|
+
}
|
|
17591
|
+
|
|
17592
|
+
/**
|
|
17593
|
+
* Get Product For Customer
|
|
17594
|
+
* @summary Get Product For Customer
|
|
17595
|
+
* @param {number} customerId Customer ID
|
|
17596
|
+
* @param {string} sku Product SKU
|
|
17597
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
17598
|
+
* @param {*} [options] Override http request option.
|
|
17599
|
+
* @throws {RequiredError}
|
|
17600
|
+
* @memberof ProductsApi
|
|
17601
|
+
*/
|
|
17602
|
+
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
17603
|
+
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17604
|
+
}
|
|
16193
17605
|
}
|
|
16194
17606
|
|
|
16195
17607
|
/**
|
|
@@ -16530,7 +17942,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
16530
17942
|
* @param {*} [options] Override http request option.
|
|
16531
17943
|
* @throws {RequiredError}
|
|
16532
17944
|
*/
|
|
16533
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
17945
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
|
|
16534
17946
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
16535
17947
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16536
17948
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16543,7 +17955,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
16543
17955
|
* @param {*} [options] Override http request option.
|
|
16544
17956
|
* @throws {RequiredError}
|
|
16545
17957
|
*/
|
|
16546
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17958
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
|
|
16547
17959
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
16548
17960
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16549
17961
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -16622,7 +18034,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
16622
18034
|
* @param {*} [options] Override http request option.
|
|
16623
18035
|
* @throws {RequiredError}
|
|
16624
18036
|
*/
|
|
16625
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
18037
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
|
|
16626
18038
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
16627
18039
|
},
|
|
16628
18040
|
/**
|
|
@@ -16632,7 +18044,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
16632
18044
|
* @param {*} [options] Override http request option.
|
|
16633
18045
|
* @throws {RequiredError}
|
|
16634
18046
|
*/
|
|
16635
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
18047
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
|
|
16636
18048
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
16637
18049
|
},
|
|
16638
18050
|
/**
|
|
@@ -18533,6 +19945,114 @@ export class SMSApi extends BaseAPI {
|
|
|
18533
19945
|
|
|
18534
19946
|
|
|
18535
19947
|
|
|
19948
|
+
/**
|
|
19949
|
+
* ShippingApi - axios parameter creator
|
|
19950
|
+
* @export
|
|
19951
|
+
*/
|
|
19952
|
+
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19953
|
+
return {
|
|
19954
|
+
/**
|
|
19955
|
+
* Get Shipping Services
|
|
19956
|
+
* @summary Get Shipping Services
|
|
19957
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19958
|
+
* @param {*} [options] Override http request option.
|
|
19959
|
+
* @throws {RequiredError}
|
|
19960
|
+
*/
|
|
19961
|
+
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19962
|
+
const localVarPath = `/shipping/services`;
|
|
19963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19964
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19965
|
+
let baseOptions;
|
|
19966
|
+
if (configuration) {
|
|
19967
|
+
baseOptions = configuration.baseOptions;
|
|
19968
|
+
}
|
|
19969
|
+
|
|
19970
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19971
|
+
const localVarHeaderParameter = {} as any;
|
|
19972
|
+
const localVarQueryParameter = {} as any;
|
|
19973
|
+
|
|
19974
|
+
|
|
19975
|
+
|
|
19976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19977
|
+
|
|
19978
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19979
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19980
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19981
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
19982
|
+
|
|
19983
|
+
return {
|
|
19984
|
+
url: toPathString(localVarUrlObj),
|
|
19985
|
+
options: localVarRequestOptions,
|
|
19986
|
+
};
|
|
19987
|
+
},
|
|
19988
|
+
}
|
|
19989
|
+
};
|
|
19990
|
+
|
|
19991
|
+
/**
|
|
19992
|
+
* ShippingApi - functional programming interface
|
|
19993
|
+
* @export
|
|
19994
|
+
*/
|
|
19995
|
+
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
19996
|
+
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
|
|
19997
|
+
return {
|
|
19998
|
+
/**
|
|
19999
|
+
* Get Shipping Services
|
|
20000
|
+
* @summary Get Shipping Services
|
|
20001
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20002
|
+
* @param {*} [options] Override http request option.
|
|
20003
|
+
* @throws {RequiredError}
|
|
20004
|
+
*/
|
|
20005
|
+
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
20006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
20007
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20008
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
20009
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20010
|
+
},
|
|
20011
|
+
}
|
|
20012
|
+
};
|
|
20013
|
+
|
|
20014
|
+
/**
|
|
20015
|
+
* ShippingApi - factory interface
|
|
20016
|
+
* @export
|
|
20017
|
+
*/
|
|
20018
|
+
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20019
|
+
const localVarFp = ShippingApiFp(configuration)
|
|
20020
|
+
return {
|
|
20021
|
+
/**
|
|
20022
|
+
* Get Shipping Services
|
|
20023
|
+
* @summary Get Shipping Services
|
|
20024
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20025
|
+
* @param {*} [options] Override http request option.
|
|
20026
|
+
* @throws {RequiredError}
|
|
20027
|
+
*/
|
|
20028
|
+
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
20029
|
+
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
20030
|
+
},
|
|
20031
|
+
};
|
|
20032
|
+
};
|
|
20033
|
+
|
|
20034
|
+
/**
|
|
20035
|
+
* ShippingApi - object-oriented interface
|
|
20036
|
+
* @export
|
|
20037
|
+
* @class ShippingApi
|
|
20038
|
+
* @extends {BaseAPI}
|
|
20039
|
+
*/
|
|
20040
|
+
export class ShippingApi extends BaseAPI {
|
|
20041
|
+
/**
|
|
20042
|
+
* Get Shipping Services
|
|
20043
|
+
* @summary Get Shipping Services
|
|
20044
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
20045
|
+
* @param {*} [options] Override http request option.
|
|
20046
|
+
* @throws {RequiredError}
|
|
20047
|
+
* @memberof ShippingApi
|
|
20048
|
+
*/
|
|
20049
|
+
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
20050
|
+
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
20051
|
+
}
|
|
20052
|
+
}
|
|
20053
|
+
|
|
20054
|
+
|
|
20055
|
+
|
|
18536
20056
|
/**
|
|
18537
20057
|
* StockManagementApi - axios parameter creator
|
|
18538
20058
|
* @export
|
|
@@ -19619,7 +21139,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
19619
21139
|
* @param {*} [options] Override http request option.
|
|
19620
21140
|
* @throws {RequiredError}
|
|
19621
21141
|
*/
|
|
19622
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
21142
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
|
|
19623
21143
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
19624
21144
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19625
21145
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -19922,7 +21442,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
19922
21442
|
* @param {*} [options] Override http request option.
|
|
19923
21443
|
* @throws {RequiredError}
|
|
19924
21444
|
*/
|
|
19925
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
21445
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
|
|
19926
21446
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
19927
21447
|
},
|
|
19928
21448
|
/**
|