@seekora-ai/admin-api 1.1.70 → 1.1.72
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 +10 -2
- package/api.ts +645 -25
- package/dist/api.d.ts +505 -22
- package/dist/api.js +265 -15
- package/dist/esm/api.d.ts +505 -22
- package/dist/esm/api.js +257 -7
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.72.tgz +0 -0
- package/seekora-ai-admin-api-1.1.70.tgz +0 -0
package/api.ts
CHANGED
|
@@ -6569,6 +6569,79 @@ export interface BatchRecordResult {
|
|
|
6569
6569
|
*/
|
|
6570
6570
|
'valid'?: boolean;
|
|
6571
6571
|
}
|
|
6572
|
+
/**
|
|
6573
|
+
*
|
|
6574
|
+
* @export
|
|
6575
|
+
* @interface BillingServiceCancelledSubscriptionInfo
|
|
6576
|
+
*/
|
|
6577
|
+
export interface BillingServiceCancelledSubscriptionInfo {
|
|
6578
|
+
/**
|
|
6579
|
+
*
|
|
6580
|
+
* @type {string}
|
|
6581
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6582
|
+
*/
|
|
6583
|
+
'cancellation_reason'?: string;
|
|
6584
|
+
/**
|
|
6585
|
+
*
|
|
6586
|
+
* @type {string}
|
|
6587
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6588
|
+
*/
|
|
6589
|
+
'cancelled_at'?: string;
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @type {number}
|
|
6593
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6594
|
+
*/
|
|
6595
|
+
'cancelled_by'?: number;
|
|
6596
|
+
/**
|
|
6597
|
+
*
|
|
6598
|
+
* @type {string}
|
|
6599
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6600
|
+
*/
|
|
6601
|
+
'cancelled_by_name'?: string;
|
|
6602
|
+
/**
|
|
6603
|
+
*
|
|
6604
|
+
* @type {number}
|
|
6605
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6606
|
+
*/
|
|
6607
|
+
'credits_removed'?: number;
|
|
6608
|
+
/**
|
|
6609
|
+
*
|
|
6610
|
+
* @type {number}
|
|
6611
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6612
|
+
*/
|
|
6613
|
+
'id'?: number;
|
|
6614
|
+
/**
|
|
6615
|
+
*
|
|
6616
|
+
* @type {number}
|
|
6617
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6618
|
+
*/
|
|
6619
|
+
'org_id'?: number;
|
|
6620
|
+
/**
|
|
6621
|
+
*
|
|
6622
|
+
* @type {string}
|
|
6623
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6624
|
+
*/
|
|
6625
|
+
'plan_name'?: string;
|
|
6626
|
+
/**
|
|
6627
|
+
*
|
|
6628
|
+
* @type {number}
|
|
6629
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6630
|
+
*/
|
|
6631
|
+
'refund_amount'?: number;
|
|
6632
|
+
/**
|
|
6633
|
+
*
|
|
6634
|
+
* @type {string}
|
|
6635
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6636
|
+
*/
|
|
6637
|
+
'refund_currency'?: string;
|
|
6638
|
+
/**
|
|
6639
|
+
*
|
|
6640
|
+
* @type {string}
|
|
6641
|
+
* @memberof BillingServiceCancelledSubscriptionInfo
|
|
6642
|
+
*/
|
|
6643
|
+
'subscription_id'?: string;
|
|
6644
|
+
}
|
|
6572
6645
|
/**
|
|
6573
6646
|
*
|
|
6574
6647
|
* @export
|
|
@@ -6729,6 +6802,51 @@ export interface DataTypesAPICallsListResponse {
|
|
|
6729
6802
|
*/
|
|
6730
6803
|
'status'?: number;
|
|
6731
6804
|
}
|
|
6805
|
+
/**
|
|
6806
|
+
*
|
|
6807
|
+
* @export
|
|
6808
|
+
* @interface DataTypesAcceptInvitationWithOAuthRequest
|
|
6809
|
+
*/
|
|
6810
|
+
export interface DataTypesAcceptInvitationWithOAuthRequest {
|
|
6811
|
+
/**
|
|
6812
|
+
* Optional: override from OAuth profile
|
|
6813
|
+
* @type {string}
|
|
6814
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6815
|
+
*/
|
|
6816
|
+
'first_name'?: string;
|
|
6817
|
+
/**
|
|
6818
|
+
* Optional: override from OAuth profile
|
|
6819
|
+
* @type {string}
|
|
6820
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6821
|
+
*/
|
|
6822
|
+
'last_name'?: string;
|
|
6823
|
+
/**
|
|
6824
|
+
* OAuth access token (GitHub) or ID token (Google)
|
|
6825
|
+
* @type {string}
|
|
6826
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6827
|
+
*/
|
|
6828
|
+
'oauth_token': string;
|
|
6829
|
+
/**
|
|
6830
|
+
* Invitation token
|
|
6831
|
+
* @type {string}
|
|
6832
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6833
|
+
*/
|
|
6834
|
+
'token': string;
|
|
6835
|
+
/**
|
|
6836
|
+
* OAuth provider type: \"google\" or \"github\"
|
|
6837
|
+
* @type {string}
|
|
6838
|
+
* @memberof DataTypesAcceptInvitationWithOAuthRequest
|
|
6839
|
+
*/
|
|
6840
|
+
'type': DataTypesAcceptInvitationWithOAuthRequestTypeEnum;
|
|
6841
|
+
}
|
|
6842
|
+
|
|
6843
|
+
export const DataTypesAcceptInvitationWithOAuthRequestTypeEnum = {
|
|
6844
|
+
Google: 'google',
|
|
6845
|
+
Github: 'github'
|
|
6846
|
+
} as const;
|
|
6847
|
+
|
|
6848
|
+
export type DataTypesAcceptInvitationWithOAuthRequestTypeEnum = typeof DataTypesAcceptInvitationWithOAuthRequestTypeEnum[keyof typeof DataTypesAcceptInvitationWithOAuthRequestTypeEnum];
|
|
6849
|
+
|
|
6732
6850
|
/**
|
|
6733
6851
|
*
|
|
6734
6852
|
* @export
|
|
@@ -7454,6 +7572,12 @@ export interface DataTypesBillingOrderDetailsResponse {
|
|
|
7454
7572
|
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7455
7573
|
*/
|
|
7456
7574
|
'can_pay'?: boolean;
|
|
7575
|
+
/**
|
|
7576
|
+
* Order lifecycle events for timeline display
|
|
7577
|
+
* @type {Array<DataTypesOrderEvent>}
|
|
7578
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7579
|
+
*/
|
|
7580
|
+
'events'?: Array<DataTypesOrderEvent>;
|
|
7457
7581
|
/**
|
|
7458
7582
|
* Array of invoices for subscriptions
|
|
7459
7583
|
* @type {Array<DataTypesInvoice>}
|
|
@@ -10449,12 +10573,24 @@ export interface DataTypesDropdownRecommendationsConfig {
|
|
|
10449
10573
|
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10450
10574
|
*/
|
|
10451
10575
|
'dynamic_tabs_priority'?: number;
|
|
10576
|
+
/**
|
|
10577
|
+
* Max suggestions for empty queries (default: uses hitsPerPage)
|
|
10578
|
+
* @type {number}
|
|
10579
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10580
|
+
*/
|
|
10581
|
+
'empty_query_recommendations_limit'?: number;
|
|
10452
10582
|
/**
|
|
10453
10583
|
* Dynamic tabs configuration (auto-generated tabs based on query and facets)
|
|
10454
10584
|
* @type {boolean}
|
|
10455
10585
|
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10456
10586
|
*/
|
|
10457
10587
|
'enable_dynamic_tabs'?: boolean;
|
|
10588
|
+
/**
|
|
10589
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered
|
|
10590
|
+
* @type {boolean}
|
|
10591
|
+
* @memberof DataTypesDropdownRecommendationsConfig
|
|
10592
|
+
*/
|
|
10593
|
+
'enable_empty_query_recommendations'?: boolean;
|
|
10458
10594
|
/**
|
|
10459
10595
|
* Filtered tabs configuration (for tabbed product recommendations)
|
|
10460
10596
|
* @type {boolean}
|
|
@@ -10594,6 +10730,12 @@ export interface DataTypesDueSubscription {
|
|
|
10594
10730
|
* @memberof DataTypesDueSubscription
|
|
10595
10731
|
*/
|
|
10596
10732
|
'days_overdue'?: number;
|
|
10733
|
+
/**
|
|
10734
|
+
*
|
|
10735
|
+
* @type {string}
|
|
10736
|
+
* @memberof DataTypesDueSubscription
|
|
10737
|
+
*/
|
|
10738
|
+
'gateway_subscription_id'?: string;
|
|
10597
10739
|
/**
|
|
10598
10740
|
*
|
|
10599
10741
|
* @type {string}
|
|
@@ -10630,12 +10772,6 @@ export interface DataTypesDueSubscription {
|
|
|
10630
10772
|
* @memberof DataTypesDueSubscription
|
|
10631
10773
|
*/
|
|
10632
10774
|
'plan_name'?: string;
|
|
10633
|
-
/**
|
|
10634
|
-
*
|
|
10635
|
-
* @type {string}
|
|
10636
|
-
* @memberof DataTypesDueSubscription
|
|
10637
|
-
*/
|
|
10638
|
-
'razorpay_subscription_id'?: string;
|
|
10639
10775
|
/**
|
|
10640
10776
|
*
|
|
10641
10777
|
* @type {string}
|
|
@@ -11687,6 +11823,31 @@ export interface DataTypesGenericResponseAny {
|
|
|
11687
11823
|
*/
|
|
11688
11824
|
'status'?: number;
|
|
11689
11825
|
}
|
|
11826
|
+
/**
|
|
11827
|
+
*
|
|
11828
|
+
* @export
|
|
11829
|
+
* @interface DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo
|
|
11830
|
+
*/
|
|
11831
|
+
export interface DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo {
|
|
11832
|
+
/**
|
|
11833
|
+
*
|
|
11834
|
+
* @type {Array<BillingServiceCancelledSubscriptionInfo>}
|
|
11835
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo
|
|
11836
|
+
*/
|
|
11837
|
+
'data'?: Array<BillingServiceCancelledSubscriptionInfo>;
|
|
11838
|
+
/**
|
|
11839
|
+
*
|
|
11840
|
+
* @type {string}
|
|
11841
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo
|
|
11842
|
+
*/
|
|
11843
|
+
'message'?: string;
|
|
11844
|
+
/**
|
|
11845
|
+
*
|
|
11846
|
+
* @type {number}
|
|
11847
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo
|
|
11848
|
+
*/
|
|
11849
|
+
'status'?: number;
|
|
11850
|
+
}
|
|
11690
11851
|
/**
|
|
11691
11852
|
*
|
|
11692
11853
|
* @export
|
|
@@ -15703,6 +15864,12 @@ export interface DataTypesNotificationListData {
|
|
|
15703
15864
|
* @memberof DataTypesNotificationListData
|
|
15704
15865
|
*/
|
|
15705
15866
|
'pagination'?: DataTypesNotificationPaginationInfo;
|
|
15867
|
+
/**
|
|
15868
|
+
*
|
|
15869
|
+
* @type {number}
|
|
15870
|
+
* @memberof DataTypesNotificationListData
|
|
15871
|
+
*/
|
|
15872
|
+
'unread_count'?: number;
|
|
15706
15873
|
}
|
|
15707
15874
|
/**
|
|
15708
15875
|
*
|
|
@@ -16826,6 +16993,12 @@ export interface DataTypesOrder {
|
|
|
16826
16993
|
* @memberof DataTypesOrder
|
|
16827
16994
|
*/
|
|
16828
16995
|
'id'?: number;
|
|
16996
|
+
/**
|
|
16997
|
+
* True if this is a trial activation (token charge), not a real payment
|
|
16998
|
+
* @type {boolean}
|
|
16999
|
+
* @memberof DataTypesOrder
|
|
17000
|
+
*/
|
|
17001
|
+
'is_trial_activation'?: boolean;
|
|
16829
17002
|
/**
|
|
16830
17003
|
*
|
|
16831
17004
|
* @type {{ [key: string]: any; }}
|
|
@@ -16856,6 +17029,24 @@ export interface DataTypesOrder {
|
|
|
16856
17029
|
* @memberof DataTypesOrder
|
|
16857
17030
|
*/
|
|
16858
17031
|
'status'?: string;
|
|
17032
|
+
/**
|
|
17033
|
+
* Base price before tax
|
|
17034
|
+
* @type {number}
|
|
17035
|
+
* @memberof DataTypesOrder
|
|
17036
|
+
*/
|
|
17037
|
+
'subtotal'?: number;
|
|
17038
|
+
/**
|
|
17039
|
+
* Tax amount calculated
|
|
17040
|
+
* @type {number}
|
|
17041
|
+
* @memberof DataTypesOrder
|
|
17042
|
+
*/
|
|
17043
|
+
'tax_amount'?: number;
|
|
17044
|
+
/**
|
|
17045
|
+
* Total amount (subtotal + tax) - what customer pays
|
|
17046
|
+
* @type {number}
|
|
17047
|
+
* @memberof DataTypesOrder
|
|
17048
|
+
*/
|
|
17049
|
+
'total_amount'?: number;
|
|
16859
17050
|
/**
|
|
16860
17051
|
*
|
|
16861
17052
|
* @type {string}
|
|
@@ -16900,6 +17091,43 @@ export interface DataTypesOrderDetailsResponse {
|
|
|
16900
17091
|
*/
|
|
16901
17092
|
'transactions'?: Array<DataTypesOrderTransactionDisplay>;
|
|
16902
17093
|
}
|
|
17094
|
+
/**
|
|
17095
|
+
*
|
|
17096
|
+
* @export
|
|
17097
|
+
* @interface DataTypesOrderEvent
|
|
17098
|
+
*/
|
|
17099
|
+
export interface DataTypesOrderEvent {
|
|
17100
|
+
/**
|
|
17101
|
+
*
|
|
17102
|
+
* @type {string}
|
|
17103
|
+
* @memberof DataTypesOrderEvent
|
|
17104
|
+
*/
|
|
17105
|
+
'created_at'?: string;
|
|
17106
|
+
/**
|
|
17107
|
+
*
|
|
17108
|
+
* @type {{ [key: string]: any; }}
|
|
17109
|
+
* @memberof DataTypesOrderEvent
|
|
17110
|
+
*/
|
|
17111
|
+
'event_data'?: { [key: string]: any; };
|
|
17112
|
+
/**
|
|
17113
|
+
*
|
|
17114
|
+
* @type {string}
|
|
17115
|
+
* @memberof DataTypesOrderEvent
|
|
17116
|
+
*/
|
|
17117
|
+
'event_type'?: string;
|
|
17118
|
+
/**
|
|
17119
|
+
*
|
|
17120
|
+
* @type {number}
|
|
17121
|
+
* @memberof DataTypesOrderEvent
|
|
17122
|
+
*/
|
|
17123
|
+
'id'?: number;
|
|
17124
|
+
/**
|
|
17125
|
+
*
|
|
17126
|
+
* @type {number}
|
|
17127
|
+
* @memberof DataTypesOrderEvent
|
|
17128
|
+
*/
|
|
17129
|
+
'order_id'?: number;
|
|
17130
|
+
}
|
|
16903
17131
|
/**
|
|
16904
17132
|
*
|
|
16905
17133
|
* @export
|
|
@@ -22356,6 +22584,12 @@ export interface DataTypesSubscriptionPaymentResponse {
|
|
|
22356
22584
|
* @memberof DataTypesSubscriptionPaymentResponse
|
|
22357
22585
|
*/
|
|
22358
22586
|
'error'?: string;
|
|
22587
|
+
/**
|
|
22588
|
+
*
|
|
22589
|
+
* @type {string}
|
|
22590
|
+
* @memberof DataTypesSubscriptionPaymentResponse
|
|
22591
|
+
*/
|
|
22592
|
+
'gateway_subscription_id'?: string;
|
|
22359
22593
|
/**
|
|
22360
22594
|
*
|
|
22361
22595
|
* @type {string}
|
|
@@ -22392,12 +22626,6 @@ export interface DataTypesSubscriptionPaymentResponse {
|
|
|
22392
22626
|
* @memberof DataTypesSubscriptionPaymentResponse
|
|
22393
22627
|
*/
|
|
22394
22628
|
'processed_at'?: string;
|
|
22395
|
-
/**
|
|
22396
|
-
*
|
|
22397
|
-
* @type {string}
|
|
22398
|
-
* @memberof DataTypesSubscriptionPaymentResponse
|
|
22399
|
-
*/
|
|
22400
|
-
'razorpay_subscription_id'?: string;
|
|
22401
22629
|
/**
|
|
22402
22630
|
*
|
|
22403
22631
|
* @type {number}
|
|
@@ -22441,6 +22669,12 @@ export interface DataTypesSubscriptionPaymentStatus {
|
|
|
22441
22669
|
* @memberof DataTypesSubscriptionPaymentStatus
|
|
22442
22670
|
*/
|
|
22443
22671
|
'days_overdue'?: number;
|
|
22672
|
+
/**
|
|
22673
|
+
*
|
|
22674
|
+
* @type {string}
|
|
22675
|
+
* @memberof DataTypesSubscriptionPaymentStatus
|
|
22676
|
+
*/
|
|
22677
|
+
'gateway_subscription_id'?: string;
|
|
22444
22678
|
/**
|
|
22445
22679
|
*
|
|
22446
22680
|
* @type {boolean}
|
|
@@ -22477,12 +22711,6 @@ export interface DataTypesSubscriptionPaymentStatus {
|
|
|
22477
22711
|
* @memberof DataTypesSubscriptionPaymentStatus
|
|
22478
22712
|
*/
|
|
22479
22713
|
'org_id'?: number;
|
|
22480
|
-
/**
|
|
22481
|
-
*
|
|
22482
|
-
* @type {string}
|
|
22483
|
-
* @memberof DataTypesSubscriptionPaymentStatus
|
|
22484
|
-
*/
|
|
22485
|
-
'razorpay_subscription_id'?: string;
|
|
22486
22714
|
/**
|
|
22487
22715
|
*
|
|
22488
22716
|
* @type {string}
|
|
@@ -26522,6 +26750,12 @@ export interface QuerySuggestionsServiceManualQuerySuggestionRequest {
|
|
|
26522
26750
|
* @memberof QuerySuggestionsServiceManualQuerySuggestionRequest
|
|
26523
26751
|
*/
|
|
26524
26752
|
'metadata'?: { [key: string]: string; };
|
|
26753
|
+
/**
|
|
26754
|
+
* Optional, defaults to 0 (saved and returned)
|
|
26755
|
+
* @type {number}
|
|
26756
|
+
* @memberof QuerySuggestionsServiceManualQuerySuggestionRequest
|
|
26757
|
+
*/
|
|
26758
|
+
'popularity'?: number;
|
|
26525
26759
|
/**
|
|
26526
26760
|
* Optional, defaults to 0
|
|
26527
26761
|
* @type {number}
|
|
@@ -26682,6 +26916,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
|
|
|
26682
26916
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26683
26917
|
*/
|
|
26684
26918
|
'category_counts'?: boolean;
|
|
26919
|
+
/**
|
|
26920
|
+
* Max suggestions for empty queries (default: uses HitsPerPage)
|
|
26921
|
+
* @type {number}
|
|
26922
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26923
|
+
*/
|
|
26924
|
+
'empty_query_recommendations_limit'?: number;
|
|
26685
26925
|
/**
|
|
26686
26926
|
* Whether auto query suggestions management feature is enabled (controls UI visibility)
|
|
26687
26927
|
* @type {boolean}
|
|
@@ -26694,6 +26934,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
|
|
|
26694
26934
|
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26695
26935
|
*/
|
|
26696
26936
|
'enable_category_suggestions'?: boolean;
|
|
26937
|
+
/**
|
|
26938
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered
|
|
26939
|
+
* @type {boolean}
|
|
26940
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionConfig
|
|
26941
|
+
*/
|
|
26942
|
+
'enable_empty_query_recommendations'?: boolean;
|
|
26697
26943
|
/**
|
|
26698
26944
|
* Whether to include facet-based suggestions
|
|
26699
26945
|
* @type {boolean}
|
|
@@ -27272,6 +27518,121 @@ export interface QuerySuggestionsServiceQuerySuggestionsConfig {
|
|
|
27272
27518
|
*/
|
|
27273
27519
|
'supported_time_ranges'?: Array<string>;
|
|
27274
27520
|
}
|
|
27521
|
+
/**
|
|
27522
|
+
*
|
|
27523
|
+
* @export
|
|
27524
|
+
* @interface QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27525
|
+
*/
|
|
27526
|
+
export interface QuerySuggestionsServiceQuerySuggestionsRequest {
|
|
27527
|
+
/**
|
|
27528
|
+
* Filter suggestions by analytics tags
|
|
27529
|
+
* @type {Array<string>}
|
|
27530
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27531
|
+
*/
|
|
27532
|
+
'analytics_tags'?: Array<string>;
|
|
27533
|
+
/**
|
|
27534
|
+
* Anonymous/cookie ID for personalization
|
|
27535
|
+
* @type {string}
|
|
27536
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27537
|
+
*/
|
|
27538
|
+
'anon_id'?: string;
|
|
27539
|
+
/**
|
|
27540
|
+
* Disable fuzzy matching
|
|
27541
|
+
* @type {boolean}
|
|
27542
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27543
|
+
*/
|
|
27544
|
+
'disable_typo_tolerance'?: boolean;
|
|
27545
|
+
/**
|
|
27546
|
+
* Filtered tabs (optional, overrides config if provided)
|
|
27547
|
+
* @type {Array<DataTypesFilteredTabConfig>}
|
|
27548
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27549
|
+
*/
|
|
27550
|
+
'filtered_tabs'?: Array<DataTypesFilteredTabConfig>;
|
|
27551
|
+
/**
|
|
27552
|
+
* Number of suggestions to return (default: 5)
|
|
27553
|
+
* @type {number}
|
|
27554
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27555
|
+
*/
|
|
27556
|
+
'hitsPerPage'?: number;
|
|
27557
|
+
/**
|
|
27558
|
+
* Include category information
|
|
27559
|
+
* @type {boolean}
|
|
27560
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27561
|
+
*/
|
|
27562
|
+
'include_categories'?: boolean;
|
|
27563
|
+
/**
|
|
27564
|
+
* Rich dropdown recommendations (optional, data-agnostic)
|
|
27565
|
+
* @type {boolean}
|
|
27566
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27567
|
+
*/
|
|
27568
|
+
'include_dropdown_recommendations'?: boolean;
|
|
27569
|
+
/**
|
|
27570
|
+
* Empty query recommendations - show meaningful suggestions when no query is entered When true and query is empty, returns popular/trending suggestions instead of an empty array
|
|
27571
|
+
* @type {boolean}
|
|
27572
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27573
|
+
*/
|
|
27574
|
+
'include_empty_query_recommendations'?: boolean;
|
|
27575
|
+
/**
|
|
27576
|
+
* Include facet information
|
|
27577
|
+
* @type {boolean}
|
|
27578
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27579
|
+
*/
|
|
27580
|
+
'include_facets'?: boolean;
|
|
27581
|
+
/**
|
|
27582
|
+
* Max categories per suggestion (default: 3)
|
|
27583
|
+
* @type {number}
|
|
27584
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27585
|
+
*/
|
|
27586
|
+
'max_categories'?: number;
|
|
27587
|
+
/**
|
|
27588
|
+
* Max facets per suggestion (default: 5)
|
|
27589
|
+
* @type {number}
|
|
27590
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27591
|
+
*/
|
|
27592
|
+
'max_facets'?: number;
|
|
27593
|
+
/**
|
|
27594
|
+
* Minimum popularity threshold
|
|
27595
|
+
* @type {number}
|
|
27596
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27597
|
+
*/
|
|
27598
|
+
'min_popularity'?: number;
|
|
27599
|
+
/**
|
|
27600
|
+
* Page number for pagination (default: 0)
|
|
27601
|
+
* @type {number}
|
|
27602
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27603
|
+
*/
|
|
27604
|
+
'page'?: number;
|
|
27605
|
+
/**
|
|
27606
|
+
* Partial query to get suggestions for
|
|
27607
|
+
* @type {string}
|
|
27608
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27609
|
+
*/
|
|
27610
|
+
'query'?: string;
|
|
27611
|
+
/**
|
|
27612
|
+
* Session ID for session-based personalization
|
|
27613
|
+
* @type {string}
|
|
27614
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27615
|
+
*/
|
|
27616
|
+
'session_id'?: string;
|
|
27617
|
+
/**
|
|
27618
|
+
* \"any\" or \"all\" for analytics tags
|
|
27619
|
+
* @type {string}
|
|
27620
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27621
|
+
*/
|
|
27622
|
+
'tags_match_mode'?: string;
|
|
27623
|
+
/**
|
|
27624
|
+
* \"7d\", \"30d\", \"90d\" (default: \"30d\")
|
|
27625
|
+
* @type {string}
|
|
27626
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27627
|
+
*/
|
|
27628
|
+
'time_range'?: string;
|
|
27629
|
+
/**
|
|
27630
|
+
* Personalization fields (optional, backward compatible)
|
|
27631
|
+
* @type {string}
|
|
27632
|
+
* @memberof QuerySuggestionsServiceQuerySuggestionsRequest
|
|
27633
|
+
*/
|
|
27634
|
+
'user_id'?: string;
|
|
27635
|
+
}
|
|
27275
27636
|
/**
|
|
27276
27637
|
*
|
|
27277
27638
|
* @export
|
|
@@ -40724,6 +41085,39 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
40724
41085
|
|
|
40725
41086
|
|
|
40726
41087
|
|
|
41088
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41089
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41090
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
41091
|
+
|
|
41092
|
+
return {
|
|
41093
|
+
url: toPathString(localVarUrlObj),
|
|
41094
|
+
options: localVarRequestOptions,
|
|
41095
|
+
};
|
|
41096
|
+
},
|
|
41097
|
+
/**
|
|
41098
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
41099
|
+
* @summary Get cancelled subscriptions history
|
|
41100
|
+
* @param {*} [options] Override http request option.
|
|
41101
|
+
* @throws {RequiredError}
|
|
41102
|
+
*/
|
|
41103
|
+
apiAdminBillingCancelledSubscriptionsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41104
|
+
const localVarPath = `/api/admin/billing/cancelled-subscriptions`;
|
|
41105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41107
|
+
let baseOptions;
|
|
41108
|
+
if (configuration) {
|
|
41109
|
+
baseOptions = configuration.baseOptions;
|
|
41110
|
+
}
|
|
41111
|
+
|
|
41112
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
41113
|
+
const localVarHeaderParameter = {} as any;
|
|
41114
|
+
const localVarQueryParameter = {} as any;
|
|
41115
|
+
|
|
41116
|
+
// authentication BearerAuth required
|
|
41117
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
41118
|
+
|
|
41119
|
+
|
|
41120
|
+
|
|
40727
41121
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40728
41122
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40729
41123
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -41249,6 +41643,18 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
41249
41643
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']?.[localVarOperationServerIndex]?.url;
|
|
41250
41644
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41251
41645
|
},
|
|
41646
|
+
/**
|
|
41647
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
41648
|
+
* @summary Get cancelled subscriptions history
|
|
41649
|
+
* @param {*} [options] Override http request option.
|
|
41650
|
+
* @throws {RequiredError}
|
|
41651
|
+
*/
|
|
41652
|
+
async apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo>> {
|
|
41653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminBillingCancelledSubscriptionsGet(options);
|
|
41654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41655
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.apiAdminBillingCancelledSubscriptionsGet']?.[localVarOperationServerIndex]?.url;
|
|
41656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41657
|
+
},
|
|
41252
41658
|
}
|
|
41253
41659
|
};
|
|
41254
41660
|
|
|
@@ -41666,6 +42072,15 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
41666
42072
|
adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
41667
42073
|
return localVarFp.adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(axios, basePath));
|
|
41668
42074
|
},
|
|
42075
|
+
/**
|
|
42076
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
42077
|
+
* @summary Get cancelled subscriptions history
|
|
42078
|
+
* @param {*} [options] Override http request option.
|
|
42079
|
+
* @throws {RequiredError}
|
|
42080
|
+
*/
|
|
42081
|
+
apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceCancelledSubscriptionInfo> {
|
|
42082
|
+
return localVarFp.apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(axios, basePath));
|
|
42083
|
+
},
|
|
41669
42084
|
};
|
|
41670
42085
|
};
|
|
41671
42086
|
|
|
@@ -42148,6 +42563,17 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
42148
42563
|
public adminBillingUsageDetailsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingUsageDetailsGetGranularityEnum, chartPage?: number, chartPageSize?: number, endpointPage?: number, endpointPageSize?: number, consumptionPage?: number, consumptionPageSize?: number, options?: RawAxiosRequestConfig) {
|
|
42149
42564
|
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(xstoreid, startDate, endDate, granularity, chartPage, chartPageSize, endpointPage, endpointPageSize, consumptionPage, consumptionPageSize, options).then((request) => request(this.axios, this.basePath));
|
|
42150
42565
|
}
|
|
42566
|
+
|
|
42567
|
+
/**
|
|
42568
|
+
* Retrieves a list of all historically cancelled subscriptions for the organization with cancellation details, refund info, and credits removed
|
|
42569
|
+
* @summary Get cancelled subscriptions history
|
|
42570
|
+
* @param {*} [options] Override http request option.
|
|
42571
|
+
* @throws {RequiredError}
|
|
42572
|
+
* @memberof BillingDashboardApi
|
|
42573
|
+
*/
|
|
42574
|
+
public apiAdminBillingCancelledSubscriptionsGet(options?: RawAxiosRequestConfig) {
|
|
42575
|
+
return BillingDashboardApiFp(this.configuration).apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
|
|
42576
|
+
}
|
|
42151
42577
|
}
|
|
42152
42578
|
|
|
42153
42579
|
/**
|
|
@@ -52203,10 +52629,11 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
52203
52629
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52204
52630
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52205
52631
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52632
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
52206
52633
|
* @param {*} [options] Override http request option.
|
|
52207
52634
|
* @throws {RequiredError}
|
|
52208
52635
|
*/
|
|
52209
|
-
v1NotificationsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52636
|
+
v1NotificationsGet: async (page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52210
52637
|
const localVarPath = `/v1/notifications`;
|
|
52211
52638
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52212
52639
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -52262,6 +52689,10 @@ export const NotificationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
52262
52689
|
localVarQueryParameter['sort_order'] = sortOrder;
|
|
52263
52690
|
}
|
|
52264
52691
|
|
|
52692
|
+
if (since !== undefined) {
|
|
52693
|
+
localVarQueryParameter['since'] = since;
|
|
52694
|
+
}
|
|
52695
|
+
|
|
52265
52696
|
|
|
52266
52697
|
|
|
52267
52698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -52527,11 +52958,12 @@ export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
|
52527
52958
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52528
52959
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52529
52960
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
52961
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
52530
52962
|
* @param {*} [options] Override http request option.
|
|
52531
52963
|
* @throws {RequiredError}
|
|
52532
52964
|
*/
|
|
52533
|
-
async v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationListResponse>> {
|
|
52534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options);
|
|
52965
|
+
async v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesNotificationListResponse>> {
|
|
52966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options);
|
|
52535
52967
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
52536
52968
|
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.v1NotificationsGet']?.[localVarOperationServerIndex]?.url;
|
|
52537
52969
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -52646,11 +53078,12 @@ export const NotificationsApiFactory = function (configuration?: Configuration,
|
|
|
52646
53078
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52647
53079
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52648
53080
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
53081
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
52649
53082
|
* @param {*} [options] Override http request option.
|
|
52650
53083
|
* @throws {RequiredError}
|
|
52651
53084
|
*/
|
|
52652
|
-
v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationListResponse> {
|
|
52653
|
-
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
53085
|
+
v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesNotificationListResponse> {
|
|
53086
|
+
return localVarFp.v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(axios, basePath));
|
|
52654
53087
|
},
|
|
52655
53088
|
/**
|
|
52656
53089
|
* Generates a fresh presigned URL for notification attachments (invoice or receipt). This is useful when the original presigned URL has expired.
|
|
@@ -52746,12 +53179,13 @@ export class NotificationsApi extends BaseAPI {
|
|
|
52746
53179
|
* @param {V1NotificationsGetPriorityEnum} [priority] Filter by priority
|
|
52747
53180
|
* @param {V1NotificationsGetSortByEnum} [sortBy] Sort field
|
|
52748
53181
|
* @param {V1NotificationsGetSortOrderEnum} [sortOrder] Sort order (case-insensitive)
|
|
53182
|
+
* @param {string} [since] ISO8601 timestamp - return only notifications created strictly after this time (excludes notifications with this exact timestamp)
|
|
52749
53183
|
* @param {*} [options] Override http request option.
|
|
52750
53184
|
* @throws {RequiredError}
|
|
52751
53185
|
* @memberof NotificationsApi
|
|
52752
53186
|
*/
|
|
52753
|
-
public v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, options?: RawAxiosRequestConfig) {
|
|
52754
|
-
return NotificationsApiFp(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
53187
|
+
public v1NotificationsGet(page?: number, pageSize?: number, limit?: number, offset?: number, search?: string, type?: V1NotificationsGetTypeEnum, isRead?: V1NotificationsGetIsReadEnum, priority?: V1NotificationsGetPriorityEnum, sortBy?: V1NotificationsGetSortByEnum, sortOrder?: V1NotificationsGetSortOrderEnum, since?: string, options?: RawAxiosRequestConfig) {
|
|
53188
|
+
return NotificationsApiFp(this.configuration).v1NotificationsGet(page, pageSize, limit, offset, search, type, isRead, priority, sortBy, sortOrder, since, options).then((request) => request(this.axios, this.basePath));
|
|
52755
53189
|
}
|
|
52756
53190
|
|
|
52757
53191
|
/**
|
|
@@ -57769,6 +58203,64 @@ export const QuerySuggestionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
57769
58203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57770
58204
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57771
58205
|
|
|
58206
|
+
return {
|
|
58207
|
+
url: toPathString(localVarUrlObj),
|
|
58208
|
+
options: localVarRequestOptions,
|
|
58209
|
+
};
|
|
58210
|
+
},
|
|
58211
|
+
/**
|
|
58212
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58213
|
+
* @summary Post Query Suggestions
|
|
58214
|
+
* @param {string} xStoreid Store ID
|
|
58215
|
+
* @param {string} xStoresecret Store Secret
|
|
58216
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58217
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58218
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58219
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58220
|
+
* @param {*} [options] Override http request option.
|
|
58221
|
+
* @throws {RequiredError}
|
|
58222
|
+
*/
|
|
58223
|
+
v1SuggestionsQueriesPost: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58224
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
58225
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoreid', xStoreid)
|
|
58226
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
58227
|
+
assertParamExists('v1SuggestionsQueriesPost', 'xStoresecret', xStoresecret)
|
|
58228
|
+
const localVarPath = `/v1/suggestions/queries`;
|
|
58229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58231
|
+
let baseOptions;
|
|
58232
|
+
if (configuration) {
|
|
58233
|
+
baseOptions = configuration.baseOptions;
|
|
58234
|
+
}
|
|
58235
|
+
|
|
58236
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
58237
|
+
const localVarHeaderParameter = {} as any;
|
|
58238
|
+
const localVarQueryParameter = {} as any;
|
|
58239
|
+
|
|
58240
|
+
|
|
58241
|
+
|
|
58242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
58243
|
+
|
|
58244
|
+
if (xStoreid != null) {
|
|
58245
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
58246
|
+
}
|
|
58247
|
+
if (xStoresecret != null) {
|
|
58248
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
58249
|
+
}
|
|
58250
|
+
if (xUserId != null) {
|
|
58251
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
58252
|
+
}
|
|
58253
|
+
if (xAnonId != null) {
|
|
58254
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
58255
|
+
}
|
|
58256
|
+
if (xSessionId != null) {
|
|
58257
|
+
localVarHeaderParameter['x-session-id'] = String(xSessionId);
|
|
58258
|
+
}
|
|
58259
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58260
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58261
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
58262
|
+
localVarRequestOptions.data = serializeDataIfNeeded(querySuggestionsServiceQuerySuggestionsRequest, localVarRequestOptions, configuration)
|
|
58263
|
+
|
|
57772
58264
|
return {
|
|
57773
58265
|
url: toPathString(localVarUrlObj),
|
|
57774
58266
|
options: localVarRequestOptions,
|
|
@@ -57827,6 +58319,24 @@ export const QuerySuggestionsApiFp = function(configuration?: Configuration) {
|
|
|
57827
58319
|
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
|
|
57828
58320
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57829
58321
|
},
|
|
58322
|
+
/**
|
|
58323
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58324
|
+
* @summary Post Query Suggestions
|
|
58325
|
+
* @param {string} xStoreid Store ID
|
|
58326
|
+
* @param {string} xStoresecret Store Secret
|
|
58327
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58328
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58329
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58330
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58331
|
+
* @param {*} [options] Override http request option.
|
|
58332
|
+
* @throws {RequiredError}
|
|
58333
|
+
*/
|
|
58334
|
+
async v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>> {
|
|
58335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options);
|
|
58336
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58337
|
+
const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesPost']?.[localVarOperationServerIndex]?.url;
|
|
58338
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58339
|
+
},
|
|
57830
58340
|
}
|
|
57831
58341
|
};
|
|
57832
58342
|
|
|
@@ -57874,6 +58384,21 @@ export const QuerySuggestionsApiFactory = function (configuration?: Configuratio
|
|
|
57874
58384
|
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> {
|
|
57875
58385
|
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));
|
|
57876
58386
|
},
|
|
58387
|
+
/**
|
|
58388
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58389
|
+
* @summary Post Query Suggestions
|
|
58390
|
+
* @param {string} xStoreid Store ID
|
|
58391
|
+
* @param {string} xStoresecret Store Secret
|
|
58392
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58393
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58394
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58395
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58396
|
+
* @param {*} [options] Override http request option.
|
|
58397
|
+
* @throws {RequiredError}
|
|
58398
|
+
*/
|
|
58399
|
+
v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse> {
|
|
58400
|
+
return localVarFp.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
|
|
58401
|
+
},
|
|
57877
58402
|
};
|
|
57878
58403
|
};
|
|
57879
58404
|
|
|
@@ -57924,6 +58449,23 @@ export class QuerySuggestionsApi extends BaseAPI {
|
|
|
57924
58449
|
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) {
|
|
57925
58450
|
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));
|
|
57926
58451
|
}
|
|
58452
|
+
|
|
58453
|
+
/**
|
|
58454
|
+
* Same as GET: retrieve query suggestions with optional body (query, hitsPerPage, analytics_tags, filtered_tabs, etc.). Use POST when sending filtered_tabs or larger payloads. Supports personalization via x-user-id, x-anon-id, x-session-id headers.
|
|
58455
|
+
* @summary Post Query Suggestions
|
|
58456
|
+
* @param {string} xStoreid Store ID
|
|
58457
|
+
* @param {string} xStoresecret Store Secret
|
|
58458
|
+
* @param {string} [xUserId] User ID for personalization (logged-in user)
|
|
58459
|
+
* @param {string} [xAnonId] Anonymous ID for personalization (cookie/device ID)
|
|
58460
|
+
* @param {string} [xSessionId] Session ID for personalization
|
|
58461
|
+
* @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Query suggestions request (query, hitsPerPage, page, analytics_tags, include_categories, include_facets, filtered_tabs, etc.)
|
|
58462
|
+
* @param {*} [options] Override http request option.
|
|
58463
|
+
* @throws {RequiredError}
|
|
58464
|
+
* @memberof QuerySuggestionsApi
|
|
58465
|
+
*/
|
|
58466
|
+
public v1SuggestionsQueriesPost(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, xSessionId?: string, querySuggestionsServiceQuerySuggestionsRequest?: QuerySuggestionsServiceQuerySuggestionsRequest, options?: RawAxiosRequestConfig) {
|
|
58467
|
+
return QuerySuggestionsApiFp(this.configuration).v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
58468
|
+
}
|
|
57927
58469
|
}
|
|
57928
58470
|
|
|
57929
58471
|
/**
|
|
@@ -70001,6 +70543,46 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
70001
70543
|
options: localVarRequestOptions,
|
|
70002
70544
|
};
|
|
70003
70545
|
},
|
|
70546
|
+
/**
|
|
70547
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
70548
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
70549
|
+
* @param {string} token Invitation Token
|
|
70550
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
70551
|
+
* @param {*} [options] Override http request option.
|
|
70552
|
+
* @throws {RequiredError}
|
|
70553
|
+
*/
|
|
70554
|
+
v1InvitationsTokenAcceptWithOauthPost: async (token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70555
|
+
// verify required parameter 'token' is not null or undefined
|
|
70556
|
+
assertParamExists('v1InvitationsTokenAcceptWithOauthPost', 'token', token)
|
|
70557
|
+
// verify required parameter 'dataTypesAcceptInvitationWithOAuthRequest' is not null or undefined
|
|
70558
|
+
assertParamExists('v1InvitationsTokenAcceptWithOauthPost', 'dataTypesAcceptInvitationWithOAuthRequest', dataTypesAcceptInvitationWithOAuthRequest)
|
|
70559
|
+
const localVarPath = `/v1/invitations/{token}/accept-with-oauth`
|
|
70560
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
70561
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70562
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70563
|
+
let baseOptions;
|
|
70564
|
+
if (configuration) {
|
|
70565
|
+
baseOptions = configuration.baseOptions;
|
|
70566
|
+
}
|
|
70567
|
+
|
|
70568
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
70569
|
+
const localVarHeaderParameter = {} as any;
|
|
70570
|
+
const localVarQueryParameter = {} as any;
|
|
70571
|
+
|
|
70572
|
+
|
|
70573
|
+
|
|
70574
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70575
|
+
|
|
70576
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70578
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70579
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAcceptInvitationWithOAuthRequest, localVarRequestOptions, configuration)
|
|
70580
|
+
|
|
70581
|
+
return {
|
|
70582
|
+
url: toPathString(localVarUrlObj),
|
|
70583
|
+
options: localVarRequestOptions,
|
|
70584
|
+
};
|
|
70585
|
+
},
|
|
70004
70586
|
/**
|
|
70005
70587
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70006
70588
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -70589,6 +71171,20 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
70589
71171
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenAcceptPost']?.[localVarOperationServerIndex]?.url;
|
|
70590
71172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70591
71173
|
},
|
|
71174
|
+
/**
|
|
71175
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
71176
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
71177
|
+
* @param {string} token Invitation Token
|
|
71178
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
71179
|
+
* @param {*} [options] Override http request option.
|
|
71180
|
+
* @throws {RequiredError}
|
|
71181
|
+
*/
|
|
71182
|
+
async v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesLoginResponseWrapper>> {
|
|
71183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options);
|
|
71184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
71185
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsTokenAcceptWithOauthPost']?.[localVarOperationServerIndex]?.url;
|
|
71186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
71187
|
+
},
|
|
70592
71188
|
/**
|
|
70593
71189
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70594
71190
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -70834,6 +71430,17 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
70834
71430
|
v1InvitationsTokenAcceptPost(token: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
70835
71431
|
return localVarFp.v1InvitationsTokenAcceptPost(token, options).then((request) => request(axios, basePath));
|
|
70836
71432
|
},
|
|
71433
|
+
/**
|
|
71434
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
71435
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
71436
|
+
* @param {string} token Invitation Token
|
|
71437
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
71438
|
+
* @param {*} [options] Override http request option.
|
|
71439
|
+
* @throws {RequiredError}
|
|
71440
|
+
*/
|
|
71441
|
+
v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesLoginResponseWrapper> {
|
|
71442
|
+
return localVarFp.v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(axios, basePath));
|
|
71443
|
+
},
|
|
70837
71444
|
/**
|
|
70838
71445
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
70839
71446
|
* @summary Accept invitation and set password (onboarding)
|
|
@@ -71052,6 +71659,19 @@ export class TeamApi extends BaseAPI {
|
|
|
71052
71659
|
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptPost(token, options).then((request) => request(this.axios, this.basePath));
|
|
71053
71660
|
}
|
|
71054
71661
|
|
|
71662
|
+
/**
|
|
71663
|
+
* Accepts a team invitation using OAuth (Google/GitHub), creates user account if needed, links OAuth, and returns session token
|
|
71664
|
+
* @summary Accept invitation with OAuth (onboarding)
|
|
71665
|
+
* @param {string} token Invitation Token
|
|
71666
|
+
* @param {DataTypesAcceptInvitationWithOAuthRequest} dataTypesAcceptInvitationWithOAuthRequest OAuth details
|
|
71667
|
+
* @param {*} [options] Override http request option.
|
|
71668
|
+
* @throws {RequiredError}
|
|
71669
|
+
* @memberof TeamApi
|
|
71670
|
+
*/
|
|
71671
|
+
public v1InvitationsTokenAcceptWithOauthPost(token: string, dataTypesAcceptInvitationWithOAuthRequest: DataTypesAcceptInvitationWithOAuthRequest, options?: RawAxiosRequestConfig) {
|
|
71672
|
+
return TeamApiFp(this.configuration).v1InvitationsTokenAcceptWithOauthPost(token, dataTypesAcceptInvitationWithOAuthRequest, options).then((request) => request(this.axios, this.basePath));
|
|
71673
|
+
}
|
|
71674
|
+
|
|
71055
71675
|
/**
|
|
71056
71676
|
* Accepts a team invitation, creates user account if needed, sets password, and returns session token
|
|
71057
71677
|
* @summary Accept invitation and set password (onboarding)
|