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.
Files changed (69) hide show
  1. package/.openapi-generator/FILES +266 -262
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +13 -3
  4. package/api.ts +1126 -4896
  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 +494 -4454
  10. package/dist/api.js +977 -502
  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/ScheduledTaskEnum.d.ts +33 -0
  20. package/dist/models/ScheduledTaskEnum.js +35 -0
  21. package/dist/models/ServiceEnum.d.ts +5 -0
  22. package/dist/models/ServiceEnum.js +5 -0
  23. package/docs/AccountsApi.md +1 -1
  24. package/docs/CRMApi.md +1 -1
  25. package/docs/Class3CXApi.md +1 -1
  26. package/docs/Class3CXInstallationWizardApi.md +1 -1
  27. package/docs/Class3CXInstallationsApi.md +235 -5
  28. package/docs/Class3CXIntegrationsApi.md +1 -1
  29. package/docs/Class3CXMultiTenantApi.md +1 -1
  30. package/docs/CustomerItemRequestDTO.md +2 -0
  31. package/docs/DetailedItemRequestDTO.md +2 -0
  32. package/docs/InstallationDetailsDTO.md +39 -0
  33. package/docs/ItemDTO.md +2 -0
  34. package/docs/MyPBXToolsApi.md +1 -1
  35. package/docs/NumberPortingApi.md +1 -1
  36. package/docs/OAuth20Api.md +1 -1
  37. package/docs/OrderItemDTO.md +2 -0
  38. package/docs/OrdersApi.md +1 -1
  39. package/docs/PostGetProductForCustomerRequest.md +2 -0
  40. package/docs/PricingApi.md +1 -1
  41. package/docs/ProductSummaryDTO.md +2 -0
  42. package/docs/ProductsApi.md +6 -6
  43. package/docs/ProspectDTO.md +33 -0
  44. package/docs/ProspectEntity.md +41 -0
  45. package/docs/ProspectsApi.md +226 -0
  46. package/docs/ProvisioningApi.md +1 -1
  47. package/docs/RemoteStorageDTO.md +27 -0
  48. package/docs/SIPTrunksApi.md +1 -1
  49. package/docs/SMSApi.md +1 -1
  50. package/docs/ServicesApi.md +1 -1
  51. package/docs/ShippingApi.md +1 -1
  52. package/docs/StockManagementApi.md +1 -1
  53. package/docs/SystemApi.md +1 -1
  54. package/docs/TicketsApi.md +1 -1
  55. package/docs/WebhooksApi.md +1 -1
  56. package/getEnums.php +31 -31
  57. package/index.ts +1 -1
  58. package/models/ScheduledTaskEnum.ts +34 -0
  59. package/models/ServiceEnum.ts +5 -0
  60. package/openapitools.json +1 -1
  61. package/package.json +2 -2
  62. package/docs/NumberPortModel.md +0 -51
  63. package/docs/PostGetProductRequest.md +0 -24
  64. package/docs/TcxInstallationDetailsModel.md +0 -45
  65. package/docs/TelephonySupportTicketModel.md +0 -41
  66. package/hs_err_pid16044.log +0 -249
  67. package/hs_err_pid44560.log +0 -249
  68. package/hs_err_pid53988.log +0 -249
  69. package/hs_err_pid58728.log +0 -40
@@ -1,6 +1,6 @@
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
  |------------- | ------------- | -------------|
@@ -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
- > TcxInstallationDetailsModel getGetDetails()
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
- **TcxInstallationDetailsModel**
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
+
@@ -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
  |------------- | ------------- | -------------|
@@ -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,
@@ -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
  |------------- | ------------- | -------------|
@@ -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
  |------------- | ------------- | -------------|
@@ -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
@@ -1,6 +1,6 @@
1
1
  # OrdersApi
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 @@ 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
 
@@ -1,6 +1,6 @@
1
1
  # PricingApi
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
  |------------- | ------------- | -------------|
@@ -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,
@@ -1,6 +1,6 @@
1
1
  # ProductsApi
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
  |------------- | ------------- | -------------|
@@ -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(postGetProductRequest)
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
- PostGetProductRequest
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 postGetProductRequest: PostGetProductRequest; //Product search criteria
442
+ let postGetProductForCustomerRequest: PostGetProductForCustomerRequest; //Product search criteria
443
443
 
444
444
  const { status, data } = await apiInstance.postGetProduct(
445
445
  sku,
446
- postGetProductRequest
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
- | **postGetProductRequest** | **PostGetProductRequest**| Product search criteria | |
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)