@seekora-ai/admin-api 1.1.93 → 1.1.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -12546,6 +12546,118 @@ export interface DataTypesAdminSearchRequest {
12546
12546
  */
12547
12547
  'widget_mode'?: boolean;
12548
12548
  }
12549
+ /**
12550
+ *
12551
+ * @export
12552
+ * @interface DataTypesAnalyticsConfigBatchLimits
12553
+ */
12554
+ export interface DataTypesAnalyticsConfigBatchLimits {
12555
+ /**
12556
+ *
12557
+ * @type {number}
12558
+ * @memberof DataTypesAnalyticsConfigBatchLimits
12559
+ */
12560
+ 'max_event_size_bytes'?: number;
12561
+ /**
12562
+ *
12563
+ * @type {number}
12564
+ * @memberof DataTypesAnalyticsConfigBatchLimits
12565
+ */
12566
+ 'max_events_per_batch'?: number;
12567
+ }
12568
+ /**
12569
+ *
12570
+ * @export
12571
+ * @interface DataTypesAnalyticsConfigData
12572
+ */
12573
+ export interface DataTypesAnalyticsConfigData {
12574
+ /**
12575
+ *
12576
+ * @type {DataTypesAnalyticsConfigBatchLimits}
12577
+ * @memberof DataTypesAnalyticsConfigData
12578
+ */
12579
+ 'batch_limits'?: DataTypesAnalyticsConfigBatchLimits;
12580
+ /**
12581
+ *
12582
+ * @type {DataTypesAnalyticsConfigFunnelStages}
12583
+ * @memberof DataTypesAnalyticsConfigData
12584
+ */
12585
+ 'funnel_stages'?: DataTypesAnalyticsConfigFunnelStages;
12586
+ /**
12587
+ *
12588
+ * @type {DataTypesAnalyticsConfigMetadataGuidelines}
12589
+ * @memberof DataTypesAnalyticsConfigData
12590
+ */
12591
+ 'metadata_guidelines'?: DataTypesAnalyticsConfigMetadataGuidelines;
12592
+ /**
12593
+ *
12594
+ * @type {Array<string>}
12595
+ * @memberof DataTypesAnalyticsConfigData
12596
+ */
12597
+ 'optional_fields'?: Array<string>;
12598
+ /**
12599
+ *
12600
+ * @type {Array<string>}
12601
+ * @memberof DataTypesAnalyticsConfigData
12602
+ */
12603
+ 'required_fields'?: Array<string>;
12604
+ /**
12605
+ *
12606
+ * @type {Array<string>}
12607
+ * @memberof DataTypesAnalyticsConfigData
12608
+ */
12609
+ 'supported_event_categories'?: Array<string>;
12610
+ /**
12611
+ *
12612
+ * @type {Array<string>}
12613
+ * @memberof DataTypesAnalyticsConfigData
12614
+ */
12615
+ 'supported_event_types'?: Array<string>;
12616
+ }
12617
+ /**
12618
+ *
12619
+ * @export
12620
+ * @interface DataTypesAnalyticsConfigFunnelStages
12621
+ */
12622
+ export interface DataTypesAnalyticsConfigFunnelStages {
12623
+ /**
12624
+ *
12625
+ * @type {string}
12626
+ * @memberof DataTypesAnalyticsConfigFunnelStages
12627
+ */
12628
+ 'description'?: string;
12629
+ /**
12630
+ *
12631
+ * @type {Array<string>}
12632
+ * @memberof DataTypesAnalyticsConfigFunnelStages
12633
+ */
12634
+ 'examples'?: Array<string>;
12635
+ }
12636
+ /**
12637
+ *
12638
+ * @export
12639
+ * @interface DataTypesAnalyticsConfigMetadataGuidelines
12640
+ */
12641
+ export interface DataTypesAnalyticsConfigMetadataGuidelines {
12642
+ /**
12643
+ *
12644
+ * @type {number}
12645
+ * @memberof DataTypesAnalyticsConfigMetadataGuidelines
12646
+ */
12647
+ 'max_keys'?: number;
12648
+ /**
12649
+ *
12650
+ * @type {number}
12651
+ * @memberof DataTypesAnalyticsConfigMetadataGuidelines
12652
+ */
12653
+ 'max_value_length'?: number;
12654
+ /**
12655
+ *
12656
+ * @type {Array<string>}
12657
+ * @memberof DataTypesAnalyticsConfigMetadataGuidelines
12658
+ */
12659
+ 'reserved_keys'?: Array<string>;
12660
+ }
12549
12661
  /**
12550
12662
  * Standard error response format for analytics rules API
12551
12663
  * @export
@@ -12848,6 +12960,56 @@ export interface DataTypesAutocompleteSuggestion {
12848
12960
  */
12849
12961
  'text'?: string;
12850
12962
  }
12963
+ /**
12964
+ *
12965
+ * @export
12966
+ * @interface DataTypesBatchEventData
12967
+ */
12968
+ export interface DataTypesBatchEventData {
12969
+ /**
12970
+ *
12971
+ * @type {number}
12972
+ * @memberof DataTypesBatchEventData
12973
+ */
12974
+ 'error_count'?: number;
12975
+ /**
12976
+ *
12977
+ * @type {Array<string>}
12978
+ * @memberof DataTypesBatchEventData
12979
+ */
12980
+ 'errors'?: Array<string>;
12981
+ /**
12982
+ *
12983
+ * @type {number}
12984
+ * @memberof DataTypesBatchEventData
12985
+ */
12986
+ 'processed_count'?: number;
12987
+ /**
12988
+ *
12989
+ * @type {Array<DataTypesBatchEventProcessedItem>}
12990
+ * @memberof DataTypesBatchEventData
12991
+ */
12992
+ 'processed_events'?: Array<DataTypesBatchEventProcessedItem>;
12993
+ }
12994
+ /**
12995
+ *
12996
+ * @export
12997
+ * @interface DataTypesBatchEventProcessedItem
12998
+ */
12999
+ export interface DataTypesBatchEventProcessedItem {
13000
+ /**
13001
+ *
13002
+ * @type {string}
13003
+ * @memberof DataTypesBatchEventProcessedItem
13004
+ */
13005
+ 'event_id'?: string;
13006
+ /**
13007
+ *
13008
+ * @type {string}
13009
+ * @memberof DataTypesBatchEventProcessedItem
13010
+ */
13011
+ 'timestamp'?: string;
13012
+ }
12851
13013
  /**
12852
13014
  *
12853
13015
  * @export
@@ -13909,6 +14071,31 @@ export interface DataTypesConfigurationSchemaResponseWrapper {
13909
14071
  */
13910
14072
  'status'?: number;
13911
14073
  }
14074
+ /**
14075
+ *
14076
+ * @export
14077
+ * @interface DataTypesConnectorSearchResult
14078
+ */
14079
+ export interface DataTypesConnectorSearchResult {
14080
+ /**
14081
+ *
14082
+ * @type {number}
14083
+ * @memberof DataTypesConnectorSearchResult
14084
+ */
14085
+ 'found'?: number;
14086
+ /**
14087
+ *
14088
+ * @type {Array<object>}
14089
+ * @memberof DataTypesConnectorSearchResult
14090
+ */
14091
+ 'results'?: Array<object>;
14092
+ /**
14093
+ *
14094
+ * @type {string}
14095
+ * @memberof DataTypesConnectorSearchResult
14096
+ */
14097
+ 'status'?: string;
14098
+ }
13912
14099
  /**
13913
14100
  *
13914
14101
  * @export
@@ -14093,6 +14280,100 @@ export interface DataTypesCreateAnalyticsRuleRequest {
14093
14280
  */
14094
14281
  'store_id'?: number;
14095
14282
  }
14283
+ /**
14284
+ *
14285
+ * @export
14286
+ * @interface DataTypesCreateCustomPlanRequest
14287
+ */
14288
+ export interface DataTypesCreateCustomPlanRequest {
14289
+ /**
14290
+ *
14291
+ * @type {string}
14292
+ * @memberof DataTypesCreateCustomPlanRequest
14293
+ */
14294
+ 'billing_type': DataTypesCreateCustomPlanRequestBillingTypeEnum;
14295
+ /**
14296
+ *
14297
+ * @type {number}
14298
+ * @memberof DataTypesCreateCustomPlanRequest
14299
+ */
14300
+ 'bonus_credits'?: number;
14301
+ /**
14302
+ *
14303
+ * @type {string}
14304
+ * @memberof DataTypesCreateCustomPlanRequest
14305
+ */
14306
+ 'currency': DataTypesCreateCustomPlanRequestCurrencyEnum;
14307
+ /**
14308
+ *
14309
+ * @type {string}
14310
+ * @memberof DataTypesCreateCustomPlanRequest
14311
+ */
14312
+ 'description'?: string;
14313
+ /**
14314
+ *
14315
+ * @type {string}
14316
+ * @memberof DataTypesCreateCustomPlanRequest
14317
+ */
14318
+ 'highlights'?: string;
14319
+ /**
14320
+ *
14321
+ * @type {string}
14322
+ * @memberof DataTypesCreateCustomPlanRequest
14323
+ */
14324
+ 'notes'?: string;
14325
+ /**
14326
+ *
14327
+ * @type {number}
14328
+ * @memberof DataTypesCreateCustomPlanRequest
14329
+ */
14330
+ 'org_id': number;
14331
+ /**
14332
+ *
14333
+ * @type {string}
14334
+ * @memberof DataTypesCreateCustomPlanRequest
14335
+ */
14336
+ 'plan_features': string;
14337
+ /**
14338
+ *
14339
+ * @type {string}
14340
+ * @memberof DataTypesCreateCustomPlanRequest
14341
+ */
14342
+ 'plan_name': string;
14343
+ /**
14344
+ *
14345
+ * @type {number}
14346
+ * @memberof DataTypesCreateCustomPlanRequest
14347
+ */
14348
+ 'price': number;
14349
+ /**
14350
+ *
14351
+ * @type {number}
14352
+ * @memberof DataTypesCreateCustomPlanRequest
14353
+ */
14354
+ 'total_credits': number;
14355
+ /**
14356
+ *
14357
+ * @type {number}
14358
+ * @memberof DataTypesCreateCustomPlanRequest
14359
+ */
14360
+ 'trial_days'?: number;
14361
+ }
14362
+
14363
+ export const DataTypesCreateCustomPlanRequestBillingTypeEnum = {
14364
+ Monthly: 'monthly',
14365
+ Annual: 'annual',
14366
+ OneTime: 'one-time'
14367
+ } as const;
14368
+
14369
+ export type DataTypesCreateCustomPlanRequestBillingTypeEnum = typeof DataTypesCreateCustomPlanRequestBillingTypeEnum[keyof typeof DataTypesCreateCustomPlanRequestBillingTypeEnum];
14370
+ export const DataTypesCreateCustomPlanRequestCurrencyEnum = {
14371
+ Usd: 'USD',
14372
+ Inr: 'INR'
14373
+ } as const;
14374
+
14375
+ export type DataTypesCreateCustomPlanRequestCurrencyEnum = typeof DataTypesCreateCustomPlanRequestCurrencyEnum[keyof typeof DataTypesCreateCustomPlanRequestCurrencyEnum];
14376
+
14096
14377
  /**
14097
14378
  *
14098
14379
  * @export
@@ -15024,6 +15305,86 @@ export interface DataTypesCreateSourceResponse {
15024
15305
  */
15025
15306
  'status'?: number;
15026
15307
  }
15308
+ /**
15309
+ *
15310
+ * @export
15311
+ * @interface DataTypesCreateStoreRequest
15312
+ */
15313
+ export interface DataTypesCreateStoreRequest {
15314
+ /**
15315
+ * Optional: array of documents to import immediately
15316
+ * @type {Array<{ [key: string]: any; }>}
15317
+ * @memberof DataTypesCreateStoreRequest
15318
+ */
15319
+ 'dataset'?: Array<{ [key: string]: any; }>;
15320
+ /**
15321
+ *
15322
+ * @type {string}
15323
+ * @memberof DataTypesCreateStoreRequest
15324
+ */
15325
+ 'industry'?: string;
15326
+ /**
15327
+ *
15328
+ * @type {string}
15329
+ * @memberof DataTypesCreateStoreRequest
15330
+ */
15331
+ 'location'?: string;
15332
+ /**
15333
+ *
15334
+ * @type {string}
15335
+ * @memberof DataTypesCreateStoreRequest
15336
+ */
15337
+ 'storeName': string;
15338
+ }
15339
+ /**
15340
+ *
15341
+ * @export
15342
+ * @interface DataTypesCreateStoreResponse
15343
+ */
15344
+ export interface DataTypesCreateStoreResponse {
15345
+ /**
15346
+ * Job ID if dataset was imported
15347
+ * @type {string}
15348
+ * @memberof DataTypesCreateStoreResponse
15349
+ */
15350
+ 'importJobId'?: string;
15351
+ /**
15352
+ * Number of documents imported
15353
+ * @type {number}
15354
+ * @memberof DataTypesCreateStoreResponse
15355
+ */
15356
+ 'importedCount'?: number;
15357
+ /**
15358
+ *
15359
+ * @type {number}
15360
+ * @memberof DataTypesCreateStoreResponse
15361
+ */
15362
+ 'storeId'?: number;
15363
+ /**
15364
+ *
15365
+ * @type {string}
15366
+ * @memberof DataTypesCreateStoreResponse
15367
+ */
15368
+ 'storeName'?: string;
15369
+ /**
15370
+ *
15371
+ * @type {string}
15372
+ * @memberof DataTypesCreateStoreResponse
15373
+ */
15374
+ 'xStoreId'?: string;
15375
+ /**
15376
+ *
15377
+ * @type {string}
15378
+ * @memberof DataTypesCreateStoreResponse
15379
+ */
15380
+ 'xStoreSecret'?: string;
15381
+ /**
15382
+ *
15383
+ * @type {string}
15384
+ * @memberof DataTypesCreateStoreResponse
15385
+ */
15386
+ 'xStoreWriteSecret'?: string;
15387
+ }
15027
15388
  /**
15028
15389
  *
15029
15390
  * @export
@@ -15838,6 +16199,176 @@ export interface DataTypesCurrentPlanInfo {
15838
16199
  */
15839
16200
  'subscription_id'?: string;
15840
16201
  }
16202
+ /**
16203
+ *
16204
+ * @export
16205
+ * @interface DataTypesCustomPlanListResponse
16206
+ */
16207
+ export interface DataTypesCustomPlanListResponse {
16208
+ /**
16209
+ *
16210
+ * @type {Array<DataTypesCustomPlanResponse>}
16211
+ * @memberof DataTypesCustomPlanListResponse
16212
+ */
16213
+ 'data'?: Array<DataTypesCustomPlanResponse>;
16214
+ /**
16215
+ *
16216
+ * @type {string}
16217
+ * @memberof DataTypesCustomPlanListResponse
16218
+ */
16219
+ 'message'?: string;
16220
+ /**
16221
+ *
16222
+ * @type {number}
16223
+ * @memberof DataTypesCustomPlanListResponse
16224
+ */
16225
+ 'page'?: number;
16226
+ /**
16227
+ *
16228
+ * @type {number}
16229
+ * @memberof DataTypesCustomPlanListResponse
16230
+ */
16231
+ 'page_size'?: number;
16232
+ /**
16233
+ *
16234
+ * @type {number}
16235
+ * @memberof DataTypesCustomPlanListResponse
16236
+ */
16237
+ 'status'?: number;
16238
+ /**
16239
+ *
16240
+ * @type {number}
16241
+ * @memberof DataTypesCustomPlanListResponse
16242
+ */
16243
+ 'total'?: number;
16244
+ }
16245
+ /**
16246
+ *
16247
+ * @export
16248
+ * @interface DataTypesCustomPlanResponse
16249
+ */
16250
+ export interface DataTypesCustomPlanResponse {
16251
+ /**
16252
+ *
16253
+ * @type {string}
16254
+ * @memberof DataTypesCustomPlanResponse
16255
+ */
16256
+ 'billing_type'?: string;
16257
+ /**
16258
+ *
16259
+ * @type {number}
16260
+ * @memberof DataTypesCustomPlanResponse
16261
+ */
16262
+ 'bonus_credits'?: number;
16263
+ /**
16264
+ *
16265
+ * @type {string}
16266
+ * @memberof DataTypesCustomPlanResponse
16267
+ */
16268
+ 'created_at'?: string;
16269
+ /**
16270
+ *
16271
+ * @type {number}
16272
+ * @memberof DataTypesCustomPlanResponse
16273
+ */
16274
+ 'created_by_user_id'?: number;
16275
+ /**
16276
+ *
16277
+ * @type {string}
16278
+ * @memberof DataTypesCustomPlanResponse
16279
+ */
16280
+ 'currency'?: string;
16281
+ /**
16282
+ *
16283
+ * @type {string}
16284
+ * @memberof DataTypesCustomPlanResponse
16285
+ */
16286
+ 'description'?: string;
16287
+ /**
16288
+ *
16289
+ * @type {string}
16290
+ * @memberof DataTypesCustomPlanResponse
16291
+ */
16292
+ 'highlights'?: string;
16293
+ /**
16294
+ *
16295
+ * @type {boolean}
16296
+ * @memberof DataTypesCustomPlanResponse
16297
+ */
16298
+ 'is_active'?: boolean;
16299
+ /**
16300
+ *
16301
+ * @type {boolean}
16302
+ * @memberof DataTypesCustomPlanResponse
16303
+ */
16304
+ 'is_custom'?: boolean;
16305
+ /**
16306
+ *
16307
+ * @type {string}
16308
+ * @memberof DataTypesCustomPlanResponse
16309
+ */
16310
+ 'modified_at'?: string;
16311
+ /**
16312
+ *
16313
+ * @type {string}
16314
+ * @memberof DataTypesCustomPlanResponse
16315
+ */
16316
+ 'notes'?: string;
16317
+ /**
16318
+ *
16319
+ * @type {number}
16320
+ * @memberof DataTypesCustomPlanResponse
16321
+ */
16322
+ 'org_id'?: number;
16323
+ /**
16324
+ *
16325
+ * @type {string}
16326
+ * @memberof DataTypesCustomPlanResponse
16327
+ */
16328
+ 'org_name'?: string;
16329
+ /**
16330
+ *
16331
+ * @type {Array<DataTypesPaymentLinkResponse>}
16332
+ * @memberof DataTypesCustomPlanResponse
16333
+ */
16334
+ 'payment_links'?: Array<DataTypesPaymentLinkResponse>;
16335
+ /**
16336
+ *
16337
+ * @type {string}
16338
+ * @memberof DataTypesCustomPlanResponse
16339
+ */
16340
+ 'plan_features'?: string;
16341
+ /**
16342
+ *
16343
+ * @type {number}
16344
+ * @memberof DataTypesCustomPlanResponse
16345
+ */
16346
+ 'plan_id'?: number;
16347
+ /**
16348
+ *
16349
+ * @type {string}
16350
+ * @memberof DataTypesCustomPlanResponse
16351
+ */
16352
+ 'plan_name'?: string;
16353
+ /**
16354
+ *
16355
+ * @type {number}
16356
+ * @memberof DataTypesCustomPlanResponse
16357
+ */
16358
+ 'price'?: number;
16359
+ /**
16360
+ *
16361
+ * @type {number}
16362
+ * @memberof DataTypesCustomPlanResponse
16363
+ */
16364
+ 'total_credits'?: number;
16365
+ /**
16366
+ *
16367
+ * @type {number}
16368
+ * @memberof DataTypesCustomPlanResponse
16369
+ */
16370
+ 'trial_days'?: number;
16371
+ }
15841
16372
  /**
15842
16373
  *
15843
16374
  * @export
@@ -16941,7 +17472,7 @@ export interface DataTypesErrorMetaResponse {
16941
17472
  */
