yellowgrid-api-ts 3.2.4-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 +82 -66
- package/dist/api.d.ts +45 -33
- package/dist/api.js +78 -71
- package/docs/NumberPortDTO.md +2 -0
- package/docs/NumberPortModel.md +2 -0
- package/docs/NumberPortingApi.md +30 -27
- package/docs/NumberPortsModel.md +1 -1
- 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
|
@@ -2433,6 +2433,10 @@ export interface NumberPortDTO {
|
|
|
2433
2433
|
* Number Port ID
|
|
2434
2434
|
*/
|
|
2435
2435
|
'id'?: number;
|
|
2436
|
+
/**
|
|
2437
|
+
* Customer Name
|
|
2438
|
+
*/
|
|
2439
|
+
'customerName'?: string;
|
|
2436
2440
|
/**
|
|
2437
2441
|
* Porting Date
|
|
2438
2442
|
*/
|
|
@@ -2510,6 +2514,10 @@ export interface NumberPortModel {
|
|
|
2510
2514
|
* Ticket ID
|
|
2511
2515
|
*/
|
|
2512
2516
|
'ticketId'?: number | null;
|
|
2517
|
+
/**
|
|
2518
|
+
* Number Port Ranges
|
|
2519
|
+
*/
|
|
2520
|
+
'ranges'?: Array<any>;
|
|
2513
2521
|
/**
|
|
2514
2522
|
* Customer Company Name
|
|
2515
2523
|
*/
|
|
@@ -2576,7 +2584,7 @@ export interface NumberPortsModel {
|
|
|
2576
2584
|
/**
|
|
2577
2585
|
* Results
|
|
2578
2586
|
*/
|
|
2579
|
-
'results'?: Array<
|
|
2587
|
+
'results'?: Array<NumberPortDTO>;
|
|
2580
2588
|
/**
|
|
2581
2589
|
* Page
|
|
2582
2590
|
*/
|
|
@@ -12694,15 +12702,14 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12694
12702
|
},
|
|
12695
12703
|
/**
|
|
12696
12704
|
*
|
|
12697
|
-
* @param {number}
|
|
12705
|
+
* @param {number} [pageSize] Number Of Results
|
|
12706
|
+
* @param {number} [page] Page Number
|
|
12707
|
+
* @param {string} [search] Search
|
|
12698
12708
|
* @param {*} [options] Override http request option.
|
|
12699
12709
|
* @throws {RequiredError}
|
|
12700
12710
|
*/
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
assertParamExists('getGetAdminNumberPort', 'id', id)
|
|
12704
|
-
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
12705
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12711
|
+
getCreateNumberPort: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12712
|
+
const localVarPath = `/sip/numbers/ports`;
|
|
12706
12713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12707
12714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12708
12715
|
let baseOptions;
|
|
@@ -12714,6 +12721,18 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12714
12721
|
const localVarHeaderParameter = {} as any;
|
|
12715
12722
|
const localVarQueryParameter = {} as any;
|
|
12716
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
|
+
|
|
12717
12736
|
|
|
12718
12737
|
|
|
12719
12738
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12727,14 +12746,15 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12727
12746
|
},
|
|
12728
12747
|
/**
|
|
12729
12748
|
*
|
|
12730
|
-
* @param {number}
|
|
12731
|
-
* @param {number} [page] Page Number
|
|
12732
|
-
* @param {string} [search] Search
|
|
12749
|
+
* @param {number} id Number Port ID
|
|
12733
12750
|
* @param {*} [options] Override http request option.
|
|
12734
12751
|
* @throws {RequiredError}
|
|
12735
12752
|
*/
|
|
12736
|
-
|
|
12737
|
-
|
|
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)));
|
|
12738
12758
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12739
12759
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12740
12760
|
let baseOptions;
|
|
@@ -12746,18 +12766,6 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12746
12766
|
const localVarHeaderParameter = {} as any;
|
|
12747
12767
|
const localVarQueryParameter = {} as any;
|
|
12748
12768
|
|
|
12749
|
-
if (pageSize !== undefined) {
|
|
12750
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
12751
|
-
}
|
|
12752
|
-
|
|
12753
|
-
if (page !== undefined) {
|
|
12754
|
-
localVarQueryParameter['page'] = page;
|
|
12755
|
-
}
|
|
12756
|
-
|
|
12757
|
-
if (search !== undefined) {
|
|
12758
|
-
localVarQueryParameter['search'] = search;
|
|
12759
|
-
}
|
|
12760
|
-
|
|
12761
12769
|
|
|
12762
12770
|
|
|
12763
12771
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12777,8 +12785,8 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
12777
12785
|
* @param {*} [options] Override http request option.
|
|
12778
12786
|
* @throws {RequiredError}
|
|
12779
12787
|
*/
|
|
12780
|
-
|
|
12781
|
-
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`;
|
|
12782
12790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12783
12791
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12784
12792
|
let baseOptions;
|
|
@@ -13147,6 +13155,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13147
13155
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13148
13156
|
* @param {string | null} [comment] Comment
|
|
13149
13157
|
* @param {number} [id2] Number Port ID
|
|
13158
|
+
* @param {string} [customerName] Customer Name
|
|
13150
13159
|
* @param {string} [portDate] Porting Date
|
|
13151
13160
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13152
13161
|
* @param {number} [status] Status
|
|
@@ -13154,7 +13163,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13154
13163
|
* @param {*} [options] Override http request option.
|
|
13155
13164
|
* @throws {RequiredError}
|
|
13156
13165
|
*/
|
|
13157
|
-
putGetAdminNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13166
|
+
putGetAdminNumberPort: async (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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> => {
|
|
13158
13167
|
// verify required parameter 'id' is not null or undefined
|
|
13159
13168
|
assertParamExists('putGetAdminNumberPort', 'id', id)
|
|
13160
13169
|
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
@@ -13216,6 +13225,10 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13216
13225
|
localVarFormParams.append('id', id2 as any);
|
|
13217
13226
|
}
|
|
13218
13227
|
|
|
13228
|
+
if (customerName !== undefined) {
|
|
13229
|
+
localVarFormParams.append('customerName', customerName as any);
|
|
13230
|
+
}
|
|
13231
|
+
|
|
13219
13232
|
if (portDate !== undefined) {
|
|
13220
13233
|
localVarFormParams.append('portDate', portDate as any);
|
|
13221
13234
|
}
|
|
@@ -13268,28 +13281,28 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13268
13281
|
},
|
|
13269
13282
|
/**
|
|
13270
13283
|
*
|
|
13271
|
-
* @param {number}
|
|
13284
|
+
* @param {number} [pageSize] Number Of Results
|
|
13285
|
+
* @param {number} [page] Page Number
|
|
13286
|
+
* @param {string} [search] Search
|
|
13272
13287
|
* @param {*} [options] Override http request option.
|
|
13273
13288
|
* @throws {RequiredError}
|
|
13274
13289
|
*/
|
|
13275
|
-
async
|
|
13276
|
-
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);
|
|
13277
13292
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13278
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13293
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getCreateNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13279
13294
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13280
13295
|
},
|
|
13281
13296
|
/**
|
|
13282
13297
|
*
|
|
13283
|
-
* @param {number}
|
|
13284
|
-
* @param {number} [page] Page Number
|
|
13285
|
-
* @param {string} [search] Search
|
|
13298
|
+
* @param {number} id Number Port ID
|
|
13286
13299
|
* @param {*} [options] Override http request option.
|
|
13287
13300
|
* @throws {RequiredError}
|
|
13288
13301
|
*/
|
|
13289
|
-
async
|
|
13290
|
-
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);
|
|
13291
13304
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13292
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13305
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13293
13306
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13294
13307
|
},
|
|
13295
13308
|
/**
|
|
@@ -13300,10 +13313,10 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13300
13313
|
* @param {*} [options] Override http request option.
|
|
13301
13314
|
* @throws {RequiredError}
|
|
13302
13315
|
*/
|
|
13303
|
-
async
|
|
13304
|
-
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);
|
|
13305
13318
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13306
|
-
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.
|
|
13319
|
+
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.getGetAdminNumberPorts']?.[localVarOperationServerIndex]?.url;
|
|
13307
13320
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13308
13321
|
},
|
|
13309
13322
|
/**
|
|
@@ -13403,6 +13416,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13403
13416
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13404
13417
|
* @param {string | null} [comment] Comment
|
|
13405
13418
|
* @param {number} [id2] Number Port ID
|
|
13419
|
+
* @param {string} [customerName] Customer Name
|
|
13406
13420
|
* @param {string} [portDate] Porting Date
|
|
13407
13421
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13408
13422
|
* @param {number} [status] Status
|
|
@@ -13410,8 +13424,8 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13410
13424
|
* @param {*} [options] Override http request option.
|
|
13411
13425
|
* @throws {RequiredError}
|
|
13412
13426
|
*/
|
|
13413
|
-
async putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>> {
|
|
13414
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options);
|
|
13427
|
+
async putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options);
|
|
13415
13429
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13416
13430
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.putGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13417
13431
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13436,23 +13450,23 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13436
13450
|
},
|
|
13437
13451
|
/**
|
|
13438
13452
|
*
|
|
13439
|
-
* @param {number}
|
|
13453
|
+
* @param {number} [pageSize] Number Of Results
|
|
13454
|
+
* @param {number} [page] Page Number
|
|
13455
|
+
* @param {string} [search] Search
|
|
13440
13456
|
* @param {*} [options] Override http request option.
|
|
13441
13457
|
* @throws {RequiredError}
|
|
13442
13458
|
*/
|
|
13443
|
-
|
|
13444
|
-
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));
|
|
13445
13461
|
},
|
|
13446
13462
|
/**
|
|
13447
13463
|
*
|
|
13448
|
-
* @param {number}
|
|
13449
|
-
* @param {number} [page] Page Number
|
|
13450
|
-
* @param {string} [search] Search
|
|
13464
|
+
* @param {number} id Number Port ID
|
|
13451
13465
|
* @param {*} [options] Override http request option.
|
|
13452
13466
|
* @throws {RequiredError}
|
|
13453
13467
|
*/
|
|
13454
|
-
|
|
13455
|
-
return localVarFp.
|
|
13468
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13469
|
+
return localVarFp.getGetAdminNumberPort(id, options).then((request) => request(axios, basePath));
|
|
13456
13470
|
},
|
|
13457
13471
|
/**
|
|
13458
13472
|
*
|
|
@@ -13462,8 +13476,8 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13462
13476
|
* @param {*} [options] Override http request option.
|
|
13463
13477
|
* @throws {RequiredError}
|
|
13464
13478
|
*/
|
|
13465
|
-
|
|
13466
|
-
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));
|
|
13467
13481
|
},
|
|
13468
13482
|
/**
|
|
13469
13483
|
*
|
|
@@ -13550,6 +13564,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13550
13564
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13551
13565
|
* @param {string | null} [comment] Comment
|
|
13552
13566
|
* @param {number} [id2] Number Port ID
|
|
13567
|
+
* @param {string} [customerName] Customer Name
|
|
13553
13568
|
* @param {string} [portDate] Porting Date
|
|
13554
13569
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13555
13570
|
* @param {number} [status] Status
|
|
@@ -13557,8 +13572,8 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13557
13572
|
* @param {*} [options] Override http request option.
|
|
13558
13573
|
* @throws {RequiredError}
|
|
13559
13574
|
*/
|
|
13560
|
-
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO> {
|
|
13561
|
-
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then((request) => request(axios, basePath));
|
|
13575
|
+
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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
|
+
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));
|
|
13562
13577
|
},
|
|
13563
13578
|
};
|
|
13564
13579
|
};
|
|
@@ -13579,24 +13594,24 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13579
13594
|
|
|
13580
13595
|
/**
|
|
13581
13596
|
*
|
|
13582
|
-
* @param {number}
|
|
13597
|
+
* @param {number} [pageSize] Number Of Results
|
|
13598
|
+
* @param {number} [page] Page Number
|
|
13599
|
+
* @param {string} [search] Search
|
|
13583
13600
|
* @param {*} [options] Override http request option.
|
|
13584
13601
|
* @throws {RequiredError}
|
|
13585
13602
|
*/
|
|
13586
|
-
public
|
|
13587
|
-
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));
|
|
13588
13605
|
}
|
|
13589
13606
|
|
|
13590
13607
|
/**
|
|
13591
13608
|
*
|
|
13592
|
-
* @param {number}
|
|
13593
|
-
* @param {number} [page] Page Number
|
|
13594
|
-
* @param {string} [search] Search
|
|
13609
|
+
* @param {number} id Number Port ID
|
|
13595
13610
|
* @param {*} [options] Override http request option.
|
|
13596
13611
|
* @throws {RequiredError}
|
|
13597
13612
|
*/
|
|
13598
|
-
public
|
|
13599
|
-
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));
|
|
13600
13615
|
}
|
|
13601
13616
|
|
|
13602
13617
|
/**
|
|
@@ -13607,8 +13622,8 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13607
13622
|
* @param {*} [options] Override http request option.
|
|
13608
13623
|
* @throws {RequiredError}
|
|
13609
13624
|
*/
|
|
13610
|
-
public
|
|
13611
|
-
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));
|
|
13612
13627
|
}
|
|
13613
13628
|
|
|
13614
13629
|
/**
|
|
@@ -13700,6 +13715,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13700
13715
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13701
13716
|
* @param {string | null} [comment] Comment
|
|
13702
13717
|
* @param {number} [id2] Number Port ID
|
|
13718
|
+
* @param {string} [customerName] Customer Name
|
|
13703
13719
|
* @param {string} [portDate] Porting Date
|
|
13704
13720
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13705
13721
|
* @param {number} [status] Status
|
|
@@ -13707,8 +13723,8 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13707
13723
|
* @param {*} [options] Override http request option.
|
|
13708
13724
|
* @throws {RequiredError}
|
|
13709
13725
|
*/
|
|
13710
|
-
public putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig) {
|
|
13711
|
-
return NumberPortingApiFp(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then((request) => request(this.axios, this.basePath));
|
|
13726
|
+
public putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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
|
+
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));
|
|
13712
13728
|
}
|
|
13713
13729
|
}
|
|
13714
13730
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2405,6 +2405,10 @@ export interface NumberPortDTO {
|
|
|
2405
2405
|
* Number Port ID
|
|
2406
2406
|
*/
|
|
2407
2407
|
'id'?: number;
|
|
2408
|
+
/**
|
|
2409
|
+
* Customer Name
|
|
2410
|
+
*/
|
|
2411
|
+
'customerName'?: string;
|
|
2408
2412
|
/**
|
|
2409
2413
|
* Porting Date
|
|
2410
2414
|
*/
|
|
@@ -2482,6 +2486,10 @@ export interface NumberPortModel {
|
|
|
2482
2486
|
* Ticket ID
|
|
2483
2487
|
*/
|
|
2484
2488
|
'ticketId'?: number | null;
|
|
2489
|
+
/**
|
|
2490
|
+
* Number Port Ranges
|
|
2491
|
+
*/
|
|
2492
|
+
'ranges'?: Array<any>;
|
|
2485
2493
|
/**
|
|
2486
2494
|
* Customer Company Name
|
|
2487
2495
|
*/
|
|
@@ -2548,7 +2556,7 @@ export interface NumberPortsModel {
|
|
|
2548
2556
|
/**
|
|
2549
2557
|
* Results
|
|
2550
2558
|
*/
|
|
2551
|
-
'results'?: Array<
|
|
2559
|
+
'results'?: Array<NumberPortDTO>;
|
|
2552
2560
|
/**
|
|
2553
2561
|
* Page
|
|
2554
2562
|
*/
|
|
@@ -9411,20 +9419,20 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9411
9419
|
deleteGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9412
9420
|
/**
|
|
9413
9421
|
*
|
|
9414
|
-
* @param {number}
|
|
9422
|
+
* @param {number} [pageSize] Number Of Results
|
|
9423
|
+
* @param {number} [page] Page Number
|
|
9424
|
+
* @param {string} [search] Search
|
|
9415
9425
|
* @param {*} [options] Override http request option.
|
|
9416
9426
|
* @throws {RequiredError}
|
|
9417
9427
|
*/
|
|
9418
|
-
|
|
9428
|
+
getCreateNumberPort: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9419
9429
|
/**
|
|
9420
9430
|
*
|
|
9421
|
-
* @param {number}
|
|
9422
|
-
* @param {number} [page] Page Number
|
|
9423
|
-
* @param {string} [search] Search
|
|
9431
|
+
* @param {number} id Number Port ID
|
|
9424
9432
|
* @param {*} [options] Override http request option.
|
|
9425
9433
|
* @throws {RequiredError}
|
|
9426
9434
|
*/
|
|
9427
|
-
|
|
9435
|
+
getGetAdminNumberPort: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9428
9436
|
/**
|
|
9429
9437
|
*
|
|
9430
9438
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9433,7 +9441,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9433
9441
|
* @param {*} [options] Override http request option.
|
|
9434
9442
|
* @throws {RequiredError}
|
|
9435
9443
|
*/
|
|
9436
|
-
|
|
9444
|
+
getGetAdminNumberPorts: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9437
9445
|
/**
|
|
9438
9446
|
*
|
|
9439
9447
|
* @param {number} id Number Port ID
|
|
@@ -9511,6 +9519,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9511
9519
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9512
9520
|
* @param {string | null} [comment] Comment
|
|
9513
9521
|
* @param {number} [id2] Number Port ID
|
|
9522
|
+
* @param {string} [customerName] Customer Name
|
|
9514
9523
|
* @param {string} [portDate] Porting Date
|
|
9515
9524
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9516
9525
|
* @param {number} [status] Status
|
|
@@ -9518,7 +9527,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9518
9527
|
* @param {*} [options] Override http request option.
|
|
9519
9528
|
* @throws {RequiredError}
|
|
9520
9529
|
*/
|
|
9521
|
-
putGetAdminNumberPort: (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9530
|
+
putGetAdminNumberPort: (id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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>;
|
|
9522
9531
|
};
|
|
9523
9532
|
/**
|
|
9524
9533
|
* NumberPortingApi - functional programming interface
|
|
@@ -9533,20 +9542,20 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9533
9542
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9534
9543
|
/**
|
|
9535
9544
|
*
|
|
9536
|
-
* @param {number}
|
|
9545
|
+
* @param {number} [pageSize] Number Of Results
|
|
9546
|
+
* @param {number} [page] Page Number
|
|
9547
|
+
* @param {string} [search] Search
|
|
9537
9548
|
* @param {*} [options] Override http request option.
|
|
9538
9549
|
* @throws {RequiredError}
|
|
9539
9550
|
*/
|
|
9540
|
-
|
|
9551
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9541
9552
|
/**
|
|
9542
9553
|
*
|
|
9543
|
-
* @param {number}
|
|
9544
|
-
* @param {number} [page] Page Number
|
|
9545
|
-
* @param {string} [search] Search
|
|
9554
|
+
* @param {number} id Number Port ID
|
|
9546
9555
|
* @param {*} [options] Override http request option.
|
|
9547
9556
|
* @throws {RequiredError}
|
|
9548
9557
|
*/
|
|
9549
|
-
|
|
9558
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>>;
|
|
9550
9559
|
/**
|
|
9551
9560
|
*
|
|
9552
9561
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9555,7 +9564,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9555
9564
|
* @param {*} [options] Override http request option.
|
|
9556
9565
|
* @throws {RequiredError}
|
|
9557
9566
|
*/
|
|
9558
|
-
|
|
9567
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortsModel>>;
|
|
9559
9568
|
/**
|
|
9560
9569
|
*
|
|
9561
9570
|
* @param {number} id Number Port ID
|
|
@@ -9633,6 +9642,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9633
9642
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9634
9643
|
* @param {string | null} [comment] Comment
|
|
9635
9644
|
* @param {number} [id2] Number Port ID
|
|
9645
|
+
* @param {string} [customerName] Customer Name
|
|
9636
9646
|
* @param {string} [portDate] Porting Date
|
|
9637
9647
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9638
9648
|
* @param {number} [status] Status
|
|
@@ -9640,7 +9650,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9640
9650
|
* @param {*} [options] Override http request option.
|
|
9641
9651
|
* @throws {RequiredError}
|
|
9642
9652
|
*/
|
|
9643
|
-
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NumberPortDTO>>;
|
|
9653
|
+
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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>>;
|
|
9644
9654
|
};
|
|
9645
9655
|
/**
|
|
9646
9656
|
* NumberPortingApi - factory interface
|
|
@@ -9655,20 +9665,20 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9655
9665
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9656
9666
|
/**
|
|
9657
9667
|
*
|
|
9658
|
-
* @param {number}
|
|
9668
|
+
* @param {number} [pageSize] Number Of Results
|
|
9669
|
+
* @param {number} [page] Page Number
|
|
9670
|
+
* @param {string} [search] Search
|
|
9659
9671
|
* @param {*} [options] Override http request option.
|
|
9660
9672
|
* @throws {RequiredError}
|
|
9661
9673
|
*/
|
|
9662
|
-
|
|
9674
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9663
9675
|
/**
|
|
9664
9676
|
*
|
|
9665
|
-
* @param {number}
|
|
9666
|
-
* @param {number} [page] Page Number
|
|
9667
|
-
* @param {string} [search] Search
|
|
9677
|
+
* @param {number} id Number Port ID
|
|
9668
9678
|
* @param {*} [options] Override http request option.
|
|
9669
9679
|
* @throws {RequiredError}
|
|
9670
9680
|
*/
|
|
9671
|
-
|
|
9681
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO>;
|
|
9672
9682
|
/**
|
|
9673
9683
|
*
|
|
9674
9684
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9677,7 +9687,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9677
9687
|
* @param {*} [options] Override http request option.
|
|
9678
9688
|
* @throws {RequiredError}
|
|
9679
9689
|
*/
|
|
9680
|
-
|
|
9690
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortsModel>;
|
|
9681
9691
|
/**
|
|
9682
9692
|
*
|
|
9683
9693
|
* @param {number} id Number Port ID
|
|
@@ -9755,6 +9765,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9755
9765
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9756
9766
|
* @param {string | null} [comment] Comment
|
|
9757
9767
|
* @param {number} [id2] Number Port ID
|
|
9768
|
+
* @param {string} [customerName] Customer Name
|
|
9758
9769
|
* @param {string} [portDate] Porting Date
|
|
9759
9770
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9760
9771
|
* @param {number} [status] Status
|
|
@@ -9762,7 +9773,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9762
9773
|
* @param {*} [options] Override http request option.
|
|
9763
9774
|
* @throws {RequiredError}
|
|
9764
9775
|
*/
|
|
9765
|
-
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<NumberPortDTO>;
|
|
9776
|
+
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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>;
|
|
9766
9777
|
};
|
|
9767
9778
|
/**
|
|
9768
9779
|
* NumberPortingApi - object-oriented interface
|
|
@@ -9777,20 +9788,20 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9777
9788
|
deleteGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
9778
9789
|
/**
|
|
9779
9790
|
*
|
|
9780
|
-
* @param {number}
|
|
9791
|
+
* @param {number} [pageSize] Number Of Results
|
|
9792
|
+
* @param {number} [page] Page Number
|
|
9793
|
+
* @param {string} [search] Search
|
|
9781
9794
|
* @param {*} [options] Override http request option.
|
|
9782
9795
|
* @throws {RequiredError}
|
|
9783
9796
|
*/
|
|
9784
|
-
|
|
9797
|
+
getCreateNumberPort(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9785
9798
|
/**
|
|
9786
9799
|
*
|
|
9787
|
-
* @param {number}
|
|
9788
|
-
* @param {number} [page] Page Number
|
|
9789
|
-
* @param {string} [search] Search
|
|
9800
|
+
* @param {number} id Number Port ID
|
|
9790
9801
|
* @param {*} [options] Override http request option.
|
|
9791
9802
|
* @throws {RequiredError}
|
|
9792
9803
|
*/
|
|
9793
|
-
|
|
9804
|
+
getGetAdminNumberPort(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortDTO, any, {}>>;
|
|
9794
9805
|
/**
|
|
9795
9806
|
*
|
|
9796
9807
|
* @param {number} [pageSize] Number Of Results
|
|
@@ -9799,7 +9810,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9799
9810
|
* @param {*} [options] Override http request option.
|
|
9800
9811
|
* @throws {RequiredError}
|
|
9801
9812
|
*/
|
|
9802
|
-
|
|
9813
|
+
getGetAdminNumberPorts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortsModel, any, {}>>;
|
|
9803
9814
|
/**
|
|
9804
9815
|
*
|
|
9805
9816
|
* @param {number} id Number Port ID
|
|
@@ -9877,6 +9888,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9877
9888
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9878
9889
|
* @param {string | null} [comment] Comment
|
|
9879
9890
|
* @param {number} [id2] Number Port ID
|
|
9891
|
+
* @param {string} [customerName] Customer Name
|
|
9880
9892
|
* @param {string} [portDate] Porting Date
|
|
9881
9893
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9882
9894
|
* @param {number} [status] Status
|
|
@@ -9884,7 +9896,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9884
9896
|
* @param {*} [options] Override http request option.
|
|
9885
9897
|
* @throws {RequiredError}
|
|
9886
9898
|
*/
|
|
9887
|
-
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | null, requestedPortDate?: string | null, asap?: boolean | null, comment?: string | null, id2?: number, portDate?: string, numberRanges?: Array<NumberPortRangeDTO>, status?: number, ticketId?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NumberPortDTO, any, {}>>;
|
|
9899
|
+
putGetAdminNumberPort(id: number, companyName?: string | null, addressLine1?: string | null, addressLine2?: string | null, city?: string | null, postCode?: string | null, trunkId?: number | null, tenantId?: number | 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<import("axios").AxiosResponse<NumberPortDTO, any, {}>>;
|
|
9888
9900
|
}
|
|
9889
9901
|
/**
|
|
9890
9902
|
* OAuth20Api - axios parameter creator
|
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;
|
|
@@ -7778,6 +7778,7 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7778
7778
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
7779
7779
|
* @param {string | null} [comment] Comment
|
|
7780
7780
|
* @param {number} [id2] Number Port ID
|
|
7781
|
+
* @param {string} [customerName] Customer Name
|
|
7781
7782
|
* @param {string} [portDate] Porting Date
|
|
7782
7783
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
7783
7784
|
* @param {number} [status] Status
|
|
@@ -7785,12 +7786,12 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7785
7786
|
* @param {*} [options] Override http request option.
|
|
7786
7787
|
* @throws {RequiredError}
|
|
7787
7788
|
*/
|
|
7788
|
-
putGetAdminNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, portDate_1, numberRanges_1, status_1, ticketId_1) {
|
|
7789
|
+
putGetAdminNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1) {
|
|
7789
7790
|
var args_1 = [];
|
|
7790
|
-
for (var _i =
|
|
7791
|
-
args_1[_i -
|
|
7791
|
+
for (var _i = 17; _i < arguments.length; _i++) {
|
|
7792
|
+
args_1[_i - 17] = arguments[_i];
|
|
7792
7793
|
}
|
|
7793
|
-
return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, portDate_1, numberRanges_1, status_1, ticketId_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
7794
|
+
return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
7794
7795
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
7795
7796
|
if (options === void 0) { options = {}; }
|
|
7796
7797
|
return __generator(this, function (_a) {
|
|
@@ -7839,6 +7840,9 @@ var NumberPortingApiAxiosParamCreator = function (configuration) {
|
|
|
7839
7840
|
if (id2 !== undefined) {
|
|
7840
7841
|
localVarFormParams.append('id', id2);
|
|
7841
7842
|
}
|
|
7843
|
+
if (customerName !== undefined) {
|
|
7844
|
+
localVarFormParams.append('customerName', customerName);
|
|
7845
|
+
}
|
|
7842
7846
|
if (portDate !== undefined) {
|
|
7843
7847
|
localVarFormParams.append('portDate', portDate);
|
|
7844
7848
|
}
|
|
@@ -7896,21 +7900,23 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7896
7900
|
},
|
|
7897
7901
|
/**
|
|
7898
7902
|
*
|
|
7899
|
-
* @param {number}
|
|
7903
|
+
* @param {number} [pageSize] Number Of Results
|
|
7904
|
+
* @param {number} [page] Page Number
|
|
7905
|
+
* @param {string} [search] Search
|
|
7900
7906
|
* @param {*} [options] Override http request option.
|
|
7901
7907
|
* @throws {RequiredError}
|
|
7902
7908
|
*/
|
|
7903
|
-
|
|
7909
|
+
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
7904
7910
|
return __awaiter(this, void 0, void 0, function () {
|
|
7905
7911
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7906
7912
|
var _a, _b, _c;
|
|
7907
7913
|
return __generator(this, function (_d) {
|
|
7908
7914
|
switch (_d.label) {
|
|
7909
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7915
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options)];
|
|
7910
7916
|
case 1:
|
|
7911
7917
|
localVarAxiosArgs = _d.sent();
|
|
7912
7918
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7913
|
-
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;
|
|
7914
7920
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7915
7921
|
}
|
|
7916
7922
|
});
|
|
@@ -7918,23 +7924,21 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7918
7924
|
},
|
|
7919
7925
|
/**
|
|
7920
7926
|
*
|
|
7921
|
-
* @param {number}
|
|
7922
|
-
* @param {number} [page] Page Number
|
|
7923
|
-
* @param {string} [search] Search
|
|
7927
|
+
* @param {number} id Number Port ID
|
|
7924
7928
|
* @param {*} [options] Override http request option.
|
|
7925
7929
|
* @throws {RequiredError}
|
|
7926
7930
|
*/
|
|
7927
|
-
|
|
7931
|
+
getGetAdminNumberPort: function (id, options) {
|
|
7928
7932
|
return __awaiter(this, void 0, void 0, function () {
|
|
7929
7933
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7930
7934
|
var _a, _b, _c;
|
|
7931
7935
|
return __generator(this, function (_d) {
|
|
7932
7936
|
switch (_d.label) {
|
|
7933
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7937
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
|
|
7934
7938
|
case 1:
|
|
7935
7939
|
localVarAxiosArgs = _d.sent();
|
|
7936
7940
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7937
|
-
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;
|
|
7938
7942
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7939
7943
|
}
|
|
7940
7944
|
});
|
|
@@ -7948,17 +7952,17 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
7948
7952
|
* @param {*} [options] Override http request option.
|
|
7949
7953
|
* @throws {RequiredError}
|
|
7950
7954
|
*/
|
|
7951
|
-
|
|
7955
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
7952
7956
|
return __awaiter(this, void 0, void 0, function () {
|
|
7953
7957
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
7954
7958
|
var _a, _b, _c;
|
|
7955
7959
|
return __generator(this, function (_d) {
|
|
7956
7960
|
switch (_d.label) {
|
|
7957
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
7961
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
|
|
7958
7962
|
case 1:
|
|
7959
7963
|
localVarAxiosArgs = _d.sent();
|
|
7960
7964
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7961
|
-
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;
|
|
7962
7966
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
7963
7967
|
}
|
|
7964
7968
|
});
|
|
@@ -8101,6 +8105,7 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
8101
8105
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
8102
8106
|
* @param {string | null} [comment] Comment
|
|
8103
8107
|
* @param {number} [id2] Number Port ID
|
|
8108
|
+
* @param {string} [customerName] Customer Name
|
|
8104
8109
|
* @param {string} [portDate] Porting Date
|
|
8105
8110
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8106
8111
|
* @param {number} [status] Status
|
|
@@ -8108,13 +8113,13 @@ var NumberPortingApiFp = function (configuration) {
|
|
|
8108
8113
|
* @param {*} [options] Override http request option.
|
|
8109
8114
|
* @throws {RequiredError}
|
|
8110
8115
|
*/
|
|
8111
|
-
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
8116
|
+
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
8112
8117
|
return __awaiter(this, void 0, void 0, function () {
|
|
8113
8118
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8114
8119
|
var _a, _b, _c;
|
|
8115
8120
|
return __generator(this, function (_d) {
|
|
8116
8121
|
switch (_d.label) {
|
|
8117
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options)];
|
|
8122
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options)];
|
|
8118
8123
|
case 1:
|
|
8119
8124
|
localVarAxiosArgs = _d.sent();
|
|
8120
8125
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -8144,23 +8149,23 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8144
8149
|
},
|
|
8145
8150
|
/**
|
|
8146
8151
|
*
|
|
8147
|
-
* @param {number}
|
|
8152
|
+
* @param {number} [pageSize] Number Of Results
|
|
8153
|
+
* @param {number} [page] Page Number
|
|
8154
|
+
* @param {string} [search] Search
|
|
8148
8155
|
* @param {*} [options] Override http request option.
|
|
8149
8156
|
* @throws {RequiredError}
|
|
8150
8157
|
*/
|
|
8151
|
-
|
|
8152
|
-
return localVarFp.
|
|
8158
|
+
getCreateNumberPort: function (pageSize, page, search, options) {
|
|
8159
|
+
return localVarFp.getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8153
8160
|
},
|
|
8154
8161
|
/**
|
|
8155
8162
|
*
|
|
8156
|
-
* @param {number}
|
|
8157
|
-
* @param {number} [page] Page Number
|
|
8158
|
-
* @param {string} [search] Search
|
|
8163
|
+
* @param {number} id Number Port ID
|
|
8159
8164
|
* @param {*} [options] Override http request option.
|
|
8160
8165
|
* @throws {RequiredError}
|
|
8161
8166
|
*/
|
|
8162
|
-
|
|
8163
|
-
return localVarFp.
|
|
8167
|
+
getGetAdminNumberPort: function (id, options) {
|
|
8168
|
+
return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
|
|
8164
8169
|
},
|
|
8165
8170
|
/**
|
|
8166
8171
|
*
|
|
@@ -8170,8 +8175,8 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8170
8175
|
* @param {*} [options] Override http request option.
|
|
8171
8176
|
* @throws {RequiredError}
|
|
8172
8177
|
*/
|
|
8173
|
-
|
|
8174
|
-
return localVarFp.
|
|
8178
|
+
getGetAdminNumberPorts: function (pageSize, page, search, options) {
|
|
8179
|
+
return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
|
|
8175
8180
|
},
|
|
8176
8181
|
/**
|
|
8177
8182
|
*
|
|
@@ -8258,6 +8263,7 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8258
8263
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
8259
8264
|
* @param {string | null} [comment] Comment
|
|
8260
8265
|
* @param {number} [id2] Number Port ID
|
|
8266
|
+
* @param {string} [customerName] Customer Name
|
|
8261
8267
|
* @param {string} [portDate] Porting Date
|
|
8262
8268
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8263
8269
|
* @param {number} [status] Status
|
|
@@ -8265,8 +8271,8 @@ var NumberPortingApiFactory = function (configuration, basePath, axios) {
|
|
|
8265
8271
|
* @param {*} [options] Override http request option.
|
|
8266
8272
|
* @throws {RequiredError}
|
|
8267
8273
|
*/
|
|
8268
|
-
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
8269
|
-
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(axios, basePath); });
|
|
8274
|
+
putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
8275
|
+
return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(axios, basePath); });
|
|
8270
8276
|
},
|
|
8271
8277
|
};
|
|
8272
8278
|
};
|
|
@@ -8291,25 +8297,25 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8291
8297
|
};
|
|
8292
8298
|
/**
|
|
8293
8299
|
*
|
|
8294
|
-
* @param {number}
|
|
8300
|
+
* @param {number} [pageSize] Number Of Results
|
|
8301
|
+
* @param {number} [page] Page Number
|
|
8302
|
+
* @param {string} [search] Search
|
|
8295
8303
|
* @param {*} [options] Override http request option.
|
|
8296
8304
|
* @throws {RequiredError}
|
|
8297
8305
|
*/
|
|
8298
|
-
NumberPortingApi.prototype.
|
|
8306
|
+
NumberPortingApi.prototype.getCreateNumberPort = function (pageSize, page, search, options) {
|
|
8299
8307
|
var _this = this;
|
|
8300
|
-
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); });
|
|
8301
8309
|
};
|
|
8302
8310
|
/**
|
|
8303
8311
|
*
|
|
8304
|
-
* @param {number}
|
|
8305
|
-
* @param {number} [page] Page Number
|
|
8306
|
-
* @param {string} [search] Search
|
|
8312
|
+
* @param {number} id Number Port ID
|
|
8307
8313
|
* @param {*} [options] Override http request option.
|
|
8308
8314
|
* @throws {RequiredError}
|
|
8309
8315
|
*/
|
|
8310
|
-
NumberPortingApi.prototype.
|
|
8316
|
+
NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
|
|
8311
8317
|
var _this = this;
|
|
8312
|
-
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); });
|
|
8313
8319
|
};
|
|
8314
8320
|
/**
|
|
8315
8321
|
*
|
|
@@ -8319,9 +8325,9 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8319
8325
|
* @param {*} [options] Override http request option.
|
|
8320
8326
|
* @throws {RequiredError}
|
|
8321
8327
|
*/
|
|
8322
|
-
NumberPortingApi.prototype.
|
|
8328
|
+
NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
|
|
8323
8329
|
var _this = this;
|
|
8324
|
-
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); });
|
|
8325
8331
|
};
|
|
8326
8332
|
/**
|
|
8327
8333
|
*
|
|
@@ -8412,6 +8418,7 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8412
8418
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
8413
8419
|
* @param {string | null} [comment] Comment
|
|
8414
8420
|
* @param {number} [id2] Number Port ID
|
|
8421
|
+
* @param {string} [customerName] Customer Name
|
|
8415
8422
|
* @param {string} [portDate] Porting Date
|
|
8416
8423
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
8417
8424
|
* @param {number} [status] Status
|
|
@@ -8419,9 +8426,9 @@ var NumberPortingApi = /** @class */ (function (_super) {
|
|
|
8419
8426
|
* @param {*} [options] Override http request option.
|
|
8420
8427
|
* @throws {RequiredError}
|
|
8421
8428
|
*/
|
|
8422
|
-
NumberPortingApi.prototype.putGetAdminNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options) {
|
|
8429
|
+
NumberPortingApi.prototype.putGetAdminNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
|
|
8423
8430
|
var _this = this;
|
|
8424
|
-
return (0, exports.NumberPortingApiFp)(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8431
|
+
return (0, exports.NumberPortingApiFp)(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
8425
8432
|
};
|
|
8426
8433
|
return NumberPortingApi;
|
|
8427
8434
|
}(base_1.BaseAPI));
|
package/docs/NumberPortDTO.md
CHANGED
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**asap** | **boolean** | Port Date ASAP | [optional] [default to undefined]
|
|
18
18
|
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
19
19
|
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
20
|
+
**customerName** | **string** | Customer Name | [optional] [default to undefined]
|
|
20
21
|
**portDate** | **string** | Porting Date | [optional] [default to undefined]
|
|
21
22
|
**numberRanges** | [**Array<NumberPortRangeDTO>**](NumberPortRangeDTO.md) | Number Ranges | [optional] [default to undefined]
|
|
22
23
|
**status** | **number** | Status | [optional] [default to undefined]
|
|
@@ -39,6 +40,7 @@ const instance: NumberPortDTO = {
|
|
|
39
40
|
asap,
|
|
40
41
|
comment,
|
|
41
42
|
id,
|
|
43
|
+
customerName,
|
|
42
44
|
portDate,
|
|
43
45
|
numberRanges,
|
|
44
46
|
status,
|
package/docs/NumberPortModel.md
CHANGED
|
@@ -20,6 +20,7 @@ Name | Type | Description | Notes
|
|
|
20
20
|
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
21
21
|
**status** | **number** | Status | [optional] [default to undefined]
|
|
22
22
|
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
23
|
+
**ranges** | **Array<any>** | Number Port Ranges | [optional] [default to undefined]
|
|
23
24
|
**customerName** | **string** | Customer Company Name | [optional] [default to undefined]
|
|
24
25
|
|
|
25
26
|
## Example
|
|
@@ -42,6 +43,7 @@ const instance: NumberPortModel = {
|
|
|
42
43
|
comment,
|
|
43
44
|
status,
|
|
44
45
|
ticketId,
|
|
46
|
+
ranges,
|
|
45
47
|
customerName,
|
|
46
48
|
};
|
|
47
49
|
```
|
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
|
|
@@ -582,6 +582,7 @@ let requestedPortDate: string; //Requested Port Date (optional) (default to unde
|
|
|
582
582
|
let asap: boolean; //Port Date ASAP (optional) (default to undefined)
|
|
583
583
|
let comment: string; //Comment (optional) (default to undefined)
|
|
584
584
|
let id2: number; //Number Port ID (optional) (default to undefined)
|
|
585
|
+
let customerName: string; //Customer Name (optional) (default to undefined)
|
|
585
586
|
let portDate: string; //Porting Date (optional) (default to undefined)
|
|
586
587
|
let numberRanges: Array<NumberPortRangeDTO>; //Number Ranges (optional) (default to undefined)
|
|
587
588
|
let status: number; //Status (optional) (default to undefined)
|
|
@@ -600,6 +601,7 @@ const { status, data } = await apiInstance.putGetAdminNumberPort(
|
|
|
600
601
|
asap,
|
|
601
602
|
comment,
|
|
602
603
|
id2,
|
|
604
|
+
customerName,
|
|
603
605
|
portDate,
|
|
604
606
|
numberRanges,
|
|
605
607
|
status,
|
|
@@ -623,6 +625,7 @@ const { status, data } = await apiInstance.putGetAdminNumberPort(
|
|
|
623
625
|
| **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
|
|
624
626
|
| **comment** | [**string**] | Comment | (optional) defaults to undefined|
|
|
625
627
|
| **id2** | [**number**] | Number Port ID | (optional) defaults to undefined|
|
|
628
|
+
| **customerName** | [**string**] | Customer Name | (optional) defaults to undefined|
|
|
626
629
|
| **portDate** | [**string**] | Porting Date | (optional) defaults to undefined|
|
|
627
630
|
| **numberRanges** | **Array<NumberPortRangeDTO>** | Number Ranges | (optional) defaults to undefined|
|
|
628
631
|
| **status** | [**number**] | Status | (optional) defaults to undefined|
|
package/docs/NumberPortsModel.md
CHANGED
|
@@ -6,7 +6,7 @@ Number Ports
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**results** | [**Array<
|
|
9
|
+
**results** | [**Array<NumberPortDTO>**](NumberPortDTO.md) | Results | [optional] [default to undefined]
|
|
10
10
|
**page** | **number** | Page | [optional] [default to undefined]
|
|
11
11
|
**perPage** | **number** | Per Page | [optional] [default to undefined]
|
|
12
12
|
**totalResults** | **number** | Total Results | [optional] [default to undefined]
|