@connectedxm/admin-sdk 11.23.1 → 12.0.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.
Files changed (77) hide show
  1. package/.openapi-generator/FILES +42 -2
  2. package/AdminApi.ts +9 -0
  3. package/README.md +2 -2
  4. package/api.ts +2857 -214
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +4 -1
  9. package/dist/AdminApi.js +3 -0
  10. package/dist/api.d.ts +1601 -151
  11. package/dist/api.js +2074 -196
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +4 -1
  19. package/dist/esm/AdminApi.js +4 -1
  20. package/dist/esm/api.d.ts +1601 -151
  21. package/dist/esm/api.js +2028 -163
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/Announcement.md +10 -24
  29. package/docs/AnnouncementAudience.md +44 -0
  30. package/docs/AnnouncementAudienceCondition.md +98 -0
  31. package/docs/AnnouncementAudienceConditionAccountAttribute.md +26 -0
  32. package/docs/AnnouncementAudienceConditionChoice.md +22 -0
  33. package/docs/AnnouncementAudienceConditionComparator.md +14 -0
  34. package/docs/AnnouncementAudienceConditionCreateInputs.md +60 -0
  35. package/docs/AnnouncementAudienceConditionEvent.md +24 -0
  36. package/docs/AnnouncementAudienceConditionInputs.md +58 -0
  37. package/docs/AnnouncementAudienceConditionQuestion.md +24 -0
  38. package/docs/AnnouncementAudienceConditionReference.md +22 -0
  39. package/docs/AnnouncementAudienceConditionType.md +40 -0
  40. package/docs/AnnouncementAudienceConditionUpdateInputs.md +60 -0
  41. package/docs/AnnouncementAudienceCreateInputs.md +30 -0
  42. package/docs/AnnouncementAudienceFilter.md +32 -0
  43. package/docs/AnnouncementAudienceFilterCreateInputs.md +24 -0
  44. package/docs/AnnouncementAudienceFilterUpdateInputs.md +22 -0
  45. package/docs/AnnouncementAudienceOperator.md +10 -0
  46. package/docs/AnnouncementAudienceReference.md +26 -0
  47. package/docs/AnnouncementAudienceScope.md +24 -0
  48. package/docs/AnnouncementAudienceUpdateInputs.md +24 -0
  49. package/docs/AnnouncementCreateInputs.md +5 -13
  50. package/docs/AnnouncementFilters.md +4 -10
  51. package/docs/AnnouncementMergeField.md +24 -0
  52. package/docs/AnnouncementTemplate.md +32 -0
  53. package/docs/AnnouncementTemplateCreateInputs.md +26 -0
  54. package/docs/AnnouncementTemplateTranslation.md +30 -0
  55. package/docs/AnnouncementTemplateTranslationUpdateInputs.md +22 -0
  56. package/docs/AnnouncementTemplateUpdateInputs.md +26 -0
  57. package/docs/AnnouncementUpdateInputs.md +2 -2
  58. package/docs/AnnouncementsApi.md +69 -20
  59. package/docs/AnnouncementsAudiencesApi.md +698 -0
  60. package/docs/AnnouncementsTemplatesApi.md +281 -0
  61. package/docs/AnnouncementsTemplatesTranslationsApi.md +240 -0
  62. package/docs/BaseAnnouncement.md +6 -8
  63. package/docs/BaseAnnouncementAudience.md +36 -0
  64. package/docs/CreateAnnouncementAudience200Response.md +24 -0
  65. package/docs/CreateAnnouncementAudienceCondition200Response.md +24 -0
  66. package/docs/CreateAnnouncementAudienceFilter200Response.md +24 -0
  67. package/docs/CreateAnnouncementTemplate200Response.md +24 -0
  68. package/docs/{GetAnnouncementAudience200Response.md → GetAnnouncementAudienceAccounts200Response.md} +3 -3
  69. package/docs/GetAnnouncementAudiences200Response.md +26 -0
  70. package/docs/GetAnnouncementMergeFields200Response.md +24 -0
  71. package/docs/GetAnnouncementTemplateTranslation200Response.md +24 -0
  72. package/docs/GetAnnouncementTemplateTranslations200Response.md +26 -0
  73. package/docs/GetAnnouncementTemplates200Response.md +26 -0
  74. package/docs/SendAnnouncementPreviewRequest.md +20 -0
  75. package/docs/UpdateAnnouncementTemplateTranslation200Response.md +24 -0
  76. package/package.json +1 -1
  77. package/docs/EventAnnouncementFilters.md +0 -30
