yellowgrid-api-ts 3.2.64-dev.0 → 3.2.64

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