@connectedxm/admin-sdk 11.23.0 → 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 (78) 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 +2923 -374
  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 +1558 -155
  11. package/dist/api.js +2127 -324
  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 +1558 -155
  21. package/dist/esm/api.js +2081 -291
  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/LoginsApi.md +3 -58
  75. package/docs/SendAnnouncementPreviewRequest.md +20 -0
  76. package/docs/UpdateAnnouncementTemplateTranslation200Response.md +24 -0
  77. package/package.json +1 -1
  78. package/docs/EventAnnouncementFilters.md +0 -30
@@ -1,4 +1,4 @@
1
- # GetAnnouncementAudience200Response
1
+ # GetAnnouncementAudienceAccounts200Response
2
2
 
3
3
 
4
4
  ## Properties
@@ -13,9 +13,9 @@ Name | Type | Description | Notes
13
13
  ## Example
14
14
 
15
15
  ```typescript
16
- import { GetAnnouncementAudience200Response } from '@connectedxm/admin-sdk';
16
+ import { GetAnnouncementAudienceAccounts200Response } from '@connectedxm/admin-sdk';
17
17
 
18
- const instance: GetAnnouncementAudience200Response = {
18
+ const instance: GetAnnouncementAudienceAccounts200Response = {
19
19
  status,
20
20
  message,
21
21
  data,
@@ -0,0 +1,26 @@
1
+ # GetAnnouncementAudiences200Response
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<AnnouncementAudience>**](AnnouncementAudience.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetAnnouncementAudiences200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetAnnouncementAudiences200Response = {
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)
@@ -0,0 +1,24 @@
1
+ # GetAnnouncementMergeFields200Response
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<AnnouncementMergeField>**](AnnouncementMergeField.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetAnnouncementMergeFields200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetAnnouncementMergeFields200Response = {
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
+ # GetAnnouncementTemplateTranslation200Response
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** | [**AnnouncementTemplateTranslation**](AnnouncementTemplateTranslation.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetAnnouncementTemplateTranslation200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetAnnouncementTemplateTranslation200Response = {
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,26 @@
1
+ # GetAnnouncementTemplateTranslations200Response
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<AnnouncementTemplateTranslation>**](AnnouncementTemplateTranslation.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetAnnouncementTemplateTranslations200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetAnnouncementTemplateTranslations200Response = {
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)
@@ -0,0 +1,26 @@
1
+ # GetAnnouncementTemplates200Response
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<AnnouncementTemplate>**](AnnouncementTemplate.md) | | [default to undefined]
11
+ **count** | **number** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GetAnnouncementTemplates200Response } from '@connectedxm/admin-sdk';
17
+
18
+ const instance: GetAnnouncementTemplates200Response = {
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)
package/docs/LoginsApi.md CHANGED
@@ -6,8 +6,7 @@ All URIs are relative to *https://admin-api.connected.dev*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**confirmLogin**](#confirmlogin) | **PUT** /logins/{username}/confirm | Confirm a login|
8
8
  |[**deleteLogin**](#deletelogin) | **DELETE** /logins/{username} | Delete a login|
9
- |[**deleteLoginMfaToken**](#deleteloginmfatoken) | **DELETE** /logins/{username}/mfa/totp | Delete a login\'s authenticator app|
10
- |[**disableLoginMfa**](#disableloginmfa) | **PUT** /logins/{username}/mfa/{method}/disable | Turn off one of a login\'s MFA methods|
9
+ |[**deleteLoginMfaToken**](#deleteloginmfatoken) | **DELETE** /logins/{username}/mfa/totp | Remove a login\'s two-factor authentication|
11
10
  |[**getLogin**](#getlogin) | **GET** /logins/{username} | Get a single login|
12
11
  |[**getLoginAuthSessions**](#getloginauthsessions) | **GET** /logins/{username}/auth-sessions | List a login\'s auth sessions|
13
12
  |[**getLoginDevices**](#getlogindevices) | **GET** /logins/{username}/devices | List a login\'s push devices|
@@ -122,7 +121,7 @@ const { status, data } = await apiInstance.deleteLogin(
122
121
  # **deleteLoginMfaToken**
123
122
  > GetLoginMfa200Response deleteLoginMfaToken()
124
123
 
125
- Deletes the authenticator app (TOTP) registered to the email login with the given username, for a user who lost their device, and returns its updated MFA settings. The user can then sign in with their password and register a new authenticator. Deleting when none is registered succeeds. Requires read and update permissions on accounts.
124
+ Removes two-factor authentication from the email login with the given username and returns its updated MFA settings. It turns TOTP off and deletes it, so nothing is left to turn back on. The user can then sign in with their password and set up two-factor authentication again. Removing when none is set up succeeds. Requires read and update permissions on accounts.
126
125
 
127
126
  ### Example
128
127
 
@@ -149,60 +148,6 @@ const { status, data } = await apiInstance.deleteLoginMfaToken(
149
148
  | **username** | [**string**] | The username identifier | defaults to undefined|
150
149
 
151
150
 
152
- ### Return type
153
-
154
- **GetLoginMfa200Response**
155
-
156
- ### Authorization
157
-
158
- [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
159
-
160
- ### HTTP request headers
161
-
162
- - **Content-Type**: Not defined
163
- - **Accept**: application/json
164
-
165
-
166
- ### HTTP response details
167
- | Status code | Description | Response headers |
168
- |-------------|-------------|------------------|
169
- |**200** | Successful response | - |
170
-
171
- [[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)
172
-
173
- # **disableLoginMfa**
174
- > GetLoginMfa200Response disableLoginMfa()
175
-
176
- Turns off the given MFA method for the email login with the given username and returns its updated MFA settings. An authenticator app that is turned off stays registered, so the user can turn it back on without setting it up again; use DeleteLoginMfaToken when the device is lost. Requires read and update permissions on accounts.
177
-
178
- ### Example
179
-
180
- ```typescript
181
- import {
182
- LoginsApi,
183
- Configuration
184
- } from '@connectedxm/admin-sdk';
185
-
186
- const configuration = new Configuration();
187
- const apiInstance = new LoginsApi(configuration);
188
-
189
- let username: string; //The username identifier (default to undefined)
190
- let method: string; //The method identifier (default to undefined)
191
-
192
- const { status, data } = await apiInstance.disableLoginMfa(
193
- username,
194
- method
195
- );
196
- ```
197
-
198
- ### Parameters
199
-
200
- |Name | Type | Description | Notes|
201
- |------------- | ------------- | ------------- | -------------|
202
- | **username** | [**string**] | The username identifier | defaults to undefined|
203
- | **method** | [**string**] | The method identifier | defaults to undefined|
204
-
205
-
206
151
  ### Return type
207
152
 
208
153
  **GetLoginMfa200Response**
@@ -518,7 +463,7 @@ const { status, data } = await apiInstance.getLogins(
518
463
  # **setLoginPreferredMfa**
519
464
  > GetLoginMfa200Response setLoginPreferredMfa(setLoginPreferredMfaRequest)
520
465
 
521
- Turns on the given MFA method for the email login with the given username, makes it the preferred one, and returns its updated MFA settings. The method must be set up for the user and allowed by the user pool. Requires read and update permissions on accounts.
466
+ Makes the given MFA method the preferred one for the email login with the given username, and returns its updated MFA settings. The method must already be turned on for the login; any other method returns a 400, so this can\'t revive a method the user turned off. Requires read and update permissions on accounts.
522
467
 
523
468
  ### Example
524
469
 
@@ -0,0 +1,20 @@
1
+ # SendAnnouncementPreviewRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **accountId** | **string** | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { SendAnnouncementPreviewRequest } from '@connectedxm/admin-sdk';
14
+
15
+ const instance: SendAnnouncementPreviewRequest = {
16
+ accountId,
17
+ };
18
+ ```
19
+
20
+ [[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
+ # UpdateAnnouncementTemplateTranslation200Response
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** | [**AnnouncementTemplateTranslation**](AnnouncementTemplateTranslation.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { UpdateAnnouncementTemplateTranslation200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: UpdateAnnouncementTemplateTranslation200Response = {
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "11.23.0",
3
+ "version": "12.0.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,30 +0,0 @@
1
- # EventAnnouncementFilters
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **type** | **string** | | [default to undefined]
9
- **ticketId** | **string** | | [optional] [default to undefined]
10
- **questionId** | **string** | | [optional] [default to undefined]
11
- **choiceId** | **string** | | [optional] [default to undefined]
12
- **eventRoomTypeId** | **string** | | [optional] [default to undefined]
13
- **addOnId** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { EventAnnouncementFilters } from '@connectedxm/admin-sdk';
19
-
20
- const instance: EventAnnouncementFilters = {
21
- type,
22
- ticketId,
23
- questionId,
24
- choiceId,
25
- eventRoomTypeId,
26
- addOnId,
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)