@connectedxm/admin-sdk 11.1.0 → 11.3.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 +5 -0
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +257 -2
- 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 +144 -2
- package/dist/api.js +215 -25
- 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 +144 -2
- package/dist/esm/api.js +186 -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/BadgeColorRuleType.md +2 -0
- package/docs/BaseEventOnSiteBadgeColorRule.md +4 -0
- package/docs/EventBadgeColorRuleCreateInputs.md +4 -0
- package/docs/EventBadgeColorRuleUpdateInputs.md +4 -0
- package/docs/EventGroupCouponReminder.md +30 -0
- package/docs/EventGroupCouponReminderUpdateInputs.md +24 -0
- package/docs/EventOnSiteBadgeColorRule.md +6 -0
- package/docs/EventsGroupcouponreminderApi.md +115 -0
- package/docs/GetEventGroupCouponReminder200Response.md +24 -0
- package/docs/GroupCouponReminderFrequency.md +12 -0
- package/docs/NotificationPreferences.md +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# EventGroupCouponReminderUpdateInputs
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**frequency** | [**GroupCouponReminderFrequency**](GroupCouponReminderFrequency.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { EventGroupCouponReminderUpdateInputs } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: EventGroupCouponReminderUpdateInputs = {
|
|
18
|
+
enabled,
|
|
19
|
+
startDate,
|
|
20
|
+
frequency,
|
|
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)
|
|
@@ -14,9 +14,12 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**attributeValue** | **string** | | [default to undefined]
|
|
15
15
|
**tierId** | **string** | | [default to undefined]
|
|
16
16
|
**passTypeId** | **string** | | [default to undefined]
|
|
17
|
+
**passAttributeId** | **string** | | [default to undefined]
|
|
18
|
+
**passAttributeValue** | **string** | | [default to undefined]
|
|
17
19
|
**attribute** | [**BaseAccountAttribute**](BaseAccountAttribute.md) | | [default to undefined]
|
|
18
20
|
**tier** | [**BaseTier**](BaseTier.md) | | [default to undefined]
|
|
19
21
|
**passType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
|
|
22
|
+
**passAttribute** | [**BaseEventAttribute**](BaseEventAttribute.md) | | [default to undefined]
|
|
20
23
|
**createdAt** | **string** | | [default to undefined]
|
|
21
24
|
**updatedAt** | **string** | | [default to undefined]
|
|
22
25
|
|
|
@@ -35,9 +38,12 @@ const instance: EventOnSiteBadgeColorRule = {
|
|
|
35
38
|
attributeValue,
|
|
36
39
|
tierId,
|
|
37
40
|
passTypeId,
|
|
41
|
+
passAttributeId,
|
|
42
|
+
passAttributeValue,
|
|
38
43
|
attribute,
|
|
39
44
|
tier,
|
|
40
45
|
passType,
|
|
46
|
+
passAttribute,
|
|
41
47
|
createdAt,
|
|
42
48
|
updatedAt,
|
|
43
49
|
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# EventsGroupcouponreminderApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getEventGroupCouponReminder**](#geteventgroupcouponreminder) | **GET** /events/{eventId}/groupCouponReminder | Get an event\'s group coupon reminder schedule|
|
|
8
|
+
|[**updateEventGroupCouponReminder**](#updateeventgroupcouponreminder) | **PUT** /events/{eventId}/groupCouponReminder | Update an event\'s group coupon reminder schedule|
|
|
9
|
+
|
|
10
|
+
# **getEventGroupCouponReminder**
|
|
11
|
+
> GetEventGroupCouponReminder200Response getEventGroupCouponReminder()
|
|
12
|
+
|
|
13
|
+
Returns the per-event group coupon reminder configuration (enabled, start date, and frequency). A missing schedule is treated as off; requires read permission on events.
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
EventsGroupcouponreminderApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@connectedxm/admin-sdk';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new EventsGroupcouponreminderApi(configuration);
|
|
25
|
+
|
|
26
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getEventGroupCouponReminder(
|
|
29
|
+
eventId
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**GetEventGroupCouponReminder200Response**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Successful response | - |
|
|
58
|
+
|
|
59
|
+
[[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)
|
|
60
|
+
|
|
61
|
+
# **updateEventGroupCouponReminder**
|
|
62
|
+
> GetEventGroupCouponReminder200Response updateEventGroupCouponReminder(eventGroupCouponReminderUpdateInputs)
|
|
63
|
+
|
|
64
|
+
Partially updates the per-event group coupon reminder configuration. Pass null for startDate or frequency to clear the schedule; requires update permission on events.
|
|
65
|
+
|
|
66
|
+
### Example
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import {
|
|
70
|
+
EventsGroupcouponreminderApi,
|
|
71
|
+
Configuration,
|
|
72
|
+
EventGroupCouponReminderUpdateInputs
|
|
73
|
+
} from '@connectedxm/admin-sdk';
|
|
74
|
+
|
|
75
|
+
const configuration = new Configuration();
|
|
76
|
+
const apiInstance = new EventsGroupcouponreminderApi(configuration);
|
|
77
|
+
|
|
78
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
79
|
+
let eventGroupCouponReminderUpdateInputs: EventGroupCouponReminderUpdateInputs; //
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.updateEventGroupCouponReminder(
|
|
82
|
+
eventId,
|
|
83
|
+
eventGroupCouponReminderUpdateInputs
|
|
84
|
+
);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Parameters
|
|
88
|
+
|
|
89
|
+
|Name | Type | Description | Notes|
|
|
90
|
+
|------------- | ------------- | ------------- | -------------|
|
|
91
|
+
| **eventGroupCouponReminderUpdateInputs** | **EventGroupCouponReminderUpdateInputs**| | |
|
|
92
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**GetEventGroupCouponReminder200Response**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: application/json
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | Successful response | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# GetEventGroupCouponReminder200Response
|
|
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** | [**EventGroupCouponReminder**](EventGroupCouponReminder.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { GetEventGroupCouponReminder200Response } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: GetEventGroupCouponReminder200Response = {
|
|
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,12 @@
|
|
|
1
|
+
# GroupCouponReminderFrequency
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Weekly` (value: `'weekly'`)
|
|
7
|
+
|
|
8
|
+
* `Monthly` (value: `'monthly'`)
|
|
9
|
+
|
|
10
|
+
* `Quarterly` (value: `'quarterly'`)
|
|
11
|
+
|
|
12
|
+
[[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
|
**transferEmail** | **boolean** | | [default to undefined]
|
|
13
13
|
**eventReminderEmail** | **boolean** | | [default to undefined]
|
|
14
14
|
**abandonedRegistrationEmail** | **boolean** | | [default to undefined]
|
|
15
|
+
**groupCouponReminderEmail** | **boolean** | | [default to undefined]
|
|
15
16
|
**bookingReminderEmail** | **boolean** | | [default to undefined]
|
|
16
17
|
**chatPush** | **boolean** | | [default to undefined]
|
|
17
18
|
**chatUnreadEmail** | **boolean** | | [default to undefined]
|
|
@@ -37,6 +38,7 @@ const instance: NotificationPreferences = {
|
|
|
37
38
|
transferEmail,
|
|
38
39
|
eventReminderEmail,
|
|
39
40
|
abandonedRegistrationEmail,
|
|
41
|
+
groupCouponReminderEmail,
|
|
40
42
|
bookingReminderEmail,
|
|
41
43
|
chatPush,
|
|
42
44
|
chatUnreadEmail,
|