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

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 (60) hide show
  1. package/.openapi-generator/FILES +264 -261
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +16 -2
  4. package/api.ts +1346 -4887
  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 +537 -4417
  10. package/dist/api.js +1302 -501
  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/PortStatusEnum.d.ts +5 -0
  20. package/dist/models/PortStatusEnum.js +5 -0
  21. package/docs/AccountsApi.md +1 -1
  22. package/docs/AdminNumberPortDTO.md +2 -0
  23. package/docs/CRMApi.md +1 -1
  24. package/docs/Class3CXApi.md +1 -1
  25. package/docs/Class3CXInstallationWizardApi.md +1 -1
  26. package/docs/Class3CXInstallationsApi.md +348 -5
  27. package/docs/Class3CXIntegrationsApi.md +1 -1
  28. package/docs/Class3CXMultiTenantApi.md +1 -1
  29. package/docs/InstallationDetailsDTO.md +39 -0
  30. package/docs/MyPBXToolsApi.md +1 -1
  31. package/docs/NumberPortingApi.md +55 -1
  32. package/docs/OAuth20Api.md +1 -1
  33. package/docs/OrdersApi.md +242 -2
  34. package/docs/PricingApi.md +1 -1
  35. package/docs/ProductSummaryDTO.md +2 -0
  36. package/docs/ProductsApi.md +59 -1
  37. package/docs/ProvisioningApi.md +1 -1
  38. package/docs/RemoteStorageDTO.md +27 -0
  39. package/docs/SIPTrunksApi.md +1 -1
  40. package/docs/SMSApi.md +1 -1
  41. package/docs/ServicesApi.md +1 -1
  42. package/docs/ShippingApi.md +1 -1
  43. package/docs/StockManagementApi.md +1 -1
  44. package/docs/SystemApi.md +1 -1
  45. package/docs/TcxSbcDTO.md +4 -0
  46. package/docs/TcxSbcResponseDTO.md +23 -0
  47. package/docs/TicketsApi.md +1 -1
  48. package/docs/WebhooksApi.md +1 -1
  49. package/getEnums.php +31 -31
  50. package/index.ts +1 -1
  51. package/models/PortStatusEnum.ts +5 -0
  52. package/openapitools.json +1 -1
  53. package/package.json +2 -2
  54. package/docs/NumberPortModel.md +0 -51
  55. package/docs/TcxInstallationDetailsModel.md +0 -45
  56. package/docs/TelephonySupportTicketModel.md +0 -41
  57. package/hs_err_pid16044.log +0 -249
  58. package/hs_err_pid44560.log +0 -249
  59. package/hs_err_pid53988.log +0 -249
  60. package/hs_err_pid58728.log +0 -40
