yellowgrid-api-ts 3.2.5-dev.0 → 3.2.6-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 +2 -2
- package/api.ts +58 -58
- package/dist/api.d.ts +28 -28
- package/dist/api.js +61 -61
- package/docs/NumberPortingApi.md +27 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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 |
|
package/api.ts
CHANGED
|
@@ -12702,15 +12702,14 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12702
12702
|
},
|
|
12703
12703
|
/**
|
|
12704
12704
|
*
|
|
12705
|
-
* @param {number}
|
|
12705
|
+
* @param {number} [pageSize] Number Of Results
|
|
12706
|
+
* @param {number} [page] Page Number
|
|
12707
|
+
* @param {string} [search] Search
|
|
12706
12708
|
* @param {*} [options] Override http request option.
|
|
12707
12709
|
* @throws {RequiredError}
|
|
12708
12710
|
*/
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
assertParamExists('getGetAdminNumberPort', 'id', id)
|
|
12712
|
-
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
12713
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12711
|
+
getCreateNumberPort: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12712
|
+
const localVarPath = `/sip/numbers/ports`;
|
|
12714
12713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12715
12714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12716
12715
|
let baseOptions;
|
|
@@ -12722,6 +12721,18 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12722
12721
|
const localVarHeaderParameter = {} as any;
|
|
12723
12722
|
const localVarQueryParameter = {} as any;
|
|
12724
12723
|
|
|
12724
|
+
if (pageSize !== undefined) {
|
|
12725
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
12726
|
+
}
|
|
12727
|
+
|
|
12728
|
+
if (page !== undefined) {
|
|
12729
|
+
localVarQueryParameter['page'] = page;
|
|
12730
|
+
}
|
|
12731
|
+
|
|
12732
|
+
if (search !== undefined) {
|
|
12733
|
+
localVarQueryParameter['search'] = search;
|
|
12734
|
+
}
|
|
12735
|
+
|
|
12725
12736
|
|
|
12726
12737
|
|
|
12727
12738
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12735,14 +12746,15 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12735
12746
|
},
|
|
12736
12747
|
/**
|
|
12737
12748
|
*
|
|
12738
|
-
* @param {number}
|
|
12739
|
-
* @param {number} [page] Page Number
|
|
12740
|
-
* @param {string} [search] Search
|
|
12749
|
+
* @param {number} id Number Port ID
|
|
12741
12750
|
* @param {*} [options] Override http request option.
|
|
12742
12751
|
* @throws {RequiredError}
|
|
12743
12752
|
*/
|
|
12744
|
-
|
|
12745
|
-
|
|
12753
|
+
getGetAdminNumberPort: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12754
|
+
// verify required parameter 'id' is not null or undefined
|
|
12755
|
+
assertParamExists('getGetAdminNumberPort', 'id', id)
|
|
12756
|
+
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
12757
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12746
12758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12747
12759
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12748
12760
|
let baseOptions;
|
|
@@ -12754,18 +12766,6 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12754
12766
|
const localVarHeaderParameter = {} as any;
|
|
12755
12767
|
const localVarQueryParameter = {} as any;
|
|
12756
12768
|
|
|
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
12769
|
|
|
12770
12770
|
|
|
12771
12771
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12785,8 +12785,8 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12785
12785
|
* @param {*} [options] Override http request option.
|
|
12786
12786
|
* @throws {RequiredError}
|
|
12787
12787
|
*/
|
|
12788
|
-
|
|
12789
|
-
const localVarPath = `/sip/numbers/ports
|
|
12788
|
+
getGetAdminNumberPorts: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12789
|
+
const localVarPath = `/admin/sip/numbers/ports`;
|
|
12790
12790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12791
12791
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12792
12792
|
let baseOptions;
|
|
@@ -13281,28 +13281,28 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13281
13281
|
},
|
|
13282
13282
|
/**
|
|
13283
13283
|
*
|
|
13284
|
-
* @param {number}
|
|
13284
|
+
* @param {number} [pageSize] Number Of Results
|
|
13285
|
+
* @param {number} [page] Page Number
|
|
13286
|
+
* @param {string} [search] Search
|
|
13285
13287
|
* @param {*} [options] Override http request option.
|
|
13286
13288
|
* @throws {RequiredError}
|
|
13287
13289
|
*/
|
|
13288
|
-
async
|
|
13289
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13290
|
+
async getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>> {
|
|
13291
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options);
|
|
13290
13292
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13291
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13293
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getCreateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13292
13294
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13293
13295
|
},
|
|
13294
13296
|
/**
|
|
13295
13297
|
*
|
|
13296
|
-
* @param {number}
|
|
13297
|
-
* @param {number} [page] Page Number
|
|
13298
|
-
* @param {string} [search] Search
|
|
13298
|
+
* @param {number} id Number Port ID
|
|
13299
13299
|
* @param {*} [options] Override http request option.
|
|
13300
13300
|
* @throws {RequiredError}
|
|
13301
13301
|
*/
|
|
13302
|
-
async
|
|
13303
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13302
|
+
async getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminNumberPort(id, options);
|
|
13304
13304
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13305
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13305
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13306
13306
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13307
13307
|
},
|
|
13308
13308
|
/**
|
|
@@ -13313,10 +13313,10 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13313
13313
|
* @param {*} [options] Override http request option.
|
|
13314
13314
|
* @throws {RequiredError}
|
|
13315
13315
|
*/
|
|
13316
|
-
async
|
|
13317
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
13316
|
+
async getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>> {
|
|
13317
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options);
|
|
13318
13318
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13319
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13319
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPorts']?.[localVarOperationServerIndex]?.url;
|
|
13320
13320
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13321
13321
|
},
|
|
13322
13322
|
/**
|
|
@@ -13450,23 +13450,23 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13450
13450
|
},
|
|
13451
13451
|
/**
|
|
13452
13452
|
*
|
|
13453
|
-
* @param {number}
|
|
13453
|
+
* @param {number} [pageSize] Number Of Results
|
|
13454
|
+
* @param {number} [page] Page Number
|
|
13455
|
+
* @param {string} [search] Search
|
|
13454
13456
|
* @param {*} [options] Override http request option.
|
|
13455
13457
|
* @throws {RequiredError}
|
|
13456
13458
|
*/
|
|
13457
|
-
|
|
13458
|
-
return localVarFp.
|
|
13459
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel> {
|
|
13460
|
+
return localVarFp.getCreateNumberPort(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
13459
13461
|
},
|
|
13460
13462
|
/**
|
|
13461
13463
|
*
|
|
13462
|
-
* @param {number}
|
|
13463
|
-
* @param {number} [page] Page Number
|
|
13464
|
-
* @param {string} [search] Search
|
|
13464
|
+
* @param {number} id Number Port ID
|
|
13465
13465
|
* @param {*} [options] Override http request option.
|
|
13466
13466
|
* @throws {RequiredError}
|
|
13467
13467
|
*/
|
|
13468
|
-
|
|
13469
|
-
return localVarFp.
|
|
13468
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13469
|
+
return localVarFp.getGetAdminNumberPort(id, options).then((request) => request(axios, basePath));
|
|
13470
13470
|
},
|
|
13471
13471
|
/**
|
|
13472
13472
|
*
|
|
@@ -13476,8 +13476,8 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13476
13476
|
* @param {*} [options] Override http request option.
|
|
13477
13477
|
* @throws {RequiredError}
|
|
13478
13478
|
*/
|
|
13479
|
-
|
|
13480
|
-
return localVarFp.
|
|
13479
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel> {
|
|
13480
|
+
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then((request) => request(axios, basePath));
|
|
13481
13481
|
},
|
|
13482
13482
|
/**
|
|
13483
13483
|
*
|
|
@@ -13594,24 +13594,24 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13594
13594
|
|
|
13595
13595
|
/**
|
|
13596
13596
|
*
|
|
13597
|
-
* @param {number}
|
|
13597
|
+
* @param {number} [pageSize] Number Of Results
|
|
13598
|
+
* @param {number} [page] Page Number
|
|
13599
|
+
* @param {string} [search] Search
|
|
13598
13600
|
* @param {*} [options] Override http request option.
|
|
13599
13601
|
* @throws {RequiredError}
|
|
13600
13602
|
*/
|
|
13601
|
-
public
|
|
13602
|
-
return NumberPortingApiFp(this.configuration).
|
|
13603
|
+
public getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
13604
|
+
return NumberPortingApiFp(this.configuration).getCreateNumberPort(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
13603
13605
|
}
|
|
13604
13606
|
|
|
13605
13607
|
/**
|
|
13606
13608
|
*
|
|
13607
|
-
* @param {number}
|
|
13608
|
-
* @param {number} [page] Page Number
|
|
13609
|
-
* @param {string} [search] Search
|
|
13609
|
+
* @param {number} id Number Port ID
|
|
13610
13610
|
* @param {*} [options] Override http request option.
|
|
13611
13611
|
* @throws {RequiredError}
|
|
13612
13612
|
*/
|
|
13613
|
-
public
|
|
13614
|
-
return NumberPortingApiFp(this.configuration).
|
|
13613
|
+
public getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig) {
|
|
13614
|
+
return NumberPortingApiFp(this.configuration).getGetAdminNumberPort(id, options).then((request) => request(this.axios, this.basePath));
|
|
13615
13615
|
}
|
|
13616
13616
|
|
|
13617
13617
|
/**
|
|
@@ -13622,8 +13622,8 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13622
13622
|
* @param {*} [options] Override http request option.
|
|
13623
13623
|
* @throws {RequiredError}
|
|
13624
13624
|
*/
|
|
13625
|
-
public
|
|
13626
|
-
return NumberPortingApiFp(this.configuration).
|
|
13625
|
+
public getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
13626
|
+
return NumberPortingApiFp(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
|
|
13627
13627
|
}
|
|
13628
13628
|
|
|
13629
13629
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -9419,20 +9419,20 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9419
9419
|
deleteGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9420
9420
|
/**
|
|
9421
9421
|
*
|
|
9422
|
-
* @param {number}
|
|
9422
|
+
* @param {number} [pageSize] Number Of Results
|
|
9423
|
+
* @param {number} [page] Page Number
|
|
9424
|
+
* @param {string} [search] Search
|
|
9423
9425
|
* @param {*} [options] Override http request option.
|
|
9424
9426
|
* @throws {RequiredError}
|
|
9425
9427
|
*/
|
|
9426
|
-
|
|
9428
|
+
getCreateNumberPort: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9427
9429
|
/**
|
|
9428
9430
|
*
|
|
9429
|
-
* @param {number}
|
|
9430
|
-
* @param {number} [page] Page Number
|
|
9431
|
-
* @param {string} [search] Search
|
|
9431
|
+
* @param {number} id Number Port ID
|
|
9432
9432
|
* @param {*} [options] Override http request option.
|
|
9433
9433
|
* @throws {RequiredError}
|
|
9434
9434
|
*/
|
|
9435
|
-
|
|
9435
|
+
getGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9436
9436
|
/**
|
|
9437
9437
|
*
|
|
9438
9438
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9441,7 +9441,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9441
9441
|
* @param {*} [options] Override http request option.
|
|
9442
9442
|
* @throws {RequiredError}
|
|
9443
9443
|
*/
|
|
9444
|
-
|
|
9444
|
+
getGetAdminNumberPorts: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9445
9445
|
/**
|
|
9446
9446
|
*
|
|
9447
9447
|
* @param {number} id Number Port ID
|
|
@@ -9542,20 +9542,20 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9542
9542
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9543
9543
|
/**
|
|
9544
9544
|
*
|
|
9545
|
-
* @param {number}
|
|
9545
|
+
* @param {number} [pageSize] Number Of Results
|
|
9546
|
+
* @param {number} [page] Page Number
|
|
9547
|
+
* @param {string} [search] Search
|
|
9546
9548
|
* @param {*} [options] Override http request option.
|
|
9547
9549
|
* @throws {RequiredError}
|
|
9548
9550
|
*/
|
|
9549
|
-
|
|
9551
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9550
9552
|
/**
|
|
9551
9553
|
*
|
|
9552
|
-
* @param {number}
|
|
9553
|
-
* @param {number} [page] Page Number
|
|
9554
|
-
* @param {string} [search] Search
|
|
9554
|
+
* @param {number} id Number Port ID
|
|
9555
9555
|
* @param {*} [options] Override http request option.
|
|
9556
9556
|
* @throws {RequiredError}
|
|
9557
9557
|
*/
|
|
9558
|
-
|
|
9558
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>>;
|
|
9559
9559
|
/**
|
|
9560
9560
|
*
|
|
9561
9561
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9564,7 +9564,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9564
9564
|
* @param {*} [options] Override http request option.
|
|
9565
9565
|
* @throws {RequiredError}
|
|
9566
9566
|
*/
|
|
9567
|
-
|
|
9567
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9568
9568
|
/**
|
|
9569
9569
|
*
|
|
9570
9570
|
* @param {number} id Number Port ID
|
|
@@ -9665,20 +9665,20 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9665
9665
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9666
9666
|
/**
|
|
9667
9667
|
*
|
|
9668
|
-
* @param {number}
|
|
9668
|
+
* @param {number} [pageSize] Number Of Results
|
|
9669
|
+
* @param {number} [page] Page Number
|
|
9670
|
+
* @param {string} [search] Search
|
|
9669
9671
|
* @param {*} [options] Override http request option.
|
|
9670
9672
|
* @throws {RequiredError}
|
|
9671
9673
|
*/
|
|
9672
|
-
|
|
9674
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9673
9675
|
/**
|
|
9674
9676
|
*
|
|
9675
|
-
* @param {number}
|
|
9676
|
-
* @param {number} [page] Page Number
|
|
9677
|
-
* @param {string} [search] Search
|
|
9677
|
+
* @param {number} id Number Port ID
|
|
9678
9678
|
* @param {*} [options] Override http request option.
|
|
9679
9679
|
* @throws {RequiredError}
|
|
9680
9680
|
*/
|
|
9681
|
-
|
|
9681
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO>;
|
|
9682
9682
|
/**
|
|
9683
9683
|
*
|
|
9684
9684
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9687,7 +9687,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9687
9687
|
* @param {*} [options] Override http request option.
|
|
9688
9688
|
* @throws {RequiredError}
|
|
9689
9689
|
*/
|
|
9690
|
-
|
|
9690
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9691
9691
|
/**
|
|
9692
9692
|
*
|
|
9693
9693
|
* @param {number} id Number Port ID
|
|
@@ -9788,20 +9788,20 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9788
9788
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
9789
9789
|
/**
|
|
9790
9790
|
*
|
|
9791
|
-
* @param {number}
|
|
9791
|
+
* @param {number} [pageSize] Number Of Results
|
|
9792
|
+
* @param {number} [page] Page Number
|
|
9793
|
+
* @param {string} [search] Search
|
|
9792
9794
|
* @param {*} [options] Override http request option.
|
|
9793
9795
|
* @throws {RequiredError}
|
|
9794
9796
|
*/
|
|
9795
|
-
|
|
9797
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9796
9798
|
/**
|
|
9797
9799
|
*
|
|
9798
|
-
* @param {number}
|
|
9799
|
-
* @param {number} [page] Page Number
|
|
9800
|
-
* @param {string} [search] Search
|
|
9800
|
+
* @param {number} id Number Port ID
|
|
9801
9801
|
* @param {*} [options] Override http request option.
|
|
9802
9802
|
* @throws {RequiredError}
|
|
9803
9803
|
*/
|
|
9804
|
-
|
|
9804
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortDTO, any, {}>>;
|
|
9805
9805
|
/**
|
|
9806
9806
|
*
|
|
9807
9807
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9810,7 +9810,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9810
9810
|
* @param {*} [options] Override http request option.
|
|
9811
9811
|
* @throws {RequiredError}
|
|
9812
9812
|
*/
|
|
9813
|
-
|
|
9813
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9814
9814
|
/**
|
|
9815
9815
|
*
|
|
9816
9816
|
* @param {number} id Number Port ID
|
package/dist/api.js
CHANGED
|
@@ -7349,23 +7349,22 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7349
7349
|
},
|
|
7350
7350
|
/**
|
|
7351
7351
|
*
|
|
7352
|
-
* @param {number}
|
|
7352
|
+
* @param {number} [pageSize] Number Of Results
|
|
7353
|
+
* @param {number} [page] Page Number
|
|
7354
|
+
* @param {string} [search] Search
|
|
7353
7355
|
* @param {*} [options] Override http request option.
|
|
7354
7356
|
* @throws {RequiredError}
|
|
7355
7357
|
*/
|
|
7356
|
-
|
|
7358
|
+
getCreateNumberPort: function (pageSize_1, page_1, search_1) {
|
|
7357
7359
|
var args_1 = [];
|
|
7358
|
-
for (var _i =
|
|
7359
|
-
args_1[_i -
|
|
7360
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7361
|
+
args_1[_i - 3] = arguments[_i];
|
|
7360
7362
|
}
|
|
7361
|
-
return __awaiter(_this, __spreadArray([
|
|
7363
|
+
return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
|
|
7362
7364
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7363
7365
|
if (options === void 0) { options = {}; }
|
|
7364
7366
|
return __generator(this, function (_a) {
|
|
7365
|
-
|
|
7366
|
-
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
7367
|
-
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7368
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7367
|
+
localVarPath = "/sip/numbers/ports";
|
|
7369
7368
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7370
7369
|
if (configuration) {
|
|
7371
7370
|
baseOptions = configuration.baseOptions;
|
|
@@ -7373,6 +7372,15 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7373
7372
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7374
7373
|
localVarHeaderParameter = {};
|
|
7375
7374
|
localVarQueryParameter = {};
|
|
7375
|
+
if (pageSize !== undefined) {
|
|
7376
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7377
|
+
}
|
|
7378
|
+
if (page !== undefined) {
|
|
7379
|
+
localVarQueryParameter['page'] = page;
|
|
7380
|
+
}
|
|
7381
|
+
if (search !== undefined) {
|
|
7382
|
+
localVarQueryParameter['search'] = search;
|
|
7383
|
+
}
|
|
7376
7384
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7377
7385
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7378
7386
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7385,22 +7393,23 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7385
7393
|
},
|
|
7386
7394
|
/**
|
|
7387
7395
|
*
|
|
7388
|
-
* @param {number}
|
|
7389
|
-
* @param {number} [page] Page Number
|
|
7390
|
-
* @param {string} [search] Search
|
|
7396
|
+
* @param {number} id Number Port ID
|
|
7391
7397
|
* @param {*} [options] Override http request option.
|
|
7392
7398
|
* @throws {RequiredError}
|
|
7393
7399
|
*/
|
|
7394
|
-
|
|
7400
|
+
getGetAdminNumberPort: function (id_1) {
|
|
7395
7401
|
var args_1 = [];
|
|
7396
|
-
for (var _i =
|
|
7397
|
-
args_1[_i -
|
|
7402
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
7403
|
+
args_1[_i - 1] = arguments[_i];
|
|
7398
7404
|
}
|
|
7399
|
-
return __awaiter(_this, __spreadArray([
|
|
7405
|
+
return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
|
|
7400
7406
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7401
7407
|
if (options === void 0) { options = {}; }
|
|
7402
7408
|
return __generator(this, function (_a) {
|
|
7403
|
-
|
|
7409
|
+
// verify required parameter 'id' is not null or undefined
|
|
7410
|
+
(0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
|
|
7411
|
+
localVarPath = "/admin/sip/numbers/ports/{id}"
|
|
7412
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
7404
7413
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7405
7414
|
if (configuration) {
|
|
7406
7415
|
baseOptions = configuration.baseOptions;
|
|
@@ -7408,15 +7417,6 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7408
7417
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7409
7418
|
localVarHeaderParameter = {};
|
|
7410
7419
|
localVarQueryParameter = {};
|
|
7411
|
-
if (pageSize !== undefined) {
|
|
7412
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
7413
|
-
}
|
|
7414
|
-
if (page !== undefined) {
|
|
7415
|
-
localVarQueryParameter['page'] = page;
|
|
7416
|
-
}
|
|
7417
|
-
if (search !== undefined) {
|
|
7418
|
-
localVarQueryParameter['search'] = search;
|
|
7419
|
-
}
|
|
7420
7420
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7421
7421
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7422
7422
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7435,7 +7435,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7435
7435
|
* @param {*} [options] Override http request option.
|
|
7436
7436
|
* @throws {RequiredError}
|
|
7437
7437
|
*/
|
|
7438
|
-
|
|
7438
|
+
getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
|
|
7439
7439
|
var args_1 = [];
|
|
7440
7440
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7441
7441
|
args_1[_i - 3] = arguments[_i];
|
|
@@ -7444,7 +7444,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7444
7444
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7445
7445
|
if (options === void 0) { options = {}; }
|
|
7446
7446
|
return __generator(this, function (_a) {
|
|
7447
|
-
localVarPath = "/sip/numbers/ports
|
|
7447
|
+
localVarPath = "/admin/sip/numbers/ports";
|
|
7448
7448
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7449
7449
|
if (configuration) {
|
|
7450
7450
|
baseOptions = configuration.baseOptions;
|
|
@@ -7900,21 +7900,23 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7900
7900
|
},
|
|
7901
7901
|
/**
|
|
7902
7902
|
*
|
|
7903
|
-
* @param {number}
|
|
7903
|
+
* @param {number} [pageSize] Number Of Results
|
|
7904
|
+
* @param {number} [page] Page Number
|
|
7905
|
+
* @param {string} [search] Search
|
|
7904
7906
|
* @param {*} [options] Override http request option.
|
|
7905
7907
|
* @throws {RequiredError}
|
|
7906
7908
|
*/
|
|
7907
|
-
|
|
7909
|
+
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
7908
7910
|
return __awaiter(this, void 0, void 0, function () {
|
|
7909
7911
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7910
7912
|
var _a, _b, _c;
|
|
7911
7913
|
return __generator(this, function (_d) {
|
|
7912
7914
|
switch (_d.label) {
|
|
7913
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7915
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options)];
|
|
7914
7916
|
case 1:
|
|
7915
7917
|
localVarAxiosArgs = _d.sent();
|
|
7916
7918
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7917
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.
|
|
7919
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7918
7920
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7919
7921
|
}
|
|
7920
7922
|
});
|
|
@@ -7922,23 +7924,21 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7922
7924
|
},
|
|
7923
7925
|
/**
|
|
7924
7926
|
*
|
|
7925
|
-
* @param {number}
|
|
7926
|
-
* @param {number} [page] Page Number
|
|
7927
|
-
* @param {string} [search] Search
|
|
7927
|
+
* @param {number} id Number Port ID
|
|
7928
7928
|
* @param {*} [options] Override http request option.
|
|
7929
7929
|
* @throws {RequiredError}
|
|
7930
7930
|
*/
|
|
7931
|
-
|
|
7931
|
+
getGetAdminNumberPort: function (id, options) {
|
|
7932
7932
|
return __awaiter(this, void 0, void 0, function () {
|
|
7933
7933
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7934
7934
|
var _a, _b, _c;
|
|
7935
7935
|
return __generator(this, function (_d) {
|
|
7936
7936
|
switch (_d.label) {
|
|
7937
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7937
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
|
|
7938
7938
|
case 1:
|
|
7939
7939
|
localVarAxiosArgs = _d.sent();
|
|
7940
7940
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7941
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.
|
|
7941
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7942
7942
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7943
7943
|
}
|
|
7944
7944
|
});
|
|
@@ -7952,17 +7952,17 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7952
7952
|
* @param {*} [options] Override http request option.
|
|
7953
7953
|
* @throws {RequiredError}
|
|
7954
7954
|
*/
|
|
7955
|
-
|
|
7955
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
7956
7956
|
return __awaiter(this, void 0, void 0, function () {
|
|
7957
7957
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7958
7958
|
var _a, _b, _c;
|
|
7959
7959
|
return __generator(this, function (_d) {
|
|
7960
7960
|
switch (_d.label) {
|
|
7961
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7961
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
|
|
7962
7962
|
case 1:
|
|
7963
7963
|
localVarAxiosArgs = _d.sent();
|
|
7964
7964
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7965
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.
|
|
7965
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7966
7966
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7967
7967
|
}
|
|
7968
7968
|
});
|
|
@@ -8149,23 +8149,23 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8149
8149
|
},
|
|
8150
8150
|
/**
|
|
8151
8151
|
*
|
|
8152
|
-
* @param {number}
|
|
8152
|
+
* @param {number} [pageSize] Number Of Results
|
|
8153
|
+
* @param {number} [page] Page Number
|
|
8154
|
+
* @param {string} [search] Search
|
|
8153
8155
|
* @param {*} [options] Override http request option.
|
|
8154
8156
|
* @throws {RequiredError}
|
|
8155
8157
|
*/
|
|
8156
|
-
|
|
8157
|
-
return localVarFp.
|
|
8158
|
+
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
8159
|
+
return localVarFp.getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8158
8160
|
},
|
|
8159
8161
|
/**
|
|
8160
8162
|
*
|
|
8161
|
-
* @param {number}
|
|
8162
|
-
* @param {number} [page] Page Number
|
|
8163
|
-
* @param {string} [search] Search
|
|
8163
|
+
* @param {number} id Number Port ID
|
|
8164
8164
|
* @param {*} [options] Override http request option.
|
|
8165
8165
|
* @throws {RequiredError}
|
|
8166
8166
|
*/
|
|
8167
|
-
|
|
8168
|
-
return localVarFp.
|
|
8167
|
+
getGetAdminNumberPort: function (id, options) {
|
|
8168
|
+
return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8169
8169
|
},
|
|
8170
8170
|
/**
|
|
8171
8171
|
*
|
|
@@ -8175,8 +8175,8 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8175
8175
|
* @param {*} [options] Override http request option.
|
|
8176
8176
|
* @throws {RequiredError}
|
|
8177
8177
|
*/
|
|
8178
|
-
|
|
8179
|
-
return localVarFp.
|
|
8178
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
8179
|
+
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8180
8180
|
},
|
|
8181
8181
|
/**
|
|
8182
8182
|
*
|
|
@@ -8297,25 +8297,25 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8297
8297
|
};
|
|
8298
8298
|
/**
|
|
8299
8299
|
*
|
|
8300
|
-
* @param {number}
|
|
8300
|
+
* @param {number} [pageSize] Number Of Results
|
|
8301
|
+
* @param {number} [page] Page Number
|
|
8302
|
+
* @param {string} [search] Search
|
|
8301
8303
|
* @param {*} [options] Override http request option.
|
|
8302
8304
|
* @throws {RequiredError}
|
|
8303
8305
|
*/
|
|
8304
|
-
NumberPortingApi.prototype.
|
|
8306
|
+
NumberPortingApi.prototype.getCreateNumberPort = function (pageSize, page, search, options) {
|
|
8305
8307
|
var _this = this;
|
|
8306
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).
|
|
8308
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8307
8309
|
};
|
|
8308
8310
|
/**
|
|
8309
8311
|
*
|
|
8310
|
-
* @param {number}
|
|
8311
|
-
* @param {number} [page] Page Number
|
|
8312
|
-
* @param {string} [search] Search
|
|
8312
|
+
* @param {number} id Number Port ID
|
|
8313
8313
|
* @param {*} [options] Override http request option.
|
|
8314
8314
|
* @throws {RequiredError}
|
|
8315
8315
|
*/
|
|
8316
|
-
NumberPortingApi.prototype.
|
|
8316
|
+
NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
|
|
8317
8317
|
var _this = this;
|
|
8318
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).
|
|
8318
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8319
8319
|
};
|
|
8320
8320
|
/**
|
|
8321
8321
|
*
|
|
@@ -8325,9 +8325,9 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8325
8325
|
* @param {*} [options] Override http request option.
|
|
8326
8326
|
* @throws {RequiredError}
|
|
8327
8327
|
*/
|
|
8328
|
-
NumberPortingApi.prototype.
|
|
8328
|
+
NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
|
|
8329
8329
|
var _this = this;
|
|
8330
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).
|
|
8330
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8331
8331
|
};
|
|
8332
8332
|
/**
|
|
8333
8333
|
*
|
package/docs/NumberPortingApi.md
CHANGED
|
@@ -5,9 +5,9 @@ All URIs are relative to *http://api.yellowgrid.local*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**deleteGetAdminNumberPort**](#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} | |
|
|
8
|
+
|[**getCreateNumberPort**](#getcreatenumberport) | **GET** /sip/numbers/ports | |
|
|
8
9
|
|[**getGetAdminNumberPort**](#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} | |
|
|
9
|
-
|[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports
|
|
10
|
-
|[**getGetNumberPorts**](#getgetnumberports) | **GET** /sip/numbers/ports/ | |
|
|
10
|
+
|[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports | |
|
|
11
11
|
|[**getUpdateNumberPort**](#getupdatenumberport) | **GET** /sip/numbers/ports/{id} | |
|
|
12
12
|
|[**postCreateNumberPort**](#postcreatenumberport) | **POST** /sip/numbers/ports | |
|
|
13
13
|
|[**postSubmitNumberPort**](#postsubmitnumberport) | **POST** /sip/numbers/ports/{id}/submit | |
|
|
@@ -67,8 +67,8 @@ No authorization required
|
|
|
67
67
|
|
|
68
68
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
69
69
|
|
|
70
|
-
# **
|
|
71
|
-
>
|
|
70
|
+
# **getCreateNumberPort**
|
|
71
|
+
> NumberPortsModel getCreateNumberPort()
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
### Example
|
|
@@ -82,10 +82,14 @@ import {
|
|
|
82
82
|
const configuration = new Configuration();
|
|
83
83
|
const apiInstance = new NumberPortingApi(configuration);
|
|
84
84
|
|
|
85
|
-
let
|
|
85
|
+
let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
86
|
+
let page: number; //Page Number (optional) (default to 1)
|
|
87
|
+
let search: string; //Search (optional) (default to undefined)
|
|
86
88
|
|
|
87
|
-
const { status, data } = await apiInstance.
|
|
88
|
-
|
|
89
|
+
const { status, data } = await apiInstance.getCreateNumberPort(
|
|
90
|
+
pageSize,
|
|
91
|
+
page,
|
|
92
|
+
search
|
|
89
93
|
);
|
|
90
94
|
```
|
|
91
95
|
|
|
@@ -93,12 +97,14 @@ const { status, data } = await apiInstance.getGetAdminNumberPort(
|
|
|
93
97
|
|
|
94
98
|
|Name | Type | Description | Notes|
|
|
95
99
|
|------------- | ------------- | ------------- | -------------|
|
|
96
|
-
| **
|
|
100
|
+
| **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
|
|
101
|
+
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
102
|
+
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
97
103
|
|
|
98
104
|
|
|
99
105
|
### Return type
|
|
100
106
|
|
|
101
|
-
**
|
|
107
|
+
**NumberPortsModel**
|
|
102
108
|
|
|
103
109
|
### Authorization
|
|
104
110
|
|
|
@@ -113,15 +119,15 @@ No authorization required
|
|
|
113
119
|
### HTTP response details
|
|
114
120
|
| Status code | Description | Response headers |
|
|
115
121
|
|-------------|-------------|------------------|
|
|
116
|
-
|**200** |
|
|
122
|
+
|**200** | Number Ports | - |
|
|
117
123
|
|**400** | Bad Request | - |
|
|
118
124
|
|**401** | Unauthorised | - |
|
|
119
125
|
|**403** | Access Denied | - |
|
|
120
126
|
|
|
121
127
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
122
128
|
|
|
123
|
-
# **
|
|
124
|
-
>
|
|
129
|
+
# **getGetAdminNumberPort**
|
|
130
|
+
> NumberPortDTO getGetAdminNumberPort()
|
|
125
131
|
|
|
126
132
|
|
|
127
133
|
### Example
|
|
@@ -135,14 +141,10 @@ import {
|
|
|
135
141
|
const configuration = new Configuration();
|
|
136
142
|
const apiInstance = new NumberPortingApi(configuration);
|
|
137
143
|
|
|
138
|
-
let
|
|
139
|
-
let page: number; //Page Number (optional) (default to 1)
|
|
140
|
-
let search: string; //Search (optional) (default to undefined)
|
|
144
|
+
let id: number; //Number Port ID (default to undefined)
|
|
141
145
|
|
|
142
|
-
const { status, data } = await apiInstance.
|
|
143
|
-
|
|
144
|
-
page,
|
|
145
|
-
search
|
|
146
|
+
const { status, data } = await apiInstance.getGetAdminNumberPort(
|
|
147
|
+
id
|
|
146
148
|
);
|
|
147
149
|
```
|
|
148
150
|
|
|
@@ -150,14 +152,12 @@ const { status, data } = await apiInstance.getGetAdminNumberPorts(
|
|
|
150
152
|
|
|
151
153
|
|Name | Type | Description | Notes|
|
|
152
154
|
|------------- | ------------- | ------------- | -------------|
|
|
153
|
-
| **
|
|
154
|
-
| **page** | [**number**] | Page Number | (optional) defaults to 1|
|
|
155
|
-
| **search** | [**string**] | Search | (optional) defaults to undefined|
|
|
155
|
+
| **id** | [**number**] | Number Port ID | defaults to undefined|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
### Return type
|
|
159
159
|
|
|
160
|
-
**
|
|
160
|
+
**NumberPortDTO**
|
|
161
161
|
|
|
162
162
|
### Authorization
|
|
163
163
|
|
|
@@ -172,15 +172,15 @@ No authorization required
|
|
|
172
172
|
### HTTP response details
|
|
173
173
|
| Status code | Description | Response headers |
|
|
174
174
|
|-------------|-------------|------------------|
|
|
175
|
-
|**200** |
|
|
175
|
+
|**200** | NumberPortDTO | - |
|
|
176
176
|
|**400** | Bad Request | - |
|
|
177
177
|
|**401** | Unauthorised | - |
|
|
178
178
|
|**403** | Access Denied | - |
|
|
179
179
|
|
|
180
180
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
181
181
|
|
|
182
|
-
# **
|
|
183
|
-
> NumberPortsModel
|
|
182
|
+
# **getGetAdminNumberPorts**
|
|
183
|
+
> NumberPortsModel getGetAdminNumberPorts()
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
### Example
|
|
@@ -198,7 +198,7 @@ let pageSize: number; //Number Of Results (optional) (default to 20)
|
|
|
198
198
|
let page: number; //Page Number (optional) (default to 1)
|
|
199
199
|
let search: string; //Search (optional) (default to undefined)
|
|
200
200
|
|
|
201
|
-
const { status, data } = await apiInstance.
|
|
201
|
+
const { status, data } = await apiInstance.getGetAdminNumberPorts(
|
|
202
202
|
pageSize,
|
|
203
203
|
page,
|
|
204
204
|
search
|