@connectedxm/admin-sdk 10.20.0 → 10.21.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.
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **fileId** | **string** | | [default to undefined]
16
16
  **file** | [**BaseFile**](BaseFile.md) | | [default to undefined]
17
17
  **sortOrder** | **number** | | [default to undefined]
18
+ **mediaInteractionsEnabled** | **boolean** | | [default to undefined]
18
19
 
19
20
  ## Example
20
21
 
@@ -32,6 +33,7 @@ const instance: BaseEventMediaItem = {
32
33
  fileId,
33
34
  file,
34
35
  sortOrder,
36
+ mediaInteractionsEnabled,
35
37
  };
36
38
  ```
37
39
 
@@ -0,0 +1,24 @@
1
+ # BaseEventMediaItemLike
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **accountId** | **string** | | [default to undefined]
9
+ **eventId** | **string** | | [default to undefined]
10
+ **eventMediaItemId** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { BaseEventMediaItemLike } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: BaseEventMediaItemLike = {
18
+ accountId,
19
+ eventId,
20
+ eventMediaItemId,
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)
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **targetPassTypeId** | **string** | | [default to undefined]
13
13
  **targetPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
14
14
  **fixedPricing** | **boolean** | | [default to undefined]
15
+ **ignoreRefundSchedules** | **boolean** | | [default to undefined]
15
16
  **amount** | **number** | | [default to undefined]
16
17
  **startDate** | **string** | | [default to undefined]
17
18
  **endDate** | **string** | | [default to undefined]
@@ -29,6 +30,7 @@ const instance: BaseEventPassTypeExchangeTarget = {
29
30
  targetPassTypeId,
30
31
  targetPassType,
31
32
  fixedPricing,
33
+ ignoreRefundSchedules,
32
34
  amount,
33
35
  startDate,
34
36
  endDate,
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **fileId** | **string** | | [default to undefined]
16
16
  **file** | [**BaseFile**](BaseFile.md) | | [default to undefined]
17
17
  **sortOrder** | **number** | | [default to undefined]
18
+ **mediaInteractionsEnabled** | **boolean** | | [default to undefined]
18
19
  **allowedPassTypes** | [**Array<BaseEventPassType>**](BaseEventPassType.md) | | [default to undefined]
19
20
  **allowedTiers** | [**Array<BaseTier>**](BaseTier.md) | | [default to undefined]
20
21
  **createdAt** | **string** | | [default to undefined]
@@ -36,6 +37,7 @@ const instance: EventMediaItem = {
36
37
  fileId,
37
38
  file,
38
39
  sortOrder,
40
+ mediaInteractionsEnabled,
39
41
  allowedPassTypes,
40
42
  allowedTiers,
41
43
  createdAt,
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **imageId** | **string** | | [optional] [default to undefined]
12
12
  **videoId** | **string** | | [optional] [default to undefined]
13
13
  **fileId** | **string** | | [optional] [default to undefined]
14
+ **mediaInteractionsEnabled** | **boolean** | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: EventMediaItemCreateInputs = {
24
25
  imageId,
25
26
  videoId,
26
27
  fileId,
28
+ mediaInteractionsEnabled,
27
29
  };
28
30
  ```
29
31
 
