@seekora-ai/admin-api 1.1.69 → 1.1.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -9392,6 +9392,12 @@ export interface DataTypesCreateUserResponse {
9392
9392
  * @memberof DataTypesCreateUserResponse
9393
9393
  */
9394
9394
  'can_resend_at'?: number;
9395
+ /**
9396
+ *
9397
+ * @type {string}
9398
+ * @memberof DataTypesCreateUserResponse
9399
+ */
9400
+ 'otp'?: string;
9395
9401
  /**
9396
9402
  *
9397
9403
  * @type {boolean}
@@ -10583,6 +10589,91 @@ export interface DataTypesDropdownRecommendationsConfig {
10583
10589
  */
10584
10590
  'use_query_suggestions_config'?: boolean;
10585
10591
  }
10592
+ /**
10593
+ *
10594
+ * @export
10595
+ * @interface DataTypesDueSubscription
10596
+ */
10597
+ export interface DataTypesDueSubscription {
10598
+ /**
10599
+ *
10600
+ * @type {number}
10601
+ * @memberof DataTypesDueSubscription
10602
+ */
10603
+ 'amount'?: number;
10604
+ /**
10605
+ *
10606
+ * @type {boolean}
10607
+ * @memberof DataTypesDueSubscription
10608
+ */
10609
+ 'auto_renewal'?: boolean;
10610
+ /**
10611
+ *
10612
+ * @type {string}
10613
+ * @memberof DataTypesDueSubscription
10614
+ */
10615
+ 'currency'?: string;
10616
+ /**
10617
+ * Negative if not yet due
10618
+ * @type {number}
10619
+ * @memberof DataTypesDueSubscription
10620
+ */
10621
+ 'days_overdue'?: number;
10622
+ /**
10623
+ *
10624
+ * @type {string}
10625
+ * @memberof DataTypesDueSubscription
10626
+ */
10627
+ 'last_payment_date'?: string;
10628
+ /**
10629
+ *
10630
+ * @type {string}
10631
+ * @memberof DataTypesDueSubscription
10632
+ */
10633
+ 'last_payment_status'?: string;
10634
+ /**
10635
+ *
10636
+ * @type {string}
10637
+ * @memberof DataTypesDueSubscription
10638
+ */
10639
+ 'next_billing_date'?: string;
10640
+ /**
10641
+ *
10642
+ * @type {number}
10643
+ * @memberof DataTypesDueSubscription
10644
+ */
10645
+ 'org_id'?: number;
10646
+ /**
10647
+ *
10648
+ * @type {number}
10649
+ * @memberof DataTypesDueSubscription
10650
+ */
10651
+ 'plan_id'?: number;
10652
+ /**
10653
+ *
10654
+ * @type {string}
10655
+ * @memberof DataTypesDueSubscription
10656
+ */
10657
+ 'plan_name'?: string;
10658
+ /**
10659
+ *
10660
+ * @type {string}
10661
+ * @memberof DataTypesDueSubscription
10662
+ */
10663
+ 'razorpay_subscription_id'?: string;
10664
+ /**
10665
+ *
10666
+ * @type {string}
10667
+ * @memberof DataTypesDueSubscription
10668
+ */
10669
+ 'status'?: string;
10670
+ /**
10671
+ *
10672
+ * @type {number}
10673
+ * @memberof DataTypesDueSubscription
10674
+ */
10675
+ 'subscription_id'?: number;
10676
+ }
10586
10677
  /**
10587
10678
  *
10588
10679
  * @export
@@ -11536,6 +11627,74 @@ export interface DataTypesGatewayListResponse {
11536
11627
  */
11537
11628
  'gateways'?: Array<DataTypesGatewayInfo>;
11538
11629
  }
11630
+ /**
11631
+ *
11632
+ * @export
11633
+ * @interface DataTypesGenerateInvoiceReceiptRequest
11634
+ */
11635
+ export interface DataTypesGenerateInvoiceReceiptRequest {
11636
+ /**
11637
+ * Optional: for validation
11638
+ * @type {number}
11639
+ * @memberof DataTypesGenerateInvoiceReceiptRequest
11640
+ */
11641
+ 'org_id'?: number;
11642
+ /**
11643
+ * Internal payment_transactions.payment_id
11644
+ * @type {number}
11645
+ * @memberof DataTypesGenerateInvoiceReceiptRequest
11646
+ */
11647
+ 'payment_id'?: number;
11648
+ }
11649
+ /**
11650
+ *
11651
+ * @export
11652
+ * @interface DataTypesGenerateInvoiceReceiptResponse
11653
+ */
11654
+ export interface DataTypesGenerateInvoiceReceiptResponse {
11655
+ /**
11656
+ *
11657
+ * @type {string}
11658
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11659
+ */
11660
+ 'error'?: string;
11661
+ /**
11662
+ *
11663
+ * @type {string}
11664
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11665
+ */
11666
+ 'invoice_id'?: string;
11667
+ /**
11668
+ *
11669
+ * @type {string}
11670
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11671
+ */
11672
+ 'message'?: string;
11673
+ /**
11674
+ *
11675
+ * @type {number}
11676
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11677
+ */
11678
+ 'payment_id'?: number;
11679
+ /**
11680
+ *
11681
+ * @type {string}
11682
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11683
+ */
11684
+ 'processed_at'?: string;
11685
+ /**
11686
+ *
11687
+ * @type {number}
11688
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11689
+ */
11690
+ 'receipt_id'?: number;
11691
+ /**
11692
+ *
11693
+ * @type {boolean}
11694
+ * @memberof DataTypesGenerateInvoiceReceiptResponse
11695
+ */
11696
+ 'success'?: boolean;
11697
+ }
11539
11698
  /**
11540
11699
  *
11541
11700
  * @export
@@ -12336,6 +12495,37 @@ export interface DataTypesGenericStringArrayResponse {
12336
12495
  */
