@connectedxm/admin-sdk 16.15.0 → 16.16.1
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 +6 -0
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +573 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +313 -1
- package/dist/api.js +431 -26
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +313 -1
- package/dist/esm/api.js +402 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/EventPassTypePriceScheduleTranslation.md +28 -0
- package/docs/EventsPasstypesPriceschedulesTranslationsApi.md +264 -0
- package/docs/GetEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/docs/GetEventPassTypePriceScheduleTranslations200Response.md +26 -0
- package/docs/PassTypePriceScheduleTranslationUpdateInputs.md +20 -0
- package/docs/UpdateEventPassTypePriceScheduleTranslation200Response.md +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# EventsPasstypesPriceschedulesTranslationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**deleteEventPassTypePriceScheduleTranslation**](#deleteeventpasstypepricescheduletranslation) | **DELETE** /events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale} | Delete a pass type price schedule translation|
|
|
8
|
+
|[**getEventPassTypePriceScheduleTranslation**](#geteventpasstypepricescheduletranslation) | **GET** /events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale} | Get a pass type price schedule\'s translation|
|
|
9
|
+
|[**getEventPassTypePriceScheduleTranslations**](#geteventpasstypepricescheduletranslations) | **GET** /events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations | List translations for a pass type price schedule|
|
|
10
|
+
|[**updateEventPassTypePriceScheduleTranslation**](#updateeventpasstypepricescheduletranslation) | **PUT** /events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale} | Update a pass type price schedule\'s translation|
|
|
11
|
+
|
|
12
|
+
# **deleteEventPassTypePriceScheduleTranslation**
|
|
13
|
+
> UpdateEventPassTypePriceScheduleTranslation200Response deleteEventPassTypePriceScheduleTranslation()
|
|
14
|
+
|
|
15
|
+
Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
EventsPasstypesPriceschedulesTranslationsApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@connectedxm/admin-sdk';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new EventsPasstypesPriceschedulesTranslationsApi(configuration);
|
|
27
|
+
|
|
28
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
29
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
30
|
+
let scheduleId: string; //The schedule identifier (default to undefined)
|
|
31
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
32
|
+
|
|
33
|
+
const { status, data } = await apiInstance.deleteEventPassTypePriceScheduleTranslation(
|
|
34
|
+
eventId,
|
|
35
|
+
passTypeId,
|
|
36
|
+
scheduleId,
|
|
37
|
+
locale
|
|
38
|
+
);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Parameters
|
|
42
|
+
|
|
43
|
+
|Name | Type | Description | Notes|
|
|
44
|
+
|------------- | ------------- | ------------- | -------------|
|
|
45
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
46
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
47
|
+
| **scheduleId** | [**string**] | The schedule identifier | defaults to undefined|
|
|
48
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**UpdateEventPassTypePriceScheduleTranslation200Response**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | Successful response | - |
|
|
69
|
+
|
|
70
|
+
[[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)
|
|
71
|
+
|
|
72
|
+
# **getEventPassTypePriceScheduleTranslation**
|
|
73
|
+
> GetEventPassTypePriceScheduleTranslation200Response getEventPassTypePriceScheduleTranslation()
|
|
74
|
+
|
|
75
|
+
Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
import {
|
|
81
|
+
EventsPasstypesPriceschedulesTranslationsApi,
|
|
82
|
+
Configuration
|
|
83
|
+
} from '@connectedxm/admin-sdk';
|
|
84
|
+
|
|
85
|
+
const configuration = new Configuration();
|
|
86
|
+
const apiInstance = new EventsPasstypesPriceschedulesTranslationsApi(configuration);
|
|
87
|
+
|
|
88
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
89
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
90
|
+
let scheduleId: string; //The schedule identifier (default to undefined)
|
|
91
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
92
|
+
|
|
93
|
+
const { status, data } = await apiInstance.getEventPassTypePriceScheduleTranslation(
|
|
94
|
+
eventId,
|
|
95
|
+
passTypeId,
|
|
96
|
+
scheduleId,
|
|
97
|
+
locale
|
|
98
|
+
);
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|Name | Type | Description | Notes|
|
|
104
|
+
|------------- | ------------- | ------------- | -------------|
|
|
105
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
106
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
107
|
+
| **scheduleId** | [**string**] | The schedule identifier | defaults to undefined|
|
|
108
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Return type
|
|
112
|
+
|
|
113
|
+
**GetEventPassTypePriceScheduleTranslation200Response**
|
|
114
|
+
|
|
115
|
+
### Authorization
|
|
116
|
+
|
|
117
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
118
|
+
|
|
119
|
+
### HTTP request headers
|
|
120
|
+
|
|
121
|
+
- **Content-Type**: Not defined
|
|
122
|
+
- **Accept**: application/json
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### HTTP response details
|
|
126
|
+
| Status code | Description | Response headers |
|
|
127
|
+
|-------------|-------------|------------------|
|
|
128
|
+
|**200** | Successful response | - |
|
|
129
|
+
|
|
130
|
+
[[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)
|
|
131
|
+
|
|
132
|
+
# **getEventPassTypePriceScheduleTranslations**
|
|
133
|
+
> GetEventPassTypePriceScheduleTranslations200Response getEventPassTypePriceScheduleTranslations()
|
|
134
|
+
|
|
135
|
+
Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
|
|
136
|
+
|
|
137
|
+
### Example
|
|
138
|
+
|
|
139
|
+
```typescript
|
|
140
|
+
import {
|
|
141
|
+
EventsPasstypesPriceschedulesTranslationsApi,
|
|
142
|
+
Configuration
|
|
143
|
+
} from '@connectedxm/admin-sdk';
|
|
144
|
+
|
|
145
|
+
const configuration = new Configuration();
|
|
146
|
+
const apiInstance = new EventsPasstypesPriceschedulesTranslationsApi(configuration);
|
|
147
|
+
|
|
148
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
149
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
150
|
+
let scheduleId: string; //The schedule identifier (default to undefined)
|
|
151
|
+
let page: number; //Page number (optional) (default to 1)
|
|
152
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
153
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
154
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
155
|
+
|
|
156
|
+
const { status, data } = await apiInstance.getEventPassTypePriceScheduleTranslations(
|
|
157
|
+
eventId,
|
|
158
|
+
passTypeId,
|
|
159
|
+
scheduleId,
|
|
160
|
+
page,
|
|
161
|
+
pageSize,
|
|
162
|
+
orderBy,
|
|
163
|
+
search
|
|
164
|
+
);
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Parameters
|
|
168
|
+
|
|
169
|
+
|Name | Type | Description | Notes|
|
|
170
|
+
|------------- | ------------- | ------------- | -------------|
|
|
171
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
172
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
173
|
+
| **scheduleId** | [**string**] | The schedule identifier | defaults to undefined|
|
|
174
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
175
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
176
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
177
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### Return type
|
|
181
|
+
|
|
182
|
+
**GetEventPassTypePriceScheduleTranslations200Response**
|
|
183
|
+
|
|
184
|
+
### Authorization
|
|
185
|
+
|
|
186
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
187
|
+
|
|
188
|
+
### HTTP request headers
|
|
189
|
+
|
|
190
|
+
- **Content-Type**: Not defined
|
|
191
|
+
- **Accept**: application/json
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
### HTTP response details
|
|
195
|
+
| Status code | Description | Response headers |
|
|
196
|
+
|-------------|-------------|------------------|
|
|
197
|
+
|**200** | Successful response | - |
|
|
198
|
+
|
|
199
|
+
[[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)
|
|
200
|
+
|
|
201
|
+
# **updateEventPassTypePriceScheduleTranslation**
|
|
202
|
+
> UpdateEventPassTypePriceScheduleTranslation200Response updateEventPassTypePriceScheduleTranslation(passTypePriceScheduleTranslationUpdateInputs)
|
|
203
|
+
|
|
204
|
+
Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
|
|
205
|
+
|
|
206
|
+
### Example
|
|
207
|
+
|
|
208
|
+
```typescript
|
|
209
|
+
import {
|
|
210
|
+
EventsPasstypesPriceschedulesTranslationsApi,
|
|
211
|
+
Configuration,
|
|
212
|
+
PassTypePriceScheduleTranslationUpdateInputs
|
|
213
|
+
} from '@connectedxm/admin-sdk';
|
|
214
|
+
|
|
215
|
+
const configuration = new Configuration();
|
|
216
|
+
const apiInstance = new EventsPasstypesPriceschedulesTranslationsApi(configuration);
|
|
217
|
+
|
|
218
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
219
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
220
|
+
let scheduleId: string; //The schedule identifier (default to undefined)
|
|
221
|
+
let locale: string; //The locale identifier (default to undefined)
|
|
222
|
+
let passTypePriceScheduleTranslationUpdateInputs: PassTypePriceScheduleTranslationUpdateInputs; //
|
|
223
|
+
|
|
224
|
+
const { status, data } = await apiInstance.updateEventPassTypePriceScheduleTranslation(
|
|
225
|
+
eventId,
|
|
226
|
+
passTypeId,
|
|
227
|
+
scheduleId,
|
|
228
|
+
locale,
|
|
229
|
+
passTypePriceScheduleTranslationUpdateInputs
|
|
230
|
+
);
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Parameters
|
|
234
|
+
|
|
235
|
+
|Name | Type | Description | Notes|
|
|
236
|
+
|------------- | ------------- | ------------- | -------------|
|
|
237
|
+
| **passTypePriceScheduleTranslationUpdateInputs** | **PassTypePriceScheduleTranslationUpdateInputs**| | |
|
|
238
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
239
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
240
|
+
| **scheduleId** | [**string**] | The schedule identifier | defaults to undefined|
|
|
241
|
+
| **locale** | [**string**] | The locale identifier | defaults to undefined|
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
**UpdateEventPassTypePriceScheduleTranslation200Response**
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: application/json
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### HTTP response details
|
|
259
|
+
| Status code | Description | Response headers |
|
|
260
|
+
|-------------|-------------|------------------|
|
|
261
|
+
|**200** | Successful response | - |
|
|
262
|
+
|
|
263
|
+
[[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)
|
|
264
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# GetEventPassTypePriceScheduleTranslation200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**data** | [**EventPassTypePriceScheduleTranslation**](EventPassTypePriceScheduleTranslation.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { GetEventPassTypePriceScheduleTranslation200Response } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: GetEventPassTypePriceScheduleTranslation200Response = {
|
|
18
|
+
status,
|
|
19
|
+
message,
|
|
20
|
+
data,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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,26 @@
|
|
|
1
|
+
# GetEventPassTypePriceScheduleTranslations200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**data** | [**Array<EventPassTypePriceScheduleTranslation>**](EventPassTypePriceScheduleTranslation.md) | | [default to undefined]
|
|
11
|
+
**count** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GetEventPassTypePriceScheduleTranslations200Response } from '@connectedxm/admin-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: GetEventPassTypePriceScheduleTranslations200Response = {
|
|
19
|
+
status,
|
|
20
|
+
message,
|
|
21
|
+
data,
|
|
22
|
+
count,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[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,20 @@
|
|
|
1
|
+
# PassTypePriceScheduleTranslationUpdateInputs
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { PassTypePriceScheduleTranslationUpdateInputs } from '@connectedxm/admin-sdk';
|
|
14
|
+
|
|
15
|
+
const instance: PassTypePriceScheduleTranslationUpdateInputs = {
|
|
16
|
+
name,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[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,24 @@
|
|
|
1
|
+
# UpdateEventPassTypePriceScheduleTranslation200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**data** | [**EventPassTypePriceScheduleTranslation**](EventPassTypePriceScheduleTranslation.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateEventPassTypePriceScheduleTranslation200Response } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateEventPassTypePriceScheduleTranslation200Response = {
|
|
18
|
+
status,
|
|
19
|
+
message,
|
|
20
|
+
data,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|