yellowgrid-api-ts 3.2.28-dev.0 → 3.2.28
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 +1 -9
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +0 -0
- package/README.md +2 -14
- package/api.ts +3784 -662
- package/base.ts +25 -1
- package/common.ts +39 -2
- package/config.json +3 -3
- package/configuration.ts +19 -25
- package/dist/api.d.ts +3697 -397
- package/dist/api.js +574 -591
- package/dist/base.d.ts +25 -1
- package/dist/base.js +20 -1
- package/dist/common.d.ts +38 -1
- package/dist/common.js +38 -1
- package/dist/configuration.d.ts +18 -25
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AbstractOrderRequestDTO.md +0 -0
- package/docs/AccountContactEntity.md +0 -0
- package/docs/AccountContactModel.md +0 -0
- package/docs/AccountContactRequestModel.md +0 -0
- package/docs/AccountDetailedSummaryDTO.md +0 -0
- package/docs/AccountRequestModel.md +0 -0
- package/docs/AccountSummaryDTO.md +0 -0
- package/docs/AccountsApi.md +0 -0
- package/docs/AccountsResponseModel.md +0 -0
- package/docs/AddressModel.md +0 -0
- package/docs/AddressRequestModel.md +0 -0
- package/docs/AdminOrderRequestDTO.md +0 -0
- package/docs/AdminUserModel.md +0 -0
- package/docs/AgentHoursGraphModel.md +0 -0
- package/docs/AgentHoursGraphMonthModel.md +0 -0
- package/docs/ApiLogEntity.md +0 -0
- package/docs/AreaCodeModel.md +0 -0
- package/docs/AttachmentModel.md +0 -0
- package/docs/AttributeSetEnum.md +0 -0
- package/docs/AuditLogEntity.md +0 -0
- package/docs/AuthCodeResponseModel.md +0 -0
- package/docs/BasicItemDTO.md +0 -0
- package/docs/BasicProductDTO.md +0 -0
- package/docs/BatchEntity.md +0 -0
- package/docs/CRMApi.md +0 -0
- package/docs/CallBarringModel.md +0 -0
- package/docs/Class3CXApi.md +0 -0
- package/docs/Class3CXInstallationWizardApi.md +56 -0
- package/docs/Class3CXInstallationsApi.md +60 -2
- package/docs/Class3CXIntegrationsApi.md +0 -0
- package/docs/Class3CXMultiTenantApi.md +0 -0
- package/docs/ClientDetailsModel.md +0 -0
- package/docs/ClientModel.md +0 -0
- package/docs/CompanyContractModel.md +0 -0
- package/docs/ContactInfoModel.md +0 -0
- package/docs/ConversationModel.md +0 -0
- package/docs/CourierPriceEntity.md +0 -0
- package/docs/CreditAccountEntity.md +0 -0
- package/docs/CrmContactDTO.md +0 -0
- package/docs/CustomerInformationModel.md +0 -0
- package/docs/CustomerItemRequestDTO.md +0 -0
- package/docs/CustomerOrderRequestDTO.md +0 -0
- package/docs/CustomerPriceListEnum.md +0 -0
- package/docs/CustomerSummaryReportDTO.md +0 -0
- package/docs/DdiRangeRequestModel.md +0 -0
- package/docs/DdiRangesRequestModel.md +0 -0
- package/docs/DetailedItemRequestDTO.md +0 -0
- package/docs/DetailedOrderRequestDTO.md +0 -0
- package/docs/DivertRequestModel.md +0 -0
- package/docs/DivertResponseModel.md +0 -0
- package/docs/EdTechProClientEntity.md +0 -0
- package/docs/EdTechProSchoolModel.md +0 -0
- package/docs/EdTechProSchoolsModel.md +0 -0
- package/docs/EdTechProSetupModel.md +0 -0
- package/docs/FraudManagementModel.md +0 -0
- package/docs/FreshdeskCompanyTicketsModel.md +0 -0
- package/docs/FreshdeskTicketEntity.md +0 -0
- package/docs/FtpAccountsEntity.md +0 -0
- package/docs/GenericFileModel.md +0 -0
- package/docs/GetGetPrice200Response.md +0 -0
- package/docs/GetGetRecording200Response.md +0 -0
- package/docs/HostingChangeResponseModel.md +0 -0
- package/docs/HostingRegionDTO.md +0 -0
- package/docs/InstanceAutoFailoverEntity.md +0 -0
- package/docs/InstanceDeletionScheduleEntity.md +0 -0
- package/docs/InstanceEntity.md +2 -0
- package/docs/InstanceFailoverEntity.md +0 -0
- package/docs/InstanceMonitoringEntity.md +0 -0
- package/docs/InstanceMonitoringLogEntity.md +0 -0
- package/docs/InstanceScheduledTasksEntity.md +0 -0
- package/docs/InstanceTcxDetailsEntity.md +0 -0
- package/docs/InstanceUserCredentialsEntity.md +0 -0
- package/docs/ItemDTO.md +0 -0
- package/docs/ItemDiscountEntity.md +0 -0
- package/docs/ItemEntity.md +0 -0
- package/docs/LinkedOrderEntity.md +0 -0
- package/docs/MFARequiredModel.md +0 -0
- package/docs/MonthlyUsageModel.md +0 -0
- package/docs/MultiTenantChangeResponseModel.md +0 -0
- package/docs/MyPBXToolsApi.md +0 -0
- package/docs/NavigationModel.md +0 -0
- package/docs/OAuth20Api.md +0 -0
- package/docs/OfflineInstancesEntity.md +0 -0
- package/docs/OrderEntity.md +0 -0
- package/docs/OrderRequestModel.md +0 -0
- package/docs/OrderSummariesModel.md +0 -0
- package/docs/OrderSummaryDTO.md +0 -0
- package/docs/OrderTotalModel.md +0 -0
- package/docs/OrderedItemEntity.md +0 -0
- package/docs/OrdersApi.md +0 -0
- package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
- package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
- package/docs/PortalAccountModel.md +0 -0
- package/docs/PortalLoginModel.md +0 -0
- package/docs/PostAddWebhook200Response.md +0 -0
- package/docs/PostGetClientCredentialsRequest.md +0 -0
- package/docs/PostGetProductForCustomerRequest.md +0 -0
- package/docs/PostGetProductRequest.md +0 -0
- package/docs/PriceListItemModel.md +0 -0
- package/docs/PricingApi.md +0 -0
- package/docs/PrizesEntity.md +0 -0
- package/docs/ProductPriceListItemModel.md +0 -0
- package/docs/ProductSearchResultsModel.md +0 -0
- package/docs/ProductSerialInfoModel.md +0 -0
- package/docs/ProductSummaryDTO.md +0 -0
- package/docs/ProductsApi.md +0 -0
- package/docs/PromoCodesEntity.md +0 -0
- package/docs/PromoItemsEntity.md +0 -0
- package/docs/ProvisioningApi.md +0 -0
- package/docs/ProvisioningModel.md +0 -0
- package/docs/ProvisioningRequestEntity.md +0 -0
- package/docs/RecordingBackupAzureModel.md +0 -0
- package/docs/RecordingsBackupInfoDTO.md +0 -0
- package/docs/ResourceNotReadyException.md +0 -0
- package/docs/RootAccessModel.md +0 -0
- package/docs/S3BucketEntity.md +0 -0
- package/docs/SIPTrunksApi.md +0 -0
- package/docs/SMSApi.md +0 -0
- package/docs/ScannedItemModel.md +0 -0
- package/docs/ScopeModel.md +0 -0
- package/docs/ShipmentAddressEntity.md +0 -0
- package/docs/ShipmentEntity.md +0 -0
- package/docs/ShipmentItemEntity.md +0 -0
- package/docs/ShippingApi.md +0 -0
- package/docs/ShippingConsignmentModel.md +0 -0
- package/docs/ShippingInformationDTO.md +0 -0
- package/docs/ShippingServiceDTO.md +0 -0
- package/docs/ShippingServiceModel.md +0 -0
- package/docs/ShippingServicesModel.md +0 -0
- package/docs/SipTrunkChangeResponseModel.md +0 -0
- package/docs/SipTrunkCreationRequestModel.md +0 -0
- package/docs/SipTrunkEntity.md +0 -0
- package/docs/SipTrunksResponseModel.md +0 -0
- package/docs/SmsAccountEntity.md +0 -0
- package/docs/SmsDataModel.md +0 -0
- package/docs/SmsMessageModel.md +0 -0
- package/docs/SmsNumbersEntity.md +0 -0
- package/docs/SmsPayloadModel.md +0 -0
- package/docs/SmsPhoneNumberModel.md +0 -0
- package/docs/SmsResponseModel.md +0 -0
- package/docs/SmsWhitelistEntity.md +0 -0
- package/docs/StockManagementApi.md +0 -0
- package/docs/StockOrderCourierEntity.md +0 -0
- package/docs/StockOrderDeductionModel.md +0 -0
- package/docs/StockOrderDeductionRequestModel.md +0 -0
- package/docs/StockOrderDeductionsEntity.md +0 -0
- package/docs/StockOrderEntity.md +0 -0
- package/docs/StockOrderItemEntity.md +0 -0
- package/docs/StockOrderItemModel.md +0 -0
- package/docs/StockOrderItemRequestModel.md +0 -0
- package/docs/StockOrderModel.md +0 -0
- package/docs/StockOrderProductEntity.md +0 -0
- package/docs/StockOrderRequestModel.md +0 -0
- package/docs/StockOrderSupplierEntity.md +0 -0
- package/docs/StockOrderSupplierModel.md +0 -0
- package/docs/StockOrdersModel.md +0 -0
- package/docs/StockProductModel.md +0 -0
- package/docs/StockProductPriceModel.md +0 -0
- package/docs/StockProductSummariesModel.md +0 -0
- package/docs/StockProductSummaryModel.md +0 -0
- package/docs/StockTransactionsEntity.md +0 -0
- package/docs/SupplierEntity.md +0 -0
- package/docs/SupplierItemEntity.md +0 -0
- package/docs/SystemApi.md +0 -0
- package/docs/TcxBackupEntity.md +0 -0
- package/docs/TcxBackupModel.md +0 -0
- package/docs/TcxBillingEntity.md +0 -0
- package/docs/TcxBulkLicenceDetailsModel.md +0 -0
- package/docs/TcxDeadLicenceEntity.md +0 -0
- package/docs/TcxExtsEntity.md +0 -0
- package/docs/TcxHostingPricingEntity.md +0 -0
- package/docs/TcxInstallationDetailsModel.md +0 -0
- package/docs/TcxInstallationModel.md +2 -0
- package/docs/TcxInstallationsModel.md +0 -0
- package/docs/TcxKeySummaryDTO.md +0 -0
- package/docs/TcxKeysEntity.md +0 -0
- package/docs/TcxLicenceDetailsErrorModel.md +0 -0
- package/docs/TcxLicenceDetailsModel.md +0 -0
- package/docs/TcxMacsEntity.md +0 -0
- package/docs/TcxMultiTenantModel.md +0 -0
- package/docs/TcxMultiTenantUserModel.md +0 -0
- package/docs/TcxMultiTenantsModel.md +0 -0
- package/docs/TcxNumbersEntity.md +0 -0
- package/docs/TcxOfficeHoursEntity.md +0 -0
- package/docs/TcxPhoneModel.md +0 -0
- package/docs/TcxPhonesEntity.md +0 -0
- package/docs/TcxRemoteStorageModel.md +0 -0
- package/docs/TcxSbcDTO.md +0 -0
- package/docs/TcxSbcEntity.md +0 -0
- package/docs/TcxSbcModel.md +0 -0
- package/docs/TcxSetupEntity.md +0 -0
- package/docs/TcxSetupsModel.md +0 -0
- package/docs/TcxSipTrunksEntity.md +0 -0
- package/docs/TcxTemplateXmlEnum.md +0 -0
- package/docs/TcxUsersEntity.md +0 -0
- package/docs/TcxWizardConfigModel.md +0 -0
- package/docs/TcxWizardModel.md +0 -0
- package/docs/TechSupportCompanySummaryDTO.md +0 -0
- package/docs/TelephonySupportTicketModel.md +0 -0
- package/docs/TicketSummaryModel.md +0 -0
- package/docs/TicketTimeDTO.md +0 -0
- package/docs/TicketsApi.md +0 -0
- package/docs/TokenResponseModel.md +0 -0
- package/docs/UpgradeOrderResponseModel.md +0 -0
- package/docs/UpgradeRequestModel.md +0 -0
- package/docs/UserEntity.md +0 -0
- package/docs/WebhooksApi.md +0 -0
- package/docs/XeroLogEntity.md +0 -0
- package/git_push.sh +0 -0
- package/index.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +0 -0
- package/docs/EventDTO.md +0 -35
- package/docs/EventRequestDTO.md +0 -25
- package/docs/EventSubscriptionModel.md +0 -23
- package/docs/EventUpdateDTO.md +0 -27
- package/docs/EventUpdateEntity.md +0 -29
- package/docs/EventUpdateRequestDTO.md +0 -23
- package/docs/IncidentDTO.md +0 -35
- package/docs/IncidentRequestDTO.md +0 -25
- package/docs/IncidentSubscriptionModel.md +0 -23
- package/docs/IncidentUpdateDTO.md +0 -27
- package/docs/IncidentUpdateEntity.md +0 -29
- package/docs/IncidentUpdateRequestDTO.md +0 -23
- package/docs/NumberPortDTO.md +0 -51
- package/docs/NumberPortEntity.md +0 -47
- package/docs/NumberPortModel.md +0 -51
- package/docs/NumberPortRangeDTO.md +0 -33
- package/docs/NumberPortRangeRequestDTO.md +0 -27
- package/docs/NumberPortingApi.md +0 -658
- package/docs/NumberPortsModel.md +0 -27
- package/docs/ServiceHealthDTO.md +0 -23
- package/docs/ServiceStatusDTO.md +0 -27
- package/docs/ServicesApi.md +0 -330
- package/docs/SupportTicketModel.md +0 -41
package/docs/ServiceStatusDTO.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# ServiceStatusDTO
|
|
2
|
-
|
|
3
|
-
Service Status DTO
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**statusName** | **string** | Service Status Description | [optional] [default to undefined]
|
|
10
|
-
**name** | **string** | Service Name | [optional] [default to undefined]
|
|
11
|
-
**status** | **number** | Service Status | [optional] [default to undefined]
|
|
12
|
-
**events** | [**Array<EventDTO>**](EventDTO.md) | Service Events | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { ServiceStatusDTO } from 'yellowgrid-api-ts';
|
|
18
|
-
|
|
19
|
-
const instance: ServiceStatusDTO = {
|
|
20
|
-
statusName,
|
|
21
|
-
name,
|
|
22
|
-
status,
|
|
23
|
-
events,
|
|
24
|
-
};
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
[[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/ServicesApi.md
DELETED
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
# ServicesApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://api.yellowgrid.local*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteUnsubscribe**](#deleteunsubscribe) | **DELETE** /services/events/unsubscribe | |
|
|
8
|
-
|[**getGetServiceHealth**](#getgetservicehealth) | **GET** /services/health | |
|
|
9
|
-
|[**patchArchiveEvent**](#patcharchiveevent) | **PATCH** /services/events/{id}/archive | |
|
|
10
|
-
|[**postCreateEvent**](#postcreateevent) | **POST** /services/events | |
|
|
11
|
-
|[**postCreateEventUpdate**](#postcreateeventupdate) | **POST** /services/events/{id}/updates | |
|
|
12
|
-
|[**postSubscribe**](#postsubscribe) | **POST** /services/events/subscribe | |
|
|
13
|
-
|
|
14
|
-
# **deleteUnsubscribe**
|
|
15
|
-
> deleteUnsubscribe()
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import {
|
|
22
|
-
ServicesApi,
|
|
23
|
-
Configuration
|
|
24
|
-
} from 'yellowgrid-api-ts';
|
|
25
|
-
|
|
26
|
-
const configuration = new Configuration();
|
|
27
|
-
const apiInstance = new ServicesApi(configuration);
|
|
28
|
-
|
|
29
|
-
let id: string; //Unsubscribe Email ID (optional) (default to undefined)
|
|
30
|
-
let email: string; //Unsubscribe Email Address (optional) (default to undefined)
|
|
31
|
-
|
|
32
|
-
const { status, data } = await apiInstance.deleteUnsubscribe(
|
|
33
|
-
id,
|
|
34
|
-
email
|
|
35
|
-
);
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Parameters
|
|
39
|
-
|
|
40
|
-
|Name | Type | Description | Notes|
|
|
41
|
-
|------------- | ------------- | ------------- | -------------|
|
|
42
|
-
| **id** | [**string**] | Unsubscribe Email ID | (optional) defaults to undefined|
|
|
43
|
-
| **email** | [**string**] | Unsubscribe Email Address | (optional) defaults to undefined|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Return type
|
|
47
|
-
|
|
48
|
-
void (empty response body)
|
|
49
|
-
|
|
50
|
-
### Authorization
|
|
51
|
-
|
|
52
|
-
No authorization required
|
|
53
|
-
|
|
54
|
-
### HTTP request headers
|
|
55
|
-
|
|
56
|
-
- **Content-Type**: Not defined
|
|
57
|
-
- **Accept**: Not defined
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### HTTP response details
|
|
61
|
-
| Status code | Description | Response headers |
|
|
62
|
-
|-------------|-------------|------------------|
|
|
63
|
-
|**200** | No Response | - |
|
|
64
|
-
|**400** | Bad Request | - |
|
|
65
|
-
|**401** | Unauthorised | - |
|
|
66
|
-
|**403** | Access Denied | - |
|
|
67
|
-
|
|
68
|
-
[[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)
|
|
69
|
-
|
|
70
|
-
# **getGetServiceHealth**
|
|
71
|
-
> ServiceHealthDTO getGetServiceHealth()
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Example
|
|
75
|
-
|
|
76
|
-
```typescript
|
|
77
|
-
import {
|
|
78
|
-
ServicesApi,
|
|
79
|
-
Configuration
|
|
80
|
-
} from 'yellowgrid-api-ts';
|
|
81
|
-
|
|
82
|
-
const configuration = new Configuration();
|
|
83
|
-
const apiInstance = new ServicesApi(configuration);
|
|
84
|
-
|
|
85
|
-
const { status, data } = await apiInstance.getGetServiceHealth();
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Parameters
|
|
89
|
-
This endpoint does not have any parameters.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Return type
|
|
93
|
-
|
|
94
|
-
**ServiceHealthDTO**
|
|
95
|
-
|
|
96
|
-
### Authorization
|
|
97
|
-
|
|
98
|
-
No authorization required
|
|
99
|
-
|
|
100
|
-
### HTTP request headers
|
|
101
|
-
|
|
102
|
-
- **Content-Type**: Not defined
|
|
103
|
-
- **Accept**: application/json
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### HTTP response details
|
|
107
|
-
| Status code | Description | Response headers |
|
|
108
|
-
|-------------|-------------|------------------|
|
|
109
|
-
|**200** | Service Health DTO | - |
|
|
110
|
-
|**400** | Bad Request | - |
|
|
111
|
-
|
|
112
|
-
[[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)
|
|
113
|
-
|
|
114
|
-
# **patchArchiveEvent**
|
|
115
|
-
> EventDTO patchArchiveEvent()
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Example
|
|
119
|
-
|
|
120
|
-
```typescript
|
|
121
|
-
import {
|
|
122
|
-
ServicesApi,
|
|
123
|
-
Configuration
|
|
124
|
-
} from 'yellowgrid-api-ts';
|
|
125
|
-
|
|
126
|
-
const configuration = new Configuration();
|
|
127
|
-
const apiInstance = new ServicesApi(configuration);
|
|
128
|
-
|
|
129
|
-
let id: string; //Group ID (default to undefined)
|
|
130
|
-
|
|
131
|
-
const { status, data } = await apiInstance.patchArchiveEvent(
|
|
132
|
-
id
|
|
133
|
-
);
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Parameters
|
|
137
|
-
|
|
138
|
-
|Name | Type | Description | Notes|
|
|
139
|
-
|------------- | ------------- | ------------- | -------------|
|
|
140
|
-
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
### Return type
|
|
144
|
-
|
|
145
|
-
**EventDTO**
|
|
146
|
-
|
|
147
|
-
### Authorization
|
|
148
|
-
|
|
149
|
-
No authorization required
|
|
150
|
-
|
|
151
|
-
### HTTP request headers
|
|
152
|
-
|
|
153
|
-
- **Content-Type**: Not defined
|
|
154
|
-
- **Accept**: application/json
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
### HTTP response details
|
|
158
|
-
| Status code | Description | Response headers |
|
|
159
|
-
|-------------|-------------|------------------|
|
|
160
|
-
|**200** | Service Event DTO | - |
|
|
161
|
-
|**400** | Bad Request | - |
|
|
162
|
-
|**401** | Unauthorised | - |
|
|
163
|
-
|**403** | Access Denied | - |
|
|
164
|
-
|
|
165
|
-
[[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)
|
|
166
|
-
|
|
167
|
-
# **postCreateEvent**
|
|
168
|
-
> EventDTO postCreateEvent()
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### Example
|
|
172
|
-
|
|
173
|
-
```typescript
|
|
174
|
-
import {
|
|
175
|
-
ServicesApi,
|
|
176
|
-
Configuration,
|
|
177
|
-
EventRequestDTO
|
|
178
|
-
} from 'yellowgrid-api-ts';
|
|
179
|
-
|
|
180
|
-
const configuration = new Configuration();
|
|
181
|
-
const apiInstance = new ServicesApi(configuration);
|
|
182
|
-
|
|
183
|
-
let eventRequestDTO: EventRequestDTO; // (optional)
|
|
184
|
-
|
|
185
|
-
const { status, data } = await apiInstance.postCreateEvent(
|
|
186
|
-
eventRequestDTO
|
|
187
|
-
);
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### Parameters
|
|
191
|
-
|
|
192
|
-
|Name | Type | Description | Notes|
|
|
193
|
-
|------------- | ------------- | ------------- | -------------|
|
|
194
|
-
| **eventRequestDTO** | **EventRequestDTO**| | |
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
### Return type
|
|
198
|
-
|
|
199
|
-
**EventDTO**
|
|
200
|
-
|
|
201
|
-
### Authorization
|
|
202
|
-
|
|
203
|
-
No authorization required
|
|
204
|
-
|
|
205
|
-
### HTTP request headers
|
|
206
|
-
|
|
207
|
-
- **Content-Type**: application/json
|
|
208
|
-
- **Accept**: application/json
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
### HTTP response details
|
|
212
|
-
| Status code | Description | Response headers |
|
|
213
|
-
|-------------|-------------|------------------|
|
|
214
|
-
|**200** | Service Event DTO | - |
|
|
215
|
-
|**400** | Bad Request | - |
|
|
216
|
-
|**401** | Unauthorised | - |
|
|
217
|
-
|**403** | Access Denied | - |
|
|
218
|
-
|
|
219
|
-
[[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)
|
|
220
|
-
|
|
221
|
-
# **postCreateEventUpdate**
|
|
222
|
-
> EventDTO postCreateEventUpdate()
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
### Example
|
|
226
|
-
|
|
227
|
-
```typescript
|
|
228
|
-
import {
|
|
229
|
-
ServicesApi,
|
|
230
|
-
Configuration,
|
|
231
|
-
EventUpdateRequestDTO
|
|
232
|
-
} from 'yellowgrid-api-ts';
|
|
233
|
-
|
|
234
|
-
const configuration = new Configuration();
|
|
235
|
-
const apiInstance = new ServicesApi(configuration);
|
|
236
|
-
|
|
237
|
-
let id: string; //Group ID (default to undefined)
|
|
238
|
-
let eventUpdateRequestDTO: EventUpdateRequestDTO; // (optional)
|
|
239
|
-
|
|
240
|
-
const { status, data } = await apiInstance.postCreateEventUpdate(
|
|
241
|
-
id,
|
|
242
|
-
eventUpdateRequestDTO
|
|
243
|
-
);
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
### Parameters
|
|
247
|
-
|
|
248
|
-
|Name | Type | Description | Notes|
|
|
249
|
-
|------------- | ------------- | ------------- | -------------|
|
|
250
|
-
| **eventUpdateRequestDTO** | **EventUpdateRequestDTO**| | |
|
|
251
|
-
| **id** | [**string**] | Group ID | defaults to undefined|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
### Return type
|
|
255
|
-
|
|
256
|
-
**EventDTO**
|
|
257
|
-
|
|
258
|
-
### Authorization
|
|
259
|
-
|
|
260
|
-
No authorization required
|
|
261
|
-
|
|
262
|
-
### HTTP request headers
|
|
263
|
-
|
|
264
|
-
- **Content-Type**: application/json
|
|
265
|
-
- **Accept**: application/json
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
### HTTP response details
|
|
269
|
-
| Status code | Description | Response headers |
|
|
270
|
-
|-------------|-------------|------------------|
|
|
271
|
-
|**200** | Service Event DTO | - |
|
|
272
|
-
|**400** | Bad Request | - |
|
|
273
|
-
|**401** | Unauthorised | - |
|
|
274
|
-
|**403** | Access Denied | - |
|
|
275
|
-
|
|
276
|
-
[[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)
|
|
277
|
-
|
|
278
|
-
# **postSubscribe**
|
|
279
|
-
> postSubscribe()
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
### Example
|
|
283
|
-
|
|
284
|
-
```typescript
|
|
285
|
-
import {
|
|
286
|
-
ServicesApi,
|
|
287
|
-
Configuration
|
|
288
|
-
} from 'yellowgrid-api-ts';
|
|
289
|
-
|
|
290
|
-
const configuration = new Configuration();
|
|
291
|
-
const apiInstance = new ServicesApi(configuration);
|
|
292
|
-
|
|
293
|
-
let email: string; //Subscription Email Address (optional) (default to undefined)
|
|
294
|
-
|
|
295
|
-
const { status, data } = await apiInstance.postSubscribe(
|
|
296
|
-
email
|
|
297
|
-
);
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### Parameters
|
|
301
|
-
|
|
302
|
-
|Name | Type | Description | Notes|
|
|
303
|
-
|------------- | ------------- | ------------- | -------------|
|
|
304
|
-
| **email** | [**string**] | Subscription Email Address | (optional) defaults to undefined|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
### Return type
|
|
308
|
-
|
|
309
|
-
void (empty response body)
|
|
310
|
-
|
|
311
|
-
### Authorization
|
|
312
|
-
|
|
313
|
-
No authorization required
|
|
314
|
-
|
|
315
|
-
### HTTP request headers
|
|
316
|
-
|
|
317
|
-
- **Content-Type**: Not defined
|
|
318
|
-
- **Accept**: Not defined
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
### HTTP response details
|
|
322
|
-
| Status code | Description | Response headers |
|
|
323
|
-
|-------------|-------------|------------------|
|
|
324
|
-
|**200** | No Response | - |
|
|
325
|
-
|**400** | Bad Request | - |
|
|
326
|
-
|**401** | Unauthorised | - |
|
|
327
|
-
|**403** | Access Denied | - |
|
|
328
|
-
|
|
329
|
-
[[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)
|
|
330
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# SupportTicketModel
|
|
2
|
-
|
|
3
|
-
Telephony Support Ticket
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**id** | **number** | Ticket ID | [optional] [default to undefined]
|
|
10
|
-
**status** | **string** | Ticket status | [optional] [default to undefined]
|
|
11
|
-
**statusId** | **number** | Ticket status ID | [optional] [default to undefined]
|
|
12
|
-
**subject** | **string** | Ticket subject | [optional] [default to undefined]
|
|
13
|
-
**supportEmail** | **string** | Support email address | [optional] [default to undefined]
|
|
14
|
-
**toEmails** | **Array<string>** | Recipient emails | [optional] [default to undefined]
|
|
15
|
-
**description** | **string** | Ticket description (HTML) | [optional] [default to undefined]
|
|
16
|
-
**descriptionText** | **string** | Ticket description (plain text) | [optional] [default to undefined]
|
|
17
|
-
**createdAt** | **string** | Creation timestamp | [optional] [default to undefined]
|
|
18
|
-
**attachments** | [**Array<AttachmentModel>**](AttachmentModel.md) | Attachments | [optional] [default to undefined]
|
|
19
|
-
**conversations** | [**Array<ConversationModel>**](ConversationModel.md) | Conversations | [optional] [default to undefined]
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { SupportTicketModel } from 'yellowgrid-api-ts';
|
|
25
|
-
|
|
26
|
-
const instance: SupportTicketModel = {
|
|
27
|
-
id,
|
|
28
|
-
status,
|
|
29
|
-
statusId,
|
|
30
|
-
subject,
|
|
31
|
-
supportEmail,
|
|
32
|
-
toEmails,
|
|
33
|
-
description,
|
|
34
|
-
descriptionText,
|
|
35
|
-
createdAt,
|
|
36
|
-
attachments,
|
|
37
|
-
conversations,
|
|
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)
|