16942
17473
  export interface DataTypesEventPayload {
16943
17474
  /**
16944
- * ============================================================================ A/B Testing (V3) ============================================================================
17475
+ * Experiment identifier
16945
17476
  * @type {string}
16946
17477
  * @memberof DataTypesEventPayload
16947
17478
  */
@@ -16953,7 +17484,7 @@ export interface DataTypesEventPayload {
16953
17484
  */
16954
17485
  'ab_variant'?: string;
16955
17486
  /**
16956
- * ============================================================================ Analytics & Metadata ============================================================================
17487
+ *
16957
17488
  * @type {Array<string>}
16958
17489
  * @memberof DataTypesEventPayload
16959
17490
  */
@@ -17013,7 +17544,7 @@ export interface DataTypesEventPayload {
17013
17544
  */
17014
17545
  'click_type'?: string;
17015
17546
  /**
17016
- * ============================================================================ Click/Interaction Event Fields (V3) ============================================================================
17547
+ *
17017
17548
  * @type {string}
17018
17549
  * @memberof DataTypesEventPayload
17019
17550
  */
@@ -17061,7 +17592,7 @@ export interface DataTypesEventPayload {
17061
17592
  */
17062
17593
  'correlation_id'?: string;
17063
17594
  /**
17064
- * ============================================================================ Geo Context (V3) ============================================================================
17595
+ *
17065
17596
  * @type {string}
17066
17597
  * @memberof DataTypesEventPayload
17067
17598
  */
@@ -17085,7 +17616,7 @@ export interface DataTypesEventPayload {
17085
17616
  */
17086
17617
  'custom_json'?: string;
17087
17618
  /**
17088
- * ============================================================================ Navigation Tracking (V3) ============================================================================
17619
+ * URL user navigates to after click
17089
17620
  * @type {string}
17090
17621
  * @memberof DataTypesEventPayload
17091
17622
  */
@@ -17103,7 +17634,7 @@ export interface DataTypesEventPayload {
17103
17634
  */
17104
17635
  'device_type'?: string;
17105
17636
  /**
17106
- * ============================================================================ Core Event Information (V3) ============================================================================
17637
+ *
17107
17638
  * @type {string}
17108
17639
  * @memberof DataTypesEventPayload
17109
17640
  */
@@ -17145,7 +17676,7 @@ export interface DataTypesEventPayload {
17145
17676
  */
17146
17677
  'insert_id'?: string;
17147
17678
  /**
17148
- * ============================================================================ Device Context (V3) ============================================================================
17679
+ *
17149
17680
  * @type {string}
17150
17681
  * @memberof DataTypesEventPayload
17151
17682
  */
@@ -17193,7 +17724,7 @@ export interface DataTypesEventPayload {
17193
17724
  */
17194
17725
  'metadata'?: { [key: string]: any; };
17195
17726
  /**
17196
- * ============================================================================ Suggestion Impression Fields (V3) ============================================================================
17727
+ *
17197
17728
  * @type {string}
17198
17729
  * @memberof DataTypesEventPayload
17199
17730
  */
@@ -17265,7 +17796,7 @@ export interface DataTypesEventPayload {
17265
17796
  */
17266
17797
  'quantity'?: number;
17267
17798
  /**
17268
- * ============================================================================ Search Event Fields ============================================================================
17799
+ *
17269
17800
  * @type {string}
17270
17801
  * @memberof DataTypesEventPayload
17271
17802
  */
@@ -17427,7 +17958,7 @@ export interface DataTypesEventPayload {
17427
17958
  */
17428
17959
  'utm_medium'?: string;
17429
17960
  /**
17430
- * ============================================================================ UTM Parameters ============================================================================
17961
+ *
17431
17962
  * @type {string}
17432
17963
  * @memberof DataTypesEventPayload
17433
17964
  */
@@ -17439,7 +17970,7 @@ export interface DataTypesEventPayload {
17439
17970
  */
17440
17971
  'utm_term'?: string;
17441
17972
  /**
17442
- * ============================================================================ Business Context ============================================================================
17973
+ *
17443
17974
  * @type {number}
17444
17975
  * @memberof DataTypesEventPayload
17445
17976
  */
@@ -17463,6 +17994,44 @@ export interface DataTypesEventPayload {
17463
17994
  */
17464
17995
  'xstoreid'?: string;
17465
17996
  }
17997
+ /**
17998
+ *
17999
+ * @export
18000
+ * @interface DataTypesEventSubmitData
18001
+ */
18002
+ export interface DataTypesEventSubmitData {
18003
+ /**
18004
+ *
18005
+ * @type {string}
18006
+ * @memberof DataTypesEventSubmitData
18007
+ */
18008
+ 'event_id'?: string;
18009
+ /**
18010
+ *
18011
+ * @type {string}
18012
+ * @memberof DataTypesEventSubmitData
18013
+ */
18014
+ 'timestamp'?: string;
18015
+ }
18016
+ /**
18017
+ *
18018
+ * @export
18019
+ * @interface DataTypesEventValidateData
18020
+ */
18021
+ export interface DataTypesEventValidateData {
18022
+ /**
18023
+ *
18024
+ * @type {string}
18025
+ * @memberof DataTypesEventValidateData
18026
+ */
18027
+ 'event_name'?: string;
18028
+ /**
18029
+ *
18030
+ * @type {string}
18031
+ * @memberof DataTypesEventValidateData
18032
+ */
18033
+ 'event_type'?: string;
18034
+ }
17466
18035
  /**
17467
18036
  *
17468
18037
  * @export
@@ -19041,6 +19610,37 @@ export interface DataTypesGenerateInvoiceReceiptResponse {
19041
19610
  */
19042
19611
  'success'?: boolean;
19043
19612
  }
19613
+ /**
19614
+ *
19615
+ * @export
19616
+ * @interface DataTypesGeneratePaymentLinkRequest
19617
+ */
19618
+ export interface DataTypesGeneratePaymentLinkRequest {
19619
+ /**
19620
+ *
19621
+ * @type {string}
19622
+ * @memberof DataTypesGeneratePaymentLinkRequest
19623
+ */
19624
+ 'description'?: string;
19625
+ /**
19626
+ *
19627
+ * @type {number}
19628
+ * @memberof DataTypesGeneratePaymentLinkRequest
19629
+ */
19630
+ 'expires_in_days': number;
19631
+ /**
19632
+ *
19633
+ * @type {string}
19634
+ * @memberof DataTypesGeneratePaymentLinkRequest
19635
+ */
19636
+ 'gateway'?: string;
19637
+ /**
19638
+ *
19639
+ * @type {boolean}
19640
+ * @memberof DataTypesGeneratePaymentLinkRequest
19641
+ */
19642
+ 'notify_org'?: boolean;
19643
+ }
19044
19644
  /**
19045
19645
  *
19046
19646
  * @export
@@ -20016,6 +20616,56 @@ export interface DataTypesGenericResponseBillingServiceTrialEligibilityResponse
20016
20616
  */
20017
20617
  'status'?: number;
20018
20618
  }
20619
+ /**
20620
+ *
20621
+ * @export
20622
+ * @interface DataTypesGenericResponseDataTypesAnalyticsConfigData
20623
+ */
20624
+ export interface DataTypesGenericResponseDataTypesAnalyticsConfigData {
20625
+ /**
20626
+ *
20627
+ * @type {DataTypesAnalyticsConfigData}
20628
+ * @memberof DataTypesGenericResponseDataTypesAnalyticsConfigData
20629
+ */
20630
+ 'data'?: DataTypesAnalyticsConfigData;
20631
+ /**
20632
+ *
20633
+ * @type {string}
20634
+ * @memberof DataTypesGenericResponseDataTypesAnalyticsConfigData
20635
+ */
20636
+ 'message'?: string;
20637
+ /**
20638
+ *
20639
+ * @type {number}
20640
+ * @memberof DataTypesGenericResponseDataTypesAnalyticsConfigData
20641
+ */
20642
+ 'status'?: number;
20643
+ }
20644
+ /**
20645
+ *
20646
+ * @export
20647
+ * @interface DataTypesGenericResponseDataTypesBatchEventData
20648
+ */
20649
+ export interface DataTypesGenericResponseDataTypesBatchEventData {
20650
+ /**
20651
+ *
20652
+ * @type {DataTypesBatchEventData}
20653
+ * @memberof DataTypesGenericResponseDataTypesBatchEventData
20654
+ */
20655
+ 'data'?: DataTypesBatchEventData;
20656
+ /**
20657
+ *
20658
+ * @type {string}
20659
+ * @memberof DataTypesGenericResponseDataTypesBatchEventData
20660
+ */
20661
+ 'message'?: string;
20662
+ /**
20663
+ *
20664
+ * @type {number}
20665
+ * @memberof DataTypesGenericResponseDataTypesBatchEventData
20666
+ */
20667
+ 'status'?: number;
20668
+ }
20019
20669
  /**
20020
20670
  *
20021
20671
  * @export
@@ -20091,6 +20741,31 @@ export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
20091
20741
  */
20092
20742
  'status'?: number;
20093
20743
  }
20744
+ /**
20745
+ *
20746
+ * @export
20747
+ * @interface DataTypesGenericResponseDataTypesCreateStoreResponse
20748
+ */
20749
+ export interface DataTypesGenericResponseDataTypesCreateStoreResponse {
20750
+ /**
20751
+ *
20752
+ * @type {DataTypesCreateStoreResponse}
20753
+ * @memberof DataTypesGenericResponseDataTypesCreateStoreResponse
20754
+ */
20755
+ 'data'?: DataTypesCreateStoreResponse;
20756
+ /**
20757
+ *
20758
+ * @type {string}
20759
+ * @memberof DataTypesGenericResponseDataTypesCreateStoreResponse
20760
+ */
20761
+ 'message'?: string;
20762
+ /**
20763
+ *
20764
+ * @type {number}
20765
+ * @memberof DataTypesGenericResponseDataTypesCreateStoreResponse
20766
+ */
20767
+ 'status'?: number;
20768
+ }
20094
20769
  /**
20095
20770
  *
20096
20771
  * @export
@@ -20141,6 +20816,56 @@ export interface DataTypesGenericResponseDataTypesCurrentPlanInfo {
20141
20816
  */
20142
20817
  'status'?: number;
20143
20818
  }
20819
+ /**
20820
+ *
20821
+ * @export
20822
+ * @interface DataTypesGenericResponseDataTypesEventSubmitData
20823
+ */
20824
+ export interface DataTypesGenericResponseDataTypesEventSubmitData {
20825
+ /**
20826
+ *
20827
+ * @type {DataTypesEventSubmitData}
20828
+ * @memberof DataTypesGenericResponseDataTypesEventSubmitData
20829
+ */
20830
+ 'data'?: DataTypesEventSubmitData;
20831
+ /**
20832
+ *
20833
+ * @type {string}
20834
+ * @memberof DataTypesGenericResponseDataTypesEventSubmitData
20835
+ */
20836
+ 'message'?: string;
20837
+ /**
20838
+ *
20839
+ * @type {number}
20840
+ * @memberof DataTypesGenericResponseDataTypesEventSubmitData
20841
+ */
20842
+ 'status'?: number;
20843
+ }
20844
+ /**
20845
+ *
20846
+ * @export
20847
+ * @interface DataTypesGenericResponseDataTypesEventValidateData
20848
+ */
20849
+ export interface DataTypesGenericResponseDataTypesEventValidateData {
20850
+ /**
20851
+ *
20852
+ * @type {DataTypesEventValidateData}
20853
+ * @memberof DataTypesGenericResponseDataTypesEventValidateData
20854
+ */
20855
+ 'data'?: DataTypesEventValidateData;
20856
+ /**
20857
+ *
20858
+ * @type {string}
20859
+ * @memberof DataTypesGenericResponseDataTypesEventValidateData
20860
+ */
20861
+ 'message'?: string;
20862
+ /**
20863
+ *
20864
+ * @type {number}
20865
+ * @memberof DataTypesGenericResponseDataTypesEventValidateData
20866
+ */
20867
+ 'status'?: number;
20868
+ }
20144
20869
  /**
20145
20870
  *
20146
20871
  * @export
@@ -20341,56 +21066,6 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
20341
21066
  */
20342
21067
  'status'?: number;
20343
21068
  }
20344
- /**
20345
- *
20346
- * @export
20347
- * @interface DataTypesGenericResponseDataTypesPublicCreateStoreResponse
20348
- */
20349
- export interface DataTypesGenericResponseDataTypesPublicCreateStoreResponse {
20350
- /**
20351
- *
20352
- * @type {DataTypesPublicCreateStoreResponse}
20353
- * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
20354
- */
20355
- 'data'?: DataTypesPublicCreateStoreResponse;
20356
- /**
20357
- *
20358
- * @type {string}
20359
- * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
20360
- */
20361
- 'message'?: string;
20362
- /**
20363
- *
20364
- * @type {number}
20365
- * @memberof DataTypesGenericResponseDataTypesPublicCreateStoreResponse
20366
- */
20367
- 'status'?: number;
20368
- }
20369
- /**
20370
- *
20371
- * @export
20372
- * @interface DataTypesGenericResponseDataTypesPublicStoreInfoResponse
20373
- */
20374
- export interface DataTypesGenericResponseDataTypesPublicStoreInfoResponse {
20375
- /**
20376
- *
20377
- * @type {DataTypesPublicStoreInfoResponse}
20378
- * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
20379
- */
20380
- 'data'?: DataTypesPublicStoreInfoResponse;
20381
- /**
20382
- *
20383
- * @type {string}
20384
- * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
20385
- */
20386
- 'message'?: string;
20387
- /**
20388
- *
20389
- * @type {number}
20390
- * @memberof DataTypesGenericResponseDataTypesPublicStoreInfoResponse
20391
- */
20392
- 'status'?: number;
20393
- }
20394
21069
  /**
20395
21070
  *
20396
21071
  * @export
@@ -20516,6 +21191,31 @@ export interface DataTypesGenericResponseDataTypesStoreConfigWithOnboardingRespo
20516
21191
  */
20517
21192
  'status'?: number;
20518
21193
  }
21194
+ /**
21195
+ *
21196
+ * @export
21197
+ * @interface DataTypesGenericResponseDataTypesStoreInfoResponse
21198
+ */
21199
+ export interface DataTypesGenericResponseDataTypesStoreInfoResponse {
21200
+ /**
21201
+ *
21202
+ * @type {DataTypesStoreInfoResponse}
21203
+ * @memberof DataTypesGenericResponseDataTypesStoreInfoResponse
21204
+ */
21205
+ 'data'?: DataTypesStoreInfoResponse;
21206
+ /**
21207
+ *
21208
+ * @type {string}
21209
+ * @memberof DataTypesGenericResponseDataTypesStoreInfoResponse
21210
+ */
21211
+ 'message'?: string;
21212
+ /**
21213
+ *
21214
+ * @type {number}
21215
+ * @memberof DataTypesGenericResponseDataTypesStoreInfoResponse
21216
+ */
21217
+ 'status'?: number;
21218
+ }
20519
21219
  /**
20520
21220
  *
20521
21221
  * @export
@@ -22863,6 +23563,65 @@ export interface DataTypesManualCreditAdjustmentRequest {
22863
23563
  */
22864
23564
  'store_id': number;
22865
23565
  }
23566
+ /**
23567
+ *
23568
+ * @export
23569
+ * @interface DataTypesMarkPaidRequest
23570
+ */
23571
+ export interface DataTypesMarkPaidRequest {
23572
+ /**
23573
+ *
23574
+ * @type {number}
23575
+ * @memberof DataTypesMarkPaidRequest
23576
+ */
23577
+ 'amount': number;
23578
+ /**
23579
+ *
23580
+ * @type {string}
23581
+ * @memberof DataTypesMarkPaidRequest
23582
+ */
23583
+ 'currency': DataTypesMarkPaidRequestCurrencyEnum;
23584
+ /**
23585
+ *
23586
+ * @type {string}
23587
+ * @memberof DataTypesMarkPaidRequest
23588
+ */
23589
+ 'notes'?: string;
23590
+ /**
23591
+ * YYYY-MM-DD format
23592
+ * @type {string}
23593
+ * @memberof DataTypesMarkPaidRequest
23594
+ */
23595
+ 'payment_date': string;
23596
+ /**
23597
+ *
23598
+ * @type {string}
23599
+ * @memberof DataTypesMarkPaidRequest
23600
+ */
23601
+ 'payment_method': DataTypesMarkPaidRequestPaymentMethodEnum;
23602
+ /**
23603
+ *
23604
+ * @type {string}
23605
+ * @memberof DataTypesMarkPaidRequest
23606
+ */
23607
+ 'reference_number'?: string;
23608
+ }
23609
+
23610
+ export const DataTypesMarkPaidRequestCurrencyEnum = {
23611
+ Usd: 'USD',
23612
+ Inr: 'INR'
23613
+ } as const;
23614
+
23615
+ export type DataTypesMarkPaidRequestCurrencyEnum = typeof DataTypesMarkPaidRequestCurrencyEnum[keyof typeof DataTypesMarkPaidRequestCurrencyEnum];
23616
+ export const DataTypesMarkPaidRequestPaymentMethodEnum = {
23617
+ WireTransfer: 'wire_transfer',
23618
+ BankTransfer: 'bank_transfer',
23619
+ Check: 'check',
23620
+ Other: 'other'
23621
+ } as const;
23622
+
23623
+ export type DataTypesMarkPaidRequestPaymentMethodEnum = typeof DataTypesMarkPaidRequestPaymentMethodEnum[keyof typeof DataTypesMarkPaidRequestPaymentMethodEnum];
23624
+
22866
23625
  /**
22867
23626
  *
22868
23627
  * @export
@@ -24780,6 +25539,25 @@ export const DataTypesNotificationType = {
24780
25539
  export type DataTypesNotificationType = typeof DataTypesNotificationType[keyof typeof DataTypesNotificationType];
24781
25540
 
24782
25541
 
25542
+ /**
25543
+ *
25544
+ * @export
25545
+ * @interface DataTypesNotifyOrgRequest
25546
+ */
25547
+ export interface DataTypesNotifyOrgRequest {
25548
+ /**
25549
+ *
25550
+ * @type {string}
25551
+ * @memberof DataTypesNotifyOrgRequest
25552
+ */
25553
+ 'message'?: string;
25554
+ /**
25555
+ *
25556
+ * @type {string}
25557
+ * @memberof DataTypesNotifyOrgRequest
25558
+ */
25559
+ 'subject'?: string;
25560
+ }
24783
25561
  /**
24784
25562
  *
24785
25563
  * @export
@@ -24821,113 +25599,93 @@ export interface DataTypesOTPPayload {
24821
25599
  /**
24822
25600
  *
24823
25601
  * @export
24824
- * @interface DataTypesOfficialSearchResponse
25602
+ * @interface DataTypesOfflinePaymentResponse
24825
25603
  */
24826
- export interface DataTypesOfficialSearchResponse {
24827
- /**
24828
- *
24829
- * @type {any}
24830
- * @memberof DataTypesOfficialSearchResponse
24831
- */
24832
- 'facets'?: any;
25604
+ export interface DataTypesOfflinePaymentResponse {
24833
25605
  /**
24834
25606
  *
24835
25607
  * @type {number}
24836
- * @memberof DataTypesOfficialSearchResponse
25608
+ * @memberof DataTypesOfflinePaymentResponse
24837
25609
  */
24838
- 'page'?: number;
25610
+ 'amount'?: number;
24839
25611
  /**
24840
25612
  *
24841
- * @type {number}
24842
- * @memberof DataTypesOfficialSearchResponse
25613
+ * @type {string}
25614
+ * @memberof DataTypesOfflinePaymentResponse
24843
25615
  */
24844
- 'per_page'?: number;
25616
+ 'created_at'?: string;
24845
25617
  /**
24846
25618
  *
24847
- * @type {Array<DataTypesOfficialSearchResult>}
24848
- * @memberof DataTypesOfficialSearchResponse
24849
- */
24850
- 'results'?: Array<DataTypesOfficialSearchResult>;
24851
- /**
24852
- * Unique search identifier for analytics linking
24853
25619
  * @type {string}
24854
- * @memberof DataTypesOfficialSearchResponse
25620
+ * @memberof DataTypesOfflinePaymentResponse
24855
25621
  */
24856
- 'search_id'?: string;
25622
+ 'currency'?: string;
24857
25623
  /**
24858
- * Available sort options based on schema
24859
- * @type {Array<DataTypesSortOption>}
24860
- * @memberof DataTypesOfficialSearchResponse
25624
+ *
25625
+ * @type {number}
25626
+ * @memberof DataTypesOfflinePaymentResponse
24861
25627
  */
24862
- 'sort_options'?: Array<DataTypesSortOption>;
25628
+ 'id'?: number;
24863
25629
  /**
24864
25630
  *
24865
- * @type {Array<DataTypesAutocompleteSuggestion>}
24866
- * @memberof DataTypesOfficialSearchResponse
25631
+ * @type {string}
25632
+ * @memberof DataTypesOfflinePaymentResponse
24867
25633
  */
24868
- 'suggestions'?: Array<DataTypesAutocompleteSuggestion>;
25634
+ 'notes'?: string;
24869
25635
  /**
24870
25636
  *
24871
25637
  * @type {number}
24872
- * @memberof DataTypesOfficialSearchResponse
25638
+ * @memberof DataTypesOfflinePaymentResponse
24873
25639
  */
24874
- 'total_results'?: number;
24875
- }
24876
- /**
24877
- *
24878
- * @export
24879
- * @interface DataTypesOfficialSearchResponseWrapper
24880
- */
24881
- export interface DataTypesOfficialSearchResponseWrapper {
25640
+ 'org_id'?: number;
24882
25641
  /**
24883
- *
24884
- * @type {DataTypesOfficialSearchResponse}
24885
- * @memberof DataTypesOfficialSearchResponseWrapper
25642
+ * YYYY-MM-DD format
25643
+ * @type {string}
25644
+ * @memberof DataTypesOfflinePaymentResponse
24886
25645
  */
24887
- 'data'?: DataTypesOfficialSearchResponse;
25646
+ 'payment_date'?: string;
24888
25647
  /**
24889
25648
  *
24890
25649
  * @type {string}
24891
- * @memberof DataTypesOfficialSearchResponseWrapper
25650
+ * @memberof DataTypesOfflinePaymentResponse
24892
25651
  */
24893
- 'message'?: string;
25652
+ 'payment_method'?: string;
24894
25653
  /**
24895
25654
  *
24896
25655
  * @type {number}
24897
- * @memberof DataTypesOfficialSearchResponseWrapper
25656
+ * @memberof DataTypesOfflinePaymentResponse
24898
25657
  */
24899
- 'status'?: number;
24900
- }
24901
- /**
24902
- *
24903
- * @export
24904
- * @interface DataTypesOfficialSearchResult
24905
- */
24906
- export interface DataTypesOfficialSearchResult {
25658
+ 'plan_id'?: number;
24907
25659
  /**
24908
25660
  *
24909
- * @type {{ [key: string]: any; }}
24910
- * @memberof DataTypesOfficialSearchResult
25661
+ * @type {string}
25662
+ * @memberof DataTypesOfflinePaymentResponse
24911
25663
  */
24912
- 'document'?: { [key: string]: any; };
25664
+ 'reference_number'?: string;
24913
25665
  /**
24914
25666
  *
24915
- * @type {{ [key: string]: any; }}
24916
- * @memberof DataTypesOfficialSearchResult
25667
+ * @type {string}
25668
+ * @memberof DataTypesOfflinePaymentResponse
24917
25669
  */
24918
- 'highlight'?: { [key: string]: any; };
25670
+ 'status'?: string;
25671
+ /**
25672
+ *
25673
+ * @type {number}
25674
+ * @memberof DataTypesOfflinePaymentResponse
25675
+ */
25676
+ 'subscription_id'?: number;
24919
25677
  /**
24920
25678
  *
24921
25679
  * @type {string}
24922
- * @memberof DataTypesOfficialSearchResult
25680
+ * @memberof DataTypesOfflinePaymentResponse
24923
25681
  */
24924
- 'id'?: string;
25682
+ 'verified_at'?: string;
24925
25683
  /**
24926
25684
  *
24927
25685
  * @type {number}
24928
- * @memberof DataTypesOfficialSearchResult
25686
+ * @memberof DataTypesOfflinePaymentResponse
24929
25687
  */
24930
- 'score'?: number;
25688
+ 'verified_by_user_id'?: number;
24931
25689
  }
24932
25690
  /**
24933
25691
  *
@@ -25119,6 +25877,12 @@ export interface DataTypesOnboardingStatus {
25119
25877
  * @memberof DataTypesOnboardingStatus
25120
25878
  */
25121
25879
  'is_complete'?: boolean;
25880
+ /**
25881
+ * Whether the check was unreliable due to transient infrastructure errors
25882
+ * @type {boolean}
25883
+ * @memberof DataTypesOnboardingStatus
25884
+ */
25885
+ 'is_degraded'?: boolean;
25122
25886
  /**
25123
25887
  * List of missing components
25124
25888
  * @type {Array<string>}
@@ -26488,6 +27252,164 @@ export interface DataTypesPayment {
26488
27252
  */
26489
27253
  'transactionId'?: string;
26490
27254
  }
27255
+ /**
27256
+ *
27257
+ * @export
27258
+ * @interface DataTypesPaymentLinkListResponse
27259
+ */
27260
+ export interface DataTypesPaymentLinkListResponse {
27261
+ /**
27262
+ *
27263
+ * @type {Array<DataTypesPaymentLinkResponse>}
27264
+ * @memberof DataTypesPaymentLinkListResponse
27265
+ */
27266
+ 'data'?: Array<DataTypesPaymentLinkResponse>;
27267
+ /**
27268
+ *
27269
+ * @type {string}
27270
+ * @memberof DataTypesPaymentLinkListResponse
27271
+ */
27272
+ 'message'?: string;
27273
+ /**
27274
+ *
27275
+ * @type {number}
27276
+ * @memberof DataTypesPaymentLinkListResponse
27277
+ */
27278
+ 'page'?: number;
27279
+ /**
27280
+ *
27281
+ * @type {number}
27282
+ * @memberof DataTypesPaymentLinkListResponse
27283
+ */
27284
+ 'page_size'?: number;
27285
+ /**
27286
+ *
27287
+ * @type {number}
27288
+ * @memberof DataTypesPaymentLinkListResponse
27289
+ */
27290
+ 'status'?: number;
27291
+ /**
27292
+ *
27293
+ * @type {number}
27294
+ * @memberof DataTypesPaymentLinkListResponse
27295
+ */
27296
+ 'total'?: number;
27297
+ }
27298
+ /**
27299
+ *
27300
+ * @export
27301
+ * @interface DataTypesPaymentLinkResponse
27302
+ */
27303
+ export interface DataTypesPaymentLinkResponse {
27304
+ /**
27305
+ *
27306
+ * @type {number}
27307
+ * @memberof DataTypesPaymentLinkResponse
27308
+ */
27309
+ 'amount'?: number;
27310
+ /**
27311
+ *
27312
+ * @type {string}
27313
+ * @memberof DataTypesPaymentLinkResponse
27314
+ */
27315
+ 'created_at'?: string;
27316
+ /**
27317
+ *
27318
+ * @type {number}
27319
+ * @memberof DataTypesPaymentLinkResponse
27320
+ */
27321
+ 'created_by_user_id'?: number;
27322
+ /**
27323
+ *
27324
+ * @type {string}
27325
+ * @memberof DataTypesPaymentLinkResponse
27326
+ */
27327
+ 'currency'?: string;
27328
+ /**
27329
+ *
27330
+ * @type {string}
27331
+ * @memberof DataTypesPaymentLinkResponse
27332
+ */
27333
+ 'expires_at'?: string;
27334
+ /**
27335
+ *
27336
+ * @type {string}
27337
+ * @memberof DataTypesPaymentLinkResponse
27338
+ */
27339
+ 'gateway'?: string;
27340
+ /**
27341
+ *
27342
+ * @type {string}
27343
+ * @memberof DataTypesPaymentLinkResponse
27344
+ */
27345
+ 'gateway_data'?: string;
27346
+ /**
27347
+ *
27348
+ * @type {string}
27349
+ * @memberof DataTypesPaymentLinkResponse
27350
+ */
27351
+ 'gateway_link_id'?: string;
27352
+ /**
27353
+ *
27354
+ * @type {string}
27355
+ * @memberof DataTypesPaymentLinkResponse
27356
+ */
27357
+ 'gateway_link_url'?: string;
27358
+ /**
27359
+ *
27360
+ * @type {number}
27361
+ * @memberof DataTypesPaymentLinkResponse
27362
+ */
27363
+ 'id'?: number;
27364
+ /**
27365
+ *
27366
+ * @type {string}
27367
+ * @memberof DataTypesPaymentLinkResponse
27368
+ */
27369
+ 'notes'?: string;
27370
+ /**
27371
+ *
27372
+ * @type {number}
27373
+ * @memberof DataTypesPaymentLinkResponse
27374
+ */
27375
+ 'order_id'?: number;
27376
+ /**
27377
+ *
27378
+ * @type {number}
27379
+ * @memberof DataTypesPaymentLinkResponse
27380
+ */
27381
+ 'org_id'?: number;
27382
+ /**
27383
+ *
27384
+ * @type {string}
27385
+ * @memberof DataTypesPaymentLinkResponse
27386
+ */
27387
+ 'paid_at'?: string;
27388
+ /**
27389
+ *
27390
+ * @type {number}
27391
+ * @memberof DataTypesPaymentLinkResponse
27392
+ */
27393
+ 'plan_id'?: number;
27394
+ /**
27395
+ *
27396
+ * @type {string}
27397
+ * @memberof DataTypesPaymentLinkResponse
27398
+ */
27399
+ 'short_url'?: string;
27400
+ /**
27401
+ *
27402
+ * @type {string}
27403
+ * @memberof DataTypesPaymentLinkResponse
27404
+ */
27405
+ 'status'?: string;
27406
+ /**
27407
+ *
27408
+ * @type {string}
27409
+ * @memberof DataTypesPaymentLinkResponse
27410
+ */
27411
+ 'updated_at'?: string;
27412
+ }
26491
27413
  /**
26492
27414
  *
26493
27415
  * @export
@@ -27235,382 +28157,6 @@ export interface DataTypesProjectedRunoutInfo {
27235
28157
  */
27236
28158
  'warning_level'?: string;
27237
28159
  }
27238
- /**
27239
- *
27240
- * @export
27241
- * @interface DataTypesPublicCreateStoreRequest
27242
- */
27243
- export interface DataTypesPublicCreateStoreRequest {
27244
- /**
27245
- * Optional: array of documents to import immediately
27246
- * @type {Array<{ [key: string]: any; }>}
27247
- * @memberof DataTypesPublicCreateStoreRequest
27248
- */
27249
- 'dataset'?: Array<{ [key: string]: any; }>;
27250
- /**
27251
- *
27252
- * @type {string}
27253
- * @memberof DataTypesPublicCreateStoreRequest
27254
- */
27255
- 'industry'?: string;
27256
- /**
27257
- *
27258
- * @type {string}
27259
- * @memberof DataTypesPublicCreateStoreRequest
27260
- */
27261
- 'location'?: string;
27262
- /**
27263
- *
27264
- * @type {string}
27265
- * @memberof DataTypesPublicCreateStoreRequest
27266
- */
27267
- 'storeName': string;
27268
- }
27269
- /**
27270
- *
27271
- * @export
27272
- * @interface DataTypesPublicCreateStoreResponse
27273
- */
27274
- export interface DataTypesPublicCreateStoreResponse {
27275
- /**
27276
- * Job ID if dataset was imported
27277
- * @type {string}
27278
- * @memberof DataTypesPublicCreateStoreResponse
27279
- */
27280
- 'importJobId'?: string;
27281
- /**
27282
- * Number of documents imported
27283
- * @type {number}
27284
- * @memberof DataTypesPublicCreateStoreResponse
27285
- */
27286
- 'importedCount'?: number;
27287
- /**
27288
- *
27289
- * @type {number}
27290
- * @memberof DataTypesPublicCreateStoreResponse
27291
- */
27292
- 'storeId'?: number;
27293
- /**
27294
- *
27295
- * @type {string}
27296
- * @memberof DataTypesPublicCreateStoreResponse
27297
- */
27298
- 'storeName'?: string;
27299
- /**
27300
- *
27301
- * @type {string}
27302
- * @memberof DataTypesPublicCreateStoreResponse
27303
- */
27304
- 'xStoreId'?: string;
27305
- /**
27306
- *
27307
- * @type {string}
27308
- * @memberof DataTypesPublicCreateStoreResponse
27309
- */
27310
- 'xStoreSecret'?: string;
27311
- /**
27312
- *
27313
- * @type {string}
27314
- * @memberof DataTypesPublicCreateStoreResponse
27315
- */
27316
- 'xStoreWriteSecret'?: string;
27317
- }
27318
- /**
27319
- *
27320
- * @export
27321
- * @interface DataTypesPublicSearchRequest
27322
- */
27323
- export interface DataTypesPublicSearchRequest {
27324
- /**
27325
- *
27326
- * @type {Array<string>}
27327
- * @memberof DataTypesPublicSearchRequest
27328
- */
27329
- 'analytics_tags'?: Array<string>;
27330
- /**
27331
- * Anonymous/cookie ID for personalization
27332
- * @type {string}
27333
- * @memberof DataTypesPublicSearchRequest
27334
- */
27335
- 'anon_id'?: string;
27336
- /**
27337
- *
27338
- * @type {boolean}
27339
- * @memberof DataTypesPublicSearchRequest
27340
- */
27341
- 'apply_rules'?: boolean;
27342
- /**
27343
- *
27344
- * @type {boolean}
27345
- * @memberof DataTypesPublicSearchRequest
27346
- */
27347
- 'cache_results'?: boolean;
27348
- /**
27349
- *
27350
- * @type {boolean}
27351
- * @memberof DataTypesPublicSearchRequest
27352
- */
27353
- 'exact_match_boost'?: boolean;
27354
- /**
27355
- *
27356
- * @type {string}
27357
- * @memberof DataTypesPublicSearchRequest
27358
- */
27359
- 'facet_by'?: string;
27360
- /**
27361
- *
27362
- * @type {string}
27363
- * @memberof DataTypesPublicSearchRequest
27364
- */
27365
- 'facet_search_text'?: string;
27366
- /**
27367
- *
27368
- * @type {Array<number>}
27369
- * @memberof DataTypesPublicSearchRequest
27370
- */
27371
- 'field_weights'?: Array<number>;
27372
- /**
27373
- *
27374
- * @type {string}
27375
- * @memberof DataTypesPublicSearchRequest
27376
- */
27377
- 'filter'?: string;
27378
- /**
27379
- *
27380
- * @type {Array<string>}
27381
- * @memberof DataTypesPublicSearchRequest
27382
- */
27383
- 'full_snippet_fields'?: Array<string>;
27384
- /**
27385
- *
27386
- * @type {string}
27387
- * @memberof DataTypesPublicSearchRequest
27388
- */
27389
- 'group_field'?: string;
27390
- /**
27391
- *
27392
- * @type {number}
27393
- * @memberof DataTypesPublicSearchRequest
27394
- */
27395
- 'group_size'?: number;
27396
- /**
27397
- *
27398
- * @type {boolean}
27399
- * @memberof DataTypesPublicSearchRequest
27400
- */
27401
- 'include_snippets'?: boolean;
27402
- /**
27403
- *
27404
- * @type {boolean}
27405
- * @memberof DataTypesPublicSearchRequest
27406
- */
27407
- 'include_suggestions'?: boolean;
27408
- /**
27409
- *
27410
- * @type {string}
27411
- * @memberof DataTypesPublicSearchRequest
27412
- */
27413
- 'infix_mode'?: string;
27414
- /**
27415
- *
27416
- * @type {number}
27417
- * @memberof DataTypesPublicSearchRequest
27418
- */
27419
- 'max_facet_values'?: number;
27420
- /**
27421
- *
27422
- * @type {Array<string>}
27423
- * @memberof DataTypesPublicSearchRequest
27424
- */
27425
- 'omit_fields'?: Array<string>;
27426
- /**
27427
- *
27428
- * @type {number}
27429
- * @memberof DataTypesPublicSearchRequest
27430
- */
27431
- 'page'?: number;
27432
- /**
27433
- *
27434
- * @type {number}
27435
- * @memberof DataTypesPublicSearchRequest
27436
- */
27437
- 'per_page'?: number;
27438
- /**
27439
- *
27440
- * @type {string}
27441
- * @memberof DataTypesPublicSearchRequest
27442
- */
27443
- 'prefix_mode'?: string;
27444
- /**
27445
- *
27446
- * @type {string}
27447
- * @memberof DataTypesPublicSearchRequest
27448
- */
27449
- 'preset_name'?: string;
27450
- /**
27451
- *
27452
- * @type {string}
27453
- * @memberof DataTypesPublicSearchRequest
27454
- */
27455
- 'q': string;
27456
- /**
27457
- *
27458
- * @type {boolean}
27459
- * @memberof DataTypesPublicSearchRequest
27460
- */
27461
- 'require_all_terms'?: boolean;
27462
- /**
27463
- *
27464
- * @type {Array<string>}
27465
- * @memberof DataTypesPublicSearchRequest
27466
- */
27467
- 'return_fields'?: Array<string>;
27468
- /**
27469
- * Advanced query controls (public-friendly field names)
27470
- * @type {Array<string>}
27471
- * @memberof DataTypesPublicSearchRequest
27472
- */
27473
- 'search_fields'?: Array<string>;
27474
- /**
27475
- *
27476
- * @type {number}
27477
- * @memberof DataTypesPublicSearchRequest
27478
- */
27479
- 'search_timeout_ms'?: number;
27480
- /**
27481
- * Session ID for session-based personalization
27482
- * @type {string}
27483
- * @memberof DataTypesPublicSearchRequest
27484
- */
27485
- 'session_id'?: string;
27486
- /**
27487
- *
27488
- * @type {Array<string>}
27489
- * @memberof DataTypesPublicSearchRequest
27490
- */
27491
- 'snippet_fields'?: Array<string>;
27492
- /**
27493
- *
27494
- * @type {number}
27495
- * @memberof DataTypesPublicSearchRequest
27496
- */
27497
- 'snippet_min_len'?: number;
27498
- /**
27499
- *
27500
- * @type {string}
27501
- * @memberof DataTypesPublicSearchRequest
27502
- */
27503
- 'snippet_prefix'?: string;
27504
- /**
27505
- *
27506
- * @type {string}
27507
- * @memberof DataTypesPublicSearchRequest
27508
- */
27509
- 'snippet_suffix'?: string;
27510
- /**
27511
- *
27512
- * @type {number}
27513
- * @memberof DataTypesPublicSearchRequest
27514
- */
27515
- 'snippet_token_limit'?: number;
27516
- /**
27517
- *
27518
- * @type {string}
27519
- * @memberof DataTypesPublicSearchRequest
27520
- */
27521
- 'sort'?: string;
27522
- /**
27523
- * IDs of stopword sets to use
27524
- * @type {Array<string>}
27525
- * @memberof DataTypesPublicSearchRequest
27526
- */
27527
- 'stopword_sets'?: Array<string>;
27528
- /**
27529
- *
27530
- * @type {number}
27531
- * @memberof DataTypesPublicSearchRequest
27532
- */
27533
- 'suggestions_limit'?: number;
27534
- /**
27535
- * IDs of synonym sets to use
27536
- * @type {Array<string>}
27537
- * @memberof DataTypesPublicSearchRequest
27538
- */
27539
- 'synonym_sets'?: Array<string>;
27540
- /**
27541
- *
27542
- * @type {number}
27543
- * @memberof DataTypesPublicSearchRequest
27544
- */
27545
- 'typo_max'?: number;
27546
- /**
27547
- *
27548
- * @type {number}
27549
- * @memberof DataTypesPublicSearchRequest
27550
- */
27551
- 'typo_min_len_1'?: number;
27552
- /**
27553
- *
27554
- * @type {number}
27555
- * @memberof DataTypesPublicSearchRequest
27556
- */
27557
- 'typo_min_len_2'?: number;
27558
- /**
27559
- * Personalization fields (optional, backward compatible)
27560
- * @type {string}
27561
- * @memberof DataTypesPublicSearchRequest
27562
- */
27563
- 'user_id'?: string;
27564
- /**
27565
- * If true, returns only display fields instead of full document (used in public API only)
27566
- * @type {boolean}
27567
- * @memberof DataTypesPublicSearchRequest
27568
- */
27569
- 'widget_mode'?: boolean;
27570
- }
27571
- /**
27572
- *
27573
- * @export
27574
- * @interface DataTypesPublicStoreInfoResponse
27575
- */
27576
- export interface DataTypesPublicStoreInfoResponse {
27577
- /**
27578
- *
27579
- * @type {string}
27580
- * @memberof DataTypesPublicStoreInfoResponse
27581
- */
27582
- 'createdAt'?: string;
27583
- /**
27584
- *
27585
- * @type {boolean}
27586
- * @memberof DataTypesPublicStoreInfoResponse
27587
- */
27588
- 'isActive'?: boolean;
27589
- /**
27590
- *
27591
- * @type {string}
27592
- * @memberof DataTypesPublicStoreInfoResponse
27593
- */
27594
- 'location'?: string;
27595
- /**
27596
- *
27597
- * @type {number}
27598
- * @memberof DataTypesPublicStoreInfoResponse
27599
- */
27600
- 'storeId'?: number;
27601
- /**
27602
- *
27603
- * @type {string}
27604
- * @memberof DataTypesPublicStoreInfoResponse
27605
- */
27606
- 'storeName'?: string;
27607
- /**
27608
- *
27609
- * @type {string}
27610
- * @memberof DataTypesPublicStoreInfoResponse
27611
- */
27612
- 'xStoreId'?: string;
27613
- }
27614
28160
  /**
27615
28161
  *
27616
28162
  * @export
@@ -29388,6 +29934,259 @@ export interface DataTypesSchemaResponseWrapper {
29388
29934
  */
29389
29935
  'status'?: number;
29390
29936
  }
29937
+ /**
29938
+ *
29939
+ * @export
29940
+ * @interface DataTypesSearchRequest
29941
+ */
29942
+ export interface DataTypesSearchRequest {
29943
+ /**
29944
+ *
29945
+ * @type {Array<string>}
29946
+ * @memberof DataTypesSearchRequest
29947
+ */
29948
+ 'analytics_tags'?: Array<string>;
29949
+ /**
29950
+ * Anonymous/cookie ID for personalization
29951
+ * @type {string}
29952
+ * @memberof DataTypesSearchRequest
29953
+ */
29954
+ 'anon_id'?: string;
29955
+ /**
29956
+ *
29957
+ * @type {boolean}
29958
+ * @memberof DataTypesSearchRequest
29959
+ */
29960
+ 'apply_rules'?: boolean;
29961
+ /**
29962
+ *
29963
+ * @type {boolean}
29964
+ * @memberof DataTypesSearchRequest
29965
+ */
29966
+ 'cache_results'?: boolean;
29967
+ /**
29968
+ *
29969
+ * @type {boolean}
29970
+ * @memberof DataTypesSearchRequest
29971
+ */
29972
+ 'exact_match_boost'?: boolean;
29973
+ /**
29974
+ *
29975
+ * @type {string}
29976
+ * @memberof DataTypesSearchRequest
29977
+ */
29978
+ 'facet_by'?: string;
29979
+ /**
29980
+ *
29981
+ * @type {string}
29982
+ * @memberof DataTypesSearchRequest
29983
+ */
29984
+ 'facet_search_text'?: string;
29985
+ /**
29986
+ *
29987
+ * @type {Array<number>}
29988
+ * @memberof DataTypesSearchRequest
29989
+ */
29990
+ 'field_weights'?: Array<number>;
29991
+ /**
29992
+ *
29993
+ * @type {string}
29994
+ * @memberof DataTypesSearchRequest
29995
+ */
29996
+ 'filter'?: string;
29997
+ /**
29998
+ *
29999
+ * @type {Array<string>}
30000
+ * @memberof DataTypesSearchRequest
30001
+ */
30002
+ 'full_snippet_fields'?: Array<string>;
30003
+ /**
30004
+ *
30005
+ * @type {string}
30006
+ * @memberof DataTypesSearchRequest
30007
+ */
30008
+ 'group_field'?: string;
30009
+ /**
30010
+ *
30011
+ * @type {number}
30012
+ * @memberof DataTypesSearchRequest
30013
+ */
30014
+ 'group_size'?: number;
30015
+ /**
30016
+ *
30017
+ * @type {boolean}
30018
+ * @memberof DataTypesSearchRequest
30019
+ */
30020
+ 'include_snippets'?: boolean;
30021
+ /**
30022
+ *
30023
+ * @type {boolean}
30024
+ * @memberof DataTypesSearchRequest
30025
+ */
30026
+ 'include_suggestions'?: boolean;
30027
+ /**
30028
+ *
30029
+ * @type {string}
30030
+ * @memberof DataTypesSearchRequest
30031
+ */
30032
+ 'infix_mode'?: string;
30033
+ /**
30034
+ *
30035
+ * @type {number}
30036
+ * @memberof DataTypesSearchRequest
30037
+ */
30038
+ 'max_facet_values'?: number;
30039
+ /**
30040
+ *
30041
+ * @type {Array<string>}
30042
+ * @memberof DataTypesSearchRequest
30043
+ */
30044
+ 'omit_fields'?: Array<string>;
30045
+ /**
30046
+ *
30047
+ * @type {number}
30048
+ * @memberof DataTypesSearchRequest
30049
+ */
30050
+ 'page'?: number;
30051
+ /**
30052
+ *
30053
+ * @type {number}
30054
+ * @memberof DataTypesSearchRequest
30055
+ */
30056
+ 'per_page'?: number;
30057
+ /**
30058
+ *
30059
+ * @type {string}
30060
+ * @memberof DataTypesSearchRequest
30061
+ */
30062
+ 'prefix_mode'?: string;
30063
+ /**
30064
+ *
30065
+ * @type {string}
30066
+ * @memberof DataTypesSearchRequest
30067
+ */
30068
+ 'preset_name'?: string;
30069
+ /**
30070
+ *
30071
+ * @type {string}
30072
+ * @memberof DataTypesSearchRequest
30073
+ */
30074
+ 'q': string;
30075
+ /**
30076
+ *
30077
+ * @type {boolean}
30078
+ * @memberof DataTypesSearchRequest
30079
+ */
30080
+ 'require_all_terms'?: boolean;
30081
+ /**
30082
+ *
30083
+ * @type {Array<string>}
30084
+ * @memberof DataTypesSearchRequest
30085
+ */
30086
+ 'return_fields'?: Array<string>;
30087
+ /**
30088
+ * Advanced query controls (public-friendly field names)
30089
+ * @type {Array<string>}
30090
+ * @memberof DataTypesSearchRequest
30091
+ */
30092
+ 'search_fields'?: Array<string>;
30093
+ /**
30094
+ *
30095
+ * @type {number}
30096
+ * @memberof DataTypesSearchRequest
30097
+ */
30098
+ 'search_timeout_ms'?: number;
30099
+ /**
30100
+ * Session ID for session-based personalization
30101
+ * @type {string}
30102
+ * @memberof DataTypesSearchRequest
30103
+ */
30104
+ 'session_id'?: string;
30105
+ /**
30106
+ *
30107
+ * @type {Array<string>}
30108
+ * @memberof DataTypesSearchRequest
30109
+ */
30110
+ 'snippet_fields'?: Array<string>;
30111
+ /**
30112
+ *
30113
+ * @type {number}
30114
+ * @memberof DataTypesSearchRequest
30115
+ */
30116
+ 'snippet_min_len'?: number;
30117
+ /**
30118
+ *
30119
+ * @type {string}
30120
+ * @memberof DataTypesSearchRequest
30121
+ */
30122
+ 'snippet_prefix'?: string;
30123
+ /**
30124
+ *
30125
+ * @type {string}
30126
+ * @memberof DataTypesSearchRequest
30127
+ */
30128
+ 'snippet_suffix'?: string;
30129
+ /**
30130
+ *
30131
+ * @type {number}
30132
+ * @memberof DataTypesSearchRequest
30133
+ */
30134
+ 'snippet_token_limit'?: number;
30135
+ /**
30136
+ *
30137
+ * @type {string}
30138
+ * @memberof DataTypesSearchRequest
30139
+ */
30140
+ 'sort'?: string;
30141
+ /**
30142
+ * IDs of stopword sets to use
30143
+ * @type {Array<string>}
30144
+ * @memberof DataTypesSearchRequest
30145
+ */
30146
+ 'stopword_sets'?: Array<string>;
30147
+ /**
30148
+ *
30149
+ * @type {number}
30150
+ * @memberof DataTypesSearchRequest
30151
+ */
30152
+ 'suggestions_limit'?: number;
30153
+ /**
30154
+ * IDs of synonym sets to use
30155
+ * @type {Array<string>}
30156
+ * @memberof DataTypesSearchRequest
30157
+ */
30158
+ 'synonym_sets'?: Array<string>;
30159
+ /**
30160
+ *
30161
+ * @type {number}
30162
+ * @memberof DataTypesSearchRequest
30163
+ */
30164
+ 'typo_max'?: number;
30165
+ /**
30166
+ *
30167
+ * @type {number}
30168
+ * @memberof DataTypesSearchRequest
30169
+ */
30170
+ 'typo_min_len_1'?: number;
30171
+ /**
30172
+ *
30173
+ * @type {number}
30174
+ * @memberof DataTypesSearchRequest
30175
+ */
30176
+ 'typo_min_len_2'?: number;
30177
+ /**
30178
+ * Personalization fields (optional, backward compatible)
30179
+ * @type {string}
30180
+ * @memberof DataTypesSearchRequest
30181
+ */
30182
+ 'user_id'?: string;
30183
+ /**
30184
+ * If true, returns only display fields instead of full document (used in public API only)
30185
+ * @type {boolean}
30186
+ * @memberof DataTypesSearchRequest
30187
+ */
30188
+ 'widget_mode'?: boolean;
30189
+ }
29391
30190
  /**
29392
30191
  *
29393
30192
  * @export
@@ -29431,6 +30230,86 @@ export interface DataTypesSearchRequestsGraphResponse {
29431
30230
  */
29432
30231
  'total_requests'?: number;
29433
30232
  }
30233
+ /**
30234
+ *
30235
+ * @export
30236
+ * @interface DataTypesSearchResponse
30237
+ */
30238
+ export interface DataTypesSearchResponse {
30239
+ /**
30240
+ *
30241
+ * @type {any}
30242
+ * @memberof DataTypesSearchResponse
30243
+ */
30244
+ 'facets'?: any;
30245
+ /**
30246
+ *
30247
+ * @type {number}
30248
+ * @memberof DataTypesSearchResponse
30249
+ */
30250
+ 'page'?: number;
30251
+ /**
30252
+ *
30253
+ * @type {number}
30254
+ * @memberof DataTypesSearchResponse
30255
+ */
30256
+ 'per_page'?: number;
30257
+ /**
30258
+ *
30259
+ * @type {Array<DataTypesSearchResult>}
30260
+ * @memberof DataTypesSearchResponse
30261
+ */
30262
+ 'results'?: Array<DataTypesSearchResult>;
30263
+ /**
30264
+ * Unique search identifier for analytics linking
30265
+ * @type {string}
30266
+ * @memberof DataTypesSearchResponse
30267
+ */
30268
+ 'search_id'?: string;
30269
+ /**
30270
+ * Available sort options based on schema
30271
+ * @type {Array<DataTypesSortOption>}
30272
+ * @memberof DataTypesSearchResponse
30273
+ */
30274
+ 'sort_options'?: Array<DataTypesSortOption>;
30275
+ /**
30276
+ *
30277
+ * @type {Array<DataTypesAutocompleteSuggestion>}
30278
+ * @memberof DataTypesSearchResponse
30279
+ */
30280
+ 'suggestions'?: Array<DataTypesAutocompleteSuggestion>;
30281
+ /**
30282
+ *
30283
+ * @type {number}
30284
+ * @memberof DataTypesSearchResponse
30285
+ */
30286
+ 'total_results'?: number;
30287
+ }
30288
+ /**
30289
+ *
30290
+ * @export
30291
+ * @interface DataTypesSearchResponseWrapper
30292
+ */
30293
+ export interface DataTypesSearchResponseWrapper {
30294
+ /**
30295
+ *
30296
+ * @type {DataTypesSearchResponse}
30297
+ * @memberof DataTypesSearchResponseWrapper
30298
+ */
30299
+ 'data'?: DataTypesSearchResponse;
30300
+ /**
30301
+ *
30302
+ * @type {string}
30303
+ * @memberof DataTypesSearchResponseWrapper
30304
+ */
30305
+ 'message'?: string;
30306
+ /**
30307
+ *
30308
+ * @type {number}
30309
+ * @memberof DataTypesSearchResponseWrapper
30310
+ */
30311
+ 'status'?: number;
30312
+ }
29434
30313
  /**
29435
30314
  *
29436
30315
  * @export
@@ -29439,22 +30318,28 @@ export interface DataTypesSearchRequestsGraphResponse {
29439
30318
  export interface DataTypesSearchResult {
29440
30319
  /**
29441
30320
  *
29442
- * @type {number}
30321
+ * @type {{ [key: string]: any; }}
29443
30322
  * @memberof DataTypesSearchResult
29444
30323
  */
29445
- 'found'?: number;
30324
+ 'document'?: { [key: string]: any; };
29446
30325
  /**
29447
30326
  *
29448
- * @type {Array<object>}
30327
+ * @type {{ [key: string]: any; }}
29449
30328
  * @memberof DataTypesSearchResult
29450
30329
  */
29451
- 'results'?: Array<object>;
30330
+ 'highlight'?: { [key: string]: any; };
29452
30331
  /**
29453
30332
  *
29454
30333
  * @type {string}
29455
30334
  * @memberof DataTypesSearchResult
29456
30335
  */
29457
- 'status'?: string;
30336
+ 'id'?: string;
30337
+ /**
30338
+ *
30339
+ * @type {number}
30340
+ * @memberof DataTypesSearchResult
30341
+ */
30342
+ 'score'?: number;
29458
30343
  }
