@connectedxm/admin-sdk 11.18.0 → 11.20.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.
@@ -0,0 +1,14 @@
1
+ # AccountMergeStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pending` (value: `'pending'`)
7
+
8
+ * `Processing` (value: `'processing'`)
9
+
10
+ * `Completed` (value: `'completed'`)
11
+
12
+ * `Failed` (value: `'failed'`)
13
+
14
+ [[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,22 @@
1
+ # AccountMergeWarning
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AccountMergeWarning } from '@connectedxm/admin-sdk';
15
+
16
+ const instance: AccountMergeWarning = {
17
+ code,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
29
29
  **internalRefId** | **string** | | [optional] [default to undefined]
30
30
  **internalRefIdVerified** | **boolean** | | [optional] [default to undefined]
31
31
  **verified** | **boolean** | | [optional] [default to undefined]
32
+ **doNotContact** | **boolean** | | [optional] [default to undefined]
32
33
  **locale** | **string** | | [optional] [default to undefined]
33
34
  **taxEntityUseCode** | **string** | | [optional] [default to undefined]
34
35
  **attributes** | **{ [key: string]: any; }** | | [optional] [default to undefined]
@@ -64,6 +65,7 @@ const instance: AccountUpdateInputs = {
64
65
  internalRefId,
65
66
  internalRefIdVerified,
66
67
  verified,
68
+ doNotContact,
67
69
  locale,
68
70
  taxEntityUseCode,
69
71
  attributes,
@@ -0,0 +1,274 @@
1
+ # AccountsMergesApi
2
+
3
+ All URIs are relative to *https://admin-api.connected.dev*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getAccountMerge**](#getaccountmerge) | **GET** /accounts/merges/{mergeId} | Get an account merge|
8
+ |[**getAccountMergePreview**](#getaccountmergepreview) | **GET** /accounts/{accountId}/merge/preview | Preview an account merge|
9
+ |[**getAccountMerges**](#getaccountmerges) | **GET** /accounts/{accountId}/merges | List an account\'s merges|
10
+ |[**mergeAccount**](#mergeaccount) | **POST** /accounts/{accountId}/merge | Merge an account into another|
11
+ |[**retryAccountMerge**](#retryaccountmerge) | **POST** /accounts/merges/{mergeId}/retry | Retry an account merge|
12
+
13
+ # **getAccountMerge**
14
+ > GetAccountMerge200Response getAccountMerge()
15
+
16
+ Returns a single account merge with its status (pending, processing, completed, or failed), failure message, and per-phase counts of what moved; poll it while the merge runs. Requires read access to accounts.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ AccountsMergesApi,
23
+ Configuration
24
+ } from '@connectedxm/admin-sdk';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new AccountsMergesApi(configuration);
28
+
29
+ let mergeId: string; //The merge identifier (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.getAccountMerge(
32
+ mergeId
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **mergeId** | [**string**] | The merge identifier | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **GetAccountMerge200Response**
46
+
47
+ ### Authorization
48
+
49
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Successful response | - |
61
+
62
+ [[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)
63
+
64
+ # **getAccountMergePreview**
65
+ > GetAccountMergePreview200Response getAccountMergePreview()
66
+
67
+ Returns what merging mergeAccountId into the given surviving account would move, the profile fields the survivor would take from it, and any warnings or blocking conflicts; requires read access to accounts.
68
+
69
+ ### Example
70
+
71
+ ```typescript
72
+ import {
73
+ AccountsMergesApi,
74
+ Configuration
75
+ } from '@connectedxm/admin-sdk';
76
+
77
+ const configuration = new Configuration();
78
+ const apiInstance = new AccountsMergesApi(configuration);
79
+
80
+ let accountId: string; //The account identifier (default to undefined)
81
+ let mergeAccountId: string; //Filter by mergeAccountId (default to undefined)
82
+
83
+ const { status, data } = await apiInstance.getAccountMergePreview(
84
+ accountId,
85
+ mergeAccountId
86
+ );
87
+ ```
88
+
89
+ ### Parameters
90
+
91
+ |Name | Type | Description | Notes|
92
+ |------------- | ------------- | ------------- | -------------|
93
+ | **accountId** | [**string**] | The account identifier | defaults to undefined|
94
+ | **mergeAccountId** | [**string**] | Filter by mergeAccountId | defaults to undefined|
95
+
96
+
97
+ ### Return type
98
+
99
+ **GetAccountMergePreview200Response**
100
+
101
+ ### Authorization
102
+
103
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
104
+
105
+ ### HTTP request headers
106
+
107
+ - **Content-Type**: Not defined
108
+ - **Accept**: application/json
109
+
110
+
111
+ ### HTTP response details
112
+ | Status code | Description | Response headers |
113
+ |-------------|-------------|------------------|
114
+ |**200** | Successful response | - |
115
+
116
+ [[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)
117
+
118
+ # **getAccountMerges**
119
+ > GetAccountMerges200Response getAccountMerges()
120
+
121
+ Returns every merge in which the given account was the surviving or the merged account, newest first; requires read access to accounts.
122
+
123
+ ### Example
124
+
125
+ ```typescript
126
+ import {
127
+ AccountsMergesApi,
128
+ Configuration
129
+ } from '@connectedxm/admin-sdk';
130
+
131
+ const configuration = new Configuration();
132
+ const apiInstance = new AccountsMergesApi(configuration);
133
+
134
+ let accountId: string; //The account identifier (default to undefined)
135
+
136
+ const { status, data } = await apiInstance.getAccountMerges(
137
+ accountId
138
+ );
139
+ ```
140
+
141
+ ### Parameters
142
+
143
+ |Name | Type | Description | Notes|
144
+ |------------- | ------------- | ------------- | -------------|
145
+ | **accountId** | [**string**] | The account identifier | defaults to undefined|
146
+
147
+
148
+ ### Return type
149
+
150
+ **GetAccountMerges200Response**
151
+
152
+ ### Authorization
153
+
154
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
155
+
156
+ ### HTTP request headers
157
+
158
+ - **Content-Type**: Not defined
159
+ - **Accept**: application/json
160
+
161
+
162
+ ### HTTP response details
163
+ | Status code | Description | Response headers |
164
+ |-------------|-------------|------------------|
165
+ |**200** | Successful response | - |
166
+
167
+ [[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)
168
+
169
+ # **mergeAccount**
170
+ > GetAccountMerge200Response mergeAccount(mergeAccountRequest)
171
+
172
+ Starts a background merge of mergeAccountId into the surviving account accountId: its logins, registrations, payments, and other related data move to the survivor and the merged account is then deleted. Returns the merge record to poll; requires read, create, update and delete permission on accounts.
173
+
174
+ ### Example
175
+
176
+ ```typescript
177
+ import {
178
+ AccountsMergesApi,
179
+ Configuration,
180
+ MergeAccountRequest
181
+ } from '@connectedxm/admin-sdk';
182
+
183
+ const configuration = new Configuration();
184
+ const apiInstance = new AccountsMergesApi(configuration);
185
+
186
+ let accountId: string; //The account identifier (default to undefined)
187
+ let mergeAccountRequest: MergeAccountRequest; //
188
+
189
+ const { status, data } = await apiInstance.mergeAccount(
190
+ accountId,
191
+ mergeAccountRequest
192
+ );
193
+ ```
194
+
195
+ ### Parameters
196
+
197
+ |Name | Type | Description | Notes|
198
+ |------------- | ------------- | ------------- | -------------|
199
+ | **mergeAccountRequest** | **MergeAccountRequest**| | |
200
+ | **accountId** | [**string**] | The account identifier | defaults to undefined|
201
+
202
+
203
+ ### Return type
204
+
205
+ **GetAccountMerge200Response**
206
+
207
+ ### Authorization
208
+
209
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: application/json
214
+ - **Accept**: application/json
215
+
216
+
217
+ ### HTTP response details
218
+ | Status code | Description | Response headers |
219
+ |-------------|-------------|------------------|
220
+ |**200** | Successful response | - |
221
+
222
+ [[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)
223
+
224
+ # **retryAccountMerge**
225
+ > GetAccountMerge200Response retryAccountMerge()
226
+
227
+ Restarts a failed or stalled account merge from the beginning; every step is safe to run again. Requires read, create, update and delete permission on accounts.
228
+
229
+ ### Example
230
+
231
+ ```typescript
232
+ import {
233
+ AccountsMergesApi,
234
+ Configuration
235
+ } from '@connectedxm/admin-sdk';
236
+
237
+ const configuration = new Configuration();
238
+ const apiInstance = new AccountsMergesApi(configuration);
239
+
240
+ let mergeId: string; //The merge identifier (default to undefined)
241
+
242
+ const { status, data } = await apiInstance.retryAccountMerge(
243
+ mergeId
244
+ );
245
+ ```
246
+
247
+ ### Parameters
248
+
249
+ |Name | Type | Description | Notes|
250
+ |------------- | ------------- | ------------- | -------------|
251
+ | **mergeId** | [**string**] | The merge identifier | defaults to undefined|
252
+
253
+
254
+ ### Return type
255
+
256
+ **GetAccountMerge200Response**
257
+
258
+ ### Authorization
259
+
260
+ [ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
261
+
262
+ ### HTTP request headers
263
+
264
+ - **Content-Type**: Not defined
265
+ - **Accept**: application/json
266
+
267
+
268
+ ### HTTP response details
269
+ | Status code | Description | Response headers |
270
+ |-------------|-------------|------------------|
271
+ |**200** | Successful response | - |
272
+
273
+ [[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)
274
+
@@ -0,0 +1,24 @@
1
+ # GetAccountMerge200Response
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** | [**AccountMerge**](AccountMerge.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetAccountMerge200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetAccountMerge200Response = {
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
+ # GetAccountMergePreview200Response
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** | [**AccountMergePreview**](AccountMergePreview.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetAccountMergePreview200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetAccountMergePreview200Response = {
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
+ # GetAccountMerges200Response
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<AccountMerge>**](AccountMerge.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { GetAccountMerges200Response } from '@connectedxm/admin-sdk';
16
+
17
+ const instance: GetAccountMerges200Response = {
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,20 @@
1
+ # MergeAccountRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **mergeAccountId** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { MergeAccountRequest } from '@connectedxm/admin-sdk';
14
+
15
+ const instance: MergeAccountRequest = {
16
+ mergeAccountId,
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)
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
24
24
  **groupInvitationPush** | **boolean** | | [default to undefined]
25
25
  **groupRequestAcceptedEmail** | **boolean** | | [default to undefined]
26
26
  **groupRequestAcceptedPush** | **boolean** | | [default to undefined]
27
+ **optedOutAt** | **string** | | [default to undefined]
27
28
 
28
29
  ## Example
29
30
 
@@ -50,6 +51,7 @@ const instance: NotificationPreferences = {
50
51
  groupInvitationPush,
51
52
  groupRequestAcceptedEmail,
52
53
  groupRequestAcceptedPush,
54
+ optedOutAt,
53
55
  };
54
56
  ```
55
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin-sdk",
3
- "version": "11.18.0",
3
+ "version": "11.20.0",
4
4
  "description": "OpenAPI client for @connectedxm/admin-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {