@connectedxm/admin-sdk 11.21.0 → 11.22.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 +1 -0
- package/README.md +2 -2
- package/api.ts +141 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +75 -1
- package/dist/api.js +121 -27
- 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/api.d.ts +75 -1
- package/dist/esm/api.js +95 -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/AccountsMergesApi.md +64 -0
- package/docs/GetAllAccountMerges200Response.md +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -795,6 +795,7 @@ docs/GetAccountsByInternalRefId200Response.md
|
|
|
795
795
|
docs/GetAdvertisementClicks200Response.md
|
|
796
796
|
docs/GetAdvertisementViews200Response.md
|
|
797
797
|
docs/GetAdvertisements200Response.md
|
|
798
|
+
docs/GetAllAccountMerges200Response.md
|
|
798
799
|
docs/GetAnnouncementAudience200Response.md
|
|
799
800
|
docs/GetAnnouncementTranslation200Response.md
|
|
800
801
|
docs/GetAnnouncementTranslations200Response.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@11.
|
|
1
|
+
## @connectedxm/admin-sdk@11.22.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@11.
|
|
39
|
+
npm install @connectedxm/admin-sdk@11.22.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -7517,6 +7517,17 @@ export enum GetAdvertisements200ResponseStatusEnum {
|
|
|
7517
7517
|
Ok = 'ok'
|
|
7518
7518
|
}
|
|
7519
7519
|
|
|
7520
|
+
export interface GetAllAccountMerges200Response {
|
|
7521
|
+
'status': GetAllAccountMerges200ResponseStatusEnum;
|
|
7522
|
+
'message': string;
|
|
7523
|
+
'data': Array<AccountMerge>;
|
|
7524
|
+
'count'?: number;
|
|
7525
|
+
}
|
|
7526
|
+
|
|
7527
|
+
export enum GetAllAccountMerges200ResponseStatusEnum {
|
|
7528
|
+
Ok = 'ok'
|
|
7529
|
+
}
|
|
7530
|
+
|
|
7520
7531
|
export interface GetAnnouncementAudience200Response {
|
|
7521
7532
|
'status': GetAnnouncementAudience200ResponseStatusEnum;
|
|
7522
7533
|
'message': string;
|
|
@@ -20924,6 +20935,67 @@ export const AccountsMergesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
20924
20935
|
options: localVarRequestOptions,
|
|
20925
20936
|
};
|
|
20926
20937
|
},
|
|
20938
|
+
/**
|
|
20939
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
20940
|
+
* @summary List every account merge in the organization
|
|
20941
|
+
* @param {AccountMergeStatus} [status] Filter by status
|
|
20942
|
+
* @param {number} [page] Page number
|
|
20943
|
+
* @param {number} [pageSize] Number of items per page
|
|
20944
|
+
* @param {string} [orderBy] Field to order by
|
|
20945
|
+
* @param {string} [search] Search query
|
|
20946
|
+
* @param {*} [options] Override http request option.
|
|
20947
|
+
* @throws {RequiredError}
|
|
20948
|
+
*/
|
|
20949
|
+
getAllAccountMerges: async (status?: AccountMergeStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20950
|
+
const localVarPath = `/accounts/merges`;
|
|
20951
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20952
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20953
|
+
let baseOptions;
|
|
20954
|
+
if (configuration) {
|
|
20955
|
+
baseOptions = configuration.baseOptions;
|
|
20956
|
+
}
|
|
20957
|
+
|
|
20958
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20959
|
+
const localVarHeaderParameter = {} as any;
|
|
20960
|
+
const localVarQueryParameter = {} as any;
|
|
20961
|
+
|
|
20962
|
+
// authentication ApiKeyAuth required
|
|
20963
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
20964
|
+
|
|
20965
|
+
// authentication OrganizationId required
|
|
20966
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
20967
|
+
|
|
20968
|
+
if (status !== undefined) {
|
|
20969
|
+
localVarQueryParameter['status'] = status;
|
|
20970
|
+
}
|
|
20971
|
+
|
|
20972
|
+
if (page !== undefined) {
|
|
20973
|
+
localVarQueryParameter['page'] = page;
|
|
20974
|
+
}
|
|
20975
|
+
|
|
20976
|
+
if (pageSize !== undefined) {
|
|
20977
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
20978
|
+
}
|
|
20979
|
+
|
|
20980
|
+
if (orderBy !== undefined) {
|
|
20981
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
20982
|
+
}
|
|
20983
|
+
|
|
20984
|
+
if (search !== undefined) {
|
|
20985
|
+
localVarQueryParameter['search'] = search;
|
|
20986
|
+
}
|
|
20987
|
+
|
|
20988
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
20989
|
+
|
|
20990
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20991
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20992
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20993
|
+
|
|
20994
|
+
return {
|
|
20995
|
+
url: toPathString(localVarUrlObj),
|
|
20996
|
+
options: localVarRequestOptions,
|
|
20997
|
+
};
|
|
20998
|
+
},
|
|
20927
20999
|
/**
|
|
20928
21000
|
* 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.
|
|
20929
21001
|
* @summary Merge an account into another
|
|
@@ -21058,6 +21130,23 @@ export const AccountsMergesApiFp = function(configuration?: Configuration) {
|
|
|
21058
21130
|
const localVarOperationServerBasePath = operationServerMap['AccountsMergesApi.getAccountMerges']?.[localVarOperationServerIndex]?.url;
|
|
21059
21131
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21060
21132
|
},
|
|
21133
|
+
/**
|
|
21134
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
21135
|
+
* @summary List every account merge in the organization
|
|
21136
|
+
* @param {AccountMergeStatus} [status] Filter by status
|
|
21137
|
+
* @param {number} [page] Page number
|
|
21138
|
+
* @param {number} [pageSize] Number of items per page
|
|
21139
|
+
* @param {string} [orderBy] Field to order by
|
|
21140
|
+
* @param {string} [search] Search query
|
|
21141
|
+
* @param {*} [options] Override http request option.
|
|
21142
|
+
* @throws {RequiredError}
|
|
21143
|
+
*/
|
|
21144
|
+
async getAllAccountMerges(status?: AccountMergeStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllAccountMerges200Response>> {
|
|
21145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllAccountMerges(status, page, pageSize, orderBy, search, options);
|
|
21146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21147
|
+
const localVarOperationServerBasePath = operationServerMap['AccountsMergesApi.getAllAccountMerges']?.[localVarOperationServerIndex]?.url;
|
|
21148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21149
|
+
},
|
|
21061
21150
|
/**
|
|
21062
21151
|
* 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.
|
|
21063
21152
|
* @summary Merge an account into another
|
|
@@ -21124,6 +21213,16 @@ export const AccountsMergesApiFactory = function (configuration?: Configuration,
|
|
|
21124
21213
|
getAccountMerges(requestParameters: AccountsMergesApiGetAccountMergesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountMerges200Response> {
|
|
21125
21214
|
return localVarFp.getAccountMerges(requestParameters.accountId, options).then((request) => request(axios, basePath));
|
|
21126
21215
|
},
|
|
21216
|
+
/**
|
|
21217
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
21218
|
+
* @summary List every account merge in the organization
|
|
21219
|
+
* @param {AccountsMergesApiGetAllAccountMergesRequest} requestParameters Request parameters.
|
|
21220
|
+
* @param {*} [options] Override http request option.
|
|
21221
|
+
* @throws {RequiredError}
|
|
21222
|
+
*/
|
|
21223
|
+
getAllAccountMerges(requestParameters: AccountsMergesApiGetAllAccountMergesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAllAccountMerges200Response> {
|
|
21224
|
+
return localVarFp.getAllAccountMerges(requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
21225
|
+
},
|
|
21127
21226
|
/**
|
|
21128
21227
|
* 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.
|
|
21129
21228
|
* @summary Merge an account into another
|
|
@@ -21182,6 +21281,36 @@ export interface AccountsMergesApiGetAccountMergesRequest {
|
|
|
21182
21281
|
readonly accountId: string
|
|
21183
21282
|
}
|
|
21184
21283
|
|
|
21284
|
+
/**
|
|
21285
|
+
* Request parameters for getAllAccountMerges operation in AccountsMergesApi.
|
|
21286
|
+
*/
|
|
21287
|
+
export interface AccountsMergesApiGetAllAccountMergesRequest {
|
|
21288
|
+
/**
|
|
21289
|
+
* Filter by status
|
|
21290
|
+
*/
|
|
21291
|
+
readonly status?: AccountMergeStatus
|
|
21292
|
+
|
|
21293
|
+
/**
|
|
21294
|
+
* Page number
|
|
21295
|
+
*/
|
|
21296
|
+
readonly page?: number
|
|
21297
|
+
|
|
21298
|
+
/**
|
|
21299
|
+
* Number of items per page
|
|
21300
|
+
*/
|
|
21301
|
+
readonly pageSize?: number
|
|
21302
|
+
|
|
21303
|
+
/**
|
|
21304
|
+
* Field to order by
|
|
21305
|
+
*/
|
|
21306
|
+
readonly orderBy?: string
|
|
21307
|
+
|
|
21308
|
+
/**
|
|
21309
|
+
* Search query
|
|
21310
|
+
*/
|
|
21311
|
+
readonly search?: string
|
|
21312
|
+
}
|
|
21313
|
+
|
|
21185
21314
|
/**
|
|
21186
21315
|
* Request parameters for mergeAccount operation in AccountsMergesApi.
|
|
21187
21316
|
*/
|
|
@@ -21241,6 +21370,17 @@ export class AccountsMergesApi extends BaseAPI {
|
|
|
21241
21370
|
return AccountsMergesApiFp(this.configuration).getAccountMerges(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
|
|
21242
21371
|
}
|
|
21243
21372
|
|
|
21373
|
+
/**
|
|
21374
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
21375
|
+
* @summary List every account merge in the organization
|
|
21376
|
+
* @param {AccountsMergesApiGetAllAccountMergesRequest} requestParameters Request parameters.
|
|
21377
|
+
* @param {*} [options] Override http request option.
|
|
21378
|
+
* @throws {RequiredError}
|
|
21379
|
+
*/
|
|
21380
|
+
public getAllAccountMerges(requestParameters: AccountsMergesApiGetAllAccountMergesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
21381
|
+
return AccountsMergesApiFp(this.configuration).getAllAccountMerges(requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
21382
|
+
}
|
|
21383
|
+
|
|
21244
21384
|
/**
|
|
21245
21385
|
* 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.
|
|
21246
21386
|
* @summary Merge an account into another
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.
|
|
7
|
+
* The version of the OpenAPI document: 11.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.
|
|
6
|
+
* The version of the OpenAPI document: 11.22.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.
|
|
5
|
+
* The version of the OpenAPI document: 11.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6876,6 +6876,15 @@ export interface GetAdvertisements200Response {
|
|
|
6876
6876
|
export declare enum GetAdvertisements200ResponseStatusEnum {
|
|
6877
6877
|
Ok = "ok"
|
|
6878
6878
|
}
|
|
6879
|
+
export interface GetAllAccountMerges200Response {
|
|
6880
|
+
'status': GetAllAccountMerges200ResponseStatusEnum;
|
|
6881
|
+
'message': string;
|
|
6882
|
+
'data': Array<AccountMerge>;
|
|
6883
|
+
'count'?: number;
|
|
6884
|
+
}
|
|
6885
|
+
export declare enum GetAllAccountMerges200ResponseStatusEnum {
|
|
6886
|
+
Ok = "ok"
|
|
6887
|
+
}
|
|
6879
6888
|
export interface GetAnnouncementAudience200Response {
|
|
6880
6889
|
'status': GetAnnouncementAudience200ResponseStatusEnum;
|
|
6881
6890
|
'message': string;
|
|
@@ -16595,6 +16604,18 @@ export declare const AccountsMergesApiAxiosParamCreator: (configuration?: Config
|
|
|
16595
16604
|
* @throws {RequiredError}
|
|
16596
16605
|
*/
|
|
16597
16606
|
getAccountMerges: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16607
|
+
/**
|
|
16608
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
16609
|
+
* @summary List every account merge in the organization
|
|
16610
|
+
* @param {AccountMergeStatus} [status] Filter by status
|
|
16611
|
+
* @param {number} [page] Page number
|
|
16612
|
+
* @param {number} [pageSize] Number of items per page
|
|
16613
|
+
* @param {string} [orderBy] Field to order by
|
|
16614
|
+
* @param {string} [search] Search query
|
|
16615
|
+
* @param {*} [options] Override http request option.
|
|
16616
|
+
* @throws {RequiredError}
|
|
16617
|
+
*/
|
|
16618
|
+
getAllAccountMerges: (status?: AccountMergeStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
16598
16619
|
/**
|
|
16599
16620
|
* 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.
|
|
16600
16621
|
* @summary Merge an account into another
|
|
@@ -16642,6 +16663,18 @@ export declare const AccountsMergesApiFp: (configuration?: Configuration) => {
|
|
|
16642
16663
|
* @throws {RequiredError}
|
|
16643
16664
|
*/
|
|
16644
16665
|
getAccountMerges(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountMerges200Response>>;
|
|
16666
|
+
/**
|
|
16667
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
16668
|
+
* @summary List every account merge in the organization
|
|
16669
|
+
* @param {AccountMergeStatus} [status] Filter by status
|
|
16670
|
+
* @param {number} [page] Page number
|
|
16671
|
+
* @param {number} [pageSize] Number of items per page
|
|
16672
|
+
* @param {string} [orderBy] Field to order by
|
|
16673
|
+
* @param {string} [search] Search query
|
|
16674
|
+
* @param {*} [options] Override http request option.
|
|
16675
|
+
* @throws {RequiredError}
|
|
16676
|
+
*/
|
|
16677
|
+
getAllAccountMerges(status?: AccountMergeStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllAccountMerges200Response>>;
|
|
16645
16678
|
/**
|
|
16646
16679
|
* 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.
|
|
16647
16680
|
* @summary Merge an account into another
|
|
@@ -16688,6 +16721,14 @@ export declare const AccountsMergesApiFactory: (configuration?: Configuration, b
|
|
|
16688
16721
|
* @throws {RequiredError}
|
|
16689
16722
|
*/
|
|
16690
16723
|
getAccountMerges(requestParameters: AccountsMergesApiGetAccountMergesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountMerges200Response>;
|
|
16724
|
+
/**
|
|
16725
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
16726
|
+
* @summary List every account merge in the organization
|
|
16727
|
+
* @param {AccountsMergesApiGetAllAccountMergesRequest} requestParameters Request parameters.
|
|
16728
|
+
* @param {*} [options] Override http request option.
|
|
16729
|
+
* @throws {RequiredError}
|
|
16730
|
+
*/
|
|
16731
|
+
getAllAccountMerges(requestParameters?: AccountsMergesApiGetAllAccountMergesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAllAccountMerges200Response>;
|
|
16691
16732
|
/**
|
|
16692
16733
|
* 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.
|
|
16693
16734
|
* @summary Merge an account into another
|
|
@@ -16736,6 +16777,31 @@ export interface AccountsMergesApiGetAccountMergesRequest {
|
|
|
16736
16777
|
*/
|
|
16737
16778
|
readonly accountId: string;
|
|
16738
16779
|
}
|
|
16780
|
+
/**
|
|
16781
|
+
* Request parameters for getAllAccountMerges operation in AccountsMergesApi.
|
|
16782
|
+
*/
|
|
16783
|
+
export interface AccountsMergesApiGetAllAccountMergesRequest {
|
|
16784
|
+
/**
|
|
16785
|
+
* Filter by status
|
|
16786
|
+
*/
|
|
16787
|
+
readonly status?: AccountMergeStatus;
|
|
16788
|
+
/**
|
|
16789
|
+
* Page number
|
|
16790
|
+
*/
|
|
16791
|
+
readonly page?: number;
|
|
16792
|
+
/**
|
|
16793
|
+
* Number of items per page
|
|
16794
|
+
*/
|
|
16795
|
+
readonly pageSize?: number;
|
|
16796
|
+
/**
|
|
16797
|
+
* Field to order by
|
|
16798
|
+
*/
|
|
16799
|
+
readonly orderBy?: string;
|
|
16800
|
+
/**
|
|
16801
|
+
* Search query
|
|
16802
|
+
*/
|
|
16803
|
+
readonly search?: string;
|
|
16804
|
+
}
|
|
16739
16805
|
/**
|
|
16740
16806
|
* Request parameters for mergeAccount operation in AccountsMergesApi.
|
|
16741
16807
|
*/
|
|
@@ -16783,6 +16849,14 @@ export declare class AccountsMergesApi extends BaseAPI {
|
|
|
16783
16849
|
* @throws {RequiredError}
|
|
16784
16850
|
*/
|
|
16785
16851
|
getAccountMerges(requestParameters: AccountsMergesApiGetAccountMergesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountMerges200Response, any, {}, any>>;
|
|
16852
|
+
/**
|
|
16853
|
+
* Returns a paginated list of the organization\'s account merges, newest first, optionally filtered by status and searched by the merged account\'s name or email or the surviving account\'s; requires read access to accounts.
|
|
16854
|
+
* @summary List every account merge in the organization
|
|
16855
|
+
* @param {AccountsMergesApiGetAllAccountMergesRequest} requestParameters Request parameters.
|
|
16856
|
+
* @param {*} [options] Override http request option.
|
|
16857
|
+
* @throws {RequiredError}
|
|
16858
|
+
*/
|
|
16859
|
+
getAllAccountMerges(requestParameters?: AccountsMergesApiGetAllAccountMergesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAllAccountMerges200Response, any, {}, any>>;
|
|
16786
16860
|
/**
|
|
16787
16861
|
* 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.
|
|
16788
16862
|
* @summary Merge an account into another
|