@seekora-ai/admin-api 1.1.54 → 1.1.56

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/api.ts CHANGED
@@ -7071,7 +7071,19 @@ export interface DataTypesCompanyConfigRequest {
7071
7071
  * @type {string}
7072
7072
  * @memberof DataTypesCompanyConfigRequest
7073
7073
  */
7074
+ 'phone_country_code'?: string;
7075
+ /**
7076
+ * Deprecated, use PhoneCountryCode and PhoneNumberOnly
7077
+ * @type {string}
7078
+ * @memberof DataTypesCompanyConfigRequest
7079
+ */
7074
7080
  'phone_number': string;
7081
+ /**
7082
+ *
7083
+ * @type {string}
7084
+ * @memberof DataTypesCompanyConfigRequest
7085
+ */
7086
+ 'phone_number_only'?: string;
7075
7087
  /**
7076
7088
  *
7077
7089
  * @type {string}
@@ -7593,7 +7605,19 @@ export interface DataTypesCreateOrganizationRequest {
7593
7605
  * @type {string}
7594
7606
  * @memberof DataTypesCreateOrganizationRequest
7595
7607
  */
7608
+ 'PhoneCountryCode'?: string;
7609
+ /**
7610
+ * Deprecated, use PhoneCountryCode and PhoneNumber
7611
+ * @type {string}
7612
+ * @memberof DataTypesCreateOrganizationRequest
7613
+ */
7596
7614
  'PhoneNo'?: string;
7615
+ /**
7616
+ *
7617
+ * @type {string}
7618
+ * @memberof DataTypesCreateOrganizationRequest
7619
+ */
7620
+ 'PhoneNumber'?: string;
7597
7621
  /**
7598
7622
  *
7599
7623
  * @type {string}
@@ -8355,6 +8379,18 @@ export interface DataTypesCreateUserRequestDto {
8355
8379
  * @memberof DataTypesCreateUserRequestDto
8356
8380
  */
8357
8381
  'passwordExpiryDate'?: string;
8382
+ /**
8383
+ *
8384
+ * @type {string}
8385
+ * @memberof DataTypesCreateUserRequestDto
8386
+ */
8387
+ 'phoneCountryCode'?: string;
8388
+ /**
8389
+ *
8390
+ * @type {string}
8391
+ * @memberof DataTypesCreateUserRequestDto
8392
+ */
8393
+ 'phoneNumber'?: string;
8358
8394
  /**
8359
8395
  *
8360
8396
  * @type {string}
@@ -8392,7 +8428,7 @@ export interface DataTypesCreateUserRequestDto {
8392
8428
  */
8393
8429
  'userPassword'?: string;
8394
8430
  /**
8395
- *
8431
+ * Deprecated, use PhoneCountryCode and PhoneNumber
8396
8432
  * @type {string}
8397
8433
  * @memberof DataTypesCreateUserRequestDto
8398
8434
  */
@@ -10180,6 +10216,32 @@ export interface DataTypesFieldMetadata {
10180
10216
  */
10181
10217
  'type'?: string;
10182
10218
  }
10219
+ /**
10220
+ *
10221
+ * @export
10222
+ * @interface DataTypesForgotPasswordRequest
10223
+ */
10224
+ export interface DataTypesForgotPasswordRequest {
10225
+ /**
10226
+ *
10227
+ * @type {string}
10228
+ * @memberof DataTypesForgotPasswordRequest
10229
+ */
10230
+ 'email': string;
10231
+ }
10232
+ /**
10233
+ *
10234
+ * @export
10235
+ * @interface DataTypesForgotPasswordResponse
10236
+ */
10237
+ export interface DataTypesForgotPasswordResponse {
10238
+ /**
10239
+ *
10240
+ * @type {string}
10241
+ * @memberof DataTypesForgotPasswordResponse
10242
+ */
10243
+ 'message'?: string;
10244
+ }
10183
10245
  /**
10184
10246
  *
10185
10247
  * @export
@@ -15104,7 +15166,19 @@ export interface DataTypesOnboardingOrgDetails {
15104
15166
  * @type {string}
15105
15167
  * @memberof DataTypesOnboardingOrgDetails
15106
15168
  */
15169
+ 'phoneCountryCode'?: string;
15170
+ /**
15171
+ * Deprecated, use PhoneCountryCode and PhoneNumber
15172
+ * @type {string}
15173
+ * @memberof DataTypesOnboardingOrgDetails
15174
+ */
15107
15175
  'phoneNo'?: string;
15176
+ /**
15177
+ *
15178
+ * @type {string}
15179
+ * @memberof DataTypesOnboardingOrgDetails
15180
+ */
15181
+ 'phoneNumber'?: string;
15108
15182
  /**
15109
15183
  *
15110
15184
  * @type {string}
@@ -15895,11 +15969,23 @@ export interface DataTypesOrganization {
15895
15969
  */
15896
15970
  'PAN'?: string;
15897
15971
  /**
15898
- * Nullable field
15972
+ * Nullable field - Country code (e.g., +1, +91, +44)
15973
+ * @type {string}
15974
+ * @memberof DataTypesOrganization
15975
+ */
15976
+ 'PhoneCountryCode'?: string;
15977
+ /**
15978
+ * Nullable field (deprecated, use PhoneCountryCode and PhoneNumber)
15899
15979
  * @type {string}
15900
15980
  * @memberof DataTypesOrganization
15901
15981
  */
15902
15982
  'PhoneNo'?: string;
15983
+ /**
15984
+ * Nullable field - Phone number without country code
15985
+ * @type {string}
15986
+ * @memberof DataTypesOrganization
15987
+ */
15988
+ 'PhoneNumber'?: string;
15903
15989
  /**
15904
15990
  * State/Province for tax
15905
15991
  * @type {string}
@@ -17087,6 +17173,18 @@ export interface DataTypesProfileResponse {
17087
17173
  * @memberof DataTypesProfileResponse
17088
17174
  */
17089
17175
  'lastname'?: string;
17176
+ /**
17177
+ *
17178
+ * @type {string}
17179
+ * @memberof DataTypesProfileResponse
17180
+ */
17181
+ 'phoneCountryCode'?: string;
17182
+ /**
17183
+ *
17184
+ * @type {string}
17185
+ * @memberof DataTypesProfileResponse
17186
+ */
17187
+ 'phoneNumber'?: string;
17090
17188
  /**
17091
17189
  *
17092
17190
  * @type {string}
@@ -17124,7 +17222,7 @@ export interface DataTypesProfileResponse {
17124
17222
  */
17125
17223
  'username'?: string;
17126
17224
  /**
17127
- *
17225
+ * Deprecated, use PhoneCountryCode and PhoneNumber
17128
17226
  * @type {string}
17129
17227
  * @memberof DataTypesProfileResponse
17130
17228
  */
@@ -17654,6 +17752,12 @@ export interface DataTypesReceipt {
17654
17752
  * @memberof DataTypesReceipt
17655
17753
  */
17656
17754
  'pdf_s3_key'?: string;
17755
+ /**
17756
+ * Presigned URLs for PDF download (populated by service layer)
17757
+ * @type {string}
17758
+ * @memberof DataTypesReceipt
17759
+ */
17760
+ 'receipt_download_path'?: string;
17657
17761
  /**
17658
17762
  *
17659
17763
  * @type {number}
@@ -17666,6 +17770,12 @@ export interface DataTypesReceipt {
17666
17770
  * @memberof DataTypesReceipt
17667
17771
  */
17668
17772
  'receipt_number'?: string;
17773
+ /**
17774
+ * Presigned S3 URL for receipt PDF
17775
+ * @type {string}
17776
+ * @memberof DataTypesReceipt
17777
+ */
17778
+ 'receipt_pdf_url'?: string;
17669
17779
  /**
17670
17780
  * generated, sent, viewed
17671
17781
  * @type {string}
@@ -18138,6 +18248,25 @@ export interface DataTypesRemoveWordsFromLanguageListRequest {
18138
18248
  */
18139
18249
  'words': Array<string>;
18140
18250
  }
18251
+ /**
18252
+ *
18253
+ * @export
18254
+ * @interface DataTypesResetPasswordRequest
18255
+ */
18256
+ export interface DataTypesResetPasswordRequest {
18257
+ /**
18258
+ *
18259
+ * @type {string}
18260
+ * @memberof DataTypesResetPasswordRequest
18261
+ */
18262
+ 'newPassword': string;
18263
+ /**
18264
+ *
18265
+ * @type {string}
18266
+ * @memberof DataTypesResetPasswordRequest
18267
+ */
18268
+ 'token': string;
18269
+ }
18141
18270
  /**
18142
18271
  *
18143
18272
  * @export
@@ -21759,7 +21888,19 @@ export interface DataTypesUpdateOrganizationRequest {
21759
21888
  * @type {string}
21760
21889
  * @memberof DataTypesUpdateOrganizationRequest
21761
21890
  */
21891
+ 'PhoneCountryCode'?: string;
21892
+ /**
21893
+ * Deprecated, use PhoneCountryCode and PhoneNumber
21894
+ * @type {string}
21895
+ * @memberof DataTypesUpdateOrganizationRequest
21896
+ */
21762
21897
  'PhoneNo'?: string;
21898
+ /**
21899
+ *
21900
+ * @type {string}
21901
+ * @memberof DataTypesUpdateOrganizationRequest
21902
+ */
21903
+ 'PhoneNumber'?: string;
21763
21904
  /**
21764
21905
  *
21765
21906
  * @type {string}
@@ -21976,6 +22117,18 @@ export interface DataTypesUpdateProfileRequest {
21976
22117
  * @memberof DataTypesUpdateProfileRequest
21977
22118
  */
21978
22119
  'lastname': string;
22120
+ /**
22121
+ *
22122
+ * @type {string}
22123
+ * @memberof DataTypesUpdateProfileRequest
22124
+ */
22125
+ 'phoneCountryCode'?: string;
22126
+ /**
22127
+ *
22128
+ * @type {string}
22129
+ * @memberof DataTypesUpdateProfileRequest
22130
+ */
22131
+ 'phoneNumber'?: string;
21979
22132
  /**
21980
22133
  *
21981
22134
  * @type {string}
@@ -22540,6 +22693,18 @@ export interface DataTypesUser {
22540
22693
  * @memberof DataTypesUser
22541
22694
  */
22542
22695
  'passwordExpiryDate'?: string;
22696
+ /**
22697
+ * Nullable field - Country code (e.g., +1, +91, +44)
22698
+ * @type {string}
22699
+ * @memberof DataTypesUser
22700
+ */
22701
+ 'phoneCountryCode'?: string;
22702
+ /**
22703
+ * Nullable field - Phone number without country code
22704
+ * @type {string}
22705
+ * @memberof DataTypesUser
22706
+ */
22707
+ 'phoneNumber'?: string;
22543
22708
  /**
22544
22709
  *
22545
22710
  * @type {string}
@@ -22589,7 +22754,7 @@ export interface DataTypesUser {
22589
22754
  */
22590
22755
  'userPassword'?: string;
22591
22756
  /**
22592
- *
22757
+ * Deprecated, use PhoneCountryCode and PhoneNumber
22593
22758
  * @type {string}
22594
22759
  * @memberof DataTypesUser
22595
22760
  */
@@ -23069,6 +23234,31 @@ export interface DataTypesVerifyPaymentRequest {
23069
23234
  */
23070
23235
  'gateway_signature': string;
23071
23236
  }
23237
+ /**
23238
+ *
23239
+ * @export
23240
+ * @interface DataTypesVerifyResetTokenResponse
23241
+ */
23242
+ export interface DataTypesVerifyResetTokenResponse {
23243
+ /**
23244
+ *
23245
+ * @type {string}
23246
+ * @memberof DataTypesVerifyResetTokenResponse
23247
+ */
23248
+ 'email'?: string;
23249
+ /**
23250
+ *
23251
+ * @type {string}
23252
+ * @memberof DataTypesVerifyResetTokenResponse
23253
+ */
23254
+ 'message'?: string;
23255
+ /**
23256
+ *
23257
+ * @type {boolean}
23258
+ * @memberof DataTypesVerifyResetTokenResponse
23259
+ */
23260
+ 'valid'?: boolean;
23261
+ }
23072
23262
  /**
23073
23263
  *
23074
23264
  * @export
@@ -25364,6 +25554,12 @@ export interface QuerySuggestionsServiceQuerySuggestionRecord {
25364
25554
  * @memberof QuerySuggestionsServiceQuerySuggestionRecord
25365
25555
  */
25366
25556
  'id'?: string;
25557
+ /**
25558
+ *
25559
+ * @type {string}
25560
+ * @memberof QuerySuggestionsServiceQuerySuggestionRecord
25561
+ */
25562
+ 'match_type'?: string;
25367
25563
  /**
25368
25564
  * Additional metadata
25369
25565
  * @type {{ [key: string]: string; }}
@@ -26036,6 +26232,12 @@ export interface QuerySuggestionsServiceUpdateSuggestionRequest {
26036
26232
  * @memberof QuerySuggestionsServiceUpdateSuggestionRequest
26037
26233
  */
26038
26234
  'metadata'?: { [key: string]: string; };
26235
+ /**
26236
+ * Optional popularity update
26237
+ * @type {number}
26238
+ * @memberof QuerySuggestionsServiceUpdateSuggestionRequest
26239
+ */
26240
+ 'popularity'?: number;
26039
26241
  /**
26040
26242
  * Optional priority update
26041
26243
  * @type {number}
@@ -35880,6 +36082,42 @@ export class ArticlesApi extends BaseAPI {
35880
36082
  */
35881
36083
  export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
35882
36084
  return {
36085
+ /**
36086
+ * Sends a password reset link to the user\'s email address
36087
+ * @summary Request password reset
36088
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36089
+ * @param {*} [options] Override http request option.
36090
+ * @throws {RequiredError}
36091
+ */
36092
+ authForgotPasswordPost: async (dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36093
+ // verify required parameter 'dataTypesForgotPasswordRequest' is not null or undefined
36094
+ assertParamExists('authForgotPasswordPost', 'dataTypesForgotPasswordRequest', dataTypesForgotPasswordRequest)
36095
+ const localVarPath = `/Auth/forgot-password`;
36096
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36097
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36098
+ let baseOptions;
36099
+ if (configuration) {
36100
+ baseOptions = configuration.baseOptions;
36101
+ }
36102
+
36103
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36104
+ const localVarHeaderParameter = {} as any;
36105
+ const localVarQueryParameter = {} as any;
36106
+
36107
+
36108
+
36109
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36110
+
36111
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36112
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36113
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36114
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesForgotPasswordRequest, localVarRequestOptions, configuration)
36115
+
36116
+ return {
36117
+ url: toPathString(localVarUrlObj),
36118
+ options: localVarRequestOptions,
36119
+ };
36120
+ },
35883
36121
  /**
35884
36122
  * Authenticates a user with username and password
35885
36123
  * @summary Login a user
@@ -35937,6 +36175,76 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
35937
36175
 
35938
36176
 
35939
36177
 
36178
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36179
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36180
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36181
+
36182
+ return {
36183
+ url: toPathString(localVarUrlObj),
36184
+ options: localVarRequestOptions,
36185
+ };
36186
+ },
36187
+ /**
36188
+ * Resets user password using a valid reset token
36189
+ * @summary Reset password with token
36190
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36191
+ * @param {*} [options] Override http request option.
36192
+ * @throws {RequiredError}
36193
+ */
36194
+ authResetPasswordPost: async (dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36195
+ // verify required parameter 'dataTypesResetPasswordRequest' is not null or undefined
36196
+ assertParamExists('authResetPasswordPost', 'dataTypesResetPasswordRequest', dataTypesResetPasswordRequest)
36197
+ const localVarPath = `/Auth/reset-password`;
36198
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36199
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36200
+ let baseOptions;
36201
+ if (configuration) {
36202
+ baseOptions = configuration.baseOptions;
36203
+ }
36204
+
36205
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
36206
+ const localVarHeaderParameter = {} as any;
36207
+ const localVarQueryParameter = {} as any;
36208
+
36209
+
36210
+
36211
+ localVarHeaderParameter['Content-Type'] = 'application/json';
36212
+
36213
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36215
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36216
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesResetPasswordRequest, localVarRequestOptions, configuration)
36217
+
36218
+ return {
36219
+ url: toPathString(localVarUrlObj),
36220
+ options: localVarRequestOptions,
36221
+ };
36222
+ },
36223
+ /**
36224
+ * Checks if a password reset token is valid and not expired
36225
+ * @summary Verify reset token validity
36226
+ * @param {string} token Reset token
36227
+ * @param {*} [options] Override http request option.
36228
+ * @throws {RequiredError}
36229
+ */
36230
+ authResetPasswordTokenGet: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36231
+ // verify required parameter 'token' is not null or undefined
36232
+ assertParamExists('authResetPasswordTokenGet', 'token', token)
36233
+ const localVarPath = `/Auth/reset-password/{token}`
36234
+ .replace(`{${"token"}}`, encodeURIComponent(String(token)));
36235
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36236
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36237
+ let baseOptions;
36238
+ if (configuration) {
36239
+ baseOptions = configuration.baseOptions;
36240
+ }
36241
+
36242
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36243
+ const localVarHeaderParameter = {} as any;
36244
+ const localVarQueryParameter = {} as any;
36245
+
36246
+
36247
+
35940
36248
  setSearchParams(localVarUrlObj, localVarQueryParameter);
