@seekora-ai/admin-api 1.1.33 → 1.1.34

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @seekora-ai/admin-api@1.1.33
1
+ ## @seekora-ai/admin-api@1.1.34
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 @seekora-ai/admin-api@1.1.33 --save
39
+ npm install @seekora-ai/admin-api@1.1.34 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -64,6 +64,7 @@ Class | Method | HTTP request | Description
64
64
  *AccountSettingsApi* | [**accountSettingsProfileGet**](docs/AccountSettingsApi.md#accountsettingsprofileget) | **GET** /account-settings/profile | Retrieve user profile
65
65
  *AccountSettingsApi* | [**accountSettingsProfilePut**](docs/AccountSettingsApi.md#accountsettingsprofileput) | **PUT** /account-settings/profile | Update user profile
66
66
  *AccountSettingsApi* | [**accountSettingsSetPasswordPut**](docs/AccountSettingsApi.md#accountsettingssetpasswordput) | **PUT** /account-settings/set-password | Set password for OAuth/new user
67
+ *AdminAnalyticsApi* | [**v1AdminAnalyticsTestModePost**](docs/AdminAnalyticsApi.md#v1adminanalyticstestmodepost) | **POST** /v1/admin/analytics/test-mode | Enable/Disable analytics test mode (Admin)
67
68
  *AdminNotificationTemplatesApi* | [**v1AdminNotificationsTemplatesCodeGet**](docs/AdminNotificationTemplatesApi.md#v1adminnotificationstemplatescodeget) | **GET** /v1/admin/notifications/templates/{code} | Get notification template by code (Admin)
68
69
  *AdminNotificationTemplatesApi* | [**v1AdminNotificationsTemplatesCodeSendPost**](docs/AdminNotificationTemplatesApi.md#v1adminnotificationstemplatescodesendpost) | **POST** /v1/admin/notifications/templates/{code}/send | Send notification from template (Admin)
69
70
  *AdminNotificationTemplatesApi* | [**v1AdminNotificationsTemplatesGet**](docs/AdminNotificationTemplatesApi.md#v1adminnotificationstemplatesget) | **GET** /v1/admin/notifications/templates | Get notification templates (Admin)
@@ -79,6 +80,7 @@ Class | Method | HTTP request | Description
79
80
  *AdminNotificationsApi* | [**v1AdminNotificationsSendBulkPost**](docs/AdminNotificationsApi.md#v1adminnotificationssendbulkpost) | **POST** /v1/admin/notifications/send-bulk | Send bulk notifications (Admin)
80
81
  *AdminNotificationsApi* | [**v1AdminNotificationsSendPost**](docs/AdminNotificationsApi.md#v1adminnotificationssendpost) | **POST** /v1/admin/notifications/send | Send notification (Admin)
81
82
  *AdminNotificationsApi* | [**v1AdminNotificationsStatsGet**](docs/AdminNotificationsApi.md#v1adminnotificationsstatsget) | **GET** /v1/admin/notifications/stats | Get notification statistics (Admin)
83
+ *AdminNotificationsApi* | [**v1AdminNotificationsTestModePost**](docs/AdminNotificationsApi.md#v1adminnotificationstestmodepost) | **POST** /v1/admin/notifications/test/mode | Enable/Disable notification test mode (Admin)
82
84
  *AdminNotificationsApi* | [**v1AdminNotificationsTestSendPost**](docs/AdminNotificationsApi.md#v1adminnotificationstestsendpost) | **POST** /v1/admin/notifications/test/send | Send test notification (Admin)
83
85
  *AnalyticsApi* | [**adminAnalyticsStoreXStoreIDConfigGet**](docs/AnalyticsApi.md#adminanalyticsstorexstoreidconfigget) | **GET** /admin/analytics/store/{xStoreID}/config | Get Analytics Configuration
84
86
  *AnalyticsApi* | [**adminAnalyticsStoreXStoreIDCustomPost**](docs/AnalyticsApi.md#adminanalyticsstorexstoreidcustompost) | **POST** /admin/analytics/store/{xStoreID}/custom | Execute Custom Analytics Query
package/api.ts CHANGED
@@ -12021,6 +12021,12 @@ export interface DataTypesLoginResponse {
12021
12021
  * @memberof DataTypesLoginResponse
12022
12022
  */
12023
12023
  'onboardingStep'?: string;
12024
+ /**
12025
+ *
12026
+ * @type {number}
12027
+ * @memberof DataTypesLoginResponse
12028
+ */
12029
+ 'orgId'?: number;
12024
12030
  /**
12025
12031
  *
12026
12032
  * @type {string}
@@ -20879,11 +20885,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20879
20885
  */
20880
20886
  'fullAccess'?: boolean;
20881
20887
  /**
20882
- * Org-level menu/route permissions
20888
+ * Org-level menu/route permissions (flat format - for backward compatibility)
20883
20889
  * @type {Array<DataTypesRoleRightRequestDto>}
20884
20890
  * @memberof DataTypesUpdateRolePermissionsRequest
20885
20891
  */
20886
20892
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
20893
+ /**
20894
+ * Grouped structures (preferred format for frontend)
20895
+ * @type {DataTypesGroupedRolePermissions}
20896
+ * @memberof DataTypesUpdateRolePermissionsRequest
20897
+ */
20898
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
20887
20899
  /**
20888
20900
  *
20889
20901
  * @type {number}
@@ -20891,11 +20903,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20891
20903
  */
20892
20904
  'roleId': number;
20893
20905
  /**
20894
- * Store-level menu/route permissions (includes store access fields)
20906
+ * Store-level menu/route permissions (flat format - for backward compatibility)
20895
20907
  * @type {Array<DataTypesStoreLevelMenuRight>}
20896
20908
  * @memberof DataTypesUpdateRolePermissionsRequest
20897
20909
  */
20898
20910
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
20911
+ /**
20912
+ * Store-level menus grouped by module and parent
20913
+ * @type {Array<DataTypesGroupedStoreAccess>}
20914
+ * @memberof DataTypesUpdateRolePermissionsRequest
20915
+ */
20916
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
20899
20917
  }
20900
20918
  /**
20901
20919
  *
@@ -21011,6 +21029,12 @@ export type DataTypesUpdateStoreAccessRequestAccessLevelEnum = typeof DataTypesU
21011
21029
  * @interface DataTypesUpdateUserRolePermissionsRequest
21012
21030
  */
21013
21031
  export interface DataTypesUpdateUserRolePermissionsRequest {
21032
+ /**
21033
+ * Full access to all stores for all users with this role
21034
+ * @type {boolean}
21035
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21036
+ */
21037
+ 'allStoresFullAccess'?: boolean;
21014
21038
  /**
21015
21039
  * Full access at user-specific role level
21016
21040
  * @type {boolean}
@@ -21018,17 +21042,29 @@ export interface DataTypesUpdateUserRolePermissionsRequest {
21018
21042
  */
21019
21043
  'fullAccess'?: boolean;
21020
21044
  /**
21021
- * Org-level menu/route permissions
21045
+ * Org-level menu/route permissions (flat format - for backward compatibility)
21022
21046
  * @type {Array<DataTypesRoleRightRequestDto>}
21023
21047
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21024
21048
  */
21025
21049
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
21026
21050
  /**
21027
- * Store-level menu/route permissions (includes store access fields)
21051
+ * Grouped structures (preferred format for frontend)
21052
+ * @type {DataTypesGroupedRolePermissions}
21053
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21054
+ */
21055
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
21056
+ /**
21057
+ * Store-level menu/route permissions (flat format - for backward compatibility)
21028
21058
  * @type {Array<DataTypesStoreLevelMenuRight>}
21029
21059
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21030
21060
  */
21031
21061
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
21062
+ /**
21063
+ * Store-level menus grouped by module and parent
21064
+ * @type {Array<DataTypesGroupedStoreAccess>}
21065
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21066
+ */
21067
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
21032
21068
  /**
21033
21069
  *
21034
21070
  * @type {number}
@@ -26079,6 +26115,119 @@ export class AccountSettingsApi extends BaseAPI {
26079
26115
 
26080
26116
 
26081
26117
 
26118
+ /**
26119
+ * AdminAnalyticsApi - axios parameter creator
26120
+ * @export
26121
+ */
26122
+ export const AdminAnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
26123
+ return {
26124
+ /**
26125
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
26126
+ * @summary Enable/Disable analytics test mode (Admin)
26127
+ * @param {object} body Test mode status
26128
+ * @param {*} [options] Override http request option.
26129
+ * @throws {RequiredError}
26130
+ */
26131
+ v1AdminAnalyticsTestModePost: async (body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26132
+ // verify required parameter 'body' is not null or undefined
26133
+ assertParamExists('v1AdminAnalyticsTestModePost', 'body', body)
26134
+ const localVarPath = `/v1/admin/analytics/test-mode`;
26135
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26137
+ let baseOptions;
26138
+ if (configuration) {
26139
+ baseOptions = configuration.baseOptions;
26140
+ }
26141
+
26142
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26143
+ const localVarHeaderParameter = {} as any;
26144
+ const localVarQueryParameter = {} as any;
26145
+
26146
+ // authentication BearerAuth required
26147
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26148
+
26149
+
26150
+
26151
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26152
+
26153
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26154
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26155
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26156
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
26157
+
26158
+ return {
26159
+ url: toPathString(localVarUrlObj),
26160
+ options: localVarRequestOptions,
26161
+ };
26162
+ },
26163
+ }
26164
+ };
26165
+
26166
+ /**
26167
+ * AdminAnalyticsApi - functional programming interface
26168
+ * @export
26169
+ */
26170
+ export const AdminAnalyticsApiFp = function(configuration?: Configuration) {
26171
+ const localVarAxiosParamCreator = AdminAnalyticsApiAxiosParamCreator(configuration)
26172
+ return {
26173
+ /**
26174
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
26175
+ * @summary Enable/Disable analytics test mode (Admin)
26176
+ * @param {object} body Test mode status
26177
+ * @param {*} [options] Override http request option.
26178
+ * @throws {RequiredError}
26179
+ */
26180
+ async v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
26181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1AdminAnalyticsTestModePost(body, options);
26182
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26183
+ const localVarOperationServerBasePath = operationServerMap['AdminAnalyticsApi.v1AdminAnalyticsTestModePost']?.[localVarOperationServerIndex]?.url;
26184
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26185
+ },
26186
+ }
26187
+ };
26188
+
26189
+ /**
26190
+ * AdminAnalyticsApi - factory interface
26191
+ * @export
26192
+ */
26193
+ export const AdminAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26194
+ const localVarFp = AdminAnalyticsApiFp(configuration)
26195
+ return {
26196
+ /**
26197
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
26198
+ * @summary Enable/Disable analytics test mode (Admin)
26199
+ * @param {object} body Test mode status
26200
+ * @param {*} [options] Override http request option.
26201
+ * @throws {RequiredError}
26202
+ */
26203
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
26204
+ return localVarFp.v1AdminAnalyticsTestModePost(body, options).then((request) => request(axios, basePath));
26205
+ },
26206
+ };
26207
+ };
26208
+
26209
+ /**
26210
+ * AdminAnalyticsApi - object-oriented interface
26211
+ * @export
26212
+ * @class AdminAnalyticsApi
26213
+ * @extends {BaseAPI}
26214
+ */
26215
+ export class AdminAnalyticsApi extends BaseAPI {
26216
+ /**
26217
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
26218
+ * @summary Enable/Disable analytics test mode (Admin)
26219
+ * @param {object} body Test mode status
26220
+ * @param {*} [options] Override http request option.
26221
+ * @throws {RequiredError}
26222
+ * @memberof AdminAnalyticsApi
26223
+ */
26224
+ public v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig) {
26225
+ return AdminAnalyticsApiFp(this.configuration).v1AdminAnalyticsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
26226
+ }
26227
+ }
26228
+
26229
+
26230
+
26082
26231
  /**
26083
26232
  * AdminNotificationTemplatesApi - axios parameter creator
26084
26233
  * @export
@@ -26906,6 +27055,45 @@ export const AdminNotificationsApiAxiosParamCreator = function (configuration?:
26906
27055
  options: localVarRequestOptions,
26907
27056
  };
26908
27057
  },
27058
+ /**
27059
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
27060
+ * @summary Enable/Disable notification test mode (Admin)
27061
+ * @param {object} body Test mode status
27062
+ * @param {*} [options] Override http request option.
27063
+ * @throws {RequiredError}
27064
+ */
27065
+ v1AdminNotificationsTestModePost: async (body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27066
+ // verify required parameter 'body' is not null or undefined
27067
+ assertParamExists('v1AdminNotificationsTestModePost', 'body', body)
27068
+ const localVarPath = `/v1/admin/notifications/test/mode`;
27069
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27070
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27071
+ let baseOptions;
27072
+ if (configuration) {
27073
+ baseOptions = configuration.baseOptions;
27074
+ }
27075
+
27076
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
27077
+ const localVarHeaderParameter = {} as any;
27078
+ const localVarQueryParameter = {} as any;
27079
+
27080
+ // authentication BearerAuth required
27081
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
27082
+
27083
+
27084
+
27085
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27086
+
27087
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27088
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27089
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27090
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
27091
+
27092
+ return {
27093
+ url: toPathString(localVarUrlObj),
27094
+ options: localVarRequestOptions,
27095
+ };
27096
+ },
26909
27097
  /**
26910
27098
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
26911
27099
  * @summary Send test notification (Admin)
@@ -27080,6 +27268,19 @@ export const AdminNotificationsApiFp = function(configuration?: Configuration) {
27080
27268
  const localVarOperationServerBasePath = operationServerMap['AdminNotificationsApi.v1AdminNotificationsStatsGet']?.[localVarOperationServerIndex]?.url;
27081
27269
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27082
27270
  },
27271
+ /**
27272
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
27273
+ * @summary Enable/Disable notification test mode (Admin)
27274
+ * @param {object} body Test mode status
27275
+ * @param {*} [options] Override http request option.
27276
+ * @throws {RequiredError}
27277
+ */
27278
+ async v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
27279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1AdminNotificationsTestModePost(body, options);
27280
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27281
+ const localVarOperationServerBasePath = operationServerMap['AdminNotificationsApi.v1AdminNotificationsTestModePost']?.[localVarOperationServerIndex]?.url;
27282
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27283
+ },
27083
27284
  /**
27084
27285
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
27085
27286
  * @summary Send test notification (Admin)
@@ -27194,6 +27395,16 @@ export const AdminNotificationsApiFactory = function (configuration?: Configurat
27194
27395
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationStatsResponse> {
27195
27396
  return localVarFp.v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(axios, basePath));
27196
27397
  },
27398
+ /**
27399
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
27400
+ * @summary Enable/Disable notification test mode (Admin)
27401
+ * @param {object} body Test mode status
27402
+ * @param {*} [options] Override http request option.
27403
+ * @throws {RequiredError}
27404
+ */
27405
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
27406
+ return localVarFp.v1AdminNotificationsTestModePost(body, options).then((request) => request(axios, basePath));
27407
+ },
27197
27408
  /**
27198
27409
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
27199
27410
  * @summary Send test notification (Admin)
@@ -27323,6 +27534,18 @@ export class AdminNotificationsApi extends BaseAPI {
27323
27534
  return AdminNotificationsApiFp(this.configuration).v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
27324
27535
  }
27325
27536
 
27537
+ /**
27538
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
27539
+ * @summary Enable/Disable notification test mode (Admin)
27540
+ * @param {object} body Test mode status
27541
+ * @param {*} [options] Override http request option.
27542
+ * @throws {RequiredError}
27543
+ * @memberof AdminNotificationsApi
27544
+ */
27545
+ public v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig) {
27546
+ return AdminNotificationsApiFp(this.configuration).v1AdminNotificationsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
27547
+ }
27548
+
27326
27549
  /**
27327
27550
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
27328
27551
  * @summary Send test notification (Admin)
package/dist/api.d.ts CHANGED
@@ -12042,6 +12042,12 @@ export interface DataTypesLoginResponse {
12042
12042
  * @memberof DataTypesLoginResponse
12043
12043
  */
12044
12044
  'onboardingStep'?: string;
12045
+ /**
12046
+ *
12047
+ * @type {number}
12048
+ * @memberof DataTypesLoginResponse
12049
+ */
12050
+ 'orgId'?: number;
12045
12051
  /**
12046
12052
  *
12047
12053
  * @type {string}
@@ -20935,11 +20941,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20935
20941
  */
20936
20942
  'fullAccess'?: boolean;
20937
20943
  /**
20938
- * Org-level menu/route permissions
20944
+ * Org-level menu/route permissions (flat format - for backward compatibility)
20939
20945
  * @type {Array<DataTypesRoleRightRequestDto>}
20940
20946
  * @memberof DataTypesUpdateRolePermissionsRequest
20941
20947
  */
20942
20948
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
20949
+ /**
20950
+ * Grouped structures (preferred format for frontend)
20951
+ * @type {DataTypesGroupedRolePermissions}
20952
+ * @memberof DataTypesUpdateRolePermissionsRequest
20953
+ */
20954
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
20943
20955
  /**
20944
20956
  *
20945
20957
  * @type {number}
@@ -20947,11 +20959,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20947
20959
  */
20948
20960
  'roleId': number;
20949
20961
  /**
20950
- * Store-level menu/route permissions (includes store access fields)
20962
+ * Store-level menu/route permissions (flat format - for backward compatibility)
20951
20963
  * @type {Array<DataTypesStoreLevelMenuRight>}
20952
20964
  * @memberof DataTypesUpdateRolePermissionsRequest
20953
20965
  */
20954
20966
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
20967
+ /**
20968
+ * Store-level menus grouped by module and parent
20969
+ * @type {Array<DataTypesGroupedStoreAccess>}
20970
+ * @memberof DataTypesUpdateRolePermissionsRequest
20971
+ */
20972
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
20955
20973
  }
20956
20974
  /**
20957
20975
  *
@@ -21064,6 +21082,12 @@ export type DataTypesUpdateStoreAccessRequestAccessLevelEnum = typeof DataTypesU
21064
21082
  * @interface DataTypesUpdateUserRolePermissionsRequest
21065
21083
  */
21066
21084
  export interface DataTypesUpdateUserRolePermissionsRequest {
21085
+ /**
21086
+ * Full access to all stores for all users with this role
21087
+ * @type {boolean}
21088
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21089
+ */
21090
+ 'allStoresFullAccess'?: boolean;
21067
21091
  /**
21068
21092
  * Full access at user-specific role level
21069
21093
  * @type {boolean}
@@ -21071,17 +21095,29 @@ export interface DataTypesUpdateUserRolePermissionsRequest {
21071
21095
  */
21072
21096
  'fullAccess'?: boolean;
21073
21097
  /**
21074
- * Org-level menu/route permissions
21098
+ * Org-level menu/route permissions (flat format - for backward compatibility)
21075
21099
  * @type {Array<DataTypesRoleRightRequestDto>}
21076
21100
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21077
21101
  */
21078
21102
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
21079
21103
  /**
21080
- * Store-level menu/route permissions (includes store access fields)
21104
+ * Grouped structures (preferred format for frontend)
21105
+ * @type {DataTypesGroupedRolePermissions}
21106
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21107
+ */
21108
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
21109
+ /**
21110
+ * Store-level menu/route permissions (flat format - for backward compatibility)
21081
21111
  * @type {Array<DataTypesStoreLevelMenuRight>}
21082
21112
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21083
21113
  */
21084
21114
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
21115
+ /**
21116
+ * Store-level menus grouped by module and parent
21117
+ * @type {Array<DataTypesGroupedStoreAccess>}
21118
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21119
+ */
21120
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
21085
21121
  /**
21086
21122
  *
21087
21123
  * @type {number}
@@ -25582,6 +25618,65 @@ export declare class AccountSettingsApi extends BaseAPI {
25582
25618
  */
25583
25619
  accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25584
25620
  }
25621
+ /**
25622
+ * AdminAnalyticsApi - axios parameter creator
25623
+ * @export
25624
+ */
25625
+ export declare const AdminAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
25626
+ /**
25627
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25628
+ * @summary Enable/Disable analytics test mode (Admin)
25629
+ * @param {object} body Test mode status
25630
+ * @param {*} [options] Override http request option.
25631
+ * @throws {RequiredError}
25632
+ */
25633
+ v1AdminAnalyticsTestModePost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25634
+ };
25635
+ /**
25636
+ * AdminAnalyticsApi - functional programming interface
25637
+ * @export
25638
+ */
25639
+ export declare const AdminAnalyticsApiFp: (configuration?: Configuration) => {
25640
+ /**
25641
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25642
+ * @summary Enable/Disable analytics test mode (Admin)
25643
+ * @param {object} body Test mode status
25644
+ * @param {*} [options] Override http request option.
25645
+ * @throws {RequiredError}
25646
+ */
25647
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25648
+ };
25649
+ /**
25650
+ * AdminAnalyticsApi - factory interface
25651
+ * @export
25652
+ */
25653
+ export declare const AdminAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25654
+ /**
25655
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25656
+ * @summary Enable/Disable analytics test mode (Admin)
25657
+ * @param {object} body Test mode status
25658
+ * @param {*} [options] Override http request option.
25659
+ * @throws {RequiredError}
25660
+ */
25661
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25662
+ };
25663
+ /**
25664
+ * AdminAnalyticsApi - object-oriented interface
25665
+ * @export
25666
+ * @class AdminAnalyticsApi
25667
+ * @extends {BaseAPI}
25668
+ */
25669
+ export declare class AdminAnalyticsApi extends BaseAPI {
25670
+ /**
25671
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25672
+ * @summary Enable/Disable analytics test mode (Admin)
25673
+ * @param {object} body Test mode status
25674
+ * @param {*} [options] Override http request option.
25675
+ * @throws {RequiredError}
25676
+ * @memberof AdminAnalyticsApi
25677
+ */
25678
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25679
+ }
25585
25680
  /**
25586
25681
  * AdminNotificationTemplatesApi - axios parameter creator
25587
25682
  * @export
@@ -25886,6 +25981,14 @@ export declare const AdminNotificationsApiAxiosParamCreator: (configuration?: Co
25886
25981
  * @throws {RequiredError}
25887
25982
  */
25888
25983
  v1AdminNotificationsStatsGet: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25984
+ /**
25985
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
25986
+ * @summary Enable/Disable notification test mode (Admin)
25987
+ * @param {object} body Test mode status
25988
+ * @param {*} [options] Override http request option.
25989
+ * @throws {RequiredError}
25990
+ */
25991
+ v1AdminNotificationsTestModePost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25889
25992
  /**
25890
25993
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
25891
25994
  * @summary Send test notification (Admin)
@@ -25973,6 +26076,14 @@ export declare const AdminNotificationsApiFp: (configuration?: Configuration) =>
25973
26076
  * @throws {RequiredError}
25974
26077
  */
25975
26078
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationStatsResponse>>;
26079
+ /**
26080
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26081
+ * @summary Enable/Disable notification test mode (Admin)
26082
+ * @param {object} body Test mode status
26083
+ * @param {*} [options] Override http request option.
26084
+ * @throws {RequiredError}
26085
+ */
26086
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25976
26087
  /**
25977
26088
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
25978
26089
  * @summary Send test notification (Admin)
@@ -26060,6 +26171,14 @@ export declare const AdminNotificationsApiFactory: (configuration?: Configuratio
26060
26171
  * @throws {RequiredError}
26061
26172
  */
26062
26173
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationStatsResponse>;
26174
+ /**
26175
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26176
+ * @summary Enable/Disable notification test mode (Admin)
26177
+ * @param {object} body Test mode status
26178
+ * @param {*} [options] Override http request option.
26179
+ * @throws {RequiredError}
26180
+ */
26181
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
26063
26182
  /**
26064
26183
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
26065
26184
  * @summary Send test notification (Admin)
@@ -26158,6 +26277,15 @@ export declare class AdminNotificationsApi extends BaseAPI {
26158
26277
  * @memberof AdminNotificationsApi
26159
26278
  */
26160
26279
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesNotificationStatsResponse, any, {}>>;
26280
+ /**
26281
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26282
+ * @summary Enable/Disable notification test mode (Admin)
26283
+ * @param {object} body Test mode status
26284
+ * @param {*} [options] Override http request option.
26285
+ * @throws {RequiredError}
26286
+ * @memberof AdminNotificationsApi
26287
+ */
26288
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26161
26289
  /**
26162
26290
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
26163
26291
  * @summary Send test notification (Admin)
package/dist/api.js CHANGED
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
26
- exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = void 0;
27
- exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = void 0;
28
- exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = void 0;
29
- exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = void 0;
30
- exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = void 0;
31
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = void 0;
25
+ exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
26
+ exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = void 0;
27
+ exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = void 0;
28
+ exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = void 0;
29
+ exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.LimitsApi = void 0;
30
+ exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = void 0;
31
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = void 0;
32
32
  const axios_1 = require("axios");
33
33
  // Some imports not used depending on template conditions
34
34
  // @ts-ignore
@@ -1199,6 +1199,113 @@ class AccountSettingsApi extends base_1.BaseAPI {
1199
1199
  }
1200
1200
  }
1201
1201
  exports.AccountSettingsApi = AccountSettingsApi;
1202
+ /**
1203
+ * AdminAnalyticsApi - axios parameter creator
1204
+ * @export
1205
+ */
1206
+ const AdminAnalyticsApiAxiosParamCreator = function (configuration) {
1207
+ return {
1208
+ /**
1209
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1210
+ * @summary Enable/Disable analytics test mode (Admin)
1211
+ * @param {object} body Test mode status
1212
+ * @param {*} [options] Override http request option.
1213
+ * @throws {RequiredError}
1214
+ */
1215
+ v1AdminAnalyticsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
1216
+ // verify required parameter 'body' is not null or undefined
1217
+ (0, common_1.assertParamExists)('v1AdminAnalyticsTestModePost', 'body', body);
1218
+ const localVarPath = `/v1/admin/analytics/test-mode`;
1219
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1220
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1221
+ let baseOptions;
1222
+ if (configuration) {
1223
+ baseOptions = configuration.baseOptions;
1224
+ }
1225
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1226
+ const localVarHeaderParameter = {};
1227
+ const localVarQueryParameter = {};
1228
+ // authentication BearerAuth required
1229
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1230
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1231
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1232
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1233
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1234
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1235
+ return {
1236
+ url: (0, common_1.toPathString)(localVarUrlObj),
1237
+ options: localVarRequestOptions,
1238
+ };
1239
+ }),
1240
+ };
1241
+ };
1242
+ exports.AdminAnalyticsApiAxiosParamCreator = AdminAnalyticsApiAxiosParamCreator;
1243
+ /**
1244
+ * AdminAnalyticsApi - functional programming interface
1245
+ * @export
1246
+ */
1247
+ const AdminAnalyticsApiFp = function (configuration) {
1248
+ const localVarAxiosParamCreator = (0, exports.AdminAnalyticsApiAxiosParamCreator)(configuration);
1249
+ return {
1250
+ /**
1251
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1252
+ * @summary Enable/Disable analytics test mode (Admin)
1253
+ * @param {object} body Test mode status
1254
+ * @param {*} [options] Override http request option.
1255
+ * @throws {RequiredError}
1256
+ */
1257
+ v1AdminAnalyticsTestModePost(body, options) {
1258
+ return __awaiter(this, void 0, void 0, function* () {
1259
+ var _a, _b, _c;
1260
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminAnalyticsTestModePost(body, options);
1261
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1262
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAnalyticsApi.v1AdminAnalyticsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1263
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1264
+ });
1265
+ },
1266
+ };
1267
+ };
1268
+ exports.AdminAnalyticsApiFp = AdminAnalyticsApiFp;
1269
+ /**
1270
+ * AdminAnalyticsApi - factory interface
1271
+ * @export
1272
+ */
1273
+ const AdminAnalyticsApiFactory = function (configuration, basePath, axios) {
1274
+ const localVarFp = (0, exports.AdminAnalyticsApiFp)(configuration);
1275
+ return {
1276
+ /**
1277
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1278
+ * @summary Enable/Disable analytics test mode (Admin)
1279
+ * @param {object} body Test mode status
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ */
1283
+ v1AdminAnalyticsTestModePost(body, options) {
1284
+ return localVarFp.v1AdminAnalyticsTestModePost(body, options).then((request) => request(axios, basePath));
1285
+ },
1286
+ };
1287
+ };
1288
+ exports.AdminAnalyticsApiFactory = AdminAnalyticsApiFactory;
1289
+ /**
1290
+ * AdminAnalyticsApi - object-oriented interface
1291
+ * @export
1292
+ * @class AdminAnalyticsApi
1293
+ * @extends {BaseAPI}
1294
+ */
1295
+ class AdminAnalyticsApi extends base_1.BaseAPI {
1296
+ /**
1297
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1298
+ * @summary Enable/Disable analytics test mode (Admin)
1299
+ * @param {object} body Test mode status
1300
+ * @param {*} [options] Override http request option.
1301
+ * @throws {RequiredError}
1302
+ * @memberof AdminAnalyticsApi
1303
+ */
1304
+ v1AdminAnalyticsTestModePost(body, options) {
1305
+ return (0, exports.AdminAnalyticsApiFp)(this.configuration).v1AdminAnalyticsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
1306
+ }
1307
+ }
1308
+ exports.AdminAnalyticsApi = AdminAnalyticsApi;
1202
1309
  /**
1203
1310
  * AdminNotificationTemplatesApi - axios parameter creator
1204
1311
  * @export
@@ -1939,6 +2046,38 @@ const AdminNotificationsApiAxiosParamCreator = function (configuration) {
1939
2046
  options: localVarRequestOptions,
1940
2047
  };
1941
2048
  }),
2049
+ /**
2050
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2051
+ * @summary Enable/Disable notification test mode (Admin)
2052
+ * @param {object} body Test mode status
2053
+ * @param {*} [options] Override http request option.
2054
+ * @throws {RequiredError}
2055
+ */
2056
+ v1AdminNotificationsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
2057
+ // verify required parameter 'body' is not null or undefined
2058
+ (0, common_1.assertParamExists)('v1AdminNotificationsTestModePost', 'body', body);
2059
+ const localVarPath = `/v1/admin/notifications/test/mode`;
2060
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2061
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2062
+ let baseOptions;
2063
+ if (configuration) {
2064
+ baseOptions = configuration.baseOptions;
2065
+ }
2066
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2067
+ const localVarHeaderParameter = {};
2068
+ const localVarQueryParameter = {};
2069
+ // authentication BearerAuth required
2070
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2071
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2072
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2073
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2074
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2075
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
2076
+ return {
2077
+ url: (0, common_1.toPathString)(localVarUrlObj),
2078
+ options: localVarRequestOptions,
2079
+ };
2080
+ }),
1942
2081
  /**
1943
2082
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
1944
2083
  * @summary Send test notification (Admin)
@@ -2131,6 +2270,22 @@ const AdminNotificationsApiFp = function (configuration) {
2131
2270
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2132
2271
  });
2133
2272
  },
2273
+ /**
2274
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2275
+ * @summary Enable/Disable notification test mode (Admin)
2276
+ * @param {object} body Test mode status
2277
+ * @param {*} [options] Override http request option.
2278
+ * @throws {RequiredError}
2279
+ */
2280
+ v1AdminNotificationsTestModePost(body, options) {
2281
+ return __awaiter(this, void 0, void 0, function* () {
2282
+ var _a, _b, _c;
2283
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsTestModePost(body, options);
2284
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2285
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminNotificationsApi.v1AdminNotificationsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2286
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2287
+ });
2288
+ },
2134
2289
  /**
2135
2290
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2136
2291
  * @summary Send test notification (Admin)
@@ -2248,6 +2403,16 @@ const AdminNotificationsApiFactory = function (configuration, basePath, axios) {
2248
2403
  v1AdminNotificationsStatsGet(startDate, endDate, options) {
2249
2404
  return localVarFp.v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(axios, basePath));
2250
2405
  },
2406
+ /**
2407
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2408
+ * @summary Enable/Disable notification test mode (Admin)
2409
+ * @param {object} body Test mode status
2410
+ * @param {*} [options] Override http request option.
2411
+ * @throws {RequiredError}
2412
+ */
2413
+ v1AdminNotificationsTestModePost(body, options) {
2414
+ return localVarFp.v1AdminNotificationsTestModePost(body, options).then((request) => request(axios, basePath));
2415
+ },
2251
2416
  /**
2252
2417
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2253
2418
  * @summary Send test notification (Admin)
@@ -2368,6 +2533,17 @@ class AdminNotificationsApi extends base_1.BaseAPI {
2368
2533
  v1AdminNotificationsStatsGet(startDate, endDate, options) {
2369
2534
  return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
2370
2535
  }
2536
+ /**
2537
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2538
+ * @summary Enable/Disable notification test mode (Admin)
2539
+ * @param {object} body Test mode status
2540
+ * @param {*} [options] Override http request option.
2541
+ * @throws {RequiredError}
2542
+ * @memberof AdminNotificationsApi
2543
+ */
2544
+ v1AdminNotificationsTestModePost(body, options) {
2545
+ return (0, exports.AdminNotificationsApiFp)(this.configuration).v1AdminNotificationsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
2546
+ }
2371
2547
  /**
2372
2548
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2373
2549
  * @summary Send test notification (Admin)
package/dist/esm/api.d.ts CHANGED
@@ -12042,6 +12042,12 @@ export interface DataTypesLoginResponse {
12042
12042
  * @memberof DataTypesLoginResponse
12043
12043
  */