12337
12496
  'status'?: number;
12338
12497
  }
12498
+ /**
12499
+ *
12500
+ * @export
12501
+ * @interface DataTypesGetDueSubscriptionsResponse
12502
+ */
12503
+ export interface DataTypesGetDueSubscriptionsResponse {
12504
+ /**
12505
+ *
12506
+ * @type {number}
12507
+ * @memberof DataTypesGetDueSubscriptionsResponse
12508
+ */
12509
+ 'limit'?: number;
12510
+ /**
12511
+ *
12512
+ * @type {number}
12513
+ * @memberof DataTypesGetDueSubscriptionsResponse
12514
+ */
12515
+ 'offset'?: number;
12516
+ /**
12517
+ *
12518
+ * @type {Array<DataTypesDueSubscription>}
12519
+ * @memberof DataTypesGetDueSubscriptionsResponse
12520
+ */
12521
+ 'subscriptions'?: Array<DataTypesDueSubscription>;
12522
+ /**
12523
+ *
12524
+ * @type {number}
12525
+ * @memberof DataTypesGetDueSubscriptionsResponse
12526
+ */
12527
+ 'total'?: number;
12528
+ }
12339
12529
  /**
12340
12530
  *
12341
12531
  * @export
@@ -19699,6 +19889,74 @@ export interface DataTypesResponse {
19699
19889
  */
19700
19890
  'status'?: number;
19701
19891
  }
19892
+ /**
19893
+ *
19894
+ * @export
19895
+ * @interface DataTypesRetryFailedPaymentRequest
19896
+ */
19897
+ export interface DataTypesRetryFailedPaymentRequest {
19898
+ /**
19899
+ * Optional: for validation
19900
+ * @type {number}
19901
+ * @memberof DataTypesRetryFailedPaymentRequest
19902
+ */
19903
+ 'org_id'?: number;
19904
+ /**
19905
+ * Internal payment_transactions.payment_id
19906
+ * @type {number}
19907
+ * @memberof DataTypesRetryFailedPaymentRequest
19908
+ */
19909
+ 'payment_id'?: number;
19910
+ }
19911
+ /**
19912
+ *
19913
+ * @export
19914
+ * @interface DataTypesRetryFailedPaymentResponse
19915
+ */
19916
+ export interface DataTypesRetryFailedPaymentResponse {
19917
+ /**
19918
+ *
19919
+ * @type {string}
19920
+ * @memberof DataTypesRetryFailedPaymentResponse
19921
+ */
19922
+ 'error'?: string;
19923
+ /**
19924
+ *
19925
+ * @type {string}
19926
+ * @memberof DataTypesRetryFailedPaymentResponse
19927
+ */
19928
+ 'message'?: string;
19929
+ /**
19930
+ * New payment ID if retry succeeded
19931
+ * @type {string}
19932
+ * @memberof DataTypesRetryFailedPaymentResponse
19933
+ */
19934
+ 'new_payment_id'?: string;
19935
+ /**
19936
+ *
19937
+ * @type {number}
19938
+ * @memberof DataTypesRetryFailedPaymentResponse
19939
+ */
19940
+ 'payment_id'?: number;
19941
+ /**
19942
+ *
19943
+ * @type {string}
19944
+ * @memberof DataTypesRetryFailedPaymentResponse
19945
+ */
19946
+ 'processed_at'?: string;
19947
+ /**
19948
+ *
19949
+ * @type {string}
19950
+ * @memberof DataTypesRetryFailedPaymentResponse
19951
+ */
19952
+ 'status'?: string;
19953
+ /**
19954
+ *
19955
+ * @type {boolean}
19956
+ * @memberof DataTypesRetryFailedPaymentResponse
19957
+ */
19958
+ 'success'?: boolean;
19959
+ }
19702
19960
  /**
19703
19961
  *
19704
19962
  * @export
@@ -21033,17 +21291,41 @@ export interface DataTypesSetPasswordRequest {
21033
21291
  */
