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

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 (90) hide show
  1. package/.openapi-generator/FILES +239 -251
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +29 -38
  4. package/api.ts +2072 -6584
  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 +1092 -5614
  10. package/dist/api.js +2014 -2176
  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 +726 -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/{PostAddOrderNoteRequest.md → PostAddAdminNoteRequest.md} +4 -4
  41. package/docs/PricingApi.md +1 -1
  42. package/docs/ProductsApi.md +1 -1
  43. package/docs/ProvisioningApi.md +1 -1
  44. package/docs/SIPTrunksApi.md +56 -1
  45. package/docs/SMSApi.md +57 -1
  46. package/docs/ServicesApi.md +1 -1
  47. package/docs/ShippingApi.md +1 -1
  48. package/docs/SmsAccountDTO.md +31 -0
  49. package/docs/SmsAccountRequestDTO.md +29 -0
  50. package/docs/StockManagementApi.md +1 -1
  51. package/docs/{TelephonySupportTicketModel.md → SupportTicketModel.md} +3 -3
  52. package/docs/SystemApi.md +1 -1
  53. package/docs/TicketsApi.md +9 -9
  54. package/docs/WebhooksApi.md +1 -1
  55. package/getEnums.php +31 -31
  56. package/index.ts +1 -1
  57. package/models/EventStatusEnum.ts +19 -0
  58. package/models/PortStatusEnum.ts +19 -0
  59. package/openapitools.json +1 -1
  60. package/package.json +2 -2
  61. package/dist/models/CourierEnum.d.ts +0 -18
  62. package/dist/models/CourierEnum.js +0 -20
  63. package/dist/models/PrinterEnum.d.ts +0 -18
  64. package/dist/models/PrinterEnum.js +0 -20
  65. package/docs/BatchDTO.md +0 -59
  66. package/docs/CreditNoteDTO.md +0 -21
  67. package/docs/CreditNoteEntity.md +0 -29
  68. package/docs/CreditNoteItemDTO.md +0 -25
  69. package/docs/CreditNoteItemEntity.md +0 -29
  70. package/docs/OrderDetailsDTO.md +0 -63
  71. package/docs/OrderItemDTO.md +0 -55
  72. package/docs/OrderedItemModel.md +0 -47
  73. package/docs/PostSplitOrderRequest.md +0 -20
  74. package/docs/PrinterEntity.md +0 -29
  75. package/docs/PutAllocateItemsRequest.md +0 -20
  76. package/docs/PutAllocateItemsRequestItemsInner.md +0 -22
  77. package/docs/ShipmentDTO.md +0 -33
  78. package/docs/ShipmentItemDTO.md +0 -23
  79. package/docs/ShipmentItemModel.md +0 -29
  80. package/docs/ShipmentModel.md +0 -43
  81. package/docs/ShipmentRequestDTO.md +0 -31
  82. package/docs/ShippingRequestDTO.md +0 -24
  83. package/docs/SupplierItemModel.md +0 -35
  84. package/docs/SupplierModel.md +0 -37
  85. package/hs_err_pid16044.log +0 -249
  86. package/hs_err_pid44560.log +0 -249
  87. package/hs_err_pid53988.log +0 -249
  88. package/hs_err_pid58728.log +0 -40
  89. package/models/CourierEnum.ts +0 -19
  90. package/models/PrinterEnum.ts +0 -19
