@seekora-ai/admin-api 1.0.98 → 1.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -1262,6 +1262,122 @@ export interface AdminV1QuerySuggestionsXStoreIDTypesenseGet200Response {
1262
1262
  */
1263
1263
  'total'?: number;
1264
1264
  }
1265
+ /**
1266
+ *
1267
+ * @export
1268
+ * @interface AnalyticsAPIUsageEvent
1269
+ */
1270
+ export interface AnalyticsAPIUsageEvent {
1271
+ /**
1272
+ *
1273
+ * @type {string}
1274
+ * @memberof AnalyticsAPIUsageEvent
1275
+ */
1276
+ 'event_id'?: string;
1277
+ /**
1278
+ *
1279
+ * @type {string}
1280
+ * @memberof AnalyticsAPIUsageEvent
1281
+ */
1282
+ 'ip'?: string;
1283
+ /**
1284
+ *
1285
+ * @type {string}
1286
+ * @memberof AnalyticsAPIUsageEvent
1287
+ */
1288
+ 'method'?: string;
1289
+ /**
1290
+ *
1291
+ * @type {number}
1292
+ * @memberof AnalyticsAPIUsageEvent
1293
+ */
1294
+ 'nb_operations'?: number;
1295
+ /**
1296
+ *
1297
+ * @type {string}
1298
+ * @memberof AnalyticsAPIUsageEvent
1299
+ */
1300
+ 'org_id'?: string;
1301
+ /**
1302
+ *
1303
+ * @type {number}
1304
+ * @memberof AnalyticsAPIUsageEvent
1305
+ */
1306
+ 'processing_time_ms'?: number;
1307
+ /**
1308
+ *
1309
+ * @type {string}
1310
+ * @memberof AnalyticsAPIUsageEvent
1311
+ */
1312
+ 'request_body'?: string;
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof AnalyticsAPIUsageEvent
1317
+ */
1318
+ 'request_headers'?: string;
1319
+ /**
1320
+ *
1321
+ * @type {string}
1322
+ * @memberof AnalyticsAPIUsageEvent
1323
+ */
1324
+ 'response_body'?: string;
1325
+ /**
1326
+ *
1327
+ * @type {number}
1328
+ * @memberof AnalyticsAPIUsageEvent
1329
+ */
1330
+ 'response_code'?: number;
1331
+ /**
1332
+ *
1333
+ * @type {string}
1334
+ * @memberof AnalyticsAPIUsageEvent
1335
+ */
1336
+ 'store_id'?: string;
1337
+ /**
1338
+ *
1339
+ * @type {string}
1340
+ * @memberof AnalyticsAPIUsageEvent
1341
+ */
1342
+ 'time'?: string;
1343
+ /**
1344
+ *
1345
+ * @type {string}
1346
+ * @memberof AnalyticsAPIUsageEvent
1347
+ */
1348
+ 'url'?: string;
1349
+ }
1350
+ /**
1351
+ *
1352
+ * @export
1353
+ * @interface AnalyticsAPIUsageResponse
1354
+ */
1355
+ export interface AnalyticsAPIUsageResponse {
1356
+ /**
1357
+ *
1358
+ * @type {Array<AnalyticsAPIUsageEvent>}
1359
+ * @memberof AnalyticsAPIUsageResponse
1360
+ */
1361
+ 'data'?: Array<AnalyticsAPIUsageEvent>;
1362
+ /**
1363
+ *
1364
+ * @type {string}
1365
+ * @memberof AnalyticsAPIUsageResponse
1366
+ */
1367
+ 'message'?: string;
1368
+ /**
1369
+ *
1370
+ * @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
1371
+ * @memberof AnalyticsAPIUsageResponse
1372
+ */
1373
+ 'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
1374
+ /**
1375
+ *
1376
+ * @type {number}
1377
+ * @memberof AnalyticsAPIUsageResponse
1378
+ */
1379
+ 'status'?: number;
1380
+ }
1265
1381
  /**
1266
1382
  *
1267
1383
  * @export
@@ -3057,10 +3173,10 @@ export interface AnalyticsGeoPopularFiltersSection {
3057
3173
  'items'?: Array<AnalyticsGeoPopularFilter>;
3058
3174
  /**
3059
3175
  *
3060
- * @type {AnalyticsPaginationMeta}
3176
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3061
3177
  * @memberof AnalyticsGeoPopularFiltersSection
3062
3178
  */
3063
- 'meta'?: AnalyticsPaginationMeta;
3179
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3064
3180
  }
3065
3181
  /**
3066
3182
  *
@@ -3076,10 +3192,10 @@ export interface AnalyticsGeoPopularQueriesSection {
3076
3192
  'items'?: Array<AnalyticsGeoPopularQuery>;
3077
3193
  /**
3078
3194
  *
3079
- * @type {AnalyticsPaginationMeta}
3195
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3080
3196
  * @memberof AnalyticsGeoPopularQueriesSection
3081
3197
  */
3082
- 'meta'?: AnalyticsPaginationMeta;
3198
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3083
3199
  }
3084
3200
  /**
3085
3201
  *
@@ -3320,10 +3436,10 @@ export interface AnalyticsGeoTopResultsSection {
3320
3436
  'items'?: Array<AnalyticsGeoTopResult>;
3321
3437
  /**
3322
3438
  *
3323
- * @type {AnalyticsPaginationMeta}
3439
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3324
3440
  * @memberof AnalyticsGeoTopResultsSection
3325
3441
  */
3326
- 'meta'?: AnalyticsPaginationMeta;
3442
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3327
3443
  }
3328
3444
  /**
3329
3445
  *
@@ -3758,10 +3874,10 @@ export interface AnalyticsItemGeoAnalyticsSection {
3758
3874
  'items'?: Array<AnalyticsItemGeoAnalytic>;
3759
3875
  /**
3760
3876
  *
3761
- * @type {AnalyticsPaginationMeta}
3877
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3762
3878
  * @memberof AnalyticsItemGeoAnalyticsSection
3763
3879
  */
3764
- 'meta'?: AnalyticsPaginationMeta;
3880
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3765
3881
  }
3766
3882
  /**
3767
3883
  *
@@ -4322,10 +4438,10 @@ export interface AnalyticsItemPopularFiltersSection {
4322
4438
  'items'?: Array<AnalyticsItemPopularFilter>;
4323
4439
  /**
4324
4440
  *
4325
- * @type {AnalyticsPaginationMeta}
4441
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
4326
4442
  * @memberof AnalyticsItemPopularFiltersSection
4327
4443
  */
4328
- 'meta'?: AnalyticsPaginationMeta;
4444
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
4329
4445
  }
4330
4446
  /**
4331
4447
  *
@@ -4341,10 +4457,10 @@ export interface AnalyticsItemPopularQueriesSection {
4341
4457
  'items'?: Array<AnalyticsItemPopularQuery>;
4342
4458
  /**
4343
4459
  *
4344
- * @type {AnalyticsPaginationMeta}
4460
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
4345
4461
  * @memberof AnalyticsItemPopularQueriesSection
4346
4462
  */
4347
- 'meta'?: AnalyticsPaginationMeta;
4463
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
4348
4464
  }
4349
4465
  /**
4350
4466
  *
@@ -4852,49 +4968,6 @@ export interface AnalyticsManualQuerySuggestionRequest {
4852
4968
  */
4853
4969
  'tags'?: Array<string>;
4854
4970
  }
4855
- /**
4856
- *
4857
- * @export
4858
- * @interface AnalyticsPaginationMeta
4859
- */
4860
- export interface AnalyticsPaginationMeta {
4861
- /**
4862
- *
4863
- * @type {boolean}
4864
- * @memberof AnalyticsPaginationMeta
4865
- */
4866
- 'has_next'?: boolean;
4867
- /**
4868
- *
4869
- * @type {boolean}
4870
- * @memberof AnalyticsPaginationMeta
4871
- */
4872
- 'has_previous'?: boolean;
4873
- /**
4874
- *
4875
- * @type {number}
4876
- * @memberof AnalyticsPaginationMeta
4877
- */
4878
- 'page'?: number;
4879
- /**
4880
- *
4881
- * @type {number}
4882
- * @memberof AnalyticsPaginationMeta
4883
- */
4884
- 'page_size'?: number;
4885
- /**
4886
- *
4887
- * @type {number}
4888
- * @memberof AnalyticsPaginationMeta
4889
- */
4890
- 'total_items'?: number;
4891
- /**
4892
- *
4893
- * @type {number}
4894
- * @memberof AnalyticsPaginationMeta
4895
- */
4896
- 'total_pages'?: number;
4897
- }
4898
4971
  /**
4899
4972
  *
4900
4973
  * @export
@@ -5309,10 +5382,10 @@ export interface AnalyticsQueryGeoAnalyticsSection {
5309
5382
  'items'?: Array<AnalyticsQueryGeoAnalytic>;
5310
5383
  /**
5311
5384
  *
5312
- * @type {AnalyticsPaginationMeta}
5385
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5313
5386
  * @memberof AnalyticsQueryGeoAnalyticsSection
5314
5387
  */
5315
- 'meta'?: AnalyticsPaginationMeta;
5388
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5316
5389
  }
5317
5390
  /**
5318
5391
  *
@@ -5643,10 +5716,10 @@ export interface AnalyticsQueryPopularFiltersSection {
5643
5716
  'items'?: Array<AnalyticsQueryPopularFilter>;
5644
5717
  /**
5645
5718
  *
5646
- * @type {AnalyticsPaginationMeta}
5719
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5647
5720
  * @memberof AnalyticsQueryPopularFiltersSection
5648
5721
  */
5649
- 'meta'?: AnalyticsPaginationMeta;
5722
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5650
5723
  }
5651
5724
  /**
5652
5725
  *
@@ -5777,10 +5850,10 @@ export interface AnalyticsQueryPopularResultsSection {
5777
5850
  'items'?: Array<AnalyticsQueryPopularResultWithWidget>;
5778
5851
  /**
5779
5852
  *
5780
- * @type {AnalyticsPaginationMeta}
5853
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5781
5854
  * @memberof AnalyticsQueryPopularResultsSection
5782
5855
  */
5783
- 'meta'?: AnalyticsPaginationMeta;
5856
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5784
5857
  }
5785
5858
  /**
5786
5859
  *
@@ -7774,6 +7847,49 @@ export declare const DataTypesBillingAlertRequestAlertTypeEnum: {
7774
7847
  readonly DaysRemaining: "days_remaining";
7775
7848
  };
7776
7849
  export type DataTypesBillingAlertRequestAlertTypeEnum = typeof DataTypesBillingAlertRequestAlertTypeEnum[keyof typeof DataTypesBillingAlertRequestAlertTypeEnum];
7850
+ /**
7851
+ *
7852
+ * @export
7853
+ * @interface DataTypesBillingOrderDetailsResponse
7854
+ */
7855
+ export interface DataTypesBillingOrderDetailsResponse {
7856
+ /**
7857
+ * Whether user can pay pending invoices
7858
+ * @type {boolean}
7859
+ * @memberof DataTypesBillingOrderDetailsResponse
7860
+ */
7861
+ 'can_pay'?: boolean;
7862
+ /**
7863
+ * Array of invoices for subscriptions
7864
+ * @type {Array<DataTypesInvoice>}
7865
+ * @memberof DataTypesBillingOrderDetailsResponse
7866
+ */
7867
+ 'invoices'?: Array<DataTypesInvoice>;
7868
+ /**
7869
+ *
7870
+ * @type {DataTypesOrder}
7871
+ * @memberof DataTypesBillingOrderDetailsResponse
7872
+ */
7873
+ 'order'?: DataTypesOrder;
7874
+ /**
7875
+ * Total pending invoice amount
7876
+ * @type {number}
7877
+ * @memberof DataTypesBillingOrderDetailsResponse
7878
+ */
7879
+ 'pending_amount'?: number;
7880
+ /**
7881
+ * Plan info for subscription orders
7882
+ * @type {DataTypesCreditPlanDetails}
7883
+ * @memberof DataTypesBillingOrderDetailsResponse
7884
+ */
7885
+ 'plan_details'?: DataTypesCreditPlanDetails;
7886
+ /**
7887
+ *
7888
+ * @type {Array<DataTypesOrderTransactionDisplay>}
7889
+ * @memberof DataTypesBillingOrderDetailsResponse
7890
+ */
7891
+ 'transactions'?: Array<DataTypesOrderTransactionDisplay>;
7892
+ }
7777
7893
  /**
7778
7894
  *
7779
7895
  * @export
@@ -9310,6 +9426,67 @@ export interface DataTypesCreditPlan {
9310
9426
  */
9311
9427
  'validity_days'?: number;
9312
9428
  }
9429
+ /**
9430
+ *
9431
+ * @export
9432
+ * @interface DataTypesCreditPlanDetails
9433
+ */
9434
+ export interface DataTypesCreditPlanDetails {
9435
+ /**
9436
+ *
9437
+ * @type {string}
9438
+ * @memberof DataTypesCreditPlanDetails
9439
+ */
9440
+ 'billing_cycle'?: string;
9441
+ /**
9442
+ *
9443
+ * @type {number}
9444
+ * @memberof DataTypesCreditPlanDetails
9445
+ */
9446
+ 'credit_amount'?: number;
9447
+ /**
9448
+ *
9449
+ * @type {string}
9450
+ * @memberof DataTypesCreditPlanDetails
9451
+ */
9452
+ 'currency'?: string;
9453
+ /**
9454
+ *
9455
+ * @type {string}
9456
+ * @memberof DataTypesCreditPlanDetails
9457
+ */
9458
+ 'description'?: string;
9459
+ /**
9460
+ *
9461
+ * @type {boolean}
9462
+ * @memberof DataTypesCreditPlanDetails
9463
+ */
9464
+ 'is_active'?: boolean;
9465
+ /**
9466
+ *
9467
+ * @type {number}
9468
+ * @memberof DataTypesCreditPlanDetails
9469
+ */
9470
+ 'plan_id'?: number;
9471
+ /**
9472
+ *
9473
+ * @type {string}
9474
+ * @memberof DataTypesCreditPlanDetails
9475
+ */
9476
+ 'plan_name'?: string;
9477
+ /**
9478
+ *
9479
+ * @type {number}
9480
+ * @memberof DataTypesCreditPlanDetails
9481
+ */
9482
+ 'price'?: number;
9483
+ /**
9484
+ *
9485
+ * @type {number}
9486
+ * @memberof DataTypesCreditPlanDetails
9487
+ */
9488
+ 'validity_days'?: number;
9489
+ }
9313
9490
  /**
9314
9491
  *
9315
9492
  * @export
@@ -9489,6 +9666,37 @@ export interface DataTypesCustomWordWithStatus {
9489
9666
  */
9490
9667
  'word'?: string;
9491
9668
  }
9669
+ /**
9670
+ *
9671
+ * @export
9672
+ * @interface DataTypesCustomerInfo
9673
+ */
9674
+ export interface DataTypesCustomerInfo {
9675
+ /**
9676
+ *
9677
+ * @type {string}
9678
+ * @memberof DataTypesCustomerInfo
9679
+ */
9680
+ 'address'?: string;
9681
+ /**
9682
+ *
9683
+ * @type {string}
9684
+ * @memberof DataTypesCustomerInfo
9685
+ */
9686
+ 'email'?: string;
9687
+ /**
9688
+ *
9689
+ * @type {string}
9690
+ * @memberof DataTypesCustomerInfo
9691
+ */
9692
+ 'name'?: string;
9693
+ /**
9694
+ *
9695
+ * @type {string}
9696
+ * @memberof DataTypesCustomerInfo
9697
+ */
9698
+ 'phone'?: string;
9699
+ }
9492
9700
  /**
9493
9701
  *
9494
9702
  * @export
@@ -10598,62 +10806,137 @@ export interface DataTypesGatewayListResponse {
10598
10806
  /**
10599
10807
  *
10600
10808
  * @export
10601
- * @interface DataTypesGenericStringArrayResponse
10809
+ * @interface DataTypesGenericResponseArrayDataTypesInvoice
10602
10810
  */
10603
- export interface DataTypesGenericStringArrayResponse {
10811
+ export interface DataTypesGenericResponseArrayDataTypesInvoice {
10604
10812
  /**
10605
10813
  *
10606
- * @type {Array<string>}
10607
- * @memberof DataTypesGenericStringArrayResponse
10814
+ * @type {Array<DataTypesInvoice>}
10815
+ * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10608
10816
  */
10609
- 'data'?: Array<string>;
10817
+ 'data'?: Array<DataTypesInvoice>;
10610
10818
  /**
10611
10819
  *
10612
10820
  * @type {string}
10613
- * @memberof DataTypesGenericStringArrayResponse
10821
+ * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10614
10822
  */
10615
10823
  'message'?: string;
10616
10824
  /**
10617
10825
  *
10618
10826
  * @type {number}
10619
- * @memberof DataTypesGenericStringArrayResponse
10827
+ * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10620
10828
  */
10621
10829
  'status'?: number;
10622
10830
  }
10623
10831
  /**
10624
10832
  *
10625
10833
  * @export
10626
- * @interface DataTypesGetStoreResult
10834
+ * @interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
10627
10835
  */
10628
- export interface DataTypesGetStoreResult {
10836
+ export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
10629
10837
  /**
10630
- * Timestamp for when the store was created
10838
+ *
10839
+ * @type {DataTypesBillingOrderDetailsResponse}
10840
+ * @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
10841
+ */
10842
+ 'data'?: DataTypesBillingOrderDetailsResponse;
10843
+ /**
10844
+ *
10631
10845
  * @type {string}
10632
- * @memberof DataTypesGetStoreResult
10846
+ * @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
10633
10847
  */
10634
- 'CreatedAt'?: string;
10848
+ 'message'?: string;
10635
10849
  /**
10636
- * User ID of the creator, nullable
10850
+ *
10637
10851
  * @type {number}
10638
- * @memberof DataTypesGetStoreResult
10852
+ * @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
10639
10853
  */
10640
- 'CreatedBy'?: number;
10854
+ 'status'?: number;
10855
+ }
10856
+ /**
10857
+ *
10858
+ * @export
10859
+ * @interface DataTypesGenericResponseDataTypesPayInvoiceResponse
10860
+ */
10861
+ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
10641
10862
  /**
10642
- * Store active status
10643
- * @type {boolean}
10644
- * @memberof DataTypesGetStoreResult
10863
+ *
10864
+ * @type {DataTypesPayInvoiceResponse}
10865
+ * @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
10645
10866
  */
10646
- 'IsActive'?: boolean;
10867
+ 'data'?: DataTypesPayInvoiceResponse;
10647
10868
  /**
10648
- * Store location
10869
+ *
10649
10870
  * @type {string}
10650
- * @memberof DataTypesGetStoreResult
10871
+ * @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
10651
10872
  */
10652
- 'Location'?: string;
10873
+ 'message'?: string;
10653
10874
  /**
10654
- * Timestamp for when the store was last modified
10655
- * @type {string}
10656
- * @memberof DataTypesGetStoreResult
10875
+ *
10876
+ * @type {number}
10877
+ * @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
10878
+ */
10879
+ 'status'?: number;
10880
+ }
10881
+ /**
10882
+ *
10883
+ * @export
10884
+ * @interface DataTypesGenericStringArrayResponse
10885
+ */
10886
+ export interface DataTypesGenericStringArrayResponse {
10887
+ /**
10888
+ *
10889
+ * @type {Array<string>}
10890
+ * @memberof DataTypesGenericStringArrayResponse
10891
+ */
10892
+ 'data'?: Array<string>;
10893
+ /**
10894
+ *
10895
+ * @type {string}
10896
+ * @memberof DataTypesGenericStringArrayResponse
10897
+ */
10898
+ 'message'?: string;
10899
+ /**
10900
+ *
10901
+ * @type {number}
10902
+ * @memberof DataTypesGenericStringArrayResponse
10903
+ */
10904
+ 'status'?: number;
10905
+ }
10906
+ /**
10907
+ *
10908
+ * @export
10909
+ * @interface DataTypesGetStoreResult
10910
+ */
10911
+ export interface DataTypesGetStoreResult {
10912
+ /**
10913
+ * Timestamp for when the store was created
10914
+ * @type {string}
10915
+ * @memberof DataTypesGetStoreResult
10916
+ */
10917
+ 'CreatedAt'?: string;
10918
+ /**
10919
+ * User ID of the creator, nullable
10920
+ * @type {number}
10921
+ * @memberof DataTypesGetStoreResult
10922
+ */
10923
+ 'CreatedBy'?: number;
10924
+ /**
10925
+ * Store active status
10926
+ * @type {boolean}
10927
+ * @memberof DataTypesGetStoreResult
10928
+ */
10929
+ 'IsActive'?: boolean;
10930
+ /**
10931
+ * Store location
10932
+ * @type {string}
10933
+ * @memberof DataTypesGetStoreResult
10934
+ */
10935
+ 'Location'?: string;
10936
+ /**
10937
+ * Timestamp for when the store was last modified
10938
+ * @type {string}
10939
+ * @memberof DataTypesGetStoreResult
10657
10940
  */
10658
10941
  'ModifiedAt'?: string;
10659
10942
  /**
@@ -11224,6 +11507,12 @@ export interface DataTypesInvoice {
11224
11507
  * @memberof DataTypesInvoice
11225
11508
  */
11226
11509
  'notes'?: string;
11510
+ /**
11511
+ * Direct FK to orders table (added in migration 20251031)
11512
+ * @type {number}
11513
+ * @memberof DataTypesInvoice
11514
+ */
11515
+ 'order_id'?: number;
11227
11516
  /**
11228
11517
  *
11229
11518
  * @type {number}
@@ -13312,6 +13601,110 @@ export interface DataTypesParentMenusListResponse {
13312
13601
  */
13313
13602
  'status'?: number;
13314
13603
  }
13604
+ /**
13605
+ *
13606
+ * @export
13607
+ * @interface DataTypesPayInvoiceRequest
13608
+ */
13609
+ export interface DataTypesPayInvoiceRequest {
13610
+ /**
13611
+ *
13612
+ * @type {DataTypesCustomerInfo}
13613
+ * @memberof DataTypesPayInvoiceRequest
13614
+ */
13615
+ 'customer_info'?: DataTypesCustomerInfo;
13616
+ /**
13617
+ *
13618
+ * @type {string}
13619
+ * @memberof DataTypesPayInvoiceRequest
13620
+ */
13621
+ 'invoice_id'?: string;
13622
+ /**
13623
+ *
13624
+ * @type {{ [key: string]: any; }}
13625
+ * @memberof DataTypesPayInvoiceRequest
13626
+ */
13627
+ 'metadata'?: {
13628
+ [key: string]: any;
13629
+ };
13630
+ /**
13631
+ * card, upi, wallet, netbanking
13632
+ * @type {string}
13633
+ * @memberof DataTypesPayInvoiceRequest
13634
+ */
13635
+ 'payment_method'?: string;
13636
+ }
13637
+ /**
13638
+ *
13639
+ * @export
13640
+ * @interface DataTypesPayInvoiceResponse
13641
+ */
13642
+ export interface DataTypesPayInvoiceResponse {
13643
+ /**
13644
+ *
13645
+ * @type {number}
13646
+ * @memberof DataTypesPayInvoiceResponse
13647
+ */
13648
+ 'amount'?: number;
13649
+ /**
13650
+ *
13651
+ * @type {string}
13652
+ * @memberof DataTypesPayInvoiceResponse
13653
+ */
13654
+ 'currency'?: string;
13655
+ /**
13656
+ * Customer details for prefill
13657
+ * @type {{ [key: string]: any; }}
13658
+ * @memberof DataTypesPayInvoiceResponse
13659
+ */
13660
+ 'customer_prefill'?: {
13661
+ [key: string]: any;
13662
+ };
13663
+ /**
13664
+ *
13665
+ * @type {string}
13666
+ * @memberof DataTypesPayInvoiceResponse
13667
+ */
13668
+ 'gateway'?: string;
13669
+ /**
13670
+ *
13671
+ * @type {string}
13672
+ * @memberof DataTypesPayInvoiceResponse
13673
+ */
13674
+ 'gateway_order_id'?: string;
13675
+ /**
13676
+ *
13677
+ * @type {{ [key: string]: any; }}
13678
+ * @memberof DataTypesPayInvoiceResponse
13679
+ */
13680
+ 'gateway_response'?: {
13681
+ [key: string]: any;
13682
+ };
13683
+ /**
13684
+ *
13685
+ * @type {string}
13686
+ * @memberof DataTypesPayInvoiceResponse
13687
+ */
13688
+ 'payment_order_id'?: string;
13689
+ /**
13690
+ *
13691
+ * @type {string}
13692
+ * @memberof DataTypesPayInvoiceResponse
13693
+ */
13694
+ 'payment_url'?: string;
13695
+ /**
13696
+ * Razorpay public key for frontend
13697
+ * @type {string}
13698
+ * @memberof DataTypesPayInvoiceResponse
13699
+ */
13700
+ 'razorpay_key'?: string;
13701
+ /**
13702
+ *
13703
+ * @type {string}
13704
+ * @memberof DataTypesPayInvoiceResponse
13705
+ */
13706
+ 'status'?: string;
13707
+ }
13315
13708
  /**
13316
13709
  *
13317
13710
  * @export
@@ -13962,6 +14355,12 @@ export interface DataTypesProfileResponse {
13962
14355
  * @memberof DataTypesProfileResponse
13963
14356
  */
13964
14357
  'firstname'?: string;
14358
+ /**
14359
+ *
14360
+ * @type {boolean}
14361
+ * @memberof DataTypesProfileResponse
14362
+ */
14363
+ 'has_password'?: boolean;
13965
14364
  /**
13966
14365
  *
13967
14366
  * @type {string}
@@ -15585,6 +15984,19 @@ export interface DataTypesServiceRequestsListResponse {
15585
15984
  */
