yellowgrid-api-ts 3.2.92-dev.0 → 3.2.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +264 -260
- package/.openapi-generator/VERSION +1 -1
- package/README.md +16 -2
- package/api.ts +1303 -4897
- package/base.ts +2 -26
- package/common.ts +16 -39
- package/config.json +3 -3
- package/configuration.ts +25 -19
- package/dist/api.d.ts +524 -4419
- package/dist/api.js +1270 -557
- package/dist/base.d.ts +1 -25
- package/dist/base.js +2 -21
- package/dist/common.d.ts +5 -36
- package/dist/common.js +17 -39
- package/dist/configuration.d.ts +25 -18
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/PortStatusEnum.d.ts +5 -0
- package/dist/models/PortStatusEnum.js +5 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/AdminNumberPortDTO.md +4 -0
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +289 -5
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/InstallationDetailsDTO.md +37 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +61 -6
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrderDetailsDTO.md +2 -0
- package/docs/OrdersApi.md +245 -5
- package/docs/PostAddAdminNoteRequest.md +20 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProductSummaryDTO.md +2 -0
- package/docs/ProductsApi.md +59 -1
- package/docs/ProvisioningApi.md +1 -1
- package/docs/RemoteStorageDTO.md +27 -0
- package/docs/SIPTrunksApi.md +1 -1
- package/docs/SMSApi.md +1 -1
- package/docs/ServicesApi.md +1 -1
- package/docs/ShippingApi.md +1 -1
- package/docs/StockManagementApi.md +1 -1
- package/docs/SystemApi.md +1 -1
- package/docs/TcxSbcDTO.md +4 -0
- package/docs/TcxSbcResponseDTO.md +23 -0
- package/docs/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/PortStatusEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/docs/NumberPortModel.md +0 -51
- package/docs/TcxInstallationDetailsModel.md +0 -45
- package/docs/TelephonySupportTicketModel.md +0 -41
- package/hs_err_pid16044.log +0 -249
- package/hs_err_pid44560.log +0 -249
- package/hs_err_pid53988.log +0 -249
- package/hs_err_pid58728.log +0 -40
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
# Class3CXInstallationsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
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|
|
|
20
25
|
|
|
21
26
|
# **getGetDetails**
|
|
22
|
-
>
|
|
27
|
+
> InstallationDetailsDTO getGetDetails()
|
|
23
28
|
|
|
24
29
|
Get 3CX Installation Details
|
|
25
30
|
|
|
@@ -50,7 +55,7 @@ const { status, data } = await apiInstance.getGetDetails(
|
|
|
50
55
|
|
|
51
56
|
### Return type
|
|
52
57
|
|
|
53
|
-
**
|
|
58
|
+
**InstallationDetailsDTO**
|
|
54
59
|
|
|
55
60
|
### Authorization
|
|
56
61
|
|
|
@@ -144,6 +149,63 @@ No authorization required
|
|
|
144
149
|
|
|
145
150
|
[[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
151
|
|
|
152
|
+
# **patchChangeInstanceOwner**
|
|
153
|
+
> patchChangeInstanceOwner()
|
|
154
|
+
|
|
155
|
+
Change instance owner
|
|
156
|
+
|
|
157
|
+
### Example
|
|
158
|
+
|
|
159
|
+
```typescript
|
|
160
|
+
import {
|
|
161
|
+
Class3CXInstallationsApi,
|
|
162
|
+
Configuration
|
|
163
|
+
} from 'yellowgrid-api-ts';
|
|
164
|
+
|
|
165
|
+
const configuration = new Configuration();
|
|
166
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
167
|
+
|
|
168
|
+
let instanceId: string; //Instance ID (default to undefined)
|
|
169
|
+
let customerId: number; //Customer ID (default to undefined)
|
|
170
|
+
|
|
171
|
+
const { status, data } = await apiInstance.patchChangeInstanceOwner(
|
|
172
|
+
instanceId,
|
|
173
|
+
customerId
|
|
174
|
+
);
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Parameters
|
|
178
|
+
|
|
179
|
+
|Name | Type | Description | Notes|
|
|
180
|
+
|------------- | ------------- | ------------- | -------------|
|
|
181
|
+
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
182
|
+
| **customerId** | [**number**] | Customer ID | defaults to undefined|
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Return type
|
|
186
|
+
|
|
187
|
+
void (empty response body)
|
|
188
|
+
|
|
189
|
+
### Authorization
|
|
190
|
+
|
|
191
|
+
No authorization required
|
|
192
|
+
|
|
193
|
+
### HTTP request headers
|
|
194
|
+
|
|
195
|
+
- **Content-Type**: Not defined
|
|
196
|
+
- **Accept**: Not defined
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### HTTP response details
|
|
200
|
+
| Status code | Description | Response headers |
|
|
201
|
+
|-------------|-------------|------------------|
|
|
202
|
+
|**200** | No Response | - |
|
|
203
|
+
|**400** | Bad Request | - |
|
|
204
|
+
|**401** | Unauthorised | - |
|
|
205
|
+
|**403** | Access Denied | - |
|
|
206
|
+
|
|
207
|
+
[[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)
|
|
208
|
+
|
|
147
209
|
# **patchUpdateAutoFailover**
|
|
148
210
|
> patchUpdateAutoFailover()
|
|
149
211
|
|
|
@@ -387,7 +449,7 @@ const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
|
387
449
|
|
|
388
450
|
let instanceId: string; //Instance ID (default to undefined)
|
|
389
451
|
let gigabytes: number; //Disk Space (GB) (default to undefined)
|
|
390
|
-
let schedule: string; //Scheduled Task (Date & Time) (default to undefined)
|
|
452
|
+
let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
|
|
391
453
|
|
|
392
454
|
const { status, data } = await apiInstance.postExtendDisk(
|
|
393
455
|
instanceId,
|
|
@@ -402,7 +464,7 @@ const { status, data } = await apiInstance.postExtendDisk(
|
|
|
402
464
|
|------------- | ------------- | ------------- | -------------|
|
|
403
465
|
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
404
466
|
| **gigabytes** | [**number**] | Disk Space (GB) | defaults to undefined|
|
|
405
|
-
| **schedule** | [**string**] | Scheduled Task (Date & Time) | defaults to undefined|
|
|
467
|
+
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
406
468
|
|
|
407
469
|
|
|
408
470
|
### Return type
|
|
@@ -486,6 +548,60 @@ No authorization required
|
|
|
486
548
|
|
|
487
549
|
[[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
550
|
|
|
551
|
+
# **postInstallTcxSbc**
|
|
552
|
+
> TcxSbcResponseDTO postInstallTcxSbc()
|
|
553
|
+
|
|
554
|
+
Install 3CX SBC
|
|
555
|
+
|
|
556
|
+
### Example
|
|
557
|
+
|
|
558
|
+
```typescript
|
|
559
|
+
import {
|
|
560
|
+
Class3CXInstallationsApi,
|
|
561
|
+
Configuration
|
|
562
|
+
} from 'yellowgrid-api-ts';
|
|
563
|
+
|
|
564
|
+
const configuration = new Configuration();
|
|
565
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
566
|
+
|
|
567
|
+
let sbcId: number; //SBC ID (default to undefined)
|
|
568
|
+
|
|
569
|
+
const { status, data } = await apiInstance.postInstallTcxSbc(
|
|
570
|
+
sbcId
|
|
571
|
+
);
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
### Parameters
|
|
575
|
+
|
|
576
|
+
|Name | Type | Description | Notes|
|
|
577
|
+
|------------- | ------------- | ------------- | -------------|
|
|
578
|
+
| **sbcId** | [**number**] | SBC ID | defaults to undefined|
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
### Return type
|
|
582
|
+
|
|
583
|
+
**TcxSbcResponseDTO**
|
|
584
|
+
|
|
585
|
+
### Authorization
|
|
586
|
+
|
|
587
|
+
No authorization required
|
|
588
|
+
|
|
589
|
+
### HTTP request headers
|
|
590
|
+
|
|
591
|
+
- **Content-Type**: Not defined
|
|
592
|
+
- **Accept**: application/json
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
### HTTP response details
|
|
596
|
+
| Status code | Description | Response headers |
|
|
597
|
+
|-------------|-------------|------------------|
|
|
598
|
+
|**200** | 3CX SBC Install Response | - |
|
|
599
|
+
|**400** | Bad Request | - |
|
|
600
|
+
|**401** | Unauthorised | - |
|
|
601
|
+
|**403** | Access Denied | - |
|
|
602
|
+
|
|
603
|
+
[[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)
|
|
604
|
+
|
|
489
605
|
# **postRebootInstance**
|
|
490
606
|
> postRebootInstance()
|
|
491
607
|
|
|
@@ -576,6 +692,120 @@ const { status, data } = await apiInstance.postResizeInstance(
|
|
|
576
692
|
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
577
693
|
|
|
578
694
|
|
|
695
|
+
### Return type
|
|
696
|
+
|
|
697
|
+
void (empty response body)
|
|
698
|
+
|
|
699
|
+
### Authorization
|
|
700
|
+
|
|
701
|
+
No authorization required
|
|
702
|
+
|
|
703
|
+
### HTTP request headers
|
|
704
|
+
|
|
705
|
+
- **Content-Type**: Not defined
|
|
706
|
+
- **Accept**: Not defined
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
### HTTP response details
|
|
710
|
+
| Status code | Description | Response headers |
|
|
711
|
+
|-------------|-------------|------------------|
|
|
712
|
+
|**200** | No Response | - |
|
|
713
|
+
|**400** | Bad Request | - |
|
|
714
|
+
|**401** | Unauthorised | - |
|
|
715
|
+
|**403** | Access Denied | - |
|
|
716
|
+
|
|
717
|
+
[[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)
|
|
718
|
+
|
|
719
|
+
# **postRestartServices**
|
|
720
|
+
> postRestartServices()
|
|
721
|
+
|
|
722
|
+
Restart 3CX Services
|
|
723
|
+
|
|
724
|
+
### Example
|
|
725
|
+
|
|
726
|
+
```typescript
|
|
727
|
+
import {
|
|
728
|
+
Class3CXInstallationsApi,
|
|
729
|
+
Configuration
|
|
730
|
+
} from 'yellowgrid-api-ts';
|
|
731
|
+
|
|
732
|
+
const configuration = new Configuration();
|
|
733
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
734
|
+
|
|
735
|
+
let instanceId: string; //Instance ID (default to undefined)
|
|
736
|
+
let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
|
|
737
|
+
|
|
738
|
+
const { status, data } = await apiInstance.postRestartServices(
|
|
739
|
+
instanceId,
|
|
740
|
+
schedule
|
|
741
|
+
);
|
|
742
|
+
```
|
|
743
|
+
|
|
744
|
+
### Parameters
|
|
745
|
+
|
|
746
|
+
|Name | Type | Description | Notes|
|
|
747
|
+
|------------- | ------------- | ------------- | -------------|
|
|
748
|
+
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
749
|
+
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
### Return type
|
|
753
|
+
|
|
754
|
+
void (empty response body)
|
|
755
|
+
|
|
756
|
+
### Authorization
|
|
757
|
+
|
|
758
|
+
No authorization required
|
|
759
|
+
|
|
760
|
+
### HTTP request headers
|
|
761
|
+
|
|
762
|
+
- **Content-Type**: Not defined
|
|
763
|
+
- **Accept**: Not defined
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
### HTTP response details
|
|
767
|
+
| Status code | Description | Response headers |
|
|
768
|
+
|-------------|-------------|------------------|
|
|
769
|
+
|**200** | No Response | - |
|
|
770
|
+
|**400** | Bad Request | - |
|
|
771
|
+
|**401** | Unauthorised | - |
|
|
772
|
+
|**403** | Access Denied | - |
|
|
773
|
+
|
|
774
|
+
[[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)
|
|
775
|
+
|
|
776
|
+
# **postScheduledReboot**
|
|
777
|
+
> postScheduledReboot()
|
|
778
|
+
|
|
779
|
+
Reboot Instance
|
|
780
|
+
|
|
781
|
+
### Example
|
|
782
|
+
|
|
783
|
+
```typescript
|
|
784
|
+
import {
|
|
785
|
+
Class3CXInstallationsApi,
|
|
786
|
+
Configuration
|
|
787
|
+
} from 'yellowgrid-api-ts';
|
|
788
|
+
|
|
789
|
+
const configuration = new Configuration();
|
|
790
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
791
|
+
|
|
792
|
+
let instanceId: string; //Instance ID (default to undefined)
|
|
793
|
+
let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
|
|
794
|
+
|
|
795
|
+
const { status, data } = await apiInstance.postScheduledReboot(
|
|
796
|
+
instanceId,
|
|
797
|
+
schedule
|
|
798
|
+
);
|
|
799
|
+
```
|
|
800
|
+
|
|
801
|
+
### Parameters
|
|
802
|
+
|
|
803
|
+
|Name | Type | Description | Notes|
|
|
804
|
+
|------------- | ------------- | ------------- | -------------|
|
|
805
|
+
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
806
|
+
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
807
|
+
|
|
808
|
+
|
|
579
809
|
### Return type
|
|
580
810
|
|
|
581
811
|
void (empty response body)
|
|
@@ -633,6 +863,60 @@ const { status, data } = await apiInstance.postSuspendInstance(
|
|
|
633
863
|
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
634
864
|
|
|
635
865
|
|
|
866
|
+
### Return type
|
|
867
|
+
|
|
868
|
+
void (empty response body)
|
|
869
|
+
|
|
870
|
+
### Authorization
|
|
871
|
+
|
|
872
|
+
No authorization required
|
|
873
|
+
|
|
874
|
+
### HTTP request headers
|
|
875
|
+
|
|
876
|
+
- **Content-Type**: Not defined
|
|
877
|
+
- **Accept**: Not defined
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
### HTTP response details
|
|
881
|
+
| Status code | Description | Response headers |
|
|
882
|
+
|-------------|-------------|------------------|
|
|
883
|
+
|**200** | No Response | - |
|
|
884
|
+
|**400** | Bad Request | - |
|
|
885
|
+
|**401** | Unauthorised | - |
|
|
886
|
+
|**403** | Access Denied | - |
|
|
887
|
+
|
|
888
|
+
[[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)
|
|
889
|
+
|
|
890
|
+
# **postTestLoginCredentials**
|
|
891
|
+
> postTestLoginCredentials()
|
|
892
|
+
|
|
893
|
+
Test 3CX Login Credentials
|
|
894
|
+
|
|
895
|
+
### Example
|
|
896
|
+
|
|
897
|
+
```typescript
|
|
898
|
+
import {
|
|
899
|
+
Class3CXInstallationsApi,
|
|
900
|
+
Configuration
|
|
901
|
+
} from 'yellowgrid-api-ts';
|
|
902
|
+
|
|
903
|
+
const configuration = new Configuration();
|
|
904
|
+
const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
905
|
+
|
|
906
|
+
let instanceId: string; //Instance ID (default to undefined)
|
|
907
|
+
|
|
908
|
+
const { status, data } = await apiInstance.postTestLoginCredentials(
|
|
909
|
+
instanceId
|
|
910
|
+
);
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
### Parameters
|
|
914
|
+
|
|
915
|
+
|Name | Type | Description | Notes|
|
|
916
|
+
|------------- | ------------- | ------------- | -------------|
|
|
917
|
+
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
918
|
+
|
|
919
|
+
|
|
636
920
|
### Return type
|
|
637
921
|
|
|
638
922
|
void (empty response body)
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
**instanceId** | **string** | Instance ID | [optional] [default to undefined]
|
|
11
|
+
**project** | **string** | Project ID | [optional] [default to undefined]
|
|
12
|
+
**sshKey** | [**GenericFileModel**](GenericFileModel.md) | | [optional] [default to undefined]
|
|
13
|
+
**osPassword** | **string** | Root Password | [optional] [default to undefined]
|
|
14
|
+
**systemOwner** | [**TcxUsersEntity**](TcxUsersEntity.md) | | [optional] [default to undefined]
|
|
15
|
+
**email** | **string** | Admin Email | [optional] [default to undefined]
|
|
16
|
+
**url** | **string** | 3CX Console URL | [optional] [default to undefined]
|
|
17
|
+
**backup** | [**RemoteStorageDTO**](RemoteStorageDTO.md) | | [optional] [default to undefined]
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import { InstallationDetailsDTO } from 'yellowgrid-api-ts';
|
|
23
|
+
|
|
24
|
+
const instance: InstallationDetailsDTO = {
|
|
25
|
+
ipAddress,
|
|
26
|
+
instanceId,
|
|
27
|
+
project,
|
|
28
|
+
sshKey,
|
|
29
|
+
osPassword,
|
|
30
|
+
systemOwner,
|
|
31
|
+
email,
|
|
32
|
+
url,
|
|
33
|
+
backup,
|
|
34
|
+
};
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/MyPBXToolsApi.md
CHANGED
package/docs/NumberPortingApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# NumberPortingApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *https://
|
|
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
|
|-------------|-------------|------------------|
|
|
@@ -347,7 +401,7 @@ No authorization required
|
|
|
347
401
|
[[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
402
|
|
|
349
403
|
# **postAddAdminNote**
|
|
350
|
-
> AdminNumberPortDTO postAddAdminNote(
|
|
404
|
+
> AdminNumberPortDTO postAddAdminNote(postAddAdminNoteRequest)
|
|
351
405
|
|
|
352
406
|
|
|
353
407
|
### Example
|
|
@@ -355,18 +409,19 @@ No authorization required
|
|
|
355
409
|
```typescript
|
|
356
410
|
import {
|
|
357
411
|
NumberPortingApi,
|
|
358
|
-
Configuration
|
|
412
|
+
Configuration,
|
|
413
|
+
PostAddAdminNoteRequest
|
|
359
414
|
} from 'yellowgrid-api-ts';
|
|
360
415
|
|
|
361
416
|
const configuration = new Configuration();
|
|
362
417
|
const apiInstance = new NumberPortingApi(configuration);
|
|
363
418
|
|
|
364
419
|
let id: number; //Number Port ID (default to undefined)
|
|
365
|
-
let
|
|
420
|
+
let postAddAdminNoteRequest: PostAddAdminNoteRequest; //
|
|
366
421
|
|
|
367
422
|
const { status, data } = await apiInstance.postAddAdminNote(
|
|
368
423
|
id,
|
|
369
|
-
|
|
424
|
+
postAddAdminNoteRequest
|
|
370
425
|
);
|
|
371
426
|
```
|
|
372
427
|
|
|
@@ -374,7 +429,7 @@ const { status, data } = await apiInstance.postAddAdminNote(
|
|
|
374
429
|
|
|
375
430
|
|Name | Type | Description | Notes|
|
|
376
431
|
|------------- | ------------- | ------------- | -------------|
|
|
377
|
-
| **
|
|
432
|
+
| **postAddAdminNoteRequest** | **PostAddAdminNoteRequest**| | |
|
|
378
433
|
| **id** | [**number**] | Number Port ID | defaults to undefined|
|
|
379
434
|
|
|
380
435
|
|
package/docs/OAuth20Api.md
CHANGED
package/docs/OrderDetailsDTO.md
CHANGED
|
@@ -28,6 +28,7 @@ Name | Type | Description | Notes
|
|
|
28
28
|
**paymentLink** | **string** | Card Payment Link | [optional] [default to undefined]
|
|
29
29
|
**credits** | [**Array<CreditNoteModel>**](CreditNoteModel.md) | Credits | [optional] [default to undefined]
|
|
30
30
|
**customerEmail** | **string** | Customer Email | [optional] [default to undefined]
|
|
31
|
+
**totals** | [**OrderTotalModel**](OrderTotalModel.md) | | [optional] [default to undefined]
|
|
31
32
|
|
|
32
33
|
## Example
|
|
33
34
|
|
|
@@ -57,6 +58,7 @@ const instance: OrderDetailsDTO = {
|
|
|
57
58
|
paymentLink,
|
|
58
59
|
credits,
|
|
59
60
|
customerEmail,
|
|
61
|
+
totals,
|
|
60
62
|
};
|
|
61
63
|
```
|
|
62
64
|
|