21034
21292
  export interface DataTypesSetUserCustomPermissionsRequest {
21035
21293
  /**
21036
- * Route-level permissions
21294
+ * Full access to all stores
21295
+ * @type {boolean}
21296
+ * @memberof DataTypesSetUserCustomPermissionsRequest
21297
+ */
21298
+ 'allStoresFullAccess'?: boolean;
21299
+ /**
21300
+ * Full access at role level
21301
+ * @type {boolean}
21302
+ * @memberof DataTypesSetUserCustomPermissionsRequest
21303
+ */
21304
+ 'fullAccess'?: boolean;
21305
+ /**
21306
+ * Grouped structures (preferred format for frontend)
21307
+ * @type {DataTypesGroupedRolePermissions}
21308
+ * @memberof DataTypesSetUserCustomPermissionsRequest
21309
+ */
21310
+ 'orgLevelMenusGrouped'?: DataTypesGroupedRolePermissions;
21311
+ /**
21312
+ * Route-level permissions (flat format - backward compatibility)
21037
21313
  * @type {Array<DataTypesRoleRightRequestDto>}
21038
21314
  * @memberof DataTypesSetUserCustomPermissionsRequest
21039
21315
  */
21040
21316
  'roleRights'?: Array<DataTypesRoleRightRequestDto>;
21041
21317
  /**
21042
- * Store-level permissions
21318
+ * Store-level permissions (flat format - backward compatibility)
21043
21319
  * @type {Array<DataTypesStoreAccessRequest>}
21044
21320
  * @memberof DataTypesSetUserCustomPermissionsRequest
21045
21321
  */
21046
21322
  'storeAccess'?: Array<DataTypesStoreAccessRequest>;
21323
+ /**
21324
+ * Store-level menus grouped by module and parent
21325
+ * @type {Array<DataTypesGroupedStoreAccess>}
21326
+ * @memberof DataTypesSetUserCustomPermissionsRequest
21327
+ */
21328
+ 'storeAccessGrouped'?: Array<DataTypesGroupedStoreAccess>;
21047
21329
  }
21048
21330
  /**
21049
21331
  *
@@ -21491,6 +21773,12 @@ export interface DataTypesStoreConfigWithOnboardingResponse {
21491
21773
  * @memberof DataTypesStoreConfigWithOnboardingResponse
21492
21774
  */
21493
21775
  'onboarding_status'?: DataTypesOnboardingStatus;
21776
+ /**
21777
+ * Query suggestions configuration (optional)
21778
+ * @type {any}
21779
+ * @memberof DataTypesStoreConfigWithOnboardingResponse
21780
+ */
21781
+ 'query_suggestions_config'?: any;
21494
21782
  }
21495
21783
  /**
21496
21784
  *
@@ -22104,6 +22392,189 @@ export interface DataTypesSubscription {
22104
22392
  */
22105
22393
  'subsID'?: number;
22106
22394
  }