@@ -0,0 +1,726 @@
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(postAddAdminNoteRequest)
351
+
352
+
353
+ ### Example
354
+
355
+ ```typescript
356
+ import {
357
+ NumberPortingApi,
358
+ Configuration,
359
+ PostAddAdminNoteRequest
360
+ } from 'yellowgrid-api-ts';
361
+
362
+ const configuration = new Configuration();
363
+ const apiInstance = new NumberPortingApi(configuration);
364
+
365
+ let id: number; //Number Port ID (default to undefined)
366
+ let postAddAdminNoteRequest: PostAddAdminNoteRequest; //
367
+
368
+ const { status, data } = await apiInstance.postAddAdminNote(
369
+ id,
370
+ postAddAdminNoteRequest
371
+ );
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+ |Name | Type | Description | Notes|
377
+ |------------- | ------------- | ------------- | -------------|
378
+ | **postAddAdminNoteRequest** | **PostAddAdminNoteRequest**| | |
379
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
380
+
381
+
382
+ ### Return type
383
+
384
+ **AdminNumberPortDTO**
385
+
386
+ ### Authorization
387
+
388
+ No authorization required
389
+
390
+ ### HTTP request headers
391
+
392
+ - **Content-Type**: application/json
393
+ - **Accept**: application/json
394
+
395
+
396
+ ### HTTP response details
397
+ | Status code | Description | Response headers |
398
+ |-------------|-------------|------------------|
399
+ |**200** | Admin Number Port | - |
400
+ |**400** | Bad Request | - |
401
+ |**401** | Unauthorised | - |
402
+ |**403** | Access Denied | - |
403
+
404
+ [[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)
405
+
406
+ # **postCreateNumberPort**
407
+ > NumberPortDTO postCreateNumberPort()
408
+
409
+
410
+ ### Example
411
+
412
+ ```typescript
413
+ import {
414
+ NumberPortingApi,
415
+ Configuration
416
+ } from 'yellowgrid-api-ts';
417
+
418
+ const configuration = new Configuration();
419
+ const apiInstance = new NumberPortingApi(configuration);
420
+
421
+ let companyName: string; //Company Name (optional) (default to undefined)
422
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
423
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
424
+ let city: string; //City (optional) (default to undefined)
425
+ let postCode: string; //Post Code (optional) (default to undefined)
426
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
427
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
428
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
429
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
430
+ let comment: string; //Comment (optional) (default to undefined)
431
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
432
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
433
+
434
+ const { status, data } = await apiInstance.postCreateNumberPort(
435
+ companyName,
436
+ addressLine1,
437
+ addressLine2,
438
+ city,
439
+ postCode,
440
+ trunkId,
441
+ tenantId,
442
+ requestedPortDate,
443
+ asap,
444
+ comment,
445
+ numberRanges,
446
+ cloa
447
+ );
448
+ ```
449
+
450
+ ### Parameters
451
+
452
+ |Name | Type | Description | Notes|
453
+ |------------- | ------------- | ------------- | -------------|
454
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
455
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
456
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
457
+ | **city** | [**string**] | City | (optional) defaults to undefined|
458
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
459
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
460
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
461
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
462
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
463
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
464
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
465
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
466
+
467
+
468
+ ### Return type
469
+
470
+ **NumberPortDTO**
471
+
472
+ ### Authorization
473
+
474
+ No authorization required
475
+
476
+ ### HTTP request headers
477
+
478
+ - **Content-Type**: multipart/form-data
479
+ - **Accept**: application/json
480
+
481
+
482
+ ### HTTP response details
483
+ | Status code | Description | Response headers |
484
+ |-------------|-------------|------------------|
485
+ |**200** | NumberPortResponseDTO | - |
486
+ |**400** | Bad Request | - |
487
+ |**401** | Unauthorised | - |
488
+ |**403** | Access Denied | - |
489
+
490
+ [[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)
491
+
492
+ # **postSubmitNumberPort**
493
+ > NumberPortDTO postSubmitNumberPort()
494
+
495
+
496
+ ### Example
497
+
498
+ ```typescript
499
+ import {
500
+ NumberPortingApi,
501
+ Configuration
502
+ } from 'yellowgrid-api-ts';
503
+
504
+ const configuration = new Configuration();
505
+ const apiInstance = new NumberPortingApi(configuration);
506
+
507
+ let id: number; //Number Port ID (default to undefined)
508
+ let companyName: string; //Company Name (optional) (default to undefined)
509
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
510
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
511
+ let city: string; //City (optional) (default to undefined)
512
+ let postCode: string; //Post Code (optional) (default to undefined)
513
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
514
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
515
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
516
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
517
+ let comment: string; //Comment (optional) (default to undefined)
518
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
519
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
520
+
521
+ const { status, data } = await apiInstance.postSubmitNumberPort(
522
+ id,
523
+ companyName,
524
+ addressLine1,
525
+ addressLine2,
526
+ city,
527
+ postCode,
528
+ trunkId,
529
+ tenantId,
530
+ requestedPortDate,
531
+ asap,
532
+ comment,
533
+ numberRanges,
534
+ cloa
535
+ );
536
+ ```
537
+
538
+ ### Parameters
539
+
540
+ |Name | Type | Description | Notes|
541
+ |------------- | ------------- | ------------- | -------------|
542
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
543
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
544
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
545
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
546
+ | **city** | [**string**] | City | (optional) defaults to undefined|
547
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
548
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
549
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
550
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
551
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
552
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
553
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
554
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
555
+
556
+
557
+ ### Return type
558
+
559
+ **NumberPortDTO**
560
+
561
+ ### Authorization
562
+
563
+ No authorization required
564
+
565
+ ### HTTP request headers
566
+
567
+ - **Content-Type**: multipart/form-data
568
+ - **Accept**: application/json
569
+
570
+
571
+ ### HTTP response details
572
+ | Status code | Description | Response headers |
573
+ |-------------|-------------|------------------|
574
+ |**200** | NumberPortResponseDTO | - |
575
+ |**400** | Bad Request | - |
576
+ |**401** | Unauthorised | - |
577
+ |**403** | Access Denied | - |
578
+
579
+ [[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)
580
+
581
+ # **postUpdateNumberPort**
582
+ > NumberPortDTO postUpdateNumberPort()
583
+
584
+
585
+ ### Example
586
+
587
+ ```typescript
588
+ import {
589
+ NumberPortingApi,
590
+ Configuration
591
+ } from 'yellowgrid-api-ts';
592
+
593
+ const configuration = new Configuration();
594
+ const apiInstance = new NumberPortingApi(configuration);
595
+
596
+ let id: number; //Number Port ID (default to undefined)
597
+ let companyName: string; //Company Name (optional) (default to undefined)
598
+ let addressLine1: string; //Address Line 1 (optional) (default to undefined)
599
+ let addressLine2: string; //Address Line 2 (optional) (default to undefined)
600
+ let city: string; //City (optional) (default to undefined)
601
+ let postCode: string; //Post Code (optional) (default to undefined)
602
+ let trunkId: number; //Trunk ID (optional) (default to undefined)
603
+ let tenantId: string; //Starter Bundle ID (optional) (default to undefined)
604
+ let requestedPortDate: string; //Requested Port Date (optional) (default to undefined)
605
+ let asap: boolean; //Port Date ASAP (optional) (default to undefined)
606
+ let comment: string; //Comment (optional) (default to undefined)
607
+ let numberRanges: Array<NumberPortRangeRequestDTO>; //Number Ranges (optional) (default to undefined)
608
+ let cloa: File; //CLOA (only provide on submission) (optional) (default to undefined)
609
+
610
+ const { status, data } = await apiInstance.postUpdateNumberPort(
611
+ id,
612
+ companyName,
613
+ addressLine1,
614
+ addressLine2,
615
+ city,
616
+ postCode,
617
+ trunkId,
618
+ tenantId,
619
+ requestedPortDate,
620
+ asap,
621
+ comment,
622
+ numberRanges,
623
+ cloa
624
+ );
625
+ ```
626
+
627
+ ### Parameters
628
+
629
+ |Name | Type | Description | Notes|
630
+ |------------- | ------------- | ------------- | -------------|
631
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
632
+ | **companyName** | [**string**] | Company Name | (optional) defaults to undefined|
633
+ | **addressLine1** | [**string**] | Address Line 1 | (optional) defaults to undefined|
634
+ | **addressLine2** | [**string**] | Address Line 2 | (optional) defaults to undefined|
635
+ | **city** | [**string**] | City | (optional) defaults to undefined|
636
+ | **postCode** | [**string**] | Post Code | (optional) defaults to undefined|
637
+ | **trunkId** | [**number**] | Trunk ID | (optional) defaults to undefined|
638
+ | **tenantId** | [**string**] | Starter Bundle ID | (optional) defaults to undefined|
639
+ | **requestedPortDate** | [**string**] | Requested Port Date | (optional) defaults to undefined|
640
+ | **asap** | [**boolean**] | Port Date ASAP | (optional) defaults to undefined|
641
+ | **comment** | [**string**] | Comment | (optional) defaults to undefined|
642
+ | **numberRanges** | **Array&lt;NumberPortRangeRequestDTO&gt;** | Number Ranges | (optional) defaults to undefined|
643
+ | **cloa** | [**File**] | CLOA (only provide on submission) | (optional) defaults to undefined|
644
+
645
+
646
+ ### Return type
647
+
648
+ **NumberPortDTO**
649
+
650
+ ### Authorization
651
+
652
+ No authorization required
653
+
654
+ ### HTTP request headers
655
+
656
+ - **Content-Type**: multipart/form-data
657
+ - **Accept**: application/json
658
+
659
+
660
+ ### HTTP response details
661
+ | Status code | Description | Response headers |
662
+ |-------------|-------------|------------------|
663
+ |**200** | NumberPortResponseDTO | - |
664
+ |**400** | Bad Request | - |
665
+ |**401** | Unauthorised | - |
666
+ |**403** | Access Denied | - |
667
+
668
+ [[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)
669
+
670
+ # **putGetAdminNumberPort**
671
+ > AdminNumberPortDTO putGetAdminNumberPort(numberPortDTO)
672
+
673
+
674
+ ### Example
675
+
676
+ ```typescript
677
+ import {
678
+ NumberPortingApi,
679
+ Configuration,
680
+ NumberPortDTO
681
+ } from 'yellowgrid-api-ts';
682
+
683
+ const configuration = new Configuration();
684
+ const apiInstance = new NumberPortingApi(configuration);
685
+
686
+ let id: number; //Number Port ID (default to undefined)
687
+ let numberPortDTO: NumberPortDTO; //
688
+
689
+ const { status, data } = await apiInstance.putGetAdminNumberPort(
690
+ id,
691
+ numberPortDTO
692
+ );
693
+ ```
694
+
695
+ ### Parameters
696
+
697
+ |Name | Type | Description | Notes|
698
+ |------------- | ------------- | ------------- | -------------|
699
+ | **numberPortDTO** | **NumberPortDTO**| | |
700
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
701
+
702
+
703
+ ### Return type
704
+
705
+ **AdminNumberPortDTO**
706
+
707
+ ### Authorization
708
+
709
+ No authorization required
710
+
711
+ ### HTTP request headers
712
+
713
+ - **Content-Type**: application/json
714
+ - **Accept**: application/json
715
+
716
+
717
+ ### HTTP response details
718
+ | Status code | Description | Response headers |
719
+ |-------------|-------------|------------------|
720
+ |**200** | NumberPortResponseDTO | - |
721
+ |**400** | Bad Request | - |
722
+ |**401** | Unauthorised | - |
723
+ |**403** | Access Denied | - |
724
+
725
+ [[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)
726
+