29459
30344
  /**
29460
30345
  *
@@ -29464,10 +30349,10 @@ export interface DataTypesSearchResult {
29464
30349
  export interface DataTypesSearchResultResponse {
29465
30350
  /**
29466
30351
  *
29467
- * @type {DataTypesSearchResult}
30352
+ * @type {DataTypesConnectorSearchResult}
29468
30353
  * @memberof DataTypesSearchResultResponse
29469
30354
  */
29470
- 'data'?: DataTypesSearchResult;
30355
+ 'data'?: DataTypesConnectorSearchResult;
29471
30356
  /**
29472
30357
  *
29473
30358
  * @type {string}
@@ -30991,6 +31876,409 @@ export interface DataTypesStoreAccessWithDetails {
30991
31876
  */
30992
31877
  'user_id'?: number;
30993
31878
  }
31879
+ /**
31880
+ *
31881
+ * @export
31882
+ * @interface DataTypesStoreConfigUpdateRequest
31883
+ */
31884
+ export interface DataTypesStoreConfigUpdateRequest {
31885
+ /**
31886
+ * Optional: If set, updates the public search flag
31887
+ * @type {boolean}
31888
+ * @memberof DataTypesStoreConfigUpdateRequest
31889
+ */
31890
+ 'allow_public_search'?: boolean;
31891
+ /**
31892
+ *
31893
+ * @type {string}
31894
+ * @memberof DataTypesStoreConfigUpdateRequest
31895
+ */
31896
+ 'collection_alias'?: string;
31897
+ /**
31898
+ *
31899
+ * @type {string}
31900
+ * @memberof DataTypesStoreConfigUpdateRequest
31901
+ */
31902
+ 'collection_name'?: string;
31903
+ /**
31904
+ *
31905
+ * @type {string}
31906
+ * @memberof DataTypesStoreConfigUpdateRequest
31907
+ */
31908
+ 'default_sorting_field'?: string;
31909
+ /**
31910
+ * Default stopwords set ID to use in searches
31911
+ * @type {string}
31912
+ * @memberof DataTypesStoreConfigUpdateRequest
31913
+ */
31914
+ 'default_stopwords_set'?: string;
31915
+ /**
31916
+ *
31917
+ * @type {number}
31918
+ * @memberof DataTypesStoreConfigUpdateRequest
31919
+ */
31920
+ 'drop_tokens_threshold'?: number;
31921
+ /**
31922
+ * Dropdown recommendations configuration
31923
+ * @type {DataTypesDropdownRecommendationsConfig}
31924
+ * @memberof DataTypesStoreConfigUpdateRequest
31925
+ */
31926
+ 'dropdown_recommendations_config'?: DataTypesDropdownRecommendationsConfig;
31927
+ /**
31928
+ *
31929
+ * @type {string}
31930
+ * @memberof DataTypesStoreConfigUpdateRequest
31931
+ */
31932
+ 'embed'?: string;
31933
+ /**
31934
+ *
31935
+ * @type {boolean}
31936
+ * @memberof DataTypesStoreConfigUpdateRequest
31937
+ */
31938
+ 'enable_autocomplete'?: boolean;
31939
+ /**
31940
+ *
31941
+ * @type {boolean}
31942
+ * @memberof DataTypesStoreConfigUpdateRequest
31943
+ */
31944
+ 'enable_highlight'?: boolean;
31945
+ /**
31946
+ *
31947
+ * @type {boolean}
31948
+ * @memberof DataTypesStoreConfigUpdateRequest
31949
+ */
31950
+ 'enable_overrides'?: boolean;
31951
+ /**
31952
+ *
31953
+ * @type {boolean}
31954
+ * @memberof DataTypesStoreConfigUpdateRequest
31955
+ */
31956
+ 'enable_smart_autocomplete'?: boolean;
31957
+ /**
31958
+ * Enable stemming on search collections
31959
+ * @type {boolean}
31960
+ * @memberof DataTypesStoreConfigUpdateRequest
31961
+ */
31962
+ 'enable_stemming'?: boolean;
31963
+ /**
31964
+ *
31965
+ * @type {boolean}
31966
+ * @memberof DataTypesStoreConfigUpdateRequest
31967
+ */
31968
+ 'enable_typo_highlight'?: boolean;
31969
+ /**
31970
+ *
31971
+ * @type {boolean}
31972
+ * @memberof DataTypesStoreConfigUpdateRequest
31973
+ */
31974
+ 'enable_typo_tolerance'?: boolean;
31975
+ /**
31976
+ * No omitempty to preserve empty arrays
31977
+ * @type {Array<string>}
31978
+ * @memberof DataTypesStoreConfigUpdateRequest
31979
+ */
31980
+ 'exclude_fields'?: Array<string>;
31981
+ /**
31982
+ *
31983
+ * @type {boolean}
31984
+ * @memberof DataTypesStoreConfigUpdateRequest
31985
+ */
31986
+ 'exhaustive_search'?: boolean;
31987
+ /**
31988
+ * No omitempty to preserve empty arrays
31989
+ * @type {Array<string>}
31990
+ * @memberof DataTypesStoreConfigUpdateRequest
31991
+ */
31992
+ 'facet_by'?: Array<string>;
31993
+ /**
31994
+ *
31995
+ * @type {string}
31996
+ * @memberof DataTypesStoreConfigUpdateRequest
31997
+ */
31998
+ 'facet_query'?: string;
31999
+ /**
32000
+ * No omitempty to preserve empty arrays
32001
+ * @type {Array<DataTypesFacetRangeConfig>}
32002
+ * @memberof DataTypesStoreConfigUpdateRequest
32003
+ */
32004
+ 'facet_ranges'?: Array<DataTypesFacetRangeConfig>;
32005
+ /**
32006
+ *
32007
+ * @type {string}
32008
+ * @memberof DataTypesStoreConfigUpdateRequest
32009
+ */
32010
+ 'filter_by'?: string;
32011
+ /**
32012
+ *
32013
+ * @type {string}
32014
+ * @memberof DataTypesStoreConfigUpdateRequest
32015
+ */
32016
+ 'group_by'?: string;
32017
+ /**
32018
+ *
32019
+ * @type {number}
32020
+ * @memberof DataTypesStoreConfigUpdateRequest
32021
+ */
32022
+ 'group_limit'?: number;
32023
+ /**
32024
+ * No omitempty to preserve empty arrays
32025
+ * @type {Array<string>}
32026
+ * @memberof DataTypesStoreConfigUpdateRequest
32027
+ */
32028
+ 'hidden_facet_fields'?: Array<string>;
32029
+ /**
32030
+ * No omitempty to preserve empty arrays
32031
+ * @type {Array<string>}
32032
+ * @memberof DataTypesStoreConfigUpdateRequest
32033
+ */
32034
+ 'hidden_fields'?: Array<string>;
32035
+ /**
32036
+ * No omitempty to preserve empty arrays
32037
+ * @type {Array<string>}
32038
+ * @memberof DataTypesStoreConfigUpdateRequest
32039
+ */
32040
+ 'hidden_filter_fields'?: Array<string>;
32041
+ /**
32042
+ *
32043
+ * @type {number}
32044
+ * @memberof DataTypesStoreConfigUpdateRequest
32045
+ */
32046
+ 'highlight_affix_num_tokens'?: number;
32047
+ /**
32048
+ *
32049
+ * @type {string}
32050
+ * @memberof DataTypesStoreConfigUpdateRequest
32051
+ */
32052
+ 'highlight_end_tag'?: string;
32053
+ /**
32054
+ * No omitempty to preserve empty arrays
32055
+ * @type {Array<string>}
32056
+ * @memberof DataTypesStoreConfigUpdateRequest
32057
+ */
32058
+ 'highlight_fields'?: Array<string>;
32059
+ /**
32060
+ * No omitempty to preserve empty arrays
32061
+ * @type {Array<string>}
32062
+ * @memberof DataTypesStoreConfigUpdateRequest
32063
+ */
32064
+ 'highlight_full_fields'?: Array<string>;
32065
+ /**
32066
+ *
32067
+ * @type {string}
32068
+ * @memberof DataTypesStoreConfigUpdateRequest
32069
+ */
32070
+ 'highlight_start_tag'?: string;
32071
+ /**
32072
+ *
32073
+ * @type {string}
32074
+ * @memberof DataTypesStoreConfigUpdateRequest
32075
+ */
32076
+ 'image_url'?: string;
32077
+ /**
32078
+ * No omitempty to preserve empty arrays
32079
+ * @type {Array<string>}
32080
+ * @memberof DataTypesStoreConfigUpdateRequest
32081
+ */
32082
+ 'include_fields'?: Array<string>;
32083
+ /**
32084
+ * \"always\", \"fallback\", or \"off\"
32085
+ * @type {string}
32086
+ * @memberof DataTypesStoreConfigUpdateRequest
32087
+ */
32088
+ 'infix'?: string;
32089
+ /**
32090
+ *
32091
+ * @type {string}
32092
+ * @memberof DataTypesStoreConfigUpdateRequest
32093
+ */
32094
+ 'locale'?: string;
32095
+ /**
32096
+ *
32097
+ * @type {number}
32098
+ * @memberof DataTypesStoreConfigUpdateRequest
32099
+ */
32100
+ 'max_candidates'?: number;
32101
+ /**
32102
+ *
32103
+ * @type {number}
32104
+ * @memberof DataTypesStoreConfigUpdateRequest
32105
+ */
32106
+ 'max_facet_values'?: number;
32107
+ /**
32108
+ *
32109
+ * @type {number}
32110
+ * @memberof DataTypesStoreConfigUpdateRequest
32111
+ */
32112
+ 'min_len_1typo'?: number;
32113
+ /**
32114
+ *
32115
+ * @type {number}
32116
+ * @memberof DataTypesStoreConfigUpdateRequest
32117
+ */
32118
+ 'min_len_2typo'?: number;
32119
+ /**
32120
+ *
32121
+ * @type {number}
32122
+ * @memberof DataTypesStoreConfigUpdateRequest
32123
+ */
32124
+ 'num_typos'?: number;
32125
+ /**
32126
+ *
32127
+ * @type {number}
32128
+ * @memberof DataTypesStoreConfigUpdateRequest
32129
+ */
32130
+ 'page'?: number;
32131
+ /**
32132
+ *
32133
+ * @type {number}
32134
+ * @memberof DataTypesStoreConfigUpdateRequest
32135
+ */
32136
+ 'per_page'?: number;
32137
+ /**
32138
+ *
32139
+ * @type {string}
32140
+ * @memberof DataTypesStoreConfigUpdateRequest
32141
+ */
32142
+ 'prefix'?: string;
32143
+ /**
32144
+ *
32145
+ * @type {string}
32146
+ * @memberof DataTypesStoreConfigUpdateRequest
32147
+ */
32148
+ 'preset'?: string;
32149
+ /**
32150
+ *
32151
+ * @type {string}
32152
+ * @memberof DataTypesStoreConfigUpdateRequest
32153
+ */
32154
+ 'primary_text'?: string;
32155
+ /**
32156
+ *
32157
+ * @type {boolean}
32158
+ * @memberof DataTypesStoreConfigUpdateRequest
32159
+ */
32160
+ 'prioritize_exact_match'?: boolean;
32161
+ /**
32162
+ * Required: Query string
32163
+ * @type {string}
32164
+ * @memberof DataTypesStoreConfigUpdateRequest
32165
+ */
32166
+ 'q'?: string;
32167
+ /**
32168
+ * Required: Array of search fields
32169
+ * @type {Array<string>}
32170
+ * @memberof DataTypesStoreConfigUpdateRequest
32171
+ */
32172
+ 'query_by'?: Array<string>;
32173
+ /**
32174
+ * Optional: Relative field weights as array (no omitempty to preserve empty arrays)
32175
+ * @type {Array<number>}
32176
+ * @memberof DataTypesStoreConfigUpdateRequest
32177
+ */
32178
+ 'query_by_weights'?: Array<number>;
32179
+ /**
32180
+ * Query suggestions configuration
32181
+ * @type {DataTypesQuerySuggestionsConfig}
32182
+ * @memberof DataTypesStoreConfigUpdateRequest
32183
+ */
32184
+ 'query_suggestions_config'?: DataTypesQuerySuggestionsConfig;
32185
+ /**
32186
+ *
32187
+ * @type {boolean}
32188
+ * @memberof DataTypesStoreConfigUpdateRequest
32189
+ */
32190
+ 'query_syntax'?: boolean;
32191
+ /**
32192
+ *
32193
+ * @type {number}
32194
+ * @memberof DataTypesStoreConfigUpdateRequest
32195
+ */
32196
+ 'search_cutoff_ms'?: number;
32197
+ /**
32198
+ * \"text\", \"vector\", \"hybrid\"
32199
+ * @type {string}
32200
+ * @memberof DataTypesStoreConfigUpdateRequest
32201
+ */
32202
+ 'search_strategy'?: string;
32203
+ /**
32204
+ *
32205
+ * @type {string}
32206
+ * @memberof DataTypesStoreConfigUpdateRequest
32207
+ */
32208
+ 'secondary_text'?: string;
32209
+ /**
32210
+ *
32211
+ * @type {boolean}
32212
+ * @memberof DataTypesStoreConfigUpdateRequest
32213
+ */
32214
+ 'semantic_ranker'?: boolean;
32215
+ /**
32216
+ *
32217
+ * @type {number}
32218
+ * @memberof DataTypesStoreConfigUpdateRequest
32219
+ */
32220
+ 'snippet_threshold'?: number;
32221
+ /**
32222
+ * No omitempty to preserve empty arrays
32223
+ * @type {Array<DataTypesSortField>}
32224
+ * @memberof DataTypesStoreConfigUpdateRequest
32225
+ */
32226
+ 'sort_by'?: Array<DataTypesSortField>;
32227
+ /**
32228
+ * Locale for stemming (e.g., \"en\", \"fr\", \"de\")
32229
+ * @type {string}
32230
+ * @memberof DataTypesStoreConfigUpdateRequest
32231
+ */
32232
+ 'stemming_locale'?: string;
32233
+ /**
32234
+ * Flattened stopwords and synonyms fields
32235
+ * @type {Array<DataTypesStopwordEntry>}
32236
+ * @memberof DataTypesStoreConfigUpdateRequest
32237
+ */
32238
+ 'stopwords'?: Array<DataTypesStopwordEntry>;
32239
+ /**
32240
+ * No omitempty to preserve empty arrays
32241
+ * @type {Array<string>}
32242
+ * @memberof DataTypesStoreConfigUpdateRequest
32243
+ */
32244
+ 'symbols_to_index'?: Array<string>;
32245
+ /**
32246
+ * No omitempty to preserve empty arrays
32247
+ * @type {Array<DataTypesSynonymEntry>}
32248
+ * @memberof DataTypesStoreConfigUpdateRequest
32249
+ */
32250
+ 'synonyms'?: Array<DataTypesSynonymEntry>;
32251
+ /**
32252
+ *
32253
+ * @type {string}
32254
+ * @memberof DataTypesStoreConfigUpdateRequest
32255
+ */
32256
+ 'tertiary_text'?: string;
32257
+ /**
32258
+ * Optional: Search-only scoped API key
32259
+ * @type {string}
32260
+ * @memberof DataTypesStoreConfigUpdateRequest
32261
+ */
32262
+ 'token'?: string;
32263
+ /**
32264
+ * No omitempty to preserve empty arrays
32265
+ * @type {Array<string>}
32266
+ * @memberof DataTypesStoreConfigUpdateRequest
32267
+ */
32268
+ 'token_separators'?: Array<string>;
32269
+ /**
32270
+ *
32271
+ * @type {boolean}
32272
+ * @memberof DataTypesStoreConfigUpdateRequest
32273
+ */
32274
+ 'use_cache'?: boolean;
32275
+ /**
32276
+ *
32277
+ * @type {string}
32278
+ * @memberof DataTypesStoreConfigUpdateRequest
32279
+ */
32280
+ 'vector_query'?: string;
32281
+ }
30994
32282
  /**
30995
32283
  *
30996
32284
  * @export
@@ -31171,6 +32459,49 @@ export interface DataTypesStoreCredentialsResponse {
31171
32459
  */