@@ -0,0 +1,281 @@
1
+ # AnnouncementsTemplatesApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**createAnnouncementTemplate**](#createannouncementtemplate) | **POST** /announcements/templates | Create an announcement template|
8
+ |[**deleteAnnouncementTemplate**](#deleteannouncementtemplate) | **DELETE** /announcements/templates/{templateId} | Delete an announcement template|
9
+ |[**getAnnouncementTemplate**](#getannouncementtemplate) | **GET** /announcements/templates/{templateId} | Get an announcement template|
10
+ |[**getAnnouncementTemplates**](#getannouncementtemplates) | **GET** /announcements/templates | List announcement templates|
11
+ |[**updateAnnouncementTemplate**](#updateannouncementtemplate) | **PUT** /announcements/templates/{templateId} | Update an announcement template|
12
+
13
+ # **createAnnouncementTemplate**
14
+ > CreateAnnouncementTemplate200Response createAnnouncementTemplate(announcementTemplateCreateInputs)
15
+
16
+ Creates a reusable announcement template with a name and optional default subject and HTML body; requires create permission on announcements.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ AnnouncementsTemplatesApi,
23
+ Configuration,
24
+ AnnouncementTemplateCreateInputs
25
+ } from '@connectedxm/admin-sdk';
26
+
27
+ const configuration = new Configuration();
28
+ const apiInstance = new AnnouncementsTemplatesApi(configuration);
29
+
30
+ let announcementTemplateCreateInputs: AnnouncementTemplateCreateInputs; //
31
+
32
+ const { status, data } = await apiInstance.createAnnouncementTemplate(
33
+ announcementTemplateCreateInputs
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **announcementTemplateCreateInputs** | **AnnouncementTemplateCreateInputs**| | |
42
+
43
+
44
+ ### Return type
45
+
46
+ **CreateAnnouncementTemplate200Response**
47
+
48
+ ### Authorization
49
+
50
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
51
+
52
+ ### HTTP request headers
53
+
54
+ - **Content-Type**: application/json
55
+ - **Accept**: application/json
56
+
57
+
58
+ ### HTTP response details
59
+ | Status code | Description | Response headers |
60
+ |-------------|-------------|------------------|
61
+ |**200** | Successful response | - |
62
+
63
+ [[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)
64
+
65
+ # **deleteAnnouncementTemplate**
66
+ > CreateAccountInvitations200Response deleteAnnouncementTemplate()
67
+
68
+ Permanently deletes a template and its translations. Announcements created from it are unaffected; requires delete permission on announcements.
69
+
70
+ ### Example
71
+
72
+ ```typescript
73
+ import {
74
+ AnnouncementsTemplatesApi,
75
+ Configuration
76
+ } from '@connectedxm/admin-sdk';
77
+
78
+ const configuration = new Configuration();
79
+ const apiInstance = new AnnouncementsTemplatesApi(configuration);
80
+
81
+ let templateId: string; //The template identifier (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.deleteAnnouncementTemplate(
84
+ templateId
85
+ );
86
+ ```
87
+
88
+ ### Parameters
89
+
90
+ |Name | Type | Description | Notes|
91
+ |------------- | ------------- | ------------- | -------------|
92
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
93
+
94
+
95
+ ### Return type
96
+
97
+ **CreateAccountInvitations200Response**
98
+
99
+ ### Authorization
100
+
101
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
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
+
116
+ # **getAnnouncementTemplate**
117
+ > CreateAnnouncementTemplate200Response getAnnouncementTemplate()
118
+
119
+ Returns one announcement template with its name, description, default subject and HTML body; requires read permission on announcements.
120
+
121
+ ### Example
122
+
123
+ ```typescript
124
+ import {
125
+ AnnouncementsTemplatesApi,
126
+ Configuration
127
+ } from '@connectedxm/admin-sdk';
128
+
129
+ const configuration = new Configuration();
130
+ const apiInstance = new AnnouncementsTemplatesApi(configuration);
131
+
132
+ let templateId: string; //The template identifier (default to undefined)
133
+
134
+ const { status, data } = await apiInstance.getAnnouncementTemplate(
135
+ templateId
136
+ );
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ |Name | Type | Description | Notes|
142
+ |------------- | ------------- | ------------- | -------------|
143
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
144
+
145
+
146
+ ### Return type
147
+
148
+ **CreateAnnouncementTemplate200Response**
149
+
150
+ ### Authorization
151
+
152
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: application/json
158
+
159
+
160
+ ### HTTP response details
161
+ | Status code | Description | Response headers |
162
+ |-------------|-------------|------------------|
163
+ |**200** | Successful response | - |
164
+
165
+ [[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)
166
+
167
+ # **getAnnouncementTemplates**
168
+ > GetAnnouncementTemplates200Response getAnnouncementTemplates()
169
+
170
+ Returns a paginated list of the organization\'s announcement templates, searchable by name; requires read permission on announcements.
171
+
172
+ ### Example
173
+
174
+ ```typescript
175
+ import {
176
+ AnnouncementsTemplatesApi,
177
+ Configuration
178
+ } from '@connectedxm/admin-sdk';
179
+
180
+ const configuration = new Configuration();
181
+ const apiInstance = new AnnouncementsTemplatesApi(configuration);
182
+
183
+ let page: number; //Page number (optional) (default to 1)
184
+ let pageSize: number; //Number of items per page (optional) (default to 25)
185
+ let orderBy: string; //Field to order by (optional) (default to undefined)
186
+ let search: string; //Search query (optional) (default to undefined)
187
+
188
+ const { status, data } = await apiInstance.getAnnouncementTemplates(
189
+ page,
190
+ pageSize,
191
+ orderBy,
192
+ search
193
+ );
194
+ ```
195
+
196
+ ### Parameters
197
+
198
+ |Name | Type | Description | Notes|
199
+ |------------- | ------------- | ------------- | -------------|
200
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
201
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
202
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
203
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
204
+
205
+
206
+ ### Return type
207
+
208
+ **GetAnnouncementTemplates200Response**
209
+
210
+ ### Authorization
211
+
212
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
213
+
214
+ ### HTTP request headers
215
+
216
+ - **Content-Type**: Not defined
217
+ - **Accept**: application/json
218
+
219
+
220
+ ### HTTP response details
221
+ | Status code | Description | Response headers |
222
+ |-------------|-------------|------------------|
223
+ |**200** | Successful response | - |
224
+
225
+ [[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)
226
+
227
+ # **updateAnnouncementTemplate**
228
+ > CreateAnnouncementTemplate200Response updateAnnouncementTemplate(announcementTemplateUpdateInputs)
229
+
230
+ Updates a template\'s name, description, default subject or HTML body. Announcements already created from the template keep their copied content; requires update permission on announcements.
231
+
232
+ ### Example
233
+
234
+ ```typescript
235
+ import {
236
+ AnnouncementsTemplatesApi,
237
+ Configuration,
238
+ AnnouncementTemplateUpdateInputs
239
+ } from '@connectedxm/admin-sdk';
240
+
241
+ const configuration = new Configuration();
242
+ const apiInstance = new AnnouncementsTemplatesApi(configuration);
243
+
244
+ let templateId: string; //The template identifier (default to undefined)
245
+ let announcementTemplateUpdateInputs: AnnouncementTemplateUpdateInputs; //
246
+
247
+ const { status, data } = await apiInstance.updateAnnouncementTemplate(
248
+ templateId,
249
+ announcementTemplateUpdateInputs
250
+ );
251
+ ```
252
+
253
+ ### Parameters
254
+
255
+ |Name | Type | Description | Notes|
256
+ |------------- | ------------- | ------------- | -------------|
257
+ | **announcementTemplateUpdateInputs** | **AnnouncementTemplateUpdateInputs**| | |
258
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
259
+
260
+
261
+ ### Return type
262
+
263
+ **CreateAnnouncementTemplate200Response**
264
+
265
+ ### Authorization
266
+
267
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: application/json
272
+ - **Accept**: application/json
273
+
274
+
275
+ ### HTTP response details
276
+ | Status code | Description | Response headers |
277
+ |-------------|-------------|------------------|
278
+ |**200** | Successful response | - |
279
+
280
+ [[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)
281
+
@@ -0,0 +1,240 @@
1
+ # AnnouncementsTemplatesTranslationsApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**deleteAnnouncementTemplateTranslation**](#deleteannouncementtemplatetranslation) | **DELETE** /announcements/templates/{templateId}/translations/{locale} | Delete an announcement template translation|
8
+ |[**getAnnouncementTemplateTranslation**](#getannouncementtemplatetranslation) | **GET** /announcements/templates/{templateId}/translations/{locale} | Get an announcement template\'s translation for a locale|
9
+ |[**getAnnouncementTemplateTranslations**](#getannouncementtemplatetranslations) | **GET** /announcements/templates/{templateId}/translations | List an announcement template\'s translations|
10
+ |[**updateAnnouncementTemplateTranslation**](#updateannouncementtemplatetranslation) | **PUT** /announcements/templates/{templateId}/translations/{locale} | Update an announcement template translation|
11
+
12
+ # **deleteAnnouncementTemplateTranslation**
13
+ > CreateAccountInvitations200Response deleteAnnouncementTemplateTranslation()
14
+
15
+ Removes the translation of a template in the specified locale; requires update permission on announcements.
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ AnnouncementsTemplatesTranslationsApi,
22
+ Configuration
23
+ } from '@connectedxm/admin-sdk';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new AnnouncementsTemplatesTranslationsApi(configuration);
27
+
28
+ let templateId: string; //The template identifier (default to undefined)
29
+ let locale: string; //The locale identifier (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.deleteAnnouncementTemplateTranslation(
32
+ templateId,
33
+ locale
34
+ );
35
+ ```
36
+
37
+ ### Parameters
38
+
39
+ |Name | Type | Description | Notes|
40
+ |------------- | ------------- | ------------- | -------------|
41
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
42
+ | **locale** | [**string**] | The locale identifier | defaults to undefined|
43
+
44
+
45
+ ### Return type
46
+
47
+ **CreateAccountInvitations200Response**
48
+
49
+ ### Authorization
50
+
51
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: Not defined
56
+ - **Accept**: application/json
57
+
58
+
59
+ ### HTTP response details
60
+ | Status code | Description | Response headers |
61
+ |-------------|-------------|------------------|
62
+ |**200** | Successful response | - |
63
+
64
+ [[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)
65
+
66
+ # **getAnnouncementTemplateTranslation**
67
+ > GetAnnouncementTemplateTranslation200Response getAnnouncementTemplateTranslation()
68
+
69
+ Returns the translated subject and HTML body of an announcement template for the specified locale, or null if no translation exists; requires read permission on announcements.
70
+
71
+ ### Example
72
+
73
+ ```typescript
74
+ import {
75
+ AnnouncementsTemplatesTranslationsApi,
76
+ Configuration
77
+ } from '@connectedxm/admin-sdk';
78
+
79
+ const configuration = new Configuration();
80
+ const apiInstance = new AnnouncementsTemplatesTranslationsApi(configuration);
81
+
82
+ let templateId: string; //The template identifier (default to undefined)
83
+ let locale: string; //The locale identifier (default to undefined)
84
+
85
+ const { status, data } = await apiInstance.getAnnouncementTemplateTranslation(
86
+ templateId,
87
+ locale
88
+ );
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ |Name | Type | Description | Notes|
94
+ |------------- | ------------- | ------------- | -------------|
95
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
96
+ | **locale** | [**string**] | The locale identifier | defaults to undefined|
97
+
98
+
99
+ ### Return type
100
+
101
+ **GetAnnouncementTemplateTranslation200Response**
102
+
103
+ ### Authorization
104
+
105
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
106
+
107
+ ### HTTP request headers
108
+
109
+ - **Content-Type**: Not defined
110
+ - **Accept**: application/json
111
+
112
+
113
+ ### HTTP response details
114
+ | Status code | Description | Response headers |
115
+ |-------------|-------------|------------------|
116
+ |**200** | Successful response | - |
117
+
118
+ [[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)
119
+
120
+ # **getAnnouncementTemplateTranslations**
121
+ > GetAnnouncementTemplateTranslations200Response getAnnouncementTemplateTranslations()
122
+
123
+ Returns a paginated list of locale translations for the given announcement template; requires read permission on announcements.
124
+
125
+ ### Example
126
+
127
+ ```typescript
128
+ import {
129
+ AnnouncementsTemplatesTranslationsApi,
130
+ Configuration
131
+ } from '@connectedxm/admin-sdk';
132
+
133
+ const configuration = new Configuration();
134
+ const apiInstance = new AnnouncementsTemplatesTranslationsApi(configuration);
135
+
136
+ let templateId: string; //The template identifier (default to undefined)
137
+ let page: number; //Page number (optional) (default to 1)
138
+ let pageSize: number; //Number of items per page (optional) (default to 25)
139
+ let orderBy: string; //Field to order by (optional) (default to undefined)
140
+ let search: string; //Search query (optional) (default to undefined)
141
+
142
+ const { status, data } = await apiInstance.getAnnouncementTemplateTranslations(
143
+ templateId,
144
+ page,
145
+ pageSize,
146
+ orderBy,
147
+ search
148
+ );
149
+ ```
150
+
151
+ ### Parameters
152
+
153
+ |Name | Type | Description | Notes|
154
+ |------------- | ------------- | ------------- | -------------|
155
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
156
+ | **page** | [**number**] | Page number | (optional) defaults to 1|
157
+ | **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
158
+ | **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
159
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
160
+
161
+
162
+ ### Return type
163
+
164
+ **GetAnnouncementTemplateTranslations200Response**
165
+
166
+ ### Authorization
167
+
168
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: Not defined
173
+ - **Accept**: application/json
174
+
175
+
176
+ ### HTTP response details
177
+ | Status code | Description | Response headers |
178
+ |-------------|-------------|------------------|
179
+ |**200** | Successful response | - |
180
+
181
+ [[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)
182
+
183
+ # **updateAnnouncementTemplateTranslation**
184
+ > UpdateAnnouncementTemplateTranslation200Response updateAnnouncementTemplateTranslation(announcementTemplateTranslationUpdateInputs)
185
+
186
+ Creates or updates the translated subject and HTML body of a template for the specified locale; requires update permission on announcements.
187
+
188
+ ### Example
189
+
190
+ ```typescript
191
+ import {
192
+ AnnouncementsTemplatesTranslationsApi,
193
+ Configuration,
194
+ AnnouncementTemplateTranslationUpdateInputs
195
+ } from '@connectedxm/admin-sdk';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new AnnouncementsTemplatesTranslationsApi(configuration);
199
+
200
+ let templateId: string; //The template identifier (default to undefined)
201
+ let locale: string; //The locale identifier (default to undefined)
202
+ let announcementTemplateTranslationUpdateInputs: AnnouncementTemplateTranslationUpdateInputs; //
203
+
204
+ const { status, data } = await apiInstance.updateAnnouncementTemplateTranslation(
205
+ templateId,
206
+ locale,
207
+ announcementTemplateTranslationUpdateInputs
208
+ );
209
+ ```
210
+
211
+ ### Parameters
212
+
213
+ |Name | Type | Description | Notes|
214
+ |------------- | ------------- | ------------- | -------------|
215
+ | **announcementTemplateTranslationUpdateInputs** | **AnnouncementTemplateTranslationUpdateInputs**| | |
216
+ | **templateId** | [**string**] | The template identifier | defaults to undefined|
217
+ | **locale** | [**string**] | The locale identifier | defaults to undefined|
218
+
219
+
220
+ ### Return type
221
+
222
+ **UpdateAnnouncementTemplateTranslation200Response**
223
+
224
+ ### Authorization
225
+
226
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
227
+
228
+ ### HTTP request headers
229
+
230
+ - **Content-Type**: application/json
231
+ - **Accept**: application/json
232
+
233
+
234
+ ### HTTP response details
235
+ | Status code | Description | Response headers |
236
+ |-------------|-------------|------------------|
237
+ |**200** | Successful response | - |
238
+
239
+ [[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)
240
+
@@ -13,15 +13,14 @@ Name | Type | Description | Notes
13
13
  **push** | **boolean** | | [default to undefined]
14
14
  **sms** | **boolean** | | [default to undefined]
15
15
  **includePasses** | **boolean** | | [default to undefined]
16
- **accountId** | **string** | | [default to undefined]
17
16
  **creatorId** | **string** | | [default to undefined]
18
17
  **eventId** | **string** | | [default to undefined]
19
18
  **groupId** | **string** | | [default to undefined]
20
- **tierId** | **string** | | [default to undefined]
21
- **channelId** | **string** | | [default to undefined]
22
- **ticketId** | **string** | | [default to undefined]
19
+ **audienceId** | **string** | | [default to undefined]
23
20
  **userId** | **string** | | [default to undefined]
24
21
  **schedule** | [**BaseSchedule**](BaseSchedule.md) | | [default to undefined]
22
+ **sentAt** | **string** | | [default to undefined]
23
+ **recipientCount** | **number** | | [default to undefined]
25
24
  **createdAt** | **string** | | [default to undefined]
26
25
 
27
26
  ## Example
@@ -38,15 +37,14 @@ const instance: BaseAnnouncement = {
38
37
  push,
39
38
  sms,
40
39
  includePasses,
41
- accountId,
42
40
  creatorId,
43
41
  eventId,
44
42
  groupId,
45
- tierId,
46
- channelId,
47
- ticketId,
43
+ audienceId,
48
44
  userId,
49
45
  schedule,
46
+ sentAt,
47
+ recipientCount,
50
48
  createdAt,
51
49
  };
52
50
  ```
@@ -0,0 +1,36 @@
1
+ # BaseAnnouncementAudience
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **name** | **string** | | [default to undefined]
10
+ **description** | **string** | | [default to undefined]
11
+ **eventId** | **string** | | [default to undefined]
12
+ **groupId** | **string** | | [default to undefined]
13
+ **channelId** | **string** | | [default to undefined]
14
+ **operator** | [**AnnouncementAudienceOperator**](AnnouncementAudienceOperator.md) | | [default to undefined]
15
+ **createdAt** | **string** | | [default to undefined]
16
+ **updatedAt** | **string** | | [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { BaseAnnouncementAudience } from '@connectedxm/admin-sdk';
22
+
23
+ const instance: BaseAnnouncementAudience = {
24
+ id,
25
+ name,
26
+ description,
27
+ eventId,
28
+ groupId,
29
+ channelId,
30
+ operator,
31
+ createdAt,
32
+ updatedAt,
33
+ };
34
+ ```
35
+
36
+ [[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
+ # CreateAnnouncementAudience200Response
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** | [**AnnouncementAudience**](AnnouncementAudience.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateAnnouncementAudience200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: CreateAnnouncementAudience200Response = {
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,24 @@
1
+ # CreateAnnouncementAudienceCondition200Response
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** | [**AnnouncementAudienceCondition**](AnnouncementAudienceCondition.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateAnnouncementAudienceCondition200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: CreateAnnouncementAudienceCondition200Response = {
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,24 @@
1
+ # CreateAnnouncementAudienceFilter200Response
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** | [**AnnouncementAudienceFilter**](AnnouncementAudienceFilter.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateAnnouncementAudienceFilter200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: CreateAnnouncementAudienceFilter200Response = {
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,24 @@
1
+ # CreateAnnouncementTemplate200Response
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** | [**AnnouncementTemplate**](AnnouncementTemplate.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateAnnouncementTemplate200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: CreateAnnouncementTemplate200Response = {
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)