35941
36249
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35942
36250
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -36031,6 +36339,19 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
36031
36339
  export const AuthApiFp = function(configuration?: Configuration) {
36032
36340
  const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
36033
36341
  return {
36342
+ /**
36343
+ * Sends a password reset link to the user\'s email address
36344
+ * @summary Request password reset
36345
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36346
+ * @param {*} [options] Override http request option.
36347
+ * @throws {RequiredError}
36348
+ */
36349
+ async authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesForgotPasswordResponse>> {
36350
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authForgotPasswordPost(dataTypesForgotPasswordRequest, options);
36351
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36352
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authForgotPasswordPost']?.[localVarOperationServerIndex]?.url;
36353
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36354
+ },
36034
36355
  /**
36035
36356
  * Authenticates a user with username and password
36036
36357
  * @summary Login a user
@@ -36056,6 +36377,32 @@ export const AuthApiFp = function(configuration?: Configuration) {
36056
36377
  const localVarOperationServerBasePath = operationServerMap['AuthApi.authLogoutPost']?.[localVarOperationServerIndex]?.url;
36057
36378
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36058
36379
  },
36380
+ /**
36381
+ * Resets user password using a valid reset token
36382
+ * @summary Reset password with token
36383
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36384
+ * @param {*} [options] Override http request option.
36385
+ * @throws {RequiredError}
36386
+ */
36387
+ async authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
36388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authResetPasswordPost(dataTypesResetPasswordRequest, options);
36389
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36390
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authResetPasswordPost']?.[localVarOperationServerIndex]?.url;
36391
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36392
+ },
36393
+ /**
36394
+ * Checks if a password reset token is valid and not expired
36395
+ * @summary Verify reset token validity
36396
+ * @param {string} token Reset token
36397
+ * @param {*} [options] Override http request option.
36398
+ * @throws {RequiredError}
36399
+ */
36400
+ async authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesVerifyResetTokenResponse>> {
36401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authResetPasswordTokenGet(token, options);
36402
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36403
+ const localVarOperationServerBasePath = operationServerMap['AuthApi.authResetPasswordTokenGet']?.[localVarOperationServerIndex]?.url;
36404
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36405
+ },
36059
36406
  /**
36060
36407
  * Returns refreshed session data for authenticated user
36061
36408
  * @summary Get current auth session
@@ -36092,6 +36439,16 @@ export const AuthApiFp = function(configuration?: Configuration) {
36092
36439
  export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36093
36440
  const localVarFp = AuthApiFp(configuration)
36094
36441
  return {
36442
+ /**
36443
+ * Sends a password reset link to the user\'s email address
36444
+ * @summary Request password reset
36445
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36446
+ * @param {*} [options] Override http request option.
36447
+ * @throws {RequiredError}
36448
+ */
36449
+ authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesForgotPasswordResponse> {
36450
+ return localVarFp.authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(axios, basePath));
36451
+ },
36095
36452
  /**
36096
36453
  * Authenticates a user with username and password
36097
36454
  * @summary Login a user
@@ -36111,6 +36468,26 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
36111
36468
  authLogoutPost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
36112
36469
  return localVarFp.authLogoutPost(options).then((request) => request(axios, basePath));
36113
36470
  },
36471
+ /**
36472
+ * Resets user password using a valid reset token
36473
+ * @summary Reset password with token
36474
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36475
+ * @param {*} [options] Override http request option.
36476
+ * @throws {RequiredError}
36477
+ */
36478
+ authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
36479
+ return localVarFp.authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(axios, basePath));
36480
+ },
36481
+ /**
36482
+ * Checks if a password reset token is valid and not expired
36483
+ * @summary Verify reset token validity
36484
+ * @param {string} token Reset token
36485
+ * @param {*} [options] Override http request option.
36486
+ * @throws {RequiredError}
36487
+ */
36488
+ authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesVerifyResetTokenResponse> {
36489
+ return localVarFp.authResetPasswordTokenGet(token, options).then((request) => request(axios, basePath));
36490
+ },
36114
36491
  /**
36115
36492
  * Returns refreshed session data for authenticated user
36116
36493
  * @summary Get current auth session
@@ -36141,6 +36518,18 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
36141
36518
  * @extends {BaseAPI}
36142
36519
  */