31172
32460
  'status'?: number;
31173
32461
  }
32462
+ /**
32463
+ *
32464
+ * @export
32465
+ * @interface DataTypesStoreInfoResponse
32466
+ */
32467
+ export interface DataTypesStoreInfoResponse {
32468
+ /**
32469
+ *
32470
+ * @type {string}
32471
+ * @memberof DataTypesStoreInfoResponse
32472
+ */
32473
+ 'createdAt'?: string;
32474
+ /**
32475
+ *
32476
+ * @type {boolean}
32477
+ * @memberof DataTypesStoreInfoResponse
32478
+ */
32479
+ 'isActive'?: boolean;
32480
+ /**
32481
+ *
32482
+ * @type {string}
32483
+ * @memberof DataTypesStoreInfoResponse
32484
+ */
32485
+ 'location'?: string;
32486
+ /**
32487
+ *
32488
+ * @type {number}
32489
+ * @memberof DataTypesStoreInfoResponse
32490
+ */
32491
+ 'storeId'?: number;
32492
+ /**
32493
+ *
32494
+ * @type {string}
32495
+ * @memberof DataTypesStoreInfoResponse
32496
+ */
32497
+ 'storeName'?: string;
32498
+ /**
32499
+ *
32500
+ * @type {string}
32501
+ * @memberof DataTypesStoreInfoResponse
32502
+ */
32503
+ 'xStoreId'?: string;
32504
+ }
31174
32505
  /**
31175
32506
  *
31176
32507
  * @export
@@ -32738,6 +34069,67 @@ export interface DataTypesUpdateAnalyticsRuleRequest {
32738
34069
  */