12044
12044
  'onboardingStep'?: string;
12045
+ /**
12046
+ *
12047
+ * @type {number}
12048
+ * @memberof DataTypesLoginResponse
12049
+ */
12050
+ 'orgId'?: number;
12045
12051
  /**
12046
12052
  *
12047
12053
  * @type {string}
@@ -20935,11 +20941,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20935
20941
  */
20936
20942
  'fullAccess'?: boolean;
20937
20943
  /**
20938
- * Org-level menu/route permissions
20944
+ * Org-level menu/route permissions (flat format - for backward compatibility)
20939
20945
  * @type {Array<DataTypesRoleRightRequestDto>}
20940
20946
  * @memberof DataTypesUpdateRolePermissionsRequest
20941
20947
  */
20942
20948
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
20949
+ /**
20950
+ * Grouped structures (preferred format for frontend)
20951
+ * @type {DataTypesGroupedRolePermissions}
20952
+ * @memberof DataTypesUpdateRolePermissionsRequest
20953
+ */
20954
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
20943
20955
  /**
20944
20956
  *
20945
20957
  * @type {number}
@@ -20947,11 +20959,17 @@ export interface DataTypesUpdateRolePermissionsRequest {
20947
20959
  */
20948
20960
  'roleId': number;
20949
20961
  /**
20950
- * Store-level menu/route permissions (includes store access fields)
20962
+ * Store-level menu/route permissions (flat format - for backward compatibility)
20951
20963
  * @type {Array<DataTypesStoreLevelMenuRight>}
20952
20964
  * @memberof DataTypesUpdateRolePermissionsRequest
20953
20965
  */
