@seekora-ai/admin-api 1.1.50 → 1.1.52
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 +524 -185
- package/dist/api.d.ts +351 -180
- package/dist/api.js +347 -42
- package/dist/esm/api.d.ts +351 -180
- package/dist/esm/api.js +347 -42
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.52.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
|
|
@@ -25976,12 +26007,6 @@ export interface StoreRouteTimeSeriesResponse {
|
|
|
25976
26007
|
* @interface SubscriptionRouteCancelPreviewRequest
|
|
25977
26008
|
*/
|
|
25978
26009
|
export interface SubscriptionRouteCancelPreviewRequest {
|
|
25979
|
-
/**
|
|
25980
|
-
*
|
|
25981
|
-
* @type {number}
|
|
25982
|
-
* @memberof SubscriptionRouteCancelPreviewRequest
|
|
25983
|
-
*/
|
|
25984
|
-
'org_id': number;
|
|
25985
26010
|
/**
|
|
25986
26011
|
*
|
|
25987
26012
|
* @type {string}
|
|
@@ -26007,12 +26032,6 @@ export interface SubscriptionRouteCancelProcessRequest {
|
|
|
26007
26032
|
* @memberof SubscriptionRouteCancelProcessRequest
|
|
26008
26033
|
*/
|
|
26009
26034
|
'immediate_cancellation'?: boolean;
|
|
26010
|
-
/**
|
|
26011
|
-
*
|
|
26012
|
-
* @type {number}
|
|
26013
|
-
* @memberof SubscriptionRouteCancelProcessRequest
|
|
26014
|
-
*/
|
|
26015
|
-
'org_id': number;
|
|
26016
26035
|
/**
|
|
26017
26036
|
*
|
|
26018
26037
|
* @type {string}
|
|
@@ -35696,6 +35715,39 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
35696
35715
|
*/
|
|
35697
35716
|
export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35698
35717
|
return {
|
|
35718
|
+
/**
|
|
35719
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
35720
|
+
* @summary Get current active plan details
|
|
35721
|
+
* @param {*} [options] Override http request option.
|
|
35722
|
+
* @throws {RequiredError}
|
|
35723
|
+
*/
|
|
35724
|
+
adminBillingActivePlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35725
|
+
const localVarPath = `/admin/billing/active-plan`;
|
|
35726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35728
|
+
let baseOptions;
|
|
35729
|
+
if (configuration) {
|
|
35730
|
+
baseOptions = configuration.baseOptions;
|
|
35731
|
+
}
|
|
35732
|
+
|
|
35733
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35734
|
+
const localVarHeaderParameter = {} as any;
|
|
35735
|
+
const localVarQueryParameter = {} as any;
|
|
35736
|
+
|
|
35737
|
+
// authentication BearerAuth required
|
|
35738
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35739
|
+
|
|
35740
|
+
|
|
35741
|
+
|
|
35742
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35743
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35744
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35745
|
+
|
|
35746
|
+
return {
|
|
35747
|
+
url: toPathString(localVarUrlObj),
|
|
35748
|
+
options: localVarRequestOptions,
|
|
35749
|
+
};
|
|
35750
|
+
},
|
|
35699
35751
|
/**
|
|
35700
35752
|
* 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
35753
|
* @summary Get billing alerts
|
|
@@ -37301,6 +37353,18 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
37301
37353
|
export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
37302
37354
|
const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
|
|
37303
37355
|
return {
|
|
37356
|
+
/**
|
|
37357
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
37358
|
+
* @summary Get current active plan details
|
|
37359
|
+
* @param {*} [options] Override http request option.
|
|
37360
|
+
* @throws {RequiredError}
|
|
37361
|
+
*/
|
|
37362
|
+
async adminBillingActivePlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo>> {
|
|
37363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingActivePlanGet(options);
|
|
37364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37365
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingActivePlanGet']?.[localVarOperationServerIndex]?.url;
|
|
37366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37367
|
+
},
|
|
37304
37368
|
/**
|
|
37305
37369
|
* 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
37370
|
* @summary Get billing alerts
|
|
@@ -37805,6 +37869,15 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
37805
37869
|
export const BillingDashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
37806
37870
|
const localVarFp = BillingDashboardApiFp(configuration)
|
|
37807
37871
|
return {
|
|
37872
|
+
/**
|
|
37873
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
37874
|
+
* @summary Get current active plan details
|
|
37875
|
+
* @param {*} [options] Override http request option.
|
|
37876
|
+
* @throws {RequiredError}
|
|
37877
|
+
*/
|
|
37878
|
+
adminBillingActivePlanGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCurrentPlanInfo> {
|
|
37879
|
+
return localVarFp.adminBillingActivePlanGet(options).then((request) => request(axios, basePath));
|
|
37880
|
+
},
|
|
37808
37881
|
/**
|
|
37809
37882
|
* 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
37883
|
* @summary Get billing alerts
|
|
@@ -38213,6 +38286,17 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
38213
38286
|
* @extends {BaseAPI}
|
|
38214
38287
|
*/
|
|
38215
38288
|
export class BillingDashboardApi extends BaseAPI {
|
|
38289
|
+
/**
|
|
38290
|
+
* Returns the current active plan details including subscription_id required for cancellation
|
|
38291
|
+
* @summary Get current active plan details
|
|
38292
|
+
* @param {*} [options] Override http request option.
|
|
38293
|
+
* @throws {RequiredError}
|
|
38294
|
+
* @memberof BillingDashboardApi
|
|
38295
|
+
*/
|
|
38296
|
+
public adminBillingActivePlanGet(options?: RawAxiosRequestConfig) {
|
|
38297
|
+
return BillingDashboardApiFp(this.configuration).adminBillingActivePlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
38298
|
+
}
|
|
38299
|
+
|
|
38216
38300
|
/**
|
|
38217
38301
|
* 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
38302
|
* @summary Get billing alerts
|
|
@@ -48130,6 +48214,43 @@ export class NotificationPreferencesApi extends BaseAPI {
|
|
|
48130
48214
|
*/
|
|
48131
48215
|
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
48132
48216
|
return {
|
|
48217
|
+
/**
|
|
48218
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48219
|
+
* @summary Republish notification to RabbitMQ
|
|
48220
|
+
* @param {number} id Notification ID
|
|
48221
|
+
* @param {*} [options] Override http request option.
|
|
48222
|
+
* @throws {RequiredError}
|
|
48223
|
+
*/
|
|
48224
|
+
v1AdminNotificationsIdRepublishPost: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48225
|
+
// verify required parameter 'id' is not null or undefined
|
|
48226
|
+
assertParamExists('v1AdminNotificationsIdRepublishPost', 'id', id)
|
|
48227
|
+
const localVarPath = `/v1/admin/notifications/{id}/republish`
|
|
48228
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
48229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48231
|
+
let baseOptions;
|
|
48232
|
+
if (configuration) {
|
|
48233
|
+
baseOptions = configuration.baseOptions;
|
|
48234
|
+
}
|
|
48235
|
+
|
|
48236
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
48237
|
+
const localVarHeaderParameter = {} as any;
|
|
48238
|
+
const localVarQueryParameter = {} as any;
|
|
48239
|
+
|
|
48240
|
+
// authentication BearerAuth required
|
|
48241
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
48242
|
+
|
|
48243
|
+
|
|
48244
|
+
|
|
48245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
48248
|
+
|
|
48249
|
+
return {
|
|
48250
|
+
url: toPathString(localVarUrlObj),
|
|
48251
|
+
options: localVarRequestOptions,
|
|
48252
|
+
};
|
|
48253
|
+
},
|
|
48133
48254
|
/**
|
|
48134
48255
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48135
48256
|
* @summary Get user notifications
|
|
@@ -48400,6 +48521,19 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
48400
48521
|
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
48401
48522
|
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
48402
48523
|
return {
|
|
48524
|
+
/**
|
|
48525
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48526
|
+
* @summary Republish notification to RabbitMQ
|
|
48527
|
+
* @param {number} id Notification ID
|
|
48528
|
+
* @param {*} [options] Override http request option.
|
|
48529
|
+
* @throws {RequiredError}
|
|
48530
|
+
*/
|
|
48531
|
+
async v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
48532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1AdminNotificationsIdRepublishPost(id, options);
|
|
48533
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48534
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.v1AdminNotificationsIdRepublishPost']?.[localVarOperationServerIndex]?.url;
|
|
48535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48536
|
+
},
|
|
48403
48537
|
/**
|
|
48404
48538
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48405
48539
|
* @summary Get user notifications
|
|
@@ -48495,6 +48629,16 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
48495
48629
|
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
48496
48630
|
const localVarFp = NotificationsApiFp(configuration)
|
|
48497
48631
|
return {
|
|
48632
|
+
/**
|
|
48633
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48634
|
+
* @summary Republish notification to RabbitMQ
|
|
48635
|
+
* @param {number} id Notification ID
|
|
48636
|
+
* @param {*} [options] Override http request option.
|
|
48637
|
+
* @throws {RequiredError}
|
|
48638
|
+
*/
|
|
48639
|
+
v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
48640
|
+
return localVarFp.v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(axios, basePath));
|
|
48641
|
+
},
|
|
48498
48642
|
/**
|
|
48499
48643
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48500
48644
|
* @summary Get user notifications
|
|
@@ -48572,6 +48716,18 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
48572
48716
|
* @extends {BaseAPI}
|
|
48573
48717
|
*/
|
|
48574
48718
|
export class NotificationsApi extends BaseAPI {
|
|
48719
|
+
/**
|
|
48720
|
+
* Republishes an existing notification to RabbitMQ queue for processing
|
|
48721
|
+
* @summary Republish notification to RabbitMQ
|
|
48722
|
+
* @param {number} id Notification ID
|
|
48723
|
+
* @param {*} [options] Override http request option.
|
|
48724
|
+
* @throws {RequiredError}
|
|
48725
|
+
* @memberof NotificationsApi
|
|
48726
|
+
*/
|
|
48727
|
+
public v1AdminNotificationsIdRepublishPost(id: number, options?: RawAxiosRequestConfig) {
|
|
48728
|
+
return NotificationsApiFp(this.configuration).v1AdminNotificationsIdRepublishPost(id, options).then((request) => request(this.axios, this.basePath));
|
|
48729
|
+
}
|
|
48730
|
+
|
|
48575
48731
|
/**
|
|
48576
48732
|
* Retrieves paginated notifications for the authenticated user with optional filters, search, and sorting. Supports both page/page_size and limit/offset pagination.
|
|
48577
48733
|
* @summary Get user notifications
|
|
@@ -53182,10 +53338,13 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53182
53338
|
};
|
|
53183
53339
|
},
|
|
53184
53340
|
/**
|
|
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.
|
|
53341
|
+
* 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
53342
|
* @summary Get Query Suggestions
|
|
53187
53343
|
* @param {string} xStoreid Store ID
|
|
53188
53344
|
* @param {string} xStoresecret Store Secret
|
|
53345
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53346
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53347
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53189
53348
|
* @param {string} [query] Partial query to get suggestions for
|
|
53190
53349
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53191
53350
|
* @param {number} [page] Page number for pagination
|
|
@@ -53201,7 +53360,7 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53201
53360
|
* @param {*} [options] Override http request option.
|
|
53202
53361
|
* @throws {RequiredError}
|
|
53203
53362
|
*/
|
|
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> => {
|
|
53363
|
+
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
53364
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
53206
53365
|
assertParamExists('v1SuggestionsQueriesGet', 'xStoreid', xStoreid)
|
|
53207
53366
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -53274,6 +53433,15 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
53274
53433
|
if (xStoresecret != null) {
|
|
53275
53434
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
53276
53435
|
}
|
|
53436
|
+
if (xUserId != null) {
|
|
53437
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
53438
|
+
}
|
|
53439
|
+
if (xAnonId != null) {
|
|
53440
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
53441
|
+
}
|
|
53442
|
+
if (xSessionId != null) {
|
|
53443
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
53444
|
+
}
|
|
53277
53445
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53278
53446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53279
53447
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -53308,10 +53476,13 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
53308
53476
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53309
53477
|
},
|
|
53310
53478
|
/**
|
|
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.
|
|
53479
|
+
* 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
53480
|
* @summary Get Query Suggestions
|
|
53313
53481
|
* @param {string} xStoreid Store ID
|
|
53314
53482
|
* @param {string} xStoresecret Store Secret
|
|
53483
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53484
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53485
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53315
53486
|
* @param {string} [query] Partial query to get suggestions for
|
|
53316
53487
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53317
53488
|
* @param {number} [page] Page number for pagination
|
|
@@ -53327,8 +53498,8 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
53327
53498
|
* @param {*} [options] Override http request option.
|
|
53328
53499
|
* @throws {RequiredError}
|
|
53329
53500
|
*/
|
|
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);
|
|
53501
|
+
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>> {
|
|
53502
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, options);
|
|
53332
53503
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53333
53504
|
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
|
|
53334
53505
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -53355,10 +53526,13 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
53355
53526
|
return localVarFp.v1SuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
53356
53527
|
},
|
|
53357
53528
|
/**
|
|
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.
|
|
53529
|
+
* 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
53530
|
* @summary Get Query Suggestions
|
|
53360
53531
|
* @param {string} xStoreid Store ID
|
|
53361
53532
|
* @param {string} xStoresecret Store Secret
|
|
53533
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53534
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53535
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53362
53536
|
* @param {string} [query] Partial query to get suggestions for
|
|
53363
53537
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53364
53538
|
* @param {number} [page] Page number for pagination
|
|
@@ -53374,8 +53548,8 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
53374
53548
|
* @param {*} [options] Override http request option.
|
|
53375
53549
|
* @throws {RequiredError}
|
|
53376
53550
|
*/
|
|
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));
|
|
53551
|
+
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> {
|
|
53552
|
+
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
53553
|
},
|
|
53380
53554
|
};
|
|
53381
53555
|
};
|
|
@@ -53401,10 +53575,13 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
53401
53575
|
}
|
|
53402
53576
|
|
|
53403
53577
|
/**
|
|
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.
|
|
53578
|
+
* 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
53579
|
* @summary Get Query Suggestions
|
|
53406
53580
|
* @param {string} xStoreid Store ID
|
|
53407
53581
|
* @param {string} xStoresecret Store Secret
|
|
53582
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
53583
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
53584
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
53408
53585
|
* @param {string} [query] Partial query to get suggestions for
|
|
53409
53586
|
* @param {number} [hitsPerPage] Number of suggestions to return
|
|
53410
53587
|
* @param {number} [page] Page number for pagination
|
|
@@ -53421,8 +53598,8 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
53421
53598
|
* @throws {RequiredError}
|
|
53422
53599
|
* @memberof QuerySuggestionsApi
|
|
53423
53600
|
*/
|
|
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));
|
|
53601
|
+
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) {
|
|
53602
|
+
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
53603
|
}
|
|
53427
53604
|
}
|
|
53428
53605
|
|
|
@@ -59532,15 +59709,18 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
59532
59709
|
};
|
|
59533
59710
|
},
|
|
59534
59711
|
/**
|
|
59535
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59712
|
+
* 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
59713
|
* @summary Public Search API
|
|
59537
59714
|
* @param {string} xStoreid Store ID
|
|
59538
59715
|
* @param {string} xStoresecret Store Secret
|
|
59539
59716
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59717
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59718
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59719
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59540
59720
|
* @param {*} [options] Override http request option.
|
|
59541
59721
|
* @throws {RequiredError}
|
|
59542
59722
|
*/
|
|
59543
|
-
v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59723
|
+
v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59544
59724
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
59545
59725
|
assertParamExists('v1SearchPost', 'xStoreid', xStoreid)
|
|
59546
59726
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
@@ -59569,6 +59749,15 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
59569
59749
|
if (xStoresecret != null) {
|
|
59570
59750
|
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
59571
59751
|
}
|
|
59752
|
+
if (xUserId != null) {
|
|
59753
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
59754
|
+
}
|
|
59755
|
+
if (xAnonId != null) {
|
|
59756
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
59757
|
+
}
|
|
59758
|
+
if (xSessionId != null) {
|
|
59759
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
59760
|
+
}
|
|
59572
59761
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59573
59762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59574
59763
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -59672,16 +59861,19 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
|
59672
59861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59673
59862
|
},
|
|
59674
59863
|
/**
|
|
59675
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59864
|
+
* 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
59865
|
* @summary Public Search API
|
|
59677
59866
|
* @param {string} xStoreid Store ID
|
|
59678
59867
|
* @param {string} xStoresecret Store Secret
|
|
59679
59868
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59869
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59870
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59871
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59680
59872
|
* @param {*} [options] Override http request option.
|
|
59681
59873
|
* @throws {RequiredError}
|
|
59682
59874
|
*/
|
|
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);
|
|
59875
|
+
async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>> {
|
|
59876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
|
|
59685
59877
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59686
59878
|
const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchPost']?.[localVarOperationServerIndex]?.url;
|
|
59687
59879
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -59761,16 +59953,19 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
|
59761
59953
|
return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
|
|
59762
59954
|
},
|
|
59763
59955
|
/**
|
|
59764
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
59956
|
+
* 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
59957
|
* @summary Public Search API
|
|
59766
59958
|
* @param {string} xStoreid Store ID
|
|
59767
59959
|
* @param {string} xStoresecret Store Secret
|
|
59768
59960
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
59961
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
59962
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
59963
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59769
59964
|
* @param {*} [options] Override http request option.
|
|
59770
59965
|
* @throws {RequiredError}
|
|
59771
59966
|
*/
|
|
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));
|
|
59967
|
+
v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper> {
|
|
59968
|
+
return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
|
|
59774
59969
|
},
|
|
59775
59970
|
};
|
|
59776
59971
|
};
|
|
@@ -59859,17 +60054,20 @@ export class SearchApi extends BaseAPI {
|
|
|
59859
60054
|
}
|
|
59860
60055
|
|
|
59861
60056
|
/**
|
|
59862
|
-
* Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
|
|
60057
|
+
* 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
60058
|
* @summary Public Search API
|
|
59864
60059
|
* @param {string} xStoreid Store ID
|
|
59865
60060
|
* @param {string} xStoresecret Store Secret
|
|
59866
60061
|
* @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
|
|
60062
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
60063
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
60064
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
59867
60065
|
* @param {*} [options] Override http request option.
|
|
59868
60066
|
* @throws {RequiredError}
|
|
59869
60067
|
* @memberof SearchApi
|
|
59870
60068
|
*/
|
|
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));
|
|
60069
|
+
public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig) {
|
|
60070
|
+
return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
59873
60071
|
}
|
|
59874
60072
|
}
|
|
59875
60073
|
|
|
@@ -63167,9 +63365,9 @@ export class StoresApi extends BaseAPI {
|
|
|
63167
63365
|
export const SubscriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
63168
63366
|
return {
|
|
63169
63367
|
/**
|
|
63170
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
63368
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
63171
63369
|
* @summary Preview subscription cancellation details
|
|
63172
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
63370
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
63173
63371
|
* @param {*} [options] Override http request option.
|
|
63174
63372
|
* @throws {RequiredError}
|
|
63175
63373
|
*/
|
|
@@ -63206,9 +63404,9 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
63206
63404
|
};
|
|
63207
63405
|
},
|
|
63208
63406
|
/**
|
|
63209
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
63407
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
63210
63408
|
* @summary Process subscription cancellation
|
|
63211
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
63409
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
63212
63410
|
* @param {*} [options] Override http request option.
|
|
63213
63411
|
* @throws {RequiredError}
|
|
63214
63412
|
*/
|
|
@@ -63448,9 +63646,9 @@ export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
|
63448
63646
|
const localVarAxiosParamCreator = SubscriptionsApiAxiosParamCreator(configuration)
|
|
63449
63647
|
return {
|
|
63450
63648
|
/**
|
|
63451
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
63649
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
63452
63650
|
* @summary Preview subscription cancellation details
|
|
63453
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
63651
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
63454
63652
|
* @param {*} [options] Override http request option.
|
|
63455
63653
|
* @throws {RequiredError}
|
|
63456
63654
|
*/
|
|
@@ -63461,9 +63659,9 @@ export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
|
63461
63659
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63462
63660
|
},
|
|
63463
63661
|
/**
|
|
63464
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
63662
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
63465
63663
|
* @summary Process subscription cancellation
|
|
63466
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
63664
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
63467
63665
|
* @param {*} [options] Override http request option.
|
|
63468
63666
|
* @throws {RequiredError}
|
|
63469
63667
|
*/
|
|
@@ -63550,9 +63748,9 @@ export const SubscriptionsApiFactory = function (configuration?: Configuration,
|
|
|
63550
63748
|
const localVarFp = SubscriptionsApiFp(configuration)
|
|
63551
63749
|
return {
|
|
63552
63750
|
/**
|
|
63553
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
63751
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
63554
63752
|
* @summary Preview subscription cancellation details
|
|
63555
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
63753
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
63556
63754
|
* @param {*} [options] Override http request option.
|
|
63557
63755
|
* @throws {RequiredError}
|
|
63558
63756
|
*/
|
|
@@ -63560,9 +63758,9 @@ export const SubscriptionsApiFactory = function (configuration?: Configuration,
|
|
|
63560
63758
|
return localVarFp.adminSubscriptionsCancelPreviewPost(subscriptionRouteCancelPreviewRequest, options).then((request) => request(axios, basePath));
|
|
63561
63759
|
},
|
|
63562
63760
|
/**
|
|
63563
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
63761
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
63564
63762
|
* @summary Process subscription cancellation
|
|
63565
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
63763
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
63566
63764
|
* @param {*} [options] Override http request option.
|
|
63567
63765
|
* @throws {RequiredError}
|
|
63568
63766
|
*/
|
|
@@ -63631,9 +63829,9 @@ export const SubscriptionsApiFactory = function (configuration?: Configuration,
|
|
|
63631
63829
|
*/
|
|
63632
63830
|
export class SubscriptionsApi extends BaseAPI {
|
|
63633
63831
|
/**
|
|
63634
|
-
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund
|
|
63832
|
+
* Shows detailed preview of subscription cancellation including credit calculation, billing period info, and potential refund. Org ID is automatically extracted from JWT session.
|
|
63635
63833
|
* @summary Preview subscription cancellation details
|
|
63636
|
-
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request
|
|
63834
|
+
* @param {SubscriptionRouteCancelPreviewRequest} subscriptionRouteCancelPreviewRequest Cancellation preview request (org_id is extracted from session)
|
|
63637
63835
|
* @param {*} [options] Override http request option.
|
|
63638
63836
|
* @throws {RequiredError}
|
|
63639
63837
|
* @memberof SubscriptionsApi
|
|
@@ -63643,9 +63841,9 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
63643
63841
|
}
|
|
63644
63842
|
|
|
63645
63843
|
/**
|
|
63646
|
-
* Cancels the subscription, removes unused credits, and processes refund if applicable
|
|
63844
|
+
* Cancels the subscription, removes unused credits, and processes refund if applicable. Org ID is automatically extracted from JWT session.
|
|
63647
63845
|
* @summary Process subscription cancellation
|
|
63648
|
-
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request
|
|
63846
|
+
* @param {SubscriptionRouteCancelProcessRequest} subscriptionRouteCancelProcessRequest Cancellation process request (org_id is extracted from session)
|
|
63649
63847
|
* @param {*} [options] Override http request option.
|
|
63650
63848
|
* @throws {RequiredError}
|
|
63651
63849
|
* @memberof SubscriptionsApi
|
|
@@ -64210,6 +64408,43 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
64210
64408
|
options: localVarRequestOptions,
|
|
64211
64409
|
};
|
|
64212
64410
|
},
|
|
64411
|
+
/**
|
|
64412
|
+
* Resends the invitation email for an existing pending invitation
|
|
64413
|
+
* @summary Resend invitation email
|
|
64414
|
+
* @param {number} invitationId Invitation ID
|
|
64415
|
+
* @param {*} [options] Override http request option.
|
|
64416
|
+
* @throws {RequiredError}
|
|
64417
|
+
*/
|
|
64418
|
+
v1InvitationsInvitationIdResendPost: async (invitationId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64419
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
64420
|
+
assertParamExists('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId)
|
|
64421
|
+
const localVarPath = `/v1/invitations/{invitationId}/resend`
|
|
64422
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
64423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64424
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64425
|
+
let baseOptions;
|
|
64426
|
+
if (configuration) {
|
|
64427
|
+
baseOptions = configuration.baseOptions;
|
|
64428
|
+
}
|
|
64429
|
+
|
|
64430
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64431
|
+
const localVarHeaderParameter = {} as any;
|
|
64432
|
+
const localVarQueryParameter = {} as any;
|
|
64433
|
+
|
|
64434
|
+
// authentication BearerAuth required
|
|
64435
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
64436
|
+
|
|
64437
|
+
|
|
64438
|
+
|
|
64439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64441
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64442
|
+
|
|
64443
|
+
return {
|
|
64444
|
+
url: toPathString(localVarUrlObj),
|
|
64445
|
+
options: localVarRequestOptions,
|
|
64446
|
+
};
|
|
64447
|
+
},
|
|
64213
64448
|
/**
|
|
64214
64449
|
* Accepts a team invitation using token
|
|
64215
64450
|
* @summary Accept invitation
|
|
@@ -64312,6 +64547,40 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
64312
64547
|
|
|
64313
64548
|
|
|
64314
64549
|
|
|
64550
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64551
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64552
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
64553
|
+
|
|
64554
|
+
return {
|
|
64555
|
+
url: toPathString(localVarUrlObj),
|
|
64556
|
+
options: localVarRequestOptions,
|
|
64557
|
+
};
|
|
64558
|
+
},
|
|
64559
|
+
/**
|
|
64560
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
64561
|
+
* @summary Resend invitation email by token (public)
|
|
64562
|
+
* @param {string} token Invitation Token
|
|
64563
|
+
* @param {*} [options] Override http request option.
|
|
64564
|
+
* @throws {RequiredError}
|
|
64565
|
+
*/
|
|
64566
|
+
v1InvitationsTokenResendPost: async (token: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64567
|
+
// verify required parameter 'token' is not null or undefined
|
|
64568
|
+
assertParamExists('v1InvitationsTokenResendPost', 'token', token)
|
|
64569
|
+
const localVarPath = `/v1/invitations/{token}/resend`
|
|
64570
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
64571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
64573
|
+
let baseOptions;
|
|
64574
|
+
if (configuration) {
|
|
64575
|
+
baseOptions = configuration.baseOptions;
|
|
64576
|
+
}
|
|
64577
|
+
|
|
64578
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64579
|
+
const localVarHeaderParameter = {} as any;
|
|
64580
|
+
const localVarQueryParameter = {} as any;
|
|
64581
|
+
|
|
64582
|
+
|
|
64583
|
+
|
|
64315
64584
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64316
64585
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64317
64586
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -64775,6 +65044,19 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
64775
65044
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdPermissionsRolePut']?.[localVarOperationServerIndex]?.url;
|
|
64776
65045
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64777
65046
|
},
|
|
65047
|
+
/**
|
|
65048
|
+
* Resends the invitation email for an existing pending invitation
|
|
65049
|
+
* @summary Resend invitation email
|
|
65050
|
+
* @param {number} invitationId Invitation ID
|
|
65051
|
+
* @param {*} [options] Override http request option.
|
|
65052
|
+
* @throws {RequiredError}
|
|
65053
|
+
*/
|
|
65054
|
+
async v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
65055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
|
|
65056
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65057
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']?.[localVarOperationServerIndex]?.url;
|
|
65058
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65059
|
+
},
|
|
64778
65060
|
/**
|
|
64779
65061
|
* Accepts a team invitation using token
|
|
64780
65062
|
* @summary Accept invitation
|
|
@@ -64815,6 +65097,19 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
64815
65097
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenGet']?.[localVarOperationServerIndex]?.url;
|
|
64816
65098
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
64817
65099
|
},
|
|
65100
|
+
/**
|
|
65101
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65102
|
+
* @summary Resend invitation email by token (public)
|
|
65103
|
+
* @param {string} token Invitation Token
|
|
65104
|
+
* @param {*} [options] Override http request option.
|
|
65105
|
+
* @throws {RequiredError}
|
|
65106
|
+
*/
|
|
65107
|
+
async v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
65108
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsTokenResendPost(token, options);
|
|
65109
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65110
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenResendPost']?.[localVarOperationServerIndex]?.url;
|
|
65111
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65112
|
+
},
|
|
64818
65113
|
/**
|
|
64819
65114
|
* Retrieves all users with access to a store
|
|
64820
65115
|
* @summary Get store access list
|
|
@@ -65000,6 +65295,16 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
65000
65295
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId: number, dataTypesUpdateInvitationRolePermissionsRequest: DataTypesUpdateInvitationRolePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65001
65296
|
return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
65002
65297
|
},
|
|
65298
|
+
/**
|
|
65299
|
+
* Resends the invitation email for an existing pending invitation
|
|
65300
|
+
* @summary Resend invitation email
|
|
65301
|
+
* @param {number} invitationId Invitation ID
|
|
65302
|
+
* @param {*} [options] Override http request option.
|
|
65303
|
+
* @throws {RequiredError}
|
|
65304
|
+
*/
|
|
65305
|
+
v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65306
|
+
return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
65307
|
+
},
|
|
65003
65308
|
/**
|
|
65004
65309
|
* Accepts a team invitation using token
|
|
65005
65310
|
* @summary Accept invitation
|
|
@@ -65031,6 +65336,16 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
65031
65336
|
v1InvitationsTokenGet(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesInvitationDetailsResponse> {
|
|
65032
65337
|
return localVarFp.v1InvitationsTokenGet(token, options).then((request) => request(axios, basePath));
|
|
65033
65338
|
},
|
|
65339
|
+
/**
|
|
65340
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65341
|
+
* @summary Resend invitation email by token (public)
|
|
65342
|
+
* @param {string} token Invitation Token
|
|
65343
|
+
* @param {*} [options] Override http request option.
|
|
65344
|
+
* @throws {RequiredError}
|
|
65345
|
+
*/
|
|
65346
|
+
v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
65347
|
+
return localVarFp.v1InvitationsTokenResendPost(token, options).then((request) => request(axios, basePath));
|
|
65348
|
+
},
|
|
65034
65349
|
/**
|
|
65035
65350
|
* Retrieves all users with access to a store
|
|
65036
65351
|
* @summary Get store access list
|
|
@@ -65194,6 +65509,18 @@ export class TeamApi extends BaseAPI {
|
|
|
65194
65509
|
return TeamApiFp(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
65195
65510
|
}
|
|
65196
65511
|
|
|
65512
|
+
/**
|
|
65513
|
+
* Resends the invitation email for an existing pending invitation
|
|
65514
|
+
* @summary Resend invitation email
|
|
65515
|
+
* @param {number} invitationId Invitation ID
|
|
65516
|
+
* @param {*} [options] Override http request option.
|
|
65517
|
+
* @throws {RequiredError}
|
|
65518
|
+
* @memberof TeamApi
|
|
65519
|
+
*/
|
|
65520
|
+
public v1InvitationsInvitationIdResendPost(invitationId: number, options?: RawAxiosRequestConfig) {
|
|
65521
|
+
return TeamApiFp(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
65522
|
+
}
|
|
65523
|
+
|
|
65197
65524
|
/**
|
|
65198
65525
|
* Accepts a team invitation using token
|
|
65199
65526
|
* @summary Accept invitation
|
|
@@ -65231,6 +65558,18 @@ export class TeamApi extends BaseAPI {
|
|
|
65231
65558
|
return TeamApiFp(this.configuration).v1InvitationsTokenGet(token, options).then((request) => request(this.axios, this.basePath));
|
|
65232
65559
|
}
|
|
65233
65560
|
|
|
65561
|
+
/**
|
|
65562
|
+
* Resends the invitation email using the invitation token. This is a public endpoint that doesn\'t require authentication - the token itself serves as authentication.
|
|
65563
|
+
* @summary Resend invitation email by token (public)
|
|
65564
|
+
* @param {string} token Invitation Token
|
|
65565
|
+
* @param {*} [options] Override http request option.
|
|
65566
|
+
* @throws {RequiredError}
|
|
65567
|
+
* @memberof TeamApi
|
|
65568
|
+
*/
|
|
65569
|
+
public v1InvitationsTokenResendPost(token: string, options?: RawAxiosRequestConfig) {
|
|
65570
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenResendPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
65571
|
+
}
|
|
65572
|
+
|
|
65234
65573
|
/**
|
|
65235
65574
|
* Retrieves all users with access to a store
|
|
65236
65575
|
* @summary Get store access list
|
|
@@ -65631,7 +65970,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
65631
65970
|
};
|
|
65632
65971
|
},
|
|
65633
65972
|
/**
|
|
65634
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
65973
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
65635
65974
|
* @summary Get user\'s custom permissions
|
|
65636
65975
|
* @param {number} userId User ID
|
|
65637
65976
|
* @param {*} [options] Override http request option.
|
|
@@ -65936,13 +66275,13 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
65936
66275
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
65937
66276
|
},
|
|
65938
66277
|
/**
|
|
65939
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66278
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
65940
66279
|
* @summary Get user\'s custom permissions
|
|
65941
66280
|
* @param {number} userId User ID
|
|
65942
66281
|
* @param {*} [options] Override http request option.
|
|
65943
66282
|
* @throws {RequiredError}
|
|
65944
66283
|
*/
|
|
65945
|
-
async adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
66284
|
+
async adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRolePermissionsResponse>> {
|
|
65946
66285
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminUsersUserIdPermissionsGet(userId, options);
|
|
65947
66286
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
65948
66287
|
const localVarOperationServerBasePath = operationServerMap['UserApi.adminUsersUserIdPermissionsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -66085,13 +66424,13 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
66085
66424
|
return localVarFp.adminUsersResetpasswordIdPut(id, options).then((request) => request(axios, basePath));
|
|
66086
66425
|
},
|
|
66087
66426
|
/**
|
|
66088
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66427
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
66089
66428
|
* @summary Get user\'s custom permissions
|
|
66090
66429
|
* @param {number} userId User ID
|
|
66091
66430
|
* @param {*} [options] Override http request option.
|
|
66092
66431
|
* @throws {RequiredError}
|
|
66093
66432
|
*/
|
|
66094
|
-
adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
66433
|
+
adminUsersUserIdPermissionsGet(userId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRolePermissionsResponse> {
|
|
66095
66434
|
return localVarFp.adminUsersUserIdPermissionsGet(userId, options).then((request) => request(axios, basePath));
|
|
66096
66435
|
},
|
|
66097
66436
|
/**
|
|
@@ -66233,7 +66572,7 @@ export class UserApi extends BaseAPI {
|
|
|
66233
66572
|
}
|
|
66234
66573
|
|
|
66235
66574
|
/**
|
|
66236
|
-
* Retrieves user\'s permission configuration (route-level and store-level)
|
|
66575
|
+
* Retrieves user\'s permission configuration in the same format as role permissions API (route-level and store-level with grouped structures)
|
|
66237
66576
|
* @summary Get user\'s custom permissions
|
|
66238
66577
|
* @param {number} userId User ID
|
|
66239
66578
|
* @param {*} [options] Override http request option.
|