15586
15985
  'status'?: number;
15587
15986
  }
15987
+ /**
15988
+ *
15989
+ * @export
15990
+ * @interface DataTypesSetPasswordRequest
15991
+ */
15992
+ export interface DataTypesSetPasswordRequest {
15993
+ /**
15994
+ *
15995
+ * @type {string}
15996
+ * @memberof DataTypesSetPasswordRequest
15997
+ */
15998
+ 'password': string;
15999
+ }
15588
16000
  /**
15589
16001
  *
15590
16002
  * @export
@@ -17072,6 +17484,12 @@ export interface DataTypesUser {
17072
17484
  * @memberof DataTypesUser
17073
17485
  */
17074
17486
  'firstName'?: string;
17487
+ /**
17488
+ * ✅ ADD THIS
17489
+ * @type {boolean}
17490
+ * @memberof DataTypesUser
17491
+ */
17492
+ 'has_password'?: boolean;
17075
17493
  /**
17076
17494
  *
17077
17495
  * @type {boolean}
@@ -17810,124 +18228,374 @@ export interface MgDocumentTypesArticle {
17810
18228
  * @type {string}
17811
18229
  * @memberof MgDocumentTypesArticle
17812
18230
  */
17813
- 'id'?: string;
18231
+ 'id'?: string;
18232
+ /**
18233
+ *
18234
+ * @type {boolean}
18235
+ * @memberof MgDocumentTypesArticle
18236
+ */
18237
+ 'published'?: boolean;
18238
+ /**
18239
+ *
18240
+ * @type {Array<string>}
18241
+ * @memberof MgDocumentTypesArticle
18242
+ */
18243
+ 'tags'?: Array<string>;
18244
+ /**
18245
+ *
18246
+ * @type {string}
18247
+ * @memberof MgDocumentTypesArticle
18248
+ */
18249
+ 'title'?: string;
18250
+ /**
18251
+ *
18252
+ * @type {string}
18253
+ * @memberof MgDocumentTypesArticle
18254
+ */
18255
+ 'updated_at'?: string;
18256
+ }
18257
+ /**
18258
+ *
18259
+ * @export
18260
+ * @interface MgDocumentTypesCreateArticleRequestDto
18261
+ */
18262
+ export interface MgDocumentTypesCreateArticleRequestDto {
18263
+ /**
18264
+ *
18265
+ * @type {string}
18266
+ * @memberof MgDocumentTypesCreateArticleRequestDto
18267
+ */
18268
+ 'author'?: string;
18269
+ /**
18270
+ *
18271
+ * @type {string}
18272
+ * @memberof MgDocumentTypesCreateArticleRequestDto
18273
+ */
18274
+ 'content'?: string;
18275
+ /**
18276
+ *
18277
+ * @type {boolean}
18278
+ * @memberof MgDocumentTypesCreateArticleRequestDto
18279
+ */
18280
+ 'published'?: boolean;
18281
+ /**
18282
+ *
18283
+ * @type {Array<string>}
18284
+ * @memberof MgDocumentTypesCreateArticleRequestDto
18285
+ */
18286
+ 'tags'?: Array<string>;
18287
+ /**
18288
+ *
18289
+ * @type {string}
18290
+ * @memberof MgDocumentTypesCreateArticleRequestDto
18291
+ */
18292
+ 'title'?: string;
18293
+ }
18294
+ /**
18295
+ *
18296
+ * @export
18297
+ * @interface RefundRefundPreviewRequestDto
18298
+ */
18299
+ export interface RefundRefundPreviewRequestDto {
18300
+ /**
18301
+ * For partial refunds
18302
+ * @type {number}
18303
+ * @memberof RefundRefundPreviewRequestDto
18304
+ */
18305
+ 'amount'?: number;
18306
+ /**
18307
+ * For credit-based refunds
18308
+ * @type {number}
18309
+ * @memberof RefundRefundPreviewRequestDto
18310
+ */
18311
+ 'credit_amount'?: number;
18312
+ /**
18313
+ *
18314
+ * @type {string}
18315
+ * @memberof RefundRefundPreviewRequestDto
18316
+ */
18317
+ 'currency': string;
18318
+ /**
18319
+ *
18320
+ * @type {number}
18321
+ * @memberof RefundRefundPreviewRequestDto
18322
+ */
18323
+ 'org_id': number;
18324
+ /**
18325
+ *
18326
+ * @type {number}
18327
+ * @memberof RefundRefundPreviewRequestDto
18328
+ */
18329
+ 'payment_id': number;
18330
+ /**
18331
+ *
18332
+ * @type {string}
18333
+ * @memberof RefundRefundPreviewRequestDto
18334
+ */
18335
+ 'reason': string;
18336
+ /**
18337
+ *
18338
+ * @type {string}
18339
+ * @memberof RefundRefundPreviewRequestDto
18340
+ */
18341
+ 'refund_type': RefundRefundPreviewRequestDtoRefundTypeEnum;
18342
+ }
18343
+ export declare const RefundRefundPreviewRequestDtoRefundTypeEnum: {
18344
+ readonly Full: "full";
18345
+ readonly Partial: "partial";
18346
+ readonly RemainingCredits: "remaining_credits";
18347
+ };
18348
+ export type RefundRefundPreviewRequestDtoRefundTypeEnum = typeof RefundRefundPreviewRequestDtoRefundTypeEnum[keyof typeof RefundRefundPreviewRequestDtoRefundTypeEnum];
18349
+ /**
18350
+ *
18351
+ * @export
18352
+ * @interface SeekoraGoSrcAnalyticsPaginationMeta
18353
+ */
18354
+ export interface SeekoraGoSrcAnalyticsPaginationMeta {
18355
+ /**
18356
+ *
18357
+ * @type {boolean}
18358
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18359
+ */
18360
+ 'has_next'?: boolean;
18361
+ /**
18362
+ *
18363
+ * @type {boolean}
18364
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18365
+ */
18366
+ 'has_previous'?: boolean;
18367
+ /**
18368
+ *
18369
+ * @type {number}
18370
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18371
+ */
18372
+ 'page'?: number;
18373
+ /**
18374
+ *
18375
+ * @type {number}
18376
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18377
+ */
18378
+ 'page_size'?: number;
18379
+ /**
18380
+ *
18381
+ * @type {number}
18382
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18383
+ */
18384
+ 'total_items'?: number;
18385
+ /**
18386
+ *
18387
+ * @type {number}
18388
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18389
+ */
18390
+ 'total_pages'?: number;
18391
+ }
18392
+ /**
18393
+ *
18394
+ * @export
18395
+ * @interface SeekoraGoSrcRoutesAnalyticsPaginationMeta
18396
+ */
18397
+ export interface SeekoraGoSrcRoutesAnalyticsPaginationMeta {
18398
+ /**
18399
+ *
18400
+ * @type {number}
18401
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18402
+ */
18403
+ 'page'?: number;
18404
+ /**
18405
+ *
18406
+ * @type {number}
18407
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18408
+ */
18409
+ 'per_page'?: number;
18410
+ /**
18411
+ *
18412
+ * @type {number}
18413
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18414
+ */
18415
+ 'total_count'?: number;
18416
+ /**
18417
+ *
18418
+ * @type {number}
18419
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18420
+ */
18421
+ 'total_pages'?: number;
18422
+ }
18423
+ /**
18424
+ *
18425
+ * @export
18426
+ * @interface StoreRouteAPIUsageDetailResponse
18427
+ */
18428
+ export interface StoreRouteAPIUsageDetailResponse {
18429
+ /**
18430
+ *
18431
+ * @type {StoreRouteAPIUsageLogEntry}
18432
+ * @memberof StoreRouteAPIUsageDetailResponse
18433
+ */
18434
+ 'data'?: StoreRouteAPIUsageLogEntry;
18435
+ /**
18436
+ *
18437
+ * @type {string}
18438
+ * @memberof StoreRouteAPIUsageDetailResponse
18439
+ */
18440
+ 'message'?: string;
18441
+ /**
18442
+ *
18443
+ * @type {number}
18444
+ * @memberof StoreRouteAPIUsageDetailResponse
18445
+ */
18446
+ 'status'?: number;
18447
+ }
18448
+ /**
18449
+ *
18450
+ * @export
18451
+ * @interface StoreRouteAPIUsageListResponse
18452
+ */
18453
+ export interface StoreRouteAPIUsageListResponse {
18454
+ /**
18455
+ *
18456
+ * @type {Array<StoreRouteAPIUsageLogEntry>}
18457
+ * @memberof StoreRouteAPIUsageListResponse
18458
+ */
18459
+ 'data'?: Array<StoreRouteAPIUsageLogEntry>;
18460
+ /**
18461
+ *
18462
+ * @type {string}
18463
+ * @memberof StoreRouteAPIUsageListResponse
18464
+ */
18465
+ 'message'?: string;
18466
+ /**
18467
+ *
18468
+ * @type {StoreRoutePaginationMeta}
18469
+ * @memberof StoreRouteAPIUsageListResponse
18470
+ */
18471
+ 'meta'?: StoreRoutePaginationMeta;
18472
+ /**
18473
+ *
18474
+ * @type {number}
18475
+ * @memberof StoreRouteAPIUsageListResponse
18476
+ */
18477
+ 'status'?: number;
18478
+ }
18479
+ /**
18480
+ *
18481
+ * @export
18482
+ * @interface StoreRouteAPIUsageLogEntry
18483
+ */
18484
+ export interface StoreRouteAPIUsageLogEntry {
18485
+ /**
18486
+ *
18487
+ * @type {string}
18488
+ * @memberof StoreRouteAPIUsageLogEntry
18489
+ */
18490
+ 'event_id'?: string;
18491
+ /**
18492
+ *
18493
+ * @type {string}
18494
+ * @memberof StoreRouteAPIUsageLogEntry
18495
+ */
18496
+ 'ip'?: string;
18497
+ /**
18498
+ *
18499
+ * @type {string}
18500
+ * @memberof StoreRouteAPIUsageLogEntry
18501
+ */
18502
+ 'method'?: string;
18503
+ /**
18504
+ *
18505
+ * @type {number}
18506
+ * @memberof StoreRouteAPIUsageLogEntry
18507
+ */
18508
+ 'nb_operations'?: number;
17814
18509
  /**
17815
18510
  *
17816
- * @type {boolean}
17817
- * @memberof MgDocumentTypesArticle
18511
+ * @type {string}
18512
+ * @memberof StoreRouteAPIUsageLogEntry
17818
18513
  */
17819
- 'published'?: boolean;
18514
+ 'org_code'?: string;
17820
18515
  /**
17821
18516
  *
17822
- * @type {Array<string>}
17823
- * @memberof MgDocumentTypesArticle
18517
+ * @type {number}
18518
+ * @memberof StoreRouteAPIUsageLogEntry
17824
18519
  */
17825
- 'tags'?: Array<string>;
18520
+ 'processing_time_ms'?: number;
17826
18521
  /**
17827
18522
  *
17828
- * @type {string}
17829
- * @memberof MgDocumentTypesArticle
18523
+ * @type {{ [key: string]: any; }}
18524
+ * @memberof StoreRouteAPIUsageLogEntry
17830
18525
  */
17831
- 'title'?: string;
18526
+ 'request_body'?: {
18527
+ [key: string]: any;
18528
+ };
17832
18529
  /**
17833
18530
  *
17834
- * @type {string}
17835
- * @memberof MgDocumentTypesArticle
18531
+ * @type {{ [key: string]: any; }}
18532
+ * @memberof StoreRouteAPIUsageLogEntry
17836
18533
  */
17837
- 'updated_at'?: string;
17838
- }
17839
- /**
17840
- *
17841
- * @export
17842
- * @interface MgDocumentTypesCreateArticleRequestDto
17843
- */
17844
- export interface MgDocumentTypesCreateArticleRequestDto {
18534
+ 'request_headers'?: {
18535
+ [key: string]: any;
18536
+ };
17845
18537
  /**
17846
18538
  *
17847
- * @type {string}
17848
- * @memberof MgDocumentTypesCreateArticleRequestDto
18539
+ * @type {any}
18540
+ * @memberof StoreRouteAPIUsageLogEntry
17849
18541
  */
17850
- 'author'?: string;
18542
+ 'response_body'?: any;
17851
18543
  /**
17852
18544
  *
17853
- * @type {string}
17854
- * @memberof MgDocumentTypesCreateArticleRequestDto
18545
+ * @type {number}
18546
+ * @memberof StoreRouteAPIUsageLogEntry
17855
18547
  */
17856
- 'content'?: string;
18548
+ 'response_code'?: number;
17857
18549
  /**
17858
18550
  *
17859
- * @type {boolean}
17860
- * @memberof MgDocumentTypesCreateArticleRequestDto
18551
+ * @type {string}
18552
+ * @memberof StoreRouteAPIUsageLogEntry
17861
18553
  */
17862
- 'published'?: boolean;
18554
+ 'store_id'?: string;
17863
18555
  /**
17864
18556
  *
17865
- * @type {Array<string>}
17866
- * @memberof MgDocumentTypesCreateArticleRequestDto
18557
+ * @type {string}
18558
+ * @memberof StoreRouteAPIUsageLogEntry
17867
18559
  */
17868
- 'tags'?: Array<string>;
18560
+ 'time'?: string;
17869
18561
  /**
17870
18562
  *
17871
18563
  * @type {string}
17872
- * @memberof MgDocumentTypesCreateArticleRequestDto
18564
+ * @memberof StoreRouteAPIUsageLogEntry
17873
18565
  */
17874
- 'title'?: string;
18566
+ 'url'?: string;
17875
18567
  }