20954
20966
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
20967
+ /**
20968
+ * Store-level menus grouped by module and parent
20969
+ * @type {Array<DataTypesGroupedStoreAccess>}
20970
+ * @memberof DataTypesUpdateRolePermissionsRequest
20971
+ */
20972
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
20955
20973
  }
20956
20974
  /**
20957
20975
  *
@@ -21064,6 +21082,12 @@ export type DataTypesUpdateStoreAccessRequestAccessLevelEnum = typeof DataTypesU
21064
21082
  * @interface DataTypesUpdateUserRolePermissionsRequest
21065
21083
  */
21066
21084
  export interface DataTypesUpdateUserRolePermissionsRequest {
21085
+ /**
21086
+ * Full access to all stores for all users with this role
21087
+ * @type {boolean}
21088
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21089
+ */
21090
+ 'allStoresFullAccess'?: boolean;
21067
21091
  /**
21068
21092
  * Full access at user-specific role level
21069
21093
  * @type {boolean}
@@ -21071,17 +21095,29 @@ export interface DataTypesUpdateUserRolePermissionsRequest {
21071
21095
  */
21072
21096
  'fullAccess'?: boolean;
21073
21097
  /**
21074
- * Org-level menu/route permissions
21098
+ * Org-level menu/route permissions (flat format - for backward compatibility)
21075
21099
  * @type {Array<DataTypesRoleRightRequestDto>}
21076
21100
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21077
21101
  */
21078
21102
  'orgLevelMenus'?: Array<DataTypesRoleRightRequestDto>;
21079
21103
  /**
21080
- * Store-level menu/route permissions (includes store access fields)
21104
+ * Grouped structures (preferred format for frontend)
21105
+ * @type {DataTypesGroupedRolePermissions}
21106
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21107
+ */
21108
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
21109
+ /**
21110
+ * Store-level menu/route permissions (flat format - for backward compatibility)
21081
21111
  * @type {Array<DataTypesStoreLevelMenuRight>}
21082
21112
  * @memberof DataTypesUpdateUserRolePermissionsRequest
21083
21113
  */
21084
21114
  'storeAccess'?: Array<DataTypesStoreLevelMenuRight>;
21115
+ /**
21116
+ * Store-level menus grouped by module and parent
21117
+ * @type {Array<DataTypesGroupedStoreAccess>}
21118
+ * @memberof DataTypesUpdateUserRolePermissionsRequest
21119
+ */
21120
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
21085
21121
  /**
21086
21122
  *
21087
21123
  * @type {number}
@@ -25582,6 +25618,65 @@ export declare class AccountSettingsApi extends BaseAPI {
25582
25618
  */
25583
25619
  accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25584
25620
  }
