yellowgrid-api-ts 3.2.6-dev.0 → 3.2.8-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 +4 -3
- package/api.ts +106 -41
- package/dist/api.d.ts +73 -41
- package/dist/api.js +98 -24
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminOrderRequestDTO.md +2 -0
- package/docs/NumberPortDTO.md +1 -1
- package/docs/NumberPortingApi.md +8 -8
- 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
|
|
@@ -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
|
|
@@ -2416,7 +2420,7 @@ export interface NumberPortDTO {
|
|
|
2416
2420
|
/**
|
|
2417
2421
|
* Starter Bundle ID
|
|
2418
2422
|
*/
|
|
2419
|
-
'tenantId'?:
|
|
2423
|
+
'tenantId'?: string | null;
|
|
2420
2424
|
/**
|
|
2421
2425
|
* Requested Port Date
|
|
2422
2426
|
*/
|
|
@@ -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}
|
|
@@ -12862,7 +12866,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12862
12866
|
* @param {string | null} [city] City
|
|
12863
12867
|
* @param {string | null} [postCode] Post Code
|
|
12864
12868
|
* @param {number | null} [trunkId] Trunk ID
|
|
12865
|
-
* @param {
|
|
12869
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
12866
12870
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
12867
12871
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
12868
12872
|
* @param {string | null} [comment] Comment
|
|
@@ -12871,7 +12875,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12871
12875
|
* @param {*} [options] Override http request option.
|
|
12872
12876
|
* @throws {RequiredError}
|
|
12873
12877
|
*/
|
|
12874
|
-
postCreateNumberPort: async (companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
12878
|
+
postCreateNumberPort: async (companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12875
12879
|
const localVarPath = `/sip/numbers/ports`;
|
|
12876
12880
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12877
12881
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12956,7 +12960,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12956
12960
|
* @param {string | null} [city] City
|
|
12957
12961
|
* @param {string | null} [postCode] Post Code
|
|
12958
12962
|
* @param {number | null} [trunkId] Trunk ID
|
|
12959
|
-
* @param {
|
|
12963
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
12960
12964
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
12961
12965
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
12962
12966
|
* @param {string | null} [comment] Comment
|
|
@@ -12965,7 +12969,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12965
12969
|
* @param {*} [options] Override http request option.
|
|
12966
12970
|
* @throws {RequiredError}
|
|
12967
12971
|
*/
|
|
12968
|
-
postSubmitNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
12972
|
+
postSubmitNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12969
12973
|
// verify required parameter 'id' is not null or undefined
|
|
12970
12974
|
assertParamExists('postSubmitNumberPort', 'id', id)
|
|
12971
12975
|
const localVarPath = `/sip/numbers/ports/{id}/submit`
|
|
@@ -13053,7 +13057,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13053
13057
|
* @param {string | null} [city] City
|
|
13054
13058
|
* @param {string | null} [postCode] Post Code
|
|
13055
13059
|
* @param {number | null} [trunkId] Trunk ID
|
|
13056
|
-
* @param {
|
|
13060
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13057
13061
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13058
13062
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13059
13063
|
* @param {string | null} [comment] Comment
|
|
@@ -13062,7 +13066,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13062
13066
|
* @param {*} [options] Override http request option.
|
|
13063
13067
|
* @throws {RequiredError}
|
|
13064
13068
|
*/
|
|
13065
|
-
postUpdateNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13069
|
+
postUpdateNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13066
13070
|
// verify required parameter 'id' is not null or undefined
|
|
13067
13071
|
assertParamExists('postUpdateNumberPort', 'id', id)
|
|
13068
13072
|
const localVarPath = `/sip/numbers/ports/{id}`
|
|
@@ -13150,7 +13154,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13150
13154
|
* @param {string | null} [city] City
|
|
13151
13155
|
* @param {string | null} [postCode] Post Code
|
|
13152
13156
|
* @param {number | null} [trunkId] Trunk ID
|
|
13153
|
-
* @param {
|
|
13157
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13154
13158
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13155
13159
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13156
13160
|
* @param {string | null} [comment] Comment
|
|
@@ -13163,7 +13167,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13163
13167
|
* @param {*} [options] Override http request option.
|
|
13164
13168
|
* @throws {RequiredError}
|
|
13165
13169
|
*/
|
|
13166
|
-
putGetAdminNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13170
|
+
putGetAdminNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, customerName?: string, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13167
13171
|
// verify required parameter 'id' is not null or undefined
|
|
13168
13172
|
assertParamExists('putGetAdminNumberPort', 'id', id)
|
|
13169
13173
|
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
@@ -13339,7 +13343,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13339
13343
|
* @param {string | null} [city] City
|
|
13340
13344
|
* @param {string | null} [postCode] Post Code
|
|
13341
13345
|
* @param {number | null} [trunkId] Trunk ID
|
|
13342
|
-
* @param {
|
|
13346
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13343
13347
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13344
13348
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13345
13349
|
* @param {string | null} [comment] Comment
|
|
@@ -13348,7 +13352,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13348
13352
|
* @param {*} [options] Override http request option.
|
|
13349
13353
|
* @throws {RequiredError}
|
|
13350
13354
|
*/
|
|
13351
|
-
async postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13355
|
+
async postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13352
13356
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
|
|
13353
13357
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13354
13358
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postCreateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
@@ -13363,7 +13367,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13363
13367
|
* @param {string | null} [city] City
|
|
13364
13368
|
* @param {string | null} [postCode] Post Code
|
|
13365
13369
|
* @param {number | null} [trunkId] Trunk ID
|
|
13366
|
-
* @param {
|
|
13370
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13367
13371
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13368
13372
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13369
13373
|
* @param {string | null} [comment] Comment
|
|
@@ -13372,7 +13376,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13372
13376
|
* @param {*} [options] Override http request option.
|
|
13373
13377
|
* @throws {RequiredError}
|
|
13374
13378
|
*/
|
|
13375
|
-
async postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13379
|
+
async postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13376
13380
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
|
|
13377
13381
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13378
13382
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postSubmitNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
@@ -13387,7 +13391,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13387
13391
|
* @param {string | null} [city] City
|
|
13388
13392
|
* @param {string | null} [postCode] Post Code
|
|
13389
13393
|
* @param {number | null} [trunkId] Trunk ID
|
|
13390
|
-
* @param {
|
|
13394
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13391
13395
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13392
13396
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13393
13397
|
* @param {string | null} [comment] Comment
|
|
@@ -13396,7 +13400,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13396
13400
|
* @param {*} [options] Override http request option.
|
|
13397
13401
|
* @throws {RequiredError}
|
|
13398
13402
|
*/
|
|
13399
|
-
async postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13403
|
+
async postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13400
13404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options);
|
|
13401
13405
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13402
13406
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.postUpdateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
@@ -13411,7 +13415,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13411
13415
|
* @param {string | null} [city] City
|
|
13412
13416
|
* @param {string | null} [postCode] Post Code
|
|
13413
13417
|
* @param {number | null} [trunkId] Trunk ID
|
|
13414
|
-
* @param {
|
|
13418
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13415
13419
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13416
13420
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13417
13421
|
* @param {string | null} [comment] Comment
|
|
@@ -13424,7 +13428,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13424
13428
|
* @param {*} [options] Override http request option.
|
|
13425
13429
|
* @throws {RequiredError}
|
|
13426
13430
|
*/
|
|
13427
|
-
async putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13431
|
+
async putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, customerName?: string, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13428
13432
|
const localVarAxiosArgs = await localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options);
|
|
13429
13433
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13430
13434
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.putGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
@@ -13496,7 +13500,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13496
13500
|
* @param {string | null} [city] City
|
|
13497
13501
|
* @param {string | null} [postCode] Post Code
|
|
13498
13502
|
* @param {number | null} [trunkId] Trunk ID
|
|
13499
|
-
* @param {
|
|
13503
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13500
13504
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13501
13505
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13502
13506
|
* @param {string | null} [comment] Comment
|
|
@@ -13505,7 +13509,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13505
13509
|
* @param {*} [options] Override http request option.
|
|
13506
13510
|
* @throws {RequiredError}
|
|
13507
13511
|
*/
|
|
13508
|
-
postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13512
|
+
postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13509
13513
|
return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
|
|
13510
13514
|
},
|
|
13511
13515
|
/**
|
|
@@ -13517,7 +13521,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13517
13521
|
* @param {string | null} [city] City
|
|
13518
13522
|
* @param {string | null} [postCode] Post Code
|
|
13519
13523
|
* @param {number | null} [trunkId] Trunk ID
|
|
13520
|
-
* @param {
|
|
13524
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13521
13525
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13522
13526
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13523
13527
|
* @param {string | null} [comment] Comment
|
|
@@ -13526,7 +13530,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13526
13530
|
* @param {*} [options] Override http request option.
|
|
13527
13531
|
* @throws {RequiredError}
|
|
13528
13532
|
*/
|
|
13529
|
-
postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13533
|
+
postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13530
13534
|
return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
|
|
13531
13535
|
},
|
|
13532
13536
|
/**
|
|
@@ -13538,7 +13542,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13538
13542
|
* @param {string | null} [city] City
|
|
13539
13543
|
* @param {string | null} [postCode] Post Code
|
|
13540
13544
|
* @param {number | null} [trunkId] Trunk ID
|
|
13541
|
-
* @param {
|
|
13545
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13542
13546
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13543
13547
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13544
13548
|
* @param {string | null} [comment] Comment
|
|
@@ -13547,7 +13551,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13547
13551
|
* @param {*} [options] Override http request option.
|
|
13548
13552
|
* @throws {RequiredError}
|
|
13549
13553
|
*/
|
|
13550
|
-
postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13554
|
+
postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13551
13555
|
return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(axios, basePath));
|
|
13552
13556
|
},
|
|
13553
13557
|
/**
|
|
@@ -13559,7 +13563,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13559
13563
|
* @param {string | null} [city] City
|
|
13560
13564
|
* @param {string | null} [postCode] Post Code
|
|
13561
13565
|
* @param {number | null} [trunkId] Trunk ID
|
|
13562
|
-
* @param {
|
|
13566
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13563
13567
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13564
13568
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13565
13569
|
* @param {string | null} [comment] Comment
|
|
@@ -13572,7 +13576,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13572
13576
|
* @param {*} [options] Override http request option.
|
|
13573
13577
|
* @throws {RequiredError}
|
|
13574
13578
|
*/
|
|
13575
|
-
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13579
|
+
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, customerName?: string, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13576
13580
|
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then((request) => request(axios, basePath));
|
|
13577
13581
|
},
|
|
13578
13582
|
};
|
|
@@ -13644,7 +13648,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13644
13648
|
* @param {string | null} [city] City
|
|
13645
13649
|
* @param {string | null} [postCode] Post Code
|
|
13646
13650
|
* @param {number | null} [trunkId] Trunk ID
|
|
13647
|
-
* @param {
|
|
13651
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13648
13652
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13649
13653
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13650
13654
|
* @param {string | null} [comment] Comment
|
|
@@ -13653,7 +13657,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13653
13657
|
* @param {*} [options] Override http request option.
|
|
13654
13658
|
* @throws {RequiredError}
|
|
13655
13659
|
*/
|
|
13656
|
-
public postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13660
|
+
public postCreateNumberPort(companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig) {
|
|
13657
13661
|
return NumberPortingApiFp(this.configuration).postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
|
|
13658
13662
|
}
|
|
13659
13663
|
|
|
@@ -13666,7 +13670,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13666
13670
|
* @param {string | null} [city] City
|
|
13667
13671
|
* @param {string | null} [postCode] Post Code
|
|
13668
13672
|
* @param {number | null} [trunkId] Trunk ID
|
|
13669
|
-
* @param {
|
|
13673
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13670
13674
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13671
13675
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13672
13676
|
* @param {string | null} [comment] Comment
|
|
@@ -13675,7 +13679,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13675
13679
|
* @param {*} [options] Override http request option.
|
|
13676
13680
|
* @throws {RequiredError}
|
|
13677
13681
|
*/
|
|
13678
|
-
public postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13682
|
+
public postSubmitNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig) {
|
|
13679
13683
|
return NumberPortingApiFp(this.configuration).postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
|
|
13680
13684
|
}
|
|
13681
13685
|
|
|
@@ -13688,7 +13692,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13688
13692
|
* @param {string | null} [city] City
|
|
13689
13693
|
* @param {string | null} [postCode] Post Code
|
|
13690
13694
|
* @param {number | null} [trunkId] Trunk ID
|
|
13691
|
-
* @param {
|
|
13695
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13692
13696
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13693
13697
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13694
13698
|
* @param {string | null} [comment] Comment
|
|
@@ -13697,7 +13701,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13697
13701
|
* @param {*} [options] Override http request option.
|
|
13698
13702
|
* @throws {RequiredError}
|
|
13699
13703
|
*/
|
|
13700
|
-
public postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13704
|
+
public postUpdateNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, numberRanges?: Array<NumberPortRangeRequestDTO>, cloa?: File, options?: RawAxiosRequestConfig) {
|
|
13701
13705
|
return NumberPortingApiFp(this.configuration).postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then((request) => request(this.axios, this.basePath));
|
|
13702
13706
|
}
|
|
13703
13707
|
|
|
@@ -13710,7 +13714,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13710
13714
|
* @param {string | null} [city] City
|
|
13711
13715
|
* @param {string | null} [postCode] Post Code
|
|
13712
13716
|
* @param {number | null} [trunkId] Trunk ID
|
|
13713
|
-
* @param {
|
|
13717
|
+
* @param {string | null} [tenantId] Starter Bundle ID
|
|
13714
13718
|
* @param {string | null} [requestedPortDate] Requested Port Date
|
|
13715
13719
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13716
13720
|
* @param {string | null} [comment] Comment
|
|
@@ -13723,7 +13727,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13723
13727
|
* @param {*} [options] Override http request option.
|
|
13724
13728
|
* @throws {RequiredError}
|
|
13725
13729
|
*/
|
|
13726
|
-
public putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?:
|
|
13730
|
+
public putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: string | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, customerName?: string, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig) {
|
|
13727
13731
|
return NumberPortingApiFp(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then((request) => request(this.axios, this.basePath));
|
|
13728
13732
|
}
|
|
13729
13733
|
}
|
|
@@ -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
|