32739
34070
  'rule_config'?: DataTypesRuleConfig;
32740
34071
  }
34072
+ /**
34073
+ *
34074
+ * @export
34075
+ * @interface DataTypesUpdateCustomPlanRequest
34076
+ */
34077
+ export interface DataTypesUpdateCustomPlanRequest {
34078
+ /**
34079
+ *
34080
+ * @type {number}
34081
+ * @memberof DataTypesUpdateCustomPlanRequest
34082
+ */
34083
+ 'bonus_credits'?: number;
34084
+ /**
34085
+ *
34086
+ * @type {string}
34087
+ * @memberof DataTypesUpdateCustomPlanRequest
34088
+ */
34089
+ 'description'?: string;
34090
+ /**
34091
+ *
34092
+ * @type {string}
34093
+ * @memberof DataTypesUpdateCustomPlanRequest
34094
+ */
34095
+ 'highlights'?: string;
34096
+ /**
34097
+ *
34098
+ * @type {boolean}
34099
+ * @memberof DataTypesUpdateCustomPlanRequest
34100
+ */
34101
+ 'is_active'?: boolean;
34102
+ /**
34103
+ *
34104
+ * @type {string}
34105
+ * @memberof DataTypesUpdateCustomPlanRequest
34106
+ */
34107
+ 'notes'?: string;
34108
+ /**
34109
+ *
34110
+ * @type {string}
34111
+ * @memberof DataTypesUpdateCustomPlanRequest
34112
+ */
34113
+ 'plan_features'?: string;
34114
+ /**
34115
+ *
34116
+ * @type {string}
34117
+ * @memberof DataTypesUpdateCustomPlanRequest
34118
+ */
34119
+ 'plan_name'?: string;
34120
+ /**
34121
+ *
34122
+ * @type {number}
34123
+ * @memberof DataTypesUpdateCustomPlanRequest
34124
+ */
34125
+ 'price'?: number;
34126
+ /**
34127
+ *
34128
+ * @type {number}
34129
+ * @memberof DataTypesUpdateCustomPlanRequest
34130
+ */
34131
+ 'total_credits'?: number;
34132
+ }
32741
34133
  /**
32742
34134
  *
32743
34135
  * @export
@@ -48892,7 +50284,7 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
48892
50284
  * @param {*} [options] Override http request option.
48893
50285
  * @throws {RequiredError}
48894
50286
  */
