yellowgrid-api-ts 3.2.107-dev.0 → 3.2.107
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 +266 -262
- package/.openapi-generator/VERSION +1 -1
- package/README.md +13 -3
- package/api.ts +1126 -4896
- 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 +494 -4454
- package/dist/api.js +977 -502
- 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/ScheduledTaskEnum.d.ts +33 -0
- package/dist/models/ScheduledTaskEnum.js +35 -0
- package/dist/models/ServiceEnum.d.ts +5 -0
- package/dist/models/ServiceEnum.js +5 -0
- package/docs/AccountsApi.md +1 -1
- package/docs/CRMApi.md +1 -1
- package/docs/Class3CXApi.md +1 -1
- package/docs/Class3CXInstallationWizardApi.md +1 -1
- package/docs/Class3CXInstallationsApi.md +235 -5
- package/docs/Class3CXIntegrationsApi.md +1 -1
- package/docs/Class3CXMultiTenantApi.md +1 -1
- package/docs/CustomerItemRequestDTO.md +2 -0
- package/docs/DetailedItemRequestDTO.md +2 -0
- package/docs/InstallationDetailsDTO.md +39 -0
- package/docs/ItemDTO.md +2 -0
- package/docs/MyPBXToolsApi.md +1 -1
- package/docs/NumberPortingApi.md +1 -1
- package/docs/OAuth20Api.md +1 -1
- package/docs/OrderItemDTO.md +2 -0
- package/docs/OrdersApi.md +1 -1
- package/docs/PostGetProductForCustomerRequest.md +2 -0
- package/docs/PricingApi.md +1 -1
- package/docs/ProductSummaryDTO.md +2 -0
- package/docs/ProductsApi.md +6 -6
- package/docs/ProspectDTO.md +33 -0
- package/docs/ProspectEntity.md +41 -0
- package/docs/ProspectsApi.md +226 -0
- 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/TicketsApi.md +1 -1
- package/docs/WebhooksApi.md +1 -1
- package/getEnums.php +31 -31
- package/index.ts +1 -1
- package/models/ScheduledTaskEnum.ts +34 -0
- package/models/ServiceEnum.ts +5 -0
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/docs/NumberPortModel.md +0 -51
- package/docs/PostGetProductRequest.md +0 -24
- 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,6 +1,6 @@
|
|
|
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
|
|------------- | ------------- | -------------|
|
|
@@ -16,12 +16,16 @@ All URIs are relative to *https://api.local.yellowgrid.co.uk*
|
|
|
16
16
|
|[**postInstallTcxSbc**](#postinstalltcxsbc) | **POST** /tcx/installations/sbcs/{sbc_id}/install | Install 3CX SBC|
|
|
17
17
|
|[**postRebootInstance**](#postrebootinstance) | **POST** /tcx/installations/{instance_id}/reboot | Reboot 3CX Instance|
|
|
18
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|
|
|
19
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|
|
|
20
23
|
|[**postUnsuspendInstance**](#postunsuspendinstance) | **POST** /tcx/installations/{instance_id}/unsuspend | Unsuspend 3CX Instance|
|
|
21
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|
|
|
22
26
|
|
|
23
27
|
# **getGetDetails**
|
|
24
|
-
>
|
|
28
|
+
> InstallationDetailsDTO getGetDetails()
|
|
25
29
|
|
|
26
30
|
Get 3CX Installation Details
|
|
27
31
|
|
|
@@ -52,7 +56,7 @@ const { status, data } = await apiInstance.getGetDetails(
|
|
|
52
56
|
|
|
53
57
|
### Return type
|
|
54
58
|
|
|
55
|
-
**
|
|
59
|
+
**InstallationDetailsDTO**
|
|
56
60
|
|
|
57
61
|
### Authorization
|
|
58
62
|
|
|
@@ -446,7 +450,7 @@ const apiInstance = new Class3CXInstallationsApi(configuration);
|
|
|
446
450
|
|
|
447
451
|
let instanceId: string; //Instance ID (default to undefined)
|
|
448
452
|
let gigabytes: number; //Disk Space (GB) (default to undefined)
|
|
449
|
-
let schedule: string; //Scheduled Task (Date & Time) (default to undefined)
|
|
453
|
+
let schedule: string; //Scheduled Task (Date & Time) (optional) (default to undefined)
|
|
450
454
|
|
|
451
455
|
const { status, data } = await apiInstance.postExtendDisk(
|
|
452
456
|
instanceId,
|
|
@@ -461,7 +465,7 @@ const { status, data } = await apiInstance.postExtendDisk(
|
|
|
461
465
|
|------------- | ------------- | ------------- | -------------|
|
|
462
466
|
| **instanceId** | [**string**] | Instance ID | defaults to undefined|
|
|
463
467
|
| **gigabytes** | [**number**] | Disk Space (GB) | defaults to undefined|
|
|
464
|
-
| **schedule** | [**string**] | Scheduled Task (Date & Time) | defaults to undefined|
|
|
468
|
+
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
465
469
|
|
|
466
470
|
|
|
467
471
|
### Return type
|
|
@@ -689,6 +693,120 @@ const { status, data } = await apiInstance.postResizeInstance(
|
|
|
689
693
|
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
690
694
|
|
|
691
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
|
+
|
|
692
810
|
### Return type
|
|
693
811
|
|
|
694
812
|
void (empty response body)
|
|
@@ -746,6 +864,60 @@ const { status, data } = await apiInstance.postSuspendInstance(
|
|
|
746
864
|
| **schedule** | [**string**] | Scheduled Task (Date & Time) | (optional) defaults to undefined|
|
|
747
865
|
|
|
748
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
|
+
|
|
749
921
|
### Return type
|
|
750
922
|
|
|
751
923
|
void (empty response body)
|
|
@@ -881,3 +1053,61 @@ No authorization required
|
|
|
881
1053
|
|
|
882
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)
|
|
883
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
|
+
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
12
12
|
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
13
13
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
14
|
+
**renewalYears** | **number** | 3CX Renewal Years (Upgrade only) | [optional] [default to undefined]
|
|
14
15
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
15
16
|
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
16
17
|
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCS | [optional] [default to undefined]
|
|
@@ -27,6 +28,7 @@ const instance: CustomerItemRequestDTO = {
|
|
|
27
28
|
id,
|
|
28
29
|
licenceKey,
|
|
29
30
|
hosting,
|
|
31
|
+
renewalYears,
|
|
30
32
|
processDate,
|
|
31
33
|
tcxSalesCode,
|
|
32
34
|
sbcs,
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**id** | **number** | ID | [optional] [default to undefined]
|
|
12
12
|
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
13
13
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
14
|
+
**renewalYears** | **number** | 3CX Renewal Years (Upgrade only) | [optional] [default to undefined]
|
|
14
15
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
15
16
|
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
16
17
|
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCS | [optional] [default to undefined]
|
|
@@ -30,6 +31,7 @@ const instance: DetailedItemRequestDTO = {
|
|
|
30
31
|
id,
|
|
31
32
|
licenceKey,
|
|
32
33
|
hosting,
|
|
34
|
+
renewalYears,
|
|
33
35
|
processDate,
|
|
34
36
|
tcxSalesCode,
|
|
35
37
|
sbcs,
|
|
@@ -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/ItemDTO.md
CHANGED
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
17
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
18
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
19
|
+
**renewalYears** | **number** | 3CX Renewal Years (Upgrade only) | [optional] [default to undefined]
|
|
19
20
|
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
20
21
|
**refunded** | **number** | Refunded | [optional] [default to undefined]
|
|
21
22
|
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCs | [optional] [default to undefined]
|
|
@@ -38,6 +39,7 @@ const instance: ItemDTO = {
|
|
|
38
39
|
licenceExpiry,
|
|
39
40
|
processDate,
|
|
40
41
|
hosting,
|
|
42
|
+
renewalYears,
|
|
41
43
|
promoItem,
|
|
42
44
|
refunded,
|
|
43
45
|
sbcs,
|
package/docs/MyPBXToolsApi.md
CHANGED
package/docs/NumberPortingApi.md
CHANGED
package/docs/OAuth20Api.md
CHANGED
package/docs/OrderItemDTO.md
CHANGED
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**licenceExpiry** | **string** | Date Time | [optional] [default to undefined]
|
|
17
17
|
**processDate** | **string** | Date Time | [optional] [default to undefined]
|
|
18
18
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
19
|
+
**renewalYears** | **number** | 3CX Renewal Years (Upgrade only) | [optional] [default to undefined]
|
|
19
20
|
**promoItem** | **boolean** | Promo Item | [optional] [default to undefined]
|
|
20
21
|
**refunded** | **number** | Refunded | [optional] [default to undefined]
|
|
21
22
|
**sbcs** | [**Array<TcxSbcDTO>**](TcxSbcDTO.md) | SBCs | [optional] [default to undefined]
|
|
@@ -41,6 +42,7 @@ const instance: OrderItemDTO = {
|
|
|
41
42
|
licenceExpiry,
|
|
42
43
|
processDate,
|
|
43
44
|
hosting,
|
|
45
|
+
renewalYears,
|
|
44
46
|
promoItem,
|
|
45
47
|
refunded,
|
|
46
48
|
sbcs,
|
package/docs/OrdersApi.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**licenceKey** | **string** | 3CX Licence Key | [optional] [default to undefined]
|
|
10
10
|
**hosting** | **boolean** | 3CX Hosting | [optional] [default to undefined]
|
|
11
11
|
**tcxSalesCode** | **string** | 3CX Sales Code | [optional] [default to undefined]
|
|
12
|
+
**renewalYears** | **number** | 3CX Renewal Years (Upgrade Only) | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: PostGetProductForCustomerRequest = {
|
|
|
20
21
|
licenceKey,
|
|
21
22
|
hosting,
|
|
22
23
|
tcxSalesCode,
|
|
24
|
+
renewalYears,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|
package/docs/PricingApi.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**title** | **string** | Title | [optional] [default to undefined]
|
|
11
11
|
**quantity** | **number** | Stock Quantity | [optional] [default to undefined]
|
|
12
12
|
**stockProduct** | **boolean** | Stock Product | [optional] [default to undefined]
|
|
13
|
+
**dueDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
14
|
**price** | **number** | Price | [optional] [default to undefined]
|
|
14
15
|
**cartonSize** | **number** | Carton Size | [optional] [default to undefined]
|
|
15
16
|
**rrp** | **number** | RRP Price | [optional] [default to undefined]
|
|
@@ -26,6 +27,7 @@ const instance: ProductSummaryDTO = {
|
|
|
26
27
|
title,
|
|
27
28
|
quantity,
|
|
28
29
|
stockProduct,
|
|
30
|
+
dueDate,
|
|
29
31
|
price,
|
|
30
32
|
cartonSize,
|
|
31
33
|
rrp,
|
package/docs/ProductsApi.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ProductsApi
|
|
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
|
|------------- | ------------- | -------------|
|
|
@@ -422,7 +422,7 @@ No authorization required
|
|
|
422
422
|
[[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)
|
|
423
423
|
|
|
424
424
|
# **postGetProduct**
|
|
425
|
-
> ProductSummaryDTO postGetProduct(
|
|
425
|
+
> ProductSummaryDTO postGetProduct(postGetProductForCustomerRequest)
|
|
426
426
|
|
|
427
427
|
Get Product
|
|
428
428
|
|
|
@@ -432,18 +432,18 @@ Get Product
|
|
|
432
432
|
import {
|
|
433
433
|
ProductsApi,
|
|
434
434
|
Configuration,
|
|
435
|
-
|
|
435
|
+
PostGetProductForCustomerRequest
|
|
436
436
|
} from 'yellowgrid-api-ts';
|
|
437
437
|
|
|
438
438
|
const configuration = new Configuration();
|
|
439
439
|
const apiInstance = new ProductsApi(configuration);
|
|
440
440
|
|
|
441
441
|
let sku: string; //Product SKU (default to undefined)
|
|
442
|
-
let
|
|
442
|
+
let postGetProductForCustomerRequest: PostGetProductForCustomerRequest; //Product search criteria
|
|
443
443
|
|
|
444
444
|
const { status, data } = await apiInstance.postGetProduct(
|
|
445
445
|
sku,
|
|
446
|
-
|
|
446
|
+
postGetProductForCustomerRequest
|
|
447
447
|
);
|
|
448
448
|
```
|
|
449
449
|
|
|
@@ -451,7 +451,7 @@ const { status, data } = await apiInstance.postGetProduct(
|
|
|
451
451
|
|
|
452
452
|
|Name | Type | Description | Notes|
|
|
453
453
|
|------------- | ------------- | ------------- | -------------|
|
|
454
|
-
| **
|
|
454
|
+
| **postGetProductForCustomerRequest** | **PostGetProductForCustomerRequest**| Product search criteria | |
|
|
455
455
|
| **sku** | [**string**] | Product SKU | defaults to undefined|
|
|
456
456
|
|
|
457
457
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# ProspectDTO
|
|
2
|
+
|
|
3
|
+
Prospect
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**companyName** | **string** | Company Name | [optional] [default to undefined]
|
|
10
|
+
**telephone** | **string** | Telephone | [optional] [default to undefined]
|
|
11
|
+
**lastOrderDate** | **string** | Date Time | [optional] [default to undefined]
|
|
12
|
+
**callbackDate** | **string** | Date Time | [optional] [default to undefined]
|
|
13
|
+
**xeroId** | **string** | Xero ID | [optional] [default to undefined]
|
|
14
|
+
**removed** | **boolean** | Removed From Prospects | [optional] [default to undefined]
|
|
15
|
+
**status** | **string** | Status | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { ProspectDTO } from 'yellowgrid-api-ts';
|
|
21
|
+
|
|
22
|
+
const instance: ProspectDTO = {
|
|
23
|
+
companyName,
|
|
24
|
+
telephone,
|
|
25
|
+
lastOrderDate,
|
|
26
|
+
callbackDate,
|
|
27
|
+
xeroId,
|
|
28
|
+
removed,
|
|
29
|
+
status,
|
|
30
|
+
};
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# ProspectEntity
|
|
2
|
+
|
|
3
|
+
ProspectEntity
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **number** | id | [optional] [default to undefined]
|
|
10
|
+
**status** | **number** | status | [optional] [default to undefined]
|
|
11
|
+
**customerId** | **number** | customerId | [optional] [default to undefined]
|
|
12
|
+
**companyName** | **string** | companyName | [optional] [default to undefined]
|
|
13
|
+
**contactName** | **string** | contactName | [optional] [default to undefined]
|
|
14
|
+
**telephone** | **string** | telephone | [optional] [default to undefined]
|
|
15
|
+
**email** | **string** | email | [optional] [default to undefined]
|
|
16
|
+
**reason** | **string** | reason | [optional] [default to undefined]
|
|
17
|
+
**lastOrderDate** | **string** | lastOrderDate | [optional] [default to undefined]
|
|
18
|
+
**followUpDate** | **string** | followUpDate | [optional] [default to undefined]
|
|
19
|
+
**notes** | **string** | notes | [optional] [default to undefined]
|
|
20
|
+
|
|
21
|
+
## Example
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { ProspectEntity } from 'yellowgrid-api-ts';
|
|
25
|
+
|
|
26
|
+
const instance: ProspectEntity = {
|
|
27
|
+
id,
|
|
28
|
+
status,
|
|
29
|
+
customerId,
|
|
30
|
+
companyName,
|
|
31
|
+
contactName,
|
|
32
|
+
telephone,
|
|
33
|
+
email,
|
|
34
|
+
reason,
|
|
35
|
+
lastOrderDate,
|
|
36
|
+
followUpDate,
|
|
37
|
+
notes,
|
|
38
|
+
};
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|