@connectedxm/admin-sdk 11.20.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.
@@ -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.20.0
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.20.0 --save
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.20.0
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).
@@ -1833,6 +1833,8 @@ export interface BaseEventSponsorshipLevel {
1833
1833
  'sponsorsPerRow': number;
1834
1834
  'advertisementAllowance': number;
1835
1835
  'advertisementWeight': number;
1836
+ 'benefitAllowance': number;
1837
+ 'benefitPriority': number;
1836
1838
  }
1837
1839
  export interface BaseEventTrack {
1838
1840
  'id': string;
@@ -2962,9 +2964,8 @@ export interface Benefit {
2962
2964
  'startDate': string;
2963
2965
  'endDate': string | null;
2964
2966
  'priority': number;
2965
- 'managerId': string | null;
2966
- 'manager': BaseAccount | null;
2967
2967
  'eventId': string | null;
2968
+ 'sponsorshipId': string | null;
2968
2969
  'event': BaseEvent | null;
2969
2970
  'eventOnly': boolean;
2970
2971
  'createdAt': string;
@@ -2992,8 +2993,8 @@ export interface BenefitCreateInputs {
2992
2993
  'imageId'?: string | null;
2993
2994
  'endDate'?: string | null;
2994
2995
  'priority'?: number | null;
2995
- 'managerId'?: string | null;
2996
2996
  'eventId'?: string | null;
2997
+ 'sponsorshipId'?: string | null;
2997
2998
  'eventOnly'?: boolean;
2998
2999
  }
2999
3000
  export interface BenefitTranslation {
@@ -3017,8 +3018,8 @@ export interface BenefitUpdateInputs {
3017
3018
  'startDate'?: string | null;
3018
3019
  'endDate'?: string | null;
3019
3020
  'priority'?: number | null;
3020
- 'managerId'?: string | null;
3021
3021
  'eventId'?: string | null;
3022
+ 'sponsorshipId'?: string | null;
3022
3023
  'eventOnly'?: boolean;
3023
3024
  }
3024
3025
  export interface Booking {
@@ -6925,6 +6926,8 @@ export interface EventSponsorshipLevel {
6925
6926
  'sponsorsPerRow': number;
6926
6927
  'advertisementAllowance': number;
6927
6928
  'advertisementWeight': number;
6929
+ 'benefitAllowance': number;
6930
+ 'benefitPriority': number;
6928
6931
  'sortOrder': number;
6929
6932
  'sponsors': Array<BaseEventSponsorship>;
6930
6933
  'createdAt': string;
@@ -6938,6 +6941,8 @@ export interface EventSponsorshipLevelCreateInputs {
6938
6941
  'description'?: string | null;
6939
6942
  'advertisementAllowance'?: number;
6940
6943
  'advertisementWeight'?: number;
6944
+ 'benefitAllowance'?: number;
6945
+ 'benefitPriority'?: number;
6941
6946
  }
6942
6947
  export interface EventSponsorshipLevelTranslation {
6943
6948
  'id': number;
@@ -6959,6 +6964,8 @@ export interface EventSponsorshipLevelUpdateInputs {
6959
6964
  'description'?: string | null;
6960
6965
  'advertisementAllowance'?: number;
6961
6966
  'advertisementWeight'?: number;
6967
+ 'benefitAllowance'?: number;
6968
+ 'benefitPriority'?: number;
6962
6969
  }
6963
6970
  export interface EventSponsorshipTranslation {
6964
6971
  'id': number;
@@ -7510,6 +7517,17 @@ export enum GetAdvertisements200ResponseStatusEnum {
7510
7517
  Ok = 'ok'
7511
7518
  }
7512
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
+
7513
7531
  export interface GetAnnouncementAudience200Response {
7514
7532
  'status': GetAnnouncementAudience200ResponseStatusEnum;
7515
7533
  'message': string;
@@ -20917,6 +20935,67 @@ export const AccountsMergesApiAxiosParamCreator = function (configuration?: Conf
20917
20935
  options: localVarRequestOptions,
20918
20936
  };
20919
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
+ },
20920
20999
  /**
20921
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.
20922
21001
  * @summary Merge an account into another
@@ -21051,6 +21130,23 @@ export const AccountsMergesApiFp = function(configuration?: Configuration) {
21051
21130
  const localVarOperationServerBasePath = operationServerMap['AccountsMergesApi.getAccountMerges']?.[localVarOperationServerIndex]?.url;
21052
21131
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21053
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
+ },
21054
21150
  /**
21055
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.
21056
21152
  * @summary Merge an account into another
@@ -21117,6 +21213,16 @@ export const AccountsMergesApiFactory = function (configuration?: Configuration,
21117
21213
  getAccountMerges(requestParameters: AccountsMergesApiGetAccountMergesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountMerges200Response> {
21118
21214
  return localVarFp.getAccountMerges(requestParameters.accountId, options).then((request) => request(axios, basePath));
21119
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
+ },
21120
21226
  /**
21121
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.
21122
21228
  * @summary Merge an account into another
@@ -21175,6 +21281,36 @@ export interface AccountsMergesApiGetAccountMergesRequest {
21175
21281
  readonly accountId: string
21176
21282
  }
21177
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
+
21178
21314
  /**
21179
21315
  * Request parameters for mergeAccount operation in AccountsMergesApi.
21180
21316
  */
@@ -21234,6 +21370,17 @@ export class AccountsMergesApi extends BaseAPI {
21234
21370
  return AccountsMergesApiFp(this.configuration).getAccountMerges(requestParameters.accountId, options).then((request) => request(this.axios, this.basePath));
21235
21371
  }
21236
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
+
21237
21384
  /**
21238
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.
21239
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.20.0
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.20.0
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.20.0
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.20.0
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).
@@ -1698,6 +1698,8 @@ export interface BaseEventSponsorshipLevel {
1698
1698
  'sponsorsPerRow': number;
1699
1699
  'advertisementAllowance': number;
1700
1700
  'advertisementWeight': number;
1701
+ 'benefitAllowance': number;
1702
+ 'benefitPriority': number;
1701
1703
  }
1702
1704
  export interface BaseEventTrack {
1703
1705
  'id': string;
@@ -2755,9 +2757,8 @@ export interface Benefit {
2755
2757
  'startDate': string;
2756
2758
  'endDate': string | null;
2757
2759
  'priority': number;
2758
- 'managerId': string | null;
2759
- 'manager': BaseAccount | null;
2760
2760
  'eventId': string | null;
2761
+ 'sponsorshipId': string | null;
2761
2762
  'event': BaseEvent | null;
2762
2763
  'eventOnly': boolean;
2763
2764
  'createdAt': string;
@@ -2785,8 +2786,8 @@ export interface BenefitCreateInputs {
2785
2786
  'imageId'?: string | null;
2786
2787
  'endDate'?: string | null;
2787
2788
  'priority'?: number | null;
2788
- 'managerId'?: string | null;
2789
2789
  'eventId'?: string | null;
2790
+ 'sponsorshipId'?: string | null;
2790
2791
  'eventOnly'?: boolean;
2791
2792
  }
2792
2793
  export interface BenefitTranslation {
@@ -2810,8 +2811,8 @@ export interface BenefitUpdateInputs {
2810
2811
  'startDate'?: string | null;
2811
2812
  'endDate'?: string | null;
2812
2813
  'priority'?: number | null;
2813
- 'managerId'?: string | null;
2814
2814
  'eventId'?: string | null;
2815
+ 'sponsorshipId'?: string | null;
2815
2816
  'eventOnly'?: boolean;
2816
2817
  }
2817
2818
  export interface Booking {
@@ -6360,6 +6361,8 @@ export interface EventSponsorshipLevel {
6360
6361
  'sponsorsPerRow': number;
6361
6362
  'advertisementAllowance': number;
6362
6363
  'advertisementWeight': number;
6364
+ 'benefitAllowance': number;
6365
+ 'benefitPriority': number;
6363
6366
  'sortOrder': number;
6364
6367
  'sponsors': Array<BaseEventSponsorship>;
6365
6368
  'createdAt': string;
@@ -6373,6 +6376,8 @@ export interface EventSponsorshipLevelCreateInputs {
6373
6376
  'description'?: string | null;
6374
6377
  'advertisementAllowance'?: number;
6375
6378
  'advertisementWeight'?: number;
6379
+ 'benefitAllowance'?: number;
6380
+ 'benefitPriority'?: number;
6376
6381
  }
6377
6382
  export interface EventSponsorshipLevelTranslation {
6378
6383
  'id': number;
@@ -6394,6 +6399,8 @@ export interface EventSponsorshipLevelUpdateInputs {
6394
6399
  'description'?: string | null;
6395
6400
  'advertisementAllowance'?: number;
6396
6401
  'advertisementWeight'?: number;
6402
+ 'benefitAllowance'?: number;
6403
+ 'benefitPriority'?: number;
6397
6404
  }
6398
6405
  export interface EventSponsorshipTranslation {
6399
6406
  'id': number;
@@ -6869,6 +6876,15 @@ export interface GetAdvertisements200Response {
6869
6876
  export declare enum GetAdvertisements200ResponseStatusEnum {
6870
6877
  Ok = "ok"
6871
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
+ }
6872
6888
  export interface GetAnnouncementAudience200Response {
6873
6889
  'status': GetAnnouncementAudience200ResponseStatusEnum;
6874
6890
  'message': string;
@@ -16588,6 +16604,18 @@ export declare const AccountsMergesApiAxiosParamCreator: (configuration?: Config
16588
16604
  * @throws {RequiredError}
16589
16605
  */
16590
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>;
16591
16619
  /**
16592
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.
16593
16621
  * @summary Merge an account into another
@@ -16635,6 +16663,18 @@ export declare const AccountsMergesApiFp: (configuration?: Configuration) => {
16635
16663
  * @throws {RequiredError}
16636
16664
  */
16637
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>>;
16638
16678
  /**
16639
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.
16640
16680
  * @summary Merge an account into another
@@ -16681,6 +16721,14 @@ export declare const AccountsMergesApiFactory: (configuration?: Configuration, b
16681
16721
  * @throws {RequiredError}
16682
16722
  */
16683
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>;
16684
16732
  /**
16685
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.
16686
16734
  * @summary Merge an account into another
@@ -16729,6 +16777,31 @@ export interface AccountsMergesApiGetAccountMergesRequest {
16729
16777
  */
16730
16778
  readonly accountId: string;
16731
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
+ }
16732
16805
  /**
16733
16806
  * Request parameters for mergeAccount operation in AccountsMergesApi.
16734
16807
  */
@@ -16776,6 +16849,14 @@ export declare class AccountsMergesApi extends BaseAPI {
16776
16849
  * @throws {RequiredError}
16777
16850
  */
16778
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>>;
16779
16860
  /**
16780
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.
16781
16862
  * @summary Merge an account into another