yellowgrid-api-ts 3.2.5-dev.0 → 3.2.7-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/README.md +6 -5
- package/api.ts +131 -66
- package/dist/api.d.ts +68 -36
- package/dist/api.js +143 -69
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminOrderRequestDTO.md +2 -0
- package/docs/NumberPortingApi.md +27 -27
- package/docs/OAuth20Api.md +3 -3
- package/docs/ProductsApi.md +48 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -480,6 +480,10 @@ export interface AdminOrderRequestDTO {
|
|
|
480
480
|
* Carriage Charge
|
|
481
481
|
*/
|
|
482
482
|
'carriageCharge'?: number;
|
|
483
|
+
/**
|
|
484
|
+
* Send Order Email
|
|
485
|
+
*/
|
|
486
|
+
'sendOrderEmail'?: boolean | null;
|
|
483
487
|
}
|
|
484
488
|
/**
|
|
485
489
|
* Admin User
|
|
@@ -6655,7 +6659,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6655
6659
|
postGetAccountContacts: (accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6656
6660
|
/**
|
|
6657
6661
|
* Create new customer account
|
|
6658
|
-
* @summary Create new customer account
|
|
6662
|
+
* @summary Create a new customer account
|
|
6659
6663
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
6660
6664
|
* @param {*} [options] Override http request option.
|
|
6661
6665
|
* @throws {RequiredError}
|
|
@@ -6814,7 +6818,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6814
6818
|
postGetAccountContacts(accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6815
6819
|
/**
|
|
6816
6820
|
* Create new customer account
|
|
6817
|
-
* @summary Create new customer account
|
|
6821
|
+
* @summary Create a new customer account
|
|
6818
6822
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
6819
6823
|
* @param {*} [options] Override http request option.
|
|
6820
6824
|
* @throws {RequiredError}
|
|
@@ -6973,7 +6977,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6973
6977
|
postGetAccountContacts(accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6974
6978
|
/**
|
|
6975
6979
|
* Create new customer account
|
|
6976
|
-
* @summary Create new customer account
|
|
6980
|
+
* @summary Create a new customer account
|
|
6977
6981
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
6978
6982
|
* @param {*} [options] Override http request option.
|
|
6979
6983
|
* @throws {RequiredError}
|
|
@@ -7132,7 +7136,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
7132
7136
|
postGetAccountContacts(accountContactRequestModel?: AccountContactRequestModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
7133
7137
|
/**
|
|
7134
7138
|
* Create new customer account
|
|
7135
|
-
* @summary Create new customer account
|
|
7139
|
+
* @summary Create a new customer account
|
|
7136
7140
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
7137
7141
|
* @param {*} [options] Override http request option.
|
|
7138
7142
|
* @throws {RequiredError}
|
|
@@ -9419,20 +9423,20 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9419
9423
|
deleteGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9420
9424
|
/**
|
|
9421
9425
|
*
|
|
9422
|
-
* @param {number}
|
|
9426
|
+
* @param {number} [pageSize] Number Of Results
|
|
9427
|
+
* @param {number} [page] Page Number
|
|
9428
|
+
* @param {string} [search] Search
|
|
9423
9429
|
* @param {*} [options] Override http request option.
|
|
9424
9430
|
* @throws {RequiredError}
|
|
9425
9431
|
*/
|
|
9426
|
-
|
|
9432
|
+
getCreateNumberPort: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9427
9433
|
/**
|
|
9428
9434
|
*
|
|
9429
|
-
* @param {number}
|
|
9430
|
-
* @param {number} [page] Page Number
|
|
9431
|
-
* @param {string} [search] Search
|
|
9435
|
+
* @param {number} id Number Port ID
|
|
9432
9436
|
* @param {*} [options] Override http request option.
|
|
9433
9437
|
* @throws {RequiredError}
|
|
9434
9438
|
*/
|
|
9435
|
-
|
|
9439
|
+
getGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9436
9440
|
/**
|
|
9437
9441
|
*
|
|
9438
9442
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9441,7 +9445,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9441
9445
|
* @param {*} [options] Override http request option.
|
|
9442
9446
|
* @throws {RequiredError}
|
|
9443
9447
|
*/
|
|
9444
|
-
|
|
9448
|
+
getGetAdminNumberPorts: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9445
9449
|
/**
|
|
9446
9450
|
*
|
|
9447
9451
|
* @param {number} id Number Port ID
|
|
@@ -9542,20 +9546,20 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9542
9546
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9543
9547
|
/**
|
|
9544
9548
|
*
|
|
9545
|
-
* @param {number}
|
|
9549
|
+
* @param {number} [pageSize] Number Of Results
|
|
9550
|
+
* @param {number} [page] Page Number
|
|
9551
|
+
* @param {string} [search] Search
|
|
9546
9552
|
* @param {*} [options] Override http request option.
|
|
9547
9553
|
* @throws {RequiredError}
|
|
9548
9554
|
*/
|
|
9549
|
-
|
|
9555
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9550
9556
|
/**
|
|
9551
9557
|
*
|
|
9552
|
-
* @param {number}
|
|
9553
|
-
* @param {number} [page] Page Number
|
|
9554
|
-
* @param {string} [search] Search
|
|
9558
|
+
* @param {number} id Number Port ID
|
|
9555
9559
|
* @param {*} [options] Override http request option.
|
|
9556
9560
|
* @throws {RequiredError}
|
|
9557
9561
|
*/
|
|
9558
|
-
|
|
9562
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>>;
|
|
9559
9563
|
/**
|
|
9560
9564
|
*
|
|
9561
9565
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9564,7 +9568,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9564
9568
|
* @param {*} [options] Override http request option.
|
|
9565
9569
|
* @throws {RequiredError}
|
|
9566
9570
|
*/
|
|
9567
|
-
|
|
9571
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9568
9572
|
/**
|
|
9569
9573
|
*
|
|
9570
9574
|
* @param {number} id Number Port ID
|
|
@@ -9665,20 +9669,20 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9665
9669
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9666
9670
|
/**
|
|
9667
9671
|
*
|
|
9668
|
-
* @param {number}
|
|
9672
|
+
* @param {number} [pageSize] Number Of Results
|
|
9673
|
+
* @param {number} [page] Page Number
|
|
9674
|
+
* @param {string} [search] Search
|
|
9669
9675
|
* @param {*} [options] Override http request option.
|
|
9670
9676
|
* @throws {RequiredError}
|
|
9671
9677
|
*/
|
|
9672
|
-
|
|
9678
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9673
9679
|
/**
|
|
9674
9680
|
*
|
|
9675
|
-
* @param {number}
|
|
9676
|
-
* @param {number} [page] Page Number
|
|
9677
|
-
* @param {string} [search] Search
|
|
9681
|
+
* @param {number} id Number Port ID
|
|
9678
9682
|
* @param {*} [options] Override http request option.
|
|
9679
9683
|
* @throws {RequiredError}
|
|
9680
9684
|
*/
|
|
9681
|
-
|
|
9685
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO>;
|
|
9682
9686
|
/**
|
|
9683
9687
|
*
|
|
9684
9688
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9687,7 +9691,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9687
9691
|
* @param {*} [options] Override http request option.
|
|
9688
9692
|
* @throws {RequiredError}
|
|
9689
9693
|
*/
|
|
9690
|
-
|
|
9694
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9691
9695
|
/**
|
|
9692
9696
|
*
|
|
9693
9697
|
* @param {number} id Number Port ID
|
|
@@ -9788,20 +9792,20 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9788
9792
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
9789
9793
|
/**
|
|
9790
9794
|
*
|
|
9791
|
-
* @param {number}
|
|
9795
|
+
* @param {number} [pageSize] Number Of Results
|
|
9796
|
+
* @param {number} [page] Page Number
|
|
9797
|
+
* @param {string} [search] Search
|
|
9792
9798
|
* @param {*} [options] Override http request option.
|
|
9793
9799
|
* @throws {RequiredError}
|
|
9794
9800
|
*/
|
|
9795
|
-
|
|
9801
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9796
9802
|
/**
|
|
9797
9803
|
*
|
|
9798
|
-
* @param {number}
|
|
9799
|
-
* @param {number} [page] Page Number
|
|
9800
|
-
* @param {string} [search] Search
|
|
9804
|
+
* @param {number} id Number Port ID
|
|
9801
9805
|
* @param {*} [options] Override http request option.
|
|
9802
9806
|
* @throws {RequiredError}
|
|
9803
9807
|
*/
|
|
9804
|
-
|
|
9808
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortDTO, any, {}>>;
|
|
9805
9809
|
/**
|
|
9806
9810
|
*
|
|
9807
9811
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9810,7 +9814,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9810
9814
|
* @param {*} [options] Override http request option.
|
|
9811
9815
|
* @throws {RequiredError}
|
|
9812
9816
|
*/
|
|
9813
|
-
|
|
9817
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9814
9818
|
/**
|
|
9815
9819
|
*
|
|
9816
9820
|
* @param {number} id Number Port ID
|
|
@@ -10184,8 +10188,8 @@ export declare const PostAccessTokenScopeEnum: {
|
|
|
10184
10188
|
readonly TcxWizard: "tcx_wizard";
|
|
10185
10189
|
readonly AccountsRead: "accounts.read";
|
|
10186
10190
|
readonly AccountsWrite: "accounts.write";
|
|
10187
|
-
readonly
|
|
10188
|
-
readonly
|
|
10191
|
+
readonly NumberPortingRead: "number_porting.read";
|
|
10192
|
+
readonly NumberPortingWrite: "number_porting.write";
|
|
10189
10193
|
readonly PricingRead: "pricing.read";
|
|
10190
10194
|
readonly OrdersRead: "orders.read";
|
|
10191
10195
|
readonly OrdersWrite: "orders.write";
|
|
@@ -10218,8 +10222,8 @@ export declare const PostAuthoriseScopeEnum: {
|
|
|
10218
10222
|
readonly TcxWizard: "tcx_wizard";
|
|
10219
10223
|
readonly AccountsRead: "accounts.read";
|
|
10220
10224
|
readonly AccountsWrite: "accounts.write";
|
|
10221
|
-
readonly
|
|
10222
|
-
readonly
|
|
10225
|
+
readonly NumberPortingRead: "number_porting.read";
|
|
10226
|
+
readonly NumberPortingWrite: "number_porting.write";
|
|
10223
10227
|
readonly PricingRead: "pricing.read";
|
|
10224
10228
|
readonly OrdersRead: "orders.read";
|
|
10225
10229
|
readonly OrdersWrite: "orders.write";
|
|
@@ -10784,6 +10788,13 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
10784
10788
|
* @throws {RequiredError}
|
|
10785
10789
|
*/
|
|
10786
10790
|
getGetAttributeSets: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10791
|
+
/**
|
|
10792
|
+
* Get Customer Price Lists
|
|
10793
|
+
* @summary Get Customer Price Lists
|
|
10794
|
+
* @param {*} [options] Override http request option.
|
|
10795
|
+
* @throws {RequiredError}
|
|
10796
|
+
*/
|
|
10797
|
+
getGetCustomerPriceLists: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10787
10798
|
/**
|
|
10788
10799
|
* Get Current Stock & Pricing
|
|
10789
10800
|
* @summary Get Current Stock & Pricing
|
|
@@ -10855,6 +10866,13 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
10855
10866
|
* @throws {RequiredError}
|
|
10856
10867
|
*/
|
|
10857
10868
|
getGetAttributeSets(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AttributeSetEnum>>>;
|
|
10869
|
+
/**
|
|
10870
|
+
* Get Customer Price Lists
|
|
10871
|
+
* @summary Get Customer Price Lists
|
|
10872
|
+
* @param {*} [options] Override http request option.
|
|
10873
|
+
* @throws {RequiredError}
|
|
10874
|
+
*/
|
|
10875
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>>;
|
|
10858
10876
|
/**
|
|
10859
10877
|
* Get Current Stock & Pricing
|
|
10860
10878
|
* @summary Get Current Stock & Pricing
|
|
@@ -10926,6 +10944,13 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
10926
10944
|
* @throws {RequiredError}
|
|
10927
10945
|
*/
|
|
10928
10946
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>>;
|
|
10947
|
+
/**
|
|
10948
|
+
* Get Customer Price Lists
|
|
10949
|
+
* @summary Get Customer Price Lists
|
|
10950
|
+
* @param {*} [options] Override http request option.
|
|
10951
|
+
* @throws {RequiredError}
|
|
10952
|
+
*/
|
|
10953
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>>;
|
|
10929
10954
|
/**
|
|
10930
10955
|
* Get Current Stock & Pricing
|
|
10931
10956
|
* @summary Get Current Stock & Pricing
|
|
@@ -10997,6 +11022,13 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
10997
11022
|
* @throws {RequiredError}
|
|
10998
11023
|
*/
|
|
10999
11024
|
getGetAttributeSets(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AttributeSetEnum[], any, {}>>;
|
|
11025
|
+
/**
|
|
11026
|
+
* Get Customer Price Lists
|
|
11027
|
+
* @summary Get Customer Price Lists
|
|
11028
|
+
* @param {*} [options] Override http request option.
|
|
11029
|
+
* @throws {RequiredError}
|
|
11030
|
+
*/
|
|
11031
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerPriceListEnum[], any, {}>>;
|
|
11000
11032
|
/**
|
|
11001
11033
|
* Get Current Stock & Pricing
|
|
11002
11034
|
* @summary Get Current Stock & Pricing
|