yellowgrid-api-ts 3.2.3-dev.0 → 3.2.5-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/.openapi-generator/FILES +1 -1
- package/README.md +1 -1
- package/api.ts +32 -12
- package/dist/api.d.ts +25 -9
- package/dist/api.js +17 -10
- package/docs/NumberPortDTO.md +2 -0
- package/docs/NumberPortModel.md +51 -0
- package/docs/NumberPortingApi.md +3 -0
- package/docs/NumberPortsModel.md +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -87,7 +87,7 @@ docs/MultiTenantChangeResponseModel.md
|
|
|
87
87
|
docs/MyPBXToolsApi.md
|
|
88
88
|
docs/NavigationModel.md
|
|
89
89
|
docs/NumberPortDTO.md
|
|
90
|
-
docs/
|
|
90
|
+
docs/NumberPortModel.md
|
|
91
91
|
docs/NumberPortRangeDTO.md
|
|
92
92
|
docs/NumberPortRangeRequestDTO.md
|
|
93
93
|
docs/NumberPortingApi.md
|
package/README.md
CHANGED
|
@@ -306,7 +306,7 @@ Class | Method | HTTP request | Description
|
|
|
306
306
|
- [MultiTenantChangeResponseModel](docs/MultiTenantChangeResponseModel.md)
|
|
307
307
|
- [NavigationModel](docs/NavigationModel.md)
|
|
308
308
|
- [NumberPortDTO](docs/NumberPortDTO.md)
|
|
309
|
-
- [
|
|
309
|
+
- [NumberPortModel](docs/NumberPortModel.md)
|
|
310
310
|
- [NumberPortRangeDTO](docs/NumberPortRangeDTO.md)
|
|
311
311
|
- [NumberPortRangeRequestDTO](docs/NumberPortRangeRequestDTO.md)
|
|
312
312
|
- [NumberPortsModel](docs/NumberPortsModel.md)
|
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
|
*/
|
|
@@ -2451,9 +2455,9 @@ export interface NumberPortDTO {
|
|
|
2451
2455
|
'ticketId'?: number | null;
|
|
2452
2456
|
}
|
|
2453
2457
|
/**
|
|
2454
|
-
*
|
|
2458
|
+
* Number Port Model
|
|
2455
2459
|
*/
|
|
2456
|
-
export interface
|
|
2460
|
+
export interface NumberPortModel {
|
|
2457
2461
|
/**
|
|
2458
2462
|
* Number Port ID
|
|
2459
2463
|
*/
|
|
@@ -2485,7 +2489,7 @@ export interface NumberPortEntity {
|
|
|
2485
2489
|
/**
|
|
2486
2490
|
* Trunk ID
|
|
2487
2491
|
*/
|
|
2488
|
-
'trunkId'?:
|
|
2492
|
+
'trunkId'?: number | null;
|
|
2489
2493
|
/**
|
|
2490
2494
|
* Tenant ID
|
|
2491
2495
|
*/
|
|
@@ -2510,6 +2514,14 @@ export interface NumberPortEntity {
|
|
|
2510
2514
|
* Ticket ID
|
|
2511
2515
|
*/
|
|
2512
2516
|
'ticketId'?: number | null;
|
|
2517
|
+
/**
|
|
2518
|
+
* Number Port Ranges
|
|
2519
|
+
*/
|
|
2520
|
+
'ranges'?: Array<any>;
|
|
2521
|
+
/**
|
|
2522
|
+
* Customer Company Name
|
|
2523
|
+
*/
|
|
2524
|
+
'customerName'?: string;
|
|
2513
2525
|
}
|
|
2514
2526
|
/**
|
|
2515
2527
|
* Number Port Range Response
|
|
@@ -2566,13 +2578,13 @@ export interface NumberPortRangeRequestDTO {
|
|
|
2566
2578
|
'postCode'?: string | null;
|
|
2567
2579
|
}
|
|
2568
2580
|
/**
|
|
2569
|
-
*
|
|
2581
|
+
* Number Ports
|
|
2570
2582
|
*/
|
|
2571
2583
|
export interface NumberPortsModel {
|
|
2572
2584
|
/**
|
|
2573
2585
|
* Results
|
|
2574
2586
|
*/
|
|
2575
|
-
'results'?: Array<
|
|
2587
|
+
'results'?: Array<NumberPortDTO>;
|
|
2576
2588
|
/**
|
|
2577
2589
|
* Page
|
|
2578
2590
|
*/
|
|
@@ -13143,6 +13155,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13143
13155
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13144
13156
|
* @param {string | null} [comment] Comment
|
|
13145
13157
|
* @param {number} [id2] Number Port ID
|
|
13158
|
+
* @param {string} [customerName] Customer Name
|
|
13146
13159
|
* @param {string} [portDate] Porting Date
|
|
13147
13160
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13148
13161
|
* @param {number} [status] Status
|
|
@@ -13150,7 +13163,7 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13150
13163
|
* @param {*} [options] Override http request option.
|
|
13151
13164
|
* @throws {RequiredError}
|
|
13152
13165
|
*/
|
|
13153
|
-
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> => {
|
|
13154
13167
|
// verify required parameter 'id' is not null or undefined
|
|
13155
13168
|
assertParamExists('putGetAdminNumberPort', 'id', id)
|
|
13156
13169
|
const localVarPath = `/admin/sip/numbers/ports/{id}`
|
|
@@ -13212,6 +13225,10 @@ export const NumberPortingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
13212
13225
|
localVarFormParams.append('id', id2 as any);
|
|
13213
13226
|
}
|
|
13214
13227
|
|
|
13228
|
+
if (customerName !== undefined) {
|
|
13229
|
+
localVarFormParams.append('customerName', customerName as any);
|
|
13230
|
+
}
|
|
13231
|
+
|
|
13215
13232
|
if (portDate !== undefined) {
|
|
13216
13233
|
localVarFormParams.append('portDate', portDate as any);
|
|
13217
13234
|
}
|
|
@@ -13399,6 +13416,7 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13399
13416
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13400
13417
|
* @param {string | null} [comment] Comment
|
|
13401
13418
|
* @param {number} [id2] Number Port ID
|
|
13419
|
+
* @param {string} [customerName] Customer Name
|
|
13402
13420
|
* @param {string} [portDate] Porting Date
|
|
13403
13421
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13404
13422
|
* @param {number} [status] Status
|
|
@@ -13406,8 +13424,8 @@ export const NumberPortingApiFp = function(configuration?: Configuration) {
|
|
|
13406
13424
|
* @param {*} [options] Override http request option.
|
|
13407
13425
|
* @throws {RequiredError}
|
|
13408
13426
|
*/
|
|
13409
|
-
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>> {
|
|
13410
|
-
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);
|
|
13411
13429
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13412
13430
|
const localVarOperationServerBasePath = operationServerMap['NumberPortingApi.putGetAdminNumberPort']?.[localVarOperationServerIndex]?.url;
|
|
13413
13431
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13546,6 +13564,7 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13546
13564
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13547
13565
|
* @param {string | null} [comment] Comment
|
|
13548
13566
|
* @param {number} [id2] Number Port ID
|
|
13567
|
+
* @param {string} [customerName] Customer Name
|
|
13549
13568
|
* @param {string} [portDate] Porting Date
|
|
13550
13569
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13551
13570
|
* @param {number} [status] Status
|
|
@@ -13553,8 +13572,8 @@ export const NumberPortingApiFactory = function (configuration?: Configuration,
|
|
|
13553
13572
|
* @param {*} [options] Override http request option.
|
|
13554
13573
|
* @throws {RequiredError}
|
|
13555
13574
|
*/
|
|
13556
|
-
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> {
|
|
13557
|
-
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));
|
|
13558
13577
|
},
|
|
13559
13578
|
};
|
|
13560
13579
|
};
|
|
@@ -13696,6 +13715,7 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13696
13715
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
13697
13716
|
* @param {string | null} [comment] Comment
|
|
13698
13717
|
* @param {number} [id2] Number Port ID
|
|
13718
|
+
* @param {string} [customerName] Customer Name
|
|
13699
13719
|
* @param {string} [portDate] Porting Date
|
|
13700
13720
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
13701
13721
|
* @param {number} [status] Status
|
|
@@ -13703,8 +13723,8 @@ export class NumberPortingApi extends BaseAPI {
|
|
|
13703
13723
|
* @param {*} [options] Override http request option.
|
|
13704
13724
|
* @throws {RequiredError}
|
|
13705
13725
|
*/
|
|
13706
|
-
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) {
|
|
13707
|
-
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));
|
|
13708
13728
|
}
|
|
13709
13729
|
}
|
|
13710
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
|
*/
|
|
@@ -2423,9 +2427,9 @@ export interface NumberPortDTO {
|
|
|
2423
2427
|
'ticketId'?: number | null;
|
|
2424
2428
|
}
|
|
2425
2429
|
/**
|
|
2426
|
-
*
|
|
2430
|
+
* Number Port Model
|
|
2427
2431
|
*/
|
|
2428
|
-
export interface
|
|
2432
|
+
export interface NumberPortModel {
|
|
2429
2433
|
/**
|
|
2430
2434
|
* Number Port ID
|
|
2431
2435
|
*/
|
|
@@ -2457,7 +2461,7 @@ export interface NumberPortEntity {
|
|
|
2457
2461
|
/**
|
|
2458
2462
|
* Trunk ID
|
|
2459
2463
|
*/
|
|
2460
|
-
'trunkId'?:
|
|
2464
|
+
'trunkId'?: number | null;
|
|
2461
2465
|
/**
|
|
2462
2466
|
* Tenant ID
|
|
2463
2467
|
*/
|
|
@@ -2482,6 +2486,14 @@ export interface NumberPortEntity {
|
|
|
2482
2486
|
* Ticket ID
|
|
2483
2487
|
*/
|
|
2484
2488
|
'ticketId'?: number | null;
|
|
2489
|
+
/**
|
|
2490
|
+
* Number Port Ranges
|
|
2491
|
+
*/
|
|
2492
|
+
'ranges'?: Array<any>;
|
|
2493
|
+
/**
|
|
2494
|
+
* Customer Company Name
|
|
2495
|
+
*/
|
|
2496
|
+
'customerName'?: string;
|
|
2485
2497
|
}
|
|
2486
2498
|
/**
|
|
2487
2499
|
* Number Port Range Response
|
|
@@ -2538,13 +2550,13 @@ export interface NumberPortRangeRequestDTO {
|
|
|
2538
2550
|
'postCode'?: string | null;
|
|
2539
2551
|
}
|
|
2540
2552
|
/**
|
|
2541
|
-
*
|
|
2553
|
+
* Number Ports
|
|
2542
2554
|
*/
|
|
2543
2555
|
export interface NumberPortsModel {
|
|
2544
2556
|
/**
|
|
2545
2557
|
* Results
|
|
2546
2558
|
*/
|
|
2547
|
-
'results'?: Array<
|
|
2559
|
+
'results'?: Array<NumberPortDTO>;
|
|
2548
2560
|
/**
|
|
2549
2561
|
* Page
|
|
2550
2562
|
*/
|
|
@@ -9507,6 +9519,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9507
9519
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9508
9520
|
* @param {string | null} [comment] Comment
|
|
9509
9521
|
* @param {number} [id2] Number Port ID
|
|
9522
|
+
* @param {string} [customerName] Customer Name
|
|
9510
9523
|
* @param {string} [portDate] Porting Date
|
|
9511
9524
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9512
9525
|
* @param {number} [status] Status
|
|
@@ -9514,7 +9527,7 @@ export declare const NumberPortingApiAxiosParamCreator: (configuration?: Configu
|
|
|
9514
9527
|
* @param {*} [options] Override http request option.
|
|
9515
9528
|
* @throws {RequiredError}
|
|
9516
9529
|
*/
|
|
9517
|
-
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>;
|
|
9518
9531
|
};
|
|
9519
9532
|
/**
|
|
9520
9533
|
* NumberPortingApi - functional programming interface
|
|
@@ -9629,6 +9642,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9629
9642
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9630
9643
|
* @param {string | null} [comment] Comment
|
|
9631
9644
|
* @param {number} [id2] Number Port ID
|
|
9645
|
+
* @param {string} [customerName] Customer Name
|
|
9632
9646
|
* @param {string} [portDate] Porting Date
|
|
9633
9647
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9634
9648
|
* @param {number} [status] Status
|
|
@@ -9636,7 +9650,7 @@ export declare const NumberPortingApiFp: (configuration?: Configuration) => {
|
|
|
9636
9650
|
* @param {*} [options] Override http request option.
|
|
9637
9651
|
* @throws {RequiredError}
|
|
9638
9652
|
*/
|
|
9639
|
-
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>>;
|
|
9640
9654
|
};
|
|
9641
9655
|
/**
|
|
9642
9656
|
* NumberPortingApi - factory interface
|
|
@@ -9751,6 +9765,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9751
9765
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9752
9766
|
* @param {string | null} [comment] Comment
|
|
9753
9767
|
* @param {number} [id2] Number Port ID
|
|
9768
|
+
* @param {string} [customerName] Customer Name
|
|
9754
9769
|
* @param {string} [portDate] Porting Date
|
|
9755
9770
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9756
9771
|
* @param {number} [status] Status
|
|
@@ -9758,7 +9773,7 @@ export declare const NumberPortingApiFactory: (configuration?: Configuration, ba
|
|
|
9758
9773
|
* @param {*} [options] Override http request option.
|
|
9759
9774
|
* @throws {RequiredError}
|
|
9760
9775
|
*/
|
|
9761
|
-
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>;
|
|
9762
9777
|
};
|
|
9763
9778
|
/**
|
|
9764
9779
|
* NumberPortingApi - object-oriented interface
|
|
@@ -9873,6 +9888,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9873
9888
|
* @param {boolean | null} [asap] Port Date ASAP
|
|
9874
9889
|
* @param {string | null} [comment] Comment
|
|
9875
9890
|
* @param {number} [id2] Number Port ID
|
|
9891
|
+
* @param {string} [customerName] Customer Name
|
|
9876
9892
|
* @param {string} [portDate] Porting Date
|
|
9877
9893
|
* @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
|
|
9878
9894
|
* @param {number} [status] Status
|
|
@@ -9880,7 +9896,7 @@ export declare class NumberPortingApi extends BaseAPI {
|
|
|
9880
9896
|
* @param {*} [options] Override http request option.
|
|
9881
9897
|
* @throws {RequiredError}
|
|
9882
9898
|
*/
|
|
9883
|
-
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, {}>>;
|
|
9884
9900
|
}
|
|
9885
9901
|
/**
|
|
9886
9902
|
* OAuth20Api - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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
|
};
|
|
@@ -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,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# NumberPortModel
|
|
2
|
+
|
|
3
|
+
Number Port Model
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | Number Port ID | [optional] [default to undefined]
|
|
10
|
+
**customerId** | **number** | Customer ID | [optional] [default to undefined]
|
|
11
|
+
**endUser** | **string** | End User | [optional] [default to undefined]
|
|
12
|
+
**addressLine1** | **string** | Address Line 1 | [optional] [default to undefined]
|
|
13
|
+
**addressLine2** | **string** | Address Line 2 | [optional] [default to undefined]
|
|
14
|
+
**city** | **string** | City | [optional] [default to undefined]
|
|
15
|
+
**postCode** | **string** | Post Code | [optional] [default to undefined]
|
|
16
|
+
**trunkId** | **number** | Trunk ID | [optional] [default to undefined]
|
|
17
|
+
**tenantId** | **string** | Tenant ID | [optional] [default to undefined]
|
|
18
|
+
**requestedPortDate** | **string** | Requested Port Date | [optional] [default to undefined]
|
|
19
|
+
**portDate** | **string** | Port Date | [optional] [default to undefined]
|
|
20
|
+
**comment** | **string** | Comment | [optional] [default to undefined]
|
|
21
|
+
**status** | **number** | Status | [optional] [default to undefined]
|
|
22
|
+
**ticketId** | **number** | Ticket ID | [optional] [default to undefined]
|
|
23
|
+
**ranges** | **Array<any>** | Number Port Ranges | [optional] [default to undefined]
|
|
24
|
+
**customerName** | **string** | Customer Company Name | [optional] [default to undefined]
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import { NumberPortModel } from 'yellowgrid-api-ts';
|
|
30
|
+
|
|
31
|
+
const instance: NumberPortModel = {
|
|
32
|
+
id,
|
|
33
|
+
customerId,
|
|
34
|
+
endUser,
|
|
35
|
+
addressLine1,
|
|
36
|
+
addressLine2,
|
|
37
|
+
city,
|
|
38
|
+
postCode,
|
|
39
|
+
trunkId,
|
|
40
|
+
tenantId,
|
|
41
|
+
requestedPortDate,
|
|
42
|
+
portDate,
|
|
43
|
+
comment,
|
|
44
|
+
status,
|
|
45
|
+
ticketId,
|
|
46
|
+
ranges,
|
|
47
|
+
customerName,
|
|
48
|
+
};
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/NumberPortingApi.md
CHANGED
|
@@ -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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# NumberPortsModel
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Number Ports
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
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]
|