17876
18568
  /**
17877
18569
  *
17878
18570
  * @export
17879
- * @interface RefundRefundPreviewRequestDto
18571
+ * @interface StoreRoutePaginationMeta
17880
18572
  */
17881
- export interface RefundRefundPreviewRequestDto {
17882
- /**
17883
- * For partial refunds
17884
- * @type {number}
17885
- * @memberof RefundRefundPreviewRequestDto
17886
- */
17887
- 'amount'?: number;
17888
- /**
17889
- * For credit-based refunds
17890
- * @type {number}
17891
- * @memberof RefundRefundPreviewRequestDto
17892
- */
17893
- 'credit_amount'?: number;
17894
- /**
17895
- *
17896
- * @type {string}
17897
- * @memberof RefundRefundPreviewRequestDto
17898
- */
17899
- 'currency': string;
18573
+ export interface StoreRoutePaginationMeta {
17900
18574
  /**
17901
18575
  *
17902
18576
  * @type {number}
17903
- * @memberof RefundRefundPreviewRequestDto
18577
+ * @memberof StoreRoutePaginationMeta
17904
18578
  */
17905
- 'org_id': number;
18579
+ 'page'?: number;
17906
18580
  /**
17907
18581
  *
17908
18582
  * @type {number}
17909
- * @memberof RefundRefundPreviewRequestDto
18583
+ * @memberof StoreRoutePaginationMeta
17910
18584
  */
17911
- 'payment_id': number;
18585
+ 'per_page'?: number;
17912
18586
  /**
17913
18587
  *
17914
- * @type {string}
17915
- * @memberof RefundRefundPreviewRequestDto
18588
+ * @type {number}
18589
+ * @memberof StoreRoutePaginationMeta
17916
18590
  */
17917
- 'reason': string;
18591
+ 'total_count'?: number;
17918
18592
  /**
17919
18593
  *
17920
- * @type {string}
17921
- * @memberof RefundRefundPreviewRequestDto
18594
+ * @type {number}
18595
+ * @memberof StoreRoutePaginationMeta
17922
18596
  */
17923
- 'refund_type': RefundRefundPreviewRequestDtoRefundTypeEnum;
18597
+ 'total_pages'?: number;
17924
18598
  }
17925
- export declare const RefundRefundPreviewRequestDtoRefundTypeEnum: {
17926
- readonly Full: "full";
17927
- readonly Partial: "partial";
17928
- readonly RemainingCredits: "remaining_credits";
17929
- };
17930
- export type RefundRefundPreviewRequestDtoRefundTypeEnum = typeof RefundRefundPreviewRequestDtoRefundTypeEnum[keyof typeof RefundRefundPreviewRequestDtoRefundTypeEnum];
17931
18599
  /**
17932
18600
  *
17933
18601
  * @export
@@ -18307,6 +18975,14 @@ export declare const AccountSettingsApiAxiosParamCreator: (configuration?: Confi
18307
18975
  * @throws {RequiredError}
18308
18976
  */
18309
18977
  accountSettingsProfilePut: (dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18978
+ /**
18979
+ * Allows user to set password only if not already set (Google/GitHub signup)
18980
+ * @summary Set password for OAuth/new user
18981
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
18982
+ * @param {*} [options] Override http request option.
18983
+ * @throws {RequiredError}
18984
+ */
18985
+ accountSettingsSetPasswordPut: (dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18310
18986
  };
18311
18987
  /**
18312
18988
  * AccountSettingsApi - functional programming interface
@@ -18366,6 +19042,14 @@ export declare const AccountSettingsApiFp: (configuration?: Configuration) => {
18366
19042
  * @throws {RequiredError}
18367
19043
  */
18368
19044
  accountSettingsProfilePut(dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesProfileResponseWrapper>>;
19045
+ /**
19046
+ * Allows user to set password only if not already set (Google/GitHub signup)
19047
+ * @summary Set password for OAuth/new user
19048
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19049
+ * @param {*} [options] Override http request option.
19050
+ * @throws {RequiredError}
19051
+ */
19052
+ accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
18369
19053
  };
18370
19054
  /**
18371
19055
  * AccountSettingsApi - factory interface
@@ -18425,6 +19109,14 @@ export declare const AccountSettingsApiFactory: (configuration?: Configuration,
18425
19109
  * @throws {RequiredError}
18426
19110
  */
18427
19111
  accountSettingsProfilePut(dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper>;
19112
+ /**
19113
+ * Allows user to set password only if not already set (Google/GitHub signup)
19114
+ * @summary Set password for OAuth/new user
19115
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19116
+ * @param {*} [options] Override http request option.
19117
+ * @throws {RequiredError}
19118
+ */
19119
+ accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
18428
19120
  };
18429
19121
  /**
18430
19122
  * AccountSettingsApi - object-oriented interface
@@ -18493,6 +19185,15 @@ export declare class AccountSettingsApi extends BaseAPI {
18493
19185
  * @memberof AccountSettingsApi
18494
19186
  */
18495
19187
  accountSettingsProfilePut(dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesProfileResponseWrapper, any, {}>>;
19188
+ /**
19189
+ * Allows user to set password only if not already set (Google/GitHub signup)
19190
+ * @summary Set password for OAuth/new user
19191
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19192
+ * @param {*} [options] Override http request option.
19193
+ * @throws {RequiredError}
19194
+ * @memberof AccountSettingsApi
19195
+ */
19196
+ accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
18496
19197
  }
18497
19198
  /**
18498
19199
  * AnalyticsApi - axios parameter creator
@@ -18906,6 +19607,33 @@ export declare const AnalyticsApiAxiosParamCreator: (configuration?: Configurati
18906
19607
  * @throws {RequiredError}
18907
19608
  */
18908
19609
  adminAnalyticsStoreXStoreIDTagsSummaryGet: (xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19610
+ /**
19611
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
19612
+ * @summary Get API Usage Logs
19613
+ * @param {string} [startDate] Start date (ISO 8601 format)
19614
+ * @param {string} [endDate] End date (ISO 8601 format)
19615
+ * @param {string} [method] HTTP method filter
19616
+ * @param {string} [path] Path filter (partial match)
19617
+ * @param {string} [storeId] Store ID filter
19618
+ * @param {number} [page] Page number (default: 1)
19619
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
19620
+ * @param {*} [options] Override http request option.
19621
+ * @throws {RequiredError}
19622
+ */
19623
+ analyticsApiUsageGet: (startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
19624
+ /**
19625
+ * Retrieve API usage logs for a specific store from ClickHouse
19626
+ * @summary Get Store API Usage Logs
19627
+ * @param {string} storeId Store ID
19628
+ * @param {string} [startDate] Start date (ISO 8601 format)
19629
+ * @param {string} [endDate] End date (ISO 8601 format)
19630
+ * @param {string} [method] HTTP method filter
19631
+ * @param {number} [page] Page number (default: 1)
19632
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
19633
+ * @param {*} [options] Override http request option.
19634
+ * @throws {RequiredError}
19635
+ */
19636
+ analyticsApiUsageStoreStoreIdGet: (storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18909
19637
  };
18910
19638
  /**
18911
19639
  * AnalyticsApi - functional programming interface
@@ -19319,6 +20047,33 @@ export declare const AnalyticsApiFp: (configuration?: Configuration) => {
19319
20047
  * @throws {RequiredError}
19320
20048
  */
19321
20049
  adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>>;
20050
+ /**
20051
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
20052
+ * @summary Get API Usage Logs
20053
+ * @param {string} [startDate] Start date (ISO 8601 format)
20054
+ * @param {string} [endDate] End date (ISO 8601 format)
20055
+ * @param {string} [method] HTTP method filter
20056
+ * @param {string} [path] Path filter (partial match)
20057
+ * @param {string} [storeId] Store ID filter
20058
+ * @param {number} [page] Page number (default: 1)
20059
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20060
+ * @param {*} [options] Override http request option.
20061
+ * @throws {RequiredError}
20062
+ */
20063
+ analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAPIUsageResponse>>;
20064
+ /**
20065
+ * Retrieve API usage logs for a specific store from ClickHouse
20066
+ * @summary Get Store API Usage Logs
20067
+ * @param {string} storeId Store ID
20068
+ * @param {string} [startDate] Start date (ISO 8601 format)
20069
+ * @param {string} [endDate] End date (ISO 8601 format)
20070
+ * @param {string} [method] HTTP method filter
20071
+ * @param {number} [page] Page number (default: 1)
20072
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20073
+ * @param {*} [options] Override http request option.
20074
+ * @throws {RequiredError}
20075
+ */
20076
+ analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAPIUsageResponse>>;
19322
20077
  };
19323
20078
  /**
19324
20079
  * AnalyticsApi - factory interface
@@ -19732,6 +20487,33 @@ export declare const AnalyticsApiFactory: (configuration?: Configuration, basePa
19732
20487
  * @throws {RequiredError}
19733
20488
  */
19734
20489
  adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse>;
20490
+ /**
20491
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
20492
+ * @summary Get API Usage Logs
20493
+ * @param {string} [startDate] Start date (ISO 8601 format)
20494
+ * @param {string} [endDate] End date (ISO 8601 format)
20495
+ * @param {string} [method] HTTP method filter
20496
+ * @param {string} [path] Path filter (partial match)
20497
+ * @param {string} [storeId] Store ID filter
20498
+ * @param {number} [page] Page number (default: 1)
20499
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20500
+ * @param {*} [options] Override http request option.
20501
+ * @throws {RequiredError}
20502
+ */
20503
+ analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAPIUsageResponse>;
20504
+ /**
20505
+ * Retrieve API usage logs for a specific store from ClickHouse
20506
+ * @summary Get Store API Usage Logs
20507
+ * @param {string} storeId Store ID
20508
+ * @param {string} [startDate] Start date (ISO 8601 format)
20509
+ * @param {string} [endDate] End date (ISO 8601 format)
20510
+ * @param {string} [method] HTTP method filter
20511
+ * @param {number} [page] Page number (default: 1)
20512
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20513
+ * @param {*} [options] Override http request option.
20514
+ * @throws {RequiredError}
20515
+ */
20516
+ analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAPIUsageResponse>;
19735
20517
  };
19736
20518
  /**
19737
20519
  * AnalyticsApi - object-oriented interface
@@ -20165,6 +20947,35 @@ export declare class AnalyticsApi extends BaseAPI {
20165
20947
  * @memberof AnalyticsApi
20166
20948
  */
20167
20949
  adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAnalyticsAPIResponse, any, {}>>;
20950
+ /**
20951
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
20952
+ * @summary Get API Usage Logs
20953
+ * @param {string} [startDate] Start date (ISO 8601 format)
20954
+ * @param {string} [endDate] End date (ISO 8601 format)
20955
+ * @param {string} [method] HTTP method filter
20956
+ * @param {string} [path] Path filter (partial match)
20957
+ * @param {string} [storeId] Store ID filter
20958
+ * @param {number} [page] Page number (default: 1)
20959
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20960
+ * @param {*} [options] Override http request option.
20961
+ * @throws {RequiredError}
20962
+ * @memberof AnalyticsApi
20963
+ */
20964
+ analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAPIUsageResponse, any, {}>>;
20965
+ /**
20966
+ * Retrieve API usage logs for a specific store from ClickHouse
20967
+ * @summary Get Store API Usage Logs
20968
+ * @param {string} storeId Store ID
20969
+ * @param {string} [startDate] Start date (ISO 8601 format)
20970
+ * @param {string} [endDate] End date (ISO 8601 format)
20971
+ * @param {string} [method] HTTP method filter
20972
+ * @param {number} [page] Page number (default: 1)
20973
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
20974
+ * @param {*} [options] Override http request option.
20975
+ * @throws {RequiredError}
20976
+ * @memberof AnalyticsApi
20977
+ */
20978
+ analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAPIUsageResponse, any, {}>>;
20168
20979
  }
20169
20980
  /**
20170
20981
  * @export
@@ -21944,6 +22755,14 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
21944
22755
  * @throws {RequiredError}
21945
22756
  */
21946
22757
  adminBillingInvoicesAutoGeneratePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22758
+ /**
22759
+ * Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
22760
+ * @summary Generate invoices for an order
22761
+ * @param {number} orderId Order ID
22762
+ * @param {*} [options] Override http request option.
22763
+ * @throws {RequiredError}
22764
+ */
22765
+ adminBillingInvoicesGenerateForOrderOrderIdPost: (orderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21947
22766
  /**
21948
22767
  * Generates an invoice automatically from a completed payment
21949
22768
  * @summary Generate invoice from payment
@@ -21953,10 +22772,10 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
21953
22772
  */
21954
22773
  adminBillingInvoicesGeneratePaymentIdPost: (paymentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21955
22774
  /**
21956
- * Retrieves invoices with filtering options
22775
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
21957
22776
  * @summary Get invoices
21958
- * @param {number} [orgId] Organization ID
21959
- * @param {string} [status] Invoice status
22777
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
22778
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
21960
22779
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
21961
22780
  * @param {string} [endDate] End date (YYYY-MM-DD format)
21962
22781
  * @param {number} [page] Page number (default: 1)
@@ -21998,6 +22817,15 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
21998
22817
  * @throws {RequiredError}
21999
22818
  */
22000
22819
  adminBillingInvoicesIdPut: (id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22820
+ /**
22821
+ * Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
22822
+ * @summary Pay a pending invoice
22823
+ * @param {string} invoiceId Invoice ID
22824
+ * @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
22825
+ * @param {*} [options] Override http request option.
22826
+ * @throws {RequiredError}
22827
+ */
22828
+ adminBillingInvoicesInvoiceIdPayPost: (invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22001
22829
  /**
22002
22830
  * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
22003
22831
  * @summary Get orders
@@ -22010,6 +22838,14 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
22010
22838
  * @throws {RequiredError}
22011
22839
  */
22012
22840
  adminBillingOrdersGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22841
+ /**
22842
+ * Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
22843
+ * @summary Get single order with transactions and invoices
22844
+ * @param {number} id Order ID
22845
+ * @param {*} [options] Override http request option.
22846
+ * @throws {RequiredError}
22847
+ */
22848
+ adminBillingOrdersIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22013
22849
  /**
22014
22850
  * Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
22015
22851
  * @summary Get org admin billing overview
@@ -22177,6 +23013,14 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
22177
23013
  * @throws {RequiredError}
22178
23014
  */
22179
23015
  adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
23016
+ /**
23017
+ * Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
23018
+ * @summary Generate invoices for an order
23019
+ * @param {number} orderId Order ID
23020
+ * @param {*} [options] Override http request option.
23021
+ * @throws {RequiredError}
23022
+ */
23023
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>>;
22180
23024
  /**
22181
23025
  * Generates an invoice automatically from a completed payment
22182
23026
  * @summary Generate invoice from payment
@@ -22186,10 +23030,10 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
22186
23030
  */
22187
23031
  adminBillingInvoicesGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
22188
23032
  /**
22189
- * Retrieves invoices with filtering options
23033
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
22190
23034
  * @summary Get invoices
22191
- * @param {number} [orgId] Organization ID
22192
- * @param {string} [status] Invoice status
23035
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
23036
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
22193
23037
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
22194
23038
  * @param {string} [endDate] End date (YYYY-MM-DD format)
22195
23039
  * @param {number} [page] Page number (default: 1)
@@ -22231,6 +23075,15 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
22231
23075
  * @throws {RequiredError}
22232
23076
  */
22233
23077
  adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
23078
+ /**
23079
+ * Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
23080
+ * @summary Pay a pending invoice
23081
+ * @param {string} invoiceId Invoice ID
23082
+ * @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
23083
+ * @param {*} [options] Override http request option.
23084
+ * @throws {RequiredError}
23085
+ */
23086
+ adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>>;
22234
23087
  /**
22235
23088
  * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
22236
23089
  * @summary Get orders
@@ -22243,6 +23096,14 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
22243
23096
  * @throws {RequiredError}
22244
23097
  */
22245
23098
  adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
23099
+ /**
23100
+ * Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
23101
+ * @summary Get single order with transactions and invoices
23102
+ * @param {number} id Order ID
23103
+ * @param {*} [options] Override http request option.
23104
+ * @throws {RequiredError}
23105
+ */
23106
+ adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse>>;
22246
23107
  /**
22247
23108
  * Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
22248
23109
  * @summary Get org admin billing overview
@@ -22410,6 +23271,14 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
22410
23271
  * @throws {RequiredError}
22411
23272
  */
22412
23273
  adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): AxiosPromise<object>;
23274
+ /**
23275
+ * Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
23276
+ * @summary Generate invoices for an order
23277
+ * @param {number} orderId Order ID
23278
+ * @param {*} [options] Override http request option.
23279
+ * @throws {RequiredError}
23280
+ */
23281
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>;
22413
23282
  /**
22414
23283
  * Generates an invoice automatically from a completed payment
22415
23284
  * @summary Generate invoice from payment
@@ -22419,10 +23288,10 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
22419
23288
  */
22420
23289
  adminBillingInvoicesGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
22421
23290
  /**
22422
- * Retrieves invoices with filtering options
23291
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
22423
23292
  * @summary Get invoices
22424
- * @param {number} [orgId] Organization ID
22425
- * @param {string} [status] Invoice status
23293
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
23294
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
22426
23295
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
22427
23296
  * @param {string} [endDate] End date (YYYY-MM-DD format)
22428
23297
  * @param {number} [page] Page number (default: 1)
@@ -22464,6 +23333,15 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
22464
23333
  * @throws {RequiredError}
22465
23334
  */
22466
23335
  adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
23336
+ /**
23337
+ * Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
23338
+ * @summary Pay a pending invoice
23339
+ * @param {string} invoiceId Invoice ID
23340
+ * @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
23341
+ * @param {*} [options] Override http request option.
23342
+ * @throws {RequiredError}
23343
+ */
23344
+ adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>;
22467
23345
  /**
22468
23346
  * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
22469
23347
  * @summary Get orders
@@ -22476,6 +23354,14 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
22476
23354
  * @throws {RequiredError}
22477
23355
  */
22478
23356
  adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
23357
+ /**
23358
+ * Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
23359
+ * @summary Get single order with transactions and invoices
23360
+ * @param {number} id Order ID
23361
+ * @param {*} [options] Override http request option.
23362
+ * @throws {RequiredError}
23363
+ */
23364
+ adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse>;
22479
23365
  /**
22480
23366
  * Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
22481
23367
  * @summary Get org admin billing overview
@@ -22654,6 +23540,15 @@ export declare class BillingDashboardApi extends BaseAPI {
22654
23540
  * @memberof BillingDashboardApi
22655
23541
  */
22656
23542
  adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
23543
+ /**
23544
+ * Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
23545
+ * @summary Generate invoices for an order
23546
+ * @param {number} orderId Order ID
23547
+ * @param {*} [options] Override http request option.
23548
+ * @throws {RequiredError}
23549
+ * @memberof BillingDashboardApi
23550
+ */
23551
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayDataTypesInvoice, any, {}>>;
22657
23552
  /**
22658
23553
  * Generates an invoice automatically from a completed payment
22659
23554
  * @summary Generate invoice from payment
@@ -22664,10 +23559,10 @@ export declare class BillingDashboardApi extends BaseAPI {
22664
23559
  */
22665
23560
  adminBillingInvoicesGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
22666
23561
  /**
22667
- * Retrieves invoices with filtering options
23562
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
22668
23563
  * @summary Get invoices
22669
- * @param {number} [orgId] Organization ID
22670
- * @param {string} [status] Invoice status
23564
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
23565
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
22671
23566
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
22672
23567
  * @param {string} [endDate] End date (YYYY-MM-DD format)
22673
23568
  * @param {number} [page] Page number (default: 1)
@@ -22714,6 +23609,16 @@ export declare class BillingDashboardApi extends BaseAPI {
22714
23609
  * @memberof BillingDashboardApi
22715
23610
  */
22716
23611
  adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
23612
+ /**
23613
+ * Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
23614
+ * @summary Pay a pending invoice
23615
+ * @param {string} invoiceId Invoice ID
23616
+ * @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
23617
+ * @param {*} [options] Override http request option.
23618
+ * @throws {RequiredError}
23619
+ * @memberof BillingDashboardApi
23620
+ */
23621
+ adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesPayInvoiceResponse, any, {}>>;
22717
23622
  /**
22718
23623
  * Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
22719
23624
  * @summary Get orders
@@ -22727,6 +23632,15 @@ export declare class BillingDashboardApi extends BaseAPI {
22727
23632
  * @memberof BillingDashboardApi
22728
23633
  */
22729
23634
  adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
23635
+ /**
23636
+ * Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
23637
+ * @summary Get single order with transactions and invoices
23638
+ * @param {number} id Order ID
23639
+ * @param {*} [options] Override http request option.
23640
+ * @throws {RequiredError}
23641
+ * @memberof BillingDashboardApi
23642
+ */
23643
+ adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse, any, {}>>;
22730
23644
  /**
22731
23645
  * Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
22732
23646
  * @summary Get org admin billing overview
@@ -32052,6 +32966,29 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
32052
32966
  * @throws {RequiredError}
32053
32967
  */
32054
32968
  adminStoresUpdateStatusIdStatusPut: (id: number, status: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32969
+ /**
32970
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
32971
+ * @summary Get Specific API Usage Event
32972
+ * @param {string} xStoreID Store ID
32973
+ * @param {string} eventID Event ID (UUID)
32974
+ * @param {*} [options] Override http request option.
32975
+ * @throws {RequiredError}
32976
+ */
32977
+ adminStoresXStoreIDApiUsageEventIDGet: (xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32978
+ /**
32979
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
32980
+ * @summary Get API Usage Logs for Store
32981
+ * @param {string} xStoreID Store ID
32982
+ * @param {string} [startDate] Start date (ISO 8601 format)
32983
+ * @param {string} [endDate] End date (ISO 8601 format)
32984
+ * @param {string} [method] HTTP method filter
32985
+ * @param {string} [path] Path filter (partial match)
32986
+ * @param {number} [page] Page number (default: 1)
32987
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
32988
+ * @param {*} [options] Override http request option.
32989
+ * @throws {RequiredError}
32990
+ */
32991
+ adminStoresXStoreIDApiUsageGet: (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32055
32992
  /**
32056
32993
  * Retrieves the store configuration using x-store ID
32057
32994
  * @summary Get Store Config
@@ -32102,16 +33039,16 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
32102
33039
  */
32103
33040
  adminStoresXStoreIDSchemaOptionsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32104
33041
  /**
32105
- * Perform search on a specific store by xStoreID
33042
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
32106
33043
  * @summary Get store search results
32107
33044
  * @param {string} xStoreID X-Store ID
32108
- * @param {string} query Search query
33045
+ * @param {string} [query] Search query (empty returns all results)
32109
33046
  * @param {number} [page] Page number
32110
33047
  * @param {number} [pageSize] Page size
32111
33048
  * @param {*} [options] Override http request option.
32112
33049
  * @throws {RequiredError}
32113
33050
  */
32114
- adminStoresXStoreIDSearchGet: (xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33051
+ adminStoresXStoreIDSearchGet: (xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32115
33052
  /**
32116
33053
  * Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
32117
33054
  * @summary Update store step configuration
@@ -32177,6 +33114,29 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
32177
33114
  * @throws {RequiredError}
32178
33115
  */
32179
33116
  adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
33117
+ /**
33118
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
33119
+ * @summary Get Specific API Usage Event
33120
+ * @param {string} xStoreID Store ID
33121
+ * @param {string} eventID Event ID (UUID)
33122
+ * @param {*} [options] Override http request option.
33123
+ * @throws {RequiredError}
33124
+ */
33125
+ adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>>;
33126
+ /**
33127
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
33128
+ * @summary Get API Usage Logs for Store
33129
+ * @param {string} xStoreID Store ID
33130
+ * @param {string} [startDate] Start date (ISO 8601 format)
33131
+ * @param {string} [endDate] End date (ISO 8601 format)
33132
+ * @param {string} [method] HTTP method filter
33133
+ * @param {string} [path] Path filter (partial match)
33134
+ * @param {number} [page] Page number (default: 1)
33135
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
33136
+ * @param {*} [options] Override http request option.
33137
+ * @throws {RequiredError}
33138
+ */
33139
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>>;
32180
33140
  /**
32181
33141
  * Retrieves the store configuration using x-store ID
32182
33142
  * @summary Get Store Config
@@ -32227,16 +33187,16 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
32227
33187
  */
32228
33188
  adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSchemaOptionsResponseWrapper>>;
32229
33189
  /**
32230
- * Perform search on a specific store by xStoreID
33190
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
32231
33191
  * @summary Get store search results
32232
33192
  * @param {string} xStoreID X-Store ID
32233
- * @param {string} query Search query
33193
+ * @param {string} [query] Search query (empty returns all results)
32234
33194
  * @param {number} [page] Page number
32235
33195
  * @param {number} [pageSize] Page size
32236
33196
  * @param {*} [options] Override http request option.
32237
33197
  * @throws {RequiredError}
32238
33198
  */
32239
- adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>>;
33199
+ adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>>;
32240
33200
  /**
32241
33201
  * Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
32242
33202
  * @summary Update store step configuration
@@ -32302,6 +33262,29 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
32302
33262
  * @throws {RequiredError}
32303
33263
  */
32304
33264
  adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
33265
+ /**
33266
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
33267
+ * @summary Get Specific API Usage Event
33268
+ * @param {string} xStoreID Store ID
33269
+ * @param {string} eventID Event ID (UUID)
33270
+ * @param {*} [options] Override http request option.
33271
+ * @throws {RequiredError}
33272
+ */
33273
+ adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse>;
33274
+ /**
33275
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
33276
+ * @summary Get API Usage Logs for Store
33277
+ * @param {string} xStoreID Store ID
33278
+ * @param {string} [startDate] Start date (ISO 8601 format)
33279
+ * @param {string} [endDate] End date (ISO 8601 format)
33280
+ * @param {string} [method] HTTP method filter
33281
+ * @param {string} [path] Path filter (partial match)
33282
+ * @param {number} [page] Page number (default: 1)
33283
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
33284
+ * @param {*} [options] Override http request option.
33285
+ * @throws {RequiredError}
33286
+ */
33287
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse>;
32305
33288
  /**
32306
33289
  * Retrieves the store configuration using x-store ID
32307
33290
  * @summary Get Store Config
@@ -32352,16 +33335,16 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
32352
33335
  */
32353
33336
  adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSchemaOptionsResponseWrapper>;
32354
33337
  /**
32355
- * Perform search on a specific store by xStoreID
33338
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
32356
33339
  * @summary Get store search results
32357
33340
  * @param {string} xStoreID X-Store ID
32358
- * @param {string} query Search query
33341
+ * @param {string} [query] Search query (empty returns all results)
32359
33342
  * @param {number} [page] Page number
32360
33343
  * @param {number} [pageSize] Page size
32361
33344
  * @param {*} [options] Override http request option.
32362
33345
  * @throws {RequiredError}
32363
33346
  */
32364
- adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>;
33347
+ adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>;
32365
33348
  /**
32366
33349
  * Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
32367
33350
  * @summary Update store step configuration
@@ -32434,6 +33417,31 @@ export declare class StoresApi extends BaseAPI {
32434
33417
  * @memberof StoresApi
32435
33418
  */
32436
33419
  adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
33420
+ /**
33421
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
33422
+ * @summary Get Specific API Usage Event
33423
+ * @param {string} xStoreID Store ID
33424
+ * @param {string} eventID Event ID (UUID)
33425
+ * @param {*} [options] Override http request option.
33426
+ * @throws {RequiredError}
33427
+ * @memberof StoresApi
33428
+ */
33429
+ adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageDetailResponse, any, {}>>;
33430
+ /**
33431
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
33432
+ * @summary Get API Usage Logs for Store
33433
+ * @param {string} xStoreID Store ID
33434
+ * @param {string} [startDate] Start date (ISO 8601 format)
33435
+ * @param {string} [endDate] End date (ISO 8601 format)
33436
+ * @param {string} [method] HTTP method filter
33437
+ * @param {string} [path] Path filter (partial match)
33438
+ * @param {number} [page] Page number (default: 1)
33439
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
33440
+ * @param {*} [options] Override http request option.
33441
+ * @throws {RequiredError}
33442
+ * @memberof StoresApi
33443
+ */
33444
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageListResponse, any, {}>>;
32437
33445
  /**
32438
33446
  * Retrieves the store configuration using x-store ID
32439
33447
  * @summary Get Store Config
@@ -32490,17 +33498,17 @@ export declare class StoresApi extends BaseAPI {
32490
33498
  */
32491
33499
  adminStoresXStoreIDSchemaOptionsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesSchemaOptionsResponseWrapper, any, {}>>;
32492
33500
  /**
32493
- * Perform search on a specific store by xStoreID
33501
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
32494
33502
  * @summary Get store search results
32495
33503
  * @param {string} xStoreID X-Store ID
32496
- * @param {string} query Search query
33504
+ * @param {string} [query] Search query (empty returns all results)
32497
33505
  * @param {number} [page] Page number
32498
33506
  * @param {number} [pageSize] Page size
32499
33507
  * @param {*} [options] Override http request option.
32500
33508
  * @throws {RequiredError}
32501
33509
  * @memberof StoresApi
32502
33510
  */
32503
- adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOnboardingTestSearchResponseWrapper, any, {}>>;
33511
+ adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOnboardingTestSearchResponseWrapper, any, {}>>;
32504
33512
  /**
32505
33513
  * Update store configuration for specific steps (displayAttributes, searchableAttributes, relevancyOrder)
32506
33514
  * @summary Update store step configuration