@connectedxm/admin-sdk 10.16.0 → 10.18.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 +7 -1
- package/README.md +2 -2
- package/api.ts +1065 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +565 -42
- package/dist/api.js +768 -33
- 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/api.d.ts +565 -42
- package/dist/esm/api.js +740 -5
- 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/{CreateEventPassType200Response.md → AddEventOnSiteLabelPassType200Response.md} +3 -3
- package/docs/BaseEventOnSiteLabel.md +28 -0
- package/docs/CreateEventOnSiteLabel200Response.md +24 -0
- package/docs/EventOnSiteLabel.md +28 -0
- package/docs/EventOnSiteLabelCreateInputs.md +24 -0
- package/docs/EventOnSiteLabelUpdateInputs.md +24 -0
- package/docs/EventPassType.md +2 -0
- package/docs/EventsOnSiteApi.md +527 -0
- package/docs/EventsPasstypesApi.md +18 -18
- package/docs/EventsPasstypesPriceschedulesApi.md +2 -2
- package/docs/EventsPasstypesRefundschedulesApi.md +2 -2
- package/docs/GetEventOnSiteLabels200Response.md +26 -0
- package/docs/OrganizationEntity.md +4 -0
- package/docs/OrganizationEntityCreateInputs.md +2 -0
- package/docs/OrganizationEntityUpdateInputs.md +2 -0
- package/package.json +1 -1
package/docs/EventsOnSiteApi.md
CHANGED
|
@@ -4,14 +4,80 @@ All URIs are relative to *https://admin-api.connected.dev*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
+
|[**addEventOnSiteLabelPassType**](#addeventonsitelabelpasstype) | **POST** /events/{eventId}/on-site/labels/{labelId}/passTypes/{passTypeId} | Assign a pass type to an on-site label|
|
|
7
8
|
|[**createEventBadgeColorRule**](#createeventbadgecolorrule) | **POST** /events/{eventId}/on-site/badge-colors | Create an event badge color rule|
|
|
9
|
+
|[**createEventOnSiteLabel**](#createeventonsitelabel) | **POST** /events/{eventId}/on-site/labels | Create an event on-site label|
|
|
8
10
|
|[**deleteEventBadgeColorRule**](#deleteeventbadgecolorrule) | **DELETE** /events/{eventId}/on-site/badge-colors/{ruleId} | Delete an event badge color rule|
|
|
11
|
+
|[**deleteEventOnSiteLabel**](#deleteeventonsitelabel) | **DELETE** /events/{eventId}/on-site/labels/{labelId} | Delete an event on-site label|
|
|
9
12
|
|[**getEventBadgeColorRule**](#geteventbadgecolorrule) | **GET** /events/{eventId}/on-site/badge-colors/{ruleId} | Get an event badge color rule|
|
|
10
13
|
|[**getEventBadgeColorRules**](#geteventbadgecolorrules) | **GET** /events/{eventId}/on-site/badge-colors | List an event\'s badge color rules|
|
|
11
14
|
|[**getEventOnSite**](#geteventonsite) | **GET** /events/{eventId}/on-site | Get an event\'s on-site check-in settings|
|
|
15
|
+
|[**getEventOnSiteLabel**](#geteventonsitelabel) | **GET** /events/{eventId}/on-site/labels/{labelId} | Get an event on-site label|
|
|
16
|
+
|[**getEventOnSiteLabelPassTypes**](#geteventonsitelabelpasstypes) | **GET** /events/{eventId}/on-site/labels/{labelId}/passTypes | List pass types assigned to an on-site label|
|
|
17
|
+
|[**getEventOnSiteLabels**](#geteventonsitelabels) | **GET** /events/{eventId}/on-site/labels | List an event\'s on-site labels|
|
|
18
|
+
|[**removeEventOnSiteLabelPassType**](#removeeventonsitelabelpasstype) | **DELETE** /events/{eventId}/on-site/labels/{labelId}/passTypes/{passTypeId} | Unassign a pass type from an on-site label|
|
|
19
|
+
|[**setEventOnSiteLabelDefault**](#seteventonsitelabeldefault) | **POST** /events/{eventId}/on-site/labels/{labelId}/default | Set an event on-site label as the default|
|
|
12
20
|
|[**updateEventBadgeColorRule**](#updateeventbadgecolorrule) | **PUT** /events/{eventId}/on-site/badge-colors/{ruleId} | Update an event badge color rule|
|
|
13
21
|
|[**updateEventBadgeTemplate**](#updateeventbadgetemplate) | **PUT** /events/{eventId}/template | Update an event\'s badge template|
|
|
14
22
|
|[**updateEventCheckinCode**](#updateeventcheckincode) | **POST** /events/{eventId}/on-site | Regenerate an event\'s check-in code|
|
|
23
|
+
|[**updateEventOnSiteLabel**](#updateeventonsitelabel) | **PUT** /events/{eventId}/on-site/labels/{labelId} | Update an event on-site label|
|
|
24
|
+
|
|
25
|
+
# **addEventOnSiteLabelPassType**
|
|
26
|
+
> AddEventOnSiteLabelPassType200Response addEventOnSiteLabelPassType()
|
|
27
|
+
|
|
28
|
+
Sets the given pass type\'s labelId to this label. Assignment is exclusive, so a pass type previously assigned to another label is silently moved; requires the update permission on events.
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import {
|
|
34
|
+
EventsOnSiteApi,
|
|
35
|
+
Configuration
|
|
36
|
+
} from '@connectedxm/admin-sdk';
|
|
37
|
+
|
|
38
|
+
const configuration = new Configuration();
|
|
39
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
40
|
+
|
|
41
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
42
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
43
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
44
|
+
|
|
45
|
+
const { status, data } = await apiInstance.addEventOnSiteLabelPassType(
|
|
46
|
+
eventId,
|
|
47
|
+
labelId,
|
|
48
|
+
passTypeId
|
|
49
|
+
);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Parameters
|
|
53
|
+
|
|
54
|
+
|Name | Type | Description | Notes|
|
|
55
|
+
|------------- | ------------- | ------------- | -------------|
|
|
56
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
57
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
58
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
**AddEventOnSiteLabelPassType200Response**
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: Not defined
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### HTTP response details
|
|
76
|
+
| Status code | Description | Response headers |
|
|
77
|
+
|-------------|-------------|------------------|
|
|
78
|
+
|**200** | Successful response | - |
|
|
79
|
+
|
|
80
|
+
[[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)
|
|
15
81
|
|
|
16
82
|
# **createEventBadgeColorRule**
|
|
17
83
|
> CreateEventBadgeColorRule200Response createEventBadgeColorRule(eventBadgeColorRuleCreateInputs)
|
|
@@ -61,6 +127,61 @@ const { status, data } = await apiInstance.createEventBadgeColorRule(
|
|
|
61
127
|
- **Accept**: application/json
|
|
62
128
|
|
|
63
129
|
|
|
130
|
+
### HTTP response details
|
|
131
|
+
| Status code | Description | Response headers |
|
|
132
|
+
|-------------|-------------|------------------|
|
|
133
|
+
|**200** | Successful response | - |
|
|
134
|
+
|
|
135
|
+
[[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)
|
|
136
|
+
|
|
137
|
+
# **createEventOnSiteLabel**
|
|
138
|
+
> CreateEventOnSiteLabel200Response createEventOnSiteLabel(eventOnSiteLabelCreateInputs)
|
|
139
|
+
|
|
140
|
+
Creates a new on-site label for the given event. Omitting sortOrder appends the label after the last existing one. The API flags the new label as default when the event currently has none; requires the \"update\" permission on events.
|
|
141
|
+
|
|
142
|
+
### Example
|
|
143
|
+
|
|
144
|
+
```typescript
|
|
145
|
+
import {
|
|
146
|
+
EventsOnSiteApi,
|
|
147
|
+
Configuration,
|
|
148
|
+
EventOnSiteLabelCreateInputs
|
|
149
|
+
} from '@connectedxm/admin-sdk';
|
|
150
|
+
|
|
151
|
+
const configuration = new Configuration();
|
|
152
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
153
|
+
|
|
154
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
155
|
+
let eventOnSiteLabelCreateInputs: EventOnSiteLabelCreateInputs; //
|
|
156
|
+
|
|
157
|
+
const { status, data } = await apiInstance.createEventOnSiteLabel(
|
|
158
|
+
eventId,
|
|
159
|
+
eventOnSiteLabelCreateInputs
|
|
160
|
+
);
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Parameters
|
|
164
|
+
|
|
165
|
+
|Name | Type | Description | Notes|
|
|
166
|
+
|------------- | ------------- | ------------- | -------------|
|
|
167
|
+
| **eventOnSiteLabelCreateInputs** | **EventOnSiteLabelCreateInputs**| | |
|
|
168
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Return type
|
|
172
|
+
|
|
173
|
+
**CreateEventOnSiteLabel200Response**
|
|
174
|
+
|
|
175
|
+
### Authorization
|
|
176
|
+
|
|
177
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
178
|
+
|
|
179
|
+
### HTTP request headers
|
|
180
|
+
|
|
181
|
+
- **Content-Type**: application/json
|
|
182
|
+
- **Accept**: application/json
|
|
183
|
+
|
|
184
|
+
|
|
64
185
|
### HTTP response details
|
|
65
186
|
| Status code | Description | Response headers |
|
|
66
187
|
|-------------|-------------|------------------|
|
|
@@ -101,6 +222,60 @@ const { status, data } = await apiInstance.deleteEventBadgeColorRule(
|
|
|
101
222
|
| **ruleId** | [**string**] | The rule identifier | defaults to undefined|
|
|
102
223
|
|
|
103
224
|
|
|
225
|
+
### Return type
|
|
226
|
+
|
|
227
|
+
**CreateAccountInvitations200Response**
|
|
228
|
+
|
|
229
|
+
### Authorization
|
|
230
|
+
|
|
231
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
232
|
+
|
|
233
|
+
### HTTP request headers
|
|
234
|
+
|
|
235
|
+
- **Content-Type**: Not defined
|
|
236
|
+
- **Accept**: application/json
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
### HTTP response details
|
|
240
|
+
| Status code | Description | Response headers |
|
|
241
|
+
|-------------|-------------|------------------|
|
|
242
|
+
|**200** | Successful response | - |
|
|
243
|
+
|
|
244
|
+
[[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)
|
|
245
|
+
|
|
246
|
+
# **deleteEventOnSiteLabel**
|
|
247
|
+
> CreateAccountInvitations200Response deleteEventOnSiteLabel()
|
|
248
|
+
|
|
249
|
+
Permanently deletes the specified on-site label from the given event; requires the \"update\" permission on events.
|
|
250
|
+
|
|
251
|
+
### Example
|
|
252
|
+
|
|
253
|
+
```typescript
|
|
254
|
+
import {
|
|
255
|
+
EventsOnSiteApi,
|
|
256
|
+
Configuration
|
|
257
|
+
} from '@connectedxm/admin-sdk';
|
|
258
|
+
|
|
259
|
+
const configuration = new Configuration();
|
|
260
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
261
|
+
|
|
262
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
263
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
264
|
+
|
|
265
|
+
const { status, data } = await apiInstance.deleteEventOnSiteLabel(
|
|
266
|
+
eventId,
|
|
267
|
+
labelId
|
|
268
|
+
);
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### Parameters
|
|
272
|
+
|
|
273
|
+
|Name | Type | Description | Notes|
|
|
274
|
+
|------------- | ------------- | ------------- | -------------|
|
|
275
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
276
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
277
|
+
|
|
278
|
+
|
|
104
279
|
### Return type
|
|
105
280
|
|
|
106
281
|
**CreateAccountInvitations200Response**
|
|
@@ -283,6 +458,300 @@ const { status, data } = await apiInstance.getEventOnSite(
|
|
|
283
458
|
- **Accept**: application/json
|
|
284
459
|
|
|
285
460
|
|
|
461
|
+
### HTTP response details
|
|
462
|
+
| Status code | Description | Response headers |
|
|
463
|
+
|-------------|-------------|------------------|
|
|
464
|
+
|**200** | Successful response | - |
|
|
465
|
+
|
|
466
|
+
[[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)
|
|
467
|
+
|
|
468
|
+
# **getEventOnSiteLabel**
|
|
469
|
+
> CreateEventOnSiteLabel200Response getEventOnSiteLabel()
|
|
470
|
+
|
|
471
|
+
Returns a single on-site label belonging to the given event; requires \"read\" permission on events.
|
|
472
|
+
|
|
473
|
+
### Example
|
|
474
|
+
|
|
475
|
+
```typescript
|
|
476
|
+
import {
|
|
477
|
+
EventsOnSiteApi,
|
|
478
|
+
Configuration
|
|
479
|
+
} from '@connectedxm/admin-sdk';
|
|
480
|
+
|
|
481
|
+
const configuration = new Configuration();
|
|
482
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
483
|
+
|
|
484
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
485
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
486
|
+
|
|
487
|
+
const { status, data } = await apiInstance.getEventOnSiteLabel(
|
|
488
|
+
eventId,
|
|
489
|
+
labelId
|
|
490
|
+
);
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
### Parameters
|
|
494
|
+
|
|
495
|
+
|Name | Type | Description | Notes|
|
|
496
|
+
|------------- | ------------- | ------------- | -------------|
|
|
497
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
498
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
### Return type
|
|
502
|
+
|
|
503
|
+
**CreateEventOnSiteLabel200Response**
|
|
504
|
+
|
|
505
|
+
### Authorization
|
|
506
|
+
|
|
507
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
508
|
+
|
|
509
|
+
### HTTP request headers
|
|
510
|
+
|
|
511
|
+
- **Content-Type**: Not defined
|
|
512
|
+
- **Accept**: application/json
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
### HTTP response details
|
|
516
|
+
| Status code | Description | Response headers |
|
|
517
|
+
|-------------|-------------|------------------|
|
|
518
|
+
|**200** | Successful response | - |
|
|
519
|
+
|
|
520
|
+
[[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)
|
|
521
|
+
|
|
522
|
+
# **getEventOnSiteLabelPassTypes**
|
|
523
|
+
> GetEventAddOnPassTypes200Response getEventOnSiteLabelPassTypes()
|
|
524
|
+
|
|
525
|
+
Returns a paginated list of the event\'s pass types assigned to the given on-site label, supporting search and ordering; requires read permission on events.
|
|
526
|
+
|
|
527
|
+
### Example
|
|
528
|
+
|
|
529
|
+
```typescript
|
|
530
|
+
import {
|
|
531
|
+
EventsOnSiteApi,
|
|
532
|
+
Configuration
|
|
533
|
+
} from '@connectedxm/admin-sdk';
|
|
534
|
+
|
|
535
|
+
const configuration = new Configuration();
|
|
536
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
537
|
+
|
|
538
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
539
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
540
|
+
let page: number; //Page number (optional) (default to 1)
|
|
541
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
542
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
543
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
544
|
+
|
|
545
|
+
const { status, data } = await apiInstance.getEventOnSiteLabelPassTypes(
|
|
546
|
+
eventId,
|
|
547
|
+
labelId,
|
|
548
|
+
page,
|
|
549
|
+
pageSize,
|
|
550
|
+
orderBy,
|
|
551
|
+
search
|
|
552
|
+
);
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
### Parameters
|
|
556
|
+
|
|
557
|
+
|Name | Type | Description | Notes|
|
|
558
|
+
|------------- | ------------- | ------------- | -------------|
|
|
559
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
560
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
561
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
562
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
563
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
564
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
### Return type
|
|
568
|
+
|
|
569
|
+
**GetEventAddOnPassTypes200Response**
|
|
570
|
+
|
|
571
|
+
### Authorization
|
|
572
|
+
|
|
573
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
574
|
+
|
|
575
|
+
### HTTP request headers
|
|
576
|
+
|
|
577
|
+
- **Content-Type**: Not defined
|
|
578
|
+
- **Accept**: application/json
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
### HTTP response details
|
|
582
|
+
| Status code | Description | Response headers |
|
|
583
|
+
|-------------|-------------|------------------|
|
|
584
|
+
|**200** | Successful response | - |
|
|
585
|
+
|
|
586
|
+
[[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)
|
|
587
|
+
|
|
588
|
+
# **getEventOnSiteLabels**
|
|
589
|
+
> GetEventOnSiteLabels200Response getEventOnSiteLabels()
|
|
590
|
+
|
|
591
|
+
Returns the event\'s full set of on-site labels ordered by sortOrder. Pagination params are accepted but ignored by the API; requires \"read\" permission on events.
|
|
592
|
+
|
|
593
|
+
### Example
|
|
594
|
+
|
|
595
|
+
```typescript
|
|
596
|
+
import {
|
|
597
|
+
EventsOnSiteApi,
|
|
598
|
+
Configuration
|
|
599
|
+
} from '@connectedxm/admin-sdk';
|
|
600
|
+
|
|
601
|
+
const configuration = new Configuration();
|
|
602
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
603
|
+
|
|
604
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
605
|
+
let page: number; //Page number (optional) (default to 1)
|
|
606
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
607
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
608
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
609
|
+
|
|
610
|
+
const { status, data } = await apiInstance.getEventOnSiteLabels(
|
|
611
|
+
eventId,
|
|
612
|
+
page,
|
|
613
|
+
pageSize,
|
|
614
|
+
orderBy,
|
|
615
|
+
search
|
|
616
|
+
);
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
### Parameters
|
|
620
|
+
|
|
621
|
+
|Name | Type | Description | Notes|
|
|
622
|
+
|------------- | ------------- | ------------- | -------------|
|
|
623
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
624
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
625
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
626
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
627
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
### Return type
|
|
631
|
+
|
|
632
|
+
**GetEventOnSiteLabels200Response**
|
|
633
|
+
|
|
634
|
+
### Authorization
|
|
635
|
+
|
|
636
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
637
|
+
|
|
638
|
+
### HTTP request headers
|
|
639
|
+
|
|
640
|
+
- **Content-Type**: Not defined
|
|
641
|
+
- **Accept**: application/json
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
### HTTP response details
|
|
645
|
+
| Status code | Description | Response headers |
|
|
646
|
+
|-------------|-------------|------------------|
|
|
647
|
+
|**200** | Successful response | - |
|
|
648
|
+
|
|
649
|
+
[[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)
|
|
650
|
+
|
|
651
|
+
# **removeEventOnSiteLabelPassType**
|
|
652
|
+
> AddEventOnSiteLabelPassType200Response removeEventOnSiteLabelPassType()
|
|
653
|
+
|
|
654
|
+
Clears the given pass type\'s labelId when it currently points at this label. Returns 400 if the pass type has since moved to another label; requires the update permission on events.
|
|
655
|
+
|
|
656
|
+
### Example
|
|
657
|
+
|
|
658
|
+
```typescript
|
|
659
|
+
import {
|
|
660
|
+
EventsOnSiteApi,
|
|
661
|
+
Configuration
|
|
662
|
+
} from '@connectedxm/admin-sdk';
|
|
663
|
+
|
|
664
|
+
const configuration = new Configuration();
|
|
665
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
666
|
+
|
|
667
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
668
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
669
|
+
let passTypeId: string; //The passType identifier (default to undefined)
|
|
670
|
+
|
|
671
|
+
const { status, data } = await apiInstance.removeEventOnSiteLabelPassType(
|
|
672
|
+
eventId,
|
|
673
|
+
labelId,
|
|
674
|
+
passTypeId
|
|
675
|
+
);
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
### Parameters
|
|
679
|
+
|
|
680
|
+
|Name | Type | Description | Notes|
|
|
681
|
+
|------------- | ------------- | ------------- | -------------|
|
|
682
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
683
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
684
|
+
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
### Return type
|
|
688
|
+
|
|
689
|
+
**AddEventOnSiteLabelPassType200Response**
|
|
690
|
+
|
|
691
|
+
### Authorization
|
|
692
|
+
|
|
693
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
694
|
+
|
|
695
|
+
### HTTP request headers
|
|
696
|
+
|
|
697
|
+
- **Content-Type**: Not defined
|
|
698
|
+
- **Accept**: application/json
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
### HTTP response details
|
|
702
|
+
| Status code | Description | Response headers |
|
|
703
|
+
|-------------|-------------|------------------|
|
|
704
|
+
|**200** | Successful response | - |
|
|
705
|
+
|
|
706
|
+
[[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)
|
|
707
|
+
|
|
708
|
+
# **setEventOnSiteLabelDefault**
|
|
709
|
+
> CreateEventOnSiteLabel200Response setEventOnSiteLabelDefault()
|
|
710
|
+
|
|
711
|
+
Marks the specified label as the event\'s default print design, clearing the flag from whichever label held it before. Unassigned pass types fall through to this label; requires the \"update\" permission on events.
|
|
712
|
+
|
|
713
|
+
### Example
|
|
714
|
+
|
|
715
|
+
```typescript
|
|
716
|
+
import {
|
|
717
|
+
EventsOnSiteApi,
|
|
718
|
+
Configuration
|
|
719
|
+
} from '@connectedxm/admin-sdk';
|
|
720
|
+
|
|
721
|
+
const configuration = new Configuration();
|
|
722
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
723
|
+
|
|
724
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
725
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
726
|
+
|
|
727
|
+
const { status, data } = await apiInstance.setEventOnSiteLabelDefault(
|
|
728
|
+
eventId,
|
|
729
|
+
labelId
|
|
730
|
+
);
|
|
731
|
+
```
|
|
732
|
+
|
|
733
|
+
### Parameters
|
|
734
|
+
|
|
735
|
+
|Name | Type | Description | Notes|
|
|
736
|
+
|------------- | ------------- | ------------- | -------------|
|
|
737
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
738
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
### Return type
|
|
742
|
+
|
|
743
|
+
**CreateEventOnSiteLabel200Response**
|
|
744
|
+
|
|
745
|
+
### Authorization
|
|
746
|
+
|
|
747
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
748
|
+
|
|
749
|
+
### HTTP request headers
|
|
750
|
+
|
|
751
|
+
- **Content-Type**: Not defined
|
|
752
|
+
- **Accept**: application/json
|
|
753
|
+
|
|
754
|
+
|
|
286
755
|
### HTTP response details
|
|
287
756
|
| Status code | Description | Response headers |
|
|
288
757
|
|-------------|-------------|------------------|
|
|
@@ -453,3 +922,61 @@ const { status, data } = await apiInstance.updateEventCheckinCode(
|
|
|
453
922
|
|
|
454
923
|
[[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)
|
|
455
924
|
|
|
925
|
+
# **updateEventOnSiteLabel**
|
|
926
|
+
> CreateEventOnSiteLabel200Response updateEventOnSiteLabel(eventOnSiteLabelUpdateInputs)
|
|
927
|
+
|
|
928
|
+
Partially updates the specified on-site label. The default flag is not writable here — use SetEventOnSiteLabelDefault; requires the \"update\" permission on events.
|
|
929
|
+
|
|
930
|
+
### Example
|
|
931
|
+
|
|
932
|
+
```typescript
|
|
933
|
+
import {
|
|
934
|
+
EventsOnSiteApi,
|
|
935
|
+
Configuration,
|
|
936
|
+
EventOnSiteLabelUpdateInputs
|
|
937
|
+
} from '@connectedxm/admin-sdk';
|
|
938
|
+
|
|
939
|
+
const configuration = new Configuration();
|
|
940
|
+
const apiInstance = new EventsOnSiteApi(configuration);
|
|
941
|
+
|
|
942
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
943
|
+
let labelId: string; //The label identifier (default to undefined)
|
|
944
|
+
let eventOnSiteLabelUpdateInputs: EventOnSiteLabelUpdateInputs; //
|
|
945
|
+
|
|
946
|
+
const { status, data } = await apiInstance.updateEventOnSiteLabel(
|
|
947
|
+
eventId,
|
|
948
|
+
labelId,
|
|
949
|
+
eventOnSiteLabelUpdateInputs
|
|
950
|
+
);
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
### Parameters
|
|
954
|
+
|
|
955
|
+
|Name | Type | Description | Notes|
|
|
956
|
+
|------------- | ------------- | ------------- | -------------|
|
|
957
|
+
| **eventOnSiteLabelUpdateInputs** | **EventOnSiteLabelUpdateInputs**| | |
|
|
958
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
959
|
+
| **labelId** | [**string**] | The label identifier | defaults to undefined|
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
### Return type
|
|
963
|
+
|
|
964
|
+
**CreateEventOnSiteLabel200Response**
|
|
965
|
+
|
|
966
|
+
### Authorization
|
|
967
|
+
|
|
968
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
969
|
+
|
|
970
|
+
### HTTP request headers
|
|
971
|
+
|
|
972
|
+
- **Content-Type**: application/json
|
|
973
|
+
- **Accept**: application/json
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
### HTTP response details
|
|
977
|
+
| Status code | Description | Response headers |
|
|
978
|
+
|-------------|-------------|------------------|
|
|
979
|
+
|**200** | Successful response | - |
|
|
980
|
+
|
|
981
|
+
[[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)
|
|
982
|
+
|