22395
+ /**
22396
+ *
22397
+ * @export
22398
+ * @interface DataTypesSubscriptionPaymentRequest
22399
+ */
22400
+ export interface DataTypesSubscriptionPaymentRequest {
22401
+ /**
22402
+ * Optional: for validation
22403
+ * @type {number}
22404
+ * @memberof DataTypesSubscriptionPaymentRequest
22405
+ */
22406
+ 'org_id'?: number;
22407
+ /**
22408
+ * Internal subscription ID (subsID)
22409
+ * @type {number}
22410
+ * @memberof DataTypesSubscriptionPaymentRequest
22411
+ */
22412
+ 'subscription_id'?: number;
22413
+ }
22414
+ /**
22415
+ *
22416
+ * @export
22417
+ * @interface DataTypesSubscriptionPaymentResponse
22418
+ */
22419
+ export interface DataTypesSubscriptionPaymentResponse {
22420
+ /**
22421
+ *
22422
+ * @type {number}
22423
+ * @memberof DataTypesSubscriptionPaymentResponse
22424
+ */
22425
+ 'amount'?: number;
22426
+ /**
22427
+ *
22428
+ * @type {string}
22429
+ * @memberof DataTypesSubscriptionPaymentResponse
22430
+ */
22431
+ 'currency'?: string;
22432
+ /**
22433
+ *
22434
+ * @type {string}
22435
+ * @memberof DataTypesSubscriptionPaymentResponse
22436
+ */
22437
+ 'error'?: string;
22438
+ /**
22439
+ *
22440
+ * @type {string}
22441
+ * @memberof DataTypesSubscriptionPaymentResponse
22442
+ */
22443
+ 'invoice_id'?: string;
22444
+ /**
22445
+ *
22446
+ * @type {string}
22447
+ * @memberof DataTypesSubscriptionPaymentResponse
22448
+ */
22449
+ 'message'?: string;
22450
+ /**
22451
+ *
22452
+ * @type {string}
22453
+ * @memberof DataTypesSubscriptionPaymentResponse
22454
+ */
22455
+ 'next_billing_date'?: string;
22456
+ /**
22457
+ *
22458
+ * @type {number}
22459
+ * @memberof DataTypesSubscriptionPaymentResponse
22460
+ */
22461
+ 'org_id'?: number;
22462
+ /**
22463
+ *
22464
+ * @type {string}
22465
+ * @memberof DataTypesSubscriptionPaymentResponse
22466
+ */
22467
+ 'payment_id'?: string;
22468
+ /**
22469
+ *
22470
+ * @type {string}
22471
+ * @memberof DataTypesSubscriptionPaymentResponse
22472
+ */
22473
+ 'processed_at'?: string;
22474
+ /**
22475
+ *
22476
+ * @type {string}
22477
+ * @memberof DataTypesSubscriptionPaymentResponse
22478
+ */
22479
+ 'razorpay_subscription_id'?: string;
22480
+ /**
22481
+ *
22482
+ * @type {number}
22483
+ * @memberof DataTypesSubscriptionPaymentResponse
22484
+ */
22485
+ 'receipt_id'?: number;
22486
+ /**
22487
+ *
22488
+ * @type {string}
22489
+ * @memberof DataTypesSubscriptionPaymentResponse
22490
+ */
22491
+ 'status'?: string;
22492
+ /**
22493
+ *
22494
+ * @type {number}
22495
+ * @memberof DataTypesSubscriptionPaymentResponse
22496
+ */
22497
+ 'subscription_id'?: number;
22498
+ /**
22499
+ *
22500
+ * @type {boolean}
22501
+ * @memberof DataTypesSubscriptionPaymentResponse
22502
+ */
22503
+ 'success'?: boolean;
22504
+ }
22505
+ /**
22506
+ *
22507
+ * @export
22508
+ * @interface DataTypesSubscriptionPaymentStatus
22509
+ */
22510
+ export interface DataTypesSubscriptionPaymentStatus {
22511
+ /**
22512
+ *
22513
+ * @type {boolean}
22514
+ * @memberof DataTypesSubscriptionPaymentStatus
22515
+ */
22516
+ 'auto_renewal'?: boolean;
22517
+ /**
22518
+ *
22519
+ * @type {number}
22520
+ * @memberof DataTypesSubscriptionPaymentStatus
22521
+ */
22522
+ 'days_overdue'?: number;
22523
+ /**
22524
+ *
22525
+ * @type {boolean}
22526
+ * @memberof DataTypesSubscriptionPaymentStatus
22527
+ */
22528
+ 'is_due'?: boolean;
22529
+ /**
22530
+ *
22531
+ * @type {string}
22532
+ * @memberof DataTypesSubscriptionPaymentStatus
22533
+ */
22534
+ 'last_payment_date'?: string;
22535
+ /**
22536
+ *
22537
+ * @type {string}
22538
+ * @memberof DataTypesSubscriptionPaymentStatus
22539
+ */
22540
+ 'last_payment_id'?: string;
22541
+ /**
22542
+ *
22543
+ * @type {string}
22544
+ * @memberof DataTypesSubscriptionPaymentStatus
22545
+ */
22546
+ 'last_payment_status'?: string;
22547
+ /**
22548
+ *
22549
+ * @type {string}
22550
+ * @memberof DataTypesSubscriptionPaymentStatus
22551
+ */
22552
+ 'next_billing_date'?: string;
22553
+ /**
22554
+ *
22555
+ * @type {number}
22556
+ * @memberof DataTypesSubscriptionPaymentStatus
22557
+ */
22558
+ 'org_id'?: number;
22559
+ /**
22560
+ *
22561
+ * @type {string}
22562
+ * @memberof DataTypesSubscriptionPaymentStatus
22563
+ */
22564
+ 'razorpay_subscription_id'?: string;
22565
+ /**
22566
+ *
22567
+ * @type {string}
22568
+ * @memberof DataTypesSubscriptionPaymentStatus
22569
+ */
22570
+ 'status'?: string;
22571
+ /**
22572
+ *
22573
+ * @type {number}
22574
+ * @memberof DataTypesSubscriptionPaymentStatus
22575
+ */
22576
+ 'subscription_id'?: number;
22577
+ }
22107
22578
  /**
22108
22579
  *
22109
22580
  * @export
@@ -45181,13 +45652,125 @@ export declare class RolesApi extends BaseAPI {
45181
45652
  */
45182
45653
  adminRolesRoleIdPermissionsPut(roleId: number, dataTypesUpdateRolePermissionsRequest: DataTypesUpdateRolePermissionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
45183
45654
  }
