@seekora-ai/admin-api 1.0.76 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -2
- package/api.ts +1457 -117
- package/dist/api.d.ts +1045 -32
- package/dist/api.js +608 -28
- package/dist/esm/api.d.ts +1045 -32
- package/dist/esm/api.js +603 -23
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.78.tgz +0 -0
- package/seekora-ai-admin-api-1.0.76.tgz +0 -0
package/api.ts
CHANGED
|
@@ -8330,6 +8330,181 @@ export interface DataTypesAutocompleteSuggestion {
|
|
|
8330
8330
|
*/
|
|
8331
8331
|
'text'?: string;
|
|
8332
8332
|
}
|
|
8333
|
+
/**
|
|
8334
|
+
*
|
|
8335
|
+
* @export
|
|
8336
|
+
* @interface DataTypesBillingAlert
|
|
8337
|
+
*/
|
|
8338
|
+
export interface DataTypesBillingAlert {
|
|
8339
|
+
/**
|
|
8340
|
+
*
|
|
8341
|
+
* @type {number}
|
|
8342
|
+
* @memberof DataTypesBillingAlert
|
|
8343
|
+
*/
|
|
8344
|
+
'alert_id'?: number;
|
|
8345
|
+
/**
|
|
8346
|
+
*
|
|
8347
|
+
* @type {string}
|
|
8348
|
+
* @memberof DataTypesBillingAlert
|
|
8349
|
+
*/
|
|
8350
|
+
'alert_type'?: string;
|
|
8351
|
+
/**
|
|
8352
|
+
*
|
|
8353
|
+
* @type {string}
|
|
8354
|
+
* @memberof DataTypesBillingAlert
|
|
8355
|
+
*/
|
|
8356
|
+
'created_at'?: string;
|
|
8357
|
+
/**
|
|
8358
|
+
*
|
|
8359
|
+
* @type {number}
|
|
8360
|
+
* @memberof DataTypesBillingAlert
|
|
8361
|
+
*/
|
|
8362
|
+
'created_by'?: number;
|
|
8363
|
+
/**
|
|
8364
|
+
*
|
|
8365
|
+
* @type {boolean}
|
|
8366
|
+
* @memberof DataTypesBillingAlert
|
|
8367
|
+
*/
|
|
8368
|
+
'is_enabled'?: boolean;
|
|
8369
|
+
/**
|
|
8370
|
+
*
|
|
8371
|
+
* @type {string}
|
|
8372
|
+
* @memberof DataTypesBillingAlert
|
|
8373
|
+
*/
|
|
8374
|
+
'last_triggered'?: string;
|
|
8375
|
+
/**
|
|
8376
|
+
*
|
|
8377
|
+
* @type {Array<string>}
|
|
8378
|
+
* @memberof DataTypesBillingAlert
|
|
8379
|
+
*/
|
|
8380
|
+
'notification_channels'?: Array<string>;
|
|
8381
|
+
/**
|
|
8382
|
+
*
|
|
8383
|
+
* @type {number}
|
|
8384
|
+
* @memberof DataTypesBillingAlert
|
|
8385
|
+
*/
|
|
8386
|
+
'org_id'?: number;
|
|
8387
|
+
/**
|
|
8388
|
+
* \"credits\", \"days\", \"percentage\"
|
|
8389
|
+
* @type {string}
|
|
8390
|
+
* @memberof DataTypesBillingAlert
|
|
8391
|
+
*/
|
|
8392
|
+
'threshold_unit'?: string;
|
|
8393
|
+
/**
|
|
8394
|
+
*
|
|
8395
|
+
* @type {number}
|
|
8396
|
+
* @memberof DataTypesBillingAlert
|
|
8397
|
+
*/
|
|
8398
|
+
'threshold_value'?: number;
|
|
8399
|
+
/**
|
|
8400
|
+
*
|
|
8401
|
+
* @type {string}
|
|
8402
|
+
* @memberof DataTypesBillingAlert
|
|
8403
|
+
*/
|
|
8404
|
+
'updated_at'?: string;
|
|
8405
|
+
}
|
|
8406
|
+
/**
|
|
8407
|
+
*
|
|
8408
|
+
* @export
|
|
8409
|
+
* @interface DataTypesBillingAlertRequest
|
|
8410
|
+
*/
|
|
8411
|
+
export interface DataTypesBillingAlertRequest {
|
|
8412
|
+
/**
|
|
8413
|
+
*
|
|
8414
|
+
* @type {string}
|
|
8415
|
+
* @memberof DataTypesBillingAlertRequest
|
|
8416
|
+
*/
|
|
8417
|
+
'alert_type': DataTypesBillingAlertRequestAlertTypeEnum;
|
|
8418
|
+
/**
|
|
8419
|
+
*
|
|
8420
|
+
* @type {boolean}
|
|
8421
|
+
* @memberof DataTypesBillingAlertRequest
|
|
8422
|
+
*/
|
|
8423
|
+
'is_enabled'?: boolean;
|
|
8424
|
+
/**
|
|
8425
|
+
* \"email\", \"webhook\", \"in_app\"
|
|
8426
|
+
* @type {Array<string>}
|
|
8427
|
+
* @memberof DataTypesBillingAlertRequest
|
|
8428
|
+
*/
|
|
8429
|
+
'notification_channels': Array<string>;
|
|
8430
|
+
/**
|
|
8431
|
+
*
|
|
8432
|
+
* @type {number}
|
|
8433
|
+
* @memberof DataTypesBillingAlertRequest
|
|
8434
|
+
*/
|
|
8435
|
+
'threshold_value': number;
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
export const DataTypesBillingAlertRequestAlertTypeEnum = {
|
|
8439
|
+
LowBalance: 'low_balance',
|
|
8440
|
+
ExpiringCredits: 'expiring_credits',
|
|
8441
|
+
DaysRemaining: 'days_remaining'
|
|
8442
|
+
} as const;
|
|
8443
|
+
|
|
8444
|
+
export type DataTypesBillingAlertRequestAlertTypeEnum = typeof DataTypesBillingAlertRequestAlertTypeEnum[keyof typeof DataTypesBillingAlertRequestAlertTypeEnum];
|
|
8445
|
+
|
|
8446
|
+
/**
|
|
8447
|
+
*
|
|
8448
|
+
* @export
|
|
8449
|
+
* @interface DataTypesBillingAlertsResponse
|
|
8450
|
+
*/
|
|
8451
|
+
export interface DataTypesBillingAlertsResponse {
|
|
8452
|
+
/**
|
|
8453
|
+
*
|
|
8454
|
+
* @type {Array<DataTypesBillingAlert>}
|
|
8455
|
+
* @memberof DataTypesBillingAlertsResponse
|
|
8456
|
+
*/
|
|
8457
|
+
'alerts'?: Array<DataTypesBillingAlert>;
|
|
8458
|
+
/**
|
|
8459
|
+
*
|
|
8460
|
+
* @type {number}
|
|
8461
|
+
* @memberof DataTypesBillingAlertsResponse
|
|
8462
|
+
*/
|
|
8463
|
+
'total'?: number;
|
|
8464
|
+
}
|
|
8465
|
+
/**
|
|
8466
|
+
*
|
|
8467
|
+
* @export
|
|
8468
|
+
* @interface DataTypesBillingOverviewResponse
|
|
8469
|
+
*/
|
|
8470
|
+
export interface DataTypesBillingOverviewResponse {
|
|
8471
|
+
/**
|
|
8472
|
+
* Credit Balance Information
|
|
8473
|
+
* @type {DataTypesCreditBalanceInfo}
|
|
8474
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8475
|
+
*/
|
|
8476
|
+
'credit_balance'?: DataTypesCreditBalanceInfo;
|
|
8477
|
+
/**
|
|
8478
|
+
*
|
|
8479
|
+
* @type {string}
|
|
8480
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8481
|
+
*/
|
|
8482
|
+
'currency'?: string;
|
|
8483
|
+
/**
|
|
8484
|
+
* Current Plan Information
|
|
8485
|
+
* @type {DataTypesCurrentPlanInfo}
|
|
8486
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8487
|
+
*/
|
|
8488
|
+
'current_plan'?: DataTypesCurrentPlanInfo;
|
|
8489
|
+
/**
|
|
8490
|
+
*
|
|
8491
|
+
* @type {DataTypesNextChargeInfo}
|
|
8492
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8493
|
+
*/
|
|
8494
|
+
'next_charge'?: DataTypesNextChargeInfo;
|
|
8495
|
+
/**
|
|
8496
|
+
* Projected Usage
|
|
8497
|
+
* @type {DataTypesProjectedRunoutInfo}
|
|
8498
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8499
|
+
*/
|
|
8500
|
+
'projected_runout'?: DataTypesProjectedRunoutInfo;
|
|
8501
|
+
/**
|
|
8502
|
+
* Summary Stats
|
|
8503
|
+
* @type {number}
|
|
8504
|
+
* @memberof DataTypesBillingOverviewResponse
|
|
8505
|
+
*/
|
|
8506
|
+
'total_spent'?: number;
|
|
8507
|
+
}
|
|
8333
8508
|
/**
|
|
8334
8509
|
*
|
|
8335
8510
|
* @export
|
|
@@ -9004,6 +9179,12 @@ export interface DataTypesCreatePaymentOrderRequest {
|
|
|
9004
9179
|
* @memberof DataTypesCreatePaymentOrderRequest
|
|
9005
9180
|
*/
|
|
9006
9181
|
'currency': string;
|
|
9182
|
+
/**
|
|
9183
|
+
* Existing Razorpay customer ID
|
|
9184
|
+
* @type {string}
|
|
9185
|
+
* @memberof DataTypesCreatePaymentOrderRequest
|
|
9186
|
+
*/
|
|
9187
|
+
'customer_id'?: string;
|
|
9007
9188
|
/**
|
|
9008
9189
|
*
|
|
9009
9190
|
* @type {DataTypesCustomerInfoDto}
|
|
@@ -9064,6 +9245,12 @@ export interface DataTypesCreatePaymentOrderRequest {
|
|
|
9064
9245
|
* @memberof DataTypesCreatePaymentOrderRequest
|
|
9065
9246
|
*/
|
|
9066
9247
|
'return_url'?: string;
|
|
9248
|
+
/**
|
|
9249
|
+
* Fields for card tokenization
|
|
9250
|
+
* @type {boolean}
|
|
9251
|
+
* @memberof DataTypesCreatePaymentOrderRequest
|
|
9252
|
+
*/
|
|
9253
|
+
'save_card'?: boolean;
|
|
9067
9254
|
/**
|
|
9068
9255
|
* Required for generic payments
|
|
9069
9256
|
* @type {number}
|
|
@@ -9104,6 +9291,12 @@ export interface DataTypesCreatePaymentOrderResponse {
|
|
|
9104
9291
|
* @memberof DataTypesCreatePaymentOrderResponse
|
|
9105
9292
|
*/
|
|
9106
9293
|
'currency'?: string;
|
|
9294
|
+
/**
|
|
9295
|
+
* Razorpay customer ID for tokenization
|
|
9296
|
+
* @type {string}
|
|
9297
|
+
* @memberof DataTypesCreatePaymentOrderResponse
|
|
9298
|
+
*/
|
|
9299
|
+
'customer_id'?: string;
|
|
9107
9300
|
/**
|
|
9108
9301
|
* Customer prefill data for frontend
|
|
9109
9302
|
* @type {{ [key: string]: any; }}
|
|
@@ -9999,6 +10192,31 @@ export interface DataTypesCreditBalance {
|
|
|
9999
10192
|
*/
|
|
10000
10193
|
'store_id'?: number;
|
|
10001
10194
|
}
|
|
10195
|
+
/**
|
|
10196
|
+
*
|
|
10197
|
+
* @export
|
|
10198
|
+
* @interface DataTypesCreditBalanceInfo
|
|
10199
|
+
*/
|
|
10200
|
+
export interface DataTypesCreditBalanceInfo {
|
|
10201
|
+
/**
|
|
10202
|
+
*
|
|
10203
|
+
* @type {string}
|
|
10204
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
10205
|
+
*/
|
|
10206
|
+
'earliest_expiry'?: string;
|
|
10207
|
+
/**
|
|
10208
|
+
*
|
|
10209
|
+
* @type {Array<DataTypesExpiringCreditBatch>}
|
|
10210
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
10211
|
+
*/
|
|
10212
|
+
'expiring_credits'?: Array<DataTypesExpiringCreditBatch>;
|
|
10213
|
+
/**
|
|
10214
|
+
*
|
|
10215
|
+
* @type {number}
|
|
10216
|
+
* @memberof DataTypesCreditBalanceInfo
|
|
10217
|
+
*/
|
|
10218
|
+
'total_credits'?: number;
|
|
10219
|
+
}
|
|
10002
10220
|
/**
|
|
10003
10221
|
*
|
|
10004
10222
|
* @export
|
|
@@ -10351,6 +10569,61 @@ export const DataTypesCreditTransactionTransactionTypeEnum = {
|
|
|
10351
10569
|
|
|
10352
10570
|
export type DataTypesCreditTransactionTransactionTypeEnum = typeof DataTypesCreditTransactionTransactionTypeEnum[keyof typeof DataTypesCreditTransactionTransactionTypeEnum];
|
|
10353
10571
|
|
|
10572
|
+
/**
|
|
10573
|
+
*
|
|
10574
|
+
* @export
|
|
10575
|
+
* @interface DataTypesCurrentPlanInfo
|
|
10576
|
+
*/
|
|
10577
|
+
export interface DataTypesCurrentPlanInfo {
|
|
10578
|
+
/**
|
|
10579
|
+
*
|
|
10580
|
+
* @type {boolean}
|
|
10581
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10582
|
+
*/
|
|
10583
|
+
'auto_renewal'?: boolean;
|
|
10584
|
+
/**
|
|
10585
|
+
* \"monthly\", \"annual\", \"one-time\"
|
|
10586
|
+
* @type {string}
|
|
10587
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10588
|
+
*/
|
|
10589
|
+
'billing_cycle'?: string;
|
|
10590
|
+
/**
|
|
10591
|
+
*
|
|
10592
|
+
* @type {string}
|
|
10593
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10594
|
+
*/
|
|
10595
|
+
'end_date'?: string;
|
|
10596
|
+
/**
|
|
10597
|
+
*
|
|
10598
|
+
* @type {number}
|
|
10599
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10600
|
+
*/
|
|
10601
|
+
'plan_id'?: number;
|
|
10602
|
+
/**
|
|
10603
|
+
*
|
|
10604
|
+
* @type {string}
|
|
10605
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10606
|
+
*/
|
|
10607
|
+
'plan_name'?: string;
|
|
10608
|
+
/**
|
|
10609
|
+
* \"subscription\" or \"credit\"
|
|
10610
|
+
* @type {string}
|
|
10611
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10612
|
+
*/
|
|
10613
|
+
'plan_type'?: string;
|
|
10614
|
+
/**
|
|
10615
|
+
*
|
|
10616
|
+
* @type {string}
|
|
10617
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10618
|
+
*/
|
|
10619
|
+
'start_date'?: string;
|
|
10620
|
+
/**
|
|
10621
|
+
* \"active\", \"cancelled\", \"expired\"
|
|
10622
|
+
* @type {string}
|
|
10623
|
+
* @memberof DataTypesCurrentPlanInfo
|
|
10624
|
+
*/
|
|
10625
|
+
'status'?: string;
|
|
10626
|
+
}
|
|
10354
10627
|
/**
|
|
10355
10628
|
*
|
|
10356
10629
|
* @export
|
|
@@ -11139,6 +11412,49 @@ export interface DataTypesExpirationWarningDto {
|
|
|
11139
11412
|
*/
|
|
11140
11413
|
'recommended_action'?: string;
|
|
11141
11414
|
}
|
|
11415
|
+
/**
|
|
11416
|
+
*
|
|
11417
|
+
* @export
|
|
11418
|
+
* @interface DataTypesExpiringCreditBatch
|
|
11419
|
+
*/
|
|
11420
|
+
export interface DataTypesExpiringCreditBatch {
|
|
11421
|
+
/**
|
|
11422
|
+
*
|
|
11423
|
+
* @type {string}
|
|
11424
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11425
|
+
*/
|
|
11426
|
+
'credit_type'?: string;
|
|
11427
|
+
/**
|
|
11428
|
+
*
|
|
11429
|
+
* @type {number}
|
|
11430
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11431
|
+
*/
|
|
11432
|
+
'credits'?: number;
|
|
11433
|
+
/**
|
|
11434
|
+
*
|
|
11435
|
+
* @type {number}
|
|
11436
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11437
|
+
*/
|
|
11438
|
+
'days_until_expiry'?: number;
|
|
11439
|
+
/**
|
|
11440
|
+
*
|
|
11441
|
+
* @type {string}
|
|
11442
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11443
|
+
*/
|
|
11444
|
+
'expires_at'?: string;
|
|
11445
|
+
/**
|
|
11446
|
+
*
|
|
11447
|
+
* @type {number}
|
|
11448
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11449
|
+
*/
|
|
11450
|
+
'ledger_id'?: number;
|
|
11451
|
+
/**
|
|
11452
|
+
*
|
|
11453
|
+
* @type {string}
|
|
11454
|
+
* @memberof DataTypesExpiringCreditBatch
|
|
11455
|
+
*/
|
|
11456
|
+
'purchase_date'?: string;
|
|
11457
|
+
}
|
|
11142
11458
|
/**
|
|
11143
11459
|
*
|
|
11144
11460
|
* @export
|
|
@@ -11375,6 +11691,31 @@ export interface DataTypesGatewayListResponse {
|
|
|
11375
11691
|
*/
|
|
11376
11692
|
'gateways'?: Array<DataTypesGatewayInfo>;
|
|
11377
11693
|
}
|
|
11694
|
+
/**
|
|
11695
|
+
*
|
|
11696
|
+
* @export
|
|
11697
|
+
* @interface DataTypesGenericResponseAny
|
|
11698
|
+
*/
|
|
11699
|
+
export interface DataTypesGenericResponseAny {
|
|
11700
|
+
/**
|
|
11701
|
+
*
|
|
11702
|
+
* @type {any}
|
|
11703
|
+
* @memberof DataTypesGenericResponseAny
|
|
11704
|
+
*/
|
|
11705
|
+
'data'?: any;
|
|
11706
|
+
/**
|
|
11707
|
+
*
|
|
11708
|
+
* @type {string}
|
|
11709
|
+
* @memberof DataTypesGenericResponseAny
|
|
11710
|
+
*/
|
|
11711
|
+
'message'?: string;
|
|
11712
|
+
/**
|
|
11713
|
+
*
|
|
11714
|
+
* @type {number}
|
|
11715
|
+
* @memberof DataTypesGenericResponseAny
|
|
11716
|
+
*/
|
|
11717
|
+
'status'?: number;
|
|
11718
|
+
}
|
|
11378
11719
|
/**
|
|
11379
11720
|
*
|
|
11380
11721
|
* @export
|
|
@@ -11628,82 +11969,157 @@ export interface DataTypesGenericResponseBillingServiceBillingOverview {
|
|
|
11628
11969
|
/**
|
|
11629
11970
|
*
|
|
11630
11971
|
* @export
|
|
11631
|
-
* @interface
|
|
11972
|
+
* @interface DataTypesGenericResponseDataTypesBillingAlert
|
|
11632
11973
|
*/
|
|
11633
|
-
export interface
|
|
11974
|
+
export interface DataTypesGenericResponseDataTypesBillingAlert {
|
|
11634
11975
|
/**
|
|
11635
11976
|
*
|
|
11636
|
-
* @type {
|
|
11637
|
-
* @memberof
|
|
11977
|
+
* @type {DataTypesBillingAlert}
|
|
11978
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
11638
11979
|
*/
|
|
11639
|
-
'data'?:
|
|
11980
|
+
'data'?: DataTypesBillingAlert;
|
|
11640
11981
|
/**
|
|
11641
11982
|
*
|
|
11642
11983
|
* @type {string}
|
|
11643
|
-
* @memberof
|
|
11984
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
11644
11985
|
*/
|
|
11645
11986
|
'message'?: string;
|
|
11646
11987
|
/**
|
|
11647
11988
|
*
|
|
11648
11989
|
* @type {number}
|
|
11649
|
-
* @memberof
|
|
11990
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
11650
11991
|
*/
|
|
11651
11992
|
'status'?: number;
|
|
11652
11993
|
}
|
|
11653
11994
|
/**
|
|
11654
11995
|
*
|
|
11655
11996
|
* @export
|
|
11656
|
-
* @interface
|
|
11997
|
+
* @interface DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
11657
11998
|
*/
|
|
11658
|
-
export interface
|
|
11999
|
+
export interface DataTypesGenericResponseDataTypesBillingAlertsResponse {
|
|
11659
12000
|
/**
|
|
11660
12001
|
*
|
|
11661
|
-
* @type {
|
|
11662
|
-
* @memberof
|
|
12002
|
+
* @type {DataTypesBillingAlertsResponse}
|
|
12003
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
11663
12004
|
*/
|
|
11664
|
-
'data'?:
|
|
12005
|
+
'data'?: DataTypesBillingAlertsResponse;
|
|
11665
12006
|
/**
|
|
11666
12007
|
*
|
|
11667
12008
|
* @type {string}
|
|
11668
|
-
* @memberof
|
|
12009
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
11669
12010
|
*/
|
|
11670
12011
|
'message'?: string;
|
|
11671
12012
|
/**
|
|
11672
12013
|
*
|
|
11673
12014
|
* @type {number}
|
|
11674
|
-
* @memberof
|
|
12015
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
11675
12016
|
*/
|
|
11676
12017
|
'status'?: number;
|
|
11677
12018
|
}
|
|
11678
12019
|
/**
|
|
11679
12020
|
*
|
|
11680
12021
|
* @export
|
|
11681
|
-
* @interface
|
|
12022
|
+
* @interface DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
11682
12023
|
*/
|
|
11683
|
-
export interface
|
|
12024
|
+
export interface DataTypesGenericResponseDataTypesBillingOverviewResponse {
|
|
11684
12025
|
/**
|
|
11685
12026
|
*
|
|
11686
|
-
* @type {
|
|
11687
|
-
* @memberof
|
|
12027
|
+
* @type {DataTypesBillingOverviewResponse}
|
|
12028
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
11688
12029
|
*/
|
|
11689
|
-
'data'?:
|
|
12030
|
+
'data'?: DataTypesBillingOverviewResponse;
|
|
11690
12031
|
/**
|
|
11691
12032
|
*
|
|
11692
12033
|
* @type {string}
|
|
11693
|
-
* @memberof
|
|
12034
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
11694
12035
|
*/
|
|
11695
12036
|
'message'?: string;
|
|
11696
12037
|
/**
|
|
11697
12038
|
*
|
|
11698
12039
|
* @type {number}
|
|
11699
|
-
* @memberof
|
|
12040
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
11700
12041
|
*/
|
|
11701
12042
|
'status'?: number;
|
|
11702
12043
|
}
|
|
11703
12044
|
/**
|
|
11704
12045
|
*
|
|
11705
12046
|
* @export
|
|
11706
|
-
* @interface
|
|
12047
|
+
* @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12048
|
+
*/
|
|
12049
|
+
export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
|
|
12050
|
+
/**
|
|
12051
|
+
*
|
|
12052
|
+
* @type {DataTypesConsumptionHistoryResponse}
|
|
12053
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12054
|
+
*/
|
|
12055
|
+
'data'?: DataTypesConsumptionHistoryResponse;
|
|
12056
|
+
/**
|
|
12057
|
+
*
|
|
12058
|
+
* @type {string}
|
|
12059
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12060
|
+
*/
|
|
12061
|
+
'message'?: string;
|
|
12062
|
+
/**
|
|
12063
|
+
*
|
|
12064
|
+
* @type {number}
|
|
12065
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12066
|
+
*/
|
|
12067
|
+
'status'?: number;
|
|
12068
|
+
}
|
|
12069
|
+
/**
|
|
12070
|
+
*
|
|
12071
|
+
* @export
|
|
12072
|
+
* @interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12073
|
+
*/
|
|
12074
|
+
export interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse {
|
|
12075
|
+
/**
|
|
12076
|
+
*
|
|
12077
|
+
* @type {DataTypesCreditAdjustmentResponse}
|
|
12078
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12079
|
+
*/
|
|
12080
|
+
'data'?: DataTypesCreditAdjustmentResponse;
|
|
12081
|
+
/**
|
|
12082
|
+
*
|
|
12083
|
+
* @type {string}
|
|
12084
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12085
|
+
*/
|
|
12086
|
+
'message'?: string;
|
|
12087
|
+
/**
|
|
12088
|
+
*
|
|
12089
|
+
* @type {number}
|
|
12090
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12091
|
+
*/
|
|
12092
|
+
'status'?: number;
|
|
12093
|
+
}
|
|
12094
|
+
/**
|
|
12095
|
+
*
|
|
12096
|
+
* @export
|
|
12097
|
+
* @interface DataTypesGenericResponseDataTypesCreditBalance
|
|
12098
|
+
*/
|
|
12099
|
+
export interface DataTypesGenericResponseDataTypesCreditBalance {
|
|
12100
|
+
/**
|
|
12101
|
+
*
|
|
12102
|
+
* @type {DataTypesCreditBalance}
|
|
12103
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12104
|
+
*/
|
|
12105
|
+
'data'?: DataTypesCreditBalance;
|
|
12106
|
+
/**
|
|
12107
|
+
*
|
|
12108
|
+
* @type {string}
|
|
12109
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12110
|
+
*/
|
|
12111
|
+
'message'?: string;
|
|
12112
|
+
/**
|
|
12113
|
+
*
|
|
12114
|
+
* @type {number}
|
|
12115
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12116
|
+
*/
|
|
12117
|
+
'status'?: number;
|
|
12118
|
+
}
|
|
12119
|
+
/**
|
|
12120
|
+
*
|
|
12121
|
+
* @export
|
|
12122
|
+
* @interface DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
11707
12123
|
*/
|
|
11708
12124
|
export interface DataTypesGenericResponseDataTypesCreditConsumptionResult {
|
|
11709
12125
|
/**
|
|
@@ -11925,6 +12341,31 @@ export interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
|
11925
12341
|
*/
|
|
11926
12342
|
'status'?: number;
|
|
11927
12343
|
}
|
|
12344
|
+
/**
|
|
12345
|
+
*
|
|
12346
|
+
* @export
|
|
12347
|
+
* @interface DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12348
|
+
*/
|
|
12349
|
+
export interface DataTypesGenericResponseDataTypesSavedCardsResponse {
|
|
12350
|
+
/**
|
|
12351
|
+
*
|
|
12352
|
+
* @type {DataTypesSavedCardsResponse}
|
|
12353
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12354
|
+
*/
|
|
12355
|
+
'data'?: DataTypesSavedCardsResponse;
|
|
12356
|
+
/**
|
|
12357
|
+
*
|
|
12358
|
+
* @type {string}
|
|
12359
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12360
|
+
*/
|
|
12361
|
+
'message'?: string;
|
|
12362
|
+
/**
|
|
12363
|
+
*
|
|
12364
|
+
* @type {number}
|
|
12365
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12366
|
+
*/
|
|
12367
|
+
'status'?: number;
|
|
12368
|
+
}
|
|
11928
12369
|
/**
|
|
11929
12370
|
*
|
|
11930
12371
|
* @export
|
|
@@ -13531,6 +13972,43 @@ export interface DataTypesNewsLetterRequestsListResponse {
|
|
|
13531
13972
|
*/
|
|
13532
13973
|
'status'?: number;
|
|
13533
13974
|
}
|
|
13975
|
+
/**
|
|
13976
|
+
*
|
|
13977
|
+
* @export
|
|
13978
|
+
* @interface DataTypesNextChargeInfo
|
|
13979
|
+
*/
|
|
13980
|
+
export interface DataTypesNextChargeInfo {
|
|
13981
|
+
/**
|
|
13982
|
+
*
|
|
13983
|
+
* @type {number}
|
|
13984
|
+
* @memberof DataTypesNextChargeInfo
|
|
13985
|
+
*/
|
|
13986
|
+
'amount'?: number;
|
|
13987
|
+
/**
|
|
13988
|
+
*
|
|
13989
|
+
* @type {string}
|
|
13990
|
+
* @memberof DataTypesNextChargeInfo
|
|
13991
|
+
*/
|
|
13992
|
+
'charge_date'?: string;
|
|
13993
|
+
/**
|
|
13994
|
+
*
|
|
13995
|
+
* @type {string}
|
|
13996
|
+
* @memberof DataTypesNextChargeInfo
|
|
13997
|
+
*/
|
|
13998
|
+
'currency'?: string;
|
|
13999
|
+
/**
|
|
14000
|
+
*
|
|
14001
|
+
* @type {string}
|
|
14002
|
+
* @memberof DataTypesNextChargeInfo
|
|
14003
|
+
*/
|
|
14004
|
+
'description'?: string;
|
|
14005
|
+
/**
|
|
14006
|
+
*
|
|
14007
|
+
* @type {number}
|
|
14008
|
+
* @memberof DataTypesNextChargeInfo
|
|
14009
|
+
*/
|
|
14010
|
+
'subscription_id'?: number;
|
|
14011
|
+
}
|
|
13534
14012
|
/**
|
|
13535
14013
|
*
|
|
13536
14014
|
* @export
|
|
@@ -13705,6 +14183,12 @@ export interface DataTypesOnboardingResponse {
|
|
|
13705
14183
|
* @memberof DataTypesOnboardingResponse
|
|
13706
14184
|
*/
|
|
13707
14185
|
'jobId'?: string;
|
|
14186
|
+
/**
|
|
14187
|
+
* Organization ID (available after orgDetails step)
|
|
14188
|
+
* @type {number}
|
|
14189
|
+
* @memberof DataTypesOnboardingResponse
|
|
14190
|
+
*/
|
|
14191
|
+
'orgId'?: number;
|
|
13708
14192
|
/**
|
|
13709
14193
|
*
|
|
13710
14194
|
* @type {{ [key: string]: any; }}
|
|
@@ -15005,6 +15489,37 @@ export interface DataTypesProfileResponseWrapper {
|
|
|
15005
15489
|
*/
|
|
15006
15490
|
'status'?: number;
|
|
15007
15491
|
}
|
|
15492
|
+
/**
|
|
15493
|
+
*
|
|
15494
|
+
* @export
|
|
15495
|
+
* @interface DataTypesProjectedRunoutInfo
|
|
15496
|
+
*/
|
|
15497
|
+
export interface DataTypesProjectedRunoutInfo {
|
|
15498
|
+
/**
|
|
15499
|
+
*
|
|
15500
|
+
* @type {number}
|
|
15501
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
15502
|
+
*/
|
|
15503
|
+
'average_daily_consumption'?: number;
|
|
15504
|
+
/**
|
|
15505
|
+
*
|
|
15506
|
+
* @type {number}
|
|
15507
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
15508
|
+
*/
|
|
15509
|
+
'days_remaining'?: number;
|
|
15510
|
+
/**
|
|
15511
|
+
*
|
|
15512
|
+
* @type {string}
|
|
15513
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
15514
|
+
*/
|
|
15515
|
+
'projected_runout_date'?: string;
|
|
15516
|
+
/**
|
|
15517
|
+
* \"critical\", \"warning\", \"normal\"
|
|
15518
|
+
* @type {string}
|
|
15519
|
+
* @memberof DataTypesProjectedRunoutInfo
|
|
15520
|
+
*/
|
|
15521
|
+
'warning_level'?: string;
|
|
15522
|
+
}
|
|
15008
15523
|
/**
|
|
15009
15524
|
*
|
|
15010
15525
|
* @export
|
|
@@ -16480,6 +16995,110 @@ export interface DataTypesSampleDatasetsResponseWrapper {
|
|
|
16480
16995
|
*/
|
|
16481
16996
|
'status'?: number;
|
|
16482
16997
|
}
|
|
16998
|
+
/**
|
|
16999
|
+
*
|
|
17000
|
+
* @export
|
|
17001
|
+
* @interface DataTypesSavedCard
|
|
17002
|
+
*/
|
|
17003
|
+
export interface DataTypesSavedCard {
|
|
17004
|
+
/**
|
|
17005
|
+
* \"Visa\", \"Mastercard\", etc.
|
|
17006
|
+
* @type {string}
|
|
17007
|
+
* @memberof DataTypesSavedCard
|
|
17008
|
+
*/
|
|
17009
|
+
'card_network'?: string;
|
|
17010
|
+
/**
|
|
17011
|
+
* Masked, e.g., \"XXXX XXXX XXXX 1234\"
|
|
17012
|
+
* @type {string}
|
|
17013
|
+
* @memberof DataTypesSavedCard
|
|
17014
|
+
*/
|
|
17015
|
+
'card_number'?: string;
|
|
17016
|
+
/**
|
|
17017
|
+
* \"credit\", \"debit\"
|
|
17018
|
+
* @type {string}
|
|
17019
|
+
* @memberof DataTypesSavedCard
|
|
17020
|
+
*/
|
|
17021
|
+
'card_type'?: string;
|
|
17022
|
+
/**
|
|
17023
|
+
*
|
|
17024
|
+
* @type {string}
|
|
17025
|
+
* @memberof DataTypesSavedCard
|
|
17026
|
+
*/
|
|
17027
|
+
'created_at'?: string;
|
|
17028
|
+
/**
|
|
17029
|
+
*
|
|
17030
|
+
* @type {string}
|
|
17031
|
+
* @memberof DataTypesSavedCard
|
|
17032
|
+
*/
|
|
17033
|
+
'expiry_month'?: string;
|
|
17034
|
+
/**
|
|
17035
|
+
*
|
|
17036
|
+
* @type {string}
|
|
17037
|
+
* @memberof DataTypesSavedCard
|
|
17038
|
+
*/
|
|
17039
|
+
'expiry_year'?: string;
|
|
17040
|
+
/**
|
|
17041
|
+
*
|
|
17042
|
+
* @type {boolean}
|
|
17043
|
+
* @memberof DataTypesSavedCard
|
|
17044
|
+
*/
|
|
17045
|
+
'is_default'?: boolean;
|
|
17046
|
+
/**
|
|
17047
|
+
*
|
|
17048
|
+
* @type {boolean}
|
|
17049
|
+
* @memberof DataTypesSavedCard
|
|
17050
|
+
*/
|
|
17051
|
+
'is_expired'?: boolean;
|
|
17052
|
+
/**
|
|
17053
|
+
*
|
|
17054
|
+
* @type {string}
|
|
17055
|
+
* @memberof DataTypesSavedCard
|
|
17056
|
+
*/
|
|
17057
|
+
'issuer'?: string;
|
|
17058
|
+
/**
|
|
17059
|
+
*
|
|
17060
|
+
* @type {string}
|
|
17061
|
+
* @memberof DataTypesSavedCard
|
|
17062
|
+
*/
|
|
17063
|
+
'last_used_at'?: string;
|
|
17064
|
+
/**
|
|
17065
|
+
*
|
|
17066
|
+
* @type {{ [key: string]: any; }}
|
|
17067
|
+
* @memberof DataTypesSavedCard
|
|
17068
|
+
*/
|
|
17069
|
+
'metadata'?: { [key: string]: any; };
|
|
17070
|
+
/**
|
|
17071
|
+
*
|
|
17072
|
+
* @type {string}
|
|
17073
|
+
* @memberof DataTypesSavedCard
|
|
17074
|
+
*/
|
|
17075
|
+
'token_id'?: string;
|
|
17076
|
+
}
|
|
17077
|
+
/**
|
|
17078
|
+
*
|
|
17079
|
+
* @export
|
|
17080
|
+
* @interface DataTypesSavedCardsResponse
|
|
17081
|
+
*/
|
|
17082
|
+
export interface DataTypesSavedCardsResponse {
|
|
17083
|
+
/**
|
|
17084
|
+
*
|
|
17085
|
+
* @type {Array<DataTypesSavedCard>}
|
|
17086
|
+
* @memberof DataTypesSavedCardsResponse
|
|
17087
|
+
*/
|
|
17088
|
+
'cards'?: Array<DataTypesSavedCard>;
|
|
17089
|
+
/**
|
|
17090
|
+
*
|
|
17091
|
+
* @type {string}
|
|
17092
|
+
* @memberof DataTypesSavedCardsResponse
|
|
17093
|
+
*/
|
|
17094
|
+
'customer_id'?: string;
|
|
17095
|
+
/**
|
|
17096
|
+
*
|
|
17097
|
+
* @type {number}
|
|
17098
|
+
* @memberof DataTypesSavedCardsResponse
|
|
17099
|
+
*/
|
|
17100
|
+
'total_cards'?: number;
|
|
17101
|
+
}
|
|
16483
17102
|
/**
|
|
16484
17103
|
*
|
|
16485
17104
|
* @export
|
|
@@ -16649,47 +17268,158 @@ export interface DataTypesSearchResultResponse {
|
|
|
16649
17268
|
'status'?: number;
|
|
16650
17269
|
}
|
|
16651
17270
|
/**
|
|
16652
|
-
*
|
|
17271
|
+
* Individual item from Typesense collection that can be pinned/hidden in rules (same structure as admin search API)
|
|
16653
17272
|
* @export
|
|
16654
|
-
* @interface
|
|
17273
|
+
* @interface DataTypesSearchRuleItem
|
|
16655
17274
|
*/
|
|
16656
|
-
export interface
|
|
17275
|
+
export interface DataTypesSearchRuleItem {
|
|
16657
17276
|
/**
|
|
16658
|
-
*
|
|
16659
|
-
* @type {string}
|
|
16660
|
-
* @memberof
|
|
17277
|
+
* Full document data for reference
|
|
17278
|
+
* @type {{ [key: string]: any; }}
|
|
17279
|
+
* @memberof DataTypesSearchRuleItem
|
|
16661
17280
|
*/
|
|
16662
|
-
'
|
|
17281
|
+
'document'?: { [key: string]: any; };
|
|
16663
17282
|
/**
|
|
16664
|
-
*
|
|
16665
|
-
* @type {string}
|
|
16666
|
-
* @memberof
|
|
17283
|
+
* Search highlights
|
|
17284
|
+
* @type {{ [key: string]: any; }}
|
|
17285
|
+
* @memberof DataTypesSearchRuleItem
|
|
16667
17286
|
*/
|
|
16668
|
-
'
|
|
17287
|
+
'highlight'?: { [key: string]: any; };
|
|
16669
17288
|
/**
|
|
16670
|
-
*
|
|
17289
|
+
* Document ID (required for pin/hide)
|
|
16671
17290
|
* @type {string}
|
|
16672
|
-
* @memberof
|
|
17291
|
+
* @memberof DataTypesSearchRuleItem
|
|
16673
17292
|
*/
|
|
16674
|
-
'
|
|
17293
|
+
'id'?: string;
|
|
16675
17294
|
/**
|
|
16676
|
-
*
|
|
16677
|
-
* @type {
|
|
16678
|
-
* @memberof
|
|
17295
|
+
* Relevance score
|
|
17296
|
+
* @type {number}
|
|
17297
|
+
* @memberof DataTypesSearchRuleItem
|
|
16679
17298
|
*/
|
|
16680
|
-
'
|
|
17299
|
+
'score'?: number;
|
|
16681
17300
|
/**
|
|
16682
|
-
*
|
|
16683
|
-
* @type {
|
|
16684
|
-
* @memberof
|
|
17301
|
+
* Widget display data (same as admin search API)
|
|
17302
|
+
* @type {DataTypesWidgetSearchResult}
|
|
17303
|
+
* @memberof DataTypesSearchRuleItem
|
|
16685
17304
|
*/
|
|
16686
|
-
'
|
|
17305
|
+
'widget'?: DataTypesWidgetSearchResult;
|
|
17306
|
+
}
|
|
17307
|
+
/**
|
|
17308
|
+
* Request parameters for searching items in the store\'s Typesense collection
|
|
17309
|
+
* @export
|
|
17310
|
+
* @interface DataTypesSearchRuleItemsRequest
|
|
17311
|
+
*/
|
|
17312
|
+
export interface DataTypesSearchRuleItemsRequest {
|
|
16687
17313
|
/**
|
|
16688
|
-
*
|
|
17314
|
+
* Optional Typesense filter
|
|
16689
17315
|
* @type {string}
|
|
16690
|
-
* @memberof
|
|
17316
|
+
* @memberof DataTypesSearchRuleItemsRequest
|
|
16691
17317
|
*/
|
|
16692
|
-
'
|
|
17318
|
+
'filter'?: string;
|
|
17319
|
+
/**
|
|
17320
|
+
* Page number (default: 1)
|
|
17321
|
+
* @type {number}
|
|
17322
|
+
* @memberof DataTypesSearchRuleItemsRequest
|
|
17323
|
+
*/
|
|
17324
|
+
'page'?: number;
|
|
17325
|
+
/**
|
|
17326
|
+
* Results per page (default: 20, max: 100)
|
|
17327
|
+
* @type {number}
|
|
17328
|
+
* @memberof DataTypesSearchRuleItemsRequest
|
|
17329
|
+
*/
|
|
17330
|
+
'per_page'?: number;
|
|
17331
|
+
/**
|
|
17332
|
+
* Search query
|
|
17333
|
+
* @type {string}
|
|
17334
|
+
* @memberof DataTypesSearchRuleItemsRequest
|
|
17335
|
+
*/
|
|
17336
|
+
'query': string;
|
|
17337
|
+
}
|
|
17338
|
+
/**
|
|
17339
|
+
* Response containing searchable items from the collection with pagination
|
|
17340
|
+
* @export
|
|
17341
|
+
* @interface DataTypesSearchRuleItemsResponse
|
|
17342
|
+
*/
|
|
17343
|
+
export interface DataTypesSearchRuleItemsResponse {
|
|
17344
|
+
/**
|
|
17345
|
+
*
|
|
17346
|
+
* @type {Array<DataTypesSearchRuleItem>}
|
|
17347
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17348
|
+
*/
|
|
17349
|
+
'items'?: Array<DataTypesSearchRuleItem>;
|
|
17350
|
+
/**
|
|
17351
|
+
*
|
|
17352
|
+
* @type {number}
|
|
17353
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17354
|
+
*/
|
|
17355
|
+
'page'?: number;
|
|
17356
|
+
/**
|
|
17357
|
+
*
|
|
17358
|
+
* @type {number}
|
|
17359
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17360
|
+
*/
|
|
17361
|
+
'per_page'?: number;
|
|
17362
|
+
/**
|
|
17363
|
+
* Fields searched (for reference)
|
|
17364
|
+
* @type {Array<string>}
|
|
17365
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17366
|
+
*/
|
|
17367
|
+
'query_by'?: Array<string>;
|
|
17368
|
+
/**
|
|
17369
|
+
* Total matching documents
|
|
17370
|
+
* @type {number}
|
|
17371
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17372
|
+
*/
|
|
17373
|
+
'total_found'?: number;
|
|
17374
|
+
/**
|
|
17375
|
+
*
|
|
17376
|
+
* @type {number}
|
|
17377
|
+
* @memberof DataTypesSearchRuleItemsResponse
|
|
17378
|
+
*/
|
|
17379
|
+
'total_pages'?: number;
|
|
17380
|
+
}
|
|
17381
|
+
/**
|
|
17382
|
+
*
|
|
17383
|
+
* @export
|
|
17384
|
+
* @interface DataTypesServiceRequest
|
|
17385
|
+
*/
|
|
17386
|
+
export interface DataTypesServiceRequest {
|
|
17387
|
+
/**
|
|
17388
|
+
*
|
|
17389
|
+
* @type {string}
|
|
17390
|
+
* @memberof DataTypesServiceRequest
|
|
17391
|
+
*/
|
|
17392
|
+
'additionalInfo'?: string;
|
|
17393
|
+
/**
|
|
17394
|
+
*
|
|
17395
|
+
* @type {string}
|
|
17396
|
+
* @memberof DataTypesServiceRequest
|
|
17397
|
+
*/
|
|
17398
|
+
'email'?: string;
|
|
17399
|
+
/**
|
|
17400
|
+
*
|
|
17401
|
+
* @type {string}
|
|
17402
|
+
* @memberof DataTypesServiceRequest
|
|
17403
|
+
*/
|
|
17404
|
+
'fullName'?: string;
|
|
17405
|
+
/**
|
|
17406
|
+
*
|
|
17407
|
+
* @type {boolean}
|
|
17408
|
+
* @memberof DataTypesServiceRequest
|
|
17409
|
+
*/
|
|
17410
|
+
'isActive'?: boolean;
|
|
17411
|
+
/**
|
|
17412
|
+
*
|
|
17413
|
+
* @type {string}
|
|
17414
|
+
* @memberof DataTypesServiceRequest
|
|
17415
|
+
*/
|
|
17416
|
+
'organizationEmail'?: string;
|
|
17417
|
+
/**
|
|
17418
|
+
*
|
|
17419
|
+
* @type {string}
|
|
17420
|
+
* @memberof DataTypesServiceRequest
|
|
17421
|
+
*/
|
|
17422
|
+
'organizationName'?: string;
|
|
16693
17423
|
/**
|
|
16694
17424
|
*
|
|
16695
17425
|
* @type {string}
|
|
@@ -25042,6 +25772,96 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
25042
25772
|
options: localVarRequestOptions,
|
|
25043
25773
|
};
|
|
25044
25774
|
},
|
|
25775
|
+
/**
|
|
25776
|
+
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
25777
|
+
* @summary Get Item by ID for Rule Management
|
|
25778
|
+
* @param {string} authorization Bearer JWT token
|
|
25779
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
25780
|
+
* @param {string} itemId Item ID to retrieve
|
|
25781
|
+
* @param {*} [options] Override http request option.
|
|
25782
|
+
* @throws {RequiredError}
|
|
25783
|
+
*/
|
|
25784
|
+
apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: async (authorization: string, xStoreID: string, itemId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25785
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
25786
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization)
|
|
25787
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25788
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID)
|
|
25789
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
25790
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId)
|
|
25791
|
+
const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
|
|
25792
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
25793
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
25794
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25795
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25796
|
+
let baseOptions;
|
|
25797
|
+
if (configuration) {
|
|
25798
|
+
baseOptions = configuration.baseOptions;
|
|
25799
|
+
}
|
|
25800
|
+
|
|
25801
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25802
|
+
const localVarHeaderParameter = {} as any;
|
|
25803
|
+
const localVarQueryParameter = {} as any;
|
|
25804
|
+
|
|
25805
|
+
|
|
25806
|
+
|
|
25807
|
+
if (authorization != null) {
|
|
25808
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
25809
|
+
}
|
|
25810
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25811
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25812
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25813
|
+
|
|
25814
|
+
return {
|
|
25815
|
+
url: toPathString(localVarUrlObj),
|
|
25816
|
+
options: localVarRequestOptions,
|
|
25817
|
+
};
|
|
25818
|
+
},
|
|
25819
|
+
/**
|
|
25820
|
+
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
25821
|
+
* @summary Search Items for Rule Management
|
|
25822
|
+
* @param {string} authorization Bearer JWT token
|
|
25823
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
25824
|
+
* @param {DataTypesSearchRuleItemsRequest} dataTypesSearchRuleItemsRequest Search parameters (query, page, per_page, filter)
|
|
25825
|
+
* @param {*} [options] Override http request option.
|
|
25826
|
+
* @throws {RequiredError}
|
|
25827
|
+
*/
|
|
25828
|
+
apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: async (authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25829
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
25830
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization)
|
|
25831
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25832
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID)
|
|
25833
|
+
// verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
|
|
25834
|
+
assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest)
|
|
25835
|
+
const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
|
|
25836
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25837
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25838
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25839
|
+
let baseOptions;
|
|
25840
|
+
if (configuration) {
|
|
25841
|
+
baseOptions = configuration.baseOptions;
|
|
25842
|
+
}
|
|
25843
|
+
|
|
25844
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
25845
|
+
const localVarHeaderParameter = {} as any;
|
|
25846
|
+
const localVarQueryParameter = {} as any;
|
|
25847
|
+
|
|
25848
|
+
|
|
25849
|
+
|
|
25850
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25851
|
+
|
|
25852
|
+
if (authorization != null) {
|
|
25853
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
25854
|
+
}
|
|
25855
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25856
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25857
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25858
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSearchRuleItemsRequest, localVarRequestOptions, configuration)
|
|
25859
|
+
|
|
25860
|
+
return {
|
|
25861
|
+
url: toPathString(localVarUrlObj),
|
|
25862
|
+
options: localVarRequestOptions,
|
|
25863
|
+
};
|
|
25864
|
+
},
|
|
25045
25865
|
/**
|
|
25046
25866
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
25047
25867
|
* @summary List Analytics Rules
|
|
@@ -25466,6 +26286,36 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
|
|
|
25466
26286
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesSyncPost']?.[localVarOperationServerIndex]?.url;
|
|
25467
26287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25468
26288
|
},
|
|
26289
|
+
/**
|
|
26290
|
+
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
26291
|
+
* @summary Get Item by ID for Rule Management
|
|
26292
|
+
* @param {string} authorization Bearer JWT token
|
|
26293
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26294
|
+
* @param {string} itemId Item ID to retrieve
|
|
26295
|
+
* @param {*} [options] Override http request option.
|
|
26296
|
+
* @throws {RequiredError}
|
|
26297
|
+
*/
|
|
26298
|
+
async apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItem>> {
|
|
26299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
|
|
26300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26301
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']?.[localVarOperationServerIndex]?.url;
|
|
26302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26303
|
+
},
|
|
26304
|
+
/**
|
|
26305
|
+
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
26306
|
+
* @summary Search Items for Rule Management
|
|
26307
|
+
* @param {string} authorization Bearer JWT token
|
|
26308
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26309
|
+
* @param {DataTypesSearchRuleItemsRequest} dataTypesSearchRuleItemsRequest Search parameters (query, page, per_page, filter)
|
|
26310
|
+
* @param {*} [options] Override http request option.
|
|
26311
|
+
* @throws {RequiredError}
|
|
26312
|
+
*/
|
|
26313
|
+
async apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItemsResponse>> {
|
|
26314
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
|
|
26315
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26316
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']?.[localVarOperationServerIndex]?.url;
|
|
26317
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26318
|
+
},
|
|
25469
26319
|
/**
|
|
25470
26320
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
25471
26321
|
* @summary List Analytics Rules
|
|
@@ -25652,6 +26502,30 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
|
|
|
25652
26502
|
apiAdminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleSyncResponse> {
|
|
25653
26503
|
return localVarFp.apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
25654
26504
|
},
|
|
26505
|
+
/**
|
|
26506
|
+
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
26507
|
+
* @summary Get Item by ID for Rule Management
|
|
26508
|
+
* @param {string} authorization Bearer JWT token
|
|
26509
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26510
|
+
* @param {string} itemId Item ID to retrieve
|
|
26511
|
+
* @param {*} [options] Override http request option.
|
|
26512
|
+
* @throws {RequiredError}
|
|
26513
|
+
*/
|
|
26514
|
+
apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItem> {
|
|
26515
|
+
return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
|
|
26516
|
+
},
|
|
26517
|
+
/**
|
|
26518
|
+
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
26519
|
+
* @summary Search Items for Rule Management
|
|
26520
|
+
* @param {string} authorization Bearer JWT token
|
|
26521
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26522
|
+
* @param {DataTypesSearchRuleItemsRequest} dataTypesSearchRuleItemsRequest Search parameters (query, page, per_page, filter)
|
|
26523
|
+
* @param {*} [options] Override http request option.
|
|
26524
|
+
* @throws {RequiredError}
|
|
26525
|
+
*/
|
|
26526
|
+
apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItemsResponse> {
|
|
26527
|
+
return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
|
|
26528
|
+
},
|
|
25655
26529
|
/**
|
|
25656
26530
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
25657
26531
|
* @summary List Analytics Rules
|
|
@@ -25832,6 +26706,34 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
25832
26706
|
return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25833
26707
|
}
|
|
25834
26708
|
|
|
26709
|
+
/**
|
|
26710
|
+
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
26711
|
+
* @summary Get Item by ID for Rule Management
|
|
26712
|
+
* @param {string} authorization Bearer JWT token
|
|
26713
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26714
|
+
* @param {string} itemId Item ID to retrieve
|
|
26715
|
+
* @param {*} [options] Override http request option.
|
|
26716
|
+
* @throws {RequiredError}
|
|
26717
|
+
* @memberof AnalyticsRulesApi
|
|
26718
|
+
*/
|
|
26719
|
+
public apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig) {
|
|
26720
|
+
return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
|
|
26721
|
+
}
|
|
26722
|
+
|
|
26723
|
+
/**
|
|
26724
|
+
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
26725
|
+
* @summary Search Items for Rule Management
|
|
26726
|
+
* @param {string} authorization Bearer JWT token
|
|
26727
|
+
* @param {string} xStoreID X-Store ID (same format as admin search API)
|
|
26728
|
+
* @param {DataTypesSearchRuleItemsRequest} dataTypesSearchRuleItemsRequest Search parameters (query, page, per_page, filter)
|
|
26729
|
+
* @param {*} [options] Override http request option.
|
|
26730
|
+
* @throws {RequiredError}
|
|
26731
|
+
* @memberof AnalyticsRulesApi
|
|
26732
|
+
*/
|
|
26733
|
+
public apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig) {
|
|
26734
|
+
return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26735
|
+
}
|
|
26736
|
+
|
|
25835
26737
|
/**
|
|
25836
26738
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
25837
26739
|
* @summary List Analytics Rules
|
|
@@ -26763,18 +27665,13 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
26763
27665
|
export const BillingDashboardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26764
27666
|
return {
|
|
26765
27667
|
/**
|
|
26766
|
-
*
|
|
26767
|
-
* @summary Get
|
|
26768
|
-
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
26769
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26770
|
-
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26771
|
-
* @param {number} [limit] Number of results per page (default: 50, max: 100)
|
|
26772
|
-
* @param {number} [offset] Number of results to skip (default: 0)
|
|
27668
|
+
* Returns all billing alerts configured for the organization
|
|
27669
|
+
* @summary Get billing alerts
|
|
26773
27670
|
* @param {*} [options] Override http request option.
|
|
26774
27671
|
* @throws {RequiredError}
|
|
26775
27672
|
*/
|
|
26776
|
-
|
|
26777
|
-
const localVarPath = `/admin/billing/
|
|
27673
|
+
adminBillingAlertsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27674
|
+
const localVarPath = `/admin/billing/alerts`;
|
|
26778
27675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26779
27676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26780
27677
|
let baseOptions;
|
|
@@ -26789,26 +27686,6 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26789
27686
|
// authentication BearerAuth required
|
|
26790
27687
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26791
27688
|
|
|
26792
|
-
if (orgId !== undefined) {
|
|
26793
|
-
localVarQueryParameter['org_id'] = orgId;
|
|
26794
|
-
}
|
|
26795
|
-
|
|
26796
|
-
if (startDate !== undefined) {
|
|
26797
|
-
localVarQueryParameter['start_date'] = startDate;
|
|
26798
|
-
}
|
|
26799
|
-
|
|
26800
|
-
if (endDate !== undefined) {
|
|
26801
|
-
localVarQueryParameter['end_date'] = endDate;
|
|
26802
|
-
}
|
|
26803
|
-
|
|
26804
|
-
if (limit !== undefined) {
|
|
26805
|
-
localVarQueryParameter['limit'] = limit;
|
|
26806
|
-
}
|
|
26807
|
-
|
|
26808
|
-
if (offset !== undefined) {
|
|
26809
|
-
localVarQueryParameter['offset'] = offset;
|
|
26810
|
-
}
|
|
26811
|
-
|
|
26812
27689
|
|
|
26813
27690
|
|
|
26814
27691
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26821,18 +27698,17 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26821
27698
|
};
|
|
26822
27699
|
},
|
|
26823
27700
|
/**
|
|
26824
|
-
*
|
|
26825
|
-
* @summary
|
|
26826
|
-
* @param {number}
|
|
26827
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26828
|
-
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26829
|
-
* @param {number} [limit] Number of results per page (default: 50, max: 100)
|
|
26830
|
-
* @param {number} [offset] Number of results to skip (default: 0)
|
|
27701
|
+
* Deletes a billing alert configuration
|
|
27702
|
+
* @summary Delete billing alert
|
|
27703
|
+
* @param {number} id Alert ID
|
|
26831
27704
|
* @param {*} [options] Override http request option.
|
|
26832
27705
|
* @throws {RequiredError}
|
|
26833
27706
|
*/
|
|
26834
|
-
|
|
26835
|
-
|
|
27707
|
+
adminBillingAlertsIdDelete: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27708
|
+
// verify required parameter 'id' is not null or undefined
|
|
27709
|
+
assertParamExists('adminBillingAlertsIdDelete', 'id', id)
|
|
27710
|
+
const localVarPath = `/admin/billing/alerts/{id}`
|
|
27711
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
26836
27712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26837
27713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26838
27714
|
let baseOptions;
|
|
@@ -26840,28 +27716,216 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26840
27716
|
baseOptions = configuration.baseOptions;
|
|
26841
27717
|
}
|
|
26842
27718
|
|
|
26843
|
-
const localVarRequestOptions = { method: '
|
|
27719
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26844
27720
|
const localVarHeaderParameter = {} as any;
|
|
26845
27721
|
const localVarQueryParameter = {} as any;
|
|
26846
27722
|
|
|
26847
27723
|
// authentication BearerAuth required
|
|
26848
27724
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26849
27725
|
|
|
26850
|
-
if (orgId !== undefined) {
|
|
26851
|
-
localVarQueryParameter['org_id'] = orgId;
|
|
26852
|
-
}
|
|
26853
|
-
|
|
26854
|
-
if (startDate !== undefined) {
|
|
26855
|
-
localVarQueryParameter['start_date'] = startDate;
|
|
26856
|
-
}
|
|
26857
27726
|
|
|
26858
|
-
|
|
26859
|
-
|
|
26860
|
-
}
|
|
27727
|
+
|
|
27728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27730
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26861
27731
|
|
|
26862
|
-
|
|
26863
|
-
|
|
26864
|
-
|
|
27732
|
+
return {
|
|
27733
|
+
url: toPathString(localVarUrlObj),
|
|
27734
|
+
options: localVarRequestOptions,
|
|
27735
|
+
};
|
|
27736
|
+
},
|
|
27737
|
+
/**
|
|
27738
|
+
* Updates an existing billing alert configuration
|
|
27739
|
+
* @summary Update billing alert
|
|
27740
|
+
* @param {number} id Alert ID
|
|
27741
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Updated alert configuration
|
|
27742
|
+
* @param {*} [options] Override http request option.
|
|
27743
|
+
* @throws {RequiredError}
|
|
27744
|
+
*/
|
|
27745
|
+
adminBillingAlertsIdPut: async (id: number, dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27746
|
+
// verify required parameter 'id' is not null or undefined
|
|
27747
|
+
assertParamExists('adminBillingAlertsIdPut', 'id', id)
|
|
27748
|
+
// verify required parameter 'dataTypesBillingAlertRequest' is not null or undefined
|
|
27749
|
+
assertParamExists('adminBillingAlertsIdPut', 'dataTypesBillingAlertRequest', dataTypesBillingAlertRequest)
|
|
27750
|
+
const localVarPath = `/admin/billing/alerts/{id}`
|
|
27751
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
27752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27754
|
+
let baseOptions;
|
|
27755
|
+
if (configuration) {
|
|
27756
|
+
baseOptions = configuration.baseOptions;
|
|
27757
|
+
}
|
|
27758
|
+
|
|
27759
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
27760
|
+
const localVarHeaderParameter = {} as any;
|
|
27761
|
+
const localVarQueryParameter = {} as any;
|
|
27762
|
+
|
|
27763
|
+
// authentication BearerAuth required
|
|
27764
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27765
|
+
|
|
27766
|
+
|
|
27767
|
+
|
|
27768
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27769
|
+
|
|
27770
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27771
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27772
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27773
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesBillingAlertRequest, localVarRequestOptions, configuration)
|
|
27774
|
+
|
|
27775
|
+
return {
|
|
27776
|
+
url: toPathString(localVarUrlObj),
|
|
27777
|
+
options: localVarRequestOptions,
|
|
27778
|
+
};
|
|
27779
|
+
},
|
|
27780
|
+
/**
|
|
27781
|
+
* Creates a new billing alert configuration for the organization
|
|
27782
|
+
* @summary Create billing alert
|
|
27783
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
27784
|
+
* @param {*} [options] Override http request option.
|
|
27785
|
+
* @throws {RequiredError}
|
|
27786
|
+
*/
|
|
27787
|
+
adminBillingAlertsPost: async (dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27788
|
+
// verify required parameter 'dataTypesBillingAlertRequest' is not null or undefined
|
|
27789
|
+
assertParamExists('adminBillingAlertsPost', 'dataTypesBillingAlertRequest', dataTypesBillingAlertRequest)
|
|
27790
|
+
const localVarPath = `/admin/billing/alerts`;
|
|
27791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27792
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27793
|
+
let baseOptions;
|
|
27794
|
+
if (configuration) {
|
|
27795
|
+
baseOptions = configuration.baseOptions;
|
|
27796
|
+
}
|
|
27797
|
+
|
|
27798
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27799
|
+
const localVarHeaderParameter = {} as any;
|
|
27800
|
+
const localVarQueryParameter = {} as any;
|
|
27801
|
+
|
|
27802
|
+
// authentication BearerAuth required
|
|
27803
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27804
|
+
|
|
27805
|
+
|
|
27806
|
+
|
|
27807
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27808
|
+
|
|
27809
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27811
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27812
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesBillingAlertRequest, localVarRequestOptions, configuration)
|
|
27813
|
+
|
|
27814
|
+
return {
|
|
27815
|
+
url: toPathString(localVarUrlObj),
|
|
27816
|
+
options: localVarRequestOptions,
|
|
27817
|
+
};
|
|
27818
|
+
},
|
|
27819
|
+
/**
|
|
27820
|
+
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
27821
|
+
* @summary Get credit consumption
|
|
27822
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
27823
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format, defaults to 7 days ago)
|
|
27824
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format, defaults to now)
|
|
27825
|
+
* @param {number} [page] Page number (default: 1)
|
|
27826
|
+
* @param {number} [pageSize] Number of results per page (default: 20, max: 100)
|
|
27827
|
+
* @param {number} [limit] Alternative: Number of results (default: 20, max: 100)
|
|
27828
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
27829
|
+
* @param {*} [options] Override http request option.
|
|
27830
|
+
* @throws {RequiredError}
|
|
27831
|
+
*/
|
|
27832
|
+
adminBillingCreditConsumptionGet: async (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27833
|
+
const localVarPath = `/admin/billing/credit-consumption`;
|
|
27834
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27835
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27836
|
+
let baseOptions;
|
|
27837
|
+
if (configuration) {
|
|
27838
|
+
baseOptions = configuration.baseOptions;
|
|
27839
|
+
}
|
|
27840
|
+
|
|
27841
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27842
|
+
const localVarHeaderParameter = {} as any;
|
|
27843
|
+
const localVarQueryParameter = {} as any;
|
|
27844
|
+
|
|
27845
|
+
// authentication BearerAuth required
|
|
27846
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27847
|
+
|
|
27848
|
+
if (orgId !== undefined) {
|
|
27849
|
+
localVarQueryParameter['org_id'] = orgId;
|
|
27850
|
+
}
|
|
27851
|
+
|
|
27852
|
+
if (startDate !== undefined) {
|
|
27853
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
27854
|
+
}
|
|
27855
|
+
|
|
27856
|
+
if (endDate !== undefined) {
|
|
27857
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
27858
|
+
}
|
|
27859
|
+
|
|
27860
|
+
if (page !== undefined) {
|
|
27861
|
+
localVarQueryParameter['page'] = page;
|
|
27862
|
+
}
|
|
27863
|
+
|
|
27864
|
+
if (pageSize !== undefined) {
|
|
27865
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
27866
|
+
}
|
|
27867
|
+
|
|
27868
|
+
if (limit !== undefined) {
|
|
27869
|
+
localVarQueryParameter['limit'] = limit;
|
|
27870
|
+
}
|
|
27871
|
+
|
|
27872
|
+
if (offset !== undefined) {
|
|
27873
|
+
localVarQueryParameter['offset'] = offset;
|
|
27874
|
+
}
|
|
27875
|
+
|
|
27876
|
+
|
|
27877
|
+
|
|
27878
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27879
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27880
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27881
|
+
|
|
27882
|
+
return {
|
|
27883
|
+
url: toPathString(localVarUrlObj),
|
|
27884
|
+
options: localVarRequestOptions,
|
|
27885
|
+
};
|
|
27886
|
+
},
|
|
27887
|
+
/**
|
|
27888
|
+
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
27889
|
+
* @summary Get credit ledger
|
|
27890
|
+
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
27891
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
27892
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
27893
|
+
* @param {number} [limit] Number of results per page (default: 50, max: 100)
|
|
27894
|
+
* @param {number} [offset] Number of results to skip (default: 0)
|
|
27895
|
+
* @param {*} [options] Override http request option.
|
|
27896
|
+
* @throws {RequiredError}
|
|
27897
|
+
*/
|
|
27898
|
+
adminBillingCreditLedgerGet: async (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27899
|
+
const localVarPath = `/admin/billing/credit-ledger`;
|
|
27900
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27901
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27902
|
+
let baseOptions;
|
|
27903
|
+
if (configuration) {
|
|
27904
|
+
baseOptions = configuration.baseOptions;
|
|
27905
|
+
}
|
|
27906
|
+
|
|
27907
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
27908
|
+
const localVarHeaderParameter = {} as any;
|
|
27909
|
+
const localVarQueryParameter = {} as any;
|
|
27910
|
+
|
|
27911
|
+
// authentication BearerAuth required
|
|
27912
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
27913
|
+
|
|
27914
|
+
if (orgId !== undefined) {
|
|
27915
|
+
localVarQueryParameter['org_id'] = orgId;
|
|
27916
|
+
}
|
|
27917
|
+
|
|
27918
|
+
if (startDate !== undefined) {
|
|
27919
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
27920
|
+
}
|
|
27921
|
+
|
|
27922
|
+
if (endDate !== undefined) {
|
|
27923
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
27924
|
+
}
|
|
27925
|
+
|
|
27926
|
+
if (limit !== undefined) {
|
|
27927
|
+
localVarQueryParameter['limit'] = limit;
|
|
27928
|
+
}
|
|
26865
27929
|
|
|
26866
27930
|
if (offset !== undefined) {
|
|
26867
27931
|
localVarQueryParameter['offset'] = offset;
|
|
@@ -27043,6 +28107,39 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
27043
28107
|
|
|
27044
28108
|
|
|
27045
28109
|
|
|
28110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28112
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28113
|
+
|
|
28114
|
+
return {
|
|
28115
|
+
url: toPathString(localVarUrlObj),
|
|
28116
|
+
options: localVarRequestOptions,
|
|
28117
|
+
};
|
|
28118
|
+
},
|
|
28119
|
+
/**
|
|
28120
|
+
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
28121
|
+
* @summary Get org admin billing overview
|
|
28122
|
+
* @param {*} [options] Override http request option.
|
|
28123
|
+
* @throws {RequiredError}
|
|
28124
|
+
*/
|
|
28125
|
+
adminBillingOrgOverviewGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28126
|
+
const localVarPath = `/admin/billing/org-overview`;
|
|
28127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28129
|
+
let baseOptions;
|
|
28130
|
+
if (configuration) {
|
|
28131
|
+
baseOptions = configuration.baseOptions;
|
|
28132
|
+
}
|
|
28133
|
+
|
|
28134
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28135
|
+
const localVarHeaderParameter = {} as any;
|
|
28136
|
+
const localVarQueryParameter = {} as any;
|
|
28137
|
+
|
|
28138
|
+
// authentication BearerAuth required
|
|
28139
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28140
|
+
|
|
28141
|
+
|
|
28142
|
+
|
|
27046
28143
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27047
28144
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27048
28145
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27207,6 +28304,39 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
27207
28304
|
|
|
27208
28305
|
|
|
27209
28306
|
|
|
28307
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28309
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28310
|
+
|
|
28311
|
+
return {
|
|
28312
|
+
url: toPathString(localVarUrlObj),
|
|
28313
|
+
options: localVarRequestOptions,
|
|
28314
|
+
};
|
|
28315
|
+
},
|
|
28316
|
+
/**
|
|
28317
|
+
* Returns saved payment cards from Razorpay for the organization
|
|
28318
|
+
* @summary Get saved payment cards
|
|
28319
|
+
* @param {*} [options] Override http request option.
|
|
28320
|
+
* @throws {RequiredError}
|
|
28321
|
+
*/
|
|
28322
|
+
adminBillingSavedCardsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28323
|
+
const localVarPath = `/admin/billing/saved-cards`;
|
|
28324
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28325
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28326
|
+
let baseOptions;
|
|
28327
|
+
if (configuration) {
|
|
28328
|
+
baseOptions = configuration.baseOptions;
|
|
28329
|
+
}
|
|
28330
|
+
|
|
28331
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28332
|
+
const localVarHeaderParameter = {} as any;
|
|
28333
|
+
const localVarQueryParameter = {} as any;
|
|
28334
|
+
|
|
28335
|
+
// authentication BearerAuth required
|
|
28336
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28337
|
+
|
|
28338
|
+
|
|
28339
|
+
|
|
27210
28340
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27211
28341
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27212
28342
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27226,19 +28356,73 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
27226
28356
|
export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
27227
28357
|
const localVarAxiosParamCreator = BillingDashboardApiAxiosParamCreator(configuration)
|
|
27228
28358
|
return {
|
|
28359
|
+
/**
|
|
28360
|
+
* Returns all billing alerts configured for the organization
|
|
28361
|
+
* @summary Get billing alerts
|
|
28362
|
+
* @param {*} [options] Override http request option.
|
|
28363
|
+
* @throws {RequiredError}
|
|
28364
|
+
*/
|
|
28365
|
+
async adminBillingAlertsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingAlertsResponse>> {
|
|
28366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsGet(options);
|
|
28367
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28368
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsGet']?.[localVarOperationServerIndex]?.url;
|
|
28369
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28370
|
+
},
|
|
28371
|
+
/**
|
|
28372
|
+
* Deletes a billing alert configuration
|
|
28373
|
+
* @summary Delete billing alert
|
|
28374
|
+
* @param {number} id Alert ID
|
|
28375
|
+
* @param {*} [options] Override http request option.
|
|
28376
|
+
* @throws {RequiredError}
|
|
28377
|
+
*/
|
|
28378
|
+
async adminBillingAlertsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseAny>> {
|
|
28379
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsIdDelete(id, options);
|
|
28380
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28381
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
28382
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28383
|
+
},
|
|
28384
|
+
/**
|
|
28385
|
+
* Updates an existing billing alert configuration
|
|
28386
|
+
* @summary Update billing alert
|
|
28387
|
+
* @param {number} id Alert ID
|
|
28388
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Updated alert configuration
|
|
28389
|
+
* @param {*} [options] Override http request option.
|
|
28390
|
+
* @throws {RequiredError}
|
|
28391
|
+
*/
|
|
28392
|
+
async adminBillingAlertsIdPut(id: number, dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingAlert>> {
|
|
28393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsIdPut(id, dataTypesBillingAlertRequest, options);
|
|
28394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28395
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
28396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28397
|
+
},
|
|
28398
|
+
/**
|
|
28399
|
+
* Creates a new billing alert configuration for the organization
|
|
28400
|
+
* @summary Create billing alert
|
|
28401
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
28402
|
+
* @param {*} [options] Override http request option.
|
|
28403
|
+
* @throws {RequiredError}
|
|
28404
|
+
*/
|
|
28405
|
+
async adminBillingAlertsPost(dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingAlert>> {
|
|
28406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsPost(dataTypesBillingAlertRequest, options);
|
|
28407
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28408
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsPost']?.[localVarOperationServerIndex]?.url;
|
|
28409
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28410
|
+
},
|
|
27229
28411
|
/**
|
|
27230
28412
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
27231
28413
|
* @summary Get credit consumption
|
|
27232
28414
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
27233
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
27234
|
-
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
27235
|
-
* @param {number} [
|
|
27236
|
-
* @param {number} [
|
|
28415
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format, defaults to 7 days ago)
|
|
28416
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format, defaults to now)
|
|
28417
|
+
* @param {number} [page] Page number (default: 1)
|
|
28418
|
+
* @param {number} [pageSize] Number of results per page (default: 20, max: 100)
|
|
28419
|
+
* @param {number} [limit] Alternative: Number of results (default: 20, max: 100)
|
|
28420
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
27237
28421
|
* @param {*} [options] Override http request option.
|
|
27238
28422
|
* @throws {RequiredError}
|
|
27239
28423
|
*/
|
|
27240
|
-
async adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary>> {
|
|
27241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingCreditConsumptionGet(orgId, startDate, endDate, limit, offset, options);
|
|
28424
|
+
async adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary>> {
|
|
28425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingCreditConsumptionGet(orgId, startDate, endDate, page, pageSize, limit, offset, options);
|
|
27242
28426
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27243
28427
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingCreditConsumptionGet']?.[localVarOperationServerIndex]?.url;
|
|
27244
28428
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -27311,6 +28495,18 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
27311
28495
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingOrdersGet']?.[localVarOperationServerIndex]?.url;
|
|
27312
28496
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27313
28497
|
},
|
|
28498
|
+
/**
|
|
28499
|
+
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
28500
|
+
* @summary Get org admin billing overview
|
|
28501
|
+
* @param {*} [options] Override http request option.
|
|
28502
|
+
* @throws {RequiredError}
|
|
28503
|
+
*/
|
|
28504
|
+
async adminBillingOrgOverviewGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingOverviewResponse>> {
|
|
28505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingOrgOverviewGet(options);
|
|
28506
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28507
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingOrgOverviewGet']?.[localVarOperationServerIndex]?.url;
|
|
28508
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28509
|
+
},
|
|
27314
28510
|
/**
|
|
27315
28511
|
* Retrieves billing summary for all organizations with filtering options
|
|
27316
28512
|
* @summary Get organization billing summary
|
|
@@ -27360,6 +28556,18 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
27360
28556
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingPaymentTransactionsGet']?.[localVarOperationServerIndex]?.url;
|
|
27361
28557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27362
28558
|
},
|
|
28559
|
+
/**
|
|
28560
|
+
* Returns saved payment cards from Razorpay for the organization
|
|
28561
|
+
* @summary Get saved payment cards
|
|
28562
|
+
* @param {*} [options] Override http request option.
|
|
28563
|
+
* @throws {RequiredError}
|
|
28564
|
+
*/
|
|
28565
|
+
async adminBillingSavedCardsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesSavedCardsResponse>> {
|
|
28566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingSavedCardsGet(options);
|
|
28567
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28568
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingSavedCardsGet']?.[localVarOperationServerIndex]?.url;
|
|
28569
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28570
|
+
},
|
|
27363
28571
|
}
|
|
27364
28572
|
};
|
|
27365
28573
|
|
|
@@ -27370,19 +28578,61 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
27370
28578
|
export const BillingDashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
27371
28579
|
const localVarFp = BillingDashboardApiFp(configuration)
|
|
27372
28580
|
return {
|
|
28581
|
+
/**
|
|
28582
|
+
* Returns all billing alerts configured for the organization
|
|
28583
|
+
* @summary Get billing alerts
|
|
28584
|
+
* @param {*} [options] Override http request option.
|
|
28585
|
+
* @throws {RequiredError}
|
|
28586
|
+
*/
|
|
28587
|
+
adminBillingAlertsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingAlertsResponse> {
|
|
28588
|
+
return localVarFp.adminBillingAlertsGet(options).then((request) => request(axios, basePath));
|
|
28589
|
+
},
|
|
28590
|
+
/**
|
|
28591
|
+
* Deletes a billing alert configuration
|
|
28592
|
+
* @summary Delete billing alert
|
|
28593
|
+
* @param {number} id Alert ID
|
|
28594
|
+
* @param {*} [options] Override http request option.
|
|
28595
|
+
* @throws {RequiredError}
|
|
28596
|
+
*/
|
|
28597
|
+
adminBillingAlertsIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseAny> {
|
|
28598
|
+
return localVarFp.adminBillingAlertsIdDelete(id, options).then((request) => request(axios, basePath));
|
|
28599
|
+
},
|
|
28600
|
+
/**
|
|
28601
|
+
* Updates an existing billing alert configuration
|
|
28602
|
+
* @summary Update billing alert
|
|
28603
|
+
* @param {number} id Alert ID
|
|
28604
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Updated alert configuration
|
|
28605
|
+
* @param {*} [options] Override http request option.
|
|
28606
|
+
* @throws {RequiredError}
|
|
28607
|
+
*/
|
|
28608
|
+
adminBillingAlertsIdPut(id: number, dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingAlert> {
|
|
28609
|
+
return localVarFp.adminBillingAlertsIdPut(id, dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
|
|
28610
|
+
},
|
|
28611
|
+
/**
|
|
28612
|
+
* Creates a new billing alert configuration for the organization
|
|
28613
|
+
* @summary Create billing alert
|
|
28614
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
28615
|
+
* @param {*} [options] Override http request option.
|
|
28616
|
+
* @throws {RequiredError}
|
|
28617
|
+
*/
|
|
28618
|
+
adminBillingAlertsPost(dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingAlert> {
|
|
28619
|
+
return localVarFp.adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
|
|
28620
|
+
},
|
|
27373
28621
|
/**
|
|
27374
28622
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
27375
28623
|
* @summary Get credit consumption
|
|
27376
28624
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
27377
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
27378
|
-
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
27379
|
-
* @param {number} [
|
|
27380
|
-
* @param {number} [
|
|
28625
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format, defaults to 7 days ago)
|
|
28626
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format, defaults to now)
|
|
28627
|
+
* @param {number} [page] Page number (default: 1)
|
|
28628
|
+
* @param {number} [pageSize] Number of results per page (default: 20, max: 100)
|
|
28629
|
+
* @param {number} [limit] Alternative: Number of results (default: 20, max: 100)
|
|
28630
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
27381
28631
|
* @param {*} [options] Override http request option.
|
|
27382
28632
|
* @throws {RequiredError}
|
|
27383
28633
|
*/
|
|
27384
|
-
adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary> {
|
|
27385
|
-
return localVarFp.adminBillingCreditConsumptionGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(axios, basePath));
|
|
28634
|
+
adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary> {
|
|
28635
|
+
return localVarFp.adminBillingCreditConsumptionGet(orgId, startDate, endDate, page, pageSize, limit, offset, options).then((request) => request(axios, basePath));
|
|
27386
28636
|
},
|
|
27387
28637
|
/**
|
|
27388
28638
|
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
@@ -27440,6 +28690,15 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
27440
28690
|
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServiceOrderSummary> {
|
|
27441
28691
|
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(axios, basePath));
|
|
27442
28692
|
},
|
|
28693
|
+
/**
|
|
28694
|
+
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
28695
|
+
* @summary Get org admin billing overview
|
|
28696
|
+
* @param {*} [options] Override http request option.
|
|
28697
|
+
* @throws {RequiredError}
|
|
28698
|
+
*/
|
|
28699
|
+
adminBillingOrgOverviewGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingOverviewResponse> {
|
|
28700
|
+
return localVarFp.adminBillingOrgOverviewGet(options).then((request) => request(axios, basePath));
|
|
28701
|
+
},
|
|
27443
28702
|
/**
|
|
27444
28703
|
* Retrieves billing summary for all organizations with filtering options
|
|
27445
28704
|
* @summary Get organization billing summary
|
|
@@ -27480,6 +28739,15 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
27480
28739
|
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary> {
|
|
27481
28740
|
return localVarFp.adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(axios, basePath));
|
|
27482
28741
|
},
|
|
28742
|
+
/**
|
|
28743
|
+
* Returns saved payment cards from Razorpay for the organization
|
|
28744
|
+
* @summary Get saved payment cards
|
|
28745
|
+
* @param {*} [options] Override http request option.
|
|
28746
|
+
* @throws {RequiredError}
|
|
28747
|
+
*/
|
|
28748
|
+
adminBillingSavedCardsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesSavedCardsResponse> {
|
|
28749
|
+
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
28750
|
+
},
|
|
27483
28751
|
};
|
|
27484
28752
|
};
|
|
27485
28753
|
|
|
@@ -27490,20 +28758,70 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
27490
28758
|
* @extends {BaseAPI}
|
|
27491
28759
|
*/
|
|
27492
28760
|
export class BillingDashboardApi extends BaseAPI {
|
|
28761
|
+
/**
|
|
28762
|
+
* Returns all billing alerts configured for the organization
|
|
28763
|
+
* @summary Get billing alerts
|
|
28764
|
+
* @param {*} [options] Override http request option.
|
|
28765
|
+
* @throws {RequiredError}
|
|
28766
|
+
* @memberof BillingDashboardApi
|
|
28767
|
+
*/
|
|
28768
|
+
public adminBillingAlertsGet(options?: RawAxiosRequestConfig) {
|
|
28769
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsGet(options).then((request) => request(this.axios, this.basePath));
|
|
28770
|
+
}
|
|
28771
|
+
|
|
28772
|
+
/**
|
|
28773
|
+
* Deletes a billing alert configuration
|
|
28774
|
+
* @summary Delete billing alert
|
|
28775
|
+
* @param {number} id Alert ID
|
|
28776
|
+
* @param {*} [options] Override http request option.
|
|
28777
|
+
* @throws {RequiredError}
|
|
28778
|
+
* @memberof BillingDashboardApi
|
|
28779
|
+
*/
|
|
28780
|
+
public adminBillingAlertsIdDelete(id: number, options?: RawAxiosRequestConfig) {
|
|
28781
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
28782
|
+
}
|
|
28783
|
+
|
|
28784
|
+
/**
|
|
28785
|
+
* Updates an existing billing alert configuration
|
|
28786
|
+
* @summary Update billing alert
|
|
28787
|
+
* @param {number} id Alert ID
|
|
28788
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Updated alert configuration
|
|
28789
|
+
* @param {*} [options] Override http request option.
|
|
28790
|
+
* @throws {RequiredError}
|
|
28791
|
+
* @memberof BillingDashboardApi
|
|
28792
|
+
*/
|
|
28793
|
+
public adminBillingAlertsIdPut(id: number, dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig) {
|
|
28794
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsIdPut(id, dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28795
|
+
}
|
|
28796
|
+
|
|
28797
|
+
/**
|
|
28798
|
+
* Creates a new billing alert configuration for the organization
|
|
28799
|
+
* @summary Create billing alert
|
|
28800
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
28801
|
+
* @param {*} [options] Override http request option.
|
|
28802
|
+
* @throws {RequiredError}
|
|
28803
|
+
* @memberof BillingDashboardApi
|
|
28804
|
+
*/
|
|
28805
|
+
public adminBillingAlertsPost(dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig) {
|
|
28806
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28807
|
+
}
|
|
28808
|
+
|
|
27493
28809
|
/**
|
|
27494
28810
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
27495
28811
|
* @summary Get credit consumption
|
|
27496
28812
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
27497
|
-
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
27498
|
-
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
27499
|
-
* @param {number} [
|
|
27500
|
-
* @param {number} [
|
|
28813
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format, defaults to 7 days ago)
|
|
28814
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format, defaults to now)
|
|
28815
|
+
* @param {number} [page] Page number (default: 1)
|
|
28816
|
+
* @param {number} [pageSize] Number of results per page (default: 20, max: 100)
|
|
28817
|
+
* @param {number} [limit] Alternative: Number of results (default: 20, max: 100)
|
|
28818
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
27501
28819
|
* @param {*} [options] Override http request option.
|
|
27502
28820
|
* @throws {RequiredError}
|
|
27503
28821
|
* @memberof BillingDashboardApi
|
|
27504
28822
|
*/
|
|
27505
|
-
public adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
|
|
27506
|
-
return BillingDashboardApiFp(this.configuration).adminBillingCreditConsumptionGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
28823
|
+
public adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
|
|
28824
|
+
return BillingDashboardApiFp(this.configuration).adminBillingCreditConsumptionGet(orgId, startDate, endDate, page, pageSize, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
27507
28825
|
}
|
|
27508
28826
|
|
|
27509
28827
|
/**
|
|
@@ -27570,6 +28888,17 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
27570
28888
|
return BillingDashboardApiFp(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
27571
28889
|
}
|
|
27572
28890
|
|
|
28891
|
+
/**
|
|
28892
|
+
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
28893
|
+
* @summary Get org admin billing overview
|
|
28894
|
+
* @param {*} [options] Override http request option.
|
|
28895
|
+
* @throws {RequiredError}
|
|
28896
|
+
* @memberof BillingDashboardApi
|
|
28897
|
+
*/
|
|
28898
|
+
public adminBillingOrgOverviewGet(options?: RawAxiosRequestConfig) {
|
|
28899
|
+
return BillingDashboardApiFp(this.configuration).adminBillingOrgOverviewGet(options).then((request) => request(this.axios, this.basePath));
|
|
28900
|
+
}
|
|
28901
|
+
|
|
27573
28902
|
/**
|
|
27574
28903
|
* Retrieves billing summary for all organizations with filtering options
|
|
27575
28904
|
* @summary Get organization billing summary
|
|
@@ -27615,6 +28944,17 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
27615
28944
|
public adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
|
|
27616
28945
|
return BillingDashboardApiFp(this.configuration).adminBillingPaymentTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
27617
28946
|
}
|
|
28947
|
+
|
|
28948
|
+
/**
|
|
28949
|
+
* Returns saved payment cards from Razorpay for the organization
|
|
28950
|
+
* @summary Get saved payment cards
|
|
28951
|
+
* @param {*} [options] Override http request option.
|
|
28952
|
+
* @throws {RequiredError}
|
|
28953
|
+
* @memberof BillingDashboardApi
|
|
28954
|
+
*/
|
|
28955
|
+
public adminBillingSavedCardsGet(options?: RawAxiosRequestConfig) {
|
|
28956
|
+
return BillingDashboardApiFp(this.configuration).adminBillingSavedCardsGet(options).then((request) => request(this.axios, this.basePath));
|
|
28957
|
+
}
|
|
27618
28958
|
}
|
|
27619
28959
|
|
|
27620
28960
|
|