36143
36520
  export class AuthApi extends BaseAPI {
36521
+ /**
36522
+ * Sends a password reset link to the user\'s email address
36523
+ * @summary Request password reset
36524
+ * @param {DataTypesForgotPasswordRequest} dataTypesForgotPasswordRequest Forgot password request
36525
+ * @param {*} [options] Override http request option.
36526
+ * @throws {RequiredError}
36527
+ * @memberof AuthApi
36528
+ */
36529
+ public authForgotPasswordPost(dataTypesForgotPasswordRequest: DataTypesForgotPasswordRequest, options?: RawAxiosRequestConfig) {
36530
+ return AuthApiFp(this.configuration).authForgotPasswordPost(dataTypesForgotPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36531
+ }
36532
+
36144
36533
  /**
36145
36534
  * Authenticates a user with username and password
36146
36535
  * @summary Login a user
@@ -36164,6 +36553,30 @@ export class AuthApi extends BaseAPI {
36164
36553
  return AuthApiFp(this.configuration).authLogoutPost(options).then((request) => request(this.axios, this.basePath));
36165
36554
  }
36166
36555
 
36556
+ /**
36557
+ * Resets user password using a valid reset token
36558
+ * @summary Reset password with token
36559
+ * @param {DataTypesResetPasswordRequest} dataTypesResetPasswordRequest Reset password request
36560
+ * @param {*} [options] Override http request option.
36561
+ * @throws {RequiredError}
36562
+ * @memberof AuthApi
36563
+ */
36564
+ public authResetPasswordPost(dataTypesResetPasswordRequest: DataTypesResetPasswordRequest, options?: RawAxiosRequestConfig) {
36565
+ return AuthApiFp(this.configuration).authResetPasswordPost(dataTypesResetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
36566
+ }
36567
+
36568
+ /**
36569
+ * Checks if a password reset token is valid and not expired
36570
+ * @summary Verify reset token validity
36571
+ * @param {string} token Reset token
36572
+ * @param {*} [options] Override http request option.
36573
+ * @throws {RequiredError}
36574
+ * @memberof AuthApi
36575
+ */
36576
+ public authResetPasswordTokenGet(token: string, options?: RawAxiosRequestConfig) {
36577
+ return AuthApiFp(this.configuration).authResetPasswordTokenGet(token, options).then((request) => request(this.axios, this.basePath));
36578
+ }
36579
+
36167
36580
  /**
36168
36581
  * Returns refreshed session data for authenticated user
36169
36582
  * @summary Get current auth session
@@ -63186,12 +63599,15 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
63186
63599
  * @param {string} [endDate] End date (ISO 8601 format)
63187
63600
  * @param {string} [method] HTTP method filter
63188
63601
  * @param {string} [path] Path filter (partial match)
63602
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
63603
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
63604
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63189
63605
  * @param {number} [page] Page number (default: 1)
63190
63606
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63191
63607
  * @param {*} [options] Override http request option.
63192
63608
  * @throws {RequiredError}
63193
63609
  */
63194
- adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63610
+ adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63195
63611
  // verify required parameter 'xStoreID' is not null or undefined
63196
63612
  assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
63197
63613
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -63226,6 +63642,18 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
63226
63642
  localVarQueryParameter['path'] = path;
63227
63643
  }
63228
63644
 
63645
+ if (statusCode !== undefined) {
63646
+ localVarQueryParameter['status_code'] = statusCode;
63647
+ }
63648
+
63649
+ if (endpointType !== undefined) {
63650
+ localVarQueryParameter['endpoint_type'] = endpointType;
63651
+ }
63652
+
63653
+ if (responseTime !== undefined) {
63654
+ localVarQueryParameter['response_time'] = responseTime;
63655
+ }
63656
+
63229
63657
  if (page !== undefined) {
63230
63658
  localVarQueryParameter['page'] = page;
63231
63659
  }
@@ -63738,13 +64166,16 @@ export const StoresApiFp = function(configuration?: Configuration) {
63738
64166
  * @param {string} [endDate] End date (ISO 8601 format)
63739
64167
  * @param {string} [method] HTTP method filter
63740
64168
  * @param {string} [path] Path filter (partial match)
64169
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64170
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64171
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63741
64172
  * @param {number} [page] Page number (default: 1)
63742
64173
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63743
64174
  * @param {*} [options] Override http request option.
63744
64175
  * @throws {RequiredError}
63745
64176
  */
63746
- async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
63747
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
64177
+ async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
64178
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
63748
64179
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63749
64180
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
63750
64181
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -63977,13 +64408,16 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
63977
64408
  * @param {string} [endDate] End date (ISO 8601 format)
63978
64409
  * @param {string} [method] HTTP method filter
63979
64410
  * @param {string} [path] Path filter (partial match)
64411
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64412
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64413
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
63980
64414
  * @param {number} [page] Page number (default: 1)
63981
64415
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
63982
64416
  * @param {*} [options] Override http request option.
63983
64417
  * @throws {RequiredError}
63984
64418
  */
63985
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
63986
- return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
64419
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
64420
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
63987
64421
  },
63988
64422
  /**
63989
64423
  * Retrieves the store configuration using x-store ID, including onboarding status validation
@@ -64202,14 +64636,17 @@ export class StoresApi extends BaseAPI {
64202
64636
  * @param {string} [endDate] End date (ISO 8601 format)
64203
64637
  * @param {string} [method] HTTP method filter
64204
64638
  * @param {string} [path] Path filter (partial match)
64639
+ * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64640
+ * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64641
+ * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64205
64642
  * @param {number} [page] Page number (default: 1)
64206
64643
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
64207
64644
  * @param {*} [options] Override http request option.
64208
64645
  * @throws {RequiredError}
64209
64646
  * @memberof StoresApi
64210
64647
  */
64211
- public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
64212
- return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
64648
+ public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
64649
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
64213
64650
  }
64214
64651
 
64215
64652
  /**