45655
+ /**
45656
+ * SDKQuerySuggestionsConfigApi - axios parameter creator
45657
+ * @export
45658
+ */
45659
+ export declare const SDKQuerySuggestionsConfigApiAxiosParamCreator: (configuration?: Configuration) => {
45660
+ /**
45661
+ * Retrieves the store-specific query suggestions configuration using x-store ID and read secret. This is a public API for SDK integration, similar to Algolia\'s GET /1/configs/{configID} endpoint. Uses read secret (x-storesecret).
45662
+ * @summary Get Query Suggestions Config (Public SDK API)
45663
+ * @param {string} xStoreid Store ID
45664
+ * @param {string} xStoresecret Store Read Secret (for read operations)
45665
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45666
+ * @param {*} [options] Override http request option.
45667
+ * @throws {RequiredError}
45668
+ */
45669
+ apiV1StoresXStoreIDQuerySuggestionsConfigGet: (xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45670
+ /**
45671
+ * Updates the store-specific query suggestions configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration, similar to Algolia\'s PUT /1/configs/{configID} endpoint. Requires write secret (x-store-write-secret).
45672
+ * @summary Update Query Suggestions Config (Public SDK API)
45673
+ * @param {string} xStoreid Store ID
45674
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
45675
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45676
+ * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Query suggestions configuration (partial updates supported)
45677
+ * @param {*} [options] Override http request option.
45678
+ * @throws {RequiredError}
45679
+ */
45680
+ apiV1StoresXStoreIDQuerySuggestionsConfigPut: (xStoreid: string, xStoreWriteSecret: string, xStoreID: string, querySuggestionsServiceUpdateSuggestionConfigRequest: QuerySuggestionsServiceUpdateSuggestionConfigRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45681
+ };
45682
+ /**
45683
+ * SDKQuerySuggestionsConfigApi - functional programming interface
45684
+ * @export
45685
+ */
45686
+ export declare const SDKQuerySuggestionsConfigApiFp: (configuration?: Configuration) => {
45687
+ /**
45688
+ * Retrieves the store-specific query suggestions configuration using x-store ID and read secret. This is a public API for SDK integration, similar to Algolia\'s GET /1/configs/{configID} endpoint. Uses read secret (x-storesecret).
45689
+ * @summary Get Query Suggestions Config (Public SDK API)
45690
+ * @param {string} xStoreid Store ID
45691
+ * @param {string} xStoresecret Store Read Secret (for read operations)
45692
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45693
+ * @param {*} [options] Override http request option.
45694
+ * @throws {RequiredError}
45695
+ */
45696
+ apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>>;
45697
+ /**
45698
+ * Updates the store-specific query suggestions configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration, similar to Algolia\'s PUT /1/configs/{configID} endpoint. Requires write secret (x-store-write-secret).
45699
+ * @summary Update Query Suggestions Config (Public SDK API)
45700
+ * @param {string} xStoreid Store ID
45701
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
45702
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45703
+ * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Query suggestions configuration (partial updates supported)
45704
+ * @param {*} [options] Override http request option.
45705
+ * @throws {RequiredError}
45706
+ */
45707
+ apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, querySuggestionsServiceUpdateSuggestionConfigRequest: QuerySuggestionsServiceUpdateSuggestionConfigRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>>;
45708
+ };
45709
+ /**
45710
+ * SDKQuerySuggestionsConfigApi - factory interface
45711
+ * @export
45712
+ */
45713
+ export declare const SDKQuerySuggestionsConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45714
+ /**
45715
+ * Retrieves the store-specific query suggestions configuration using x-store ID and read secret. This is a public API for SDK integration, similar to Algolia\'s GET /1/configs/{configID} endpoint. Uses read secret (x-storesecret).
45716
+ * @summary Get Query Suggestions Config (Public SDK API)
45717
+ * @param {string} xStoreid Store ID
45718
+ * @param {string} xStoresecret Store Read Secret (for read operations)
45719
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45720
+ * @param {*} [options] Override http request option.
45721
+ * @throws {RequiredError}
45722
+ */
45723
+ apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>;
45724
+ /**
45725
+ * Updates the store-specific query suggestions configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration, similar to Algolia\'s PUT /1/configs/{configID} endpoint. Requires write secret (x-store-write-secret).
45726
+ * @summary Update Query Suggestions Config (Public SDK API)
45727
+ * @param {string} xStoreid Store ID
45728
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
45729
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45730
+ * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Query suggestions configuration (partial updates supported)
45731
+ * @param {*} [options] Override http request option.
45732
+ * @throws {RequiredError}
45733
+ */
45734
+ apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, querySuggestionsServiceUpdateSuggestionConfigRequest: QuerySuggestionsServiceUpdateSuggestionConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuerySuggestionsServiceQuerySuggestionsAPIResponse>;
45735
+ };
45736
+ /**
45737
+ * SDKQuerySuggestionsConfigApi - object-oriented interface
45738
+ * @export
45739
+ * @class SDKQuerySuggestionsConfigApi
45740
+ * @extends {BaseAPI}
45741
+ */
45742
+ export declare class SDKQuerySuggestionsConfigApi extends BaseAPI {
45743
+ /**
45744
+ * Retrieves the store-specific query suggestions configuration using x-store ID and read secret. This is a public API for SDK integration, similar to Algolia\'s GET /1/configs/{configID} endpoint. Uses read secret (x-storesecret).
45745
+ * @summary Get Query Suggestions Config (Public SDK API)
45746
+ * @param {string} xStoreid Store ID
45747
+ * @param {string} xStoresecret Store Read Secret (for read operations)
45748
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45749
+ * @param {*} [options] Override http request option.
45750
+ * @throws {RequiredError}
45751
+ * @memberof SDKQuerySuggestionsConfigApi
45752
+ */
45753
+ apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuerySuggestionsServiceQuerySuggestionsAPIResponse, any, {}>>;
45754
+ /**
45755
+ * Updates the store-specific query suggestions configuration using x-store ID and write secret. Supports partial updates. This is a public API for SDK integration, similar to Algolia\'s PUT /1/configs/{configID} endpoint. Requires write secret (x-store-write-secret).
45756
+ * @summary Update Query Suggestions Config (Public SDK API)
45757
+ * @param {string} xStoreid Store ID
45758
+ * @param {string} xStoreWriteSecret Store Write Secret (required for write operations)
45759
+ * @param {string} xStoreID X-Store ID (must match x-storeid header)
45760
+ * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Query suggestions configuration (partial updates supported)
45761
+ * @param {*} [options] Override http request option.
45762
+ * @throws {RequiredError}
45763
+ * @memberof SDKQuerySuggestionsConfigApi
45764
+ */
45765
+ apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, querySuggestionsServiceUpdateSuggestionConfigRequest: QuerySuggestionsServiceUpdateSuggestionConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuerySuggestionsServiceQuerySuggestionsAPIResponse, any, {}>>;
45766
+ }
45184
45767
  /**
45185
45768
  * SDKStoreConfigApi - axios parameter creator
45186
45769
  * @export
45187
45770
  */
45188
45771
  export declare const SDKStoreConfigApiAxiosParamCreator: (configuration?: Configuration) => {
45189
45772
  /**
45190
- * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
45773
+ * Retrieves the store configuration (search config and query suggestions config) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret). Includes both search configuration and query suggestions configuration in a single response.
45191
45774
  * @summary Get Store Config (Public SDK API)
45192
45775
  * @param {string} xStoreid Store ID
45193
45776
  * @param {string} xStoresecret Store Read Secret (for read operations)
@@ -45224,7 +45807,7 @@ export declare const SDKStoreConfigApiAxiosParamCreator: (configuration?: Config
45224
45807
  */
45225
45808
  export declare const SDKStoreConfigApiFp: (configuration?: Configuration) => {
45226
45809
  /**
45227
- * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
45810
+ * Retrieves the store configuration (search config and query suggestions config) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret). Includes both search configuration and query suggestions configuration in a single response.
45228
45811
  * @summary Get Store Config (Public SDK API)
45229
45812
  * @param {string} xStoreid Store ID
45230
45813
  * @param {string} xStoresecret Store Read Secret (for read operations)
@@ -45261,7 +45844,7 @@ export declare const SDKStoreConfigApiFp: (configuration?: Configuration) => {
45261
45844
  */
45262
45845
  export declare const SDKStoreConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45263
45846
  /**
45264
- * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
45847
+ * Retrieves the store configuration (search config and query suggestions config) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret). Includes both search configuration and query suggestions configuration in a single response.
45265
45848
  * @summary Get Store Config (Public SDK API)
45266
45849
  * @param {string} xStoreid Store ID
45267
45850
  * @param {string} xStoresecret Store Read Secret (for read operations)
@@ -45300,7 +45883,7 @@ export declare const SDKStoreConfigApiFactory: (configuration?: Configuration, b
45300
45883
  */
45301
45884
  export declare class SDKStoreConfigApi extends BaseAPI {
45302
45885
  /**
45303
- * Retrieves the store configuration using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret).
45886
+ * Retrieves the store configuration (search config and query suggestions config) using x-store ID and read secret. This is a public API for SDK integration. Uses read secret (x-storesecret). Includes both search configuration and query suggestions configuration in a single response.
45304
45887
  * @summary Get Store Config (Public SDK API)
45305
45888
  * @param {string} xStoreid Store ID
45306
45889
  * @param {string} xStoresecret Store Read Secret (for read operations)
@@ -47525,6 +48108,205 @@ export declare class StoresApi extends BaseAPI {
47525
48108
  */
47526
48109
  xstoreidRegenerateUidPut(xstoreid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse, any, {}>>;
47527
48110
  }
48111
+ /**
48112
+ * SubscriptionPaymentsApi - axios parameter creator
48113
+ * @export
48114
+ */
48115
+ export declare const SubscriptionPaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
48116
+ /**
48117
+ * Returns subscriptions that are due for payment based on next_billing_date
48118
+ * @summary Get subscriptions due for payment
48119
+ * @param {number} [daysAhead] How many days ahead to look (default: 0)
48120
+ * @param {number} [limit] Max number of subscriptions (default: 100)
48121
+ * @param {number} [offset] Offset for pagination (default: 0)
48122
+ * @param {*} [options] Override http request option.
48123
+ * @throws {RequiredError}
48124
+ */
48125
+ apiInternalSubscriptionPaymentsDueGet: (daysAhead?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48126
+ /**
48127
+ * Generates invoice and receipt for a completed payment
48128
+ * @summary Generate invoice and receipt for a payment
48129
+ * @param {DataTypesGenerateInvoiceReceiptRequest} dataTypesGenerateInvoiceReceiptRequest Generate invoice/receipt request
48130
+ * @param {*} [options] Override http request option.
48131
+ * @throws {RequiredError}
48132
+ */
48133
+ apiInternalSubscriptionPaymentsGenerateInvoiceReceiptPost: (dataTypesGenerateInvoiceReceiptRequest: DataTypesGenerateInvoiceReceiptRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48134
+ /**
48135
+ * Processes payment for a subscription by checking Razorpay status and generating invoices
48136
+ * @summary Process a subscription payment
48137
+ * @param {DataTypesSubscriptionPaymentRequest} dataTypesSubscriptionPaymentRequest Subscription payment request
48138
+ * @param {*} [options] Override http request option.
48139
+ * @throws {RequiredError}
48140
+ */
48141
+ apiInternalSubscriptionPaymentsProcessPost: (dataTypesSubscriptionPaymentRequest: DataTypesSubscriptionPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48142
+ /**
48143
+ * Checks status and handles retry logic for failed subscription payments
48144
+ * @summary Retry a failed payment
48145
+ * @param {DataTypesRetryFailedPaymentRequest} dataTypesRetryFailedPaymentRequest Retry payment request
48146
+ * @param {*} [options] Override http request option.
48147
+ * @throws {RequiredError}
48148
+ */
48149
+ apiInternalSubscriptionPaymentsRetryPost: (dataTypesRetryFailedPaymentRequest: DataTypesRetryFailedPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48150
+ /**
48151
+ * Gets the current payment status for a subscription
48152
+ * @summary Get subscription payment status
48153
+ * @param {number} subscriptionId Subscription ID
48154
+ * @param {*} [options] Override http request option.
48155
+ * @throws {RequiredError}
48156
+ */
48157
+ apiInternalSubscriptionPaymentsStatusSubscriptionIdGet: (subscriptionId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48158
+ };
48159
+ /**
48160
+ * SubscriptionPaymentsApi - functional programming interface
48161
+ * @export
48162
+ */
48163
+ export declare const SubscriptionPaymentsApiFp: (configuration?: Configuration) => {
48164
+ /**
48165
+ * Returns subscriptions that are due for payment based on next_billing_date
48166
+ * @summary Get subscriptions due for payment
48167
+ * @param {number} [daysAhead] How many days ahead to look (default: 0)
48168
+ * @param {number} [limit] Max number of subscriptions (default: 100)
48169
+ * @param {number} [offset] Offset for pagination (default: 0)
48170
+ * @param {*} [options] Override http request option.
48171
+ * @throws {RequiredError}
48172
+ */
48173
+ apiInternalSubscriptionPaymentsDueGet(daysAhead?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGetDueSubscriptionsResponse>>;
48174
+ /**
48175
+ * Generates invoice and receipt for a completed payment
48176
+ * @summary Generate invoice and receipt for a payment
48177
+ * @param {DataTypesGenerateInvoiceReceiptRequest} dataTypesGenerateInvoiceReceiptRequest Generate invoice/receipt request
48178
+ * @param {*} [options] Override http request option.
48179
+ * @throws {RequiredError}
48180
+ */
48181
+ apiInternalSubscriptionPaymentsGenerateInvoiceReceiptPost(dataTypesGenerateInvoiceReceiptRequest: DataTypesGenerateInvoiceReceiptRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenerateInvoiceReceiptResponse>>;
48182
+ /**
48183
+ * Processes payment for a subscription by checking Razorpay status and generating invoices
48184
+ * @summary Process a subscription payment
48185
+ * @param {DataTypesSubscriptionPaymentRequest} dataTypesSubscriptionPaymentRequest Subscription payment request
48186
+ * @param {*} [options] Override http request option.
48187
+ * @throws {RequiredError}
48188
+ */
48189
+ apiInternalSubscriptionPaymentsProcessPost(dataTypesSubscriptionPaymentRequest: DataTypesSubscriptionPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSubscriptionPaymentResponse>>;
48190
+ /**
48191
+ * Checks status and handles retry logic for failed subscription payments
48192
+ * @summary Retry a failed payment
48193
+ * @param {DataTypesRetryFailedPaymentRequest} dataTypesRetryFailedPaymentRequest Retry payment request
48194
+ * @param {*} [options] Override http request option.
48195
+ * @throws {RequiredError}
48196
+ */
48197
+ apiInternalSubscriptionPaymentsRetryPost(dataTypesRetryFailedPaymentRequest: DataTypesRetryFailedPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesRetryFailedPaymentResponse>>;
48198
+ /**
48199
+ * Gets the current payment status for a subscription
48200
+ * @summary Get subscription payment status
48201
+ * @param {number} subscriptionId Subscription ID
48202
+ * @param {*} [options] Override http request option.
48203
+ * @throws {RequiredError}
48204
+ */
48205
+ apiInternalSubscriptionPaymentsStatusSubscriptionIdGet(subscriptionId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSubscriptionPaymentStatus>>;
48206
+ };
48207
+ /**
48208
+ * SubscriptionPaymentsApi - factory interface
48209
+ * @export
48210
+ */
48211
+ export declare const SubscriptionPaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
48212
+ /**
48213
+ * Returns subscriptions that are due for payment based on next_billing_date
48214
+ * @summary Get subscriptions due for payment
48215
+ * @param {number} [daysAhead] How many days ahead to look (default: 0)
48216
+ * @param {number} [limit] Max number of subscriptions (default: 100)
48217
+ * @param {number} [offset] Offset for pagination (default: 0)
48218
+ * @param {*} [options] Override http request option.
48219
+ * @throws {RequiredError}
48220
+ */
48221
+ apiInternalSubscriptionPaymentsDueGet(daysAhead?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGetDueSubscriptionsResponse>;
48222
+ /**
48223
+ * Generates invoice and receipt for a completed payment
48224
+ * @summary Generate invoice and receipt for a payment
48225
+ * @param {DataTypesGenerateInvoiceReceiptRequest} dataTypesGenerateInvoiceReceiptRequest Generate invoice/receipt request
48226
+ * @param {*} [options] Override http request option.
48227
+ * @throws {RequiredError}
48228
+ */
48229
+ apiInternalSubscriptionPaymentsGenerateInvoiceReceiptPost(dataTypesGenerateInvoiceReceiptRequest: DataTypesGenerateInvoiceReceiptRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenerateInvoiceReceiptResponse>;
48230
+ /**
48231
+ * Processes payment for a subscription by checking Razorpay status and generating invoices
48232
+ * @summary Process a subscription payment
48233
+ * @param {DataTypesSubscriptionPaymentRequest} dataTypesSubscriptionPaymentRequest Subscription payment request
48234
+ * @param {*} [options] Override http request option.
48235
+ * @throws {RequiredError}
48236
+ */
48237
+ apiInternalSubscriptionPaymentsProcessPost(dataTypesSubscriptionPaymentRequest: DataTypesSubscriptionPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSubscriptionPaymentResponse>;
48238
+ /**
48239
+ * Checks status and handles retry logic for failed subscription payments
48240
+ * @summary Retry a failed payment
48241
+ * @param {DataTypesRetryFailedPaymentRequest} dataTypesRetryFailedPaymentRequest Retry payment request
48242
+ * @param {*} [options] Override http request option.
48243
+ * @throws {RequiredError}
48244
+ */
48245
+ apiInternalSubscriptionPaymentsRetryPost(dataTypesRetryFailedPaymentRequest: DataTypesRetryFailedPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesRetryFailedPaymentResponse>;
48246
+ /**
48247
+ * Gets the current payment status for a subscription
48248
+ * @summary Get subscription payment status
48249
+ * @param {number} subscriptionId Subscription ID
48250
+ * @param {*} [options] Override http request option.
48251
+ * @throws {RequiredError}
48252
+ */
48253
+ apiInternalSubscriptionPaymentsStatusSubscriptionIdGet(subscriptionId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSubscriptionPaymentStatus>;
48254
+ };
48255
+ /**
48256
+ * SubscriptionPaymentsApi - object-oriented interface
48257
+ * @export
48258
+ * @class SubscriptionPaymentsApi
48259
+ * @extends {BaseAPI}
48260
+ */
48261
+ export declare class SubscriptionPaymentsApi extends BaseAPI {
48262
+ /**
48263
+ * Returns subscriptions that are due for payment based on next_billing_date
48264
+ * @summary Get subscriptions due for payment
48265
+ * @param {number} [daysAhead] How many days ahead to look (default: 0)
48266
+ * @param {number} [limit] Max number of subscriptions (default: 100)
48267
+ * @param {number} [offset] Offset for pagination (default: 0)
48268
+ * @param {*} [options] Override http request option.
48269
+ * @throws {RequiredError}
48270
+ * @memberof SubscriptionPaymentsApi
48271
+ */
48272
+ apiInternalSubscriptionPaymentsDueGet(daysAhead?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGetDueSubscriptionsResponse, any, {}>>;
48273
+ /**
48274
+ * Generates invoice and receipt for a completed payment
48275
+ * @summary Generate invoice and receipt for a payment
48276
+ * @param {DataTypesGenerateInvoiceReceiptRequest} dataTypesGenerateInvoiceReceiptRequest Generate invoice/receipt request
48277
+ * @param {*} [options] Override http request option.
48278
+ * @throws {RequiredError}
48279
+ * @memberof SubscriptionPaymentsApi
48280
+ */
48281
+ apiInternalSubscriptionPaymentsGenerateInvoiceReceiptPost(dataTypesGenerateInvoiceReceiptRequest: DataTypesGenerateInvoiceReceiptRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenerateInvoiceReceiptResponse, any, {}>>;
48282
+ /**
48283
+ * Processes payment for a subscription by checking Razorpay status and generating invoices
48284
+ * @summary Process a subscription payment
48285
+ * @param {DataTypesSubscriptionPaymentRequest} dataTypesSubscriptionPaymentRequest Subscription payment request
48286
+ * @param {*} [options] Override http request option.
48287
+ * @throws {RequiredError}
48288
+ * @memberof SubscriptionPaymentsApi
48289
+ */
48290
+ apiInternalSubscriptionPaymentsProcessPost(dataTypesSubscriptionPaymentRequest: DataTypesSubscriptionPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSubscriptionPaymentResponse, any, {}>>;
48291
+ /**
48292
+ * Checks status and handles retry logic for failed subscription payments
48293
+ * @summary Retry a failed payment
48294
+ * @param {DataTypesRetryFailedPaymentRequest} dataTypesRetryFailedPaymentRequest Retry payment request
48295
+ * @param {*} [options] Override http request option.
48296
+ * @throws {RequiredError}
48297
+ * @memberof SubscriptionPaymentsApi
48298
+ */
48299
+ apiInternalSubscriptionPaymentsRetryPost(dataTypesRetryFailedPaymentRequest: DataTypesRetryFailedPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesRetryFailedPaymentResponse, any, {}>>;
48300
+ /**
48301
+ * Gets the current payment status for a subscription
48302
+ * @summary Get subscription payment status
48303
+ * @param {number} subscriptionId Subscription ID
48304
+ * @param {*} [options] Override http request option.
48305
+ * @throws {RequiredError}
48306
+ * @memberof SubscriptionPaymentsApi
48307
+ */
48308
+ apiInternalSubscriptionPaymentsStatusSubscriptionIdGet(subscriptionId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSubscriptionPaymentStatus, any, {}>>;
48309
+ }
47528
48310
  /**
47529
48311
  * SubscriptionsApi - axios parameter creator
47530
48312
  * @export