48895
- async analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
50287
+ async analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBatchEventData>> {
48896
50288
  const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
48897
50289
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48898
50290
  const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsBatchPost']?.[localVarOperationServerIndex]?.url;
@@ -48906,7 +50298,7 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
48906
50298
  * @param {*} [options] Override http request option.
48907
50299
  * @throws {RequiredError}
48908
50300
  */
48909
- async analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
50301
+ async analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesAnalyticsConfigData>> {
48910
50302
  const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
48911
50303
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48912
50304
  const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsConfigGet']?.[localVarOperationServerIndex]?.url;
@@ -48921,7 +50313,7 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
48921
50313
  * @param {*} [options] Override http request option.
48922
50314
  * @throws {RequiredError}
48923
50315
  */
48924
- async analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
50316
+ async analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesEventSubmitData>> {
48925
50317
  const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
48926
50318
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48927
50319
  const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsEventPost']?.[localVarOperationServerIndex]?.url;
@@ -48950,7 +50342,7 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
48950
50342
  * @param {*} [options] Override http request option.
48951
50343
  * @throws {RequiredError}
48952
50344
  */
48953
- async analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
50345
+ async analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesEventValidateData>> {
48954
50346
  const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
48955
50347
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48956
50348
  const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsValidatePost']?.[localVarOperationServerIndex]?.url;
@@ -48975,7 +50367,7 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
48975
50367
  * @param {*} [options] Override http request option.
48976
50368
  * @throws {RequiredError}
48977
50369
  */
48978
- analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
50370
+ analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBatchEventData> {
48979
50371
  return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
48980
50372
  },
48981
50373
  /**
@@ -48986,7 +50378,7 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
48986
50378
  * @param {*} [options] Override http request option.
48987
50379
  * @throws {RequiredError}
48988
50380
  */
48989
- analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
50381
+ analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesAnalyticsConfigData> {
48990
50382
  return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
48991
50383
  },
48992
50384
  /**
@@ -48998,7 +50390,7 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
48998
50390
  * @param {*} [options] Override http request option.
48999
50391
  * @throws {RequiredError}
49000
50392
  */
49001
- analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
50393
+ analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesEventSubmitData> {
49002
50394
  return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
49003
50395
  },
49004
50396
  /**
@@ -49021,7 +50413,7 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
49021
50413
  * @param {*} [options] Override http request option.
49022
50414
  * @throws {RequiredError}
49023
50415
  */
49024
- analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
50416
+ analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesEventValidateData> {
49025
50417
  return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
49026
50418
  },
49027
50419
  };
@@ -53966,6 +55358,978 @@ export class AutomatedRefundManagementApi extends BaseAPI {
53966
55358
 
53967
55359
 
53968
55360
 
55361
+ /**
55362
+ * BackofficeCustomPlansApi - axios parameter creator
55363
+ * @export
55364
+ */
55365
+ export const BackofficeCustomPlansApiAxiosParamCreator = function (configuration?: Configuration) {
55366
+ return {
55367
+ /**
55368
+ * Returns a paginated, filterable list of custom enterprise plans
55369
+ * @summary List custom plans
55370
+ * @param {number} [page] Page number
55371
+ * @param {number} [pageSize] Page size (max 100)
55372
+ * @param {number} [orgId] Filter by organization ID
55373
+ * @param {string} [status] Filter by status (active, inactive, all)
55374
+ * @param {string} [search] Search by plan name or org name
55375
+ * @param {*} [options] Override http request option.
55376
+ * @throws {RequiredError}
55377
+ */
55378
+ backofficePlansCustomGet: async (page?: number, pageSize?: number, orgId?: number, status?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55379
+ const localVarPath = `/backoffice/plans/custom`;
55380
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55381
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55382
+ let baseOptions;
55383
+ if (configuration) {
55384
+ baseOptions = configuration.baseOptions;
55385
+ }
55386
+
55387
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55388
+ const localVarHeaderParameter = {} as any;
55389
+ const localVarQueryParameter = {} as any;
55390
+
55391
+ // authentication ApiKeyAuth required
55392
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55393
+
55394
+ if (page !== undefined) {
55395
+ localVarQueryParameter['page'] = page;
55396
+ }
55397
+
55398
+ if (pageSize !== undefined) {
55399
+ localVarQueryParameter['page_size'] = pageSize;
55400
+ }
55401
+
55402
+ if (orgId !== undefined) {
55403
+ localVarQueryParameter['org_id'] = orgId;
55404
+ }
55405
+
55406
+ if (status !== undefined) {
55407
+ localVarQueryParameter['status'] = status;
55408
+ }
55409
+
55410
+ if (search !== undefined) {
55411
+ localVarQueryParameter['search'] = search;
55412
+ }
55413
+
55414
+
55415
+
55416
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55417
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55418
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55419
+
55420
+ return {
55421
+ url: toPathString(localVarUrlObj),
55422
+ options: localVarRequestOptions,
55423
+ };
55424
+ },
55425
+ /**
55426
+ * Deactivates a custom enterprise plan by setting is_active to false
55427
+ * @summary Soft-delete a custom plan
55428
+ * @param {number} id Custom plan ID
55429
+ * @param {*} [options] Override http request option.
55430
+ * @throws {RequiredError}
55431
+ */
55432
+ backofficePlansCustomIdDelete: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55433
+ // verify required parameter 'id' is not null or undefined
55434
+ assertParamExists('backofficePlansCustomIdDelete', 'id', id)
55435
+ const localVarPath = `/backoffice/plans/custom/{id}`
55436
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55438
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55439
+ let baseOptions;
55440
+ if (configuration) {
55441
+ baseOptions = configuration.baseOptions;
55442
+ }
55443
+
55444
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
55445
+ const localVarHeaderParameter = {} as any;
55446
+ const localVarQueryParameter = {} as any;
55447
+
55448
+ // authentication ApiKeyAuth required
55449
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55450
+
55451
+
55452
+
55453
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55454
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55455
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55456
+
55457
+ return {
55458
+ url: toPathString(localVarUrlObj),
55459
+ options: localVarRequestOptions,
55460
+ };
55461
+ },
55462
+ /**
55463
+ * Retrieves a single custom enterprise plan by its ID
55464
+ * @summary Get a custom plan by ID
55465
+ * @param {number} id Custom plan ID
55466
+ * @param {*} [options] Override http request option.
55467
+ * @throws {RequiredError}
55468
+ */
55469
+ backofficePlansCustomIdGet: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55470
+ // verify required parameter 'id' is not null or undefined
55471
+ assertParamExists('backofficePlansCustomIdGet', 'id', id)
55472
+ const localVarPath = `/backoffice/plans/custom/{id}`
55473
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55474
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55475
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55476
+ let baseOptions;
55477
+ if (configuration) {
55478
+ baseOptions = configuration.baseOptions;
55479
+ }
55480
+
55481
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55482
+ const localVarHeaderParameter = {} as any;
55483
+ const localVarQueryParameter = {} as any;
55484
+
55485
+ // authentication ApiKeyAuth required
55486
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55487
+
55488
+
55489
+
55490
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55491
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55492
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55493
+
55494
+ return {
55495
+ url: toPathString(localVarUrlObj),
55496
+ options: localVarRequestOptions,
55497
+ };
55498
+ },
55499
+ /**
55500
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
55501
+ * @summary Mark a custom plan as paid (offline payment)
55502
+ * @param {number} id Custom plan ID
55503
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
55504
+ * @param {*} [options] Override http request option.
55505
+ * @throws {RequiredError}
55506
+ */
55507
+ backofficePlansCustomIdMarkPaidPost: async (id: number, dataTypesMarkPaidRequest: DataTypesMarkPaidRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55508
+ // verify required parameter 'id' is not null or undefined
55509
+ assertParamExists('backofficePlansCustomIdMarkPaidPost', 'id', id)
55510
+ // verify required parameter 'dataTypesMarkPaidRequest' is not null or undefined
55511
+ assertParamExists('backofficePlansCustomIdMarkPaidPost', 'dataTypesMarkPaidRequest', dataTypesMarkPaidRequest)
55512
+ const localVarPath = `/backoffice/plans/custom/{id}/mark-paid`
55513
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55514
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55515
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55516
+ let baseOptions;
55517
+ if (configuration) {
55518
+ baseOptions = configuration.baseOptions;
55519
+ }
55520
+
55521
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
55522
+ const localVarHeaderParameter = {} as any;
55523
+ const localVarQueryParameter = {} as any;
55524
+
55525
+ // authentication ApiKeyAuth required
55526
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55527
+
55528
+
55529
+
55530
+ localVarHeaderParameter['Content-Type'] = 'application/json';
55531
+
55532
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55533
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55534
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55535
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesMarkPaidRequest, localVarRequestOptions, configuration)
55536
+
55537
+ return {
55538
+ url: toPathString(localVarUrlObj),
55539
+ options: localVarRequestOptions,
55540
+ };
55541
+ },
55542
+ /**
55543
+ * Sends a notification to the organization regarding their custom plan
55544
+ * @summary Send notification to org about custom plan
55545
+ * @param {number} id Custom plan ID
55546
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
55547
+ * @param {*} [options] Override http request option.
55548
+ * @throws {RequiredError}
55549
+ */
55550
+ backofficePlansCustomIdNotifyPost: async (id: number, dataTypesNotifyOrgRequest?: DataTypesNotifyOrgRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55551
+ // verify required parameter 'id' is not null or undefined
55552
+ assertParamExists('backofficePlansCustomIdNotifyPost', 'id', id)
55553
+ const localVarPath = `/backoffice/plans/custom/{id}/notify`
55554
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55555
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55556
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55557
+ let baseOptions;
55558
+ if (configuration) {
55559
+ baseOptions = configuration.baseOptions;
55560
+ }
55561
+
55562
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
55563
+ const localVarHeaderParameter = {} as any;
55564
+ const localVarQueryParameter = {} as any;
55565
+
55566
+ // authentication ApiKeyAuth required
55567
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55568
+
55569
+
55570
+
55571
+ localVarHeaderParameter['Content-Type'] = 'application/json';
55572
+
55573
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55574
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55575
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55576
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesNotifyOrgRequest, localVarRequestOptions, configuration)
55577
+
55578
+ return {
55579
+ url: toPathString(localVarUrlObj),
55580
+ options: localVarRequestOptions,
55581
+ };
55582
+ },
55583
+ /**
55584
+ * Creates a payment link via the specified gateway for a custom plan
55585
+ * @summary Generate a payment link for a custom plan
55586
+ * @param {number} id Custom plan ID
55587
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
55588
+ * @param {*} [options] Override http request option.
55589
+ * @throws {RequiredError}
55590
+ */
55591
+ backofficePlansCustomIdPaymentLinkPost: async (id: number, dataTypesGeneratePaymentLinkRequest: DataTypesGeneratePaymentLinkRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55592
+ // verify required parameter 'id' is not null or undefined
55593
+ assertParamExists('backofficePlansCustomIdPaymentLinkPost', 'id', id)
55594
+ // verify required parameter 'dataTypesGeneratePaymentLinkRequest' is not null or undefined
55595
+ assertParamExists('backofficePlansCustomIdPaymentLinkPost', 'dataTypesGeneratePaymentLinkRequest', dataTypesGeneratePaymentLinkRequest)
55596
+ const localVarPath = `/backoffice/plans/custom/{id}/payment-link`
55597
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55598
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55599
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55600
+ let baseOptions;
55601
+ if (configuration) {
55602
+ baseOptions = configuration.baseOptions;
55603
+ }
55604
+
55605
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
55606
+ const localVarHeaderParameter = {} as any;
55607
+ const localVarQueryParameter = {} as any;
55608
+
55609
+ // authentication ApiKeyAuth required
55610
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55611
+
55612
+
55613
+
55614
+ localVarHeaderParameter['Content-Type'] = 'application/json';
55615
+
55616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55618
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55619
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesGeneratePaymentLinkRequest, localVarRequestOptions, configuration)
55620
+
55621
+ return {
55622
+ url: toPathString(localVarUrlObj),
55623
+ options: localVarRequestOptions,
55624
+ };
55625
+ },
55626
+ /**
55627
+ * Updates the specified fields of a custom enterprise plan
55628
+ * @summary Update a custom plan
55629
+ * @param {number} id Custom plan ID
55630
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
55631
+ * @param {*} [options] Override http request option.
55632
+ * @throws {RequiredError}
55633
+ */
55634
+ backofficePlansCustomIdPut: async (id: number, dataTypesUpdateCustomPlanRequest: DataTypesUpdateCustomPlanRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55635
+ // verify required parameter 'id' is not null or undefined
55636
+ assertParamExists('backofficePlansCustomIdPut', 'id', id)
55637
+ // verify required parameter 'dataTypesUpdateCustomPlanRequest' is not null or undefined
55638
+ assertParamExists('backofficePlansCustomIdPut', 'dataTypesUpdateCustomPlanRequest', dataTypesUpdateCustomPlanRequest)
55639
+ const localVarPath = `/backoffice/plans/custom/{id}`
55640
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
55641
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55642
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55643
+ let baseOptions;
55644
+ if (configuration) {
55645
+ baseOptions = configuration.baseOptions;
55646
+ }
55647
+
55648
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
55649
+ const localVarHeaderParameter = {} as any;
55650
+ const localVarQueryParameter = {} as any;
55651
+
55652
+ // authentication ApiKeyAuth required
55653
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55654
+
55655
+
55656
+
55657
+ localVarHeaderParameter['Content-Type'] = 'application/json';
55658
+
55659
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55660
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55661
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55662
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomPlanRequest, localVarRequestOptions, configuration)
55663
+
55664
+ return {
55665
+ url: toPathString(localVarUrlObj),
55666
+ options: localVarRequestOptions,
55667
+ };
55668
+ },
55669
+ /**
55670
+ * Creates a new custom enterprise plan for a specific organization
55671
+ * @summary Create a custom enterprise plan
55672
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
55673
+ * @param {*} [options] Override http request option.
55674
+ * @throws {RequiredError}
55675
+ */
55676
+ backofficePlansCustomPost: async (dataTypesCreateCustomPlanRequest: DataTypesCreateCustomPlanRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
55677
+ // verify required parameter 'dataTypesCreateCustomPlanRequest' is not null or undefined
55678
+ assertParamExists('backofficePlansCustomPost', 'dataTypesCreateCustomPlanRequest', dataTypesCreateCustomPlanRequest)
55679
+ const localVarPath = `/backoffice/plans/custom`;
55680
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
55681
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55682
+ let baseOptions;
55683
+ if (configuration) {
55684
+ baseOptions = configuration.baseOptions;
55685
+ }
55686
+
55687
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
55688
+ const localVarHeaderParameter = {} as any;
55689
+ const localVarQueryParameter = {} as any;
55690
+
55691
+ // authentication ApiKeyAuth required
55692
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
55693
+
55694
+
55695
+
55696
+ localVarHeaderParameter['Content-Type'] = 'application/json';
55697
+
55698
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
55699
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55700
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
55701
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomPlanRequest, localVarRequestOptions, configuration)
55702
+
55703
+ return {
55704
+ url: toPathString(localVarUrlObj),
55705
+ options: localVarRequestOptions,
55706
+ };
55707
+ },
55708
+ }
55709
+ };
55710
+
55711
+ /**
55712
+ * BackofficeCustomPlansApi - functional programming interface
55713
+ * @export
55714
+ */
55715
+ export const BackofficeCustomPlansApiFp = function(configuration?: Configuration) {
55716
+ const localVarAxiosParamCreator = BackofficeCustomPlansApiAxiosParamCreator(configuration)
55717
+ return {
55718
+ /**
55719
+ * Returns a paginated, filterable list of custom enterprise plans
55720
+ * @summary List custom plans
55721
+ * @param {number} [page] Page number
55722
+ * @param {number} [pageSize] Page size (max 100)
55723
+ * @param {number} [orgId] Filter by organization ID
55724
+ * @param {string} [status] Filter by status (active, inactive, all)
55725
+ * @param {string} [search] Search by plan name or org name
55726
+ * @param {*} [options] Override http request option.
55727
+ * @throws {RequiredError}
55728
+ */
55729
+ async backofficePlansCustomGet(page?: number, pageSize?: number, orgId?: number, status?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomPlanListResponse>> {
55730
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomGet(page, pageSize, orgId, status, search, options);
55731
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55732
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomGet']?.[localVarOperationServerIndex]?.url;
55733
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55734
+ },
55735
+ /**
55736
+ * Deactivates a custom enterprise plan by setting is_active to false
55737
+ * @summary Soft-delete a custom plan
55738
+ * @param {number} id Custom plan ID
55739
+ * @param {*} [options] Override http request option.
55740
+ * @throws {RequiredError}
55741
+ */
55742
+ async backofficePlansCustomIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
55743
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdDelete(id, options);
55744
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55745
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdDelete']?.[localVarOperationServerIndex]?.url;
55746
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55747
+ },
55748
+ /**
55749
+ * Retrieves a single custom enterprise plan by its ID
55750
+ * @summary Get a custom plan by ID
55751
+ * @param {number} id Custom plan ID
55752
+ * @param {*} [options] Override http request option.
55753
+ * @throws {RequiredError}
55754
+ */
55755
+ async backofficePlansCustomIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomPlanResponse>> {
55756
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdGet(id, options);
55757
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55758
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdGet']?.[localVarOperationServerIndex]?.url;
55759
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55760
+ },
55761
+ /**
55762
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
55763
+ * @summary Mark a custom plan as paid (offline payment)
55764
+ * @param {number} id Custom plan ID
55765
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
55766
+ * @param {*} [options] Override http request option.
55767
+ * @throws {RequiredError}
55768
+ */
55769
+ async backofficePlansCustomIdMarkPaidPost(id: number, dataTypesMarkPaidRequest: DataTypesMarkPaidRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfflinePaymentResponse>> {
55770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options);
55771
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55772
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdMarkPaidPost']?.[localVarOperationServerIndex]?.url;
55773
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55774
+ },
55775
+ /**
55776
+ * Sends a notification to the organization regarding their custom plan
55777
+ * @summary Send notification to org about custom plan
55778
+ * @param {number} id Custom plan ID
55779
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
55780
+ * @param {*} [options] Override http request option.
55781
+ * @throws {RequiredError}
55782
+ */
55783
+ async backofficePlansCustomIdNotifyPost(id: number, dataTypesNotifyOrgRequest?: DataTypesNotifyOrgRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
55784
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options);
55785
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55786
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdNotifyPost']?.[localVarOperationServerIndex]?.url;
55787
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55788
+ },
55789
+ /**
55790
+ * Creates a payment link via the specified gateway for a custom plan
55791
+ * @summary Generate a payment link for a custom plan
55792
+ * @param {number} id Custom plan ID
55793
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
55794
+ * @param {*} [options] Override http request option.
55795
+ * @throws {RequiredError}
55796
+ */
55797
+ async backofficePlansCustomIdPaymentLinkPost(id: number, dataTypesGeneratePaymentLinkRequest: DataTypesGeneratePaymentLinkRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentLinkResponse>> {
55798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options);
55799
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55800
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdPaymentLinkPost']?.[localVarOperationServerIndex]?.url;
55801
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55802
+ },
55803
+ /**
55804
+ * Updates the specified fields of a custom enterprise plan
55805
+ * @summary Update a custom plan
55806
+ * @param {number} id Custom plan ID
55807
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
55808
+ * @param {*} [options] Override http request option.
55809
+ * @throws {RequiredError}
55810
+ */
55811
+ async backofficePlansCustomIdPut(id: number, dataTypesUpdateCustomPlanRequest: DataTypesUpdateCustomPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomPlanResponse>> {
55812
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options);
55813
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55814
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdPut']?.[localVarOperationServerIndex]?.url;
55815
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55816
+ },
55817
+ /**
55818
+ * Creates a new custom enterprise plan for a specific organization
55819
+ * @summary Create a custom enterprise plan
55820
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
55821
+ * @param {*} [options] Override http request option.
55822
+ * @throws {RequiredError}
55823
+ */
55824
+ async backofficePlansCustomPost(dataTypesCreateCustomPlanRequest: DataTypesCreateCustomPlanRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomPlanResponse>> {
55825
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options);
55826
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
55827
+ const localVarOperationServerBasePath = operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomPost']?.[localVarOperationServerIndex]?.url;
55828
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55829
+ },
55830
+ }
55831
+ };
55832
+
55833
+ /**
55834
+ * BackofficeCustomPlansApi - factory interface
55835
+ * @export
55836
+ */
55837
+ export const BackofficeCustomPlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
55838
+ const localVarFp = BackofficeCustomPlansApiFp(configuration)
55839
+ return {
55840
+ /**
55841
+ * Returns a paginated, filterable list of custom enterprise plans
55842
+ * @summary List custom plans
55843
+ * @param {number} [page] Page number
55844
+ * @param {number} [pageSize] Page size (max 100)
55845
+ * @param {number} [orgId] Filter by organization ID
55846
+ * @param {string} [status] Filter by status (active, inactive, all)
55847
+ * @param {string} [search] Search by plan name or org name
55848
+ * @param {*} [options] Override http request option.
55849
+ * @throws {RequiredError}
55850
+ */
55851
+ backofficePlansCustomGet(page?: number, pageSize?: number, orgId?: number, status?: string, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomPlanListResponse> {
55852
+ return localVarFp.backofficePlansCustomGet(page, pageSize, orgId, status, search, options).then((request) => request(axios, basePath));
55853
+ },
55854
+ /**
55855
+ * Deactivates a custom enterprise plan by setting is_active to false
55856
+ * @summary Soft-delete a custom plan
55857
+ * @param {number} id Custom plan ID
55858
+ * @param {*} [options] Override http request option.
55859
+ * @throws {RequiredError}
55860
+ */
55861
+ backofficePlansCustomIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
55862
+ return localVarFp.backofficePlansCustomIdDelete(id, options).then((request) => request(axios, basePath));
55863
+ },
55864
+ /**
55865
+ * Retrieves a single custom enterprise plan by its ID
55866
+ * @summary Get a custom plan by ID
55867
+ * @param {number} id Custom plan ID
55868
+ * @param {*} [options] Override http request option.
55869
+ * @throws {RequiredError}
55870
+ */
55871
+ backofficePlansCustomIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomPlanResponse> {
55872
+ return localVarFp.backofficePlansCustomIdGet(id, options).then((request) => request(axios, basePath));
55873
+ },
55874
+ /**
55875
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
55876
+ * @summary Mark a custom plan as paid (offline payment)
55877
+ * @param {number} id Custom plan ID
55878
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
55879
+ * @param {*} [options] Override http request option.
55880
+ * @throws {RequiredError}
55881
+ */
55882
+ backofficePlansCustomIdMarkPaidPost(id: number, dataTypesMarkPaidRequest: DataTypesMarkPaidRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfflinePaymentResponse> {
55883
+ return localVarFp.backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options).then((request) => request(axios, basePath));
55884
+ },
55885
+ /**
55886
+ * Sends a notification to the organization regarding their custom plan
55887
+ * @summary Send notification to org about custom plan
55888
+ * @param {number} id Custom plan ID
55889
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
55890
+ * @param {*} [options] Override http request option.
55891
+ * @throws {RequiredError}
55892
+ */
55893
+ backofficePlansCustomIdNotifyPost(id: number, dataTypesNotifyOrgRequest?: DataTypesNotifyOrgRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
55894
+ return localVarFp.backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options).then((request) => request(axios, basePath));
55895
+ },
55896
+ /**
55897
+ * Creates a payment link via the specified gateway for a custom plan
55898
+ * @summary Generate a payment link for a custom plan
55899
+ * @param {number} id Custom plan ID
55900
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
55901
+ * @param {*} [options] Override http request option.
55902
+ * @throws {RequiredError}
55903
+ */
55904
+ backofficePlansCustomIdPaymentLinkPost(id: number, dataTypesGeneratePaymentLinkRequest: DataTypesGeneratePaymentLinkRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentLinkResponse> {
55905
+ return localVarFp.backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options).then((request) => request(axios, basePath));
55906
+ },
55907
+ /**
55908
+ * Updates the specified fields of a custom enterprise plan
55909
+ * @summary Update a custom plan
55910
+ * @param {number} id Custom plan ID
55911
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
55912
+ * @param {*} [options] Override http request option.
55913
+ * @throws {RequiredError}
55914
+ */
55915
+ backofficePlansCustomIdPut(id: number, dataTypesUpdateCustomPlanRequest: DataTypesUpdateCustomPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomPlanResponse> {
55916
+ return localVarFp.backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options).then((request) => request(axios, basePath));
55917
+ },
55918
+ /**
55919
+ * Creates a new custom enterprise plan for a specific organization
55920
+ * @summary Create a custom enterprise plan
55921
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
55922
+ * @param {*} [options] Override http request option.
55923
+ * @throws {RequiredError}
55924
+ */
55925
+ backofficePlansCustomPost(dataTypesCreateCustomPlanRequest: DataTypesCreateCustomPlanRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomPlanResponse> {
55926
+ return localVarFp.backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options).then((request) => request(axios, basePath));
55927
+ },
55928
+ };
55929
+ };
55930
+
55931
+ /**
55932
+ * BackofficeCustomPlansApi - object-oriented interface
55933
+ * @export
55934
+ * @class BackofficeCustomPlansApi
55935
+ * @extends {BaseAPI}
55936
+ */
55937
+ export class BackofficeCustomPlansApi extends BaseAPI {
55938
+ /**
55939
+ * Returns a paginated, filterable list of custom enterprise plans
55940
+ * @summary List custom plans
55941
+ * @param {number} [page] Page number
55942
+ * @param {number} [pageSize] Page size (max 100)
55943
+ * @param {number} [orgId] Filter by organization ID
55944
+ * @param {string} [status] Filter by status (active, inactive, all)
55945
+ * @param {string} [search] Search by plan name or org name
55946
+ * @param {*} [options] Override http request option.
55947
+ * @throws {RequiredError}
55948
+ * @memberof BackofficeCustomPlansApi
55949
+ */
55950
+ public backofficePlansCustomGet(page?: number, pageSize?: number, orgId?: number, status?: string, search?: string, options?: RawAxiosRequestConfig) {
55951
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomGet(page, pageSize, orgId, status, search, options).then((request) => request(this.axios, this.basePath));
55952
+ }
55953
+
55954
+ /**
55955
+ * Deactivates a custom enterprise plan by setting is_active to false
55956
+ * @summary Soft-delete a custom plan
55957
+ * @param {number} id Custom plan ID
55958
+ * @param {*} [options] Override http request option.
55959
+ * @throws {RequiredError}
55960
+ * @memberof BackofficeCustomPlansApi
55961
+ */
55962
+ public backofficePlansCustomIdDelete(id: number, options?: RawAxiosRequestConfig) {
55963
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdDelete(id, options).then((request) => request(this.axios, this.basePath));
55964
+ }
55965
+
55966
+ /**
55967
+ * Retrieves a single custom enterprise plan by its ID
55968
+ * @summary Get a custom plan by ID
55969
+ * @param {number} id Custom plan ID
55970
+ * @param {*} [options] Override http request option.
55971
+ * @throws {RequiredError}
55972
+ * @memberof BackofficeCustomPlansApi
55973
+ */
55974
+ public backofficePlansCustomIdGet(id: number, options?: RawAxiosRequestConfig) {
55975
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdGet(id, options).then((request) => request(this.axios, this.basePath));
55976
+ }
55977
+
55978
+ /**
55979
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
55980
+ * @summary Mark a custom plan as paid (offline payment)
55981
+ * @param {number} id Custom plan ID
55982
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
55983
+ * @param {*} [options] Override http request option.
55984
+ * @throws {RequiredError}
55985
+ * @memberof BackofficeCustomPlansApi
55986
+ */
55987
+ public backofficePlansCustomIdMarkPaidPost(id: number, dataTypesMarkPaidRequest: DataTypesMarkPaidRequest, options?: RawAxiosRequestConfig) {
55988
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options).then((request) => request(this.axios, this.basePath));
55989
+ }
55990
+
55991
+ /**
55992
+ * Sends a notification to the organization regarding their custom plan
55993
+ * @summary Send notification to org about custom plan
55994
+ * @param {number} id Custom plan ID
55995
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
55996
+ * @param {*} [options] Override http request option.
55997
+ * @throws {RequiredError}
55998
+ * @memberof BackofficeCustomPlansApi
55999
+ */
56000
+ public backofficePlansCustomIdNotifyPost(id: number, dataTypesNotifyOrgRequest?: DataTypesNotifyOrgRequest, options?: RawAxiosRequestConfig) {
56001
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options).then((request) => request(this.axios, this.basePath));
56002
+ }
56003
+
56004
+ /**
56005
+ * Creates a payment link via the specified gateway for a custom plan
56006
+ * @summary Generate a payment link for a custom plan
56007
+ * @param {number} id Custom plan ID
56008
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
56009
+ * @param {*} [options] Override http request option.
56010
+ * @throws {RequiredError}
56011
+ * @memberof BackofficeCustomPlansApi
56012
+ */
56013
+ public backofficePlansCustomIdPaymentLinkPost(id: number, dataTypesGeneratePaymentLinkRequest: DataTypesGeneratePaymentLinkRequest, options?: RawAxiosRequestConfig) {
56014
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options).then((request) => request(this.axios, this.basePath));
56015
+ }
56016
+
56017
+ /**
56018
+ * Updates the specified fields of a custom enterprise plan
56019
+ * @summary Update a custom plan
56020
+ * @param {number} id Custom plan ID
56021
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
56022
+ * @param {*} [options] Override http request option.
56023
+ * @throws {RequiredError}
56024
+ * @memberof BackofficeCustomPlansApi
56025
+ */
56026
+ public backofficePlansCustomIdPut(id: number, dataTypesUpdateCustomPlanRequest: DataTypesUpdateCustomPlanRequest, options?: RawAxiosRequestConfig) {
56027
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options).then((request) => request(this.axios, this.basePath));
56028
+ }
56029
+
56030
+ /**
56031
+ * Creates a new custom enterprise plan for a specific organization
56032
+ * @summary Create a custom enterprise plan
56033
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
56034
+ * @param {*} [options] Override http request option.
56035
+ * @throws {RequiredError}
56036
+ * @memberof BackofficeCustomPlansApi
56037
+ */
56038
+ public backofficePlansCustomPost(dataTypesCreateCustomPlanRequest: DataTypesCreateCustomPlanRequest, options?: RawAxiosRequestConfig) {
56039
+ return BackofficeCustomPlansApiFp(this.configuration).backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options).then((request) => request(this.axios, this.basePath));
56040
+ }
56041
+ }
56042
+
56043
+
56044
+
56045
+ /**
56046
+ * BackofficePaymentLinksApi - axios parameter creator
56047
+ * @export
56048
+ */
56049
+ export const BackofficePaymentLinksApiAxiosParamCreator = function (configuration?: Configuration) {
56050
+ return {
56051
+ /**
56052
+ * Returns a paginated, filterable list of payment links
56053
+ * @summary List payment links
56054
+ * @param {number} [page] Page number
56055
+ * @param {number} [pageSize] Page size (max 100)
56056
+ * @param {number} [orgId] Filter by organization ID
56057
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
56058
+ * @param {number} [planId] Filter by plan ID
56059
+ * @param {*} [options] Override http request option.
56060
+ * @throws {RequiredError}
56061
+ */
56062
+ backofficePaymentLinksGet: async (page?: number, pageSize?: number, orgId?: number, status?: string, planId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56063
+ const localVarPath = `/backoffice/payment-links`;
56064
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56065
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56066
+ let baseOptions;
56067
+ if (configuration) {
56068
+ baseOptions = configuration.baseOptions;
56069
+ }
56070
+
56071
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56072
+ const localVarHeaderParameter = {} as any;
56073
+ const localVarQueryParameter = {} as any;
56074
+
56075
+ // authentication ApiKeyAuth required
56076
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
56077
+
56078
+ if (page !== undefined) {
56079
+ localVarQueryParameter['page'] = page;
56080
+ }
56081
+
56082
+ if (pageSize !== undefined) {
56083
+ localVarQueryParameter['page_size'] = pageSize;
56084
+ }
56085
+
56086
+ if (orgId !== undefined) {
56087
+ localVarQueryParameter['org_id'] = orgId;
56088
+ }
56089
+
56090
+ if (status !== undefined) {
56091
+ localVarQueryParameter['status'] = status;
56092
+ }
56093
+
56094
+ if (planId !== undefined) {
56095
+ localVarQueryParameter['plan_id'] = planId;
56096
+ }
56097
+
56098
+
56099
+
56100
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56101
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56102
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56103
+
56104
+ return {
56105
+ url: toPathString(localVarUrlObj),
56106
+ options: localVarRequestOptions,
56107
+ };
56108
+ },
56109
+ /**
56110
+ * Cancels a payment link that is in \'created\' status
56111
+ * @summary Cancel a payment link
56112
+ * @param {number} id Payment link ID
56113
+ * @param {*} [options] Override http request option.
56114
+ * @throws {RequiredError}
56115
+ */
56116
+ backofficePaymentLinksIdCancelPost: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56117
+ // verify required parameter 'id' is not null or undefined
56118
+ assertParamExists('backofficePaymentLinksIdCancelPost', 'id', id)
56119
+ const localVarPath = `/backoffice/payment-links/{id}/cancel`
56120
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
56121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56123
+ let baseOptions;
56124
+ if (configuration) {
56125
+ baseOptions = configuration.baseOptions;
56126
+ }
56127
+
56128
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
56129
+ const localVarHeaderParameter = {} as any;
56130
+ const localVarQueryParameter = {} as any;
56131
+
56132
+ // authentication ApiKeyAuth required
56133
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
56134
+
56135
+
56136
+
56137
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56138
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56139
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56140
+
56141
+ return {
56142
+ url: toPathString(localVarUrlObj),
56143
+ options: localVarRequestOptions,
56144
+ };
56145
+ },
56146
+ /**
56147
+ * Retrieves a single payment link by its ID
56148
+ * @summary Get a payment link by ID
56149
+ * @param {number} id Payment link ID
56150
+ * @param {*} [options] Override http request option.
56151
+ * @throws {RequiredError}
56152
+ */
56153
+ backofficePaymentLinksIdGet: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56154
+ // verify required parameter 'id' is not null or undefined
56155
+ assertParamExists('backofficePaymentLinksIdGet', 'id', id)
56156
+ const localVarPath = `/backoffice/payment-links/{id}`
56157
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
56158
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56159
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56160
+ let baseOptions;
56161
+ if (configuration) {
56162
+ baseOptions = configuration.baseOptions;
56163
+ }
56164
+
56165
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56166
+ const localVarHeaderParameter = {} as any;
56167
+ const localVarQueryParameter = {} as any;
56168
+
56169
+ // authentication ApiKeyAuth required
56170
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
56171
+
56172
+
56173
+
56174
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56175
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56176
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56177
+
56178
+ return {
56179
+ url: toPathString(localVarUrlObj),
56180
+ options: localVarRequestOptions,
56181
+ };
56182
+ },
56183
+ }
56184
+ };
56185
+
56186
+ /**
56187
+ * BackofficePaymentLinksApi - functional programming interface
56188
+ * @export
56189
+ */
56190
+ export const BackofficePaymentLinksApiFp = function(configuration?: Configuration) {
56191
+ const localVarAxiosParamCreator = BackofficePaymentLinksApiAxiosParamCreator(configuration)
56192
+ return {
56193
+ /**
56194
+ * Returns a paginated, filterable list of payment links
56195
+ * @summary List payment links
56196
+ * @param {number} [page] Page number
56197
+ * @param {number} [pageSize] Page size (max 100)
56198
+ * @param {number} [orgId] Filter by organization ID
56199
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
56200
+ * @param {number} [planId] Filter by plan ID
56201
+ * @param {*} [options] Override http request option.
56202
+ * @throws {RequiredError}
56203
+ */
56204
+ async backofficePaymentLinksGet(page?: number, pageSize?: number, orgId?: number, status?: string, planId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentLinkListResponse>> {
56205
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options);
56206
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56207
+ const localVarOperationServerBasePath = operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksGet']?.[localVarOperationServerIndex]?.url;
56208
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56209
+ },
56210
+ /**
56211
+ * Cancels a payment link that is in \'created\' status
56212
+ * @summary Cancel a payment link
56213
+ * @param {number} id Payment link ID
56214
+ * @param {*} [options] Override http request option.
56215
+ * @throws {RequiredError}
56216
+ */
56217
+ async backofficePaymentLinksIdCancelPost(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentLinkResponse>> {
56218
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePaymentLinksIdCancelPost(id, options);
56219
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56220
+ const localVarOperationServerBasePath = operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksIdCancelPost']?.[localVarOperationServerIndex]?.url;
56221
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56222
+ },
56223
+ /**
56224
+ * Retrieves a single payment link by its ID
56225
+ * @summary Get a payment link by ID
56226
+ * @param {number} id Payment link ID
56227
+ * @param {*} [options] Override http request option.
56228
+ * @throws {RequiredError}
56229
+ */
56230
+ async backofficePaymentLinksIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentLinkResponse>> {
56231
+ const localVarAxiosArgs = await localVarAxiosParamCreator.backofficePaymentLinksIdGet(id, options);
56232
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56233
+ const localVarOperationServerBasePath = operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksIdGet']?.[localVarOperationServerIndex]?.url;
56234
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56235
+ },
56236
+ }
56237
+ };
56238
+
56239
+ /**
56240
+ * BackofficePaymentLinksApi - factory interface
56241
+ * @export
56242
+ */
56243
+ export const BackofficePaymentLinksApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
56244
+ const localVarFp = BackofficePaymentLinksApiFp(configuration)
56245
+ return {
56246
+ /**
56247
+ * Returns a paginated, filterable list of payment links
56248
+ * @summary List payment links
56249
+ * @param {number} [page] Page number
56250
+ * @param {number} [pageSize] Page size (max 100)
56251
+ * @param {number} [orgId] Filter by organization ID
56252
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
56253
+ * @param {number} [planId] Filter by plan ID
56254
+ * @param {*} [options] Override http request option.
56255
+ * @throws {RequiredError}
56256
+ */
56257
+ backofficePaymentLinksGet(page?: number, pageSize?: number, orgId?: number, status?: string, planId?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentLinkListResponse> {
56258
+ return localVarFp.backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options).then((request) => request(axios, basePath));
56259
+ },
56260
+ /**
56261
+ * Cancels a payment link that is in \'created\' status
56262
+ * @summary Cancel a payment link
56263
+ * @param {number} id Payment link ID
56264
+ * @param {*} [options] Override http request option.
56265
+ * @throws {RequiredError}
56266
+ */
56267
+ backofficePaymentLinksIdCancelPost(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentLinkResponse> {
56268
+ return localVarFp.backofficePaymentLinksIdCancelPost(id, options).then((request) => request(axios, basePath));
56269
+ },
56270
+ /**
56271
+ * Retrieves a single payment link by its ID
56272
+ * @summary Get a payment link by ID
56273
+ * @param {number} id Payment link ID
56274
+ * @param {*} [options] Override http request option.
56275
+ * @throws {RequiredError}
56276
+ */
56277
+ backofficePaymentLinksIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentLinkResponse> {
56278
+ return localVarFp.backofficePaymentLinksIdGet(id, options).then((request) => request(axios, basePath));
56279
+ },
56280
+ };
56281
+ };
56282
+
56283
+ /**
56284
+ * BackofficePaymentLinksApi - object-oriented interface
56285
+ * @export
56286
+ * @class BackofficePaymentLinksApi
56287
+ * @extends {BaseAPI}
56288
+ */
56289
+ export class BackofficePaymentLinksApi extends BaseAPI {
56290
+ /**
56291
+ * Returns a paginated, filterable list of payment links
56292
+ * @summary List payment links
56293
+ * @param {number} [page] Page number
56294
+ * @param {number} [pageSize] Page size (max 100)
56295
+ * @param {number} [orgId] Filter by organization ID
56296
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
56297
+ * @param {number} [planId] Filter by plan ID
56298
+ * @param {*} [options] Override http request option.
56299
+ * @throws {RequiredError}
56300
+ * @memberof BackofficePaymentLinksApi
56301
+ */
56302
+ public backofficePaymentLinksGet(page?: number, pageSize?: number, orgId?: number, status?: string, planId?: number, options?: RawAxiosRequestConfig) {
56303
+ return BackofficePaymentLinksApiFp(this.configuration).backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options).then((request) => request(this.axios, this.basePath));
56304
+ }
56305
+
56306
+ /**
56307
+ * Cancels a payment link that is in \'created\' status
56308
+ * @summary Cancel a payment link
56309
+ * @param {number} id Payment link ID
56310
+ * @param {*} [options] Override http request option.
56311
+ * @throws {RequiredError}
56312
+ * @memberof BackofficePaymentLinksApi
56313
+ */
56314
+ public backofficePaymentLinksIdCancelPost(id: number, options?: RawAxiosRequestConfig) {
56315
+ return BackofficePaymentLinksApiFp(this.configuration).backofficePaymentLinksIdCancelPost(id, options).then((request) => request(this.axios, this.basePath));
56316
+ }
56317
+
56318
+ /**
56319
+ * Retrieves a single payment link by its ID
56320
+ * @summary Get a payment link by ID
56321
+ * @param {number} id Payment link ID
56322
+ * @param {*} [options] Override http request option.
56323
+ * @throws {RequiredError}
56324
+ * @memberof BackofficePaymentLinksApi
56325
+ */
56326
+ public backofficePaymentLinksIdGet(id: number, options?: RawAxiosRequestConfig) {
56327
+ return BackofficePaymentLinksApiFp(this.configuration).backofficePaymentLinksIdGet(id, options).then((request) => request(this.axios, this.basePath));
56328
+ }
56329
+ }
56330
+
56331
+
56332
+
53969
56333
  /**
53970
56334
  * BillingDashboardApi - axios parameter creator
53971
56335
  * @export
@@ -76127,8 +78491,8 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
76127
78491
  };
76128
78492
  },
76129
78493
  /**
76130
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76131
- * @summary Get available credit plans
78494
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
78495
+ * @summary Get available credit plans (including org-specific custom plans)
76132
78496
  * @param {*} [options] Override http request option.
76133
78497
  * @throws {RequiredError}
76134
78498
  */
