@seekora-ai/admin-api 1.0.98 → 1.0.99
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 +13 -2
- package/api.ts +525 -0
- package/dist/api.d.ts +409 -0
- package/dist/api.js +210 -0
- package/dist/esm/api.d.ts +409 -0
- package/dist/esm/api.js +210 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.99.tgz +0 -0
- package/seekora-ai-admin-api-1.0.98.tgz +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -7774,6 +7774,49 @@ export declare const DataTypesBillingAlertRequestAlertTypeEnum: {
|
|
|
7774
7774
|
readonly DaysRemaining: "days_remaining";
|
|
7775
7775
|
};
|
|
7776
7776
|
export type DataTypesBillingAlertRequestAlertTypeEnum = typeof DataTypesBillingAlertRequestAlertTypeEnum[keyof typeof DataTypesBillingAlertRequestAlertTypeEnum];
|
|
7777
|
+
/**
|
|
7778
|
+
*
|
|
7779
|
+
* @export
|
|
7780
|
+
* @interface DataTypesBillingOrderDetailsResponse
|
|
7781
|
+
*/
|
|
7782
|
+
export interface DataTypesBillingOrderDetailsResponse {
|
|
7783
|
+
/**
|
|
7784
|
+
* Whether user can pay pending invoices
|
|
7785
|
+
* @type {boolean}
|
|
7786
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7787
|
+
*/
|
|
7788
|
+
'can_pay'?: boolean;
|
|
7789
|
+
/**
|
|
7790
|
+
* Array of invoices for subscriptions
|
|
7791
|
+
* @type {Array<DataTypesInvoice>}
|
|
7792
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7793
|
+
*/
|
|
7794
|
+
'invoices'?: Array<DataTypesInvoice>;
|
|
7795
|
+
/**
|
|
7796
|
+
*
|
|
7797
|
+
* @type {DataTypesOrder}
|
|
7798
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7799
|
+
*/
|
|
7800
|
+
'order'?: DataTypesOrder;
|
|
7801
|
+
/**
|
|
7802
|
+
* Total pending invoice amount
|
|
7803
|
+
* @type {number}
|
|
7804
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7805
|
+
*/
|
|
7806
|
+
'pending_amount'?: number;
|
|
7807
|
+
/**
|
|
7808
|
+
* Plan info for subscription orders
|
|
7809
|
+
* @type {DataTypesCreditPlanDetails}
|
|
7810
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7811
|
+
*/
|
|
7812
|
+
'plan_details'?: DataTypesCreditPlanDetails;
|
|
7813
|
+
/**
|
|
7814
|
+
*
|
|
7815
|
+
* @type {Array<DataTypesOrderTransactionDisplay>}
|
|
7816
|
+
* @memberof DataTypesBillingOrderDetailsResponse
|
|
7817
|
+
*/
|
|
7818
|
+
'transactions'?: Array<DataTypesOrderTransactionDisplay>;
|
|
7819
|
+
}
|
|
7777
7820
|
/**
|
|
7778
7821
|
*
|
|
7779
7822
|
* @export
|
|
@@ -9310,6 +9353,67 @@ export interface DataTypesCreditPlan {
|
|
|
9310
9353
|
*/
|
|
9311
9354
|
'validity_days'?: number;
|
|
9312
9355
|
}
|
|
9356
|
+
/**
|
|
9357
|
+
*
|
|
9358
|
+
* @export
|
|
9359
|
+
* @interface DataTypesCreditPlanDetails
|
|
9360
|
+
*/
|
|
9361
|
+
export interface DataTypesCreditPlanDetails {
|
|
9362
|
+
/**
|
|
9363
|
+
*
|
|
9364
|
+
* @type {string}
|
|
9365
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9366
|
+
*/
|
|
9367
|
+
'billing_cycle'?: string;
|
|
9368
|
+
/**
|
|
9369
|
+
*
|
|
9370
|
+
* @type {number}
|
|
9371
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9372
|
+
*/
|
|
9373
|
+
'credit_amount'?: number;
|
|
9374
|
+
/**
|
|
9375
|
+
*
|
|
9376
|
+
* @type {string}
|
|
9377
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9378
|
+
*/
|
|
9379
|
+
'currency'?: string;
|
|
9380
|
+
/**
|
|
9381
|
+
*
|
|
9382
|
+
* @type {string}
|
|
9383
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9384
|
+
*/
|
|
9385
|
+
'description'?: string;
|
|
9386
|
+
/**
|
|
9387
|
+
*
|
|
9388
|
+
* @type {boolean}
|
|
9389
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9390
|
+
*/
|
|
9391
|
+
'is_active'?: boolean;
|
|
9392
|
+
/**
|
|
9393
|
+
*
|
|
9394
|
+
* @type {number}
|
|
9395
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9396
|
+
*/
|
|
9397
|
+
'plan_id'?: number;
|
|
9398
|
+
/**
|
|
9399
|
+
*
|
|
9400
|
+
* @type {string}
|
|
9401
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9402
|
+
*/
|
|
9403
|
+
'plan_name'?: string;
|
|
9404
|
+
/**
|
|
9405
|
+
*
|
|
9406
|
+
* @type {number}
|
|
9407
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9408
|
+
*/
|
|
9409
|
+
'price'?: number;
|
|
9410
|
+
/**
|
|
9411
|
+
*
|
|
9412
|
+
* @type {number}
|
|
9413
|
+
* @memberof DataTypesCreditPlanDetails
|
|
9414
|
+
*/
|
|
9415
|
+
'validity_days'?: number;
|
|
9416
|
+
}
|
|
9313
9417
|
/**
|
|
9314
9418
|
*
|
|
9315
9419
|
* @export
|
|
@@ -9489,6 +9593,37 @@ export interface DataTypesCustomWordWithStatus {
|
|
|
9489
9593
|
*/
|
|
9490
9594
|
'word'?: string;
|
|
9491
9595
|
}
|
|
9596
|
+
/**
|
|
9597
|
+
*
|
|
9598
|
+
* @export
|
|
9599
|
+
* @interface DataTypesCustomerInfo
|
|
9600
|
+
*/
|
|
9601
|
+
export interface DataTypesCustomerInfo {
|
|
9602
|
+
/**
|
|
9603
|
+
*
|
|
9604
|
+
* @type {string}
|
|
9605
|
+
* @memberof DataTypesCustomerInfo
|
|
9606
|
+
*/
|
|
9607
|
+
'address'?: string;
|
|
9608
|
+
/**
|
|
9609
|
+
*
|
|
9610
|
+
* @type {string}
|
|
9611
|
+
* @memberof DataTypesCustomerInfo
|
|
9612
|
+
*/
|
|
9613
|
+
'email'?: string;
|
|
9614
|
+
/**
|
|
9615
|
+
*
|
|
9616
|
+
* @type {string}
|
|
9617
|
+
* @memberof DataTypesCustomerInfo
|
|
9618
|
+
*/
|
|
9619
|
+
'name'?: string;
|
|
9620
|
+
/**
|
|
9621
|
+
*
|
|
9622
|
+
* @type {string}
|
|
9623
|
+
* @memberof DataTypesCustomerInfo
|
|
9624
|
+
*/
|
|
9625
|
+
'phone'?: string;
|
|
9626
|
+
}
|
|
9492
9627
|
/**
|
|
9493
9628
|
*
|
|
9494
9629
|
* @export
|
|
@@ -10595,6 +10730,81 @@ export interface DataTypesGatewayListResponse {
|
|
|
10595
10730
|
*/
|
|
10596
10731
|
'gateways'?: Array<DataTypesGatewayInfo>;
|
|
10597
10732
|
}
|
|
10733
|
+
/**
|
|
10734
|
+
*
|
|
10735
|
+
* @export
|
|
10736
|
+
* @interface DataTypesGenericResponseArrayDataTypesInvoice
|
|
10737
|
+
*/
|
|
10738
|
+
export interface DataTypesGenericResponseArrayDataTypesInvoice {
|
|
10739
|
+
/**
|
|
10740
|
+
*
|
|
10741
|
+
* @type {Array<DataTypesInvoice>}
|
|
10742
|
+
* @memberof DataTypesGenericResponseArrayDataTypesInvoice
|
|
10743
|
+
*/
|
|
10744
|
+
'data'?: Array<DataTypesInvoice>;
|
|
10745
|
+
/**
|
|
10746
|
+
*
|
|
10747
|
+
* @type {string}
|
|
10748
|
+
* @memberof DataTypesGenericResponseArrayDataTypesInvoice
|
|
10749
|
+
*/
|
|
10750
|
+
'message'?: string;
|
|
10751
|
+
/**
|
|
10752
|
+
*
|
|
10753
|
+
* @type {number}
|
|
10754
|
+
* @memberof DataTypesGenericResponseArrayDataTypesInvoice
|
|
10755
|
+
*/
|
|
10756
|
+
'status'?: number;
|
|
10757
|
+
}
|
|
10758
|
+
/**
|
|
10759
|
+
*
|
|
10760
|
+
* @export
|
|
10761
|
+
* @interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
|
|
10762
|
+
*/
|
|
10763
|
+
export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
|
|
10764
|
+
/**
|
|
10765
|
+
*
|
|
10766
|
+
* @type {DataTypesBillingOrderDetailsResponse}
|
|
10767
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
|
|
10768
|
+
*/
|
|
10769
|
+
'data'?: DataTypesBillingOrderDetailsResponse;
|
|
10770
|
+
/**
|
|
10771
|
+
*
|
|
10772
|
+
* @type {string}
|
|
10773
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
|
|
10774
|
+
*/
|
|
10775
|
+
'message'?: string;
|
|
10776
|
+
/**
|
|
10777
|
+
*
|
|
10778
|
+
* @type {number}
|
|
10779
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOrderDetailsResponse
|
|
10780
|
+
*/
|
|
10781
|
+
'status'?: number;
|
|
10782
|
+
}
|
|
10783
|
+
/**
|
|
10784
|
+
*
|
|
10785
|
+
* @export
|
|
10786
|
+
* @interface DataTypesGenericResponseDataTypesPayInvoiceResponse
|
|
10787
|
+
*/
|
|
10788
|
+
export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
|
|
10789
|
+
/**
|
|
10790
|
+
*
|
|
10791
|
+
* @type {DataTypesPayInvoiceResponse}
|
|
10792
|
+
* @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
|
|
10793
|
+
*/
|
|
10794
|
+
'data'?: DataTypesPayInvoiceResponse;
|
|
10795
|
+
/**
|
|
10796
|
+
*
|
|
10797
|
+
* @type {string}
|
|
10798
|
+
* @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
|
|
10799
|
+
*/
|
|
10800
|
+
'message'?: string;
|
|
10801
|
+
/**
|
|
10802
|
+
*
|
|
10803
|
+
* @type {number}
|
|
10804
|
+
* @memberof DataTypesGenericResponseDataTypesPayInvoiceResponse
|
|
10805
|
+
*/
|
|
10806
|
+
'status'?: number;
|
|
10807
|
+
}
|
|
10598
10808
|
/**
|
|
10599
10809
|
*
|
|
10600
10810
|
* @export
|
|
@@ -11224,6 +11434,12 @@ export interface DataTypesInvoice {
|
|
|
11224
11434
|
* @memberof DataTypesInvoice
|
|
11225
11435
|
*/
|
|
11226
11436
|
'notes'?: string;
|
|
11437
|
+
/**
|
|
11438
|
+
* Direct FK to orders table (added in migration 20251031)
|
|
11439
|
+
* @type {number}
|
|
11440
|
+
* @memberof DataTypesInvoice
|
|
11441
|
+
*/
|
|
11442
|
+
'order_id'?: number;
|
|
11227
11443
|
/**
|
|
11228
11444
|
*
|
|
11229
11445
|
* @type {number}
|
|
@@ -13312,6 +13528,96 @@ export interface DataTypesParentMenusListResponse {
|
|
|
13312
13528
|
*/
|
|
13313
13529
|
'status'?: number;
|
|
13314
13530
|
}
|
|
13531
|
+
/**
|
|
13532
|
+
*
|
|
13533
|
+
* @export
|
|
13534
|
+
* @interface DataTypesPayInvoiceRequest
|
|
13535
|
+
*/
|
|
13536
|
+
export interface DataTypesPayInvoiceRequest {
|
|
13537
|
+
/**
|
|
13538
|
+
*
|
|
13539
|
+
* @type {DataTypesCustomerInfo}
|
|
13540
|
+
* @memberof DataTypesPayInvoiceRequest
|
|
13541
|
+
*/
|
|
13542
|
+
'customer_info'?: DataTypesCustomerInfo;
|
|
13543
|
+
/**
|
|
13544
|
+
*
|
|
13545
|
+
* @type {string}
|
|
13546
|
+
* @memberof DataTypesPayInvoiceRequest
|
|
13547
|
+
*/
|
|
13548
|
+
'invoice_id'?: string;
|
|
13549
|
+
/**
|
|
13550
|
+
*
|
|
13551
|
+
* @type {{ [key: string]: any; }}
|
|
13552
|
+
* @memberof DataTypesPayInvoiceRequest
|
|
13553
|
+
*/
|
|
13554
|
+
'metadata'?: {
|
|
13555
|
+
[key: string]: any;
|
|
13556
|
+
};
|
|
13557
|
+
/**
|
|
13558
|
+
* card, upi, wallet, netbanking
|
|
13559
|
+
* @type {string}
|
|
13560
|
+
* @memberof DataTypesPayInvoiceRequest
|
|
13561
|
+
*/
|
|
13562
|
+
'payment_method'?: string;
|
|
13563
|
+
}
|
|
13564
|
+
/**
|
|
13565
|
+
*
|
|
13566
|
+
* @export
|
|
13567
|
+
* @interface DataTypesPayInvoiceResponse
|
|
13568
|
+
*/
|
|
13569
|
+
export interface DataTypesPayInvoiceResponse {
|
|
13570
|
+
/**
|
|
13571
|
+
*
|
|
13572
|
+
* @type {number}
|
|
13573
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13574
|
+
*/
|
|
13575
|
+
'amount'?: number;
|
|
13576
|
+
/**
|
|
13577
|
+
*
|
|
13578
|
+
* @type {string}
|
|
13579
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13580
|
+
*/
|
|
13581
|
+
'currency'?: string;
|
|
13582
|
+
/**
|
|
13583
|
+
*
|
|
13584
|
+
* @type {string}
|
|
13585
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13586
|
+
*/
|
|
13587
|
+
'gateway'?: string;
|
|
13588
|
+
/**
|
|
13589
|
+
*
|
|
13590
|
+
* @type {string}
|
|
13591
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13592
|
+
*/
|
|
13593
|
+
'gateway_order_id'?: string;
|
|
13594
|
+
/**
|
|
13595
|
+
*
|
|
13596
|
+
* @type {{ [key: string]: any; }}
|
|
13597
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13598
|
+
*/
|
|
13599
|
+
'gateway_response'?: {
|
|
13600
|
+
[key: string]: any;
|
|
13601
|
+
};
|
|
13602
|
+
/**
|
|
13603
|
+
*
|
|
13604
|
+
* @type {string}
|
|
13605
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13606
|
+
*/
|
|
13607
|
+
'payment_order_id'?: string;
|
|
13608
|
+
/**
|
|
13609
|
+
*
|
|
13610
|
+
* @type {string}
|
|
13611
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13612
|
+
*/
|
|
13613
|
+
'payment_url'?: string;
|
|
13614
|
+
/**
|
|
13615
|
+
*
|
|
13616
|
+
* @type {string}
|
|
13617
|
+
* @memberof DataTypesPayInvoiceResponse
|
|
13618
|
+
*/
|
|
13619
|
+
'status'?: string;
|
|
13620
|
+
}
|
|
13315
13621
|
/**
|
|
13316
13622
|
*
|
|
13317
13623
|
* @export
|
|
@@ -21944,6 +22250,14 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
21944
22250
|
* @throws {RequiredError}
|
|
21945
22251
|
*/
|
|
21946
22252
|
adminBillingInvoicesAutoGeneratePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22253
|
+
/**
|
|
22254
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
22255
|
+
* @summary Generate invoices for an order
|
|
22256
|
+
* @param {number} orderId Order ID
|
|
22257
|
+
* @param {*} [options] Override http request option.
|
|
22258
|
+
* @throws {RequiredError}
|
|
22259
|
+
*/
|
|
22260
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost: (orderId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21947
22261
|
/**
|
|
21948
22262
|
* Generates an invoice automatically from a completed payment
|
|
21949
22263
|
* @summary Generate invoice from payment
|
|
@@ -21998,6 +22312,15 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
21998
22312
|
* @throws {RequiredError}
|
|
21999
22313
|
*/
|
|
22000
22314
|
adminBillingInvoicesIdPut: (id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22315
|
+
/**
|
|
22316
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
22317
|
+
* @summary Pay a pending invoice
|
|
22318
|
+
* @param {string} invoiceId Invoice ID
|
|
22319
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
22320
|
+
* @param {*} [options] Override http request option.
|
|
22321
|
+
* @throws {RequiredError}
|
|
22322
|
+
*/
|
|
22323
|
+
adminBillingInvoicesInvoiceIdPayPost: (invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22001
22324
|
/**
|
|
22002
22325
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
22003
22326
|
* @summary Get orders
|
|
@@ -22010,6 +22333,14 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
22010
22333
|
* @throws {RequiredError}
|
|
22011
22334
|
*/
|
|
22012
22335
|
adminBillingOrdersGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22336
|
+
/**
|
|
22337
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
22338
|
+
* @summary Get single order with transactions and invoices
|
|
22339
|
+
* @param {number} id Order ID
|
|
22340
|
+
* @param {*} [options] Override http request option.
|
|
22341
|
+
* @throws {RequiredError}
|
|
22342
|
+
*/
|
|
22343
|
+
adminBillingOrdersIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
22013
22344
|
/**
|
|
22014
22345
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
22015
22346
|
* @summary Get org admin billing overview
|
|
@@ -22177,6 +22508,14 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
22177
22508
|
* @throws {RequiredError}
|
|
22178
22509
|
*/
|
|
22179
22510
|
adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
22511
|
+
/**
|
|
22512
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
22513
|
+
* @summary Generate invoices for an order
|
|
22514
|
+
* @param {number} orderId Order ID
|
|
22515
|
+
* @param {*} [options] Override http request option.
|
|
22516
|
+
* @throws {RequiredError}
|
|
22517
|
+
*/
|
|
22518
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>>;
|
|
22180
22519
|
/**
|
|
22181
22520
|
* Generates an invoice automatically from a completed payment
|
|
22182
22521
|
* @summary Generate invoice from payment
|
|
@@ -22231,6 +22570,15 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
22231
22570
|
* @throws {RequiredError}
|
|
22232
22571
|
*/
|
|
22233
22572
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
22573
|
+
/**
|
|
22574
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
22575
|
+
* @summary Pay a pending invoice
|
|
22576
|
+
* @param {string} invoiceId Invoice ID
|
|
22577
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
22578
|
+
* @param {*} [options] Override http request option.
|
|
22579
|
+
* @throws {RequiredError}
|
|
22580
|
+
*/
|
|
22581
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>>;
|
|
22234
22582
|
/**
|
|
22235
22583
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
22236
22584
|
* @summary Get orders
|
|
@@ -22243,6 +22591,14 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
22243
22591
|
* @throws {RequiredError}
|
|
22244
22592
|
*/
|
|
22245
22593
|
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
22594
|
+
/**
|
|
22595
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
22596
|
+
* @summary Get single order with transactions and invoices
|
|
22597
|
+
* @param {number} id Order ID
|
|
22598
|
+
* @param {*} [options] Override http request option.
|
|
22599
|
+
* @throws {RequiredError}
|
|
22600
|
+
*/
|
|
22601
|
+
adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse>>;
|
|
22246
22602
|
/**
|
|
22247
22603
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
22248
22604
|
* @summary Get org admin billing overview
|
|
@@ -22410,6 +22766,14 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
22410
22766
|
* @throws {RequiredError}
|
|
22411
22767
|
*/
|
|
22412
22768
|
adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
22769
|
+
/**
|
|
22770
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
22771
|
+
* @summary Generate invoices for an order
|
|
22772
|
+
* @param {number} orderId Order ID
|
|
22773
|
+
* @param {*} [options] Override http request option.
|
|
22774
|
+
* @throws {RequiredError}
|
|
22775
|
+
*/
|
|
22776
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>;
|
|
22413
22777
|
/**
|
|
22414
22778
|
* Generates an invoice automatically from a completed payment
|
|
22415
22779
|
* @summary Generate invoice from payment
|
|
@@ -22464,6 +22828,15 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
22464
22828
|
* @throws {RequiredError}
|
|
22465
22829
|
*/
|
|
22466
22830
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
22831
|
+
/**
|
|
22832
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
22833
|
+
* @summary Pay a pending invoice
|
|
22834
|
+
* @param {string} invoiceId Invoice ID
|
|
22835
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
22836
|
+
* @param {*} [options] Override http request option.
|
|
22837
|
+
* @throws {RequiredError}
|
|
22838
|
+
*/
|
|
22839
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPayInvoiceResponse>;
|
|
22467
22840
|
/**
|
|
22468
22841
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
22469
22842
|
* @summary Get orders
|
|
@@ -22476,6 +22849,14 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
22476
22849
|
* @throws {RequiredError}
|
|
22477
22850
|
*/
|
|
22478
22851
|
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
22852
|
+
/**
|
|
22853
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
22854
|
+
* @summary Get single order with transactions and invoices
|
|
22855
|
+
* @param {number} id Order ID
|
|
22856
|
+
* @param {*} [options] Override http request option.
|
|
22857
|
+
* @throws {RequiredError}
|
|
22858
|
+
*/
|
|
22859
|
+
adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse>;
|
|
22479
22860
|
/**
|
|
22480
22861
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
22481
22862
|
* @summary Get org admin billing overview
|
|
@@ -22654,6 +23035,15 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
22654
23035
|
* @memberof BillingDashboardApi
|
|
22655
23036
|
*/
|
|
22656
23037
|
adminBillingInvoicesAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
23038
|
+
/**
|
|
23039
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
23040
|
+
* @summary Generate invoices for an order
|
|
23041
|
+
* @param {number} orderId Order ID
|
|
23042
|
+
* @param {*} [options] Override http request option.
|
|
23043
|
+
* @throws {RequiredError}
|
|
23044
|
+
* @memberof BillingDashboardApi
|
|
23045
|
+
*/
|
|
23046
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayDataTypesInvoice, any, {}>>;
|
|
22657
23047
|
/**
|
|
22658
23048
|
* Generates an invoice automatically from a completed payment
|
|
22659
23049
|
* @summary Generate invoice from payment
|
|
@@ -22714,6 +23104,16 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
22714
23104
|
* @memberof BillingDashboardApi
|
|
22715
23105
|
*/
|
|
22716
23106
|
adminBillingInvoicesIdPut(id: string, dataTypesUpdateInvoiceRequest: DataTypesUpdateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
23107
|
+
/**
|
|
23108
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
23109
|
+
* @summary Pay a pending invoice
|
|
23110
|
+
* @param {string} invoiceId Invoice ID
|
|
23111
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
23112
|
+
* @param {*} [options] Override http request option.
|
|
23113
|
+
* @throws {RequiredError}
|
|
23114
|
+
* @memberof BillingDashboardApi
|
|
23115
|
+
*/
|
|
23116
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId: string, dataTypesPayInvoiceRequest?: DataTypesPayInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesPayInvoiceResponse, any, {}>>;
|
|
22717
23117
|
/**
|
|
22718
23118
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
22719
23119
|
* @summary Get orders
|
|
@@ -22727,6 +23127,15 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
22727
23127
|
* @memberof BillingDashboardApi
|
|
22728
23128
|
*/
|
|
22729
23129
|
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
23130
|
+
/**
|
|
23131
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
23132
|
+
* @summary Get single order with transactions and invoices
|
|
23133
|
+
* @param {number} id Order ID
|
|
23134
|
+
* @param {*} [options] Override http request option.
|
|
23135
|
+
* @throws {RequiredError}
|
|
23136
|
+
* @memberof BillingDashboardApi
|
|
23137
|
+
*/
|
|
23138
|
+
adminBillingOrdersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesBillingOrderDetailsResponse, any, {}>>;
|
|
22730
23139
|
/**
|
|
22731
23140
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
22732
23141
|
* @summary Get org admin billing overview
|