@seekora-ai/admin-api 1.1.50 → 1.1.51
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 +9 -4
- package/api.ts +508 -157
- package/dist/api.d.ts +335 -152
- package/dist/api.js +331 -26
- package/dist/esm/api.d.ts +335 -152
- package/dist/esm/api.js +331 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.51.tgz +0 -0
- package/seekora-ai-admin-api-1.1.50.tgz +0 -0
package/api.ts
CHANGED
|
@@ -6013,6 +6013,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
6013
6013
|
* @memberof DataTypesAdminSearchRequest
|
|
6014
6014
|
*/
|
|
6015
6015
|
'analytics_tags'?: Array<string>;
|
|
6016
|
+
/**
|
|
6017
|
+
* Anonymous/cookie ID for personalization
|
|
6018
|
+
* @type {string}
|
|
6019
|
+
* @memberof DataTypesAdminSearchRequest
|
|
6020
|
+
*/
|
|
6021
|
+
'anon_id'?: string;
|
|
6016
6022
|
/**
|
|
6017
6023
|
*
|
|
6018
6024
|
* @type {string}
|
|
@@ -6061,6 +6067,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
6061
6067
|
* @memberof DataTypesAdminSearchRequest
|
|
6062
6068
|
*/
|
|
6063
6069
|
'q': string;
|
|
6070
|
+
/**
|
|
6071
|
+
* Session ID for session-based personalization
|
|
6072
|
+
* @type {string}
|
|
6073
|
+
* @memberof DataTypesAdminSearchRequest
|
|
6074
|
+
*/
|
|
6075
|
+
'session_id'?: string;
|
|
6064
6076
|
/**
|
|
6065
6077
|
*
|
|
6066
6078
|
* @type {string}
|
|
@@ -6085,6 +6097,12 @@ export interface DataTypesAdminSearchRequest {
|
|
|
6085
6097
|
* @memberof DataTypesAdminSearchRequest
|
|
6086
6098
|
*/
|
|
6087
6099
|
'synonym_sets'?: Array<string>;
|
|
6100
|
+
/**
|
|
6101
|
+
* Personalization fields (optional, backward compatible)
|
|
6102
|
+
* @type {string}
|
|
6103
|
+
* @memberof DataTypesAdminSearchRequest
|
|
6104
|
+
*/
|
|
6105
|
+
'user_id'?: string;
|
|
6088
6106
|
/**
|
|
6089
6107
|
* If true, returns only display fields instead of full document (used in public API only)
|
|
6090
6108
|
* @type {boolean}
|
|
@@ -6867,6 +6885,12 @@ export interface DataTypesCompanyConfig {
|
|
|
6867
6885
|
* @memberof DataTypesCompanyConfig
|
|
6868
6886
|
*/
|
|
6869
6887
|
'billing_email'?: string;
|
|
6888
|
+
/**
|
|
6889
|
+
* Corporate Identification Number (e.g., \"U72900MH2016OPC286023\")
|
|
6890
|
+
* @type {string}
|
|
6891
|
+
* @memberof DataTypesCompanyConfig
|
|
6892
|
+
*/
|
|
6893
|
+
'cin'?: string;
|
|
6870
6894
|
/**
|
|
6871
6895
|
*
|
|
6872
6896
|
* @type {string}
|
|
@@ -6903,6 +6927,12 @@ export interface DataTypesCompanyConfig {
|
|
|
6903
6927
|
* @memberof DataTypesCompanyConfig
|
|
6904
6928
|
*/
|
|
6905
6929
|
'ifsc_code'?: string;
|
|
6930
|
+
/**
|
|
6931
|
+
* Legal business name (e.g., \"INVENTIVEPEAK IT SOLUTIONS PRIVATE LIMITED\")
|
|
6932
|
+
* @type {string}
|
|
6933
|
+
* @memberof DataTypesCompanyConfig
|
|
6934
|
+
*/
|
|
6935
|
+
'legal_name'?: string;
|
|
6906
6936
|
/**
|
|
6907
6937
|
*
|
|
6908
6938
|
* @type {string}
|
|
@@ -8674,6 +8704,67 @@ export interface DataTypesCreditsConsumedGraphResponse {
|
|
|
8674
8704
|
*/
|
|
8675
8705
|
'total_credits'?: number;
|
|
8676
8706
|
}
|
|
8707
|
+
/**
|
|
8708
|
+
*
|
|
8709
|
+
* @export
|
|
8710
|
+
* @interface DataTypesCurrentPlanInfo
|
|
8711
|
+
*/
|
|
8712
|
+
export interface DataTypesCurrentPlanInfo {
|
|
8713
|
+
/**
|
|
8714
|
+
*
|
|
8715
|
+
* @type {boolean}
|
|
8716
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8717
|
+
*/
|
|
8718
|
+
'auto_renewal'?: boolean;
|
|
8719
|
+
/**
|
|
8720
|
+
*
|
|
8721
|
+
* @type {string}
|
|
8722
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8723
|
+
*/
|
|
8724
|
+
'billing_cycle'?: string;
|
|
8725
|
+
/**
|
|
8726
|
+
*
|
|
8727
|
+
* @type {string}
|
|
8728
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8729
|
+
*/
|
|
8730
|
+
'end_date'?: string;
|
|
8731
|
+
/**
|
|
8732
|
+
*
|
|
8733
|
+
* @type {number}
|
|
8734
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8735
|
+
*/
|
|
8736
|
+
'plan_id'?: number;
|
|
8737
|
+
/**
|
|
8738
|
+
*
|
|
8739
|
+
* @type {string}
|
|
8740
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8741
|
+
*/
|
|
8742
|
+
'plan_name'?: string;
|
|
8743
|
+
/**
|
|
8744
|
+
*
|
|
8745
|
+
* @type {string}
|
|
8746
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8747
|
+
*/
|
|
8748
|
+
'plan_type'?: string;
|
|
8749
|
+
/**
|
|
8750
|
+
*
|
|
8751
|
+
* @type {string}
|
|
8752
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8753
|
+
*/
|
|
8754
|
+
'start_date'?: string;
|
|
8755
|
+
/**
|
|
8756
|
+
*
|
|
8757
|
+
* @type {string}
|
|
8758
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8759
|
+
*/
|
|
8760
|
+
'status'?: string;
|
|
8761
|
+
/**
|
|
8762
|
+
* Gateway subscription ID (Razorpay subscription ID)
|
|
8763
|
+
* @type {string}
|
|
8764
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
8765
|
+
*/
|
|
8766
|
+
'subscription_id'?: string;
|
|
8767
|
+
}
|
|
8677
8768
|
/**
|
|
8678
8769
|
*
|
|
8679
8770
|
* @export
|
|
@@ -10348,6 +10439,31 @@ export interface DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse {
|
|
|
10348
10439
|
*/
|
|
10349
10440
|
'status'?: number;
|
|
10350
10441
|
}
|
|
10442
|
+
/**
|
|
10443
|
+
*
|
|
10444
|
+
* @export
|
|
10445
|
+
* @interface DataTypesGenericResponseDataTypesCurrentPlanInfo
|
|
10446
|
+
*/
|
|
10447
|
+
export interface DataTypesGenericResponseDataTypesCurrentPlanInfo {
|
|
10448
|
+
/**
|
|
10449
|
+
*
|
|
10450
|
+
* @type {DataTypesCurrentPlanInfo}
|
|
10451
|
+
* @memberof DataTypesGenericResponseDataTypesCurrentPlanInfo
|
|
10452
|
+
*/
|
|
10453
|
+
'data'?: DataTypesCurrentPlanInfo;
|
|
10454
|
+
/**
|
|
10455
|
+
*
|
|
10456
|
+
* @type {string}
|
|
10457
|
+
* @memberof DataTypesGenericResponseDataTypesCurrentPlanInfo
|
|
10458
|
+
*/
|
|
10459
|
+
'message'?: string;
|
|
10460
|
+
/**
|
|
10461
|
+
*
|
|
10462
|
+
* @type {number}
|
|
10463
|
+
* @memberof DataTypesGenericResponseDataTypesCurrentPlanInfo
|
|
10464
|
+
*/
|
|
10465
|
+
'status'?: number;
|
|
10466
|
+
}
|
|
10351
10467
|
/**
|
|
10352
10468
|
*
|
|
10353
10469
|
* @export
|
|
@@ -10623,6 +10739,31 @@ export interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
|
10623
10739
|
*/
|
|
10624
10740
|
'status'?: number;
|
|
10625
10741
|
}
|
|
10742
|
+
/**
|
|
10743
|
+
*
|
|
10744
|
+
* @export
|
|
10745
|
+
* @interface DataTypesGenericResponseDataTypesRolePermissionsResponse
|
|
10746
|
+
*/
|
|
10747
|
+
export interface DataTypesGenericResponseDataTypesRolePermissionsResponse {
|
|
10748
|
+
/**
|
|
10749
|
+
*
|
|
10750
|
+
* @type {DataTypesRolePermissionsResponse}
|
|
10751
|
+
* @memberof DataTypesGenericResponseDataTypesRolePermissionsResponse
|
|
10752
|
+
*/
|
|
10753
|
+
'data'?: DataTypesRolePermissionsResponse;
|
|
10754
|
+
/**
|
|
10755
|
+
*
|
|
10756
|
+
* @type {string}
|
|
10757
|
+
* @memberof DataTypesGenericResponseDataTypesRolePermissionsResponse
|
|
10758
|
+
*/
|
|
10759
|
+
'message'?: string;
|
|
10760
|
+
/**
|
|
10761
|
+
*
|
|
10762
|
+
* @type {number}
|
|
10763
|
+
* @memberof DataTypesGenericResponseDataTypesRolePermissionsResponse
|
|
10764
|
+
*/
|
|
10765
|
+
'status'?: number;
|
|
10766
|
+
}
|
|
10626
10767
|
/**
|
|
10627
10768
|
*
|
|
10628
10769
|
* @export
|
|
@@ -11759,7 +11900,7 @@ export interface DataTypesInviteMemberRequest {
|
|
|
11759
11900
|
*/
|
|
11760
11901
|
'member_role'?: any;
|
|
11761
11902
|
/**
|
|
11762
|
-
* Whether to send invitation email
|
|
11903
|
+
* Whether to send invitation email (defaults to true if not specified)
|
|
11763
11904
|
* @type {boolean}
|
|
11764
11905
|
* @memberof DataTypesInviteMemberRequest
|
|
11765
11906
|
*/
|
|
@@ -16973,6 +17114,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
16973
17114
|
* @memberof DataTypesPublicSearchRequest
|
|
16974
17115
|
*/
|
|
16975
17116
|
'analytics_tags'?: Array<string>;
|
|
17117
|
+
/**
|
|
17118
|
+
* Anonymous/cookie ID for personalization
|
|
17119
|
+
* @type {string}
|
|
17120
|
+
* @memberof DataTypesPublicSearchRequest
|
|
17121
|
+
*/
|
|
17122
|
+
'anon_id'?: string;
|
|
16976
17123
|
/**
|
|
16977
17124
|
*
|
|
16978
17125
|
* @type {string}
|
|
@@ -17015,6 +17162,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
17015
17162
|
* @memberof DataTypesPublicSearchRequest
|
|
17016
17163
|
*/
|
|
17017
17164
|
'q': string;
|
|
17165
|
+
/**
|
|
17166
|
+
* Session ID for session-based personalization
|
|
17167
|
+
* @type {string}
|
|
17168
|
+
* @memberof DataTypesPublicSearchRequest
|
|
17169
|
+
*/
|
|
17170
|
+
'session_id'?: string;
|
|
17018
17171
|
/**
|
|
17019
17172
|
*
|
|
17020
17173
|
* @type {string}
|
|
@@ -17039,6 +17192,12 @@ export interface DataTypesPublicSearchRequest {
|
|
|
17039
17192
|
* @memberof DataTypesPublicSearchRequest
|
|
17040
17193
|
*/
|
|
17041
17194
|
'synonym_sets'?: Array<string>;
|
|
17195
|
+
/**
|
|
17196
|
+
* Personalization fields (optional, backward compatible)
|
|
17197
|
+
* @type {string}
|
|
17198
|
+
* @memberof DataTypesPublicSearchRequest
|
|
17199
|
+
*/
|
|
17200
|
+
'user_id'?: string;
|
|
17042
17201
|
/**
|
|
17043
17202
|
* If true, returns only display fields instead of full document (used in public API only)
|
|
17044
17203
|
* @type {boolean}
|
|
@@ -22359,55 +22518,6 @@ export interface DataTypesUserCustomPermissionsRequest {
|
|
|
22359
22518
|
*/
|
|
22360
22519
|
'useCustomPermissions': boolean;
|
|
22361
22520
|
}
|
|
22362
|
-
/**
|
|
22363
|
-
*
|
|
22364
|
-
* @export
|
|
22365
|
-
* @interface DataTypesUserCustomPermissionsResponse
|
|
22366
|
-
*/
|
|
22367
|
-
export interface DataTypesUserCustomPermissionsResponse {
|
|
22368
|
-
/**
|
|
22369
|
-
* Regular role ID if not using custom
|
|
22370
|
-
* @type {number}
|
|
22371
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22372
|
-
*/
|
|
22373
|
-
'roleId'?: number;
|
|
22374
|
-
/**
|
|
22375
|
-
*
|
|
22376
|
-
* @type {string}
|
|
22377
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22378
|
-
*/
|
|
22379
|
-
'roleName'?: string;
|
|
22380
|
-
/**
|
|
22381
|
-
* Route-level permissions
|
|
22382
|
-
* @type {Array<DataTypesRoleRight>}
|
|
22383
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22384
|
-
*/
|
|
22385
|
-
'roleRights'?: Array<DataTypesRoleRight>;
|
|
22386
|
-
/**
|
|
22387
|
-
* Store-level permissions
|
|
22388
|
-
* @type {Array<DataTypesUserStoreAccessWithPermissions>}
|
|
22389
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22390
|
-
*/
|
|
22391
|
-
'storeAccess'?: Array<DataTypesUserStoreAccessWithPermissions>;
|
|
22392
|
-
/**
|
|
22393
|
-
*
|
|
22394
|
-
* @type {boolean}
|
|
22395
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22396
|
-
*/
|
|
22397
|
-
'useCustomPermissions'?: boolean;
|
|
22398
|
-
/**
|
|
22399
|
-
*
|
|
22400
|
-
* @type {number}
|
|
22401
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22402
|
-
*/
|
|
22403
|
-
'userId'?: number;
|
|
22404
|
-
/**
|
|
22405
|
-
* User-specific role ID if using custom
|
|
22406
|
-
* @type {number}
|
|
22407
|
-
* @memberof DataTypesUserCustomPermissionsResponse
|
|
22408
|
-
*/
|
|
22409
|
-
'userSpecificRoleId'?: number;
|
|
22410
|
-
}
|
|
22411
22521
|
/**
|
|
22412
22522
|
*
|
|
22413
22523
|
* @export
|
|
@@ -22597,85 +22707,6 @@ export interface DataTypesUserStoreAccess {
|
|
|
22597
22707
|
*/
|
|
22598
22708
|
'x_store_id'?: string;
|
|
22599
22709
|
}
|
|
22600
|
-
/**
|
|
22601
|
-
*
|
|
22602
|
-
* @export
|
|
22603
|
-
* @interface DataTypesUserStoreAccessWithPermissions
|
|
22604
|
-
*/
|
|
22605
|
-
export interface DataTypesUserStoreAccessWithPermissions {
|
|
22606
|
-
/**
|
|
22607
|
-
*
|
|
22608
|
-
* @type {string}
|
|
22609
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22610
|
-
*/
|
|
22611
|
-
'access_level'?: string;
|
|
22612
|
-
/**
|
|
22613
|
-
*
|
|
22614
|
-
* @type {boolean}
|
|
22615
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22616
|
-
*/
|
|
22617
|
-
'can_add'?: boolean;
|
|
22618
|
-
/**
|
|
22619
|
-
*
|
|
22620
|
-
* @type {boolean}
|
|
22621
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22622
|
-
*/
|
|
22623
|
-
'can_approve'?: boolean;
|
|
22624
|
-
/**
|
|
22625
|
-
*
|
|
22626
|
-
* @type {boolean}
|
|
22627
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22628
|
-
*/
|
|
22629
|
-
'can_delete'?: boolean;
|
|
22630
|
-
/**
|
|
22631
|
-
*
|
|
22632
|
-
* @type {boolean}
|
|
22633
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22634
|
-
*/
|
|
22635
|
-
'can_modify'?: boolean;
|
|
22636
|
-
/**
|
|
22637
|
-
*
|
|
22638
|
-
* @type {boolean}
|
|
22639
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22640
|
-
*/
|
|
22641
|
-
'can_view'?: boolean;
|
|
22642
|
-
/**
|
|
22643
|
-
*
|
|
22644
|
-
* @type {boolean}
|
|
22645
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22646
|
-
*/
|
|
22647
|
-
'full_access'?: boolean;
|
|
22648
|
-
/**
|
|
22649
|
-
*
|
|
22650
|
-
* @type {number}
|
|
22651
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22652
|
-
*/
|
|
22653
|
-
'org_id'?: number;
|
|
22654
|
-
/**
|
|
22655
|
-
*
|
|
22656
|
-
* @type {string}
|
|
22657
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22658
|
-
*/
|
|
22659
|
-
'org_name'?: string;
|
|
22660
|
-
/**
|
|
22661
|
-
*
|
|
22662
|
-
* @type {number}
|
|
22663
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22664
|
-
*/
|
|
22665
|
-
'store_id'?: number;
|
|
22666
|
-
/**
|
|
22667
|
-
*
|
|
22668
|
-
* @type {string}
|
|
22669
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22670
|
-
*/
|
|
22671
|
-
'store_name'?: string;
|
|
22672
|
-
/**
|
|
22673
|
-
*
|
|
22674
|
-
* @type {string}
|
|
22675
|
-
* @memberof DataTypesUserStoreAccessWithPermissions
|
|
22676
|
-
*/
|
|
22677
|
-
'x_store_id'?: string;
|
|
22678
|
-
}
|
|
22679
22710
|
/**
|
|
22680
22711
|
*
|
|
22681
22712
|
* @export
|
|
@@ -35696,6 +35727,39 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
35696
35727
|
*/
|
|
35697
35728
|
export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35698
35729
|
return {
|
|
35730
|
+
/**
|
|
35731
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
35732
|
+
* @summary Get current active plan details
|
|
35733
|
+
* @param {*} [options] Override http request option.
|
|
35734
|
+
* @throws {RequiredError}
|
|
35735
|
+
*/
|
|
35736
|
+
adminBillingActivePlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35737
|
+
const localVarPath = `/admin/billing/active-plan`;
|
|
35738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35739
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35740
|
+
let baseOptions;
|
|
35741
|
+
if (configuration) {
|
|
35742
|
+
baseOptions = configuration.baseOptions;
|
|
35743
|
+
}
|
|
35744
|
+
|
|
35745
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35746
|
+
const localVarHeaderParameter = {} as any;
|
|
35747
|
+
const localVarQueryParameter = {} as any;
|
|
35748
|
+
|
|
35749
|
+
// authentication BearerAuth required
|
|
35750
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35751
|
+
|
|
35752
|
+
|
|
35753
|
+
|
|
35754
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35755
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35756
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35757
|
+
|
|
35758
|
+
return {
|
|
35759
|
+
url: toPathString(localVarUrlObj),
|
|
35760
|
+
options: localVarRequestOptions,
|
|
35761
|
+
};
|
|
35762
|
+
},
|
|
35699
35763
|
/**
|
|
35700
35764
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
35701
35765
|
* @summary Get billing alerts
|
|
@@ -37301,6 +37365,18 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
37301
37365
|
export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
37302
37366
|
const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
|
|
37303
37367
|
return {
|
|
37368
|
+
/**
|
|
37369
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
37370
|
+
* @summary Get current active plan details
|
|
37371
|
+
* @param {*} [options] Override http request option.
|
|
37372
|
+
* @throws {RequiredError}
|
|
37373
|
+
*/
|
|
37374
|
+
async adminBillingActivePlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo>> {
|
|
37375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingActivePlanGet(options);
|
|
37376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37377
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingActivePlanGet']?.[localVarOperationServerIndex]?.url;
|
|
37378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37379
|
+
},
|
|
37304
37380
|
/**
|
|
37305
37381
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
37306
37382
|
* @summary Get billing alerts
|
|
@@ -37805,6 +37881,15 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
37805
37881
|
export const BillingDashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37806
37882
|
const localVarFp = BillingDashboardApiFp(configuration)
|
|
37807
37883
|
return {
|
|
37884
|
+
/**
|
|
37885
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
37886
|
+
* @summary Get current active plan details
|
|
37887
|
+
* @param {*} [options] Override http request option.
|
|
37888
|
+
* @throws {RequiredError}
|
|
37889
|
+
*/
|
|
37890
|
+
adminBillingActivePlanGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo> {
|
|
37891
|
+
return localVarFp.adminBillingActivePlanGet(options).then((request) => request(axios, basePath));
|
|
37892
|
+
},
|
|
37808
37893
|
/**
|
|
37809
37894
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
37810
37895
|
* @summary Get billing alerts
|
|
@@ -38213,6 +38298,17 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
38213
38298
|
* @extends {BaseAPI}
|
|
38214
38299
|
*/
|
|
38215
38300
|
export class BillingDashboardApi extends BaseAPI {
|
|
38301
|
+
/**
|
|
38302
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
38303
|
+
* @summary Get current active plan details
|
|
38304
|
+
* @param {*} [options] Override http request option.
|
|
38305
|
+
* @throws {RequiredError}
|
|
38306
|
+
* @memberof BillingDashboardApi
|
|
38307
|
+
*/
|
|
38308
|
+
public adminBillingActivePlanGet(options?: RawAxiosRequestConfig) {
|
|
38309
|
+
return BillingDashboardApiFp(this.configuration).adminBillingActivePlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
38310
|
+
}
|
|
38311
|
+
|
|
38216
38312
|
/**
|
|
38217
38313
|
* Retrieves paginated billing alerts with store filtering and full-text search across: alert ID, alert name, alert type, threshold values, units, org/store name, created by name, emails, and JSON fields.
|
|
38218
38314
|
* @summary Get billing alerts
|
|
@@ -48130,6 +48226,43 @@ export class NotificationPreferencesApi extends BaseAPI {
|
|
|
48130
48226
|
*/
|
|
48131
48227
|
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48132
48228
|
return {
|
|
48229
|
+
/**
|
|
48230
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48231
|
+
* @summary Republish notification to RabbitMQ
|
|
48232
|
+
* @param {number} id Notification ID
|
|
48233
|
+
* @param {*} [options] Override http request option.
|
|
48234
|
+
* @throws {RequiredError}
|
|
48235
|
+
*/
|
|
48236
|
+
v1AdminNotificationsIdRepublishPost: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48237
|
+
// verify required parameter 'id' is not null or undefined
|
|
48238
|
+
assertParamExists('v1AdminNotificationsIdRepublishPost', 'id', id)
|
|
48239
|
+
const localVarPath = `/v1/admin/notifications/{id}/republish`
|
|
48240
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
48241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48242
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48243
|
+
let baseOptions;
|
|
48244
|
+
if (configuration) {
|
|
48245
|
+
baseOptions = configuration.baseOptions;
|
|
48246
|
+
}
|
|
48247
|
+
|
|
48248
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
48249
|
+
const localVarHeaderParameter = {} as any;
|
|
48250
|
+
const localVarQueryParameter = {} as any;
|
|
48251
|
+
|
|
48252
|
+
// authentication BearerAuth required
|
|
48253
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
48254
|
+
|
|
48255
|
+
|
|
48256
|
+
|
|
48257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48259
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48260
|
+
|
|
48261
|
+
return {
|
|
48262
|
+
url: toPathString(localVarUrlObj),
|
|
48263
|
+
options: localVarRequestOptions,
|
|
48264
|
+
};
|
|
48265
|
+
},
|
|
48133
48266
|
/**
|
|
48134
48267
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48135
48268
|
* @summary Get user notifications
|
|
@@ -48400,6 +48533,19 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
48400
48533
|
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
48401
48534
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
48402
48535
|
return {
|
|
48536
|
+
/**
|
|
48537
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48538
|
+
* @summary Republish notification to RabbitMQ
|
|
48539
|
+
* @param {number} id Notification ID
|
|
48540
|
+
* @param {*} [options] Override http request option.
|
|
48541
|
+
* @throws {RequiredError}
|
|
48542
|
+
*/
|
|
48543
|
+
async v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
48544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AdminNotificationsIdRepublishPost(id, options);
|
|
48545
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48546
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.v1AdminNotificationsIdRepublishPost']?.[localVarOperationServerIndex]?.url;
|
|
48547
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48548
|
+
},
|
|
48403
48549
|
/**
|
|
48404
48550
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48405
48551
|
* @summary Get user notifications
|
|
@@ -48495,6 +48641,16 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
48495
48641
|
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
48496
48642
|
const localVarFp = NotificationsApiFp(configuration)
|
|
48497
48643
|
return {
|
|
48644
|
+
/**
|
|
48645
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48646
|
+
* @summary Republish notification to RabbitMQ
|
|
48647
|
+
* @param {number} id Notification ID
|
|
48648
|
+
* @param {*} [options] Override http request option.
|
|
48649
|
+
* @throws {RequiredError}
|
|
48650
|
+
*/
|
|
48651
|
+
v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
48652
|
+
return localVarFp.v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(axios, basePath));
|
|
48653
|
+
},
|
|
48498
48654
|
/**
|
|
48499
48655
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48500
48656
|
* @summary Get user notifications
|
|
@@ -48572,6 +48728,18 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
48572
48728
|
* @extends {BaseAPI}
|
|
48573
48729
|
*/
|
|
48574
48730
|
export class NotificationsApi extends BaseAPI {
|
|
48731
|
+
/**
|
|
48732
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48733
|
+
* @summary Republish notification to RabbitMQ
|
|
48734
|
+
* @param {number} id Notification ID
|
|
48735
|
+
* @param {*} [options] Override http request option.
|
|
48736
|
+
* @throws {RequiredError}
|
|
48737
|
+
* @memberof NotificationsApi
|
|
48738
|
+
*/
|
|
48739
|
+
public v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig) {
|
|
48740
|
+
return NotificationsApiFp(this.configuration).v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(this.axios, this.basePath));
|
|
48741
|
+
}
|
|
48742
|
+
|
|
48575
48743
|
/**
|
|
48576
48744
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48577
48745
|
* @summary Get user notifications
|
|
@@ -53182,10 +53350,13 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53182
53350
|
};
|
|
53183
53351
|
},
|
|
53184
53352
|
/**
|
|
53185
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
53353
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
53186
53354
|
* @summary Get Query Suggestions
|
|
53187
53355
|
* @param {string} xStoreid Store ID
|
|
53188
53356
|
* @param {string} xStoresecret Store Secret
|
|
53357
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53358
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53359
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53189
53360
|
* @param {string} [query] Partial query to get suggestions for
|
|
53190
53361
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53191
53362
|
* @param {number} [page] Page number for pagination
|
|
@@ -53201,7 +53372,7 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53201
53372
|
* @param {*} [options] Override http request option.
|
|
53202
53373
|
* @throws {RequiredError}
|
|
53203
53374
|
*/
|
|
53204
|
-
v1SuggestionsQueriesGet: async (xStoreid: string, xStoresecret: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53375
|
+
v1SuggestionsQueriesGet: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53205
53376
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
53206
53377
|
assertParamExists('v1SuggestionsQueriesGet', 'xStoreid', xStoreid)
|
|
53207
53378
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -53274,6 +53445,15 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53274
53445
|
if (xStoresecret != null) {
|
|
53275
53446
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
53276
53447
|
}
|
|
53448
|
+
if (xUserId != null) {
|
|
53449
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
53450
|
+
}
|
|
53451
|
+
if (xAnonId != null) {
|
|
53452
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
53453
|
+
}
|
|
53454
|
+
if (xSessionId != null) {
|
|
53455
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
53456
|
+
}
|
|
53277
53457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53278
53458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53279
53459
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -53308,10 +53488,13 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
53308
53488
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53309
53489
|
},
|
|
53310
53490
|
/**
|
|
53311
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
53491
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
53312
53492
|
* @summary Get Query Suggestions
|
|
53313
53493
|
* @param {string} xStoreid Store ID
|
|
53314
53494
|
* @param {string} xStoresecret Store Secret
|
|
53495
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53496
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53497
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53315
53498
|
* @param {string} [query] Partial query to get suggestions for
|
|
53316
53499
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53317
53500
|
* @param {number} [page] Page number for pagination
|
|
@@ -53327,8 +53510,8 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
53327
53510
|
* @param {*} [options] Override http request option.
|
|
53328
53511
|
* @throws {RequiredError}
|
|
53329
53512
|
*/
|
|
53330
|
-
async v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>> {
|
|
53331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
53513
|
+
async v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>> {
|
|
53514
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
53332
53515
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53333
53516
|
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
|
|
53334
53517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -53355,10 +53538,13 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
53355
53538
|
return localVarFp.v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
53356
53539
|
},
|
|
53357
53540
|
/**
|
|
53358
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
53541
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
53359
53542
|
* @summary Get Query Suggestions
|
|
53360
53543
|
* @param {string} xStoreid Store ID
|
|
53361
53544
|
* @param {string} xStoresecret Store Secret
|
|
53545
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53546
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53547
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53362
53548
|
* @param {string} [query] Partial query to get suggestions for
|
|
53363
53549
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53364
53550
|
* @param {number} [page] Page number for pagination
|
|
@@ -53374,8 +53560,8 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
53374
53560
|
* @param {*} [options] Override http request option.
|
|
53375
53561
|
* @throws {RequiredError}
|
|
53376
53562
|
*/
|
|
53377
|
-
v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
53378
|
-
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
53563
|
+
v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
53564
|
+
return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(axios, basePath));
|
|
53379
53565
|
},
|
|
53380
53566
|
};
|
|
53381
53567
|
};
|
|
@@ -53401,10 +53587,13 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
53401
53587
|
}
|
|
53402
53588
|
|
|
53403
53589
|
/**
|
|
53404
|
-
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges.
|
|
53590
|
+
* Retrieve query suggestions based on search analytics data with popularity ranking and optional category/facet enrichment. Supports partial query matching, analytics tags filtering, and configurable time ranges. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
53405
53591
|
* @summary Get Query Suggestions
|
|
53406
53592
|
* @param {string} xStoreid Store ID
|
|
53407
53593
|
* @param {string} xStoresecret Store Secret
|
|
53594
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53595
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53596
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53408
53597
|
* @param {string} [query] Partial query to get suggestions for
|
|
53409
53598
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53410
53599
|
* @param {number} [page] Page number for pagination
|
|
@@ -53421,8 +53610,8 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
53421
53610
|
* @throws {RequiredError}
|
|
53422
53611
|
* @memberof QuerySuggestionsApi
|
|
53423
53612
|
*/
|
|
53424
|
-
public v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig) {
|
|
53425
|
-
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(this.axios, this.basePath));
|
|
53613
|
+
public v1SuggestionsQueriesGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, query?: string, hitsPerPage?: number, page?: number, analyticsTags?: string, tagsMatchMode?: V1SuggestionsQueriesGetTagsMatchModeEnum, includeCategories?: boolean, includeFacets?: boolean, maxCategories?: number, maxFacets?: number, minPopularity?: number, timeRange?: V1SuggestionsQueriesGetTimeRangeEnum, disableTypoTolerance?: boolean, options?: RawAxiosRequestConfig) {
|
|
53614
|
+
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options).then((request) => request(this.axios, this.basePath));
|
|
53426
53615
|
}
|
|
53427
53616
|
}
|
|
53428
53617
|
|
|
@@ -59532,15 +59721,18 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
59532
59721
|
};
|
|
59533
59722
|
},
|
|
59534
59723
|
/**
|
|
59535
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59724
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
59536
59725
|
* @summary Public Search API
|
|
59537
59726
|
* @param {string} xStoreid Store ID
|
|
59538
59727
|
* @param {string} xStoresecret Store Secret
|
|
59539
59728
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59729
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59730
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59731
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59540
59732
|
* @param {*} [options] Override http request option.
|
|
59541
59733
|
* @throws {RequiredError}
|
|
59542
59734
|
*/
|
|
59543
|
-
v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59735
|
+
v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59544
59736
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
59545
59737
|
assertParamExists('v1SearchPost', 'xStoreid', xStoreid)
|
|
59546
59738
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -59569,6 +59761,15 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
59569
59761
|
if (xStoresecret != null) {
|
|
59570
59762
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
59571
59763
|
}
|
|
59764
|
+
if (xUserId != null) {
|
|
59765
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
59766
|
+
}
|
|
59767
|
+
if (xAnonId != null) {
|
|
59768
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
59769
|
+
}
|
|
59770
|
+
if (xSessionId != null) {
|
|
59771
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
59772
|
+
}
|
|
59572
59773
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59573
59774
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59574
59775
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -59672,16 +59873,19 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
59672
59873
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59673
59874
|
},
|
|
59674
59875
|
/**
|
|
59675
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59876
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
59676
59877
|
* @summary Public Search API
|
|
59677
59878
|
* @param {string} xStoreid Store ID
|
|
59678
59879
|
* @param {string} xStoresecret Store Secret
|
|
59679
59880
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59881
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59882
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59883
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59680
59884
|
* @param {*} [options] Override http request option.
|
|
59681
59885
|
* @throws {RequiredError}
|
|
59682
59886
|
*/
|
|
59683
|
-
async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>> {
|
|
59684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
|
|
59887
|
+
async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>> {
|
|
59888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
59685
59889
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59686
59890
|
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchPost']?.[localVarOperationServerIndex]?.url;
|
|
59687
59891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -59761,16 +59965,19 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
59761
59965
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
59762
59966
|
},
|
|
59763
59967
|
/**
|
|
59764
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59968
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
59765
59969
|
* @summary Public Search API
|
|
59766
59970
|
* @param {string} xStoreid Store ID
|
|
59767
59971
|
* @param {string} xStoresecret Store Secret
|
|
59768
59972
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59973
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59974
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59975
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59769
59976
|
* @param {*} [options] Override http request option.
|
|
59770
59977
|
* @throws {RequiredError}
|
|
59771
59978
|
*/
|
|
59772
|
-
v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper> {
|
|
59773
|
-
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
|
|
59979
|
+
v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper> {
|
|
59980
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
59774
59981
|
},
|
|
59775
59982
|
};
|
|
59776
59983
|
};
|
|
@@ -59859,17 +60066,20 @@ export class SearchApi extends BaseAPI {
|
|
|
59859
60066
|
}
|
|
59860
60067
|
|
|
59861
60068
|
/**
|
|
59862
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
60069
|
+
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
59863
60070
|
* @summary Public Search API
|
|
59864
60071
|
* @param {string} xStoreid Store ID
|
|
59865
60072
|
* @param {string} xStoresecret Store Secret
|
|
59866
60073
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
60074
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
60075
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
60076
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59867
60077
|
* @param {*} [options] Override http request option.
|
|
59868
60078
|
* @throws {RequiredError}
|
|
59869
60079
|
* @memberof SearchApi
|
|
59870
60080
|
*/
|
|
59871
|
-
public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, options?: RawAxiosRequestConfig) {
|
|
59872
|
-
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
60081
|
+
public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig) {
|
|
60082
|
+
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
59873
60083
|
}
|
|
59874
60084
|
}
|
|
59875
60085
|
|
|
@@ -64210,6 +64420,43 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
64210
64420
|
options: localVarRequestOptions,
|
|
64211
64421
|
};
|
|
64212
64422
|
},
|
|
64423
|
+
/**
|
|
64424
|
+
* Resends the invitation email for an existing pending invitation
|
|
64425
|
+
* @summary Resend invitation email
|
|
64426
|
+
* @param {number} invitationId Invitation ID
|
|
64427
|
+
* @param {*} [options] Override http request option.
|
|
64428
|
+
* @throws {RequiredError}
|
|
64429
|
+
*/
|
|
64430
|
+
v1InvitationsInvitationIdResendPost: async (invitationId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64431
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
64432
|
+
assertParamExists('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId)
|
|
64433
|
+
const localVarPath = `/v1/invitations/{invitationId}/resend`
|
|
64434
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
64435
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64436
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64437
|
+
let baseOptions;
|
|
64438
|
+
if (configuration) {
|
|
64439
|
+
baseOptions = configuration.baseOptions;
|
|
64440
|
+
}
|
|
64441
|
+
|
|
64442
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64443
|
+
const localVarHeaderParameter = {} as any;
|
|
64444
|
+
const localVarQueryParameter = {} as any;
|
|
64445
|
+
|
|
64446
|
+
// authentication BearerAuth required
|
|
64447
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
64448
|
+
|
|
64449
|
+
|
|
64450
|
+
|
|
64451
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64452
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64453
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64454
|
+
|
|
64455
|
+
return {
|
|
64456
|
+
url: toPathString(localVarUrlObj),
|
|
64457
|
+
options: localVarRequestOptions,
|
|
64458
|
+
};
|
|
64459
|
+
},
|
|
64213
64460
|
/**
|
|
64214
64461
|
* Accepts a team invitation using token
|
|
64215
64462
|
* @summary Accept invitation
|
|
@@ -64312,6 +64559,40 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
64312
64559
|
|
|
64313
64560
|
|
|
64314
64561
|
|
|
64562
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64563
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64564
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64565
|
+
|
|
64566
|
+
return {
|
|
64567
|
+
url: toPathString(localVarUrlObj),
|
|
64568
|
+
options: localVarRequestOptions,
|
|
64569
|
+
};
|
|
64570
|
+
},
|
|
64571
|
+
/**
|
|
64572
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
64573
|
+
* @summary Resend invitation email by token (public)
|
|
64574
|
+
* @param {string} token Invitation Token
|
|
64575
|
+
* @param {*} [options] Override http request option.
|
|
64576
|
+
* @throws {RequiredError}
|
|
64577
|
+
*/
|
|
64578
|
+
v1InvitationsTokenResendPost: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64579
|
+
// verify required parameter 'token' is not null or undefined
|
|
64580
|
+
assertParamExists('v1InvitationsTokenResendPost', 'token', token)
|
|
64581
|
+
const localVarPath = `/v1/invitations/{token}/resend`
|
|
64582
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
64583
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64584
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64585
|
+
let baseOptions;
|
|
64586
|
+
if (configuration) {
|
|
64587
|
+
baseOptions = configuration.baseOptions;
|
|
64588
|
+
}
|
|
64589
|
+
|
|
64590
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64591
|
+
const localVarHeaderParameter = {} as any;
|
|
64592
|
+
const localVarQueryParameter = {} as any;
|
|
64593
|
+
|
|
64594
|
+
|
|
64595
|
+
|
|
64315
64596
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64316
64597
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64317
64598
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -64775,6 +65056,19 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
64775
65056
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdPermissionsRolePut']?.[localVarOperationServerIndex]?.url;
|
|
64776
65057
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64777
65058
|
},
|
|
65059
|
+
/**
|
|
65060
|
+
* Resends the invitation email for an existing pending invitation
|
|
65061
|
+
* @summary Resend invitation email
|
|
65062
|
+
* @param {number} invitationId Invitation ID
|
|
65063
|
+
* @param {*} [options] Override http request option.
|
|
65064
|
+
* @throws {RequiredError}
|
|
65065
|
+
*/
|
|
65066
|
+
async v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
65067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
|
|
65068
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65069
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']?.[localVarOperationServerIndex]?.url;
|
|
65070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65071
|
+
},
|
|
64778
65072
|
/**
|
|
64779
65073
|
* Accepts a team invitation using token
|
|
64780
65074
|
* @summary Accept invitation
|
|
@@ -64815,6 +65109,19 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
64815
65109
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenGet']?.[localVarOperationServerIndex]?.url;
|
|
64816
65110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64817
65111
|
},
|
|
65112
|
+
/**
|
|
65113
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65114
|
+
* @summary Resend invitation email by token (public)
|
|
65115
|
+
* @param {string} token Invitation Token
|
|
65116
|
+
* @param {*} [options] Override http request option.
|
|
65117
|
+
* @throws {RequiredError}
|
|
65118
|
+
*/
|
|
65119
|
+
async v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
65120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsTokenResendPost(token, options);
|
|
65121
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65122
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenResendPost']?.[localVarOperationServerIndex]?.url;
|
|
65123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65124
|
+
},
|
|
64818
65125
|
/**
|
|
64819
65126
|
* Retrieves all users with access to a store
|
|
64820
65127
|
* @summary Get store access list
|
|
@@ -65000,6 +65307,16 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
65000
65307
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId: number, dataTypesUpdateInvitationRolePermissionsRequest: DataTypesUpdateInvitationRolePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65001
65308
|
return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
65002
65309
|
},
|
|
65310
|
+
/**
|
|
65311
|
+
* Resends the invitation email for an existing pending invitation
|
|
65312
|
+
* @summary Resend invitation email
|
|
65313
|
+
* @param {number} invitationId Invitation ID
|
|
65314
|
+
* @param {*} [options] Override http request option.
|
|
65315
|
+
* @throws {RequiredError}
|
|
65316
|
+
*/
|
|
65317
|
+
v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65318
|
+
return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
65319
|
+
},
|
|
65003
65320
|
/**
|
|
65004
65321
|
* Accepts a team invitation using token
|
|
65005
65322
|
* @summary Accept invitation
|
|
@@ -65031,6 +65348,16 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
65031
65348
|
v1InvitationsTokenGet(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesInvitationDetailsResponse> {
|
|
65032
65349
|
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
65033
65350
|
},
|
|
65351
|
+
/**
|
|
65352
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65353
|
+
* @summary Resend invitation email by token (public)
|
|
65354
|
+
* @param {string} token Invitation Token
|
|
65355
|
+
* @param {*} [options] Override http request option.
|
|
65356
|
+
* @throws {RequiredError}
|
|
65357
|
+
*/
|
|
65358
|
+
v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65359
|
+
return localVarFp.v1InvitationsTokenResendPost(token, options).then((request) => request(axios, basePath));
|
|
65360
|
+
},
|
|
65034
65361
|
/**
|
|
65035
65362
|
* Retrieves all users with access to a store
|
|
65036
65363
|
* @summary Get store access list
|
|
@@ -65194,6 +65521,18 @@ export class TeamApi extends BaseAPI {
|
|
|
65194
65521
|
return TeamApiFp(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65195
65522
|
}
|
|
65196
65523
|
|
|
65524
|
+
/**
|
|
65525
|
+
* Resends the invitation email for an existing pending invitation
|
|
65526
|
+
* @summary Resend invitation email
|
|
65527
|
+
* @param {number} invitationId Invitation ID
|
|
65528
|
+
* @param {*} [options] Override http request option.
|
|
65529
|
+
* @throws {RequiredError}
|
|
65530
|
+
* @memberof TeamApi
|
|
65531
|
+
*/
|
|
65532
|
+
public v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig) {
|
|
65533
|
+
return TeamApiFp(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
65534
|
+
}
|
|
65535
|
+
|
|
65197
65536
|
/**
|
|
65198
65537
|
* Accepts a team invitation using token
|
|
65199
65538
|
* @summary Accept invitation
|
|
@@ -65231,6 +65570,18 @@ export class TeamApi extends BaseAPI {
|
|
|
65231
65570
|
return TeamApiFp(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
65232
65571
|
}
|
|
65233
65572
|
|
|
65573
|
+
/**
|
|
65574
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65575
|
+
* @summary Resend invitation email by token (public)
|
|
65576
|
+
* @param {string} token Invitation Token
|
|
65577
|
+
* @param {*} [options] Override http request option.
|
|
65578
|
+
* @throws {RequiredError}
|
|
65579
|
+
* @memberof TeamApi
|
|
65580
|
+
*/
|
|
65581
|
+
public v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig) {
|
|
65582
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenResendPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
65583
|
+
}
|
|
65584
|
+
|
|
65234
65585
|
/**
|
|
65235
65586
|
* Retrieves all users with access to a store
|
|
65236
65587
|
* @summary Get store access list
|
|
@@ -65631,7 +65982,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
65631
65982
|
};
|
|
65632
65983
|
},
|
|
65633
65984
|
/**
|
|
65634
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
65985
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
65635
65986
|
* @summary Get user\'s custom permissions
|
|
65636
65987
|
* @param {number} userId User ID
|
|
65637
65988
|
* @param {*} [options] Override http request option.
|
|
@@ -65936,13 +66287,13 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
65936
66287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65937
66288
|
},
|
|
65938
66289
|
/**
|
|
65939
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66290
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
65940
66291
|
* @summary Get user\'s custom permissions
|
|
65941
66292
|
* @param {number} userId User ID
|
|
65942
66293
|
* @param {*} [options] Override http request option.
|
|
65943
66294
|
* @throws {RequiredError}
|
|
65944
66295
|
*/
|
|
65945
|
-
async adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
66296
|
+
async adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRolePermissionsResponse>> {
|
|
65946
66297
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminUsersUserIdPermissionsGet(userId, options);
|
|
65947
66298
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65948
66299
|
const localVarOperationServerBasePath = operationServerMap['UserApi.adminUsersUserIdPermissionsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -66085,13 +66436,13 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
66085
66436
|
return localVarFp.adminUsersResetpasswordIdPut(id, options).then((request) => request(axios, basePath));
|
|
66086
66437
|
},
|
|
66087
66438
|
/**
|
|
66088
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66439
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
66089
66440
|
* @summary Get user\'s custom permissions
|
|
66090
66441
|
* @param {number} userId User ID
|
|
66091
66442
|
* @param {*} [options] Override http request option.
|
|
66092
66443
|
* @throws {RequiredError}
|
|
66093
66444
|
*/
|
|
66094
|
-
adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
66445
|
+
adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRolePermissionsResponse> {
|
|
66095
66446
|
return localVarFp.adminUsersUserIdPermissionsGet(userId, options).then((request) => request(axios, basePath));
|
|
66096
66447
|
},
|
|
66097
66448
|
/**
|
|
@@ -66233,7 +66584,7 @@ export class UserApi extends BaseAPI {
|
|
|
66233
66584
|
}
|
|
66234
66585
|
|
|
66235
66586
|
/**
|
|
66236
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66587
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
66237
66588
|
* @summary Get user\'s custom permissions
|
|
66238
66589
|
* @param {number} userId User ID
|
|
66239
66590
|
* @param {*} [options] Override http request option.
|