25621
+ /**
25622
+ * AdminAnalyticsApi - axios parameter creator
25623
+ * @export
25624
+ */
25625
+ export declare const AdminAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
25626
+ /**
25627
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25628
+ * @summary Enable/Disable analytics test mode (Admin)
25629
+ * @param {object} body Test mode status
25630
+ * @param {*} [options] Override http request option.
25631
+ * @throws {RequiredError}
25632
+ */
25633
+ v1AdminAnalyticsTestModePost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25634
+ };
25635
+ /**
25636
+ * AdminAnalyticsApi - functional programming interface
25637
+ * @export
25638
+ */
25639
+ export declare const AdminAnalyticsApiFp: (configuration?: Configuration) => {
25640
+ /**
25641
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25642
+ * @summary Enable/Disable analytics test mode (Admin)
25643
+ * @param {object} body Test mode status
25644
+ * @param {*} [options] Override http request option.
25645
+ * @throws {RequiredError}
25646
+ */
25647
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25648
+ };
25649
+ /**
25650
+ * AdminAnalyticsApi - factory interface
25651
+ * @export
25652
+ */
25653
+ export declare const AdminAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25654
+ /**
25655
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25656
+ * @summary Enable/Disable analytics test mode (Admin)
25657
+ * @param {object} body Test mode status
25658
+ * @param {*} [options] Override http request option.
25659
+ * @throws {RequiredError}
25660
+ */
25661
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25662
+ };
25663
+ /**
25664
+ * AdminAnalyticsApi - object-oriented interface
25665
+ * @export
25666
+ * @class AdminAnalyticsApi
25667
+ * @extends {BaseAPI}
25668
+ */
25669
+ export declare class AdminAnalyticsApi extends BaseAPI {
25670
+ /**
25671
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
25672
+ * @summary Enable/Disable analytics test mode (Admin)
25673
+ * @param {object} body Test mode status
25674
+ * @param {*} [options] Override http request option.
25675
+ * @throws {RequiredError}
25676
+ * @memberof AdminAnalyticsApi
25677
+ */
25678
+ v1AdminAnalyticsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25679
+ }
25585
25680
  /**
25586
25681
  * AdminNotificationTemplatesApi - axios parameter creator
25587
25682
  * @export
@@ -25886,6 +25981,14 @@ export declare const AdminNotificationsApiAxiosParamCreator: (configuration?: Co
25886
25981
  * @throws {RequiredError}
25887
25982
  */