@@ -76145,6 +78509,9 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
76145
78509
  const localVarHeaderParameter = {} as any;
76146
78510
  const localVarQueryParameter = {} as any;
76147
78511
 
78512
+ // authentication BearerAuth required
78513
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
78514
+
76148
78515
 
76149
78516
 
76150
78517
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -76521,8 +78888,8 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
76521
78888
  };
76522
78889
  },
76523
78890
  /**
76524
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76525
- * @summary Get available credit plans
78891
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
78892
+ * @summary Get available credit plans (public)
76526
78893
  * @param {*} [options] Override http request option.
76527
78894
  * @throws {RequiredError}
76528
78895
  */
@@ -76648,12 +79015,12 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
76648
79015
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
76649
79016
  },
76650
79017
  /**
76651
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76652
- * @summary Get available credit plans
79018
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
79019
+ * @summary Get available credit plans (including org-specific custom plans)
76653
79020
  * @param {*} [options] Override http request option.
76654
79021
  * @throws {RequiredError}
76655
79022
  */
76656
- async adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCreditPlan>>> {
79023
+ async adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCustomPlanResponse>>> {
76657
79024
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayCreditPlansGet(options);
76658
79025
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
76659
79026
  const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayCreditPlansGet']?.[localVarOperationServerIndex]?.url;
@@ -76776,8 +79143,8 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
76776
79143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
76777
79144
  },
76778
79145
  /**
76779
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76780
- * @summary Get available credit plans
79146
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
79147
+ * @summary Get available credit plans (public)
76781
79148
  * @param {*} [options] Override http request option.
76782
79149
  * @throws {RequiredError}
76783
79150
  */
@@ -76835,12 +79202,12 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
76835
79202
  return localVarFp.adminPaymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
76836
79203
  },
76837
79204
  /**
76838
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76839
- * @summary Get available credit plans
79205
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
79206
+ * @summary Get available credit plans (including org-specific custom plans)
76840
79207
  * @param {*} [options] Override http request option.
76841
79208
  * @throws {RequiredError}
76842
79209
  */
76843
- adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>> {
79210
+ adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCustomPlanResponse>> {
76844
79211
  return localVarFp.adminPaymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
76845
79212
  },
76846
79213
  /**
@@ -76936,8 +79303,8 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
76936
79303
  return localVarFp.adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
76937
79304
  },
76938
79305
  /**
76939
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76940
- * @summary Get available credit plans
79306
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
79307
+ * @summary Get available credit plans (public)
76941
79308
  * @param {*} [options] Override http request option.
76942
79309
  * @throws {RequiredError}
76943
79310
  */
@@ -76988,8 +79355,8 @@ export class PaymentGatewayApi extends BaseAPI {
76988
79355
  }
76989
79356
 
76990
79357
  /**
76991
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
76992
- * @summary Get available credit plans
79358
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
79359
+ * @summary Get available credit plans (including org-specific custom plans)
76993
79360
  * @param {*} [options] Override http request option.
76994
79361
  * @throws {RequiredError}
76995
79362
  * @memberof PaymentGatewayApi
@@ -77107,8 +79474,8 @@ export class PaymentGatewayApi extends BaseAPI {
77107
79474
  }
77108
79475
 
77109
79476
  /**
77110
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
77111
- * @summary Get available credit plans
79477
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
79478
+ * @summary Get available credit plans (public)
77112
79479
  * @param {*} [options] Override http request option.
77113
79480
  * @throws {RequiredError}
77114
79481
  * @memberof PaymentGatewayApi
@@ -85512,20 +87879,20 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
85512
87879
  * @summary Search (POST)
85513
87880
  * @param {string} xStoreid Store ID (from dashboard)
85514
87881
  * @param {string} xStoresecret Store read secret (from dashboard)
85515
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
87882
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
85516
87883
  * @param {string} [xUserId] User ID for personalization
85517
87884
  * @param {string} [xAnonId] Anonymous user ID for personalization
85518
87885
  * @param {string} [xSessionId] Session ID for personalization
85519
87886
  * @param {*} [options] Override http request option.
85520
87887
  * @throws {RequiredError}
85521
87888
  */
85522
- v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
87889
+ v1SearchPost: async (xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
85523
87890
  // verify required parameter 'xStoreid' is not null or undefined
85524
87891
  assertParamExists('v1SearchPost', 'xStoreid', xStoreid)
85525
87892
  // verify required parameter 'xStoresecret' is not null or undefined
85526
87893
  assertParamExists('v1SearchPost', 'xStoresecret', xStoresecret)
85527
- // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
85528
- assertParamExists('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest)
87894
+ // verify required parameter 'dataTypesSearchRequest' is not null or undefined
87895
+ assertParamExists('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest)
85529
87896
  const localVarPath = `/v1/search`;
85530
87897
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
85531
87898
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -85560,7 +87927,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
85560
87927
  setSearchParams(localVarUrlObj, localVarQueryParameter);
85561
87928
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85562
87929
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85563
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicSearchRequest, localVarRequestOptions, configuration)
87930
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSearchRequest, localVarRequestOptions, configuration)
85564
87931
 
85565
87932
  return {
85566
87933
  url: toPathString(localVarUrlObj),
@@ -85708,7 +88075,7 @@ export const SearchApiFp = function(configuration?: Configuration) {
85708
88075
  * @param {*} [options] Override http request option.
85709
88076
  * @throws {RequiredError}
85710
88077
  */
85711
- async v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>> {
88078
+ async v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchResponseWrapper>> {
85712
88079
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options);
85713
88080
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
85714
88081
  const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchGet']?.[localVarOperationServerIndex]?.url;
@@ -85719,15 +88086,15 @@ export const SearchApiFp = function(configuration?: Configuration) {
85719
88086
  * @summary Search (POST)
85720
88087
  * @param {string} xStoreid Store ID (from dashboard)
85721
88088
  * @param {string} xStoresecret Store read secret (from dashboard)
85722
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
88089
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
85723
88090
  * @param {string} [xUserId] User ID for personalization
85724
88091
  * @param {string} [xAnonId] Anonymous user ID for personalization
85725
88092
  * @param {string} [xSessionId] Session ID for personalization
85726
88093
  * @param {*} [options] Override http request option.
85727
88094
  * @throws {RequiredError}
85728
88095
  */
85729
- async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOfficialSearchResponseWrapper>> {
85730
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
88096
+ async v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchResponseWrapper>> {
88097
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
85731
88098
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
85732
88099
  const localVarOperationServerBasePath = operationServerMap['SearchApi.v1SearchPost']?.[localVarOperationServerIndex]?.url;
85733
88100
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -85855,7 +88222,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
85855
88222
  * @param {*} [options] Override http request option.
85856
88223
  * @throws {RequiredError}
85857
88224
  */
85858
- v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper> {
88225
+ v1SearchGet(xStoreid: string, xStoresecret: string, q: string, xUserId?: string, xAnonId?: string, xSessionId?: string, page?: number, perPage?: number, sortBy?: string, filterBy?: string, facetBy?: string, maxFacetValues?: number, widgetMode?: boolean, includeSuggestions?: boolean, suggestionsLimit?: number, analyticsTags?: string, stopwordSets?: string, synonymSets?: string, searchFields?: string, returnFields?: string, omitFields?: string, snippetFields?: string, fullSnippetFields?: string, fieldWeights?: string, groupField?: string, groupSize?: number, snippetPrefix?: string, snippetSuffix?: string, snippetTokenLimit?: number, snippetMinLen?: number, includeSnippets?: boolean, prefixMode?: string, infixMode?: string, typoMax?: number, typoMinLen1?: number, typoMinLen2?: number, searchTimeoutMs?: number, requireAllTerms?: boolean, exactMatchBoost?: boolean, cacheResults?: boolean, applyRules?: boolean, presetName?: string, facetSearchText?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchResponseWrapper> {
85859
88226
  return localVarFp.v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options).then((request) => request(axios, basePath));
85860
88227
  },
85861
88228
  /**
@@ -85863,15 +88230,15 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
85863
88230
  * @summary Search (POST)
85864
88231
  * @param {string} xStoreid Store ID (from dashboard)
85865
88232
  * @param {string} xStoresecret Store read secret (from dashboard)
85866
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
88233
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
85867
88234
  * @param {string} [xUserId] User ID for personalization
85868
88235
  * @param {string} [xAnonId] Anonymous user ID for personalization
85869
88236
  * @param {string} [xSessionId] Session ID for personalization
85870
88237
  * @param {*} [options] Override http request option.
85871
88238
  * @throws {RequiredError}
85872
88239
  */
85873
- v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOfficialSearchResponseWrapper> {
85874
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
88240
+ v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchResponseWrapper> {
88241
+ return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
85875
88242
  },
85876
88243
  };
85877
88244
  };
@@ -86018,7 +88385,7 @@ export class SearchApi extends BaseAPI {
86018
88385
  * @summary Search (POST)
86019
88386
  * @param {string} xStoreid Store ID (from dashboard)
86020
88387
  * @param {string} xStoresecret Store read secret (from dashboard)
86021
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
88388
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
86022
88389
  * @param {string} [xUserId] User ID for personalization
86023
88390
  * @param {string} [xAnonId] Anonymous user ID for personalization
86024
88391
  * @param {string} [xSessionId] Session ID for personalization
@@ -86026,8 +88393,8 @@ export class SearchApi extends BaseAPI {
86026
88393
  * @throws {RequiredError}
86027
88394
  * @memberof SearchApi
86028
88395
  */
86029
- public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesPublicSearchRequest: DataTypesPublicSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig) {
86030
- return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
88396
+ public v1SearchPost(xStoreid: string, xStoresecret: string, dataTypesSearchRequest: DataTypesSearchRequest, xUserId?: string, xAnonId?: string, xSessionId?: string, options?: RawAxiosRequestConfig) {
88397
+ return SearchApiFp(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
86031
88398
  }
86032
88399
  }
86033
88400
 
@@ -88147,15 +90514,15 @@ export const StoreManagementApiAxiosParamCreator = function (configuration?: Con
88147
90514
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
88148
90515
  * @summary Create Store (Public SDK API)
88149
90516
  * @param {string} authorization Bearer JWT Token
88150
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
90517
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
88151
90518
  * @param {*} [options] Override http request option.
88152
90519
  * @throws {RequiredError}
88153
90520
  */
88154
- apiV1StoresPost: async (authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
90521
+ apiV1StoresPost: async (authorization: string, dataTypesCreateStoreRequest: DataTypesCreateStoreRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88155
90522
  // verify required parameter 'authorization' is not null or undefined
88156
90523
  assertParamExists('apiV1StoresPost', 'authorization', authorization)
88157
- // verify required parameter 'dataTypesPublicCreateStoreRequest' is not null or undefined
88158
- assertParamExists('apiV1StoresPost', 'dataTypesPublicCreateStoreRequest', dataTypesPublicCreateStoreRequest)
90524
+ // verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
90525
+ assertParamExists('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest)
88159
90526
  const localVarPath = `/api/v1/stores`;
88160
90527
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
88161
90528
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -88181,7 +90548,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration?: Con
88181
90548
  setSearchParams(localVarUrlObj, localVarQueryParameter);
88182
90549
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88183
90550
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
88184
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesPublicCreateStoreRequest, localVarRequestOptions, configuration)
90551
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateStoreRequest, localVarRequestOptions, configuration)
88185
90552
 
88186
90553
  return {
88187
90554
  url: toPathString(localVarUrlObj),
@@ -88243,19 +90610,19 @@ export const StoreManagementApiAxiosParamCreator = function (configuration?: Con
88243
90610
  * @param {string} xStoreid Store ID (from dashboard)
88244
90611
  * @param {string} xStoreWriteSecret Store write secret
88245
90612
  * @param {string} xStoreID Store ID (must match x-storeid header)
88246
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
90613
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
88247
90614
  * @param {*} [options] Override http request option.
88248
90615
  * @throws {RequiredError}
88249
90616
  */
88250
- apiV1StoresXStoreIDConfigPut: async (xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
90617
+ apiV1StoresXStoreIDConfigPut: async (xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesStoreConfigUpdateRequest: DataTypesStoreConfigUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
88251
90618
  // verify required parameter 'xStoreid' is not null or undefined
88252
90619
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid)
88253
90620
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
88254
90621
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret)
88255
90622
  // verify required parameter 'xStoreID' is not null or undefined
88256
90623
  assertParamExists('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID)
88257
- // verify required parameter 'dataTypesIndexConfig' is not null or undefined
88258
- assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig)
90624
+ // verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
90625
+ assertParamExists('apiV1StoresXStoreIDConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest)
88259
90626
  const localVarPath = `/api/v1/stores/{xStoreID}/config`
88260
90627
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
88261
90628
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -88285,7 +90652,7 @@ export const StoreManagementApiAxiosParamCreator = function (configuration?: Con
88285
90652
  setSearchParams(localVarUrlObj, localVarQueryParameter);
88286
90653
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88287
90654
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
88288
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesIndexConfig, localVarRequestOptions, configuration)
90655
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration)
88289
90656
 
88290
90657
  return {
88291
90658
  url: toPathString(localVarUrlObj),
@@ -88877,12 +91244,12 @@ export const StoreManagementApiFp = function(configuration?: Configuration) {
88877
91244
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
88878
91245
  * @summary Create Store (Public SDK API)
88879
91246
  * @param {string} authorization Bearer JWT Token
88880
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
91247
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
88881
91248
  * @param {*} [options] Override http request option.
88882
91249
  * @throws {RequiredError}
88883
91250
  */
88884
- async apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPublicCreateStoreResponse>> {
88885
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options);
91251
+ async apiV1StoresPost(authorization: string, dataTypesCreateStoreRequest: DataTypesCreateStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreateStoreResponse>> {
91252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
88886
91253
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
88887
91254
  const localVarOperationServerBasePath = operationServerMap['StoreManagementApi.apiV1StoresPost']?.[localVarOperationServerIndex]?.url;
88888
91255
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -88908,12 +91275,12 @@ export const StoreManagementApiFp = function(configuration?: Configuration) {
88908
91275
  * @param {string} xStoreid Store ID (from dashboard)
88909
91276
  * @param {string} xStoreWriteSecret Store write secret
88910
91277
  * @param {string} xStoreID Store ID (must match x-storeid header)
88911
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
91278
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
88912
91279
  * @param {*} [options] Override http request option.
88913
91280
  * @throws {RequiredError}
88914
91281
  */
88915
- async apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>> {
88916
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
91282
+ async apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesStoreConfigUpdateRequest: DataTypesStoreConfigUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesIndexConfigResponseWrapper>> {
91283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options);
88917
91284
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
88918
91285
  const localVarOperationServerBasePath = operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']?.[localVarOperationServerIndex]?.url;
88919
91286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -89021,7 +91388,7 @@ export const StoreManagementApiFp = function(configuration?: Configuration) {
89021
91388
  * @param {*} [options] Override http request option.
89022
91389
  * @throws {RequiredError}
89023
91390
  */
89024
- async apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPublicStoreInfoResponse>> {
91391
+ async apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesStoreInfoResponse>> {
89025
91392
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options);
89026
91393
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
89027
91394
  const localVarOperationServerBasePath = operationServerMap['StoreManagementApi.apiV1StoresXStoreIDGet']?.[localVarOperationServerIndex]?.url;
@@ -89103,12 +91470,12 @@ export const StoreManagementApiFactory = function (configuration?: Configuration
89103
91470
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
89104
91471
  * @summary Create Store (Public SDK API)
89105
91472
  * @param {string} authorization Bearer JWT Token
89106
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
91473
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
89107
91474
  * @param {*} [options] Override http request option.
89108
91475
  * @throws {RequiredError}
89109
91476
  */
89110
- apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPublicCreateStoreResponse> {
89111
- return localVarFp.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(axios, basePath));
91477
+ apiV1StoresPost(authorization: string, dataTypesCreateStoreRequest: DataTypesCreateStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreateStoreResponse> {
91478
+ return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
89112
91479
  },
89113
91480
  /**
89114
91481
  * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -89128,12 +91495,12 @@ export const StoreManagementApiFactory = function (configuration?: Configuration
89128
91495
  * @param {string} xStoreid Store ID (from dashboard)
89129
91496
  * @param {string} xStoreWriteSecret Store write secret
89130
91497
  * @param {string} xStoreID Store ID (must match x-storeid header)
89131
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
91498
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
89132
91499
  * @param {*} [options] Override http request option.
89133
91500
  * @throws {RequiredError}
89134
91501
  */
89135
- apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper> {
89136
- return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
91502
+ apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesStoreConfigUpdateRequest: DataTypesStoreConfigUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesIndexConfigResponseWrapper> {
91503
+ return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
89137
91504
  },
89138
91505
  /**
89139
91506
  * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -89220,7 +91587,7 @@ export const StoreManagementApiFactory = function (configuration?: Configuration
89220
91587
  * @param {*} [options] Override http request option.
89221
91588
  * @throws {RequiredError}
89222
91589
  */
89223
- apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPublicStoreInfoResponse> {
91590
+ apiV1StoresXStoreIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesStoreInfoResponse> {
89224
91591
  return localVarFp.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
89225
91592
  },
89226
91593
  /**
@@ -89287,13 +91654,13 @@ export class StoreManagementApi extends BaseAPI {
89287
91654
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
89288
91655
  * @summary Create Store (Public SDK API)
89289
91656
  * @param {string} authorization Bearer JWT Token
89290
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
91657
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
89291
91658
  * @param {*} [options] Override http request option.
89292
91659
  * @throws {RequiredError}
89293
91660
  * @memberof StoreManagementApi
89294
91661
  */
89295
- public apiV1StoresPost(authorization: string, dataTypesPublicCreateStoreRequest: DataTypesPublicCreateStoreRequest, options?: RawAxiosRequestConfig) {
89296
- return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
91662
+ public apiV1StoresPost(authorization: string, dataTypesCreateStoreRequest: DataTypesCreateStoreRequest, options?: RawAxiosRequestConfig) {
91663
+ return StoreManagementApiFp(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
89297
91664
  }
89298
91665
 
89299
91666
  /**
@@ -89316,13 +91683,13 @@ export class StoreManagementApi extends BaseAPI {
89316
91683
  * @param {string} xStoreid Store ID (from dashboard)
89317
91684
  * @param {string} xStoreWriteSecret Store write secret
89318
91685
  * @param {string} xStoreID Store ID (must match x-storeid header)
89319
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
91686
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
89320
91687
  * @param {*} [options] Override http request option.
89321
91688
  * @throws {RequiredError}
89322
91689
  * @memberof StoreManagementApi
89323
91690
  */
89324
- public apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesIndexConfig: DataTypesIndexConfig, options?: RawAxiosRequestConfig) {
89325
- return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
91691
+ public apiV1StoresXStoreIDConfigPut(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, dataTypesStoreConfigUpdateRequest: DataTypesStoreConfigUpdateRequest, options?: RawAxiosRequestConfig) {
91692
+ return StoreManagementApiFp(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
89326
91693
  }
89327
91694
 
89328
91695
  /**