@@ -0,0 +1,30 @@
1
+ # EventMediaItemLike
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **accountId** | **string** | | [default to undefined]
9
+ **eventId** | **string** | | [default to undefined]
10
+ **eventMediaItemId** | **string** | | [default to undefined]
11
+ **account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
12
+ **createdAt** | **string** | | [default to undefined]
13
+ **updatedAt** | **string** | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { EventMediaItemLike } from '@connectedxm/admin-sdk';
19
+
20
+ const instance: EventMediaItemLike = {
21
+ accountId,
22
+ eventId,
23
+ eventMediaItemId,
24
+ account,
25
+ createdAt,
26
+ updatedAt,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **string** | | [optional] [default to undefined]
9
9
  **description** | **string** | | [optional] [default to undefined]
10
10
  **sortOrder** | **number** | | [optional] [default to undefined]
11
+ **mediaInteractionsEnabled** | **boolean** | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: EventMediaItemUpdateInputs = {
18
19
  name,
19
20
  description,
20
21
  sortOrder,
22
+ mediaInteractionsEnabled,
21
23
  };
22
24
  ```
23
25
 
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **targetPassTypeId** | **string** | | [default to undefined]
13
13
  **targetPassType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
14
14
  **fixedPricing** | **boolean** | | [default to undefined]
15
+ **ignoreRefundSchedules** | **boolean** | | [default to undefined]
15
16
  **amount** | **number** | | [default to undefined]
16
17
  **startDate** | **string** | | [default to undefined]
17
18
  **endDate** | **string** | | [default to undefined]
@@ -31,6 +32,7 @@ const instance: EventPassTypeExchangeTarget = {
31
32
  targetPassTypeId,
32
33
  targetPassType,
33
34
  fixedPricing,
35
+ ignoreRefundSchedules,
34
36
  amount,
35
37
  startDate,
36
38
  endDate,
@@ -9,6 +9,8 @@ All URIs are relative to *https://admin-api.connected.dev*
9
9
  |[**createEventMediaItem**](#createeventmediaitem) | **POST** /events/{eventId}/media | Create an event media item|
10
10
  |[**deleteEventMediaItem**](#deleteeventmediaitem) | **DELETE** /events/{eventId}/media/{mediaItemId} | Delete an event media item|
11
11
  |[**getEventMediaItem**](#geteventmediaitem) | **GET** /events/{eventId}/media/{itemId} | Get a single event media item|
12
+ |[**getEventMediaItemActivities**](#geteventmediaitemactivities) | **GET** /events/{eventId}/media/{mediaItemId}/activities | List a media item\'s activity feed|
13
+ |[**getEventMediaItemLikes**](#geteventmediaitemlikes) | **GET** /events/{eventId}/media/{mediaItemId}/likes | List a media item\'s likes|
12
14
  |[**getEventMediaItemPassTypes**](#geteventmediaitempasstypes) | **GET** /events/{eventId}/media/{mediaItemId}/passTypes | List pass types linked to a media item|
13
15
  |[**getEventMediaItemTiers**](#geteventmediaitemtiers) | **GET** /events/{eventId}/media/{mediaItemId}/tiers | List tiers linked to a media item|
14
16
  |[**getEventMediaItems**](#geteventmediaitems) | **GET** /events/{eventId}/media | List an event\'s media items|
@@ -286,6 +288,141 @@ const { status, data } = await apiInstance.getEventMediaItem(
286
288
  - **Accept**: application/json
287
289
 
288
290
 
291
+ ### HTTP response details
292
+ | Status code | Description | Response headers |
293
+ |-------------|-------------|------------------|
294
+ |**200** | Successful response | - |
295
+
296
+ [[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)
297
+
298
+ # **getEventMediaItemActivities**
299
+ > GetAccountActivities200Response getEventMediaItemActivities()
300
+
301
+ Returns a paginated list of activity records posted on a specific event media item, optionally filtered by activity status and search term, requiring read permission on events, storage, and activities.
302
+
303
+ ### Example
304
+
305
+ ```typescript
306
+ import {
307
+ EventsMediaApi,
308
+ Configuration
309
+ } from '@connectedxm/admin-sdk';
310
+
311
+ const configuration = new Configuration();
312
+ const apiInstance = new EventsMediaApi(configuration);
313
+
314
+ let eventId: string; //The event identifier (default to undefined)
315
+ let mediaItemId: string; //The mediaItem identifier (default to undefined)
316
+ let status: ActivityStatus; //Filter by status (optional) (default to undefined)
317
+ let page: number; //Page number (optional) (default to 1)
318
+ let pageSize: number; //Number of items per page (optional) (default to 25)
319
+ let orderBy: string; //Field to order by (optional) (default to undefined)
320
+ let search: string; //Search query (optional) (default to undefined)
321
+
322
+ const { status, data } = await apiInstance.getEventMediaItemActivities(
323
+ eventId,
324
+ mediaItemId,
325
+ status,
326
+ page,
327
+ pageSize,
328
+ orderBy,
329
+ search
330
+ );
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+ |Name | Type | Description | Notes|
336
+ |------------- | ------------- | ------------- | -------------|
337
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
338
+ | **mediaItemId** | [**string**] | The mediaItem identifier | defaults to undefined|
339
+ | **status** | **ActivityStatus** | Filter by status | (optional) defaults to undefined|
340
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
341
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
342
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
343
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
344
+
345
+
346
+ ### Return type
347
+
348
+ **GetAccountActivities200Response**
349
+
350
+ ### Authorization
351
+
352
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
353
+
354
+ ### HTTP request headers
355
+
356
+ - **Content-Type**: Not defined
357
+ - **Accept**: application/json
358
+
359
+
360
+ ### HTTP response details
361
+ | Status code | Description | Response headers |
362
+ |-------------|-------------|------------------|
363
+ |**200** | Successful response | - |
364
+
365
+ [[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)
366
+
367
+ # **getEventMediaItemLikes**
368
+ > GetEventMediaItemLikes200Response getEventMediaItemLikes()
369
+
370
+ Returns a paginated list of accounts that liked a specific event media item, optionally filtered by search term and sort order, requiring read permission on events and storage.
371
+
372
+ ### Example
373
+
374
+ ```typescript
375
+ import {
376
+ EventsMediaApi,
377
+ Configuration
378
+ } from '@connectedxm/admin-sdk';
379
+
380
+ const configuration = new Configuration();
381
+ const apiInstance = new EventsMediaApi(configuration);
382
+
383
+ let eventId: string; //The event identifier (default to undefined)
384
+ let mediaItemId: string; //The mediaItem identifier (default to undefined)
385
+ let page: number; //Page number (optional) (default to 1)
386
+ let pageSize: number; //Number of items per page (optional) (default to 25)
387
+ let orderBy: string; //Field to order by (optional) (default to undefined)
388
+ let search: string; //Search query (optional) (default to undefined)
389
+
390
+ const { status, data } = await apiInstance.getEventMediaItemLikes(
391
+ eventId,
392
+ mediaItemId,
393
+ page,
394
+ pageSize,
395
+ orderBy,
396
+ search
397
+ );
398
+ ```
399
+
400
+ ### Parameters
401
+
402
+ |Name | Type | Description | Notes|
403
+ |------------- | ------------- | ------------- | -------------|
404
+ | **eventId** | [**string**] | The event identifier | defaults to undefined|
405
+ | **mediaItemId** | [**string**] | The mediaItem identifier | defaults to undefined|
406
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
407
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
408
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
409
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
410
+
411
+
412
+ ### Return type
413
+
414
+ **GetEventMediaItemLikes200Response**
415
+
416
+ ### Authorization
417
+
418
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
419
+
420
+ ### HTTP request headers
421
+
422
+ - **Content-Type**: Not defined
423
+ - **Accept**: application/json
424
+
425
+
289
426
  ### HTTP response details
290
427
  | Status code | Description | Response headers |
291
428
  |-------------|-------------|------------------|
@@ -0,0 +1,26 @@
1
+ # GetEventMediaItemLikes200Response
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<EventMediaItemLike>**](EventMediaItemLike.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetEventMediaItemLikes200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetEventMediaItemLikes200Response = {
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)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **enabled** | **boolean** | | [default to undefined]
9
9
  **targetPassTypeId** | **string** | | [default to undefined]
10
10
  **fixedPricing** | **boolean** | | [optional] [default to undefined]
11
+ **ignoreRefundSchedules** | **boolean** | | [optional] [default to undefined]
11
12
  **amount** | **number** | | [optional] [default to undefined]
12
13
  **startDate** | **string** | | [optional] [default to undefined]
13
14
  **endDate** | **string** | | [optional] [default to undefined]
@@ -21,6 +22,7 @@ const instance: PassTypeExchangeTargetCreateInputs = {
21
22
  enabled,
22
23
  targetPassTypeId,
23
24
  fixedPricing,
25
+ ignoreRefundSchedules,
24
26
  amount,
25
27
  startDate,
26
28
  endDate,
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **enabled** | **boolean** | | [optional] [default to undefined]
9
9
  **fixedPricing** | **boolean** | | [optional] [default to undefined]
10
+ **ignoreRefundSchedules** | **boolean** | | [optional] [default to undefined]
10
11
  **amount** | **number** | | [optional] [default to undefined]
11
12
  **startDate** | **string** | | [optional] [default to undefined]
12
13
  **endDate** | **string** | | [optional] [default to undefined]
@@ -19,6 +20,7 @@ import { PassTypeExchangeTargetUpdateInputs } from '@connectedxm/admin-sdk';
19
20
  const instance: PassTypeExchangeTargetUpdateInputs = {
20
21
  enabled,
21
22
  fixedPricing,
23
+ ignoreRefundSchedules,
22
24
  amount,
23
25
  startDate,
24
26
  endDate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "10.20.0",
3
+ "version": "10.21.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {