@pidginhost/sdk 0.2.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.
- package/.openapi-generator/FILES +223 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +727 -0
- package/api.ts +33802 -0
- package/base.ts +62 -0
- package/common.ts +128 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +15244 -0
- package/dist/api.js +30223 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +35 -0
- package/dist/common.js +140 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +15244 -0
- package/dist/esm/api.js +30179 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +35 -0
- package/dist/esm/common.js +127 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/pidginhost.d.ts +8 -0
- package/dist/esm/pidginhost.js +13 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +34 -0
- package/dist/pidginhost.d.ts +8 -0
- package/dist/pidginhost.js +17 -0
- package/docs/APITokenCreate.md +28 -0
- package/docs/APITokenList.md +32 -0
- package/docs/AccountApi.md +1999 -0
- package/docs/ActivateFreeDNS.md +24 -0
- package/docs/ActivateFreeDNSResponse.md +24 -0
- package/docs/ActivityLogEntry.md +22 -0
- package/docs/ActivityLogResponse.md +20 -0
- package/docs/AddServerResponse.md +20 -0
- package/docs/Address.md +34 -0
- package/docs/AttachIPv4.md +20 -0
- package/docs/AttachIPv6.md +20 -0
- package/docs/AttachVolume.md +20 -0
- package/docs/BillingApi.md +1885 -0
- package/docs/CancelServiceResponse.md +22 -0
- package/docs/ChangeBillingCycle.md +20 -0
- package/docs/ChangeBillingCycleResponse.md +22 -0
- package/docs/ChangeCompany.md +20 -0
- package/docs/ChangeCompanyResponse.md +22 -0
- package/docs/ChangePassword.md +20 -0
- package/docs/CheckAvailability.md +20 -0
- package/docs/CloudApi.md +8433 -0
- package/docs/ClusterAdd.md +32 -0
- package/docs/ClusterAddResponse.md +20 -0
- package/docs/ClusterDetail.md +48 -0
- package/docs/ClusterPackage.md +24 -0
- package/docs/ClusterType.md +26 -0
- package/docs/ClusterTypeEnum.md +11 -0
- package/docs/Company.md +36 -0
- package/docs/ConnectVMRequest.md +20 -0
- package/docs/ConnectVMResponse.md +22 -0
- package/docs/ConnectedVM.md +24 -0
- package/docs/ConnectedVMsResponse.md +20 -0
- package/docs/ConsoleToken.md +22 -0
- package/docs/ContactTypeEnum.md +15 -0
- package/docs/ContactsUpdate.md +22 -0
- package/docs/ContactsUpdateResponse.md +20 -0
- package/docs/CountryEnum.md +515 -0
- package/docs/DNSRecord.md +53 -0
- package/docs/DNSRecordCreate.md +53 -0
- package/docs/DNSRecordCreateTypeEnum.md +21 -0
- package/docs/DNSRecordMutateResponse.md +22 -0
- package/docs/DeactivateFreeDNS.md +22 -0
- package/docs/DeactivateFreeDNSResponse.md +20 -0
- package/docs/DedicatedApi.md +551 -0
- package/docs/DedicatedRDNS.md +22 -0
- package/docs/DedicatedServer.md +39 -0
- package/docs/DeleteRecord.md +20 -0
- package/docs/DeleteRecordResponse.md +22 -0
- package/docs/Department.md +22 -0
- package/docs/Deposit.md +32 -0
- package/docs/DepositCreate.md +20 -0
- package/docs/DepositStatusEnum.md +15 -0
- package/docs/DestroyProtection.md +20 -0
- package/docs/DetachIPv4.md +20 -0
- package/docs/DetachIPv4Response.md +20 -0
- package/docs/DetachIPv6.md +20 -0
- package/docs/DetachIPv6Response.md +20 -0
- package/docs/DetachVolume.md +20 -0
- package/docs/DisconnectVMRequest.md +20 -0
- package/docs/DisconnectVMResponse.md +22 -0
- package/docs/Domain.md +42 -0
- package/docs/DomainApi.md +2047 -0
- package/docs/DomainCancelResponse.md +22 -0
- package/docs/DomainCreate.md +24 -0
- package/docs/DomainRegistrant.md +44 -0
- package/docs/EmailHistory.md +28 -0
- package/docs/FeatureUpgradeRequest.md +22 -0
- package/docs/FeatureUpgradeResponse.md +22 -0
- package/docs/FeaturesEnum.md +17 -0
- package/docs/FirewallRule.md +42 -0
- package/docs/FirewallRuleDirectionEnum.md +11 -0
- package/docs/FirewallRulesSet.md +28 -0
- package/docs/FirewallRulesSetStatusEnum.md +13 -0
- package/docs/FreeDNSDomain.md +24 -0
- package/docs/FreednsApi.md +655 -0
- package/docs/FundsBalanceResponse.md +26 -0
- package/docs/FundsLog.md +30 -0
- package/docs/FwPolicyOutEnum.md +13 -0
- package/docs/HTTPRoute.md +45 -0
- package/docs/HostingApi.md +327 -0
- package/docs/HostingChangePasswordResponse.md +20 -0
- package/docs/HostingService.md +39 -0
- package/docs/InvoiceDetail.md +50 -0
- package/docs/InvoiceList.md +40 -0
- package/docs/KubeUpgradeResponse.md +20 -0
- package/docs/KubeVersionEnum.md +13 -0
- package/docs/KubernetesApi.md +6209 -0
- package/docs/LBFirewallRule.md +44 -0
- package/docs/LBFirewallRuleActionEnum.md +13 -0
- package/docs/LBFirewallRuleDirectionEnum.md +11 -0
- package/docs/LowBalanceSettings.md +24 -0
- package/docs/NameserversUpdate.md +20 -0
- package/docs/NameserversUpdateResponse.md +20 -0
- package/docs/NodeMetricsResponse.md +32 -0
- package/docs/NodeRRDResponse.md +22 -0
- package/docs/NotificationSettingsResponse.md +26 -0
- package/docs/OSImage.md +28 -0
- package/docs/OperationEnum.md +27 -0
- package/docs/PaginatedAPITokenListList.md +26 -0
- package/docs/PaginatedClusterDetailList.md +26 -0
- package/docs/PaginatedClusterTypeList.md +26 -0
- package/docs/PaginatedCompanyList.md +26 -0
- package/docs/PaginatedDedicatedServerList.md +26 -0
- package/docs/PaginatedDepositList.md +26 -0
- package/docs/PaginatedDomainList.md +26 -0
- package/docs/PaginatedDomainRegistrantList.md +26 -0
- package/docs/PaginatedEmailHistoryList.md +26 -0
- package/docs/PaginatedFundsLogList.md +26 -0
- package/docs/PaginatedHostingServiceList.md +26 -0
- package/docs/PaginatedInvoiceListList.md +26 -0
- package/docs/PaginatedLBFirewallRuleList.md +26 -0
- package/docs/PaginatedOSImageList.md +26 -0
- package/docs/PaginatedPrivateNetworkList.md +26 -0
- package/docs/PaginatedPublicIPv4List.md +26 -0
- package/docs/PaginatedPublicIPv6List.md +26 -0
- package/docs/PaginatedResourcePoolList.md +26 -0
- package/docs/PaginatedResourcePoolNodeList.md +26 -0
- package/docs/PaginatedSSHKeyList.md +26 -0
- package/docs/PaginatedServerList.md +26 -0
- package/docs/PaginatedServerProductList.md +26 -0
- package/docs/PaginatedServiceListList.md +26 -0
- package/docs/PaginatedSnapshotList.md +26 -0
- package/docs/PaginatedStorageProductList.md +26 -0
- package/docs/PaginatedSubscriptionList.md +26 -0
- package/docs/PaginatedTLDList.md +26 -0
- package/docs/PaginatedTicketListList.md +26 -0
- package/docs/PatchedClusterDetail.md +48 -0
- package/docs/PatchedCompany.md +36 -0
- package/docs/PatchedDomain.md +42 -0
- package/docs/PatchedDomainRegistrant.md +44 -0
- package/docs/PatchedFirewallRule.md +42 -0
- package/docs/PatchedFirewallRulesSet.md +28 -0
- package/docs/PatchedHTTPRoute.md +45 -0
- package/docs/PatchedLBFirewallRule.md +44 -0
- package/docs/PatchedPrivateNetwork.md +30 -0
- package/docs/PatchedProfile.md +26 -0
- package/docs/PatchedResourcePool.md +28 -0
- package/docs/PatchedSSHKey.md +26 -0
- package/docs/PatchedTCPRoute.md +41 -0
- package/docs/PatchedUDPRoute.md +41 -0
- package/docs/PatchedVolume.md +32 -0
- package/docs/PayWithFundsResponse.md +22 -0
- package/docs/PowerAction.md +20 -0
- package/docs/PowerActionActionEnum.md +15 -0
- package/docs/PowerActionResponse.md +20 -0
- package/docs/PowerManagement.md +20 -0
- package/docs/PowerManagementRequest.md +20 -0
- package/docs/PowerManagementRequestActionEnum.md +15 -0
- package/docs/Priority3cdEnum.md +13 -0
- package/docs/PrivateNetwork.md +30 -0
- package/docs/PrivateNetworkAddHost.md +22 -0
- package/docs/PrivateNetworkRemoveHost.md +20 -0
- package/docs/Profile.md +26 -0
- package/docs/PublicIPv4.md +32 -0
- package/docs/PublicIPv6.md +32 -0
- package/docs/PublicInterface.md +30 -0
- package/docs/RDNSUpdateResponse.md +20 -0
- package/docs/Reinstall.md +20 -0
- package/docs/ReinstallResponse.md +20 -0
- package/docs/RemoveServerResponse.md +20 -0
- package/docs/RenewDomain.md +20 -0
- package/docs/ResourcePool.md +28 -0
- package/docs/ResourcePoolAdd.md +22 -0
- package/docs/ResourcePoolAddResponse.md +20 -0
- package/docs/ResourcePoolNode.md +24 -0
- package/docs/RetryProvision.md +20 -0
- package/docs/ReverseDNS.md +20 -0
- package/docs/SSHKey.md +26 -0
- package/docs/SchemaApi.md +117 -0
- package/docs/ScopeEnum.md +11 -0
- package/docs/Server.md +42 -0
- package/docs/ServerAdd.md +58 -0
- package/docs/ServerAddResponse.md +20 -0
- package/docs/ServerProduct.md +24 -0
- package/docs/ServerProductUpgrade.md +20 -0
- package/docs/ServerUpgradeResponse.md +20 -0
- package/docs/ServerUsageResponse.md +28 -0
- package/docs/Service.md +40 -0
- package/docs/ServiceList.md +36 -0
- package/docs/Snapshot.md +30 -0
- package/docs/SnapshotCreate.md +24 -0
- package/docs/SnapshotCreateQueued.md +20 -0
- package/docs/SnapshotDeleteQueued.md +20 -0
- package/docs/SnapshotRollbackQueued.md +20 -0
- package/docs/SourceEnum.md +11 -0
- package/docs/Status03cEnum.md +21 -0
- package/docs/Status63aEnum.md +23 -0
- package/docs/StatusA57Enum.md +31 -0
- package/docs/StatusEf2Enum.md +15 -0
- package/docs/StorageProduct.md +34 -0
- package/docs/Subscription.md +34 -0
- package/docs/SubscriptionStatusEnum.md +15 -0
- package/docs/SupportApi.md +841 -0
- package/docs/TCPRoute.md +41 -0
- package/docs/TLD.md +38 -0
- package/docs/TalosUpgradeResponse.md +20 -0
- package/docs/ThresholdTypeEnum.md +13 -0
- package/docs/TicketCloseResponse.md +22 -0
- package/docs/TicketCreate.md +30 -0
- package/docs/TicketCreatePriorityEnum.md +13 -0
- package/docs/TicketDetail.md +34 -0
- package/docs/TicketList.md +32 -0
- package/docs/TicketReopenResponse.md +22 -0
- package/docs/TicketReply.md +22 -0
- package/docs/TicketReplyResponse.md +20 -0
- package/docs/ToggleAutoPaymentResponse.md +22 -0
- package/docs/TransferRoDomain.md +22 -0
- package/docs/Type2faEnum.md +11 -0
- package/docs/UDPRoute.md +41 -0
- package/docs/Volume.md +32 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/package.json +33 -0
- package/pidginhost.ts +20 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,841 @@
|
|
|
1
|
+
# SupportApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://www.pidginhost.com*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**supportDepartmentsList**](#supportdepartmentslist) | **GET** /api/support/departments/ | |
|
|
8
|
+
|[**supportDepartmentsList2**](#supportdepartmentslist2) | **GET** /api/v1/support/departments/ | |
|
|
9
|
+
|[**supportTicketsCloseCreate**](#supportticketsclosecreate) | **POST** /api/support/tickets/{id}/close/ | |
|
|
10
|
+
|[**supportTicketsCloseCreate2**](#supportticketsclosecreate2) | **POST** /api/v1/support/tickets/{id}/close/ | |
|
|
11
|
+
|[**supportTicketsCreate**](#supportticketscreate) | **POST** /api/support/tickets/ | |
|
|
12
|
+
|[**supportTicketsCreate2**](#supportticketscreate2) | **POST** /api/v1/support/tickets/ | |
|
|
13
|
+
|[**supportTicketsList**](#supportticketslist) | **GET** /api/support/tickets/ | |
|
|
14
|
+
|[**supportTicketsList2**](#supportticketslist2) | **GET** /api/v1/support/tickets/ | |
|
|
15
|
+
|[**supportTicketsMessagesAttachmentRetrieve**](#supportticketsmessagesattachmentretrieve) | **GET** /api/support/tickets/{id}/messages/{message_id}/attachment/ | |
|
|
16
|
+
|[**supportTicketsMessagesAttachmentRetrieve2**](#supportticketsmessagesattachmentretrieve2) | **GET** /api/v1/support/tickets/{id}/messages/{message_id}/attachment/ | |
|
|
17
|
+
|[**supportTicketsReopenCreate**](#supportticketsreopencreate) | **POST** /api/support/tickets/{id}/reopen/ | |
|
|
18
|
+
|[**supportTicketsReopenCreate2**](#supportticketsreopencreate2) | **POST** /api/v1/support/tickets/{id}/reopen/ | |
|
|
19
|
+
|[**supportTicketsReplyCreate**](#supportticketsreplycreate) | **POST** /api/support/tickets/{id}/reply/ | |
|
|
20
|
+
|[**supportTicketsReplyCreate2**](#supportticketsreplycreate2) | **POST** /api/v1/support/tickets/{id}/reply/ | |
|
|
21
|
+
|[**supportTicketsRetrieve**](#supportticketsretrieve) | **GET** /api/support/tickets/{id}/ | |
|
|
22
|
+
|[**supportTicketsRetrieve2**](#supportticketsretrieve2) | **GET** /api/v1/support/tickets/{id}/ | |
|
|
23
|
+
|
|
24
|
+
# **supportDepartmentsList**
|
|
25
|
+
> Array<Department> supportDepartmentsList()
|
|
26
|
+
|
|
27
|
+
List available support departments.
|
|
28
|
+
|
|
29
|
+
### Example
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import {
|
|
33
|
+
SupportApi,
|
|
34
|
+
Configuration
|
|
35
|
+
} from '@pidginhost/sdk';
|
|
36
|
+
|
|
37
|
+
const configuration = new Configuration();
|
|
38
|
+
const apiInstance = new SupportApi(configuration);
|
|
39
|
+
|
|
40
|
+
const { status, data } = await apiInstance.supportDepartmentsList();
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Parameters
|
|
44
|
+
This endpoint does not have any parameters.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Return type
|
|
48
|
+
|
|
49
|
+
**Array<Department>**
|
|
50
|
+
|
|
51
|
+
### Authorization
|
|
52
|
+
|
|
53
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
54
|
+
|
|
55
|
+
### HTTP request headers
|
|
56
|
+
|
|
57
|
+
- **Content-Type**: Not defined
|
|
58
|
+
- **Accept**: application/json
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### HTTP response details
|
|
62
|
+
| Status code | Description | Response headers |
|
|
63
|
+
|-------------|-------------|------------------|
|
|
64
|
+
|**200** | | - |
|
|
65
|
+
|
|
66
|
+
[[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)
|
|
67
|
+
|
|
68
|
+
# **supportDepartmentsList2**
|
|
69
|
+
> Array<Department> supportDepartmentsList2()
|
|
70
|
+
|
|
71
|
+
List available support departments.
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
import {
|
|
77
|
+
SupportApi,
|
|
78
|
+
Configuration
|
|
79
|
+
} from '@pidginhost/sdk';
|
|
80
|
+
|
|
81
|
+
const configuration = new Configuration();
|
|
82
|
+
const apiInstance = new SupportApi(configuration);
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.supportDepartmentsList2();
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
This endpoint does not have any parameters.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Return type
|
|
92
|
+
|
|
93
|
+
**Array<Department>**
|
|
94
|
+
|
|
95
|
+
### Authorization
|
|
96
|
+
|
|
97
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
98
|
+
|
|
99
|
+
### HTTP request headers
|
|
100
|
+
|
|
101
|
+
- **Content-Type**: Not defined
|
|
102
|
+
- **Accept**: application/json
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### HTTP response details
|
|
106
|
+
| Status code | Description | Response headers |
|
|
107
|
+
|-------------|-------------|------------------|
|
|
108
|
+
|**200** | | - |
|
|
109
|
+
|
|
110
|
+
[[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)
|
|
111
|
+
|
|
112
|
+
# **supportTicketsCloseCreate**
|
|
113
|
+
> TicketCloseResponse supportTicketsCloseCreate()
|
|
114
|
+
|
|
115
|
+
Close a ticket.
|
|
116
|
+
|
|
117
|
+
### Example
|
|
118
|
+
|
|
119
|
+
```typescript
|
|
120
|
+
import {
|
|
121
|
+
SupportApi,
|
|
122
|
+
Configuration
|
|
123
|
+
} from '@pidginhost/sdk';
|
|
124
|
+
|
|
125
|
+
const configuration = new Configuration();
|
|
126
|
+
const apiInstance = new SupportApi(configuration);
|
|
127
|
+
|
|
128
|
+
let id: string; // (default to undefined)
|
|
129
|
+
|
|
130
|
+
const { status, data } = await apiInstance.supportTicketsCloseCreate(
|
|
131
|
+
id
|
|
132
|
+
);
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Parameters
|
|
136
|
+
|
|
137
|
+
|Name | Type | Description | Notes|
|
|
138
|
+
|------------- | ------------- | ------------- | -------------|
|
|
139
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Return type
|
|
143
|
+
|
|
144
|
+
**TicketCloseResponse**
|
|
145
|
+
|
|
146
|
+
### Authorization
|
|
147
|
+
|
|
148
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
149
|
+
|
|
150
|
+
### HTTP request headers
|
|
151
|
+
|
|
152
|
+
- **Content-Type**: Not defined
|
|
153
|
+
- **Accept**: application/json
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### HTTP response details
|
|
157
|
+
| Status code | Description | Response headers |
|
|
158
|
+
|-------------|-------------|------------------|
|
|
159
|
+
|**200** | | - |
|
|
160
|
+
|
|
161
|
+
[[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)
|
|
162
|
+
|
|
163
|
+
# **supportTicketsCloseCreate2**
|
|
164
|
+
> TicketCloseResponse supportTicketsCloseCreate2()
|
|
165
|
+
|
|
166
|
+
Close a ticket.
|
|
167
|
+
|
|
168
|
+
### Example
|
|
169
|
+
|
|
170
|
+
```typescript
|
|
171
|
+
import {
|
|
172
|
+
SupportApi,
|
|
173
|
+
Configuration
|
|
174
|
+
} from '@pidginhost/sdk';
|
|
175
|
+
|
|
176
|
+
const configuration = new Configuration();
|
|
177
|
+
const apiInstance = new SupportApi(configuration);
|
|
178
|
+
|
|
179
|
+
let id: string; // (default to undefined)
|
|
180
|
+
|
|
181
|
+
const { status, data } = await apiInstance.supportTicketsCloseCreate2(
|
|
182
|
+
id
|
|
183
|
+
);
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
|Name | Type | Description | Notes|
|
|
189
|
+
|------------- | ------------- | ------------- | -------------|
|
|
190
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
### Return type
|
|
194
|
+
|
|
195
|
+
**TicketCloseResponse**
|
|
196
|
+
|
|
197
|
+
### Authorization
|
|
198
|
+
|
|
199
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
200
|
+
|
|
201
|
+
### HTTP request headers
|
|
202
|
+
|
|
203
|
+
- **Content-Type**: Not defined
|
|
204
|
+
- **Accept**: application/json
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
### HTTP response details
|
|
208
|
+
| Status code | Description | Response headers |
|
|
209
|
+
|-------------|-------------|------------------|
|
|
210
|
+
|**200** | | - |
|
|
211
|
+
|
|
212
|
+
[[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)
|
|
213
|
+
|
|
214
|
+
# **supportTicketsCreate**
|
|
215
|
+
> TicketDetail supportTicketsCreate(ticketCreate)
|
|
216
|
+
|
|
217
|
+
Create a new support ticket.
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import {
|
|
223
|
+
SupportApi,
|
|
224
|
+
Configuration,
|
|
225
|
+
TicketCreate
|
|
226
|
+
} from '@pidginhost/sdk';
|
|
227
|
+
|
|
228
|
+
const configuration = new Configuration();
|
|
229
|
+
const apiInstance = new SupportApi(configuration);
|
|
230
|
+
|
|
231
|
+
let ticketCreate: TicketCreate; //
|
|
232
|
+
|
|
233
|
+
const { status, data } = await apiInstance.supportTicketsCreate(
|
|
234
|
+
ticketCreate
|
|
235
|
+
);
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
|Name | Type | Description | Notes|
|
|
241
|
+
|------------- | ------------- | ------------- | -------------|
|
|
242
|
+
| **ticketCreate** | **TicketCreate**| | |
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
### Return type
|
|
246
|
+
|
|
247
|
+
**TicketDetail**
|
|
248
|
+
|
|
249
|
+
### Authorization
|
|
250
|
+
|
|
251
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
252
|
+
|
|
253
|
+
### HTTP request headers
|
|
254
|
+
|
|
255
|
+
- **Content-Type**: application/json
|
|
256
|
+
- **Accept**: application/json
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### HTTP response details
|
|
260
|
+
| Status code | Description | Response headers |
|
|
261
|
+
|-------------|-------------|------------------|
|
|
262
|
+
|**201** | | - |
|
|
263
|
+
|
|
264
|
+
[[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)
|
|
265
|
+
|
|
266
|
+
# **supportTicketsCreate2**
|
|
267
|
+
> TicketDetail supportTicketsCreate2(ticketCreate)
|
|
268
|
+
|
|
269
|
+
Create a new support ticket.
|
|
270
|
+
|
|
271
|
+
### Example
|
|
272
|
+
|
|
273
|
+
```typescript
|
|
274
|
+
import {
|
|
275
|
+
SupportApi,
|
|
276
|
+
Configuration,
|
|
277
|
+
TicketCreate
|
|
278
|
+
} from '@pidginhost/sdk';
|
|
279
|
+
|
|
280
|
+
const configuration = new Configuration();
|
|
281
|
+
const apiInstance = new SupportApi(configuration);
|
|
282
|
+
|
|
283
|
+
let ticketCreate: TicketCreate; //
|
|
284
|
+
|
|
285
|
+
const { status, data } = await apiInstance.supportTicketsCreate2(
|
|
286
|
+
ticketCreate
|
|
287
|
+
);
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Parameters
|
|
291
|
+
|
|
292
|
+
|Name | Type | Description | Notes|
|
|
293
|
+
|------------- | ------------- | ------------- | -------------|
|
|
294
|
+
| **ticketCreate** | **TicketCreate**| | |
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
### Return type
|
|
298
|
+
|
|
299
|
+
**TicketDetail**
|
|
300
|
+
|
|
301
|
+
### Authorization
|
|
302
|
+
|
|
303
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
304
|
+
|
|
305
|
+
### HTTP request headers
|
|
306
|
+
|
|
307
|
+
- **Content-Type**: application/json
|
|
308
|
+
- **Accept**: application/json
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
### HTTP response details
|
|
312
|
+
| Status code | Description | Response headers |
|
|
313
|
+
|-------------|-------------|------------------|
|
|
314
|
+
|**201** | | - |
|
|
315
|
+
|
|
316
|
+
[[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)
|
|
317
|
+
|
|
318
|
+
# **supportTicketsList**
|
|
319
|
+
> PaginatedTicketListList supportTicketsList()
|
|
320
|
+
|
|
321
|
+
List, create, and manage support tickets.
|
|
322
|
+
|
|
323
|
+
### Example
|
|
324
|
+
|
|
325
|
+
```typescript
|
|
326
|
+
import {
|
|
327
|
+
SupportApi,
|
|
328
|
+
Configuration
|
|
329
|
+
} from '@pidginhost/sdk';
|
|
330
|
+
|
|
331
|
+
const configuration = new Configuration();
|
|
332
|
+
const apiInstance = new SupportApi(configuration);
|
|
333
|
+
|
|
334
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
335
|
+
|
|
336
|
+
const { status, data } = await apiInstance.supportTicketsList(
|
|
337
|
+
page
|
|
338
|
+
);
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
### Parameters
|
|
342
|
+
|
|
343
|
+
|Name | Type | Description | Notes|
|
|
344
|
+
|------------- | ------------- | ------------- | -------------|
|
|
345
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Return type
|
|
349
|
+
|
|
350
|
+
**PaginatedTicketListList**
|
|
351
|
+
|
|
352
|
+
### Authorization
|
|
353
|
+
|
|
354
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
355
|
+
|
|
356
|
+
### HTTP request headers
|
|
357
|
+
|
|
358
|
+
- **Content-Type**: Not defined
|
|
359
|
+
- **Accept**: application/json
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
### HTTP response details
|
|
363
|
+
| Status code | Description | Response headers |
|
|
364
|
+
|-------------|-------------|------------------|
|
|
365
|
+
|**200** | | - |
|
|
366
|
+
|
|
367
|
+
[[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)
|
|
368
|
+
|
|
369
|
+
# **supportTicketsList2**
|
|
370
|
+
> PaginatedTicketListList supportTicketsList2()
|
|
371
|
+
|
|
372
|
+
List, create, and manage support tickets.
|
|
373
|
+
|
|
374
|
+
### Example
|
|
375
|
+
|
|
376
|
+
```typescript
|
|
377
|
+
import {
|
|
378
|
+
SupportApi,
|
|
379
|
+
Configuration
|
|
380
|
+
} from '@pidginhost/sdk';
|
|
381
|
+
|
|
382
|
+
const configuration = new Configuration();
|
|
383
|
+
const apiInstance = new SupportApi(configuration);
|
|
384
|
+
|
|
385
|
+
let page: number; //A page number within the paginated result set. (optional) (default to undefined)
|
|
386
|
+
|
|
387
|
+
const { status, data } = await apiInstance.supportTicketsList2(
|
|
388
|
+
page
|
|
389
|
+
);
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Parameters
|
|
393
|
+
|
|
394
|
+
|Name | Type | Description | Notes|
|
|
395
|
+
|------------- | ------------- | ------------- | -------------|
|
|
396
|
+
| **page** | [**number**] | A page number within the paginated result set. | (optional) defaults to undefined|
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
### Return type
|
|
400
|
+
|
|
401
|
+
**PaginatedTicketListList**
|
|
402
|
+
|
|
403
|
+
### Authorization
|
|
404
|
+
|
|
405
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
406
|
+
|
|
407
|
+
### HTTP request headers
|
|
408
|
+
|
|
409
|
+
- **Content-Type**: Not defined
|
|
410
|
+
- **Accept**: application/json
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
### HTTP response details
|
|
414
|
+
| Status code | Description | Response headers |
|
|
415
|
+
|-------------|-------------|------------------|
|
|
416
|
+
|**200** | | - |
|
|
417
|
+
|
|
418
|
+
[[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)
|
|
419
|
+
|
|
420
|
+
# **supportTicketsMessagesAttachmentRetrieve**
|
|
421
|
+
> File supportTicketsMessagesAttachmentRetrieve()
|
|
422
|
+
|
|
423
|
+
Download an attachment from a ticket message.
|
|
424
|
+
|
|
425
|
+
### Example
|
|
426
|
+
|
|
427
|
+
```typescript
|
|
428
|
+
import {
|
|
429
|
+
SupportApi,
|
|
430
|
+
Configuration
|
|
431
|
+
} from '@pidginhost/sdk';
|
|
432
|
+
|
|
433
|
+
const configuration = new Configuration();
|
|
434
|
+
const apiInstance = new SupportApi(configuration);
|
|
435
|
+
|
|
436
|
+
let id: string; // (default to undefined)
|
|
437
|
+
let messageId: string; // (default to undefined)
|
|
438
|
+
|
|
439
|
+
const { status, data } = await apiInstance.supportTicketsMessagesAttachmentRetrieve(
|
|
440
|
+
id,
|
|
441
|
+
messageId
|
|
442
|
+
);
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### Parameters
|
|
446
|
+
|
|
447
|
+
|Name | Type | Description | Notes|
|
|
448
|
+
|------------- | ------------- | ------------- | -------------|
|
|
449
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
450
|
+
| **messageId** | [**string**] | | defaults to undefined|
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
### Return type
|
|
454
|
+
|
|
455
|
+
**File**
|
|
456
|
+
|
|
457
|
+
### Authorization
|
|
458
|
+
|
|
459
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
460
|
+
|
|
461
|
+
### HTTP request headers
|
|
462
|
+
|
|
463
|
+
- **Content-Type**: Not defined
|
|
464
|
+
- **Accept**: application/json
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### HTTP response details
|
|
468
|
+
| Status code | Description | Response headers |
|
|
469
|
+
|-------------|-------------|------------------|
|
|
470
|
+
|**200** | | - |
|
|
471
|
+
|
|
472
|
+
[[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)
|
|
473
|
+
|
|
474
|
+
# **supportTicketsMessagesAttachmentRetrieve2**
|
|
475
|
+
> File supportTicketsMessagesAttachmentRetrieve2()
|
|
476
|
+
|
|
477
|
+
Download an attachment from a ticket message.
|
|
478
|
+
|
|
479
|
+
### Example
|
|
480
|
+
|
|
481
|
+
```typescript
|
|
482
|
+
import {
|
|
483
|
+
SupportApi,
|
|
484
|
+
Configuration
|
|
485
|
+
} from '@pidginhost/sdk';
|
|
486
|
+
|
|
487
|
+
const configuration = new Configuration();
|
|
488
|
+
const apiInstance = new SupportApi(configuration);
|
|
489
|
+
|
|
490
|
+
let id: string; // (default to undefined)
|
|
491
|
+
let messageId: string; // (default to undefined)
|
|
492
|
+
|
|
493
|
+
const { status, data } = await apiInstance.supportTicketsMessagesAttachmentRetrieve2(
|
|
494
|
+
id,
|
|
495
|
+
messageId
|
|
496
|
+
);
|
|
497
|
+
```
|
|
498
|
+
|
|
499
|
+
### Parameters
|
|
500
|
+
|
|
501
|
+
|Name | Type | Description | Notes|
|
|
502
|
+
|------------- | ------------- | ------------- | -------------|
|
|
503
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
504
|
+
| **messageId** | [**string**] | | defaults to undefined|
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
### Return type
|
|
508
|
+
|
|
509
|
+
**File**
|
|
510
|
+
|
|
511
|
+
### Authorization
|
|
512
|
+
|
|
513
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
514
|
+
|
|
515
|
+
### HTTP request headers
|
|
516
|
+
|
|
517
|
+
- **Content-Type**: Not defined
|
|
518
|
+
- **Accept**: application/json
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
### HTTP response details
|
|
522
|
+
| Status code | Description | Response headers |
|
|
523
|
+
|-------------|-------------|------------------|
|
|
524
|
+
|**200** | | - |
|
|
525
|
+
|
|
526
|
+
[[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)
|
|
527
|
+
|
|
528
|
+
# **supportTicketsReopenCreate**
|
|
529
|
+
> TicketReopenResponse supportTicketsReopenCreate()
|
|
530
|
+
|
|
531
|
+
Reopen a closed ticket.
|
|
532
|
+
|
|
533
|
+
### Example
|
|
534
|
+
|
|
535
|
+
```typescript
|
|
536
|
+
import {
|
|
537
|
+
SupportApi,
|
|
538
|
+
Configuration
|
|
539
|
+
} from '@pidginhost/sdk';
|
|
540
|
+
|
|
541
|
+
const configuration = new Configuration();
|
|
542
|
+
const apiInstance = new SupportApi(configuration);
|
|
543
|
+
|
|
544
|
+
let id: string; // (default to undefined)
|
|
545
|
+
|
|
546
|
+
const { status, data } = await apiInstance.supportTicketsReopenCreate(
|
|
547
|
+
id
|
|
548
|
+
);
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### Parameters
|
|
552
|
+
|
|
553
|
+
|Name | Type | Description | Notes|
|
|
554
|
+
|------------- | ------------- | ------------- | -------------|
|
|
555
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
### Return type
|
|
559
|
+
|
|
560
|
+
**TicketReopenResponse**
|
|
561
|
+
|
|
562
|
+
### Authorization
|
|
563
|
+
|
|
564
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
565
|
+
|
|
566
|
+
### HTTP request headers
|
|
567
|
+
|
|
568
|
+
- **Content-Type**: Not defined
|
|
569
|
+
- **Accept**: application/json
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
### HTTP response details
|
|
573
|
+
| Status code | Description | Response headers |
|
|
574
|
+
|-------------|-------------|------------------|
|
|
575
|
+
|**200** | | - |
|
|
576
|
+
|
|
577
|
+
[[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)
|
|
578
|
+
|
|
579
|
+
# **supportTicketsReopenCreate2**
|
|
580
|
+
> TicketReopenResponse supportTicketsReopenCreate2()
|
|
581
|
+
|
|
582
|
+
Reopen a closed ticket.
|
|
583
|
+
|
|
584
|
+
### Example
|
|
585
|
+
|
|
586
|
+
```typescript
|
|
587
|
+
import {
|
|
588
|
+
SupportApi,
|
|
589
|
+
Configuration
|
|
590
|
+
} from '@pidginhost/sdk';
|
|
591
|
+
|
|
592
|
+
const configuration = new Configuration();
|
|
593
|
+
const apiInstance = new SupportApi(configuration);
|
|
594
|
+
|
|
595
|
+
let id: string; // (default to undefined)
|
|
596
|
+
|
|
597
|
+
const { status, data } = await apiInstance.supportTicketsReopenCreate2(
|
|
598
|
+
id
|
|
599
|
+
);
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
### Parameters
|
|
603
|
+
|
|
604
|
+
|Name | Type | Description | Notes|
|
|
605
|
+
|------------- | ------------- | ------------- | -------------|
|
|
606
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
### Return type
|
|
610
|
+
|
|
611
|
+
**TicketReopenResponse**
|
|
612
|
+
|
|
613
|
+
### Authorization
|
|
614
|
+
|
|
615
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
616
|
+
|
|
617
|
+
### HTTP request headers
|
|
618
|
+
|
|
619
|
+
- **Content-Type**: Not defined
|
|
620
|
+
- **Accept**: application/json
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
### HTTP response details
|
|
624
|
+
| Status code | Description | Response headers |
|
|
625
|
+
|-------------|-------------|------------------|
|
|
626
|
+
|**200** | | - |
|
|
627
|
+
|
|
628
|
+
[[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)
|
|
629
|
+
|
|
630
|
+
# **supportTicketsReplyCreate**
|
|
631
|
+
> TicketReplyResponse supportTicketsReplyCreate(ticketReply)
|
|
632
|
+
|
|
633
|
+
Reply to a ticket.
|
|
634
|
+
|
|
635
|
+
### Example
|
|
636
|
+
|
|
637
|
+
```typescript
|
|
638
|
+
import {
|
|
639
|
+
SupportApi,
|
|
640
|
+
Configuration,
|
|
641
|
+
TicketReply
|
|
642
|
+
} from '@pidginhost/sdk';
|
|
643
|
+
|
|
644
|
+
const configuration = new Configuration();
|
|
645
|
+
const apiInstance = new SupportApi(configuration);
|
|
646
|
+
|
|
647
|
+
let id: string; // (default to undefined)
|
|
648
|
+
let ticketReply: TicketReply; //
|
|
649
|
+
|
|
650
|
+
const { status, data } = await apiInstance.supportTicketsReplyCreate(
|
|
651
|
+
id,
|
|
652
|
+
ticketReply
|
|
653
|
+
);
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
### Parameters
|
|
657
|
+
|
|
658
|
+
|Name | Type | Description | Notes|
|
|
659
|
+
|------------- | ------------- | ------------- | -------------|
|
|
660
|
+
| **ticketReply** | **TicketReply**| | |
|
|
661
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
### Return type
|
|
665
|
+
|
|
666
|
+
**TicketReplyResponse**
|
|
667
|
+
|
|
668
|
+
### Authorization
|
|
669
|
+
|
|
670
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
671
|
+
|
|
672
|
+
### HTTP request headers
|
|
673
|
+
|
|
674
|
+
- **Content-Type**: application/json
|
|
675
|
+
- **Accept**: application/json
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
### HTTP response details
|
|
679
|
+
| Status code | Description | Response headers |
|
|
680
|
+
|-------------|-------------|------------------|
|
|
681
|
+
|**201** | | - |
|
|
682
|
+
|
|
683
|
+
[[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)
|
|
684
|
+
|
|
685
|
+
# **supportTicketsReplyCreate2**
|
|
686
|
+
> TicketReplyResponse supportTicketsReplyCreate2(ticketReply)
|
|
687
|
+
|
|
688
|
+
Reply to a ticket.
|
|
689
|
+
|
|
690
|
+
### Example
|
|
691
|
+
|
|
692
|
+
```typescript
|
|
693
|
+
import {
|
|
694
|
+
SupportApi,
|
|
695
|
+
Configuration,
|
|
696
|
+
TicketReply
|
|
697
|
+
} from '@pidginhost/sdk';
|
|
698
|
+
|
|
699
|
+
const configuration = new Configuration();
|
|
700
|
+
const apiInstance = new SupportApi(configuration);
|
|
701
|
+
|
|
702
|
+
let id: string; // (default to undefined)
|
|
703
|
+
let ticketReply: TicketReply; //
|
|
704
|
+
|
|
705
|
+
const { status, data } = await apiInstance.supportTicketsReplyCreate2(
|
|
706
|
+
id,
|
|
707
|
+
ticketReply
|
|
708
|
+
);
|
|
709
|
+
```
|
|
710
|
+
|
|
711
|
+
### Parameters
|
|
712
|
+
|
|
713
|
+
|Name | Type | Description | Notes|
|
|
714
|
+
|------------- | ------------- | ------------- | -------------|
|
|
715
|
+
| **ticketReply** | **TicketReply**| | |
|
|
716
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
### Return type
|
|
720
|
+
|
|
721
|
+
**TicketReplyResponse**
|
|
722
|
+
|
|
723
|
+
### Authorization
|
|
724
|
+
|
|
725
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
726
|
+
|
|
727
|
+
### HTTP request headers
|
|
728
|
+
|
|
729
|
+
- **Content-Type**: application/json
|
|
730
|
+
- **Accept**: application/json
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
### HTTP response details
|
|
734
|
+
| Status code | Description | Response headers |
|
|
735
|
+
|-------------|-------------|------------------|
|
|
736
|
+
|**201** | | - |
|
|
737
|
+
|
|
738
|
+
[[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)
|
|
739
|
+
|
|
740
|
+
# **supportTicketsRetrieve**
|
|
741
|
+
> TicketDetail supportTicketsRetrieve()
|
|
742
|
+
|
|
743
|
+
List, create, and manage support tickets.
|
|
744
|
+
|
|
745
|
+
### Example
|
|
746
|
+
|
|
747
|
+
```typescript
|
|
748
|
+
import {
|
|
749
|
+
SupportApi,
|
|
750
|
+
Configuration
|
|
751
|
+
} from '@pidginhost/sdk';
|
|
752
|
+
|
|
753
|
+
const configuration = new Configuration();
|
|
754
|
+
const apiInstance = new SupportApi(configuration);
|
|
755
|
+
|
|
756
|
+
let id: string; // (default to undefined)
|
|
757
|
+
|
|
758
|
+
const { status, data } = await apiInstance.supportTicketsRetrieve(
|
|
759
|
+
id
|
|
760
|
+
);
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
### Parameters
|
|
764
|
+
|
|
765
|
+
|Name | Type | Description | Notes|
|
|
766
|
+
|------------- | ------------- | ------------- | -------------|
|
|
767
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
### Return type
|
|
771
|
+
|
|
772
|
+
**TicketDetail**
|
|
773
|
+
|
|
774
|
+
### Authorization
|
|
775
|
+
|
|
776
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
777
|
+
|
|
778
|
+
### HTTP request headers
|
|
779
|
+
|
|
780
|
+
- **Content-Type**: Not defined
|
|
781
|
+
- **Accept**: application/json
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
### HTTP response details
|
|
785
|
+
| Status code | Description | Response headers |
|
|
786
|
+
|-------------|-------------|------------------|
|
|
787
|
+
|**200** | | - |
|
|
788
|
+
|
|
789
|
+
[[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)
|
|
790
|
+
|
|
791
|
+
# **supportTicketsRetrieve2**
|
|
792
|
+
> TicketDetail supportTicketsRetrieve2()
|
|
793
|
+
|
|
794
|
+
List, create, and manage support tickets.
|
|
795
|
+
|
|
796
|
+
### Example
|
|
797
|
+
|
|
798
|
+
```typescript
|
|
799
|
+
import {
|
|
800
|
+
SupportApi,
|
|
801
|
+
Configuration
|
|
802
|
+
} from '@pidginhost/sdk';
|
|
803
|
+
|
|
804
|
+
const configuration = new Configuration();
|
|
805
|
+
const apiInstance = new SupportApi(configuration);
|
|
806
|
+
|
|
807
|
+
let id: string; // (default to undefined)
|
|
808
|
+
|
|
809
|
+
const { status, data } = await apiInstance.supportTicketsRetrieve2(
|
|
810
|
+
id
|
|
811
|
+
);
|
|
812
|
+
```
|
|
813
|
+
|
|
814
|
+
### Parameters
|
|
815
|
+
|
|
816
|
+
|Name | Type | Description | Notes|
|
|
817
|
+
|------------- | ------------- | ------------- | -------------|
|
|
818
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
### Return type
|
|
822
|
+
|
|
823
|
+
**TicketDetail**
|
|
824
|
+
|
|
825
|
+
### Authorization
|
|
826
|
+
|
|
827
|
+
[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
|
|
828
|
+
|
|
829
|
+
### HTTP request headers
|
|
830
|
+
|
|
831
|
+
- **Content-Type**: Not defined
|
|
832
|
+
- **Accept**: application/json
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
### HTTP response details
|
|
836
|
+
| Status code | Description | Response headers |
|
|
837
|
+
|-------------|-------------|------------------|
|
|
838
|
+
|**200** | | - |
|
|
839
|
+
|
|
840
|
+
[[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)
|
|
841
|
+
|