25888
25983
  v1AdminNotificationsStatsGet: (startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25984
+ /**
25985
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
25986
+ * @summary Enable/Disable notification test mode (Admin)
25987
+ * @param {object} body Test mode status
25988
+ * @param {*} [options] Override http request option.
25989
+ * @throws {RequiredError}
25990
+ */
25991
+ v1AdminNotificationsTestModePost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25889
25992
  /**
25890
25993
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
25891
25994
  * @summary Send test notification (Admin)
@@ -25973,6 +26076,14 @@ export declare const AdminNotificationsApiFp: (configuration?: Configuration) =>
25973
26076
  * @throws {RequiredError}
25974
26077
  */
25975
26078
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationStatsResponse>>;
26079
+ /**
26080
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26081
+ * @summary Enable/Disable notification test mode (Admin)
26082
+ * @param {object} body Test mode status
26083
+ * @param {*} [options] Override http request option.
26084
+ * @throws {RequiredError}
26085
+ */
26086
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25976
26087
  /**
25977
26088
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
25978
26089
  * @summary Send test notification (Admin)
@@ -26060,6 +26171,14 @@ export declare const AdminNotificationsApiFactory: (configuration?: Configuratio
26060
26171
  * @throws {RequiredError}
26061
26172
  */
26062
26173
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationStatsResponse>;
26174
+ /**
26175
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26176
+ * @summary Enable/Disable notification test mode (Admin)
26177
+ * @param {object} body Test mode status
26178
+ * @param {*} [options] Override http request option.
26179
+ * @throws {RequiredError}
26180
+ */
26181
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
26063
26182
  /**
26064
26183
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
26065
26184
  * @summary Send test notification (Admin)
@@ -26158,6 +26277,15 @@ export declare class AdminNotificationsApi extends BaseAPI {
26158
26277
  * @memberof AdminNotificationsApi
26159
26278
  */
26160
26279
  v1AdminNotificationsStatsGet(startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesNotificationStatsResponse, any, {}>>;
26280
+ /**
26281
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
26282
+ * @summary Enable/Disable notification test mode (Admin)
26283
+ * @param {object} body Test mode status
26284
+ * @param {*} [options] Override http request option.
26285
+ * @throws {RequiredError}
26286
+ * @memberof AdminNotificationsApi
26287
+ */
26288
+ v1AdminNotificationsTestModePost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26161
26289
  /**
26162
26290
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
26163
26291
  * @summary Send test notification (Admin)
package/dist/esm/api.js CHANGED
@@ -1182,6 +1182,109 @@ export class AccountSettingsApi extends BaseAPI {
1182
1182
  return AccountSettingsApiFp(this.configuration).accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
1183
1183
  }
1184
1184
  }
1185
+ /**
1186
+ * AdminAnalyticsApi - axios parameter creator
1187
+ * @export
1188
+ */
1189
+ export const AdminAnalyticsApiAxiosParamCreator = function (configuration) {
1190
+ return {
1191
+ /**
1192
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1193
+ * @summary Enable/Disable analytics test mode (Admin)
1194
+ * @param {object} body Test mode status
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ v1AdminAnalyticsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
1199
+ // verify required parameter 'body' is not null or undefined
1200
+ assertParamExists('v1AdminAnalyticsTestModePost', 'body', body);
1201
+ const localVarPath = `/v1/admin/analytics/test-mode`;
1202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1203
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1204
+ let baseOptions;
1205
+ if (configuration) {
1206
+ baseOptions = configuration.baseOptions;
1207
+ }
1208
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1209
+ const localVarHeaderParameter = {};
1210
+ const localVarQueryParameter = {};
1211
+ // authentication BearerAuth required
1212
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1213
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1214
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1216
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1217
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
1218
+ return {
1219
+ url: toPathString(localVarUrlObj),
1220
+ options: localVarRequestOptions,
1221
+ };
1222
+ }),
1223
+ };
1224
+ };
1225
+ /**
1226
+ * AdminAnalyticsApi - functional programming interface
1227
+ * @export
1228
+ */
1229
+ export const AdminAnalyticsApiFp = function (configuration) {
1230
+ const localVarAxiosParamCreator = AdminAnalyticsApiAxiosParamCreator(configuration);
1231
+ return {
1232
+ /**
1233
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1234
+ * @summary Enable/Disable analytics test mode (Admin)
1235
+ * @param {object} body Test mode status
1236
+ * @param {*} [options] Override http request option.
1237
+ * @throws {RequiredError}
1238
+ */
1239
+ v1AdminAnalyticsTestModePost(body, options) {
1240
+ return __awaiter(this, void 0, void 0, function* () {
1241
+ var _a, _b, _c;
1242
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminAnalyticsTestModePost(body, options);
1243
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1244
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminAnalyticsApi.v1AdminAnalyticsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1245
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1246
+ });
1247
+ },
1248
+ };
1249
+ };
1250
+ /**
1251
+ * AdminAnalyticsApi - factory interface
1252
+ * @export
1253
+ */
1254
+ export const AdminAnalyticsApiFactory = function (configuration, basePath, axios) {
1255
+ const localVarFp = AdminAnalyticsApiFp(configuration);
1256
+ return {
1257
+ /**
1258
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1259
+ * @summary Enable/Disable analytics test mode (Admin)
1260
+ * @param {object} body Test mode status
1261
+ * @param {*} [options] Override http request option.
1262
+ * @throws {RequiredError}
1263
+ */
1264
+ v1AdminAnalyticsTestModePost(body, options) {
1265
+ return localVarFp.v1AdminAnalyticsTestModePost(body, options).then((request) => request(axios, basePath));
1266
+ },
1267
+ };
1268
+ };
1269
+ /**
1270
+ * AdminAnalyticsApi - object-oriented interface
1271
+ * @export
1272
+ * @class AdminAnalyticsApi
1273
+ * @extends {BaseAPI}
1274
+ */
1275
+ export class AdminAnalyticsApi extends BaseAPI {
1276
+ /**
1277
+ * Enables or disables test mode for analytics. When enabled, events will be published to analytics_events_test queue with detailed logging.
1278
+ * @summary Enable/Disable analytics test mode (Admin)
1279
+ * @param {object} body Test mode status
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ * @memberof AdminAnalyticsApi
1283
+ */
1284
+ v1AdminAnalyticsTestModePost(body, options) {
1285
+ return AdminAnalyticsApiFp(this.configuration).v1AdminAnalyticsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
1286
+ }
1287
+ }
1185
1288
  /**
1186
1289
  * AdminNotificationTemplatesApi - axios parameter creator
1187
1290
  * @export
@@ -1918,6 +2021,38 @@ export const AdminNotificationsApiAxiosParamCreator = function (configuration) {
1918
2021
  options: localVarRequestOptions,
1919
2022
  };
1920
2023
  }),
2024
+ /**
2025
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2026
+ * @summary Enable/Disable notification test mode (Admin)
2027
+ * @param {object} body Test mode status
2028
+ * @param {*} [options] Override http request option.
2029
+ * @throws {RequiredError}
2030
+ */
2031
+ v1AdminNotificationsTestModePost: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
2032
+ // verify required parameter 'body' is not null or undefined
2033
+ assertParamExists('v1AdminNotificationsTestModePost', 'body', body);
2034
+ const localVarPath = `/v1/admin/notifications/test/mode`;
2035
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2036
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2037
+ let baseOptions;
2038
+ if (configuration) {
2039
+ baseOptions = configuration.baseOptions;
2040
+ }
2041
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2042
+ const localVarHeaderParameter = {};
2043
+ const localVarQueryParameter = {};
2044
+ // authentication BearerAuth required
2045
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2046
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2048
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2049
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2050
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2051
+ return {
2052
+ url: toPathString(localVarUrlObj),
2053
+ options: localVarRequestOptions,
2054
+ };
2055
+ }),
1921
2056
  /**
1922
2057
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
1923
2058
  * @summary Send test notification (Admin)
@@ -2109,6 +2244,22 @@ export const AdminNotificationsApiFp = function (configuration) {
2109
2244
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2110
2245
  });
2111
2246
  },
2247
+ /**
2248
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2249
+ * @summary Enable/Disable notification test mode (Admin)
2250
+ * @param {object} body Test mode status
2251
+ * @param {*} [options] Override http request option.
2252
+ * @throws {RequiredError}
2253
+ */
2254
+ v1AdminNotificationsTestModePost(body, options) {
2255
+ return __awaiter(this, void 0, void 0, function* () {
2256
+ var _a, _b, _c;
2257
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminNotificationsTestModePost(body, options);
2258
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2259
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminNotificationsApi.v1AdminNotificationsTestModePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2260
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2261
+ });
2262
+ },
2112
2263
  /**
2113
2264
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2114
2265
  * @summary Send test notification (Admin)
@@ -2225,6 +2376,16 @@ export const AdminNotificationsApiFactory = function (configuration, basePath, a
2225
2376
  v1AdminNotificationsStatsGet(startDate, endDate, options) {
2226
2377
  return localVarFp.v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(axios, basePath));
2227
2378
  },
2379
+ /**
2380
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2381
+ * @summary Enable/Disable notification test mode (Admin)
2382
+ * @param {object} body Test mode status
2383
+ * @param {*} [options] Override http request option.
2384
+ * @throws {RequiredError}
2385
+ */
2386
+ v1AdminNotificationsTestModePost(body, options) {
2387
+ return localVarFp.v1AdminNotificationsTestModePost(body, options).then((request) => request(axios, basePath));
2388
+ },
2228
2389
  /**
2229
2390
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2230
2391
  * @summary Send test notification (Admin)
@@ -2344,6 +2505,17 @@ export class AdminNotificationsApi extends BaseAPI {
2344
2505
  v1AdminNotificationsStatsGet(startDate, endDate, options) {
2345
2506
  return AdminNotificationsApiFp(this.configuration).v1AdminNotificationsStatsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
2346
2507
  }
2508
+ /**
2509
+ * Enables or disables test mode for notifications. When enabled, notifications will be published to test queue with detailed logging.
2510
+ * @summary Enable/Disable notification test mode (Admin)
2511
+ * @param {object} body Test mode status
2512
+ * @param {*} [options] Override http request option.
2513
+ * @throws {RequiredError}
2514
+ * @memberof AdminNotificationsApi
2515
+ */
2516
+ v1AdminNotificationsTestModePost(body, options) {
2517
+ return AdminNotificationsApiFp(this.configuration).v1AdminNotificationsTestModePost(body, options).then((request) => request(this.axios, this.basePath));
2518
+ }
2347
2519
  /**
2348
2520
  * Sends a test notification event to RabbitMQ to verify go-consumer is working. Supports different notification types via template_code parameter.
2349
2521
  * @summary Send test notification (Admin)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.33",
3
+ "version": "1.1.34",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file