@connectedxm/admin-sdk 16.8.1 → 16.9.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.
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 16.8.1
5
+ * The version of the OpenAPI document: 16.9.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3,7 +3,7 @@
3
3
  * Connected Admin API
4
4
  * The Admin API allows you to manage your Connected community programmatically.
5
5
  *
6
- * The version of the OpenAPI document: 16.8.1
6
+ * The version of the OpenAPI document: 16.9.0
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,12 +5,18 @@ All URIs are relative to *https://admin-api.connected.dev*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**addEventPageImage**](#addeventpageimage) | **POST** /events/{eventId}/pages/{pageId}/images/{imageId} | Add an image to an event page|
8
+ |[**addEventPagePassType**](#addeventpagepasstype) | **POST** /events/{eventId}/pages/{pageId}/passTypes/{passTypeId} | Restrict an event page to a pass type|
9
+ |[**addEventPageTier**](#addeventpagetier) | **POST** /events/{eventId}/pages/{pageId}/tiers/{tierId} | Restrict an event page to a tier|
8
10
  |[**createEventPage**](#createeventpage) | **POST** /events/{eventId}/pages | Create an event page|
9
11
  |[**deleteEventPage**](#deleteeventpage) | **DELETE** /events/{eventId}/pages/{pageId} | Delete an event page|
10
12
  |[**getEventPage**](#geteventpage) | **GET** /events/{eventId}/pages/{pageId} | Get an event page|
11
13
  |[**getEventPageImages**](#geteventpageimages) | **GET** /events/{eventId}/pages/{pageId}/images | List an event page\'s images|
14
+ |[**getEventPagePassTypes**](#geteventpagepasstypes) | **GET** /events/{eventId}/pages/{pageId}/passTypes | List pass types linked to an event page|
15
+ |[**getEventPageTiers**](#geteventpagetiers) | **GET** /events/{eventId}/pages/{pageId}/tiers | List tiers linked to an event page|
12
16
  |[**getEventPages**](#geteventpages) | **GET** /events/{eventId}/pages | List an event\'s pages|
13
17
  |[**removeEventPageImage**](#removeeventpageimage) | **DELETE** /events/{eventId}/pages/{pageId}/images/{imageId} | Remove an image from an event page|
18
+ |[**removeEventPagePassType**](#removeeventpagepasstype) | **DELETE** /events/{eventId}/pages/{pageId}/passTypes/{passTypeId} | Remove a pass type restriction from an event page|
19
+ |[**removeEventPageTier**](#removeeventpagetier) | **DELETE** /events/{eventId}/pages/{pageId}/tiers/{tierId} | Remove a tier restriction from an event page|
14
20
  |[**updateEventPage**](#updateeventpage) | **PUT** /events/{eventId}/pages/{pageId} | Update an event page|
15
21
 
16
22
  # **addEventPageImage**
@@ -49,6 +55,120 @@ const { status, data } = await apiInstance.addEventPageImage(
49
55
  | **imageId** | [**string**] | The image identifier | defaults to undefined|
50
56
 
51
57
 
58
+ ### Return type
59
+
60
+ **CreateEventPage200Response**
61
+
62
+ ### Authorization
63
+
64
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: Not defined
69
+ - **Accept**: application/json
70
+
71
+
72
+ ### HTTP response details
73
+ | Status code | Description | Response headers |
74
+ |-------------|-------------|------------------|
75
+ |**200** | Successful response | - |
76
+
77
+ [[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)
78
+
79
+ # **addEventPagePassType**
80
+ > CreateEventPage200Response addEventPagePassType()
81
+
82
+ Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
83
+
84
+ ### Example
85
+
86
+ ```typescript
87
+ import {
88
+ EventsPagesApi,
89
+ Configuration
90
+ } from '@connectedxm/admin-sdk';
91
+
92
+ const configuration = new Configuration();
93
+ const apiInstance = new EventsPagesApi(configuration);
94
+
95
+ let eventId: string; //The event identifier (default to undefined)
96
+ let pageId: string; //The page identifier (default to undefined)
97
+ let passTypeId: string; //The passType identifier (default to undefined)
98
+
99
+ const { status, data } = await apiInstance.addEventPagePassType(
100
+ eventId,
101
+ pageId,
102
+ passTypeId
103
+ );
104
+ ```
105
+
106
+ ### Parameters
107
+
108
+ |Name | Type | Description | Notes|
109
+ |------------- | ------------- | ------------- | -------------|
110
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
111
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
112
+ | **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
113
+
114
+
115
+ ### Return type
116
+
117
+ **CreateEventPage200Response**
118
+
119
+ ### Authorization
120
+
121
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
122
+
123
+ ### HTTP request headers
124
+
125
+ - **Content-Type**: Not defined
126
+ - **Accept**: application/json
127
+
128
+
129
+ ### HTTP response details
130
+ | Status code | Description | Response headers |
131
+ |-------------|-------------|------------------|
132
+ |**200** | Successful response | - |
133
+
134
+ [[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)
135
+
136
+ # **addEventPageTier**
137
+ > CreateEventPage200Response addEventPageTier()
138
+
139
+ Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
140
+
141
+ ### Example
142
+
143
+ ```typescript
144
+ import {
145
+ EventsPagesApi,
146
+ Configuration
147
+ } from '@connectedxm/admin-sdk';
148
+
149
+ const configuration = new Configuration();
150
+ const apiInstance = new EventsPagesApi(configuration);
151
+
152
+ let eventId: string; //The event identifier (default to undefined)
153
+ let pageId: string; //The page identifier (default to undefined)
154
+ let tierId: string; //The tier identifier (default to undefined)
155
+
156
+ const { status, data } = await apiInstance.addEventPageTier(
157
+ eventId,
158
+ pageId,
159
+ tierId
160
+ );
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+ |Name | Type | Description | Notes|
166
+ |------------- | ------------- | ------------- | -------------|
167
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
168
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
169
+ | **tierId** | [**string**] | The tier identifier | defaults to undefined|
170
+
171
+
52
172
  ### Return type
53
173
 
54
174
  **CreateEventPage200Response**
@@ -292,6 +412,138 @@ const { status, data } = await apiInstance.getEventPageImages(
292
412
  - **Accept**: application/json
293
413
 
294
414
 
415
+ ### HTTP response details
416
+ | Status code | Description | Response headers |
417
+ |-------------|-------------|------------------|
418
+ |**200** | Successful response | - |
419
+
420
+ [[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)
421
+
422
+ # **getEventPagePassTypes**
423
+ > GetEventAddOnPassTypes200Response getEventPagePassTypes()
424
+
425
+ Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
426
+
427
+ ### Example
428
+
429
+ ```typescript
430
+ import {
431
+ EventsPagesApi,
432
+ Configuration
433
+ } from '@connectedxm/admin-sdk';
434
+
435
+ const configuration = new Configuration();
436
+ const apiInstance = new EventsPagesApi(configuration);
437
+
438
+ let eventId: string; //The event identifier (default to undefined)
439
+ let pageId: string; //The page identifier (default to undefined)
440
+ let page: number; //Page number (optional) (default to 1)
441
+ let pageSize: number; //Number of items per page (optional) (default to 25)
442
+ let orderBy: string; //Field to order by (optional) (default to undefined)
443
+ let search: string; //Search query (optional) (default to undefined)
444
+
445
+ const { status, data } = await apiInstance.getEventPagePassTypes(
446
+ eventId,
447
+ pageId,
448
+ page,
449
+ pageSize,
450
+ orderBy,
451
+ search
452
+ );
453
+ ```
454
+
455
+ ### Parameters
456
+
457
+ |Name | Type | Description | Notes|
458
+ |------------- | ------------- | ------------- | -------------|
459
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
460
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
461
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
462
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
463
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
464
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
465
+
466
+
467
+ ### Return type
468
+
469
+ **GetEventAddOnPassTypes200Response**
470
+
471
+ ### Authorization
472
+
473
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
474
+
475
+ ### HTTP request headers
476
+
477
+ - **Content-Type**: Not defined
478
+ - **Accept**: application/json
479
+
480
+
481
+ ### HTTP response details
482
+ | Status code | Description | Response headers |
483
+ |-------------|-------------|------------------|
484
+ |**200** | Successful response | - |
485
+
486
+ [[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)
487
+
488
+ # **getEventPageTiers**
489
+ > GetAccountTiers200Response getEventPageTiers()
490
+
491
+ Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
492
+
493
+ ### Example
494
+
495
+ ```typescript
496
+ import {
497
+ EventsPagesApi,
498
+ Configuration
499
+ } from '@connectedxm/admin-sdk';
500
+
501
+ const configuration = new Configuration();
502
+ const apiInstance = new EventsPagesApi(configuration);
503
+
504
+ let eventId: string; //The event identifier (default to undefined)
505
+ let pageId: string; //The page identifier (default to undefined)
506
+ let page: number; //Page number (optional) (default to 1)
507
+ let pageSize: number; //Number of items per page (optional) (default to 25)
508
+ let orderBy: string; //Field to order by (optional) (default to undefined)
509
+ let search: string; //Search query (optional) (default to undefined)
510
+
511
+ const { status, data } = await apiInstance.getEventPageTiers(
512
+ eventId,
513
+ pageId,
514
+ page,
515
+ pageSize,
516
+ orderBy,
517
+ search
518
+ );
519
+ ```
520
+
521
+ ### Parameters
522
+
523
+ |Name | Type | Description | Notes|
524
+ |------------- | ------------- | ------------- | -------------|
525
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
526
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
527
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
528
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
529
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
530
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
531
+
532
+
533
+ ### Return type
534
+
535
+ **GetAccountTiers200Response**
536
+
537
+ ### Authorization
538
+
539
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
540
+
541
+ ### HTTP request headers
542
+
543
+ - **Content-Type**: Not defined
544
+ - **Accept**: application/json
545
+
546
+
295
547
  ### HTTP response details
296
548
  | Status code | Description | Response headers |
297
549
  |-------------|-------------|------------------|
@@ -398,6 +650,120 @@ const { status, data } = await apiInstance.removeEventPageImage(
398
650
  | **imageId** | [**string**] | The image identifier | defaults to undefined|
399
651
 
400
652
 
653
+ ### Return type
654
+
655
+ **CreateEventPage200Response**
656
+
657
+ ### Authorization
658
+
659
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
660
+
661
+ ### HTTP request headers
662
+
663
+ - **Content-Type**: Not defined
664
+ - **Accept**: application/json
665
+
666
+
667
+ ### HTTP response details
668
+ | Status code | Description | Response headers |
669
+ |-------------|-------------|------------------|
670
+ |**200** | Successful response | - |
671
+
672
+ [[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)
673
+
674
+ # **removeEventPagePassType**
675
+ > CreateEventPage200Response removeEventPagePassType()
676
+
677
+ Revokes a pass type\'s access to an event page, and requires read and update permission on events.
678
+
679
+ ### Example
680
+
681
+ ```typescript
682
+ import {
683
+ EventsPagesApi,
684
+ Configuration
685
+ } from '@connectedxm/admin-sdk';
686
+
687
+ const configuration = new Configuration();
688
+ const apiInstance = new EventsPagesApi(configuration);
689
+
690
+ let eventId: string; //The event identifier (default to undefined)
691
+ let pageId: string; //The page identifier (default to undefined)
692
+ let passTypeId: string; //The passType identifier (default to undefined)
693
+
694
+ const { status, data } = await apiInstance.removeEventPagePassType(
695
+ eventId,
696
+ pageId,
697
+ passTypeId
698
+ );
699
+ ```
700
+
701
+ ### Parameters
702
+
703
+ |Name | Type | Description | Notes|
704
+ |------------- | ------------- | ------------- | -------------|
705
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
706
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
707
+ | **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
708
+
709
+
710
+ ### Return type
711
+
712
+ **CreateEventPage200Response**
713
+
714
+ ### Authorization
715
+
716
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
717
+
718
+ ### HTTP request headers
719
+
720
+ - **Content-Type**: Not defined
721
+ - **Accept**: application/json
722
+
723
+
724
+ ### HTTP response details
725
+ | Status code | Description | Response headers |
726
+ |-------------|-------------|------------------|
727
+ |**200** | Successful response | - |
728
+
729
+ [[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)
730
+
731
+ # **removeEventPageTier**
732
+ > CreateEventPage200Response removeEventPageTier()
733
+
734
+ Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
735
+
736
+ ### Example
737
+
738
+ ```typescript
739
+ import {
740
+ EventsPagesApi,
741
+ Configuration
742
+ } from '@connectedxm/admin-sdk';
743
+
744
+ const configuration = new Configuration();
745
+ const apiInstance = new EventsPagesApi(configuration);
746
+
747
+ let eventId: string; //The event identifier (default to undefined)
748
+ let pageId: string; //The page identifier (default to undefined)
749
+ let tierId: string; //The tier identifier (default to undefined)
750
+
751
+ const { status, data } = await apiInstance.removeEventPageTier(
752
+ eventId,
753
+ pageId,
754
+ tierId
755
+ );
756
+ ```
757
+
758
+ ### Parameters
759
+
760
+ |Name | Type | Description | Notes|
761
+ |------------- | ------------- | ------------- | -------------|
762
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
763
+ | **pageId** | [**string**] | The page identifier | defaults to undefined|
764
+ | **tierId** | [**string**] | The tier identifier | defaults to undefined|
765
+
766
+
401
767
  ### Return type
402
768
 
403
769
  **CreateEventPage200Response**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "16.8.1",
3
+ "version": "16.9.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {