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/README.md
CHANGED
|
@@ -63,7 +63,7 @@ Class | Method | HTTP request | Description
|
|
|
63
63
|
*AccountsApi* | [**patchSetTcxWizardCname**](docs/AccountsApi.md#patchsettcxwizardcname) | **PATCH** /accounts/me/cname |
|
|
64
64
|
*AccountsApi* | [**patchUpdateAccountContactPassword**](docs/AccountsApi.md#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password
|
|
65
65
|
*AccountsApi* | [**postGetAccountContacts**](docs/AccountsApi.md#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact
|
|
66
|
-
*AccountsApi* | [**postGetAccounts**](docs/AccountsApi.md#postgetaccounts) | **POST** /accounts | Create new customer account
|
|
66
|
+
*AccountsApi* | [**postGetAccounts**](docs/AccountsApi.md#postgetaccounts) | **POST** /accounts | Create a new customer account
|
|
67
67
|
*AccountsApi* | [**postGetAdminAccount**](docs/AccountsApi.md#postgetadminaccount) | **POST** /admin/me | Get Admin Account
|
|
68
68
|
*AccountsApi* | [**postGetClientCredentials**](docs/AccountsApi.md#postgetclientcredentials) | **POST** /accounts/me/contacts/credentials | Create client credentials
|
|
69
69
|
*AccountsApi* | [**postSendEmailVerificationEmail**](docs/AccountsApi.md#postsendemailverificationemail) | **POST** /accounts/contacts/verify/{email} | Send email verification email
|
|
@@ -132,9 +132,9 @@ Class | Method | HTTP request | Description
|
|
|
132
132
|
*Class3CXMultiTenantApi* | [**postTrackMtChange**](docs/Class3CXMultiTenantApi.md#posttrackmtchange) | **POST** /tcx/mt/changes/track | Track 3CX MT Change
|
|
133
133
|
*MyPBXToolsApi* | [**getGetRecording**](docs/MyPBXToolsApi.md#getgetrecording) | **GET** /mypbxtools/recordings | Fetch recording from a 3CX instance
|
|
134
134
|
*NumberPortingApi* | [**deleteGetAdminNumberPort**](docs/NumberPortingApi.md#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} |
|
|
135
|
+
*NumberPortingApi* | [**getCreateNumberPort**](docs/NumberPortingApi.md#getcreatenumberport) | **GET** /sip/numbers/ports |
|
|
135
136
|
*NumberPortingApi* | [**getGetAdminNumberPort**](docs/NumberPortingApi.md#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} |
|
|
136
|
-
*NumberPortingApi* | [**getGetAdminNumberPorts**](docs/NumberPortingApi.md#getgetadminnumberports) | **GET** /admin/sip/numbers/ports
|
|
137
|
-
*NumberPortingApi* | [**getGetNumberPorts**](docs/NumberPortingApi.md#getgetnumberports) | **GET** /sip/numbers/ports/ |
|
|
137
|
+
*NumberPortingApi* | [**getGetAdminNumberPorts**](docs/NumberPortingApi.md#getgetadminnumberports) | **GET** /admin/sip/numbers/ports |
|
|
138
138
|
*NumberPortingApi* | [**getUpdateNumberPort**](docs/NumberPortingApi.md#getupdatenumberport) | **GET** /sip/numbers/ports/{id} |
|
|
139
139
|
*NumberPortingApi* | [**postCreateNumberPort**](docs/NumberPortingApi.md#postcreatenumberport) | **POST** /sip/numbers/ports |
|
|
140
140
|
*NumberPortingApi* | [**postSubmitNumberPort**](docs/NumberPortingApi.md#postsubmitnumberport) | **POST** /sip/numbers/ports/{id}/submit |
|
|
@@ -157,6 +157,7 @@ Class | Method | HTTP request | Description
|
|
|
157
157
|
*PricingApi* | [**getGetPriceList**](docs/PricingApi.md#getgetpricelist) | **GET** /finance/pricing/lists | Get Price List
|
|
158
158
|
*PricingApi* | [**postSendPriceList**](docs/PricingApi.md#postsendpricelist) | **POST** /finance/pricing/lists/send | Send Price List
|
|
159
159
|
*ProductsApi* | [**getGetAttributeSets**](docs/ProductsApi.md#getgetattributesets) | **GET** /products/attributes | Get Attribute Sets
|
|
160
|
+
*ProductsApi* | [**getGetCustomerPriceLists**](docs/ProductsApi.md#getgetcustomerpricelists) | **GET** /products/prices/lists | Get Customer Price Lists
|
|
160
161
|
*ProductsApi* | [**getGetLegacyStockList**](docs/ProductsApi.md#getgetlegacystocklist) | **GET** /products/stock/legacy | Get Current Stock & Pricing
|
|
161
162
|
*ProductsApi* | [**getGetProducts**](docs/ProductsApi.md#getgetproducts) | **GET** /products | Get Products
|
|
162
163
|
*ProductsApi* | [**getGetStockList**](docs/ProductsApi.md#getgetstocklist) | **GET** /products/stock | Get Current Stock & Pricing
|
|
@@ -446,8 +447,8 @@ Authentication schemes defined for the API:
|
|
|
446
447
|
- **tcx_wizard**: 3CX Installation Wizard
|
|
447
448
|
- **accounts.read**: Accounts (Read)
|
|
448
449
|
- **accounts.write**: Accounts (Write)
|
|
449
|
-
- **
|
|
450
|
-
- **
|
|
450
|
+
- **number_porting.read**: Number Porting (Read)
|
|
451
|
+
- **number_porting.write**: Number Porting (Write)
|
|
451
452
|
- **pricing.read**: Pricing (Read)
|
|
452
453
|
- **orders.read**: Orders (Read)
|
|
453
454
|
- **orders.write**: Orders (Write)
|
package/api.ts
CHANGED
|
@@ -490,6 +490,10 @@ export interface AdminOrderRequestDTO {
|
|
|
490
490
|
* Carriage Charge
|
|
491
491
|
*/
|
|
492
492
|
'carriageCharge'?: number;
|
|
493
|
+
/**
|
|
494
|
+
* Send Order Email
|
|
495
|
+
*/
|
|
496
|
+
'sendOrderEmail'?: boolean | null;
|
|
493
497
|
}
|
|
494
498
|
/**
|
|
495
499
|
* Admin User
|
|
@@ -7056,7 +7060,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7056
7060
|
},
|
|
7057
7061
|
/**
|
|
7058
7062
|
* Create new customer account
|
|
7059
|
-
* @summary Create new customer account
|
|
7063
|
+
* @summary Create a new customer account
|
|
7060
7064
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
7061
7065
|
* @param {*} [options] Override http request option.
|
|
7062
7066
|
* @throws {RequiredError}
|
|
@@ -7473,7 +7477,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
7473
7477
|
},
|
|
7474
7478
|
/**
|
|
7475
7479
|
* Create new customer account
|
|
7476
|
-
* @summary Create new customer account
|
|
7480
|
+
* @summary Create a new customer account
|
|
7477
7481
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
7478
7482
|
* @param {*} [options] Override http request option.
|
|
7479
7483
|
* @throws {RequiredError}
|
|
@@ -7695,7 +7699,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
7695
7699
|
},
|
|
7696
7700
|
/**
|
|
7697
7701
|
* Create new customer account
|
|
7698
|
-
* @summary Create new customer account
|
|
7702
|
+
* @summary Create a new customer account
|
|
7699
7703
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
7700
7704
|
* @param {*} [options] Override http request option.
|
|
7701
7705
|
* @throws {RequiredError}
|
|
@@ -7906,7 +7910,7 @@ export class AccountsApi extends BaseAPI {
|
|
|
7906
7910
|
|
|
7907
7911
|
/**
|
|
7908
7912
|
* Create new customer account
|
|
7909
|
-
* @summary Create new customer account
|
|
7913
|
+
* @summary Create a new customer account
|
|
7910
7914
|
* @param {AccountRequestModel} [accountRequestModel] New account request
|
|
7911
7915
|
* @param {*} [options] Override http request option.
|
|
7912
7916
|
* @throws {RequiredError}
|
|
@@ -12702,15 +12706,14 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12702
12706
|
},
|
|
12703
12707
|
/**
|
|
12704
12708
|
*
|
|
12705
|
-
* @param {number}
|
|
12709
|
+
* @param {number} [pageSize] Number Of Results
|
|
12710
|
+
* @param {number} [page] Page Number
|
|
12711
|
+
* @param {string} [search] Search
|
|
12706
12712
|
* @param {*} [options] Override http request option.
|
|
12707
12713
|
* @throws {RequiredError}
|
|
12708
12714
|
*/
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
assertParamExists('getGetAdminNumberPort', 'id', id)
|
|
12712
|
-
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
12713
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12715
|
+
getCreateNumberPort: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12716
|
+
const localVarPath = `/sip/numbers/ports`;
|
|
12714
12717
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12715
12718
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12716
12719
|
let baseOptions;
|
|
@@ -12722,6 +12725,18 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12722
12725
|
const localVarHeaderParameter = {} as any;
|
|
12723
12726
|
const localVarQueryParameter = {} as any;
|
|
12724
12727
|
|
|
12728
|
+
if (pageSize !== undefined) {
|
|
12729
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
12730
|
+
}
|
|
12731
|
+
|
|
12732
|
+
if (page !== undefined) {
|
|
12733
|
+
localVarQueryParameter['page'] = page;
|
|
12734
|
+
}
|
|
12735
|
+
|
|
12736
|
+
if (search !== undefined) {
|
|
12737
|
+
localVarQueryParameter['search'] = search;
|
|
12738
|
+
}
|
|
12739
|
+
|
|
12725
12740
|
|
|
12726
12741
|
|
|
12727
12742
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12735,14 +12750,15 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12735
12750
|
},
|
|
12736
12751
|
/**
|
|
12737
12752
|
*
|
|
12738
|
-
* @param {number}
|
|
12739
|
-
* @param {number} [page] Page Number
|
|
12740
|
-
* @param {string} [search] Search
|
|
12753
|
+
* @param {number} id Number Port ID
|
|
12741
12754
|
* @param {*} [options] Override http request option.
|
|
12742
12755
|
* @throws {RequiredError}
|
|
12743
12756
|
*/
|
|
12744
|
-
|
|
12745
|
-
|
|
12757
|
+
getGetAdminNumberPort: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12758
|
+
// verify required parameter 'id' is not null or undefined
|
|
12759
|
+
assertParamExists('getGetAdminNumberPort', 'id', id)
|
|
12760
|
+
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
12761
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12746
12762
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12747
12763
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12748
12764
|
let baseOptions;
|
|
@@ -12754,18 +12770,6 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12754
12770
|
const localVarHeaderParameter = {} as any;
|
|
12755
12771
|
const localVarQueryParameter = {} as any;
|
|
12756
12772
|
|
|
12757
|
-
if (pageSize !== undefined) {
|
|
12758
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
12759
|
-
}
|
|
12760
|
-
|
|
12761
|
-
if (page !== undefined) {
|
|
12762
|
-
localVarQueryParameter['page'] = page;
|
|
12763
|
-
}
|
|
12764
|
-
|
|
12765
|
-
if (search !== undefined) {
|
|
12766
|
-
localVarQueryParameter['search'] = search;
|
|
12767
|
-
}
|
|
12768
|
-
|
|
12769
12773
|
|
|
12770
12774
|
|
|
12771
12775
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12785,8 +12789,8 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12785
12789
|
* @param {*} [options] Override http request option.
|
|
12786
12790
|
* @throws {RequiredError}
|
|
12787
12791
|
*/
|
|
12788
|
-
|
|
12789
|
-
const localVarPath = `/sip/numbers/ports
|
|
12792
|
+
getGetAdminNumberPorts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12793
|
+
const localVarPath = `/admin/sip/numbers/ports`;
|
|
12790
12794
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12791
12795
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12792
12796
|
let baseOptions;
|
|
@@ -13281,28 +13285,28 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13281
13285
|
},
|
|
13282
13286
|
/**
|
|
13283
13287
|
*
|
|
13284
|
-
* @param {number}
|
|
13288
|
+
* @param {number} [pageSize] Number Of Results
|
|
13289
|
+
* @param {number} [page] Page Number
|
|
13290
|
+
* @param {string} [search] Search
|
|
13285
13291
|
* @param {*} [options] Override http request option.
|
|
13286
13292
|
* @throws {RequiredError}
|
|
13287
13293
|
*/
|
|
13288
|
-
async
|
|
13289
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13294
|
+
async getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>> {
|
|
13295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options);
|
|
13290
13296
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13291
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13297
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getCreateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13292
13298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13293
13299
|
},
|
|
13294
13300
|
/**
|
|
13295
13301
|
*
|
|
13296
|
-
* @param {number}
|
|
13297
|
-
* @param {number} [page] Page Number
|
|
13298
|
-
* @param {string} [search] Search
|
|
13302
|
+
* @param {number} id Number Port ID
|
|
13299
13303
|
* @param {*} [options] Override http request option.
|
|
13300
13304
|
* @throws {RequiredError}
|
|
13301
13305
|
*/
|
|
13302
|
-
async
|
|
13303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13306
|
+
async getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminNumberPort(id, options);
|
|
13304
13308
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13305
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13309
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13306
13310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13307
13311
|
},
|
|
13308
13312
|
/**
|
|
@@ -13313,10 +13317,10 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13313
13317
|
* @param {*} [options] Override http request option.
|
|
13314
13318
|
* @throws {RequiredError}
|
|
13315
13319
|
*/
|
|
13316
|
-
async
|
|
13317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13320
|
+
async getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>> {
|
|
13321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options);
|
|
13318
13322
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13319
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13323
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPorts']?.[localVarOperationServerIndex]?.url;
|
|
13320
13324
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13321
13325
|
},
|
|
13322
13326
|
/**
|
|
@@ -13450,23 +13454,23 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13450
13454
|
},
|
|
13451
13455
|
/**
|
|
13452
13456
|
*
|
|
13453
|
-
* @param {number}
|
|
13457
|
+
* @param {number} [pageSize] Number Of Results
|
|
13458
|
+
* @param {number} [page] Page Number
|
|
13459
|
+
* @param {string} [search] Search
|
|
13454
13460
|
* @param {*} [options] Override http request option.
|
|
13455
13461
|
* @throws {RequiredError}
|
|
13456
13462
|
*/
|
|
13457
|
-
|
|
13458
|
-
return localVarFp.
|
|
13463
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel> {
|
|
13464
|
+
return localVarFp.getCreateNumberPort(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
13459
13465
|
},
|
|
13460
13466
|
/**
|
|
13461
13467
|
*
|
|
13462
|
-
* @param {number}
|
|
13463
|
-
* @param {number} [page] Page Number
|
|
13464
|
-
* @param {string} [search] Search
|
|
13468
|
+
* @param {number} id Number Port ID
|
|
13465
13469
|
* @param {*} [options] Override http request option.
|
|
13466
13470
|
* @throws {RequiredError}
|
|
13467
13471
|
*/
|
|
13468
|
-
|
|
13469
|
-
return localVarFp.
|
|
13472
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13473
|
+
return localVarFp.getGetAdminNumberPort(id, options).then((request) => request(axios, basePath));
|
|
13470
13474
|
},
|
|
13471
13475
|
/**
|
|
13472
13476
|
*
|
|
@@ -13476,8 +13480,8 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13476
13480
|
* @param {*} [options] Override http request option.
|
|
13477
13481
|
* @throws {RequiredError}
|
|
13478
13482
|
*/
|
|
13479
|
-
|
|
13480
|
-
return localVarFp.
|
|
13483
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel> {
|
|
13484
|
+
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
13481
13485
|
},
|
|
13482
13486
|
/**
|
|
13483
13487
|
*
|
|
@@ -13594,24 +13598,24 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13594
13598
|
|
|
13595
13599
|
/**
|
|
13596
13600
|
*
|
|
13597
|
-
* @param {number}
|
|
13601
|
+
* @param {number} [pageSize] Number Of Results
|
|
13602
|
+
* @param {number} [page] Page Number
|
|
13603
|
+
* @param {string} [search] Search
|
|
13598
13604
|
* @param {*} [options] Override http request option.
|
|
13599
13605
|
* @throws {RequiredError}
|
|
13600
13606
|
*/
|
|
13601
|
-
public
|
|
13602
|
-
return NumberPortingApiFp(this.configuration).
|
|
13607
|
+
public getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
13608
|
+
return NumberPortingApiFp(this.configuration).getCreateNumberPort(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
13603
13609
|
}
|
|
13604
13610
|
|
|
13605
13611
|
/**
|
|
13606
13612
|
*
|
|
13607
|
-
* @param {number}
|
|
13608
|
-
* @param {number} [page] Page Number
|
|
13609
|
-
* @param {string} [search] Search
|
|
13613
|
+
* @param {number} id Number Port ID
|
|
13610
13614
|
* @param {*} [options] Override http request option.
|
|
13611
13615
|
* @throws {RequiredError}
|
|
13612
13616
|
*/
|
|
13613
|
-
public
|
|
13614
|
-
return NumberPortingApiFp(this.configuration).
|
|
13617
|
+
public getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig) {
|
|
13618
|
+
return NumberPortingApiFp(this.configuration).getGetAdminNumberPort(id, options).then((request) => request(this.axios, this.basePath));
|
|
13615
13619
|
}
|
|
13616
13620
|
|
|
13617
13621
|
/**
|
|
@@ -13622,8 +13626,8 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13622
13626
|
* @param {*} [options] Override http request option.
|
|
13623
13627
|
* @throws {RequiredError}
|
|
13624
13628
|
*/
|
|
13625
|
-
public
|
|
13626
|
-
return NumberPortingApiFp(this.configuration).
|
|
13629
|
+
public getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
13630
|
+
return NumberPortingApiFp(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
13627
13631
|
}
|
|
13628
13632
|
|
|
13629
13633
|
/**
|
|
@@ -14314,8 +14318,8 @@ export const PostAccessTokenScopeEnum = {
|
|
|
14314
14318
|
TcxWizard: 'tcx_wizard',
|
|
14315
14319
|
AccountsRead: 'accounts.read',
|
|
14316
14320
|
AccountsWrite: 'accounts.write',
|
|
14317
|
-
|
|
14318
|
-
|
|
14321
|
+
NumberPortingRead: 'number_porting.read',
|
|
14322
|
+
NumberPortingWrite: 'number_porting.write',
|
|
14319
14323
|
PricingRead: 'pricing.read',
|
|
14320
14324
|
OrdersRead: 'orders.read',
|
|
14321
14325
|
OrdersWrite: 'orders.write',
|
|
@@ -14348,8 +14352,8 @@ export const PostAuthoriseScopeEnum = {
|
|
|
14348
14352
|
TcxWizard: 'tcx_wizard',
|
|
14349
14353
|
AccountsRead: 'accounts.read',
|
|
14350
14354
|
AccountsWrite: 'accounts.write',
|
|
14351
|
-
|
|
14352
|
-
|
|
14355
|
+
NumberPortingRead: 'number_porting.read',
|
|
14356
|
+
NumberPortingWrite: 'number_porting.write',
|
|
14353
14357
|
PricingRead: 'pricing.read',
|
|
14354
14358
|
OrdersRead: 'orders.read',
|
|
14355
14359
|
OrdersWrite: 'orders.write',
|
|
@@ -15406,6 +15410,36 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15406
15410
|
|
|
15407
15411
|
|
|
15408
15412
|
|
|
15413
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15414
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15415
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15416
|
+
|
|
15417
|
+
return {
|
|
15418
|
+
url: toPathString(localVarUrlObj),
|
|
15419
|
+
options: localVarRequestOptions,
|
|
15420
|
+
};
|
|
15421
|
+
},
|
|
15422
|
+
/**
|
|
15423
|
+
* Get Customer Price Lists
|
|
15424
|
+
* @summary Get Customer Price Lists
|
|
15425
|
+
* @param {*} [options] Override http request option.
|
|
15426
|
+
* @throws {RequiredError}
|
|
15427
|
+
*/
|
|
15428
|
+
getGetCustomerPriceLists: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15429
|
+
const localVarPath = `/products/prices/lists`;
|
|
15430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15432
|
+
let baseOptions;
|
|
15433
|
+
if (configuration) {
|
|
15434
|
+
baseOptions = configuration.baseOptions;
|
|
15435
|
+
}
|
|
15436
|
+
|
|
15437
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15438
|
+
const localVarHeaderParameter = {} as any;
|
|
15439
|
+
const localVarQueryParameter = {} as any;
|
|
15440
|
+
|
|
15441
|
+
|
|
15442
|
+
|
|
15409
15443
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15410
15444
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15411
15445
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -15696,6 +15730,18 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
15696
15730
|
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetAttributeSets']?.[localVarOperationServerIndex]?.url;
|
|
15697
15731
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15698
15732
|
},
|
|
15733
|
+
/**
|
|
15734
|
+
* Get Customer Price Lists
|
|
15735
|
+
* @summary Get Customer Price Lists
|
|
15736
|
+
* @param {*} [options] Override http request option.
|
|
15737
|
+
* @throws {RequiredError}
|
|
15738
|
+
*/
|
|
15739
|
+
async getGetCustomerPriceLists(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerPriceListEnum>>> {
|
|
15740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerPriceLists(options);
|
|
15741
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15742
|
+
const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetCustomerPriceLists']?.[localVarOperationServerIndex]?.url;
|
|
15743
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15744
|
+
},
|
|
15699
15745
|
/**
|
|
15700
15746
|
* Get Current Stock & Pricing
|
|
15701
15747
|
* @summary Get Current Stock & Pricing
|
|
@@ -15808,6 +15854,15 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15808
15854
|
getGetAttributeSets(options?: RawAxiosRequestConfig): AxiosPromise<Array<AttributeSetEnum>> {
|
|
15809
15855
|
return localVarFp.getGetAttributeSets(options).then((request) => request(axios, basePath));
|
|
15810
15856
|
},
|
|
15857
|
+
/**
|
|
15858
|
+
* Get Customer Price Lists
|
|
15859
|
+
* @summary Get Customer Price Lists
|
|
15860
|
+
* @param {*} [options] Override http request option.
|
|
15861
|
+
* @throws {RequiredError}
|
|
15862
|
+
*/
|
|
15863
|
+
getGetCustomerPriceLists(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerPriceListEnum>> {
|
|
15864
|
+
return localVarFp.getGetCustomerPriceLists(options).then((request) => request(axios, basePath));
|
|
15865
|
+
},
|
|
15811
15866
|
/**
|
|
15812
15867
|
* Get Current Stock & Pricing
|
|
15813
15868
|
* @summary Get Current Stock & Pricing
|
|
@@ -15898,6 +15953,16 @@ export class ProductsApi extends BaseAPI {
|
|
|
15898
15953
|
return ProductsApiFp(this.configuration).getGetAttributeSets(options).then((request) => request(this.axios, this.basePath));
|
|
15899
15954
|
}
|
|
15900
15955
|
|
|
15956
|
+
/**
|
|
15957
|
+
* Get Customer Price Lists
|
|
15958
|
+
* @summary Get Customer Price Lists
|
|
15959
|
+
* @param {*} [options] Override http request option.
|
|
15960
|
+
* @throws {RequiredError}
|
|
15961
|
+
*/
|
|
15962
|
+
public getGetCustomerPriceLists(options?: RawAxiosRequestConfig) {
|
|
15963
|
+
return ProductsApiFp(this.configuration).getGetCustomerPriceLists(options).then((request) => request(this.axios, this.basePath));
|
|
15964
|
+
}
|
|
15965
|
+
|
|
15901
15966
|
/**
|
|
15902
15967
|
* Get Current Stock & Pricing
|
|
15903
15968
|
* @summary Get Current Stock & Pricing
|