yellowgrid-api-ts 3.2.69-dev.0 → 3.2.70-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.
@@ -0,0 +1,668 @@
1
+ # NumberPortingApi
2
+
3
+ All URIs are relative to *https://api.yellowgrid.local*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteGetAdminNumberPort**](#deletegetadminnumberport) | **DELETE** /admin/sip/numbers/ports/{id} | |
8
+ |[**getCreateNumberPort**](#getcreatenumberport) | **GET** /sip/numbers/ports | |
9
+ |[**getGetAdminNumberPort**](#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} | |
10
+ |[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports | |
11
+ |[**getUpdateNumberPort**](#getupdatenumberport) | **GET** /sip/numbers/ports/{id} | |
12
+ |[**patchCloseAdminNumberPort**](#patchcloseadminnumberport) | **PATCH** /admin/sip/numbers/ports/{id}/close | |
13
+ |[**postCreateNumberPort**](#postcreatenumberport) | **POST** /sip/numbers/ports | |
14
+ |[**postSubmitNumberPort**](#postsubmitnumberport) | **POST** /sip/numbers/ports/{id}/submit | |
15
+ |[**postUpdateNumberPort**](#postupdatenumberport) | **POST** /sip/numbers/ports/{id} | |
16
+ |[**putGetAdminNumberPort**](#putgetadminnumberport) | **PUT** /admin/sip/numbers/ports/{id} | |
17
+
18
+ # **deleteGetAdminNumberPort**
19
+ > deleteGetAdminNumberPort()
20
+
21
+
22
+ ### Example
23
+
24
+ ```typescript
25
+ import {
26
+ NumberPortingApi,
27
+ Configuration
28
+ } from 'yellowgrid-api-ts';
29
+
30
+ const configuration = new Configuration();
31
+ const apiInstance = new NumberPortingApi(configuration);
32
+
33
+ let id: number; //Number Port ID (default to undefined)
34
+
35
+ const { status, data } = await apiInstance.deleteGetAdminNumberPort(
36
+ id
37
+ );
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ |Name | Type | Description | Notes|
43
+ |------------- | ------------- | ------------- | -------------|
44
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
45
+
46
+
47
+ ### Return type
48
+
49
+ void (empty response body)
50
+
51
+ ### Authorization
52
+
53
+ No authorization required
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: Not defined
59
+
60
+
61
+ ### HTTP response details
62
+ | Status code | Description | Response headers |
63
+ |-------------|-------------|------------------|
64
+ |**204** | No Response | - |
65
+ |**400** | Bad Request | - |
66
+ |**401** | Unauthorised | - |
67
+ |**403** | Access Denied | - |
68
+
69
+ [[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)
70
+
71
+ # **getCreateNumberPort**
72
+ > NumberPortsModel getCreateNumberPort()
73
+
74
+
75
+ ### Example
76
+
77
+ ```typescript
78
+ import {
79
+ NumberPortingApi,
80
+ Configuration
81
+ } from 'yellowgrid-api-ts';
82
+
83
+ const configuration = new Configuration();
84
+ const apiInstance = new NumberPortingApi(configuration);
85
+
86
+ let pageSize: number; //Number Of Results (optional) (default to 20)
87
+ let page: number; //Page Number (optional) (default to 1)
88
+ let search: string; //Search (optional) (default to undefined)
89
+
90
+ const { status, data } = await apiInstance.getCreateNumberPort(
91
+ pageSize,
92
+ page,
93
+ search
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
102
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
103
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ **NumberPortsModel**
109
+
110
+ ### Authorization
111
+
112
+ No authorization required
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: Not defined
117
+ - **Accept**: application/json
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**200** | Number Ports | - |
124
+ |**400** | Bad Request | - |
125
+ |**401** | Unauthorised | - |
126
+ |**403** | Access Denied | - |
127
+
128
+ [[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)
129
+
130
+ # **getGetAdminNumberPort**
131
+ > NumberPortDTO getGetAdminNumberPort()
132
+
133
+
134
+ ### Example
135
+
136
+ ```typescript
137
+ import {
138
+ NumberPortingApi,
139
+ Configuration
140
+ } from 'yellowgrid-api-ts';
141
+
142
+ const configuration = new Configuration();
143
+ const apiInstance = new NumberPortingApi(configuration);
144
+
145
+ let id: number; //Number Port ID (default to undefined)
146
+
147
+ const { status, data } = await apiInstance.getGetAdminNumberPort(
148
+ id
149
+ );
150
+ ```
151
+
152
+ ### Parameters
153
+
154
+ |Name | Type | Description | Notes|
155
+ |------------- | ------------- | ------------- | -------------|
156
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
157
+
158
+
159
+ ### Return type
160
+
161
+ **NumberPortDTO**
162
+
163
+ ### Authorization
164
+
165
+ No authorization required
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: application/json
171
+
172
+
173
+ ### HTTP response details
174
+ | Status code | Description | Response headers |
175
+ |-------------|-------------|------------------|
176
+ |**200** | NumberPortDTO | - |
177
+ |**400** | Bad Request | - |
178
+ |**401** | Unauthorised | - |
179
+ |**403** | Access Denied | - |
180
+
181
+ [[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)
182
+
183
+ # **getGetAdminNumberPorts**
184
+ > NumberPortsModel getGetAdminNumberPorts()
185
+
186
+
187
+ ### Example
188
+
189
+ ```typescript
190
+ import {
191
+ NumberPortingApi,
192
+ Configuration
193
+ } from 'yellowgrid-api-ts';
194
+
195
+ const configuration = new Configuration();
196
+ const apiInstance = new NumberPortingApi(configuration);
197
+
198
+ let pageSize: number; //Number Of Results (optional) (default to 20)
199
+ let page: number; //Page Number (optional) (default to 1)
200
+ let search: string; //Search (optional) (default to undefined)
201
+
202
+ const { status, data } = await apiInstance.getGetAdminNumberPorts(
203
+ pageSize,
204
+ page,
205
+ search
206
+ );
207
+ ```
208
+
209
+ ### Parameters
210
+
211
+ |Name | Type | Description | Notes|
212
+ |------------- | ------------- | ------------- | -------------|
213
+ | **pageSize** | [**number**] | Number Of Results | (optional) defaults to 20|
214
+ | **page** | [**number**] | Page Number | (optional) defaults to 1|
215
+ | **search** | [**string**] | Search | (optional) defaults to undefined|
216
+
217
+
218
+ ### Return type
219
+
220
+ **NumberPortsModel**
221
+
222
+ ### Authorization
223
+
224
+ No authorization required
225
+
226
+ ### HTTP request headers
227
+
228
+ - **Content-Type**: Not defined
229
+ - **Accept**: application/json
230
+
231
+
232
+ ### HTTP response details
233
+ | Status code | Description | Response headers |
234
+ |-------------|-------------|------------------|
235
+ |**200** | Number Ports | - |
236
+ |**400** | Bad Request | - |
237
+ |**401** | Unauthorised | - |
238
+ |**403** | Access Denied | - |
239
+
240
+ [[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)
241
+
242
+ # **getUpdateNumberPort**
243
+ > NumberPortDTO getUpdateNumberPort()
244
+
245
+
246
+ ### Example
247
+
248
+ ```typescript
249
+ import {
250
+ NumberPortingApi,
251
+ Configuration
252
+ } from 'yellowgrid-api-ts';
253
+
254
+ const configuration = new Configuration();
255
+ const apiInstance = new NumberPortingApi(configuration);
256
+
257
+ let id: number; //Number Port ID (default to undefined)
258
+
259
+ const { status, data } = await apiInstance.getUpdateNumberPort(
260
+ id
261
+ );
262
+ ```
263
+
264
+ ### Parameters
265
+
266
+ |Name | Type | Description | Notes|
267
+ |------------- | ------------- | ------------- | -------------|
268
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
269
+
270
+
271
+ ### Return type
272
+
273
+ **NumberPortDTO**
274
+
275
+ ### Authorization
276
+
277
+ No authorization required
278
+
279
+ ### HTTP request headers
280
+
281
+ - **Content-Type**: Not defined
282
+ - **Accept**: application/json
283
+
284
+
285
+ ### HTTP response details
286
+ | Status code | Description | Response headers |
287
+ |-------------|-------------|------------------|
288
+ |**200** | NumberPortResponseDTO | - |
289
+ |**400** | Bad Request | - |
290
+ |**401** | Unauthorised | - |
291
+ |**403** | Access Denied | - |
292
+
293
+ [[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)
294
+
295
+ # **patchCloseAdminNumberPort**
296
+ > NumberPortDTO patchCloseAdminNumberPort()
297
+
298
+
299
+ ### Example
300
+
301
+ ```typescript
302
+ import {
303
+ NumberPortingApi,
304
+ Configuration
305
+ } from 'yellowgrid-api-ts';
306
+
307
+ const configuration = new Configuration();
308
+ const apiInstance = new NumberPortingApi(configuration);
309
+
310
+ let id: number; //Number Port ID (default to undefined)
311
+
312
+ const { status, data } = await apiInstance.patchCloseAdminNumberPort(
313
+ id
314
+ );
315
+ ```
316
+
317
+ ### Parameters
318
+
319
+ |Name | Type | Description | Notes|
320
+ |------------- | ------------- | ------------- | -------------|
321
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
322
+
323
+
324
+ ### Return type
325
+
326
+ **NumberPortDTO**
327
+
328
+ ### Authorization
329
+
330
+ No authorization required
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: Not defined
335
+ - **Accept**: application/json
336
+
337
+
338
+ ### HTTP response details
339
+ | Status code | Description | Response headers |
340
+ |-------------|-------------|------------------|
341
+ |**200** | NumberPortResponseDTO | - |
342
+ |**400** | Bad Request | - |
343
+ |**401** | Unauthorised | - |
344
+ |**403** | Access Denied | - |
345
+
346
+ [[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)
347
+
348
+ # **postCreateNumberPort**
349
+ > NumberPortDTO postCreateNumberPort()
350
+
351
+
352
+ ### Example
353
+
354
+ ```typescript
355
+ import {
356
+ NumberPortingApi,
357
+ Configuration
358
+ } from 'yellowgrid-api-ts';
359
+
360
+ const configuration = new Configuration();
361
+ const apiInstance = new NumberPortingApi(configuration);
362
+
363
+ let companyName: string; //Company Name (optional) (default to undefined)
364
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
365
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
366
+ let city: string; //City (optional) (default to undefined)
367
+ let postCode: string; //Post Code (optional) (default to undefined)
368
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
369
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
370
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
371
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
372
+ let comment: string; //Comment (optional) (default to undefined)
373
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
374
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
375
+
376
+ const { status, data } = await apiInstance.postCreateNumberPort(
377
+ companyName,
378
+ addressLine1,
379
+ addressLine2,
380
+ city,
381
+ postCode,
382
+ trunkId,
383
+ tenantId,
384
+ requestedPortDate,
385
+ asap,
386
+ comment,
387
+ numberRanges,
388
+ cloa
389
+ );
390
+ ```
391
+
392
+ ### Parameters
393
+
394
+ |Name | Type | Description | Notes|
395
+ |------------- | ------------- | ------------- | -------------|
396
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
397
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
398
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
399
+ | **city** | [**string**] | City | (optional) defaults to undefined|
400
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
401
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
402
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
403
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
404
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
405
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
406
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
407
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
408
+
409
+
410
+ ### Return type
411
+
412
+ **NumberPortDTO**
413
+
414
+ ### Authorization
415
+
416
+ No authorization required
417
+
418
+ ### HTTP request headers
419
+
420
+ - **Content-Type**: multipart/form-data
421
+ - **Accept**: application/json
422
+
423
+
424
+ ### HTTP response details
425
+ | Status code | Description | Response headers |
426
+ |-------------|-------------|------------------|
427
+ |**200** | NumberPortResponseDTO | - |
428
+ |**400** | Bad Request | - |
429
+ |**401** | Unauthorised | - |
430
+ |**403** | Access Denied | - |
431
+
432
+ [[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)
433
+
434
+ # **postSubmitNumberPort**
435
+ > NumberPortDTO postSubmitNumberPort()
436
+
437
+
438
+ ### Example
439
+
440
+ ```typescript
441
+ import {
442
+ NumberPortingApi,
443
+ Configuration
444
+ } from 'yellowgrid-api-ts';
445
+
446
+ const configuration = new Configuration();
447
+ const apiInstance = new NumberPortingApi(configuration);
448
+
449
+ let id: number; //Number Port ID (default to undefined)
450
+ let companyName: string; //Company Name (optional) (default to undefined)
451
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
452
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
453
+ let city: string; //City (optional) (default to undefined)
454
+ let postCode: string; //Post Code (optional) (default to undefined)
455
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
456
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
457
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
458
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
459
+ let comment: string; //Comment (optional) (default to undefined)
460
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
461
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
462
+
463
+ const { status, data } = await apiInstance.postSubmitNumberPort(
464
+ id,
465
+ companyName,
466
+ addressLine1,
467
+ addressLine2,
468
+ city,
469
+ postCode,
470
+ trunkId,
471
+ tenantId,
472
+ requestedPortDate,
473
+ asap,
474
+ comment,
475
+ numberRanges,
476
+ cloa
477
+ );
478
+ ```
479
+
480
+ ### Parameters
481
+
482
+ |Name | Type | Description | Notes|
483
+ |------------- | ------------- | ------------- | -------------|
484
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
485
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
486
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
487
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
488
+ | **city** | [**string**] | City | (optional) defaults to undefined|
489
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
490
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
491
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
492
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
493
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
494
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
495
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
496
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
497
+
498
+
499
+ ### Return type
500
+
501
+ **NumberPortDTO**
502
+
503
+ ### Authorization
504
+
505
+ No authorization required
506
+
507
+ ### HTTP request headers
508
+
509
+ - **Content-Type**: multipart/form-data
510
+ - **Accept**: application/json
511
+
512
+
513
+ ### HTTP response details
514
+ | Status code | Description | Response headers |
515
+ |-------------|-------------|------------------|
516
+ |**200** | NumberPortResponseDTO | - |
517
+ |**400** | Bad Request | - |
518
+ |**401** | Unauthorised | - |
519
+ |**403** | Access Denied | - |
520
+
521
+ [[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)
522
+
523
+ # **postUpdateNumberPort**
524
+ > NumberPortDTO postUpdateNumberPort()
525
+
526
+
527
+ ### Example
528
+
529
+ ```typescript
530
+ import {
531
+ NumberPortingApi,
532
+ Configuration
533
+ } from 'yellowgrid-api-ts';
534
+
535
+ const configuration = new Configuration();
536
+ const apiInstance = new NumberPortingApi(configuration);
537
+
538
+ let id: number; //Number Port ID (default to undefined)
539
+ let companyName: string; //Company Name (optional) (default to undefined)
540
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
541
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
542
+ let city: string; //City (optional) (default to undefined)
543
+ let postCode: string; //Post Code (optional) (default to undefined)
544
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
545
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
546
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
547
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
548
+ let comment: string; //Comment (optional) (default to undefined)
549
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
550
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
551
+
552
+ const { status, data } = await apiInstance.postUpdateNumberPort(
553
+ id,
554
+ companyName,
555
+ addressLine1,
556
+ addressLine2,
557
+ city,
558
+ postCode,
559
+ trunkId,
560
+ tenantId,
561
+ requestedPortDate,
562
+ asap,
563
+ comment,
564
+ numberRanges,
565
+ cloa
566
+ );
567
+ ```
568
+
569
+ ### Parameters
570
+
571
+ |Name | Type | Description | Notes|
572
+ |------------- | ------------- | ------------- | -------------|
573
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
574
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
575
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
576
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
577
+ | **city** | [**string**] | City | (optional) defaults to undefined|
578
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
579
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
580
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
581
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
582
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
583
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
584
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
585
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
586
+
587
+
588
+ ### Return type
589
+
590
+ **NumberPortDTO**
591
+
592
+ ### Authorization
593
+
594
+ No authorization required
595
+
596
+ ### HTTP request headers
597
+
598
+ - **Content-Type**: multipart/form-data
599
+ - **Accept**: application/json
600
+
601
+
602
+ ### HTTP response details
603
+ | Status code | Description | Response headers |
604
+ |-------------|-------------|------------------|
605
+ |**200** | NumberPortResponseDTO | - |
606
+ |**400** | Bad Request | - |
607
+ |**401** | Unauthorised | - |
608
+ |**403** | Access Denied | - |
609
+
610
+ [[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)
611
+
612
+ # **putGetAdminNumberPort**
613
+ > NumberPortDTO putGetAdminNumberPort(numberPortDTO)
614
+
615
+
616
+ ### Example
617
+
618
+ ```typescript
619
+ import {
620
+ NumberPortingApi,
621
+ Configuration,
622
+ NumberPortDTO
623
+ } from 'yellowgrid-api-ts';
624
+
625
+ const configuration = new Configuration();
626
+ const apiInstance = new NumberPortingApi(configuration);
627
+
628
+ let id: number; //Number Port ID (default to undefined)
629
+ let numberPortDTO: NumberPortDTO; //
630
+
631
+ const { status, data } = await apiInstance.putGetAdminNumberPort(
632
+ id,
633
+ numberPortDTO
634
+ );
635
+ ```
636
+
637
+ ### Parameters
638
+
639
+ |Name | Type | Description | Notes|
640
+ |------------- | ------------- | ------------- | -------------|
641
+ | **numberPortDTO** | **NumberPortDTO**| | |
642
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
643
+
644
+
645
+ ### Return type
646
+
647
+ **NumberPortDTO**
648
+
649
+ ### Authorization
650
+
651
+ No authorization required
652
+
653
+ ### HTTP request headers
654
+
655
+ - **Content-Type**: application/json
656
+ - **Accept**: application/json
657
+
658
+
659
+ ### HTTP response details
660
+ | Status code | Description | Response headers |
661
+ |-------------|-------------|------------------|
662
+ |**200** | NumberPortResponseDTO | - |
663
+ |**400** | Bad Request | - |
664
+ |**401** | Unauthorised | - |
665
+ |**403** | Access Denied | - |
666
+
667
+ [[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)
668
+
@@ -0,0 +1,27 @@
1
+ # NumberPortsModel
2
+
3
+ Number Ports
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **results** | [**Array&lt;NumberPortDTO&gt;**](NumberPortDTO.md) | Results | [optional] [default to undefined]
10
+ **page** | **number** | Page | [optional] [default to undefined]
11
+ **perPage** | **number** | Per Page | [optional] [default to undefined]
12
+ **totalResults** | **number** | Total Results | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { NumberPortsModel } from 'yellowgrid-api-ts';
18
+
19
+ const instance: NumberPortsModel = {
20
+ results,
21
+ page,
22
+ perPage,
23
+ totalResults,
24
+ };
25
+ ```
26
+
27
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)