yellowgrid-api-ts 3.2.115-dev.0 → 3.2.117-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,9 @@ Name | Type | Description | Notes
12
12
  **shippingAddress** | [**AddressDTO**](AddressDTO.md) | | [optional] [default to undefined]
13
13
  **previousShippingAddreses** | [**Array<AddressDTO>**](AddressDTO.md) | Addresses | [optional] [default to undefined]
14
14
  **portalAccess** | **boolean** | Portal Access | [optional] [default to undefined]
15
+ **phone** | **string** | Phone | [optional] [default to undefined]
16
+ **vatNumber** | **string** | VAT Number | [optional] [default to undefined]
17
+ **companyNumber** | **string** | Company Number | [optional] [default to undefined]
15
18
  **cname** | **string** | CNAME | [optional] [default to undefined]
16
19
  **prizesEnabled** | **boolean** | Prizes Enabled | [optional] [default to undefined]
17
20
 
@@ -27,6 +30,9 @@ const instance: AccountPageDetailsDTO = {
27
30
  shippingAddress,
28
31
  previousShippingAddreses,
29
32
  portalAccess,
33
+ phone,
34
+ vatNumber,
35
+ companyNumber,
30
36
  cname,
31
37
  prizesEnabled,
32
38
  };
@@ -18,7 +18,10 @@ All URIs are relative to *https://localhost*
18
18
  |[**patchSetPrizePromo**](#patchsetprizepromo) | **PATCH** /admin/accounts/{id}/prizes/{state} | |
19
19
  |[**patchSetTcxWizardCname**](#patchsettcxwizardcname) | **PATCH** /accounts/me/cname | |
20
20
  |[**patchUpdateAccountCname**](#patchupdateaccountcname) | **PATCH** /admin/accounts/{id}/cname | |
21
+ |[**patchUpdateAccountCompanyNumber**](#patchupdateaccountcompanynumber) | **PATCH** /admin/accounts/{id}/companyNumber | |
21
22
  |[**patchUpdateAccountContactPassword**](#patchupdateaccountcontactpassword) | **PATCH** /accounts/contacts/password | Update Account Password|
23
+ |[**patchUpdateAccountPhone**](#patchupdateaccountphone) | **PATCH** /admin/accounts/{id}/phone | |
24
+ |[**patchUpdateAccountVatNumber**](#patchupdateaccountvatnumber) | **PATCH** /admin/accounts/{id}/vatNumber | |
22
25
  |[**postGetAccountContacts**](#postgetaccountcontacts) | **POST** /accounts/me/contacts | Add Account Contact|
23
26
  |[**postGetAccounts**](#postgetaccounts) | **POST** /accounts | Create a new customer account|
24
27
  |[**postGetAdminAccount**](#postgetadminaccount) | **POST** /admin/me | Get Admin Account|
@@ -731,7 +734,7 @@ No authorization required
731
734
  # **patchUpdateAccountCname**
732
735
  > patchUpdateAccountCname()
733
736
 
734
- Set Account Prize Promo
737
+ Set Account CNAME
735
738
 
736
739
  ### Example
737
740
 
@@ -762,6 +765,64 @@ const { status, data } = await apiInstance.patchUpdateAccountCname(
762
765
  | **id** | [**string**] | Xero ID | defaults to undefined|
763
766
 
764
767
 
768
+ ### Return type
769
+
770
+ void (empty response body)
771
+
772
+ ### Authorization
773
+
774
+ No authorization required
775
+
776
+ ### HTTP request headers
777
+
778
+ - **Content-Type**: application/json
779
+ - **Accept**: Not defined
780
+
781
+
782
+ ### HTTP response details
783
+ | Status code | Description | Response headers |
784
+ |-------------|-------------|------------------|
785
+ |**204** | No Response | - |
786
+ |**400** | Bad Request | - |
787
+ |**401** | Unauthorised | - |
788
+ |**403** | Access Denied | - |
789
+
790
+ [[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)
791
+
792
+ # **patchUpdateAccountCompanyNumber**
793
+ > patchUpdateAccountCompanyNumber()
794
+
795
+ Set Account Company Number
796
+
797
+ ### Example
798
+
799
+ ```typescript
800
+ import {
801
+ AccountsApi,
802
+ Configuration,
803
+ PatchUpdateAccountCompanyNumberRequest
804
+ } from 'yellowgrid-api-ts';
805
+
806
+ const configuration = new Configuration();
807
+ const apiInstance = new AccountsApi(configuration);
808
+
809
+ let id: string; //Xero ID (default to undefined)
810
+ let patchUpdateAccountCompanyNumberRequest: PatchUpdateAccountCompanyNumberRequest; //Account Company Number Request (optional)
811
+
812
+ const { status, data } = await apiInstance.patchUpdateAccountCompanyNumber(
813
+ id,
814
+ patchUpdateAccountCompanyNumberRequest
815
+ );
816
+ ```
817
+
818
+ ### Parameters
819
+
820
+ |Name | Type | Description | Notes|
821
+ |------------- | ------------- | ------------- | -------------|
822
+ | **patchUpdateAccountCompanyNumberRequest** | **PatchUpdateAccountCompanyNumberRequest**| Account Company Number Request | |
823
+ | **id** | [**string**] | Xero ID | defaults to undefined|
824
+
825
+
765
826
  ### Return type
766
827
 
767
828
  void (empty response body)
@@ -844,6 +905,122 @@ No authorization required
844
905
 
845
906
  [[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)
846
907
 
908
+ # **patchUpdateAccountPhone**
909
+ > patchUpdateAccountPhone()
910
+
911
+ Set Account Phone
912
+
913
+ ### Example
914
+
915
+ ```typescript
916
+ import {
917
+ AccountsApi,
918
+ Configuration,
919
+ PatchUpdateAccountPhoneRequest
920
+ } from 'yellowgrid-api-ts';
921
+
922
+ const configuration = new Configuration();
923
+ const apiInstance = new AccountsApi(configuration);
924
+
925
+ let id: string; //Xero ID (default to undefined)
926
+ let patchUpdateAccountPhoneRequest: PatchUpdateAccountPhoneRequest; //Telephone Request (optional)
927
+
928
+ const { status, data } = await apiInstance.patchUpdateAccountPhone(
929
+ id,
930
+ patchUpdateAccountPhoneRequest
931
+ );
932
+ ```
933
+
934
+ ### Parameters
935
+
936
+ |Name | Type | Description | Notes|
937
+ |------------- | ------------- | ------------- | -------------|
938
+ | **patchUpdateAccountPhoneRequest** | **PatchUpdateAccountPhoneRequest**| Telephone Request | |
939
+ | **id** | [**string**] | Xero ID | defaults to undefined|
940
+
941
+
942
+ ### Return type
943
+
944
+ void (empty response body)
945
+
946
+ ### Authorization
947
+
948
+ No authorization required
949
+
950
+ ### HTTP request headers
951
+
952
+ - **Content-Type**: application/json
953
+ - **Accept**: Not defined
954
+
955
+
956
+ ### HTTP response details
957
+ | Status code | Description | Response headers |
958
+ |-------------|-------------|------------------|
959
+ |**204** | No Response | - |
960
+ |**400** | Bad Request | - |
961
+ |**401** | Unauthorised | - |
962
+ |**403** | Access Denied | - |
963
+
964
+ [[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)
965
+
966
+ # **patchUpdateAccountVatNumber**
967
+ > patchUpdateAccountVatNumber()
968
+
969
+ Set Account VAT Number
970
+
971
+ ### Example
972
+
973
+ ```typescript
974
+ import {
975
+ AccountsApi,
976
+ Configuration,
977
+ PatchUpdateAccountVatNumberRequest
978
+ } from 'yellowgrid-api-ts';
979
+
980
+ const configuration = new Configuration();
981
+ const apiInstance = new AccountsApi(configuration);
982
+
983
+ let id: string; //Xero ID (default to undefined)
984
+ let patchUpdateAccountVatNumberRequest: PatchUpdateAccountVatNumberRequest; //VAT Number Request (optional)
985
+
986
+ const { status, data } = await apiInstance.patchUpdateAccountVatNumber(
987
+ id,
988
+ patchUpdateAccountVatNumberRequest
989
+ );
990
+ ```
991
+
992
+ ### Parameters
993
+
994
+ |Name | Type | Description | Notes|
995
+ |------------- | ------------- | ------------- | -------------|
996
+ | **patchUpdateAccountVatNumberRequest** | **PatchUpdateAccountVatNumberRequest**| VAT Number Request | |
997
+ | **id** | [**string**] | Xero ID | defaults to undefined|
998
+
999
+
1000
+ ### Return type
1001
+
1002
+ void (empty response body)
1003
+
1004
+ ### Authorization
1005
+
1006
+ No authorization required
1007
+
1008
+ ### HTTP request headers
1009
+
1010
+ - **Content-Type**: application/json
1011
+ - **Accept**: Not defined
1012
+
1013
+
1014
+ ### HTTP response details
1015
+ | Status code | Description | Response headers |
1016
+ |-------------|-------------|------------------|
1017
+ |**204** | No Response | - |
1018
+ |**400** | Bad Request | - |
1019
+ |**401** | Unauthorised | - |
1020
+ |**403** | Access Denied | - |
1021
+
1022
+ [[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)
1023
+
847
1024
  # **postGetAccountContacts**
848
1025
  > postGetAccountContacts()
849
1026
 
@@ -6,20 +6,25 @@ All URIs are relative to *https://localhost*
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
- > TcxInstallationDetailsModel getGetDetails()
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
- **TcxInstallationDetailsModel**
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,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)
package/docs/OrdersApi.md CHANGED
@@ -23,6 +23,7 @@ All URIs are relative to *https://localhost*
23
23
  |[**postGetOrders**](#postgetorders) | **POST** /orders | Create An Order (Beta)|
24
24
  |[**postIssueCredit**](#postissuecredit) | **POST** /admin/orders/{id}/credit | Issue Credit (Admin)|
25
25
  |[**postPrintShippingLabel**](#postprintshippinglabel) | **POST** /admin/orders/{id}/shipments/{shipment_id}/label/print | Print Shipment Label|
26
+ |[**postProcessTcxLicences**](#postprocesstcxlicences) | **POST** /admin/orders/{id}/batches/{batch_id}/licences/process | Process 3CX Licences (Admin)|
26
27
  |[**postSendOrderEmail**](#postsendorderemail) | **POST** /admin/orders/{id}/email/send | Send Order Email|
27
28
  |[**postSendShipmentEmail**](#postsendshipmentemail) | **POST** /admin/orders/{id}/batches/{batch_id}/shipments/{shipment_id}/send/email | Send Shipment Email (Admin)|
28
29
  |[**postSendSupplierEmail**](#postsendsupplieremail) | **POST** /admin/orders/{id}/batches/{batch_id}/email/send | Send Supplier Email|
@@ -1133,6 +1134,63 @@ No authorization required
1133
1134
 
1134
1135
  [[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)
1135
1136
 
1137
+ # **postProcessTcxLicences**
1138
+ > OrderDetailsDTO postProcessTcxLicences()
1139
+
1140
+ Process 3CX Licences (Admin)
1141
+
1142
+ ### Example
1143
+
1144
+ ```typescript
1145
+ import {
1146
+ OrdersApi,
1147
+ Configuration
1148
+ } from 'yellowgrid-api-ts';
1149
+
1150
+ const configuration = new Configuration();
1151
+ const apiInstance = new OrdersApi(configuration);
1152
+
1153
+ let id: number; //Order ID (default to undefined)
1154
+ let batchId: number; //Batch ID (default to undefined)
1155
+
1156
+ const { status, data } = await apiInstance.postProcessTcxLicences(
1157
+ id,
1158
+ batchId
1159
+ );
1160
+ ```
1161
+
1162
+ ### Parameters
1163
+
1164
+ |Name | Type | Description | Notes|
1165
+ |------------- | ------------- | ------------- | -------------|
1166
+ | **id** | [**number**] | Order ID | defaults to undefined|
1167
+ | **batchId** | [**number**] | Batch ID | defaults to undefined|
1168
+
1169
+
1170
+ ### Return type
1171
+
1172
+ **OrderDetailsDTO**
1173
+
1174
+ ### Authorization
1175
+
1176
+ No authorization required
1177
+
1178
+ ### HTTP request headers
1179
+
1180
+ - **Content-Type**: Not defined
1181
+ - **Accept**: application/json
1182
+
1183
+
1184
+ ### HTTP response details
1185
+ | Status code | Description | Response headers |
1186
+ |-------------|-------------|------------------|
1187
+ |**200** | Order Details | - |
1188
+ |**400** | Bad Request | - |
1189
+ |**401** | Unauthorised | - |
1190
+ |**403** | Access Denied | - |
1191
+
1192
+ [[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)
1193
+
1136
1194
  # **postSendOrderEmail**
1137
1195
  > postSendOrderEmail()
1138
1196