yellowgrid-api-ts 3.0.83 → 3.0.85-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 +209 -190
- package/README.md +35 -7
- package/api.ts +1825 -285
- 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 +1318 -156
- 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 +35 -0
- package/docs/AccountsApi.md +103 -0
- package/docs/AdminItemRequestDTO.md +37 -0
- package/docs/AdminOrderRequestDTO.md +41 -0
- package/docs/AdminUserModel.md +31 -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 +10 -4
- package/docs/LinkedOrderEntity.md +23 -0
- package/docs/NavigationItemModel.md +27 -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/SubNavigationItemModel.md +25 -0
- package/docs/TcxBackupModel.md +0 -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;
|
|
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,61 @@ 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
|
+
}
|
|
257
361
|
/**
|
|
258
362
|
* New Account Request
|
|
259
363
|
* @export
|
|
@@ -535,6 +639,194 @@ export interface AddressRequestModel {
|
|
|
535
639
|
*/
|
|
536
640
|
'addressPostcode'?: string;
|
|
537
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* Admin Order Item Request
|
|
644
|
+
* @export
|
|
645
|
+
* @interface AdminItemRequestDTO
|
|
646
|
+
*/
|
|
647
|
+
export interface AdminItemRequestDTO {
|
|
648
|
+
/**
|
|
649
|
+
* SKU
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof AdminItemRequestDTO
|
|
652
|
+
*/
|
|
653
|
+
'sku'?: string;
|
|
654
|
+
/**
|
|
655
|
+
* Quantity
|
|
656
|
+
* @type {number}
|
|
657
|
+
* @memberof AdminItemRequestDTO
|
|
658
|
+
*/
|
|
659
|
+
'quantity'?: number;
|
|
660
|
+
/**
|
|
661
|
+
* ID
|
|
662
|
+
* @type {number}
|
|
663
|
+
* @memberof AdminItemRequestDTO
|
|
664
|
+
*/
|
|
665
|
+
'id'?: number | null;
|
|
666
|
+
/**
|
|
667
|
+
* 3CX Licence Key
|
|
668
|
+
* @type {string}
|
|
669
|
+
* @memberof AdminItemRequestDTO
|
|
670
|
+
*/
|
|
671
|
+
'licenceKey'?: string | null;
|
|
672
|
+
/**
|
|
673
|
+
* 3CX Hosting
|
|
674
|
+
* @type {boolean}
|
|
675
|
+
* @memberof AdminItemRequestDTO
|
|
676
|
+
*/
|
|
677
|
+
'hosting'?: boolean | null;
|
|
678
|
+
/**
|
|
679
|
+
* Date Time
|
|
680
|
+
* @type {string}
|
|
681
|
+
* @memberof AdminItemRequestDTO
|
|
682
|
+
*/
|
|
683
|
+
'processDate'?: string;
|
|
684
|
+
/**
|
|
685
|
+
* SBCS
|
|
686
|
+
* @type {Array<TcxSbcDTO>}
|
|
687
|
+
* @memberof AdminItemRequestDTO
|
|
688
|
+
*/
|
|
689
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
690
|
+
/**
|
|
691
|
+
* Title
|
|
692
|
+
* @type {string}
|
|
693
|
+
* @memberof AdminItemRequestDTO
|
|
694
|
+
*/
|
|
695
|
+
'title'?: string | null;
|
|
696
|
+
/**
|
|
697
|
+
* Price (£)
|
|
698
|
+
* @type {number}
|
|
699
|
+
* @memberof AdminItemRequestDTO
|
|
700
|
+
*/
|
|
701
|
+
'itemPrice'?: number | null;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* Admin Order Request
|
|
705
|
+
* @export
|
|
706
|
+
* @interface AdminOrderRequestDTO
|
|
707
|
+
*/
|
|
708
|
+
export interface AdminOrderRequestDTO {
|
|
709
|
+
/**
|
|
710
|
+
* Order Reference
|
|
711
|
+
* @type {string}
|
|
712
|
+
* @memberof AdminOrderRequestDTO
|
|
713
|
+
*/
|
|
714
|
+
'orderReference'?: string;
|
|
715
|
+
/**
|
|
716
|
+
* Items
|
|
717
|
+
* @type {Array<AdminItemRequestDTO>}
|
|
718
|
+
* @memberof AdminOrderRequestDTO
|
|
719
|
+
*/
|
|
720
|
+
'items'?: Array<AdminItemRequestDTO>;
|
|
721
|
+
/**
|
|
722
|
+
*
|
|
723
|
+
* @type {ShippingServiceDTO}
|
|
724
|
+
* @memberof AdminOrderRequestDTO
|
|
725
|
+
*/
|
|
726
|
+
'shippingService'?: ShippingServiceDTO;
|
|
727
|
+
/**
|
|
728
|
+
* Provisioning URL
|
|
729
|
+
* @type {string}
|
|
730
|
+
* @memberof AdminOrderRequestDTO
|
|
731
|
+
*/
|
|
732
|
+
'provisioningUrl'?: string | null;
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {AddressModel}
|
|
736
|
+
* @memberof AdminOrderRequestDTO
|
|
737
|
+
*/
|
|
738
|
+
'shippingAddress'?: AddressModel;
|
|
739
|
+
/**
|
|
740
|
+
* Part Ship Order
|
|
741
|
+
* @type {boolean}
|
|
742
|
+
* @memberof AdminOrderRequestDTO
|
|
743
|
+
*/
|
|
744
|
+
'partShip'?: boolean;
|
|
745
|
+
/**
|
|
746
|
+
* Quote
|
|
747
|
+
* @type {boolean}
|
|
748
|
+
* @memberof AdminOrderRequestDTO
|
|
749
|
+
*/
|
|
750
|
+
'quote'?: boolean;
|
|
751
|
+
/**
|
|
752
|
+
* Customer ID
|
|
753
|
+
* @type {number}
|
|
754
|
+
* @memberof AdminOrderRequestDTO
|
|
755
|
+
*/
|
|
756
|
+
'customerId'?: number;
|
|
757
|
+
/**
|
|
758
|
+
* Ignore Customer On Hold
|
|
759
|
+
* @type {boolean}
|
|
760
|
+
* @memberof AdminOrderRequestDTO
|
|
761
|
+
*/
|
|
762
|
+
'ignoreOnHold'?: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* Ignore Customer Credit Limit
|
|
765
|
+
* @type {boolean}
|
|
766
|
+
* @memberof AdminOrderRequestDTO
|
|
767
|
+
*/
|
|
768
|
+
'ignoreCreditLimit'?: boolean;
|
|
769
|
+
/**
|
|
770
|
+
* Include NFR Promos
|
|
771
|
+
* @type {boolean}
|
|
772
|
+
* @memberof AdminOrderRequestDTO
|
|
773
|
+
*/
|
|
774
|
+
'includeNfrPromos'?: boolean;
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* Admin User
|
|
778
|
+
* @export
|
|
779
|
+
* @interface AdminUserModel
|
|
780
|
+
*/
|
|
781
|
+
export interface AdminUserModel {
|
|
782
|
+
/**
|
|
783
|
+
* First Name
|
|
784
|
+
* @type {string}
|
|
785
|
+
* @memberof AdminUserModel
|
|
786
|
+
*/
|
|
787
|
+
'firstName'?: string;
|
|
788
|
+
/**
|
|
789
|
+
* Last Name
|
|
790
|
+
* @type {string}
|
|
791
|
+
* @memberof AdminUserModel
|
|
792
|
+
*/
|
|
793
|
+
'lastName'?: string;
|
|
794
|
+
/**
|
|
795
|
+
* Avatar
|
|
796
|
+
* @type {string}
|
|
797
|
+
* @memberof AdminUserModel
|
|
798
|
+
*/
|
|
799
|
+
'avatar'?: string | null;
|
|
800
|
+
/**
|
|
801
|
+
* Role
|
|
802
|
+
* @type {number}
|
|
803
|
+
* @memberof AdminUserModel
|
|
804
|
+
*/
|
|
805
|
+
'role'?: AdminUserModelRoleEnum;
|
|
806
|
+
/**
|
|
807
|
+
* Navigation
|
|
808
|
+
* @type {Array<NavigationItemModel>}
|
|
809
|
+
* @memberof AdminUserModel
|
|
810
|
+
*/
|
|
811
|
+
'navigation'?: Array<NavigationItemModel>;
|
|
812
|
+
/**
|
|
813
|
+
* Email
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof AdminUserModel
|
|
816
|
+
*/
|
|
817
|
+
'email'?: string | null;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export const AdminUserModelRoleEnum = {
|
|
821
|
+
NUMBER_0: 0,
|
|
822
|
+
NUMBER_1: 1,
|
|
823
|
+
NUMBER_2: 2,
|
|
824
|
+
NUMBER_3: 3,
|
|
825
|
+
NUMBER_4: 4
|
|
826
|
+
} as const;
|
|
827
|
+
|
|
828
|
+
export type AdminUserModelRoleEnum = typeof AdminUserModelRoleEnum[keyof typeof AdminUserModelRoleEnum];
|
|
829
|
+
|
|
538
830
|
/**
|
|
539
831
|
* Agent Hours Graph
|
|
540
832
|
* @export
|
|
@@ -764,6 +1056,44 @@ export interface AuthCodeResponseModel {
|
|
|
764
1056
|
*/
|
|
765
1057
|
'redirect_uri'?: string | null;
|
|
766
1058
|
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Basic Order Item
|
|
1061
|
+
* @export
|
|
1062
|
+
* @interface BasicItemDTO
|
|
1063
|
+
*/
|
|
1064
|
+
export interface BasicItemDTO {
|
|
1065
|
+
/**
|
|
1066
|
+
* SKU
|
|
1067
|
+
* @type {string}
|
|
1068
|
+
* @memberof BasicItemDTO
|
|
1069
|
+
*/
|
|
1070
|
+
'sku'?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Quantity
|
|
1073
|
+
* @type {number}
|
|
1074
|
+
* @memberof BasicItemDTO
|
|
1075
|
+
*/
|
|
1076
|
+
'quantity'?: number;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Basic Product
|
|
1080
|
+
* @export
|
|
1081
|
+
* @interface BasicProductDTO
|
|
1082
|
+
*/
|
|
1083
|
+
export interface BasicProductDTO {
|
|
1084
|
+
/**
|
|
1085
|
+
* SKU
|
|
1086
|
+
* @type {string}
|
|
1087
|
+
* @memberof BasicProductDTO
|
|
1088
|
+
*/
|
|
1089
|
+
'sku'?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Title
|
|
1092
|
+
* @type {string}
|
|
1093
|
+
* @memberof BasicProductDTO
|
|
1094
|
+
*/
|
|
1095
|
+
'title'?: string;
|
|
1096
|
+
}
|
|
767
1097
|
/**
|
|
768
1098
|
* BatchesEntity
|
|
769
1099
|
* @export
|
|
@@ -958,12 +1288,6 @@ export interface ClientDetailsModel {
|
|
|
958
1288
|
* @memberof ClientDetailsModel
|
|
959
1289
|
*/
|
|
960
1290
|
'lastName'?: string;
|
|
961
|
-
/**
|
|
962
|
-
* User Profile Picture
|
|
963
|
-
* @type {string}
|
|
964
|
-
* @memberof ClientDetailsModel
|
|
965
|
-
*/
|
|
966
|
-
'image'?: string | null;
|
|
967
1291
|
}
|
|
968
1292
|
/**
|
|
969
1293
|
* OAuth client details
|
|
@@ -1125,6 +1449,73 @@ export interface ConversationModel {
|
|
|
1125
1449
|
*/
|
|
1126
1450
|
'attachments'?: Array<AttachmentModel>;
|
|
1127
1451
|
}
|
|
1452
|
+
/**
|
|
1453
|
+
* CourierPricesEntity
|
|
1454
|
+
* @export
|
|
1455
|
+
* @interface CourierPriceEntity
|
|
1456
|
+
*/
|
|
1457
|
+
export interface CourierPriceEntity {
|
|
1458
|
+
/**
|
|
1459
|
+
* id
|
|
1460
|
+
* @type {number}
|
|
1461
|
+
* @memberof CourierPriceEntity
|
|
1462
|
+
*/
|
|
1463
|
+
'id'?: number;
|
|
1464
|
+
/**
|
|
1465
|
+
* courier
|
|
1466
|
+
* @type {string}
|
|
1467
|
+
* @memberof CourierPriceEntity
|
|
1468
|
+
*/
|
|
1469
|
+
'courier'?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* destinationIso
|
|
1472
|
+
* @type {string}
|
|
1473
|
+
* @memberof CourierPriceEntity
|
|
1474
|
+
*/
|
|
1475
|
+
'destinationIso'?: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* serviceDescription
|
|
1478
|
+
* @type {string}
|
|
1479
|
+
* @memberof CourierPriceEntity
|
|
1480
|
+
*/
|
|
1481
|
+
'serviceDescription'?: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* flatRate
|
|
1484
|
+
* @type {number}
|
|
1485
|
+
* @memberof CourierPriceEntity
|
|
1486
|
+
*/
|
|
1487
|
+
'flatRate'?: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* initialBox
|
|
1490
|
+
* @type {number}
|
|
1491
|
+
* @memberof CourierPriceEntity
|
|
1492
|
+
*/
|
|
1493
|
+
'initialBox'?: number;
|
|
1494
|
+
/**
|
|
1495
|
+
* initialKg
|
|
1496
|
+
* @type {number}
|
|
1497
|
+
* @memberof CourierPriceEntity
|
|
1498
|
+
*/
|
|
1499
|
+
'initialKg'?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* perBox
|
|
1502
|
+
* @type {number}
|
|
1503
|
+
* @memberof CourierPriceEntity
|
|
1504
|
+
*/
|
|
1505
|
+
'perBox'?: number;
|
|
1506
|
+
/**
|
|
1507
|
+
* perKg
|
|
1508
|
+
* @type {number}
|
|
1509
|
+
* @memberof CourierPriceEntity
|
|
1510
|
+
*/
|
|
1511
|
+
'perKg'?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* maxKg
|
|
1514
|
+
* @type {number}
|
|
1515
|
+
* @memberof CourierPriceEntity
|
|
1516
|
+
*/
|
|
1517
|
+
'maxKg'?: number;
|
|
1518
|
+
}
|
|
1128
1519
|
/**
|
|
1129
1520
|
* Credit Account
|
|
1130
1521
|
* @export
|
|
@@ -1308,9 +1699,107 @@ export interface CustomerInformationModel {
|
|
|
1308
1699
|
'contactLastName'?: string;
|
|
1309
1700
|
}
|
|
1310
1701
|
/**
|
|
1311
|
-
*
|
|
1702
|
+
* Order Item Request
|
|
1312
1703
|
* @export
|
|
1313
|
-
* @interface
|
|
1704
|
+
* @interface CustomerItemRequestDTO
|
|
1705
|
+
*/
|
|
1706
|
+
export interface CustomerItemRequestDTO {
|
|
1707
|
+
/**
|
|
1708
|
+
* SKU
|
|
1709
|
+
* @type {string}
|
|
1710
|
+
* @memberof CustomerItemRequestDTO
|
|
1711
|
+
*/
|
|
1712
|
+
'sku'?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Quantity
|
|
1715
|
+
* @type {number}
|
|
1716
|
+
* @memberof CustomerItemRequestDTO
|
|
1717
|
+
*/
|
|
1718
|
+
'quantity'?: number;
|
|
1719
|
+
/**
|
|
1720
|
+
* ID
|
|
1721
|
+
* @type {number}
|
|
1722
|
+
* @memberof CustomerItemRequestDTO
|
|
1723
|
+
*/
|
|
1724
|
+
'id'?: number | null;
|
|
1725
|
+
/**
|
|
1726
|
+
* 3CX Licence Key
|
|
1727
|
+
* @type {string}
|
|
1728
|
+
* @memberof CustomerItemRequestDTO
|
|
1729
|
+
*/
|
|
1730
|
+
'licenceKey'?: string | null;
|
|
1731
|
+
/**
|
|
1732
|
+
* 3CX Hosting
|
|
1733
|
+
* @type {boolean}
|
|
1734
|
+
* @memberof CustomerItemRequestDTO
|
|
1735
|
+
*/
|
|
1736
|
+
'hosting'?: boolean | null;
|
|
1737
|
+
/**
|
|
1738
|
+
* Date Time
|
|
1739
|
+
* @type {string}
|
|
1740
|
+
* @memberof CustomerItemRequestDTO
|
|
1741
|
+
*/
|
|
1742
|
+
'processDate'?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* SBCS
|
|
1745
|
+
* @type {Array<TcxSbcDTO>}
|
|
1746
|
+
* @memberof CustomerItemRequestDTO
|
|
1747
|
+
*/
|
|
1748
|
+
'sbcs'?: Array<TcxSbcDTO>;
|
|
1749
|
+
}
|
|
1750
|
+
/**
|
|
1751
|
+
* Order Request
|
|
1752
|
+
* @export
|
|
1753
|
+
* @interface CustomerOrderRequestDTO
|
|
1754
|
+
*/
|
|
1755
|
+
export interface CustomerOrderRequestDTO {
|
|
1756
|
+
/**
|
|
1757
|
+
* Order Reference
|
|
1758
|
+
* @type {string}
|
|
1759
|
+
* @memberof CustomerOrderRequestDTO
|
|
1760
|
+
*/
|
|
1761
|
+
'orderReference'?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Items
|
|
1764
|
+
* @type {Array<CustomerItemRequestDTO>}
|
|
1765
|
+
* @memberof CustomerOrderRequestDTO
|
|
1766
|
+
*/
|
|
1767
|
+
'items'?: Array<CustomerItemRequestDTO>;
|
|
1768
|
+
/**
|
|
1769
|
+
*
|
|
1770
|
+
* @type {ShippingServiceDTO}
|
|
1771
|
+
* @memberof CustomerOrderRequestDTO
|
|
1772
|
+
*/
|
|
1773
|
+
'shippingService'?: ShippingServiceDTO;
|
|
1774
|
+
/**
|
|
1775
|
+
* Provisioning URL
|
|
1776
|
+
* @type {string}
|
|
1777
|
+
* @memberof CustomerOrderRequestDTO
|
|
1778
|
+
*/
|
|
1779
|
+
'provisioningUrl'?: string | null;
|
|
1780
|
+
/**
|
|
1781
|
+
*
|
|
1782
|
+
* @type {AddressModel}
|
|
1783
|
+
* @memberof CustomerOrderRequestDTO
|
|
1784
|
+
*/
|
|
1785
|
+
'shippingAddress'?: AddressModel;
|
|
1786
|
+
/**
|
|
1787
|
+
* Part Ship Order
|
|
1788
|
+
* @type {boolean}
|
|
1789
|
+
* @memberof CustomerOrderRequestDTO
|
|
1790
|
+
*/
|
|
1791
|
+
'partShip'?: boolean;
|
|
1792
|
+
/**
|
|
1793
|
+
* Quote
|
|
1794
|
+
* @type {boolean}
|
|
1795
|
+
* @memberof CustomerOrderRequestDTO
|
|
1796
|
+
*/
|
|
1797
|
+
'quote'?: boolean;
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Customer Price List
|
|
1801
|
+
* @export
|
|
1802
|
+
* @interface CustomerPriceListEnum
|
|
1314
1803
|
*/
|
|
1315
1804
|
export interface CustomerPriceListEnum {
|
|
1316
1805
|
/**
|
|
@@ -1816,19 +2305,6 @@ export interface GenericFileModel {
|
|
|
1816
2305
|
*/
|
|
1817
2306
|
'type'?: string;
|
|
1818
2307
|
}
|
|
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
2308
|
/**
|
|
1833
2309
|
*
|
|
1834
2310
|
* @export
|
|
@@ -2390,35 +2866,35 @@ export interface InstanceUserCredentialsEntity {
|
|
|
2390
2866
|
*/
|
|
2391
2867
|
export interface ItemDTO {
|
|
2392
2868
|
/**
|
|
2393
|
-
*
|
|
2394
|
-
* @type {
|
|
2869
|
+
* SKU
|
|
2870
|
+
* @type {string}
|
|
2395
2871
|
* @memberof ItemDTO
|
|
2396
2872
|
*/
|
|
2397
|
-
'
|
|
2873
|
+
'sku'?: string;
|
|
2398
2874
|
/**
|
|
2399
|
-
*
|
|
2875
|
+
* Quantity
|
|
2400
2876
|
* @type {number}
|
|
2401
2877
|
* @memberof ItemDTO
|
|
2402
2878
|
*/
|
|
2403
|
-
'
|
|
2879
|
+
'quantity'?: number;
|
|
2404
2880
|
/**
|
|
2405
|
-
*
|
|
2406
|
-
* @type {
|
|
2881
|
+
* ID
|
|
2882
|
+
* @type {number}
|
|
2407
2883
|
* @memberof ItemDTO
|
|
2408
2884
|
*/
|
|
2409
|
-
'
|
|
2885
|
+
'id'?: number | null;
|
|
2410
2886
|
/**
|
|
2411
|
-
*
|
|
2412
|
-
* @type {
|
|
2887
|
+
* Order ID
|
|
2888
|
+
* @type {number}
|
|
2413
2889
|
* @memberof ItemDTO
|
|
2414
2890
|
*/
|
|
2415
|
-
'
|
|
2891
|
+
'orderId'?: number | null;
|
|
2416
2892
|
/**
|
|
2417
|
-
*
|
|
2418
|
-
* @type {
|
|
2893
|
+
* Title
|
|
2894
|
+
* @type {string}
|
|
2419
2895
|
* @memberof ItemDTO
|
|
2420
2896
|
*/
|
|
2421
|
-
'
|
|
2897
|
+
'title'?: string;
|
|
2422
2898
|
/**
|
|
2423
2899
|
* Price
|
|
2424
2900
|
* @type {number}
|
|
@@ -2443,6 +2919,12 @@ export interface ItemDTO {
|
|
|
2443
2919
|
* @memberof ItemDTO
|
|
2444
2920
|
*/
|
|
2445
2921
|
'processDate'?: string;
|
|
2922
|
+
/**
|
|
2923
|
+
* 3CX Hosting
|
|
2924
|
+
* @type {boolean}
|
|
2925
|
+
* @memberof ItemDTO
|
|
2926
|
+
*/
|
|
2927
|
+
'hosting'?: boolean | null;
|
|
2446
2928
|
/**
|
|
2447
2929
|
* Promo Item
|
|
2448
2930
|
* @type {boolean}
|
|
@@ -2454,7 +2936,19 @@ export interface ItemDTO {
|
|
|
2454
2936
|
* @type {number}
|
|
2455
2937
|
* @memberof ItemDTO
|
|
2456
2938
|
*/
|
|
2457
|
-
'refunded'?: number;
|
|
2939
|
+
'refunded'?: number | null;
|
|
2940
|
+
/**
|
|
2941
|
+
* SBCs
|
|
2942
|
+
* @type {Array<TcxSbcDTO>}
|
|
2943
|
+
* @memberof ItemDTO
|
|
2944
|
+
*/
|
|
2945
|
+
'sbcs'?: Array<TcxSbcDTO> | null;
|
|
2946
|
+
/**
|
|
2947
|
+
* Readonly
|
|
2948
|
+
* @type {boolean}
|
|
2949
|
+
* @memberof ItemDTO
|
|
2950
|
+
*/
|
|
2951
|
+
'readonly'?: boolean;
|
|
2458
2952
|
}
|
|
2459
2953
|
/**
|
|
2460
2954
|
* ItemsEntity
|
|
@@ -2589,6 +3083,25 @@ export interface ItemEntity {
|
|
|
2589
3083
|
*/
|
|
2590
3084
|
'promoItem'?: number;
|
|
2591
3085
|
}
|
|
3086
|
+
/**
|
|
3087
|
+
* LinkedOrdersEntity
|
|
3088
|
+
* @export
|
|
3089
|
+
* @interface LinkedOrderEntity
|
|
3090
|
+
*/
|
|
3091
|
+
export interface LinkedOrderEntity {
|
|
3092
|
+
/**
|
|
3093
|
+
* orderId
|
|
3094
|
+
* @type {number}
|
|
3095
|
+
* @memberof LinkedOrderEntity
|
|
3096
|
+
*/
|
|
3097
|
+
'orderId'?: number;
|
|
3098
|
+
/**
|
|
3099
|
+
* linkedOrderId
|
|
3100
|
+
* @type {number}
|
|
3101
|
+
* @memberof LinkedOrderEntity
|
|
3102
|
+
*/
|
|
3103
|
+
'linkedOrderId'?: number;
|
|
3104
|
+
}
|
|
2592
3105
|
/**
|
|
2593
3106
|
* MFA Required
|
|
2594
3107
|
* @export
|
|
@@ -2678,6 +3191,37 @@ export const MultiTenantChangeResponseModelTypeEnum = {
|
|
|
2678
3191
|
|
|
2679
3192
|
export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
|
|
2680
3193
|
|
|
3194
|
+
/**
|
|
3195
|
+
* POPS Navigation Item
|
|
3196
|
+
* @export
|
|
3197
|
+
* @interface NavigationItemModel
|
|
3198
|
+
*/
|
|
3199
|
+
export interface NavigationItemModel {
|
|
3200
|
+
/**
|
|
3201
|
+
* Title
|
|
3202
|
+
* @type {string}
|
|
3203
|
+
* @memberof NavigationItemModel
|
|
3204
|
+
*/
|
|
3205
|
+
'title'?: string;
|
|
3206
|
+
/**
|
|
3207
|
+
* URL
|
|
3208
|
+
* @type {string}
|
|
3209
|
+
* @memberof NavigationItemModel
|
|
3210
|
+
*/
|
|
3211
|
+
'url'?: string | null;
|
|
3212
|
+
/**
|
|
3213
|
+
* Icon (Font Awesome)
|
|
3214
|
+
* @type {string}
|
|
3215
|
+
* @memberof NavigationItemModel
|
|
3216
|
+
*/
|
|
3217
|
+
'icon'?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* Sub Navigation
|
|
3220
|
+
* @type {Array<SubNavigationItemModel>}
|
|
3221
|
+
* @memberof NavigationItemModel
|
|
3222
|
+
*/
|
|
3223
|
+
'items'?: Array<SubNavigationItemModel>;
|
|
3224
|
+
}
|
|
2681
3225
|
/**
|
|
2682
3226
|
* Navigation Endpoint
|
|
2683
3227
|
* @export
|
|
@@ -3255,6 +3799,12 @@ export interface OrderSummaryDTO {
|
|
|
3255
3799
|
* @memberof OrderSummaryDTO
|
|
3256
3800
|
*/
|
|
3257
3801
|
'invoiceNumber'?: string;
|
|
3802
|
+
/**
|
|
3803
|
+
* Invoice ID
|
|
3804
|
+
* @type {string}
|
|
3805
|
+
* @memberof OrderSummaryDTO
|
|
3806
|
+
*/
|
|
3807
|
+
'invoiceId'?: string | null;
|
|
3258
3808
|
/**
|
|
3259
3809
|
* Date Time
|
|
3260
3810
|
* @type {string}
|
|
@@ -3309,6 +3859,24 @@ export interface OrderSummaryDTO {
|
|
|
3309
3859
|
* @memberof OrderSummaryDTO
|
|
3310
3860
|
*/
|
|
3311
3861
|
'fulfillable'?: boolean | null;
|
|
3862
|
+
/**
|
|
3863
|
+
* Provisioning URL
|
|
3864
|
+
* @type {string}
|
|
3865
|
+
* @memberof OrderSummaryDTO
|
|
3866
|
+
*/
|
|
3867
|
+
'provisioningUrl'?: string | null;
|
|
3868
|
+
/**
|
|
3869
|
+
*
|
|
3870
|
+
* @type {ShippingServiceDTO}
|
|
3871
|
+
* @memberof OrderSummaryDTO
|
|
3872
|
+
*/
|
|
3873
|
+
'shippingService'?: ShippingServiceDTO | null;
|
|
3874
|
+
/**
|
|
3875
|
+
* Readonly
|
|
3876
|
+
* @type {boolean}
|
|
3877
|
+
* @memberof OrderSummaryDTO
|
|
3878
|
+
*/
|
|
3879
|
+
'readonly'?: boolean;
|
|
3312
3880
|
}
|
|
3313
3881
|
/**
|
|
3314
3882
|
* Order Totals
|
|
@@ -3358,6 +3926,12 @@ export interface OrderTotalModel {
|
|
|
3358
3926
|
* @memberof OrderTotalModel
|
|
3359
3927
|
*/
|
|
3360
3928
|
'currency'?: OrderTotalModelCurrencyEnum;
|
|
3929
|
+
/**
|
|
3930
|
+
* Delivery
|
|
3931
|
+
* @type {number}
|
|
3932
|
+
* @memberof OrderTotalModel
|
|
3933
|
+
*/
|
|
3934
|
+
'delivery'?: number | null;
|
|
3361
3935
|
}
|
|
3362
3936
|
|
|
3363
3937
|
export const OrderTotalModelCurrencyEnum = {
|
|
@@ -3739,6 +4313,31 @@ export interface PostGetClientCredentialsRequest {
|
|
|
3739
4313
|
*/
|
|
3740
4314
|
'scopes'?: Array<string>;
|
|
3741
4315
|
}
|
|
4316
|
+
/**
|
|
4317
|
+
*
|
|
4318
|
+
* @export
|
|
4319
|
+
* @interface PostGetProductForCustomerRequest
|
|
4320
|
+
*/
|
|
4321
|
+
export interface PostGetProductForCustomerRequest {
|
|
4322
|
+
/**
|
|
4323
|
+
* Quantity
|
|
4324
|
+
* @type {number}
|
|
4325
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4326
|
+
*/
|
|
4327
|
+
'quantity'?: number | null;
|
|
4328
|
+
/**
|
|
4329
|
+
* 3CX Licence Key
|
|
4330
|
+
* @type {string}
|
|
4331
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4332
|
+
*/
|
|
4333
|
+
'licenceKey'?: string | null;
|
|
4334
|
+
/**
|
|
4335
|
+
* 3CX Hosting
|
|
4336
|
+
* @type {boolean}
|
|
4337
|
+
* @memberof PostGetProductForCustomerRequest
|
|
4338
|
+
*/
|
|
4339
|
+
'hosting'?: boolean | null;
|
|
4340
|
+
}
|
|
3742
4341
|
/**
|
|
3743
4342
|
* Price & Stock List
|
|
3744
4343
|
* @export
|
|
@@ -3827,10 +4426,10 @@ export interface PrizesEntity {
|
|
|
3827
4426
|
export interface ProductSearchResultsModel {
|
|
3828
4427
|
/**
|
|
3829
4428
|
* Results
|
|
3830
|
-
* @type {Array<
|
|
4429
|
+
* @type {Array<ProductSummaryDTO>}
|
|
3831
4430
|
* @memberof ProductSearchResultsModel
|
|
3832
4431
|
*/
|
|
3833
|
-
'results'?: Array<
|
|
4432
|
+
'results'?: Array<ProductSummaryDTO>;
|
|
3834
4433
|
}
|
|
3835
4434
|
/**
|
|
3836
4435
|
* Product Serial Info
|
|
@@ -3866,45 +4465,51 @@ export interface ProductSerialInfoModel {
|
|
|
3866
4465
|
/**
|
|
3867
4466
|
* Product Summary
|
|
3868
4467
|
* @export
|
|
3869
|
-
* @interface
|
|
4468
|
+
* @interface ProductSummaryDTO
|
|
3870
4469
|
*/
|
|
3871
|
-
export interface
|
|
4470
|
+
export interface ProductSummaryDTO {
|
|
3872
4471
|
/**
|
|
3873
4472
|
* SKU
|
|
3874
4473
|
* @type {string}
|
|
3875
|
-
* @memberof
|
|
4474
|
+
* @memberof ProductSummaryDTO
|
|
3876
4475
|
*/
|
|
3877
4476
|
'sku'?: string;
|
|
3878
4477
|
/**
|
|
3879
4478
|
* Title
|
|
3880
4479
|
* @type {string}
|
|
3881
|
-
* @memberof
|
|
4480
|
+
* @memberof ProductSummaryDTO
|
|
3882
4481
|
*/
|
|
3883
4482
|
'title'?: string;
|
|
3884
4483
|
/**
|
|
3885
4484
|
* Stock Quantity
|
|
3886
4485
|
* @type {number}
|
|
3887
|
-
* @memberof
|
|
4486
|
+
* @memberof ProductSummaryDTO
|
|
3888
4487
|
*/
|
|
3889
4488
|
'quantity'?: number | null;
|
|
3890
4489
|
/**
|
|
3891
4490
|
* Stock Product
|
|
3892
4491
|
* @type {boolean}
|
|
3893
|
-
* @memberof
|
|
4492
|
+
* @memberof ProductSummaryDTO
|
|
3894
4493
|
*/
|
|
3895
4494
|
'stockProduct'?: boolean;
|
|
3896
4495
|
/**
|
|
3897
4496
|
* Price
|
|
3898
4497
|
* @type {number}
|
|
3899
|
-
* @memberof
|
|
4498
|
+
* @memberof ProductSummaryDTO
|
|
3900
4499
|
*/
|
|
3901
4500
|
'price'?: number | null;
|
|
3902
4501
|
/**
|
|
3903
4502
|
* Carton Size
|
|
3904
4503
|
* @type {number}
|
|
3905
|
-
* @memberof
|
|
4504
|
+
* @memberof ProductSummaryDTO
|
|
3906
4505
|
*/
|
|
3907
4506
|
'cartonSize'?: number | null;
|
|
4507
|
+
/**
|
|
4508
|
+
* RRP Price
|
|
4509
|
+
* @type {number}
|
|
4510
|
+
* @memberof ProductSummaryDTO
|
|
4511
|
+
*/
|
|
4512
|
+
'rrp'?: number | null;
|
|
3908
4513
|
}
|
|
3909
4514
|
/**
|
|
3910
4515
|
* PromoCodesEntity
|
|
@@ -4043,37 +4648,37 @@ export interface PromoItemsEntity {
|
|
|
4043
4648
|
/**
|
|
4044
4649
|
* Provisioning Group
|
|
4045
4650
|
* @export
|
|
4046
|
-
* @interface
|
|
4651
|
+
* @interface ProvisioningModel
|
|
4047
4652
|
*/
|
|
4048
|
-
export interface
|
|
4653
|
+
export interface ProvisioningModel {
|
|
4049
4654
|
/**
|
|
4050
4655
|
* Provisioning Group Name
|
|
4051
4656
|
* @type {string}
|
|
4052
|
-
* @memberof
|
|
4657
|
+
* @memberof ProvisioningModel
|
|
4053
4658
|
*/
|
|
4054
4659
|
'groupName'?: string;
|
|
4055
4660
|
/**
|
|
4056
4661
|
* Provisioning URL (Static Provisioning Server)
|
|
4057
4662
|
* @type {string}
|
|
4058
|
-
* @memberof
|
|
4663
|
+
* @memberof ProvisioningModel
|
|
4059
4664
|
*/
|
|
4060
4665
|
'provisioningUrl'?: string;
|
|
4061
4666
|
/**
|
|
4062
4667
|
* Additional Authentication Secret
|
|
4063
4668
|
* @type {string}
|
|
4064
|
-
* @memberof
|
|
4669
|
+
* @memberof ProvisioningModel
|
|
4065
4670
|
*/
|
|
4066
4671
|
'auth'?: string;
|
|
4067
4672
|
/**
|
|
4068
4673
|
* Provisioning Group ID
|
|
4069
4674
|
* @type {number}
|
|
4070
|
-
* @memberof
|
|
4675
|
+
* @memberof ProvisioningModel
|
|
4071
4676
|
*/
|
|
4072
4677
|
'id'?: number;
|
|
4073
4678
|
/**
|
|
4074
4679
|
* Owner ID
|
|
4075
4680
|
* @type {number}
|
|
4076
|
-
* @memberof
|
|
4681
|
+
* @memberof ProvisioningModel
|
|
4077
4682
|
*/
|
|
4078
4683
|
'customerId'?: number;
|
|
4079
4684
|
}
|
|
@@ -4346,7 +4951,7 @@ export interface ShipmentEntity {
|
|
|
4346
4951
|
* @type {string}
|
|
4347
4952
|
* @memberof ShipmentEntity
|
|
4348
4953
|
*/
|
|
4349
|
-
'
|
|
4954
|
+
'dateShipped'?: string;
|
|
4350
4955
|
/**
|
|
4351
4956
|
* requestDate
|
|
4352
4957
|
* @type {string}
|
|
@@ -4398,89 +5003,238 @@ export interface ShipmentItemEntity {
|
|
|
4398
5003
|
'itemId'?: string;
|
|
4399
5004
|
}
|
|
4400
5005
|
/**
|
|
4401
|
-
*
|
|
5006
|
+
*
|
|
4402
5007
|
* @export
|
|
4403
|
-
* @interface
|
|
5008
|
+
* @interface ShippingConsignmentModel
|
|
4404
5009
|
*/
|
|
4405
|
-
export interface
|
|
4406
|
-
/**
|
|
4407
|
-
* ID
|
|
4408
|
-
* @type {string}
|
|
4409
|
-
* @memberof SipTrunkChangeResponseModel
|
|
4410
|
-
*/
|
|
4411
|
-
'changeId'?: string;
|
|
5010
|
+
export interface ShippingConsignmentModel {
|
|
4412
5011
|
/**
|
|
4413
5012
|
*
|
|
4414
|
-
* @type {
|
|
4415
|
-
* @memberof
|
|
5013
|
+
* @type {ShippingServiceModel}
|
|
5014
|
+
* @memberof ShippingConsignmentModel
|
|
4416
5015
|
*/
|
|
4417
|
-
'
|
|
5016
|
+
'service'?: ShippingServiceModel;
|
|
4418
5017
|
/**
|
|
4419
|
-
*
|
|
5018
|
+
* ID/Number
|
|
4420
5019
|
* @type {string}
|
|
4421
|
-
* @memberof
|
|
5020
|
+
* @memberof ShippingConsignmentModel
|
|
4422
5021
|
*/
|
|
4423
|
-
'
|
|
5022
|
+
'id'?: string;
|
|
4424
5023
|
/**
|
|
4425
|
-
*
|
|
4426
|
-
* @type {
|
|
4427
|
-
* @memberof
|
|
5024
|
+
* Tracking Number
|
|
5025
|
+
* @type {string}
|
|
5026
|
+
* @memberof ShippingConsignmentModel
|
|
4428
5027
|
*/
|
|
4429
|
-
'
|
|
5028
|
+
'trackingNumber'?: string;
|
|
4430
5029
|
/**
|
|
4431
|
-
*
|
|
4432
|
-
* @type {
|
|
4433
|
-
* @memberof
|
|
5030
|
+
* Parcels
|
|
5031
|
+
* @type {Array<string>}
|
|
5032
|
+
* @memberof ShippingConsignmentModel
|
|
4434
5033
|
*/
|
|
4435
|
-
'
|
|
5034
|
+
'parcelIds'?: Array<string>;
|
|
4436
5035
|
}
|
|
4437
|
-
|
|
4438
|
-
export const SipTrunkChangeResponseModelTypeEnum = {
|
|
4439
|
-
NewTrunk: 'New Trunk',
|
|
4440
|
-
AvailableTrunk: 'Available Trunk',
|
|
4441
|
-
MainTrunkNumber: 'Main Trunk Number',
|
|
4442
|
-
Divert: 'Divert',
|
|
4443
|
-
NewDdi: 'New DDI',
|
|
4444
|
-
CompanyName: 'Company Name',
|
|
4445
|
-
CliFlexibility: 'CLI Flexibility',
|
|
4446
|
-
ChannelCount: 'Channel Count',
|
|
4447
|
-
Cease: 'Cease',
|
|
4448
|
-
PbxIpAddress: 'PBX IP Address',
|
|
4449
|
-
Address: 'Address',
|
|
4450
|
-
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
4451
|
-
Fraud: 'Fraud',
|
|
4452
|
-
CallBarring: 'Call Barring'
|
|
4453
|
-
} as const;
|
|
4454
|
-
|
|
4455
|
-
export type SipTrunkChangeResponseModelTypeEnum = typeof SipTrunkChangeResponseModelTypeEnum[keyof typeof SipTrunkChangeResponseModelTypeEnum];
|
|
4456
|
-
|
|
4457
5036
|
/**
|
|
4458
|
-
*
|
|
5037
|
+
* Shipping Information
|
|
4459
5038
|
* @export
|
|
4460
|
-
* @interface
|
|
5039
|
+
* @interface ShippingInformationDTO
|
|
4461
5040
|
*/
|
|
4462
|
-
export interface
|
|
5041
|
+
export interface ShippingInformationDTO {
|
|
4463
5042
|
/**
|
|
4464
|
-
*
|
|
4465
|
-
* @type {
|
|
4466
|
-
* @memberof
|
|
5043
|
+
* Items
|
|
5044
|
+
* @type {Array<BasicItemDTO>}
|
|
5045
|
+
* @memberof ShippingInformationDTO
|
|
4467
5046
|
*/
|
|
4468
|
-
'
|
|
5047
|
+
'items'?: Array<BasicItemDTO>;
|
|
4469
5048
|
/**
|
|
4470
|
-
*
|
|
5049
|
+
* Destination Post Code
|
|
4471
5050
|
* @type {string}
|
|
4472
|
-
* @memberof
|
|
5051
|
+
* @memberof ShippingInformationDTO
|
|
4473
5052
|
*/
|
|
4474
|
-
'
|
|
5053
|
+
'postalCode'?: string;
|
|
4475
5054
|
/**
|
|
4476
|
-
*
|
|
4477
|
-
* @type {
|
|
4478
|
-
* @memberof
|
|
5055
|
+
* Destination ISO
|
|
5056
|
+
* @type {string}
|
|
5057
|
+
* @memberof ShippingInformationDTO
|
|
4479
5058
|
*/
|
|
4480
|
-
'
|
|
5059
|
+
'iso'?: string;
|
|
5060
|
+
}
|
|
5061
|
+
/**
|
|
5062
|
+
* Shipping Service
|
|
5063
|
+
* @export
|
|
5064
|
+
* @interface ShippingServiceDTO
|
|
5065
|
+
*/
|
|
5066
|
+
export interface ShippingServiceDTO {
|
|
4481
5067
|
/**
|
|
4482
|
-
*
|
|
4483
|
-
* @type {
|
|
5068
|
+
* Courier
|
|
5069
|
+
* @type {string}
|
|
5070
|
+
* @memberof ShippingServiceDTO
|
|
5071
|
+
*/
|
|
5072
|
+
'courier'?: ShippingServiceDTOCourierEnum;
|
|
5073
|
+
/**
|
|
5074
|
+
* Service Name
|
|
5075
|
+
* @type {string}
|
|
5076
|
+
* @memberof ShippingServiceDTO
|
|
5077
|
+
*/
|
|
5078
|
+
'serviceName'?: string;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
export const ShippingServiceDTOCourierEnum = {
|
|
5082
|
+
Dpd: 'DPD',
|
|
5083
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5084
|
+
Pops: 'POPS'
|
|
5085
|
+
} as const;
|
|
5086
|
+
|
|
5087
|
+
export type ShippingServiceDTOCourierEnum = typeof ShippingServiceDTOCourierEnum[keyof typeof ShippingServiceDTOCourierEnum];
|
|
5088
|
+
|
|
5089
|
+
/**
|
|
5090
|
+
* Shipping Service
|
|
5091
|
+
* @export
|
|
5092
|
+
* @interface ShippingServiceModel
|
|
5093
|
+
*/
|
|
5094
|
+
export interface ShippingServiceModel {
|
|
5095
|
+
/**
|
|
5096
|
+
* Courier
|
|
5097
|
+
* @type {string}
|
|
5098
|
+
* @memberof ShippingServiceModel
|
|
5099
|
+
*/
|
|
5100
|
+
'courier'?: ShippingServiceModelCourierEnum;
|
|
5101
|
+
/**
|
|
5102
|
+
* Code
|
|
5103
|
+
* @type {string}
|
|
5104
|
+
* @memberof ShippingServiceModel
|
|
5105
|
+
*/
|
|
5106
|
+
'code'?: string;
|
|
5107
|
+
/**
|
|
5108
|
+
* Name
|
|
5109
|
+
* @type {string}
|
|
5110
|
+
* @memberof ShippingServiceModel
|
|
5111
|
+
*/
|
|
5112
|
+
'name'?: string;
|
|
5113
|
+
/**
|
|
5114
|
+
* Description
|
|
5115
|
+
* @type {string}
|
|
5116
|
+
* @memberof ShippingServiceModel
|
|
5117
|
+
*/
|
|
5118
|
+
'description'?: string;
|
|
5119
|
+
/**
|
|
5120
|
+
* Label
|
|
5121
|
+
* @type {string}
|
|
5122
|
+
* @memberof ShippingServiceModel
|
|
5123
|
+
*/
|
|
5124
|
+
'label'?: string | null;
|
|
5125
|
+
/**
|
|
5126
|
+
* Price
|
|
5127
|
+
* @type {number}
|
|
5128
|
+
* @memberof ShippingServiceModel
|
|
5129
|
+
*/
|
|
5130
|
+
'price'?: number | null;
|
|
5131
|
+
}
|
|
5132
|
+
|
|
5133
|
+
export const ShippingServiceModelCourierEnum = {
|
|
5134
|
+
Dpd: 'DPD',
|
|
5135
|
+
ChorltonPallet: 'Chorlton Pallet',
|
|
5136
|
+
Pops: 'POPS'
|
|
5137
|
+
} as const;
|
|
5138
|
+
|
|
5139
|
+
export type ShippingServiceModelCourierEnum = typeof ShippingServiceModelCourierEnum[keyof typeof ShippingServiceModelCourierEnum];
|
|
5140
|
+
|
|
5141
|
+
/**
|
|
5142
|
+
*
|
|
5143
|
+
* @export
|
|
5144
|
+
* @interface ShippingServicesModel
|
|
5145
|
+
*/
|
|
5146
|
+
export interface ShippingServicesModel {
|
|
5147
|
+
/**
|
|
5148
|
+
* Services
|
|
5149
|
+
* @type {Array<ShippingServiceModel>}
|
|
5150
|
+
* @memberof ShippingServicesModel
|
|
5151
|
+
*/
|
|
5152
|
+
'services'?: Array<ShippingServiceModel>;
|
|
5153
|
+
}
|
|
5154
|
+
/**
|
|
5155
|
+
* Change Response
|
|
5156
|
+
* @export
|
|
5157
|
+
* @interface SipTrunkChangeResponseModel
|
|
5158
|
+
*/
|
|
5159
|
+
export interface SipTrunkChangeResponseModel {
|
|
5160
|
+
/**
|
|
5161
|
+
* ID
|
|
5162
|
+
* @type {string}
|
|
5163
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5164
|
+
*/
|
|
5165
|
+
'changeId'?: string;
|
|
5166
|
+
/**
|
|
5167
|
+
*
|
|
5168
|
+
* @type {SipTrunkEntity}
|
|
5169
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5170
|
+
*/
|
|
5171
|
+
'trunk'?: SipTrunkEntity;
|
|
5172
|
+
/**
|
|
5173
|
+
* Type
|
|
5174
|
+
* @type {string}
|
|
5175
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5176
|
+
*/
|
|
5177
|
+
'type'?: SipTrunkChangeResponseModelTypeEnum;
|
|
5178
|
+
/**
|
|
5179
|
+
* Progress
|
|
5180
|
+
* @type {number}
|
|
5181
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5182
|
+
*/
|
|
5183
|
+
'progress'?: number;
|
|
5184
|
+
/**
|
|
5185
|
+
* Service Provider
|
|
5186
|
+
* @type {number}
|
|
5187
|
+
* @memberof SipTrunkChangeResponseModel
|
|
5188
|
+
*/
|
|
5189
|
+
'provider'?: number;
|
|
5190
|
+
}
|
|
5191
|
+
|
|
5192
|
+
export const SipTrunkChangeResponseModelTypeEnum = {
|
|
5193
|
+
NewTrunk: 'New Trunk',
|
|
5194
|
+
AvailableTrunk: 'Available Trunk',
|
|
5195
|
+
MainTrunkNumber: 'Main Trunk Number',
|
|
5196
|
+
Divert: 'Divert',
|
|
5197
|
+
NewDdi: 'New DDI',
|
|
5198
|
+
CompanyName: 'Company Name',
|
|
5199
|
+
CliFlexibility: 'CLI Flexibility',
|
|
5200
|
+
ChannelCount: 'Channel Count',
|
|
5201
|
+
Cease: 'Cease',
|
|
5202
|
+
PbxIpAddress: 'PBX IP Address',
|
|
5203
|
+
Address: 'Address',
|
|
5204
|
+
BulkEndpointDetails: 'Bulk Endpoint Details',
|
|
5205
|
+
Fraud: 'Fraud',
|
|
5206
|
+
CallBarring: 'Call Barring'
|
|
5207
|
+
} as const;
|
|
5208
|
+
|
|
5209
|
+
export type SipTrunkChangeResponseModelTypeEnum = typeof SipTrunkChangeResponseModelTypeEnum[keyof typeof SipTrunkChangeResponseModelTypeEnum];
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* SIP Trunk Request
|
|
5213
|
+
* @export
|
|
5214
|
+
* @interface SipTrunkCreationRequestModel
|
|
5215
|
+
*/
|
|
5216
|
+
export interface SipTrunkCreationRequestModel {
|
|
5217
|
+
/**
|
|
5218
|
+
*
|
|
5219
|
+
* @type {CustomerInformationModel}
|
|
5220
|
+
* @memberof SipTrunkCreationRequestModel
|
|
5221
|
+
*/
|
|
5222
|
+
'customer'?: CustomerInformationModel;
|
|
5223
|
+
/**
|
|
5224
|
+
* PBX IP Address
|
|
5225
|
+
* @type {string}
|
|
5226
|
+
* @memberof SipTrunkCreationRequestModel
|
|
5227
|
+
*/
|
|
5228
|
+
'pbxIpAddress'?: string;
|
|
5229
|
+
/**
|
|
5230
|
+
* Number of SIP channels
|
|
5231
|
+
* @type {number}
|
|
5232
|
+
* @memberof SipTrunkCreationRequestModel
|
|
5233
|
+
*/
|
|
5234
|
+
'channelCount'?: number;
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @type {CallBarringModel}
|
|
4484
5238
|
* @memberof SipTrunkCreationRequestModel
|
|
4485
5239
|
*/
|
|
4486
5240
|
'callBarring'?: CallBarringModel;
|
|
@@ -5818,6 +6572,31 @@ export interface StockTransactionsEntity {
|
|
|
5818
6572
|
*/
|
|
5819
6573
|
'user'?: number;
|
|
5820
6574
|
}
|
|
6575
|
+
/**
|
|
6576
|
+
* POPS Sub Navigation Item
|
|
6577
|
+
* @export
|
|
6578
|
+
* @interface SubNavigationItemModel
|
|
6579
|
+
*/
|
|
6580
|
+
export interface SubNavigationItemModel {
|
|
6581
|
+
/**
|
|
6582
|
+
* Title
|
|
6583
|
+
* @type {string}
|
|
6584
|
+
* @memberof SubNavigationItemModel
|
|
6585
|
+
*/
|
|
6586
|
+
'title'?: string;
|
|
6587
|
+
/**
|
|
6588
|
+
* URL
|
|
6589
|
+
* @type {string}
|
|
6590
|
+
* @memberof SubNavigationItemModel
|
|
6591
|
+
*/
|
|
6592
|
+
'url'?: string;
|
|
6593
|
+
/**
|
|
6594
|
+
* Icon (Font Awesome)
|
|
6595
|
+
* @type {string}
|
|
6596
|
+
* @memberof SubNavigationItemModel
|
|
6597
|
+
*/
|
|
6598
|
+
'icon'?: string | null;
|
|
6599
|
+
}
|
|
5821
6600
|
/**
|
|
5822
6601
|
* SuppliersEntity
|
|
5823
6602
|
* @export
|
|
@@ -6109,12 +6888,6 @@ export interface TcxBackupModel {
|
|
|
6109
6888
|
* @memberof TcxBackupModel
|
|
6110
6889
|
*/
|
|
6111
6890
|
'phone'?: string | null;
|
|
6112
|
-
/**
|
|
6113
|
-
* Company Name
|
|
6114
|
-
* @type {string}
|
|
6115
|
-
* @memberof TcxBackupModel
|
|
6116
|
-
*/
|
|
6117
|
-
'companyName'?: string | null;
|
|
6118
6891
|
}
|
|
6119
6892
|
/**
|
|
6120
6893
|
* TcxBillingEntity
|
|
@@ -7205,6 +7978,49 @@ export interface TcxPhonesEntity {
|
|
|
7205
7978
|
*/
|
|
7206
7979
|
'sbcId'?: string;
|
|
7207
7980
|
}
|
|
7981
|
+
/**
|
|
7982
|
+
* SBC Data
|
|
7983
|
+
* @export
|
|
7984
|
+
* @interface TcxSbcDTO
|
|
7985
|
+
*/
|
|
7986
|
+
export interface TcxSbcDTO {
|
|
7987
|
+
/**
|
|
7988
|
+
* LAN IP Address
|
|
7989
|
+
* @type {string}
|
|
7990
|
+
* @memberof TcxSbcDTO
|
|
7991
|
+
*/
|
|
7992
|
+
'ipAddress'?: string;
|
|
7993
|
+
/**
|
|
7994
|
+
* LAN Default Gateway
|
|
7995
|
+
* @type {string}
|
|
7996
|
+
* @memberof TcxSbcDTO
|
|
7997
|
+
*/
|
|
7998
|
+
'defaultGateway'?: string;
|
|
7999
|
+
/**
|
|
8000
|
+
* LAN Subnet Mask
|
|
8001
|
+
* @type {string}
|
|
8002
|
+
* @memberof TcxSbcDTO
|
|
8003
|
+
*/
|
|
8004
|
+
'netmask'?: string;
|
|
8005
|
+
/**
|
|
8006
|
+
* DNS
|
|
8007
|
+
* @type {string}
|
|
8008
|
+
* @memberof TcxSbcDTO
|
|
8009
|
+
*/
|
|
8010
|
+
'dns'?: string;
|
|
8011
|
+
/**
|
|
8012
|
+
* 3CX URL
|
|
8013
|
+
* @type {string}
|
|
8014
|
+
* @memberof TcxSbcDTO
|
|
8015
|
+
*/
|
|
8016
|
+
'tcxUrl'?: string;
|
|
8017
|
+
/**
|
|
8018
|
+
* 3CX SBC Key
|
|
8019
|
+
* @type {string}
|
|
8020
|
+
* @memberof TcxSbcDTO
|
|
8021
|
+
*/
|
|
8022
|
+
'tcxKey'?: string;
|
|
8023
|
+
}
|
|
7208
8024
|
/**
|
|
7209
8025
|
* 3CX Wizard SBC
|
|
7210
8026
|
* @export
|
|
@@ -7309,7 +8125,7 @@ export interface TcxSbcEntity {
|
|
|
7309
8125
|
'technicalContact'?: string;
|
|
7310
8126
|
}
|
|
7311
8127
|
/**
|
|
7312
|
-
* 3CX SBC
|
|
8128
|
+
* 3CX Wizard SBC
|
|
7313
8129
|
* @export
|
|
7314
8130
|
* @interface TcxSbcModel
|
|
7315
8131
|
*/
|
|
@@ -8481,6 +9297,40 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8481
9297
|
|
|
8482
9298
|
|
|
8483
9299
|
|
|
9300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9302
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9303
|
+
|
|
9304
|
+
return {
|
|
9305
|
+
url: toPathString(localVarUrlObj),
|
|
9306
|
+
options: localVarRequestOptions,
|
|
9307
|
+
};
|
|
9308
|
+
},
|
|
9309
|
+
/**
|
|
9310
|
+
* Get Account Detailed Summary
|
|
9311
|
+
* @summary Get Account Detailed Summary
|
|
9312
|
+
* @param {number} id Customer ID
|
|
9313
|
+
* @param {*} [options] Override http request option.
|
|
9314
|
+
* @throws {RequiredError}
|
|
9315
|
+
*/
|
|
9316
|
+
getGetAccountDetailedSummary: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9317
|
+
// verify required parameter 'id' is not null or undefined
|
|
9318
|
+
assertParamExists('getGetAccountDetailedSummary', 'id', id)
|
|
9319
|
+
const localVarPath = `/accounts/{id}/summary`
|
|
9320
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
9321
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9322
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9323
|
+
let baseOptions;
|
|
9324
|
+
if (configuration) {
|
|
9325
|
+
baseOptions = configuration.baseOptions;
|
|
9326
|
+
}
|
|
9327
|
+
|
|
9328
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9329
|
+
const localVarHeaderParameter = {} as any;
|
|
9330
|
+
const localVarQueryParameter = {} as any;
|
|
9331
|
+
|
|
9332
|
+
|
|
9333
|
+
|
|
8484
9334
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8485
9335
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8486
9336
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8779,6 +9629,36 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8779
9629
|
options: localVarRequestOptions,
|
|
8780
9630
|
};
|
|
8781
9631
|
},
|
|
9632
|
+
/**
|
|
9633
|
+
* Get Admin Account
|
|
9634
|
+
* @summary Get Admin Account
|
|
9635
|
+
* @param {*} [options] Override http request option.
|
|
9636
|
+
* @throws {RequiredError}
|
|
9637
|
+
*/
|
|
9638
|
+
postGetAdminAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9639
|
+
const localVarPath = `/admin/me`;
|
|
9640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9641
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9642
|
+
let baseOptions;
|
|
9643
|
+
if (configuration) {
|
|
9644
|
+
baseOptions = configuration.baseOptions;
|
|
9645
|
+
}
|
|
9646
|
+
|
|
9647
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9648
|
+
const localVarHeaderParameter = {} as any;
|
|
9649
|
+
const localVarQueryParameter = {} as any;
|
|
9650
|
+
|
|
9651
|
+
|
|
9652
|
+
|
|
9653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9655
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9656
|
+
|
|
9657
|
+
return {
|
|
9658
|
+
url: toPathString(localVarUrlObj),
|
|
9659
|
+
options: localVarRequestOptions,
|
|
9660
|
+
};
|
|
9661
|
+
},
|
|
8782
9662
|
/**
|
|
8783
9663
|
* Create client credentials
|
|
8784
9664
|
* @summary Create client credentials
|
|
@@ -9028,6 +9908,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9028
9908
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountContacts']?.[localVarOperationServerIndex]?.url;
|
|
9029
9909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9030
9910
|
},
|
|
9911
|
+
/**
|
|
9912
|
+
* Get Account Detailed Summary
|
|
9913
|
+
* @summary Get Account Detailed Summary
|
|
9914
|
+
* @param {number} id Customer ID
|
|
9915
|
+
* @param {*} [options] Override http request option.
|
|
9916
|
+
* @throws {RequiredError}
|
|
9917
|
+
*/
|
|
9918
|
+
async getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountDetailedSummaryDTO>> {
|
|
9919
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options);
|
|
9920
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9921
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetAccountDetailedSummary']?.[localVarOperationServerIndex]?.url;
|
|
9922
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9923
|
+
},
|
|
9031
9924
|
/**
|
|
9032
9925
|
* Get Accounts
|
|
9033
9926
|
* @summary Get Accounts
|
|
@@ -9133,6 +10026,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
9133
10026
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAccounts']?.[localVarOperationServerIndex]?.url;
|
|
9134
10027
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9135
10028
|
},
|
|
10029
|
+
/**
|
|
10030
|
+
* Get Admin Account
|
|
10031
|
+
* @summary Get Admin Account
|
|
10032
|
+
* @param {*} [options] Override http request option.
|
|
10033
|
+
* @throws {RequiredError}
|
|
10034
|
+
*/
|
|
10035
|
+
async postGetAdminAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminUserModel>> {
|
|
10036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetAdminAccount(options);
|
|
10037
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10038
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsApi.postGetAdminAccount']?.[localVarOperationServerIndex]?.url;
|
|
10039
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10040
|
+
},
|
|
9136
10041
|
/**
|
|
9137
10042
|
* Create client credentials
|
|
9138
10043
|
* @summary Create client credentials
|
|
@@ -9251,9 +10156,19 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9251
10156
|
return localVarFp.getGetAccountContacts(email, options).then((request) => request(axios, basePath));
|
|
9252
10157
|
},
|
|
9253
10158
|
/**
|
|
9254
|
-
* Get
|
|
9255
|
-
* @summary Get
|
|
9256
|
-
* @param {number}
|
|
10159
|
+
* Get Account Detailed Summary
|
|
10160
|
+
* @summary Get Account Detailed Summary
|
|
10161
|
+
* @param {number} id Customer ID
|
|
10162
|
+
* @param {*} [options] Override http request option.
|
|
10163
|
+
* @throws {RequiredError}
|
|
10164
|
+
*/
|
|
10165
|
+
getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AccountDetailedSummaryDTO> {
|
|
10166
|
+
return localVarFp.getGetAccountDetailedSummary(id, options).then((request) => request(axios, basePath));
|
|
10167
|
+
},
|
|
10168
|
+
/**
|
|
10169
|
+
* Get Accounts
|
|
10170
|
+
* @summary Get Accounts
|
|
10171
|
+
* @param {number} [pageSize] Number Of Results
|
|
9257
10172
|
* @param {number} [page] Page Number
|
|
9258
10173
|
* @param {string} [search] Search
|
|
9259
10174
|
* @param {boolean} [active] Active
|
|
@@ -9331,6 +10246,15 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
9331
10246
|
postGetAccounts(accountRequestModel?: AccountRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<PortalAccountModel> {
|
|
9332
10247
|
return localVarFp.postGetAccounts(accountRequestModel, options).then((request) => request(axios, basePath));
|
|
9333
10248
|
},
|
|
10249
|
+
/**
|
|
10250
|
+
* Get Admin Account
|
|
10251
|
+
* @summary Get Admin Account
|
|
10252
|
+
* @param {*} [options] Override http request option.
|
|
10253
|
+
* @throws {RequiredError}
|
|
10254
|
+
*/
|
|
10255
|
+
postGetAdminAccount(options?: RawAxiosRequestConfig): AxiosPromise<AdminUserModel> {
|
|
10256
|
+
return localVarFp.postGetAdminAccount(options).then((request) => request(axios, basePath));
|
|
10257
|
+
},
|
|
9334
10258
|
/**
|
|
9335
10259
|
* Create client credentials
|
|
9336
10260
|
* @summary Create client credentials
|
|
@@ -9441,6 +10365,18 @@ export class AccountsApi extends BaseAPI {
|
|
|
9441
10365
|
return AccountsApiFp(this.configuration).getGetAccountContacts(email, options).then((request) => request(this.axios, this.basePath));
|
|
9442
10366
|
}
|
|
9443
10367
|
|
|
10368
|
+
/**
|
|
10369
|
+
* Get Account Detailed Summary
|
|
10370
|
+
* @summary Get Account Detailed Summary
|
|
10371
|
+
* @param {number} id Customer ID
|
|
10372
|
+
* @param {*} [options] Override http request option.
|
|
10373
|
+
* @throws {RequiredError}
|
|
10374
|
+
* @memberof AccountsApi
|
|
10375
|
+
*/
|
|
10376
|
+
public getGetAccountDetailedSummary(id: number, options?: RawAxiosRequestConfig) {
|
|
10377
|
+
return AccountsApiFp(this.configuration).getGetAccountDetailedSummary(id, options).then((request) => request(this.axios, this.basePath));
|
|
10378
|
+
}
|
|
10379
|
+
|
|
9444
10380
|
/**
|
|
9445
10381
|
* Get Accounts
|
|
9446
10382
|
* @summary Get Accounts
|
|
@@ -9538,6 +10474,17 @@ export class AccountsApi extends BaseAPI {
|
|
|
9538
10474
|
return AccountsApiFp(this.configuration).postGetAccounts(accountRequestModel, options).then((request) => request(this.axios, this.basePath));
|
|
9539
10475
|
}
|
|
9540
10476
|
|
|
10477
|
+
/**
|
|
10478
|
+
* Get Admin Account
|
|
10479
|
+
* @summary Get Admin Account
|
|
10480
|
+
* @param {*} [options] Override http request option.
|
|
10481
|
+
* @throws {RequiredError}
|
|
10482
|
+
* @memberof AccountsApi
|
|
10483
|
+
*/
|
|
10484
|
+
public postGetAdminAccount(options?: RawAxiosRequestConfig) {
|
|
10485
|
+
return AccountsApiFp(this.configuration).postGetAdminAccount(options).then((request) => request(this.axios, this.basePath));
|
|
10486
|
+
}
|
|
10487
|
+
|
|
9541
10488
|
/**
|
|
9542
10489
|
* Create client credentials
|
|
9543
10490
|
* @summary Create client credentials
|
|
@@ -9638,43 +10585,6 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9638
10585
|
|
|
9639
10586
|
|
|
9640
10587
|
|
|
9641
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9642
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9643
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9644
|
-
|
|
9645
|
-
return {
|
|
9646
|
-
url: toPathString(localVarUrlObj),
|
|
9647
|
-
options: localVarRequestOptions,
|
|
9648
|
-
};
|
|
9649
|
-
},
|
|
9650
|
-
/**
|
|
9651
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9652
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9653
|
-
* @param {string} password Desired 3CX web access password
|
|
9654
|
-
* @param {*} [options] Override http request option.
|
|
9655
|
-
* @throws {RequiredError}
|
|
9656
|
-
*/
|
|
9657
|
-
getGetPasswordHash: async (password: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9658
|
-
// verify required parameter 'password' is not null or undefined
|
|
9659
|
-
assertParamExists('getGetPasswordHash', 'password', password)
|
|
9660
|
-
const localVarPath = `/tcx/pwd2hash`;
|
|
9661
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9662
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9663
|
-
let baseOptions;
|
|
9664
|
-
if (configuration) {
|
|
9665
|
-
baseOptions = configuration.baseOptions;
|
|
9666
|
-
}
|
|
9667
|
-
|
|
9668
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9669
|
-
const localVarHeaderParameter = {} as any;
|
|
9670
|
-
const localVarQueryParameter = {} as any;
|
|
9671
|
-
|
|
9672
|
-
if (password !== undefined) {
|
|
9673
|
-
localVarQueryParameter['password'] = password;
|
|
9674
|
-
}
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
10588
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9679
10589
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9680
10590
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9741,19 +10651,6 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
|
|
|
9741
10651
|
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetLicenceDetails']?.[localVarOperationServerIndex]?.url;
|
|
9742
10652
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9743
10653
|
},
|
|
9744
|
-
/**
|
|
9745
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9746
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9747
|
-
* @param {string} password Desired 3CX web access password
|
|
9748
|
-
* @param {*} [options] Override http request option.
|
|
9749
|
-
* @throws {RequiredError}
|
|
9750
|
-
*/
|
|
9751
|
-
async getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetGetPasswordHash200Response>> {
|
|
9752
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetPasswordHash(password, options);
|
|
9753
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9754
|
-
const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetPasswordHash']?.[localVarOperationServerIndex]?.url;
|
|
9755
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9756
|
-
},
|
|
9757
10654
|
/**
|
|
9758
10655
|
* Get Bulk 3CX Licence Details
|
|
9759
10656
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -9787,16 +10684,6 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
|
|
|
9787
10684
|
getGetLicenceDetails(key: string, options?: RawAxiosRequestConfig): AxiosPromise<TcxLicenceDetailsModel> {
|
|
9788
10685
|
return localVarFp.getGetLicenceDetails(key, options).then((request) => request(axios, basePath));
|
|
9789
10686
|
},
|
|
9790
|
-
/**
|
|
9791
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9792
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9793
|
-
* @param {string} password Desired 3CX web access password
|
|
9794
|
-
* @param {*} [options] Override http request option.
|
|
9795
|
-
* @throws {RequiredError}
|
|
9796
|
-
*/
|
|
9797
|
-
getGetPasswordHash(password: string, options?: RawAxiosRequestConfig): AxiosPromise<GetGetPasswordHash200Response> {
|
|
9798
|
-
return localVarFp.getGetPasswordHash(password, options).then((request) => request(axios, basePath));
|
|
9799
|
-
},
|
|
9800
10687
|
/**
|
|
9801
10688
|
* Get Bulk 3CX Licence Details
|
|
9802
10689
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -9829,18 +10716,6 @@ export class Class3CXApi extends BaseAPI {
|
|
|
9829
10716
|
return Class3CXApiFp(this.configuration).getGetLicenceDetails(key, options).then((request) => request(this.axios, this.basePath));
|
|
9830
10717
|
}
|
|
9831
10718
|
|
|
9832
|
-
/**
|
|
9833
|
-
* Generate a 3CX hashed password for 3CX installation
|
|
9834
|
-
* @summary Convert a password to a hashed 3CX password
|
|
9835
|
-
* @param {string} password Desired 3CX web access password
|
|
9836
|
-
* @param {*} [options] Override http request option.
|
|
9837
|
-
* @throws {RequiredError}
|
|
9838
|
-
* @memberof Class3CXApi
|
|
9839
|
-
*/
|
|
9840
|
-
public getGetPasswordHash(password: string, options?: RawAxiosRequestConfig) {
|
|
9841
|
-
return Class3CXApiFp(this.configuration).getGetPasswordHash(password, options).then((request) => request(this.axios, this.basePath));
|
|
9842
|
-
}
|
|
9843
|
-
|
|
9844
10719
|
/**
|
|
9845
10720
|
* Get Bulk 3CX Licence Details
|
|
9846
10721
|
* @summary Get bulk 3CX Licence Details
|
|
@@ -14435,13 +15310,14 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14435
15310
|
return {
|
|
14436
15311
|
/**
|
|
14437
15312
|
* Delete Orders
|
|
15313
|
+
* @summary Delete Orders
|
|
14438
15314
|
* @param {number} id Order ID
|
|
14439
15315
|
* @param {*} [options] Override http request option.
|
|
14440
15316
|
* @throws {RequiredError}
|
|
14441
15317
|
*/
|
|
14442
|
-
|
|
15318
|
+
deleteUpdateOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14443
15319
|
// verify required parameter 'id' is not null or undefined
|
|
14444
|
-
assertParamExists('
|
|
15320
|
+
assertParamExists('deleteUpdateOrder', 'id', id)
|
|
14445
15321
|
const localVarPath = `/orders/{id}`
|
|
14446
15322
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14447
15323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -14457,6 +15333,39 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14457
15333
|
|
|
14458
15334
|
|
|
14459
15335
|
|
|
15336
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15338
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15339
|
+
|
|
15340
|
+
return {
|
|
15341
|
+
url: toPathString(localVarUrlObj),
|
|
15342
|
+
options: localVarRequestOptions,
|
|
15343
|
+
};
|
|
15344
|
+
},
|
|
15345
|
+
/**
|
|
15346
|
+
* Get Editable Order
|
|
15347
|
+
* @param {number} id Order ID
|
|
15348
|
+
* @param {*} [options] Override http request option.
|
|
15349
|
+
* @throws {RequiredError}
|
|
15350
|
+
*/
|
|
15351
|
+
getGetEditableOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15352
|
+
// verify required parameter 'id' is not null or undefined
|
|
15353
|
+
assertParamExists('getGetEditableOrder', 'id', id)
|
|
15354
|
+
const localVarPath = `/orders/{id}/views/editable`
|
|
15355
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15358
|
+
let baseOptions;
|
|
15359
|
+
if (configuration) {
|
|
15360
|
+
baseOptions = configuration.baseOptions;
|
|
15361
|
+
}
|
|
15362
|
+
|
|
15363
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15364
|
+
const localVarHeaderParameter = {} as any;
|
|
15365
|
+
const localVarQueryParameter = {} as any;
|
|
15366
|
+
|
|
15367
|
+
|
|
15368
|
+
|
|
14460
15369
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14461
15370
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14462
15371
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14526,6 +15435,170 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
14526
15435
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14527
15436
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14528
15437
|
|
|
15438
|
+
return {
|
|
15439
|
+
url: toPathString(localVarUrlObj),
|
|
15440
|
+
options: localVarRequestOptions,
|
|
15441
|
+
};
|
|
15442
|
+
},
|
|
15443
|
+
/**
|
|
15444
|
+
* Create An Order (Admin)
|
|
15445
|
+
* @summary Create An Order (Admin)
|
|
15446
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15447
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15448
|
+
* @param {*} [options] Override http request option.
|
|
15449
|
+
* @throws {RequiredError}
|
|
15450
|
+
*/
|
|
15451
|
+
postCreateAdminOrder: async (readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15452
|
+
const localVarPath = `/admin/orders`;
|
|
15453
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15454
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15455
|
+
let baseOptions;
|
|
15456
|
+
if (configuration) {
|
|
15457
|
+
baseOptions = configuration.baseOptions;
|
|
15458
|
+
}
|
|
15459
|
+
|
|
15460
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15461
|
+
const localVarHeaderParameter = {} as any;
|
|
15462
|
+
const localVarQueryParameter = {} as any;
|
|
15463
|
+
|
|
15464
|
+
if (readonly !== undefined) {
|
|
15465
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
15466
|
+
}
|
|
15467
|
+
|
|
15468
|
+
|
|
15469
|
+
|
|
15470
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15471
|
+
|
|
15472
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15473
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15474
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15475
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15476
|
+
|
|
15477
|
+
return {
|
|
15478
|
+
url: toPathString(localVarUrlObj),
|
|
15479
|
+
options: localVarRequestOptions,
|
|
15480
|
+
};
|
|
15481
|
+
},
|
|
15482
|
+
/**
|
|
15483
|
+
* Create An Order
|
|
15484
|
+
* @summary Create An Order
|
|
15485
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15486
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15487
|
+
* @param {*} [options] Override http request option.
|
|
15488
|
+
* @throws {RequiredError}
|
|
15489
|
+
*/
|
|
15490
|
+
postGetOrders: async (readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15491
|
+
const localVarPath = `/orders`;
|
|
15492
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15493
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15494
|
+
let baseOptions;
|
|
15495
|
+
if (configuration) {
|
|
15496
|
+
baseOptions = configuration.baseOptions;
|
|
15497
|
+
}
|
|
15498
|
+
|
|
15499
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15500
|
+
const localVarHeaderParameter = {} as any;
|
|
15501
|
+
const localVarQueryParameter = {} as any;
|
|
15502
|
+
|
|
15503
|
+
if (readonly !== undefined) {
|
|
15504
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
15505
|
+
}
|
|
15506
|
+
|
|
15507
|
+
|
|
15508
|
+
|
|
15509
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15510
|
+
|
|
15511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15513
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15514
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15515
|
+
|
|
15516
|
+
return {
|
|
15517
|
+
url: toPathString(localVarUrlObj),
|
|
15518
|
+
options: localVarRequestOptions,
|
|
15519
|
+
};
|
|
15520
|
+
},
|
|
15521
|
+
/**
|
|
15522
|
+
* Update An Order (Admin)
|
|
15523
|
+
* @summary Update An Order (Admin)
|
|
15524
|
+
* @param {number} id Order ID
|
|
15525
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15526
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15527
|
+
* @param {*} [options] Override http request option.
|
|
15528
|
+
* @throws {RequiredError}
|
|
15529
|
+
*/
|
|
15530
|
+
putUpdateAdminOrder: async (id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15531
|
+
// verify required parameter 'id' is not null or undefined
|
|
15532
|
+
assertParamExists('putUpdateAdminOrder', 'id', id)
|
|
15533
|
+
const localVarPath = `/admin/orders/{id}`
|
|
15534
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15537
|
+
let baseOptions;
|
|
15538
|
+
if (configuration) {
|
|
15539
|
+
baseOptions = configuration.baseOptions;
|
|
15540
|
+
}
|
|
15541
|
+
|
|
15542
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15543
|
+
const localVarHeaderParameter = {} as any;
|
|
15544
|
+
const localVarQueryParameter = {} as any;
|
|
15545
|
+
|
|
15546
|
+
if (readonly !== undefined) {
|
|
15547
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
15548
|
+
}
|
|
15549
|
+
|
|
15550
|
+
|
|
15551
|
+
|
|
15552
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15553
|
+
|
|
15554
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15555
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15556
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15557
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15558
|
+
|
|
15559
|
+
return {
|
|
15560
|
+
url: toPathString(localVarUrlObj),
|
|
15561
|
+
options: localVarRequestOptions,
|
|
15562
|
+
};
|
|
15563
|
+
},
|
|
15564
|
+
/**
|
|
15565
|
+
* Update An Order
|
|
15566
|
+
* @summary Update An Order
|
|
15567
|
+
* @param {number} id Order ID
|
|
15568
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15569
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15570
|
+
* @param {*} [options] Override http request option.
|
|
15571
|
+
* @throws {RequiredError}
|
|
15572
|
+
*/
|
|
15573
|
+
putUpdateOrder: async (id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15574
|
+
// verify required parameter 'id' is not null or undefined
|
|
15575
|
+
assertParamExists('putUpdateOrder', 'id', id)
|
|
15576
|
+
const localVarPath = `/orders/{id}`
|
|
15577
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15580
|
+
let baseOptions;
|
|
15581
|
+
if (configuration) {
|
|
15582
|
+
baseOptions = configuration.baseOptions;
|
|
15583
|
+
}
|
|
15584
|
+
|
|
15585
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15586
|
+
const localVarHeaderParameter = {} as any;
|
|
15587
|
+
const localVarQueryParameter = {} as any;
|
|
15588
|
+
|
|
15589
|
+
if (readonly !== undefined) {
|
|
15590
|
+
localVarQueryParameter['readonly'] = readonly;
|
|
15591
|
+
}
|
|
15592
|
+
|
|
15593
|
+
|
|
15594
|
+
|
|
15595
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15596
|
+
|
|
15597
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15599
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15600
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customerOrderRequestDTO, localVarRequestOptions, configuration)
|
|
15601
|
+
|
|
14529
15602
|
return {
|
|
14530
15603
|
url: toPathString(localVarUrlObj),
|
|
14531
15604
|
options: localVarRequestOptions,
|
|
@@ -14543,14 +15616,27 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
14543
15616
|
return {
|
|
14544
15617
|
/**
|
|
14545
15618
|
* Delete Orders
|
|
15619
|
+
* @summary Delete Orders
|
|
15620
|
+
* @param {number} id Order ID
|
|
15621
|
+
* @param {*} [options] Override http request option.
|
|
15622
|
+
* @throws {RequiredError}
|
|
15623
|
+
*/
|
|
15624
|
+
async deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUpdateOrder(id, options);
|
|
15626
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15627
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.deleteUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
15628
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15629
|
+
},
|
|
15630
|
+
/**
|
|
15631
|
+
* Get Editable Order
|
|
14546
15632
|
* @param {number} id Order ID
|
|
14547
15633
|
* @param {*} [options] Override http request option.
|
|
14548
15634
|
* @throws {RequiredError}
|
|
14549
15635
|
*/
|
|
14550
|
-
async
|
|
14551
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15636
|
+
async getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderSummaryDTO>> {
|
|
15637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetEditableOrder(id, options);
|
|
14552
15638
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14553
|
-
const localVarOperationServerBasePath = operationServerMap['OrdersApi.
|
|
15639
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetEditableOrder']?.[localVarOperationServerIndex]?.url;
|
|
14554
15640
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14555
15641
|
},
|
|
14556
15642
|
/**
|
|
@@ -14572,6 +15658,64 @@ export const OrdersApiFp = function(configuration?: Configuration) {
|
|
|
14572
15658
|
const localVarOperationServerBasePath = operationServerMap['OrdersApi.getGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
14573
15659
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14574
15660
|
},
|
|
15661
|
+
/**
|
|
15662
|
+
* Create An Order (Admin)
|
|
15663
|
+
* @summary Create An Order (Admin)
|
|
15664
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15665
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15666
|
+
* @param {*} [options] Override http request option.
|
|
15667
|
+
* @throws {RequiredError}
|
|
15668
|
+
*/
|
|
15669
|
+
async postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options);
|
|
15671
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15672
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postCreateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
15673
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15674
|
+
},
|
|
15675
|
+
/**
|
|
15676
|
+
* Create An Order
|
|
15677
|
+
* @summary Create An Order
|
|
15678
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15679
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15680
|
+
* @param {*} [options] Override http request option.
|
|
15681
|
+
* @throws {RequiredError}
|
|
15682
|
+
*/
|
|
15683
|
+
async postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15684
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options);
|
|
15685
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15686
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.postGetOrders']?.[localVarOperationServerIndex]?.url;
|
|
15687
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15688
|
+
},
|
|
15689
|
+
/**
|
|
15690
|
+
* Update An Order (Admin)
|
|
15691
|
+
* @summary Update An Order (Admin)
|
|
15692
|
+
* @param {number} id Order ID
|
|
15693
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15694
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15695
|
+
* @param {*} [options] Override http request option.
|
|
15696
|
+
* @throws {RequiredError}
|
|
15697
|
+
*/
|
|
15698
|
+
async putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options);
|
|
15700
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15701
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateAdminOrder']?.[localVarOperationServerIndex]?.url;
|
|
15702
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15703
|
+
},
|
|
15704
|
+
/**
|
|
15705
|
+
* Update An Order
|
|
15706
|
+
* @summary Update An Order
|
|
15707
|
+
* @param {number} id Order ID
|
|
15708
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15709
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15710
|
+
* @param {*} [options] Override http request option.
|
|
15711
|
+
* @throws {RequiredError}
|
|
15712
|
+
*/
|
|
15713
|
+
async putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrderSummaryDTO>>> {
|
|
15714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options);
|
|
15715
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15716
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.putUpdateOrder']?.[localVarOperationServerIndex]?.url;
|
|
15717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15718
|
+
},
|
|
14575
15719
|
}
|
|
14576
15720
|
};
|
|
14577
15721
|
|
|
@@ -14584,12 +15728,22 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
14584
15728
|
return {
|
|
14585
15729
|
/**
|
|
14586
15730
|
* Delete Orders
|
|
15731
|
+
* @summary Delete Orders
|
|
15732
|
+
* @param {number} id Order ID
|
|
15733
|
+
* @param {*} [options] Override http request option.
|
|
15734
|
+
* @throws {RequiredError}
|
|
15735
|
+
*/
|
|
15736
|
+
deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
15737
|
+
return localVarFp.deleteUpdateOrder(id, options).then((request) => request(axios, basePath));
|
|
15738
|
+
},
|
|
15739
|
+
/**
|
|
15740
|
+
* Get Editable Order
|
|
14587
15741
|
* @param {number} id Order ID
|
|
14588
15742
|
* @param {*} [options] Override http request option.
|
|
14589
15743
|
* @throws {RequiredError}
|
|
14590
15744
|
*/
|
|
14591
|
-
|
|
14592
|
-
return localVarFp.
|
|
15745
|
+
getGetEditableOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummaryDTO> {
|
|
15746
|
+
return localVarFp.getGetEditableOrder(id, options).then((request) => request(axios, basePath));
|
|
14593
15747
|
},
|
|
14594
15748
|
/**
|
|
14595
15749
|
* Get Orders
|
|
@@ -14607,6 +15761,52 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
14607
15761
|
getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<OrderSummariesModel> {
|
|
14608
15762
|
return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(axios, basePath));
|
|
14609
15763
|
},
|
|
15764
|
+
/**
|
|
15765
|
+
* Create An Order (Admin)
|
|
15766
|
+
* @summary Create An Order (Admin)
|
|
15767
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15768
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15769
|
+
* @param {*} [options] Override http request option.
|
|
15770
|
+
* @throws {RequiredError}
|
|
15771
|
+
*/
|
|
15772
|
+
postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15773
|
+
return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15774
|
+
},
|
|
15775
|
+
/**
|
|
15776
|
+
* Create An Order
|
|
15777
|
+
* @summary Create An Order
|
|
15778
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15779
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15780
|
+
* @param {*} [options] Override http request option.
|
|
15781
|
+
* @throws {RequiredError}
|
|
15782
|
+
*/
|
|
15783
|
+
postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15784
|
+
return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15785
|
+
},
|
|
15786
|
+
/**
|
|
15787
|
+
* Update An Order (Admin)
|
|
15788
|
+
* @summary Update An Order (Admin)
|
|
15789
|
+
* @param {number} id Order ID
|
|
15790
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15791
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15792
|
+
* @param {*} [options] Override http request option.
|
|
15793
|
+
* @throws {RequiredError}
|
|
15794
|
+
*/
|
|
15795
|
+
putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15796
|
+
return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15797
|
+
},
|
|
15798
|
+
/**
|
|
15799
|
+
* Update An Order
|
|
15800
|
+
* @summary Update An Order
|
|
15801
|
+
* @param {number} id Order ID
|
|
15802
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15803
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15804
|
+
* @param {*} [options] Override http request option.
|
|
15805
|
+
* @throws {RequiredError}
|
|
15806
|
+
*/
|
|
15807
|
+
putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrderSummaryDTO>> {
|
|
15808
|
+
return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(axios, basePath));
|
|
15809
|
+
},
|
|
14610
15810
|
};
|
|
14611
15811
|
};
|
|
14612
15812
|
|
|
@@ -14619,13 +15819,25 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
|
|
|
14619
15819
|
export class OrdersApi extends BaseAPI {
|
|
14620
15820
|
/**
|
|
14621
15821
|
* Delete Orders
|
|
15822
|
+
* @summary Delete Orders
|
|
15823
|
+
* @param {number} id Order ID
|
|
15824
|
+
* @param {*} [options] Override http request option.
|
|
15825
|
+
* @throws {RequiredError}
|
|
15826
|
+
* @memberof OrdersApi
|
|
15827
|
+
*/
|
|
15828
|
+
public deleteUpdateOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15829
|
+
return OrdersApiFp(this.configuration).deleteUpdateOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
15830
|
+
}
|
|
15831
|
+
|
|
15832
|
+
/**
|
|
15833
|
+
* Get Editable Order
|
|
14622
15834
|
* @param {number} id Order ID
|
|
14623
15835
|
* @param {*} [options] Override http request option.
|
|
14624
15836
|
* @throws {RequiredError}
|
|
14625
15837
|
* @memberof OrdersApi
|
|
14626
15838
|
*/
|
|
14627
|
-
public
|
|
14628
|
-
return OrdersApiFp(this.configuration).
|
|
15839
|
+
public getGetEditableOrder(id: number, options?: RawAxiosRequestConfig) {
|
|
15840
|
+
return OrdersApiFp(this.configuration).getGetEditableOrder(id, options).then((request) => request(this.axios, this.basePath));
|
|
14629
15841
|
}
|
|
14630
15842
|
|
|
14631
15843
|
/**
|
|
@@ -14645,6 +15857,60 @@ export class OrdersApi extends BaseAPI {
|
|
|
14645
15857
|
public getGetOrders(pageSize?: number, page?: number, search?: string, fulfillable?: boolean | null, status?: GetGetOrdersStatusEnum, filter?: GetGetOrdersFilterEnum, customerId?: number | null, options?: RawAxiosRequestConfig) {
|
|
14646
15858
|
return OrdersApiFp(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then((request) => request(this.axios, this.basePath));
|
|
14647
15859
|
}
|
|
15860
|
+
|
|
15861
|
+
/**
|
|
15862
|
+
* Create An Order (Admin)
|
|
15863
|
+
* @summary Create An Order (Admin)
|
|
15864
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15865
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
|
|
15866
|
+
* @param {*} [options] Override http request option.
|
|
15867
|
+
* @throws {RequiredError}
|
|
15868
|
+
* @memberof OrdersApi
|
|
15869
|
+
*/
|
|
15870
|
+
public postCreateAdminOrder(readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15871
|
+
return OrdersApiFp(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15872
|
+
}
|
|
15873
|
+
|
|
15874
|
+
/**
|
|
15875
|
+
* Create An Order
|
|
15876
|
+
* @summary Create An Order
|
|
15877
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15878
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15879
|
+
* @param {*} [options] Override http request option.
|
|
15880
|
+
* @throws {RequiredError}
|
|
15881
|
+
* @memberof OrdersApi
|
|
15882
|
+
*/
|
|
15883
|
+
public postGetOrders(readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15884
|
+
return OrdersApiFp(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15885
|
+
}
|
|
15886
|
+
|
|
15887
|
+
/**
|
|
15888
|
+
* Update An Order (Admin)
|
|
15889
|
+
* @summary Update An Order (Admin)
|
|
15890
|
+
* @param {number} id Order ID
|
|
15891
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15892
|
+
* @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
|
|
15893
|
+
* @param {*} [options] Override http request option.
|
|
15894
|
+
* @throws {RequiredError}
|
|
15895
|
+
* @memberof OrdersApi
|
|
15896
|
+
*/
|
|
15897
|
+
public putUpdateAdminOrder(id: number, readonly?: boolean, adminOrderRequestDTO?: AdminOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15898
|
+
return OrdersApiFp(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15899
|
+
}
|
|
15900
|
+
|
|
15901
|
+
/**
|
|
15902
|
+
* Update An Order
|
|
15903
|
+
* @summary Update An Order
|
|
15904
|
+
* @param {number} id Order ID
|
|
15905
|
+
* @param {boolean} [readonly] Readonly Order
|
|
15906
|
+
* @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
|
|
15907
|
+
* @param {*} [options] Override http request option.
|
|
15908
|
+
* @throws {RequiredError}
|
|
15909
|
+
* @memberof OrdersApi
|
|
15910
|
+
*/
|
|
15911
|
+
public putUpdateOrder(id: number, readonly?: boolean, customerOrderRequestDTO?: CustomerOrderRequestDTO, options?: RawAxiosRequestConfig) {
|
|
15912
|
+
return OrdersApiFp(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15913
|
+
}
|
|
14648
15914
|
}
|
|
14649
15915
|
|
|
14650
15916
|
/**
|
|
@@ -15030,8 +16296,42 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15030
16296
|
* @param {*} [options] Override http request option.
|
|
15031
16297
|
* @throws {RequiredError}
|
|
15032
16298
|
*/
|
|
15033
|
-
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15034
|
-
const localVarPath = `/products/attributes`;
|
|
16299
|
+
getGetAttributeSets: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16300
|
+
const localVarPath = `/products/attributes`;
|
|
16301
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16302
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16303
|
+
let baseOptions;
|
|
16304
|
+
if (configuration) {
|
|
16305
|
+
baseOptions = configuration.baseOptions;
|
|
16306
|
+
}
|
|
16307
|
+
|
|
16308
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16309
|
+
const localVarHeaderParameter = {} as any;
|
|
16310
|
+
const localVarQueryParameter = {} as any;
|
|
16311
|
+
|
|
16312
|
+
|
|
16313
|
+
|
|
16314
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16315
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16316
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16317
|
+
|
|
16318
|
+
return {
|
|
16319
|
+
url: toPathString(localVarUrlObj),
|
|
16320
|
+
options: localVarRequestOptions,
|
|
16321
|
+
};
|
|
16322
|
+
},
|
|
16323
|
+
/**
|
|
16324
|
+
* Get Current Stock & Pricing
|
|
16325
|
+
* @summary Get Current Stock & Pricing
|
|
16326
|
+
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
16327
|
+
* @param {*} [options] Override http request option.
|
|
16328
|
+
* @deprecated
|
|
16329
|
+
* @throws {RequiredError}
|
|
16330
|
+
*/
|
|
16331
|
+
getGetLegacyStockList: async (format: GetGetLegacyStockListFormatEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16332
|
+
// verify required parameter 'format' is not null or undefined
|
|
16333
|
+
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
16334
|
+
const localVarPath = `/products/stock/legacy`;
|
|
15035
16335
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15036
16336
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15037
16337
|
let baseOptions;
|
|
@@ -15043,6 +16343,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15043
16343
|
const localVarHeaderParameter = {} as any;
|
|
15044
16344
|
const localVarQueryParameter = {} as any;
|
|
15045
16345
|
|
|
16346
|
+
if (format !== undefined) {
|
|
16347
|
+
localVarQueryParameter['format'] = format;
|
|
16348
|
+
}
|
|
16349
|
+
|
|
15046
16350
|
|
|
15047
16351
|
|
|
15048
16352
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15055,13 +16359,13 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15055
16359
|
};
|
|
15056
16360
|
},
|
|
15057
16361
|
/**
|
|
15058
|
-
* Get
|
|
15059
|
-
* @summary Get
|
|
16362
|
+
* Get Products
|
|
16363
|
+
* @summary Get Products
|
|
15060
16364
|
* @param {*} [options] Override http request option.
|
|
15061
16365
|
* @throws {RequiredError}
|
|
15062
16366
|
*/
|
|
15063
|
-
|
|
15064
|
-
const localVarPath = `/products
|
|
16367
|
+
getGetProducts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16368
|
+
const localVarPath = `/products`;
|
|
15065
16369
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15066
16370
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15067
16371
|
let baseOptions;
|
|
@@ -15087,15 +16391,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15087
16391
|
/**
|
|
15088
16392
|
* Get Current Stock & Pricing
|
|
15089
16393
|
* @summary Get Current Stock & Pricing
|
|
15090
|
-
* @param {GetGetLegacyStockListFormatEnum} format File Format
|
|
15091
16394
|
* @param {*} [options] Override http request option.
|
|
15092
|
-
* @deprecated
|
|
15093
16395
|
* @throws {RequiredError}
|
|
15094
16396
|
*/
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
assertParamExists('getGetLegacyStockList', 'format', format)
|
|
15098
|
-
const localVarPath = `/products/stock/legacy`;
|
|
16397
|
+
getGetStockList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16398
|
+
const localVarPath = `/products/stock`;
|
|
15099
16399
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15100
16400
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15101
16401
|
let baseOptions;
|
|
@@ -15107,10 +16407,36 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15107
16407
|
const localVarHeaderParameter = {} as any;
|
|
15108
16408
|
const localVarQueryParameter = {} as any;
|
|
15109
16409
|
|
|
15110
|
-
|
|
15111
|
-
|
|
16410
|
+
|
|
16411
|
+
|
|
16412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16414
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16415
|
+
|
|
16416
|
+
return {
|
|
16417
|
+
url: toPathString(localVarUrlObj),
|
|
16418
|
+
options: localVarRequestOptions,
|
|
16419
|
+
};
|
|
16420
|
+
},
|
|
16421
|
+
/**
|
|
16422
|
+
* Get 3CX Templates
|
|
16423
|
+
* @summary Get 3CX Templates
|
|
16424
|
+
* @param {*} [options] Override http request option.
|
|
16425
|
+
* @throws {RequiredError}
|
|
16426
|
+
*/
|
|
16427
|
+
getGetTcxTemplates: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16428
|
+
const localVarPath = `/products/attributes/tcx/templates`;
|
|
16429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16430
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16431
|
+
let baseOptions;
|
|
16432
|
+
if (configuration) {
|
|
16433
|
+
baseOptions = configuration.baseOptions;
|
|
15112
16434
|
}
|
|
15113
16435
|
|
|
16436
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16437
|
+
const localVarHeaderParameter = {} as any;
|
|
16438
|
+
const localVarQueryParameter = {} as any;
|
|
16439
|
+
|
|
15114
16440
|
|
|
15115
16441
|
|
|
15116
16442
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15123,15 +16449,15 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15123
16449
|
};
|
|
15124
16450
|
},
|
|
15125
16451
|
/**
|
|
15126
|
-
*
|
|
15127
|
-
* @summary
|
|
16452
|
+
* Search Products
|
|
16453
|
+
* @summary Search Products
|
|
15128
16454
|
* @param {number} [pageSize] Number Of Results
|
|
15129
16455
|
* @param {number} [page] Page Number
|
|
15130
16456
|
* @param {string} [search] Search
|
|
15131
16457
|
* @param {*} [options] Override http request option.
|
|
15132
16458
|
* @throws {RequiredError}
|
|
15133
16459
|
*/
|
|
15134
|
-
|
|
16460
|
+
getSearchProducts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15135
16461
|
const localVarPath = `/products/search`;
|
|
15136
16462
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15137
16463
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15168,13 +16494,20 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15168
16494
|
};
|
|
15169
16495
|
},
|
|
15170
16496
|
/**
|
|
15171
|
-
* Get
|
|
15172
|
-
* @summary Get
|
|
16497
|
+
* Get Product
|
|
16498
|
+
* @summary Get Product
|
|
16499
|
+
* @param {string} sku Product SKU
|
|
16500
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15173
16501
|
* @param {*} [options] Override http request option.
|
|
15174
16502
|
* @throws {RequiredError}
|
|
15175
16503
|
*/
|
|
15176
|
-
|
|
15177
|
-
|
|
16504
|
+
postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16505
|
+
// verify required parameter 'sku' is not null or undefined
|
|
16506
|
+
assertParamExists('postGetProduct', 'sku', sku)
|
|
16507
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16508
|
+
assertParamExists('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
16509
|
+
const localVarPath = `/products/{sku}`
|
|
16510
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15178
16511
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15179
16512
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15180
16513
|
let baseOptions;
|
|
@@ -15182,15 +16515,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15182
16515
|
baseOptions = configuration.baseOptions;
|
|
15183
16516
|
}
|
|
15184
16517
|
|
|
15185
|
-
const localVarRequestOptions = { method: '
|
|
16518
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15186
16519
|
const localVarHeaderParameter = {} as any;
|
|
15187
16520
|
const localVarQueryParameter = {} as any;
|
|
15188
16521
|
|
|
15189
16522
|
|
|
15190
16523
|
|
|
16524
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16525
|
+
|
|
15191
16526
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15192
16527
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15193
16528
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16529
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
15194
16530
|
|
|
15195
16531
|
return {
|
|
15196
16532
|
url: toPathString(localVarUrlObj),
|
|
@@ -15198,13 +16534,23 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15198
16534
|
};
|
|
15199
16535
|
},
|
|
15200
16536
|
/**
|
|
15201
|
-
* Get
|
|
15202
|
-
* @summary Get
|
|
16537
|
+
* Get Product For Customer
|
|
16538
|
+
* @summary Get Product For Customer
|
|
16539
|
+
* @param {number} customerId Customer ID
|
|
16540
|
+
* @param {string} sku Product SKU
|
|
16541
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
15203
16542
|
* @param {*} [options] Override http request option.
|
|
15204
16543
|
* @throws {RequiredError}
|
|
15205
16544
|
*/
|
|
15206
|
-
|
|
15207
|
-
|
|
16545
|
+
postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16546
|
+
// verify required parameter 'customerId' is not null or undefined
|
|
16547
|
+
assertParamExists('postGetProductForCustomer', 'customerId', customerId)
|
|
16548
|
+
// verify required parameter 'sku' is not null or undefined
|
|
16549
|
+
assertParamExists('postGetProductForCustomer', 'sku', sku)
|
|
16550
|
+
// verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
|
|
16551
|
+
assertParamExists('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest)
|
|
16552
|
+
const localVarPath = `/admin/products/{sku}`
|
|
16553
|
+
.replace(`{${"sku"}}`, encodeURIComponent(String(sku)));
|
|
15208
16554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15209
16555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15210
16556
|
let baseOptions;
|
|
@@ -15212,15 +16558,22 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15212
16558
|
baseOptions = configuration.baseOptions;
|
|
15213
16559
|
}
|
|
15214
16560
|
|
|
15215
|
-
const localVarRequestOptions = { method: '
|
|
16561
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15216
16562
|
const localVarHeaderParameter = {} as any;
|
|
15217
16563
|
const localVarQueryParameter = {} as any;
|
|
15218
16564
|
|
|
16565
|
+
if (customerId !== undefined) {
|
|
16566
|
+
localVarQueryParameter['customerId'] = customerId;
|
|
16567
|
+
}
|
|
16568
|
+
|
|
15219
16569
|
|
|
15220
16570
|
|
|
16571
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16572
|
+
|
|
15221
16573
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15222
16574
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15223
16575
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16576
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postGetProductForCustomerRequest, localVarRequestOptions, configuration)
|
|
15224
16577
|
|
|
15225
16578
|
return {
|
|
15226
16579
|
url: toPathString(localVarUrlObj),
|
|
@@ -15249,18 +16602,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
15249
16602
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
15250
16603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15251
16604
|
},
|
|
15252
|
-
/**
|
|
15253
|
-
* Get Customer Price Lists
|
|
15254
|
-
* @summary Get Customer Price Lists
|
|
15255
|
-
* @param {*} [options] Override http request option.
|
|
15256
|
-
* @throws {RequiredError}
|
|
15257
|
-
*/
|
|
15258
|
-
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
15259
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
15260
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15261
|
-
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
15262
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15263
|
-
},
|
|
15264
16605
|
/**
|
|
15265
16606
|
* Get Current Stock & Pricing
|
|
15266
16607
|
* @summary Get Current Stock & Pricing
|
|
@@ -15278,14 +16619,11 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
15278
16619
|
/**
|
|
15279
16620
|
* Get Products
|
|
15280
16621
|
* @summary Get Products
|
|
15281
|
-
* @param {number} [pageSize] Number Of Results
|
|
15282
|
-
* @param {number} [page] Page Number
|
|
15283
|
-
* @param {string} [search] Search
|
|
15284
16622
|
* @param {*} [options] Override http request option.
|
|
15285
16623
|
* @throws {RequiredError}
|
|
15286
16624
|
*/
|
|
15287
|
-
async getGetProducts(
|
|
15288
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(
|
|
16625
|
+
async getGetProducts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BasicProductDTO>>> {
|
|
16626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetProducts(options);
|
|
15289
16627
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15290
16628
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetProducts']?.[localVarOperationServerIndex]?.url;
|
|
15291
16629
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15314,6 +16652,50 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
15314
16652
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetTcxTemplates']?.[localVarOperationServerIndex]?.url;
|
|
15315
16653
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15316
16654
|
},
|
|
16655
|
+
/**
|
|
16656
|
+
* Search Products
|
|
16657
|
+
* @summary Search Products
|
|
16658
|
+
* @param {number} [pageSize] Number Of Results
|
|
16659
|
+
* @param {number} [page] Page Number
|
|
16660
|
+
* @param {string} [search] Search
|
|
16661
|
+
* @param {*} [options] Override http request option.
|
|
16662
|
+
* @throws {RequiredError}
|
|
16663
|
+
*/
|
|
16664
|
+
async getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>> {
|
|
16665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options);
|
|
16666
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16667
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getSearchProducts']?.[localVarOperationServerIndex]?.url;
|
|
16668
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16669
|
+
},
|
|
16670
|
+
/**
|
|
16671
|
+
* Get Product
|
|
16672
|
+
* @summary Get Product
|
|
16673
|
+
* @param {string} sku Product SKU
|
|
16674
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16675
|
+
* @param {*} [options] Override http request option.
|
|
16676
|
+
* @throws {RequiredError}
|
|
16677
|
+
*/
|
|
16678
|
+
async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
16679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
|
|
16680
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16681
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
|
|
16682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16683
|
+
},
|
|
16684
|
+
/**
|
|
16685
|
+
* Get Product For Customer
|
|
16686
|
+
* @summary Get Product For Customer
|
|
16687
|
+
* @param {number} customerId Customer ID
|
|
16688
|
+
* @param {string} sku Product SKU
|
|
16689
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16690
|
+
* @param {*} [options] Override http request option.
|
|
16691
|
+
* @throws {RequiredError}
|
|
16692
|
+
*/
|
|
16693
|
+
async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
|
|
16694
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
|
|
16695
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16696
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
|
|
16697
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16698
|
+
},
|
|
15317
16699
|
}
|
|
15318
16700
|
};
|
|
15319
16701
|
|
|
@@ -15333,15 +16715,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15333
16715
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
15334
16716
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
15335
16717
|
},
|
|
15336
|
-
/**
|
|
15337
|
-
* Get Customer Price Lists
|
|
15338
|
-
* @summary Get Customer Price Lists
|
|
15339
|
-
* @param {*} [options] Override http request option.
|
|
15340
|
-
* @throws {RequiredError}
|
|
15341
|
-
*/
|
|
15342
|
-
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
15343
|
-
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
15344
|
-
},
|
|
15345
16718
|
/**
|
|
15346
16719
|
* Get Current Stock & Pricing
|
|
15347
16720
|
* @summary Get Current Stock & Pricing
|
|
@@ -15356,14 +16729,11 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15356
16729
|
/**
|
|
15357
16730
|
* Get Products
|
|
15358
16731
|
* @summary Get Products
|
|
15359
|
-
* @param {number} [pageSize] Number Of Results
|
|
15360
|
-
* @param {number} [page] Page Number
|
|
15361
|
-
* @param {string} [search] Search
|
|
15362
16732
|
* @param {*} [options] Override http request option.
|
|
15363
16733
|
* @throws {RequiredError}
|
|
15364
16734
|
*/
|
|
15365
|
-
getGetProducts(
|
|
15366
|
-
return localVarFp.getGetProducts(
|
|
16735
|
+
getGetProducts(options?: RawAxiosRequestConfig): AxiosPromise<Array<BasicProductDTO>> {
|
|
16736
|
+
return localVarFp.getGetProducts(options).then((request) => request(axios, basePath));
|
|
15367
16737
|
},
|
|
15368
16738
|
/**
|
|
15369
16739
|
* Get Current Stock & Pricing
|
|
@@ -15383,6 +16753,41 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15383
16753
|
getGetTcxTemplates(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxTemplateXmlEnum>> {
|
|
15384
16754
|
return localVarFp.getGetTcxTemplates(options).then((request) => request(axios, basePath));
|
|
15385
16755
|
},
|
|
16756
|
+
/**
|
|
16757
|
+
* Search Products
|
|
16758
|
+
* @summary Search Products
|
|
16759
|
+
* @param {number} [pageSize] Number Of Results
|
|
16760
|
+
* @param {number} [page] Page Number
|
|
16761
|
+
* @param {string} [search] Search
|
|
16762
|
+
* @param {*} [options] Override http request option.
|
|
16763
|
+
* @throws {RequiredError}
|
|
16764
|
+
*/
|
|
16765
|
+
getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel> {
|
|
16766
|
+
return localVarFp.getSearchProducts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
16767
|
+
},
|
|
16768
|
+
/**
|
|
16769
|
+
* Get Product
|
|
16770
|
+
* @summary Get Product
|
|
16771
|
+
* @param {string} sku Product SKU
|
|
16772
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16773
|
+
* @param {*} [options] Override http request option.
|
|
16774
|
+
* @throws {RequiredError}
|
|
16775
|
+
*/
|
|
16776
|
+
postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
16777
|
+
return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
16778
|
+
},
|
|
16779
|
+
/**
|
|
16780
|
+
* Get Product For Customer
|
|
16781
|
+
* @summary Get Product For Customer
|
|
16782
|
+
* @param {number} customerId Customer ID
|
|
16783
|
+
* @param {string} sku Product SKU
|
|
16784
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16785
|
+
* @param {*} [options] Override http request option.
|
|
16786
|
+
* @throws {RequiredError}
|
|
16787
|
+
*/
|
|
16788
|
+
postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
|
|
16789
|
+
return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
|
|
16790
|
+
},
|
|
15386
16791
|
};
|
|
15387
16792
|
};
|
|
15388
16793
|
|
|
@@ -15404,17 +16809,6 @@ export class ProductsApi extends BaseAPI {
|
|
|
15404
16809
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
15405
16810
|
}
|
|
15406
16811
|
|
|
15407
|
-
/**
|
|
15408
|
-
* Get Customer Price Lists
|
|
15409
|
-
* @summary Get Customer Price Lists
|
|
15410
|
-
* @param {*} [options] Override http request option.
|
|
15411
|
-
* @throws {RequiredError}
|
|
15412
|
-
* @memberof ProductsApi
|
|
15413
|
-
*/
|
|
15414
|
-
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
15415
|
-
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
15416
|
-
}
|
|
15417
|
-
|
|
15418
16812
|
/**
|
|
15419
16813
|
* Get Current Stock & Pricing
|
|
15420
16814
|
* @summary Get Current Stock & Pricing
|
|
@@ -15431,15 +16825,12 @@ export class ProductsApi extends BaseAPI {
|
|
|
15431
16825
|
/**
|
|
15432
16826
|
* Get Products
|
|
15433
16827
|
* @summary Get Products
|
|
15434
|
-
* @param {number} [pageSize] Number Of Results
|
|
15435
|
-
* @param {number} [page] Page Number
|
|
15436
|
-
* @param {string} [search] Search
|
|
15437
16828
|
* @param {*} [options] Override http request option.
|
|
15438
16829
|
* @throws {RequiredError}
|
|
15439
16830
|
* @memberof ProductsApi
|
|
15440
16831
|
*/
|
|
15441
|
-
public getGetProducts(
|
|
15442
|
-
return ProductsApiFp(this.configuration).getGetProducts(
|
|
16832
|
+
public getGetProducts(options?: RawAxiosRequestConfig) {
|
|
16833
|
+
return ProductsApiFp(this.configuration).getGetProducts(options).then((request) => request(this.axios, this.basePath));
|
|
15443
16834
|
}
|
|
15444
16835
|
|
|
15445
16836
|
/**
|
|
@@ -15463,6 +16854,47 @@ export class ProductsApi extends BaseAPI {
|
|
|
15463
16854
|
public getGetTcxTemplates(options?: RawAxiosRequestConfig) {
|
|
15464
16855
|
return ProductsApiFp(this.configuration).getGetTcxTemplates(options).then((request) => request(this.axios, this.basePath));
|
|
15465
16856
|
}
|
|
16857
|
+
|
|
16858
|
+
/**
|
|
16859
|
+
* Search Products
|
|
16860
|
+
* @summary Search Products
|
|
16861
|
+
* @param {number} [pageSize] Number Of Results
|
|
16862
|
+
* @param {number} [page] Page Number
|
|
16863
|
+
* @param {string} [search] Search
|
|
16864
|
+
* @param {*} [options] Override http request option.
|
|
16865
|
+
* @throws {RequiredError}
|
|
16866
|
+
* @memberof ProductsApi
|
|
16867
|
+
*/
|
|
16868
|
+
public getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
16869
|
+
return ProductsApiFp(this.configuration).getSearchProducts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
16870
|
+
}
|
|
16871
|
+
|
|
16872
|
+
/**
|
|
16873
|
+
* Get Product
|
|
16874
|
+
* @summary Get Product
|
|
16875
|
+
* @param {string} sku Product SKU
|
|
16876
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16877
|
+
* @param {*} [options] Override http request option.
|
|
16878
|
+
* @throws {RequiredError}
|
|
16879
|
+
* @memberof ProductsApi
|
|
16880
|
+
*/
|
|
16881
|
+
public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
16882
|
+
return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16883
|
+
}
|
|
16884
|
+
|
|
16885
|
+
/**
|
|
16886
|
+
* Get Product For Customer
|
|
16887
|
+
* @summary Get Product For Customer
|
|
16888
|
+
* @param {number} customerId Customer ID
|
|
16889
|
+
* @param {string} sku Product SKU
|
|
16890
|
+
* @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
|
|
16891
|
+
* @param {*} [options] Override http request option.
|
|
16892
|
+
* @throws {RequiredError}
|
|
16893
|
+
* @memberof ProductsApi
|
|
16894
|
+
*/
|
|
16895
|
+
public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
|
|
16896
|
+
return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16897
|
+
}
|
|
15466
16898
|
}
|
|
15467
16899
|
|
|
15468
16900
|
/**
|
|
@@ -15803,7 +17235,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
15803
17235
|
* @param {*} [options] Override http request option.
|
|
15804
17236
|
* @throws {RequiredError}
|
|
15805
17237
|
*/
|
|
15806
|
-
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
17238
|
+
async getGetGroups(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProvisioningModel>>> {
|
|
15807
17239
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetGroups(id, options);
|
|
15808
17240
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15809
17241
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getGetGroups']?.[localVarOperationServerIndex]?.url;
|
|
@@ -15816,7 +17248,7 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
|
|
|
15816
17248
|
* @param {*} [options] Override http request option.
|
|
15817
17249
|
* @throws {RequiredError}
|
|
15818
17250
|
*/
|
|
15819
|
-
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
17251
|
+
async postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProvisioningModel>> {
|
|
15820
17252
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postAddFanvilGroup(provisioningRequestEntity, options);
|
|
15821
17253
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15822
17254
|
const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilGroup']?.[localVarOperationServerIndex]?.url;
|
|
@@ -15895,7 +17327,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
15895
17327
|
* @param {*} [options] Override http request option.
|
|
15896
17328
|
* @throws {RequiredError}
|
|
15897
17329
|
*/
|
|
15898
|
-
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
17330
|
+
getGetGroups(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProvisioningModel>> {
|
|
15899
17331
|
return localVarFp.getGetGroups(id, options).then((request) => request(axios, basePath));
|
|
15900
17332
|
},
|
|
15901
17333
|
/**
|
|
@@ -15905,7 +17337,7 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
|
|
|
15905
17337
|
* @param {*} [options] Override http request option.
|
|
15906
17338
|
* @throws {RequiredError}
|
|
15907
17339
|
*/
|
|
15908
|
-
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
17340
|
+
postAddFanvilGroup(provisioningRequestEntity?: ProvisioningRequestEntity, options?: RawAxiosRequestConfig): AxiosPromise<ProvisioningModel> {
|
|
15909
17341
|
return localVarFp.postAddFanvilGroup(provisioningRequestEntity, options).then((request) => request(axios, basePath));
|
|
15910
17342
|
},
|
|
15911
17343
|
/**
|
|
@@ -17806,6 +19238,114 @@ export class SMSApi extends BaseAPI {
|
|
|
17806
19238
|
|
|
17807
19239
|
|
|
17808
19240
|
|
|
19241
|
+
/**
|
|
19242
|
+
* ShippingApi - axios parameter creator
|
|
19243
|
+
* @export
|
|
19244
|
+
*/
|
|
19245
|
+
export const ShippingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
19246
|
+
return {
|
|
19247
|
+
/**
|
|
19248
|
+
* Get Shipping Services
|
|
19249
|
+
* @summary Get Shipping Services
|
|
19250
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19251
|
+
* @param {*} [options] Override http request option.
|
|
19252
|
+
* @throws {RequiredError}
|
|
19253
|
+
*/
|
|
19254
|
+
postGetShippingServices: async (shippingInformationDTO?: ShippingInformationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19255
|
+
const localVarPath = `/shipping/services`;
|
|
19256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19257
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19258
|
+
let baseOptions;
|
|
19259
|
+
if (configuration) {
|
|
19260
|
+
baseOptions = configuration.baseOptions;
|
|
19261
|
+
}
|
|
19262
|
+
|
|
19263
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19264
|
+
const localVarHeaderParameter = {} as any;
|
|
19265
|
+
const localVarQueryParameter = {} as any;
|
|
19266
|
+
|
|
19267
|
+
|
|
19268
|
+
|
|
19269
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19270
|
+
|
|
19271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19274
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shippingInformationDTO, localVarRequestOptions, configuration)
|
|
19275
|
+
|
|
19276
|
+
return {
|
|
19277
|
+
url: toPathString(localVarUrlObj),
|
|
19278
|
+
options: localVarRequestOptions,
|
|
19279
|
+
};
|
|
19280
|
+
},
|
|
19281
|
+
}
|
|
19282
|
+
};
|
|
19283
|
+
|
|
19284
|
+
/**
|
|
19285
|
+
* ShippingApi - functional programming interface
|
|
19286
|
+
* @export
|
|
19287
|
+
*/
|
|
19288
|
+
export const ShippingApiFp = function(configuration?: Configuration) {
|
|
19289
|
+
const localVarAxiosParamCreator = ShippingApiAxiosParamCreator(configuration)
|
|
19290
|
+
return {
|
|
19291
|
+
/**
|
|
19292
|
+
* Get Shipping Services
|
|
19293
|
+
* @summary Get Shipping Services
|
|
19294
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19295
|
+
* @param {*} [options] Override http request option.
|
|
19296
|
+
* @throws {RequiredError}
|
|
19297
|
+
*/
|
|
19298
|
+
async postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShippingServicesModel>> {
|
|
19299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options);
|
|
19300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19301
|
+
const localVarOperationServerBasePath = operationServerMap['ShippingApi.postGetShippingServices']?.[localVarOperationServerIndex]?.url;
|
|
19302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19303
|
+
},
|
|
19304
|
+
}
|
|
19305
|
+
};
|
|
19306
|
+
|
|
19307
|
+
/**
|
|
19308
|
+
* ShippingApi - factory interface
|
|
19309
|
+
* @export
|
|
19310
|
+
*/
|
|
19311
|
+
export const ShippingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
19312
|
+
const localVarFp = ShippingApiFp(configuration)
|
|
19313
|
+
return {
|
|
19314
|
+
/**
|
|
19315
|
+
* Get Shipping Services
|
|
19316
|
+
* @summary Get Shipping Services
|
|
19317
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19318
|
+
* @param {*} [options] Override http request option.
|
|
19319
|
+
* @throws {RequiredError}
|
|
19320
|
+
*/
|
|
19321
|
+
postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig): AxiosPromise<ShippingServicesModel> {
|
|
19322
|
+
return localVarFp.postGetShippingServices(shippingInformationDTO, options).then((request) => request(axios, basePath));
|
|
19323
|
+
},
|
|
19324
|
+
};
|
|
19325
|
+
};
|
|
19326
|
+
|
|
19327
|
+
/**
|
|
19328
|
+
* ShippingApi - object-oriented interface
|
|
19329
|
+
* @export
|
|
19330
|
+
* @class ShippingApi
|
|
19331
|
+
* @extends {BaseAPI}
|
|
19332
|
+
*/
|
|
19333
|
+
export class ShippingApi extends BaseAPI {
|
|
19334
|
+
/**
|
|
19335
|
+
* Get Shipping Services
|
|
19336
|
+
* @summary Get Shipping Services
|
|
19337
|
+
* @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
|
|
19338
|
+
* @param {*} [options] Override http request option.
|
|
19339
|
+
* @throws {RequiredError}
|
|
19340
|
+
* @memberof ShippingApi
|
|
19341
|
+
*/
|
|
19342
|
+
public postGetShippingServices(shippingInformationDTO?: ShippingInformationDTO, options?: RawAxiosRequestConfig) {
|
|
19343
|
+
return ShippingApiFp(this.configuration).postGetShippingServices(shippingInformationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19344
|
+
}
|
|
19345
|
+
}
|
|
19346
|
+
|
|
19347
|
+
|
|
19348
|
+
|
|
17809
19349
|
/**
|
|
17810
19350
|
* StockManagementApi - axios parameter creator
|
|
17811
19351
|
* @export
|
|
@@ -18892,7 +20432,7 @@ export const StockManagementApiFp = function(configuration?: Configuration) {
|
|
|
18892
20432
|
* @param {*} [options] Override http request option.
|
|
18893
20433
|
* @throws {RequiredError}
|
|
18894
20434
|
*/
|
|
18895
|
-
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
20435
|
+
async getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductSummaryDTO>>> {
|
|
18896
20436
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockSupplierProducts(id, options);
|
|
18897
20437
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18898
20438
|
const localVarOperationServerBasePath = operationServerMap['StockManagementApi.getGetStockSupplierProducts']?.[localVarOperationServerIndex]?.url;
|
|
@@ -19195,7 +20735,7 @@ export const StockManagementApiFactory = function (configuration?: Configuration
|
|
|
19195
20735
|
* @param {*} [options] Override http request option.
|
|
19196
20736
|
* @throws {RequiredError}
|
|
19197
20737
|
*/
|
|
19198
|
-
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
20738
|
+
getGetStockSupplierProducts(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductSummaryDTO>> {
|
|
19199
20739
|
return localVarFp.getGetStockSupplierProducts(id, options).then((request) => request(axios, basePath));
|
|
19200
20740
|
},
|
|
19201
20741
|
/**
|