@seekora-ai/admin-api 1.1.33 → 1.1.35

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/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)
@@ -42954,50 +43082,6 @@ export declare const TeamApiAxiosParamCreator: (configuration?: Configuration) =
42954
43082
  * @throws {RequiredError}
42955
43083
  */
42956
43084
  apiV1InvitationsTokenAcceptPost: (token: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42957
- /**
42958
- * Retrieves all pending invitations for an organization
42959
- * @summary Get pending invitations
42960
- * @param {number} orgId Organization ID
42961
- * @param {*} [options] Override http request option.
42962
- * @throws {RequiredError}
42963
- */
42964
- apiV1OrganizationsOrgIdInvitationsGet: (orgId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42965
- /**
42966
- * Retrieves all members of an organization with their details
42967
- * @summary Get all members of an organization
42968
- * @param {number} orgId Organization ID
42969
- * @param {*} [options] Override http request option.
42970
- * @throws {RequiredError}
42971
- */
42972
- apiV1OrganizationsOrgIdMembersGet: (orgId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42973
- /**
42974
- * Sends an invitation to a user to join the organization
42975
- * @summary Invite a member to join organization
42976
- * @param {number} orgId Organization ID
42977
- * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
42978
- * @param {*} [options] Override http request option.
42979
- * @throws {RequiredError}
42980
- */
42981
- apiV1OrganizationsOrgIdMembersInvitePost: (orgId: number, dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42982
- /**
42983
- * Removes a member from the organization
42984
- * @summary Remove member from organization
42985
- * @param {number} orgId Organization ID
42986
- * @param {number} memberId Member ID
42987
- * @param {*} [options] Override http request option.
42988
- * @throws {RequiredError}
42989
- */
42990
- apiV1OrganizationsOrgIdMembersMemberIdDelete: (orgId: number, memberId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
42991
- /**
42992
- * Updates the role of a member in the organization
42993
- * @summary Update member role
42994
- * @param {number} orgId Organization ID
42995
- * @param {number} memberId Member ID
42996
- * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
42997
- * @param {*} [options] Override http request option.
42998
- * @throws {RequiredError}
42999
- */
43000
- apiV1OrganizationsOrgIdMembersMemberIdRolePut: (orgId: number, memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43001
43085
  /**
43002
43086
  * Retrieves all users with access to a store
43003
43087
  * @summary Get store access list
@@ -43035,79 +43119,74 @@ export declare const TeamApiAxiosParamCreator: (configuration?: Configuration) =
43035
43119
  */
43036
43120
  apiV1StoresStoreIdAccessUserIdPut: (storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43037
43121
  /**
43038
- * Retrieves all stores accessible to a user
43039
- * @summary Get user\'s accessible stores
43040
- * @param {number} userId User ID
43122
+ * Retrieves all pending invitations for the user\'s organization
43123
+ * @summary Get pending invitations
43041
43124
  * @param {*} [options] Override http request option.
43042
43125
  * @throws {RequiredError}
43043
43126
  */
43044
- apiV1UsersUserIdStoresGet: (userId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43045
- };
43046
- /**
43047
- * TeamApi - functional programming interface
43048
- * @export
43049
- */
43050
- export declare const TeamApiFp: (configuration?: Configuration) => {
43127
+ apiV1TeamInvitationsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43051
43128
  /**
43052
- * Cancels a pending invitation
43053
- * @summary Cancel invitation
43054
- * @param {number} invitationId Invitation ID
43129
+ * Retrieves all members of the user\'s organization with their details
43130
+ * @summary Get all members of an organization
43055
43131
  * @param {*} [options] Override http request option.
43056
43132
  * @throws {RequiredError}
43057
43133
  */
43058
- apiV1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43134
+ apiV1TeamMembersGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43059
43135
  /**
43060
- * Accepts a team invitation using token
43061
- * @summary Accept invitation
43062
- * @param {string} token Invitation Token
43136
+ * Sends an invitation to a user to join the user\'s organization
43137
+ * @summary Invite a member to join organization
43138
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43063
43139
  * @param {*} [options] Override http request option.
43064
43140
  * @throws {RequiredError}
43065
43141
  */
43066
- apiV1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43142
+ apiV1TeamMembersInvitePost: (dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43067
43143
  /**
43068
- * Retrieves all pending invitations for an organization
43069
- * @summary Get pending invitations
43070
- * @param {number} orgId Organization ID
43144
+ * Removes a member from the user\'s organization
43145
+ * @summary Remove member from organization
43146
+ * @param {number} memberId Member ID
43071
43147
  * @param {*} [options] Override http request option.
43072
43148
  * @throws {RequiredError}
43073
43149
  */
43074
- apiV1OrganizationsOrgIdInvitationsGet(orgId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesTeamInvitationsResponse>>;
43150
+ apiV1TeamMembersMemberIdDelete: (memberId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43075
43151
  /**
43076
- * Retrieves all members of an organization with their details
43077
- * @summary Get all members of an organization
43078
- * @param {number} orgId Organization ID
43152
+ * Updates the role of a member in the user\'s organization
43153
+ * @summary Update member role
43154
+ * @param {number} memberId Member ID
43155
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43079
43156
  * @param {*} [options] Override http request option.
43080
43157
  * @throws {RequiredError}
43081
43158
  */
43082
- apiV1OrganizationsOrgIdMembersGet(orgId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrgMembersResponse>>;
43159
+ apiV1TeamMembersMemberIdRolePut: (memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43083
43160
  /**
43084
- * Sends an invitation to a user to join the organization
43085
- * @summary Invite a member to join organization
43086
- * @param {number} orgId Organization ID
43087
- * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43161
+ * Retrieves all stores accessible to a user
43162
+ * @summary Get user\'s accessible stores
43163
+ * @param {number} userId User ID
43088
43164
  * @param {*} [options] Override http request option.
43089
43165
  * @throws {RequiredError}
43090
43166
  */
43091
- apiV1OrganizationsOrgIdMembersInvitePost(orgId: number, dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesInvitationCreatedResponse>>;
43167
+ apiV1UsersUserIdStoresGet: (userId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43168
+ };
43169
+ /**
43170
+ * TeamApi - functional programming interface
43171
+ * @export
43172
+ */
43173
+ export declare const TeamApiFp: (configuration?: Configuration) => {
43092
43174
  /**
43093
- * Removes a member from the organization
43094
- * @summary Remove member from organization
43095
- * @param {number} orgId Organization ID
43096
- * @param {number} memberId Member ID
43175
+ * Cancels a pending invitation
43176
+ * @summary Cancel invitation
43177
+ * @param {number} invitationId Invitation ID
43097
43178
  * @param {*} [options] Override http request option.
43098
43179
  * @throws {RequiredError}
43099
43180
  */
43100
- apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId: number, memberId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43181
+ apiV1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43101
43182
  /**
43102
- * Updates the role of a member in the organization
43103
- * @summary Update member role
43104
- * @param {number} orgId Organization ID
43105
- * @param {number} memberId Member ID
43106
- * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43183
+ * Accepts a team invitation using token
43184
+ * @summary Accept invitation
43185
+ * @param {string} token Invitation Token
43107
43186
  * @param {*} [options] Override http request option.
43108
43187
  * @throws {RequiredError}
43109
43188
  */
43110
- apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId: number, memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43189
+ apiV1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43111
43190
  /**
43112
43191
  * Retrieves all users with access to a store
43113
43192
  * @summary Get store access list
@@ -43145,79 +43224,74 @@ export declare const TeamApiFp: (configuration?: Configuration) => {
43145
43224
  */
43146
43225
  apiV1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43147
43226
  /**
43148
- * Retrieves all stores accessible to a user
43149
- * @summary Get user\'s accessible stores
43150
- * @param {number} userId User ID
43227
+ * Retrieves all pending invitations for the user\'s organization
43228
+ * @summary Get pending invitations
43151
43229
  * @param {*} [options] Override http request option.
43152
43230
  * @throws {RequiredError}
43153
43231
  */
43154
- apiV1UsersUserIdStoresGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUserStoresResponse>>;
43155
- };
43156
- /**
43157
- * TeamApi - factory interface
43158
- * @export
43159
- */
43160
- export declare const TeamApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
43232
+ apiV1TeamInvitationsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesTeamInvitationsResponse>>;
43161
43233
  /**
43162
- * Cancels a pending invitation
43163
- * @summary Cancel invitation
43164
- * @param {number} invitationId Invitation ID
43234
+ * Retrieves all members of the user\'s organization with their details
43235
+ * @summary Get all members of an organization
43165
43236
  * @param {*} [options] Override http request option.
43166
43237
  * @throws {RequiredError}
43167
43238
  */
43168
- apiV1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43239
+ apiV1TeamMembersGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrgMembersResponse>>;
43169
43240
  /**
43170
- * Accepts a team invitation using token
43171
- * @summary Accept invitation
43172
- * @param {string} token Invitation Token
43241
+ * Sends an invitation to a user to join the user\'s organization
43242
+ * @summary Invite a member to join organization
43243
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43173
43244
  * @param {*} [options] Override http request option.
43174
43245
  * @throws {RequiredError}
43175
43246
  */
43176
- apiV1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43247
+ apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesInvitationCreatedResponse>>;
43177
43248
  /**
43178
- * Retrieves all pending invitations for an organization
43179
- * @summary Get pending invitations
43180
- * @param {number} orgId Organization ID
43249
+ * Removes a member from the user\'s organization
43250
+ * @summary Remove member from organization
43251
+ * @param {number} memberId Member ID
43181
43252
  * @param {*} [options] Override http request option.
43182
43253
  * @throws {RequiredError}
43183
43254
  */
43184
- apiV1OrganizationsOrgIdInvitationsGet(orgId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesTeamInvitationsResponse>;
43255
+ apiV1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43185
43256
  /**
43186
- * Retrieves all members of an organization with their details
43187
- * @summary Get all members of an organization
43188
- * @param {number} orgId Organization ID
43257
+ * Updates the role of a member in the user\'s organization
43258
+ * @summary Update member role
43259
+ * @param {number} memberId Member ID
43260
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43189
43261
  * @param {*} [options] Override http request option.
43190
43262
  * @throws {RequiredError}
43191
43263
  */
43192
- apiV1OrganizationsOrgIdMembersGet(orgId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrgMembersResponse>;
43264
+ apiV1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
43193
43265
  /**
43194
- * Sends an invitation to a user to join the organization
43195
- * @summary Invite a member to join organization
43196
- * @param {number} orgId Organization ID
43197
- * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43266
+ * Retrieves all stores accessible to a user
43267
+ * @summary Get user\'s accessible stores
43268
+ * @param {number} userId User ID
43198
43269
  * @param {*} [options] Override http request option.
43199
43270
  * @throws {RequiredError}
43200
43271
  */
43201
- apiV1OrganizationsOrgIdMembersInvitePost(orgId: number, dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesInvitationCreatedResponse>;
43272
+ apiV1UsersUserIdStoresGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUserStoresResponse>>;
43273
+ };
43274
+ /**
43275
+ * TeamApi - factory interface
43276
+ * @export
43277
+ */
43278
+ export declare const TeamApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
43202
43279
  /**
43203
- * Removes a member from the organization
43204
- * @summary Remove member from organization
43205
- * @param {number} orgId Organization ID
43206
- * @param {number} memberId Member ID
43280
+ * Cancels a pending invitation
43281
+ * @summary Cancel invitation
43282
+ * @param {number} invitationId Invitation ID
43207
43283
  * @param {*} [options] Override http request option.
43208
43284
  * @throws {RequiredError}
43209
43285
  */
43210
- apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId: number, memberId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43286
+ apiV1InvitationsInvitationIdDelete(invitationId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43211
43287
  /**
43212
- * Updates the role of a member in the organization
43213
- * @summary Update member role
43214
- * @param {number} orgId Organization ID
43215
- * @param {number} memberId Member ID
43216
- * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43288
+ * Accepts a team invitation using token
43289
+ * @summary Accept invitation
43290
+ * @param {string} token Invitation Token
43217
43291
  * @param {*} [options] Override http request option.
43218
43292
  * @throws {RequiredError}
43219
43293
  */
43220
- apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId: number, memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43294
+ apiV1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43221
43295
  /**
43222
43296
  * Retrieves all users with access to a store
43223
43297
  * @summary Get store access list
@@ -43254,6 +43328,45 @@ export declare const TeamApiFactory: (configuration?: Configuration, basePath?:
43254
43328
  * @throws {RequiredError}
43255
43329
  */
43256
43330
  apiV1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43331
+ /**
43332
+ * Retrieves all pending invitations for the user\'s organization
43333
+ * @summary Get pending invitations
43334
+ * @param {*} [options] Override http request option.
43335
+ * @throws {RequiredError}
43336
+ */
43337
+ apiV1TeamInvitationsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesTeamInvitationsResponse>;
43338
+ /**
43339
+ * Retrieves all members of the user\'s organization with their details
43340
+ * @summary Get all members of an organization
43341
+ * @param {*} [options] Override http request option.
43342
+ * @throws {RequiredError}
43343
+ */
43344
+ apiV1TeamMembersGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrgMembersResponse>;
43345
+ /**
43346
+ * Sends an invitation to a user to join the user\'s organization
43347
+ * @summary Invite a member to join organization
43348
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43349
+ * @param {*} [options] Override http request option.
43350
+ * @throws {RequiredError}
43351
+ */
43352
+ apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesInvitationCreatedResponse>;
43353
+ /**
43354
+ * Removes a member from the user\'s organization
43355
+ * @summary Remove member from organization
43356
+ * @param {number} memberId Member ID
43357
+ * @param {*} [options] Override http request option.
43358
+ * @throws {RequiredError}
43359
+ */
43360
+ apiV1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43361
+ /**
43362
+ * Updates the role of a member in the user\'s organization
43363
+ * @summary Update member role
43364
+ * @param {number} memberId Member ID
43365
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43366
+ * @param {*} [options] Override http request option.
43367
+ * @throws {RequiredError}
43368
+ */
43369
+ apiV1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
43257
43370
  /**
43258
43371
  * Retrieves all stores accessible to a user
43259
43372
  * @summary Get user\'s accessible stores
@@ -43289,94 +43402,89 @@ export declare class TeamApi extends BaseAPI {
43289
43402
  */
43290
43403
  apiV1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43291
43404
  /**
43292
- * Retrieves all pending invitations for an organization
43293
- * @summary Get pending invitations
43294
- * @param {number} orgId Organization ID
43405
+ * Retrieves all users with access to a store
43406
+ * @summary Get store access list
43407
+ * @param {number} storeId Store ID
43295
43408
  * @param {*} [options] Override http request option.
43296
43409
  * @throws {RequiredError}
43297
43410
  * @memberof TeamApi
43298
43411
  */
43299
- apiV1OrganizationsOrgIdInvitationsGet(orgId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesTeamInvitationsResponse, any, {}>>;
43412
+ apiV1StoresStoreIdAccessGet(storeId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreAccessResponse, any, {}>>;
43300
43413
  /**
43301
- * Retrieves all members of an organization with their details
43302
- * @summary Get all members of an organization
43303
- * @param {number} orgId Organization ID
43414
+ * Grants a user access to a store
43415
+ * @summary Grant store access
43416
+ * @param {number} storeId Store ID
43417
+ * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
43304
43418
  * @param {*} [options] Override http request option.
43305
43419
  * @throws {RequiredError}
43306
43420
  * @memberof TeamApi
43307
43421
  */
43308
- apiV1OrganizationsOrgIdMembersGet(orgId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrgMembersResponse, any, {}>>;
43422
+ apiV1StoresStoreIdAccessPost(storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43309
43423
  /**
43310
- * Sends an invitation to a user to join the organization
43311
- * @summary Invite a member to join organization
43312
- * @param {number} orgId Organization ID
43313
- * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43424
+ * Revokes a user\'s access to a store
43425
+ * @summary Revoke store access
43426
+ * @param {number} storeId Store ID
43427
+ * @param {number} userId User ID
43314
43428
  * @param {*} [options] Override http request option.
43315
43429
  * @throws {RequiredError}
43316
43430
  * @memberof TeamApi
43317
43431
  */
43318
- apiV1OrganizationsOrgIdMembersInvitePost(orgId: number, dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesInvitationCreatedResponse, any, {}>>;
43432
+ apiV1StoresStoreIdAccessUserIdDelete(storeId: number, userId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43319
43433
  /**
43320
- * Removes a member from the organization
43321
- * @summary Remove member from organization
43322
- * @param {number} orgId Organization ID
43323
- * @param {number} memberId Member ID
43434
+ * Updates a user\'s access level to a store
43435
+ * @summary Update store access level
43436
+ * @param {number} storeId Store ID
43437
+ * @param {number} userId User ID
43438
+ * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
43324
43439
  * @param {*} [options] Override http request option.
43325
43440
  * @throws {RequiredError}
43326
43441
  * @memberof TeamApi
43327
43442
  */
43328
- apiV1OrganizationsOrgIdMembersMemberIdDelete(orgId: number, memberId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43443
+ apiV1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43329
43444
  /**
43330
- * Updates the role of a member in the organization
43331
- * @summary Update member role
43332
- * @param {number} orgId Organization ID
43333
- * @param {number} memberId Member ID
43334
- * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43445
+ * Retrieves all pending invitations for the user\'s organization
43446
+ * @summary Get pending invitations
43335
43447
  * @param {*} [options] Override http request option.
43336
43448
  * @throws {RequiredError}
43337
43449
  * @memberof TeamApi
43338
43450
  */
43339
- apiV1OrganizationsOrgIdMembersMemberIdRolePut(orgId: number, memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43451
+ apiV1TeamInvitationsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesTeamInvitationsResponse, any, {}>>;
43340
43452
  /**
43341
- * Retrieves all users with access to a store
43342
- * @summary Get store access list
43343
- * @param {number} storeId Store ID
43453
+ * Retrieves all members of the user\'s organization with their details
43454
+ * @summary Get all members of an organization
43344
43455
  * @param {*} [options] Override http request option.
43345
43456
  * @throws {RequiredError}
43346
43457
  * @memberof TeamApi
43347
43458
  */
43348
- apiV1StoresStoreIdAccessGet(storeId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesStoreAccessResponse, any, {}>>;
43459
+ apiV1TeamMembersGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrgMembersResponse, any, {}>>;
43349
43460
  /**
43350
- * Grants a user access to a store
43351
- * @summary Grant store access
43352
- * @param {number} storeId Store ID
43353
- * @param {DataTypesGrantStoreAccessRequest} dataTypesGrantStoreAccessRequest Access details
43461
+ * Sends an invitation to a user to join the user\'s organization
43462
+ * @summary Invite a member to join organization
43463
+ * @param {DataTypesInviteMemberRequest} dataTypesInviteMemberRequest Invitation details
43354
43464
  * @param {*} [options] Override http request option.
43355
43465
  * @throws {RequiredError}
43356
43466
  * @memberof TeamApi
43357
43467
  */
43358
- apiV1StoresStoreIdAccessPost(storeId: number, dataTypesGrantStoreAccessRequest: DataTypesGrantStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43468
+ apiV1TeamMembersInvitePost(dataTypesInviteMemberRequest: DataTypesInviteMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesInvitationCreatedResponse, any, {}>>;
43359
43469
  /**
43360
- * Revokes a user\'s access to a store
43361
- * @summary Revoke store access
43362
- * @param {number} storeId Store ID
43363
- * @param {number} userId User ID
43470
+ * Removes a member from the user\'s organization
43471
+ * @summary Remove member from organization
43472
+ * @param {number} memberId Member ID
43364
43473
  * @param {*} [options] Override http request option.
43365
43474
  * @throws {RequiredError}
43366
43475
  * @memberof TeamApi
43367
43476
  */
43368
- apiV1StoresStoreIdAccessUserIdDelete(storeId: number, userId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43477
+ apiV1TeamMembersMemberIdDelete(memberId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43369
43478
  /**
43370
- * Updates a user\'s access level to a store
43371
- * @summary Update store access level
43372
- * @param {number} storeId Store ID
43373
- * @param {number} userId User ID
43374
- * @param {DataTypesUpdateStoreAccessRequest} dataTypesUpdateStoreAccessRequest New access level
43479
+ * Updates the role of a member in the user\'s organization
43480
+ * @summary Update member role
43481
+ * @param {number} memberId Member ID
43482
+ * @param {DataTypesUpdateMemberRoleRequest} dataTypesUpdateMemberRoleRequest New role
43375
43483
  * @param {*} [options] Override http request option.
43376
43484
  * @throws {RequiredError}
43377
43485
  * @memberof TeamApi
43378
43486
  */
43379
- apiV1StoresStoreIdAccessUserIdPut(storeId: number, userId: number, dataTypesUpdateStoreAccessRequest: DataTypesUpdateStoreAccessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43487
+ apiV1TeamMembersMemberIdRolePut(memberId: number, dataTypesUpdateMemberRoleRequest: DataTypesUpdateMemberRoleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
43380
43488
  /**
43381
43489
  * Retrieves all stores accessible to a user
43382
43490
  * @summary Get user\'s accessible stores