@@ -1,25 +1,31 @@
1
1
  # Class3CXInstallationsApi
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetDetails**](#getgetdetails) | **GET** /tcx/installations/{wizard_id}/details | Get 3CX Installation Details|
8
8
  |[**getGetInstallations**](#getgetinstallations) | **GET** /tcx/installations | Get 3CX Installations|
9
+ |[**patchChangeInstanceOwner**](#patchchangeinstanceowner) | **PATCH** /tcx/installations/{instance_id}/owner | Change instance owner|
9
10
  |[**patchUpdateAutoFailover**](#patchupdateautofailover) | **PATCH** /tcx/installations/{instance_id}/failover/auto | Update 3CX Instance Auto Failover|
10
11
  |[**postAddDisk**](#postadddisk) | **POST** /tcx/installations/{instance_id}/disk | Add additional disk on 3CX Instance|
11
12
  |[**postCreateSshUser**](#postcreatesshuser) | **POST** /tcx/installations/{instance_id}/create/user/root | Create a root user|
12
13
  |[**postDeleteInstance**](#postdeleteinstance) | **POST** /tcx/installations/{instance_id}/delete | Delete 3CX Instance|
13
14
  |[**postExtendDisk**](#postextenddisk) | **POST** /tcx/installations/{instance_id}/disk/extend | Extend additional disk on 3CX Instance|
14
15
  |[**postFailoverInstance**](#postfailoverinstance) | **POST** /tcx/installations/{instance_id}/failover | Failover 3CX Instance|
16
+ |[**postInstallTcxSbc**](#postinstalltcxsbc) | **POST** /tcx/installations/sbcs/{sbc_id}/install | Install 3CX SBC|
15
17
  |[**postRebootInstance**](#postrebootinstance) | **POST** /tcx/installations/{instance_id}/reboot | Reboot 3CX Instance|
16
18
  |[**postResizeInstance**](#postresizeinstance) | **POST** /tcx/installations/{instance_id}/resize | Resize 3CX Instance|
19
+ |[**postRestartServices**](#postrestartservices) | **POST** /tcx/installations/{instance_id}/services/restart | Restart 3CX Services|
20
+ |[**postScheduledReboot**](#postscheduledreboot) | **POST** /tcx/installations/{instance_id}/reboot/scheduled | Reboot Instance|
17
21
  |[**postSuspendInstance**](#postsuspendinstance) | **POST** /tcx/installations/{instance_id}/suspend | Suspend 3CX Instance|
22
+ |[**postTestLoginCredentials**](#posttestlogincredentials) | **POST** /tcx/installations/{instance_id}/tests/login | Test 3CX Login Credentials|
18
23
  |[**postUnsuspendInstance**](#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance|
19
24
  |[**postUpgradeDebian**](#postupgradedebian) | **POST** /tcx/installations/{instance_id}/debian/upgrade | Install OS update on 3CX Instance|
25
+ |[**putGetDetails**](#putgetdetails) | **PUT** /tcx/installations/{wizard_id}/details | Update 3CX Installation Details|
20
26
 
21
27
  # **getGetDetails**
22
- > TcxInstallationDetailsModel getGetDetails()
28
+ > InstallationDetailsDTO getGetDetails()
23
29
 
24
30
  Get 3CX Installation Details
25
31
 
@@ -50,7 +56,7 @@ const { status, data } = await apiInstance.getGetDetails(
50
56
 
51
57
  ### Return type
52
58
 
53
- **TcxInstallationDetailsModel**
59
+ **InstallationDetailsDTO**
54
60
 
55
61
  ### Authorization
56
62
 
@@ -144,6 +150,63 @@ No authorization required
144
150
 
145
151
  [[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)
146
152
 
153
+ # **patchChangeInstanceOwner**
154
+ > patchChangeInstanceOwner()
155
+
156
+ Change instance owner
157
+
158
+ ### Example
159
+
160
+ ```typescript
161
+ import {
162
+ Class3CXInstallationsApi,
163
+ Configuration
164
+ } from 'yellowgrid-api-ts';
165
+
166
+ const configuration = new Configuration();
167
+ const apiInstance = new Class3CXInstallationsApi(configuration);
168
+
169
+ let instanceId: string; //Instance ID (default to undefined)
170
+ let customerId: number; //Customer ID (default to undefined)
171
+
172
+ const { status, data } = await apiInstance.patchChangeInstanceOwner(
173
+ instanceId,
174
+ customerId
175
+ );
176
+ ```
177
+
178
+ ### Parameters
179
+
180
+ |Name | Type | Description | Notes|
181
+ |------------- | ------------- | ------------- | -------------|
182
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
183
+ | **customerId** | [**number**] | Customer ID | defaults to undefined|
184
+
185
+
186
+ ### Return type
187
+
188
+ void (empty response body)
189
+
190
+ ### Authorization
191
+
192
+ No authorization required
193
+
194
+ ### HTTP request headers
195
+
196
+ - **Content-Type**: Not defined
197
+ - **Accept**: Not defined
198
+
199
+
200
+ ### HTTP response details
201
+ | Status code | Description | Response headers |
202
+ |-------------|-------------|------------------|
203
+ |**200** | No Response | - |
204
+ |**400** | Bad Request | - |
205
+ |**401** | Unauthorised | - |
206
+ |**403** | Access Denied | - |
207
+
208
+ [[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)
209
+
147
210
  # **patchUpdateAutoFailover**
148
211
  > patchUpdateAutoFailover()
149
212
 
@@ -387,7 +450,7 @@ const apiInstance = new Class3CXInstallationsApi(configuration);
387
450
 
388
451
  let instanceId: string; //Instance ID (default to undefined)
389
452
  let gigabytes: number; //Disk Space (GB) (default to undefined)
390
- let schedule: string; //Scheduled Task (Date & Time) (default to undefined)
453
+ let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
391
454
 
392
455
  const { status, data } = await apiInstance.postExtendDisk(
393
456
  instanceId,
@@ -402,7 +465,7 @@ const { status, data } = await apiInstance.postExtendDisk(
402
465
  |------------- | ------------- | ------------- | -------------|
403
466
  | **instanceId** | [**string**] | Instance ID | defaults to undefined|
404
467
  | **gigabytes** | [**number**] | Disk Space (GB) | defaults to undefined|
405
- | **schedule** | [**string**] | Scheduled Task (Date & Time) | defaults to undefined|
468
+ | **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
406
469
 
407
470
 
408
471
  ### Return type
@@ -486,6 +549,60 @@ No authorization required
486
549
 
487
550
  [[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)
488
551
 
552
+ # **postInstallTcxSbc**
553
+ > TcxSbcResponseDTO postInstallTcxSbc()
554
+
555
+ Install 3CX SBC
556
+
557
+ ### Example
558
+
559
+ ```typescript
560
+ import {
561
+ Class3CXInstallationsApi,
562
+ Configuration
563
+ } from 'yellowgrid-api-ts';
564
+
565
+ const configuration = new Configuration();
566
+ const apiInstance = new Class3CXInstallationsApi(configuration);
567
+
568
+ let sbcId: number; //SBC ID (default to undefined)
569
+
570
+ const { status, data } = await apiInstance.postInstallTcxSbc(
571
+ sbcId
572
+ );
573
+ ```
574
+
575
+ ### Parameters
576
+
577
+ |Name | Type | Description | Notes|
578
+ |------------- | ------------- | ------------- | -------------|
579
+ | **sbcId** | [**number**] | SBC ID | defaults to undefined|
580
+
581
+
582
+ ### Return type
583
+
584
+ **TcxSbcResponseDTO**
585
+
586
+ ### Authorization
587
+
588
+ No authorization required
589
+
590
+ ### HTTP request headers
591
+
592
+ - **Content-Type**: Not defined
593
+ - **Accept**: application/json
594
+
595
+
596
+ ### HTTP response details
597
+ | Status code | Description | Response headers |
598
+ |-------------|-------------|------------------|
599
+ |**200** | 3CX SBC Install Response | - |
600
+ |**400** | Bad Request | - |
601
+ |**401** | Unauthorised | - |
602
+ |**403** | Access Denied | - |
603
+
604
+ [[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)
605
+
489
606
  # **postRebootInstance**
490
607
  > postRebootInstance()
491
608
 
@@ -576,6 +693,120 @@ const { status, data } = await apiInstance.postResizeInstance(
576
693
  | **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
577
694
 
578
695
 
696
+ ### Return type
697
+
698
+ void (empty response body)
699
+
700
+ ### Authorization
701
+
702
+ No authorization required
703
+
704
+ ### HTTP request headers
705
+
706
+ - **Content-Type**: Not defined
707
+ - **Accept**: Not defined
708
+
709
+
710
+ ### HTTP response details
711
+ | Status code | Description | Response headers |
712
+ |-------------|-------------|------------------|
713
+ |**200** | No Response | - |
714
+ |**400** | Bad Request | - |
715
+ |**401** | Unauthorised | - |
716
+ |**403** | Access Denied | - |
717
+
718
+ [[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)
719
+
720
+ # **postRestartServices**
721
+ > postRestartServices()
722
+
723
+ Restart 3CX Services
724
+
725
+ ### Example
726
+
727
+ ```typescript
728
+ import {
729
+ Class3CXInstallationsApi,
730
+ Configuration
731
+ } from 'yellowgrid-api-ts';
732
+
733
+ const configuration = new Configuration();
734
+ const apiInstance = new Class3CXInstallationsApi(configuration);
735
+
736
+ let instanceId: string; //Instance ID (default to undefined)
737
+ let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
738
+
739
+ const { status, data } = await apiInstance.postRestartServices(
740
+ instanceId,
741
+ schedule
742
+ );
743
+ ```
744
+
745
+ ### Parameters
746
+
747
+ |Name | Type | Description | Notes|
748
+ |------------- | ------------- | ------------- | -------------|
749
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
750
+ | **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
751
+
752
+
753
+ ### Return type
754
+
755
+ void (empty response body)
756
+
757
+ ### Authorization
758
+
759
+ No authorization required
760
+
761
+ ### HTTP request headers
762
+
763
+ - **Content-Type**: Not defined
764
+ - **Accept**: Not defined
765
+
766
+
767
+ ### HTTP response details
768
+ | Status code | Description | Response headers |
769
+ |-------------|-------------|------------------|
770
+ |**200** | No Response | - |
771
+ |**400** | Bad Request | - |
772
+ |**401** | Unauthorised | - |
773
+ |**403** | Access Denied | - |
774
+
775
+ [[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)
776
+
777
+ # **postScheduledReboot**
778
+ > postScheduledReboot()
779
+
780
+ Reboot Instance
781
+
782
+ ### Example
783
+
784
+ ```typescript
785
+ import {
786
+ Class3CXInstallationsApi,
787
+ Configuration
788
+ } from 'yellowgrid-api-ts';
789
+
790
+ const configuration = new Configuration();
791
+ const apiInstance = new Class3CXInstallationsApi(configuration);
792
+
793
+ let instanceId: string; //Instance ID (default to undefined)
794
+ let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
795
+
796
+ const { status, data } = await apiInstance.postScheduledReboot(
797
+ instanceId,
798
+ schedule
799
+ );
800
+ ```
801
+
802
+ ### Parameters
803
+
804
+ |Name | Type | Description | Notes|
805
+ |------------- | ------------- | ------------- | -------------|
806
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
807
+ | **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
808
+
809
+
579
810
  ### Return type
580
811
 
581
812
  void (empty response body)
@@ -633,6 +864,60 @@ const { status, data } = await apiInstance.postSuspendInstance(
633
864
  | **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
634
865
 
635
866
 
867
+ ### Return type
868
+
869
+ void (empty response body)
870
+
871
+ ### Authorization
872
+
873
+ No authorization required
874
+
875
+ ### HTTP request headers
876
+
877
+ - **Content-Type**: Not defined
878
+ - **Accept**: Not defined
879
+
880
+
881
+ ### HTTP response details
882
+ | Status code | Description | Response headers |
883
+ |-------------|-------------|------------------|
884
+ |**200** | No Response | - |
885
+ |**400** | Bad Request | - |
886
+ |**401** | Unauthorised | - |
887
+ |**403** | Access Denied | - |
888
+
889
+ [[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)
890
+
891
+ # **postTestLoginCredentials**
892
+ > postTestLoginCredentials()
893
+
894
+ Test 3CX Login Credentials
895
+
896
+ ### Example
897
+
898
+ ```typescript
899
+ import {
900
+ Class3CXInstallationsApi,
901
+ Configuration
902
+ } from 'yellowgrid-api-ts';
903
+
904
+ const configuration = new Configuration();
905
+ const apiInstance = new Class3CXInstallationsApi(configuration);
906
+
907
+ let instanceId: string; //Instance ID (default to undefined)
908
+
909
+ const { status, data } = await apiInstance.postTestLoginCredentials(
910
+ instanceId
911
+ );
912
+ ```
913
+
914
+ ### Parameters
915
+
916
+ |Name | Type | Description | Notes|
917
+ |------------- | ------------- | ------------- | -------------|
918
+ | **instanceId** | [**string**] | Instance ID | defaults to undefined|
919
+
920
+
636
921
  ### Return type
637
922
 
638
923
  void (empty response body)
@@ -768,3 +1053,61 @@ No authorization required
768
1053
 
769
1054
  [[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)
770
1055
 
1056
+ # **putGetDetails**
1057
+ > InstallationDetailsDTO putGetDetails()
1058
+
1059
+ Update 3CX Installation Details
1060
+
1061
+ ### Example
1062
+
1063
+ ```typescript
1064
+ import {
1065
+ Class3CXInstallationsApi,
1066
+ Configuration,
1067
+ InstallationDetailsDTO
1068
+ } from 'yellowgrid-api-ts';
1069
+
1070
+ const configuration = new Configuration();
1071
+ const apiInstance = new Class3CXInstallationsApi(configuration);
1072
+
1073
+ let wizardId: number; //Wizard ID (default to undefined)
1074
+ let installationDetailsDTO: InstallationDetailsDTO; //Installation Details (optional)
1075
+
1076
+ const { status, data } = await apiInstance.putGetDetails(
1077
+ wizardId,
1078
+ installationDetailsDTO
1079
+ );
1080
+ ```
1081
+
1082
+ ### Parameters
1083
+
1084
+ |Name | Type | Description | Notes|
1085
+ |------------- | ------------- | ------------- | -------------|
1086
+ | **installationDetailsDTO** | **InstallationDetailsDTO**| Installation Details | |
1087
+ | **wizardId** | [**number**] | Wizard ID | defaults to undefined|
1088
+
1089
+
1090
+ ### Return type
1091
+
1092
+ **InstallationDetailsDTO**
1093
+
1094
+ ### Authorization
1095
+
1096
+ No authorization required
1097
+
1098
+ ### HTTP request headers
1099
+
1100
+ - **Content-Type**: application/json
1101
+ - **Accept**: application/json
1102
+
1103
+
1104
+ ### HTTP response details
1105
+ | Status code | Description | Response headers |
1106
+ |-------------|-------------|------------------|
1107
+ |**200** | Installation Details | - |
1108
+ |**400** | Bad Request | - |
1109
+ |**401** | Unauthorised | - |
1110
+ |**403** | Access Denied | - |
1111
+
1112
+ [[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)
1113
+
@@ -1,6 +1,6 @@
1
1
  # Class3CXIntegrationsApi
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # Class3CXMultiTenantApi
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -0,0 +1,39 @@
1
+ # InstallationDetailsDTO
2
+
3
+ Installation Passwords
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **ipAddress** | **string** | PBX IP Address | [optional] [default to undefined]
10
+ **failoverIpAddress** | **string** | PBX Failover IP Address | [optional] [default to undefined]
11
+ **instanceId** | **string** | Instance ID | [optional] [default to undefined]
12
+ **project** | **string** | Project ID | [optional] [default to undefined]
13
+ **sshKey** | [**GenericFileModel**](GenericFileModel.md) | | [optional] [default to undefined]
14
+ **osPassword** | **string** | Root Password | [optional] [default to undefined]
15
+ **systemOwner** | [**TcxUsersEntity**](TcxUsersEntity.md) | | [optional] [default to undefined]
16
+ **email** | **string** | Admin Email | [optional] [default to undefined]
17
+ **url** | **string** | 3CX Console URL | [optional] [default to undefined]
18
+ **backup** | [**RemoteStorageDTO**](RemoteStorageDTO.md) | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { InstallationDetailsDTO } from 'yellowgrid-api-ts';
24
+
25
+ const instance: InstallationDetailsDTO = {
26
+ ipAddress,
27
+ failoverIpAddress,
28
+ instanceId,
29
+ project,
30
+ sshKey,
31
+ osPassword,
32
+ systemOwner,
33
+ email,
34
+ url,
35
+ backup,
36
+ };
37
+ ```
38
+
39
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,6 +1,6 @@
1
1
  # MyPBXToolsApi
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # NumberPortingApi
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -9,6 +9,7 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
9
9
  |[**getGetAdminNumberPort**](#getgetadminnumberport) | **GET** /admin/sip/numbers/ports/{id} | |
10
10
  |[**getGetAdminNumberPorts**](#getgetadminnumberports) | **GET** /admin/sip/numbers/ports | |
11
11
  |[**getUpdateNumberPort**](#getupdatenumberport) | **GET** /sip/numbers/ports/{id} | |
12
+ |[**patchCancelAdminNumberPort**](#patchcanceladminnumberport) | **PATCH** /admin/sip/numbers/ports/{id}/cancel | |
12
13
  |[**patchCloseAdminNumberPort**](#patchcloseadminnumberport) | **PATCH** /admin/sip/numbers/ports/{id}/close | |
13
14
  |[**postAddAdminNote**](#postaddadminnote) | **POST** /admin/sip/numbers/ports/{id}/notes | |
14
15
  |[**postCreateNumberPort**](#postcreatenumberport) | **POST** /sip/numbers/ports | |
@@ -283,6 +284,59 @@ No authorization required
283
284
  - **Accept**: application/json
284
285
 
285
286
 
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | NumberPortResponseDTO | - |
291
+ |**400** | Bad Request | - |
292
+ |**401** | Unauthorised | - |
293
+ |**403** | Access Denied | - |
294
+
295
+ [[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)
296
+
297
+ # **patchCancelAdminNumberPort**
298
+ > AdminNumberPortDTO patchCancelAdminNumberPort()
299
+
300
+
301
+ ### Example
302
+
303
+ ```typescript
304
+ import {
305
+ NumberPortingApi,
306
+ Configuration
307
+ } from 'yellowgrid-api-ts';
308
+
309
+ const configuration = new Configuration();
310
+ const apiInstance = new NumberPortingApi(configuration);
311
+
312
+ let id: number; //Number Port ID (default to undefined)
313
+
314
+ const { status, data } = await apiInstance.patchCancelAdminNumberPort(
315
+ id
316
+ );
317
+ ```
318
+
319
+ ### Parameters
320
+
321
+ |Name | Type | Description | Notes|
322
+ |------------- | ------------- | ------------- | -------------|
323
+ | **id** | [**number**] | Number Port ID | defaults to undefined|
324
+
325
+
326
+ ### Return type
327
+
328
+ **AdminNumberPortDTO**
329
+
330
+ ### Authorization
331
+
332
+ No authorization required
333
+
334
+ ### HTTP request headers
335
+
336
+ - **Content-Type**: Not defined
337
+ - **Accept**: application/json
338
+
339
+
286
340
  ### HTTP response details
287
341
  | Status code | Description | Response headers |
288
342
  |-------------|-------------|------------------|
@@ -1,6 +1,6 @@
1
1
  # OAuth20Api
2
2
 
3
- All URIs are relative to *https://api.local.yellowgrid.co.uk*
3
+ All URIs are relative to *https://bitbucket.org*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|