@seekora-ai/admin-api 1.1.8 → 1.1.10
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 +2 -2
- package/api.ts +317 -103
- package/dist/api.d.ts +194 -82
- package/dist/api.js +283 -101
- package/dist/esm/api.d.ts +194 -82
- package/dist/esm/api.js +283 -101
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.10.tgz +0 -0
- package/seekora-ai-admin-api-1.1.8.tgz +0 -0
package/dist/esm/api.d.ts
CHANGED
|
@@ -7744,7 +7744,7 @@ export interface DataTypesBillingAlertRequest {
|
|
|
7744
7744
|
* @type {string}
|
|
7745
7745
|
* @memberof DataTypesBillingAlertRequest
|
|
7746
7746
|
*/
|
|
7747
|
-
'alert_type'
|
|
7747
|
+
'alert_type'?: DataTypesBillingAlertRequestAlertTypeEnum;
|
|
7748
7748
|
/**
|
|
7749
7749
|
* Minutes between alerts (default: 60)
|
|
7750
7750
|
* @type {number}
|
|
@@ -7790,7 +7790,7 @@ export interface DataTypesBillingAlertRequest {
|
|
|
7790
7790
|
* @type {string}
|
|
7791
7791
|
* @memberof DataTypesBillingAlertRequest
|
|
7792
7792
|
*/
|
|
7793
|
-
'threshold_unit'
|
|
7793
|
+
'threshold_unit'?: DataTypesBillingAlertRequestThresholdUnitEnum;
|
|
7794
7794
|
/**
|
|
7795
7795
|
* Absolute threshold value (exclusive with threshold_percentage)
|
|
7796
7796
|
* @type {number}
|
|
@@ -15514,6 +15514,14 @@ export interface DataTypesProfileResponse {
|
|
|
15514
15514
|
* @memberof DataTypesProfileResponse
|
|
15515
15515
|
*/
|
|
15516
15516
|
'profileimagepath'?: string;
|
|
15517
|
+
/**
|
|
15518
|
+
*
|
|
15519
|
+
* @type {{ [key: string]: any; }}
|
|
15520
|
+
* @memberof DataTypesProfileResponse
|
|
15521
|
+
*/
|
|
15522
|
+
'sso_config'?: {
|
|
15523
|
+
[key: string]: any;
|
|
15524
|
+
};
|
|
15517
15525
|
/**
|
|
15518
15526
|
*
|
|
15519
15527
|
* @type {string}
|
|
@@ -25141,41 +25149,53 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
25141
25149
|
*/
|
|
25142
25150
|
adminBillingCreditConsumptionGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25143
25151
|
/**
|
|
25144
|
-
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
25152
|
+
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25145
25153
|
* @summary Get credit ledger
|
|
25146
25154
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25147
25155
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25148
25156
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25149
|
-
* @param {number} [
|
|
25150
|
-
* @param {number} [
|
|
25157
|
+
* @param {number} [page] Page number (default: 1)
|
|
25158
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25159
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25160
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25161
|
+
* @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
|
|
25162
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25151
25163
|
* @param {*} [options] Override http request option.
|
|
25152
25164
|
* @throws {RequiredError}
|
|
25153
25165
|
*/
|
|
25154
|
-
adminBillingCreditLedgerGet: (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25166
|
+
adminBillingCreditLedgerGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25155
25167
|
/**
|
|
25156
|
-
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization
|
|
25168
|
+
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25157
25169
|
* @summary Get credit purchases
|
|
25158
25170
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25159
25171
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25160
25172
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25161
|
-
* @param {number} [
|
|
25162
|
-
* @param {number} [
|
|
25173
|
+
* @param {number} [page] Page number (default: 1)
|
|
25174
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25175
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25176
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25177
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
|
|
25178
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25163
25179
|
* @param {*} [options] Override http request option.
|
|
25164
25180
|
* @throws {RequiredError}
|
|
25165
25181
|
*/
|
|
25166
|
-
adminBillingCreditPurchasesGet: (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25182
|
+
adminBillingCreditPurchasesGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25167
25183
|
/**
|
|
25168
|
-
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization
|
|
25184
|
+
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25169
25185
|
* @summary Get credit transactions
|
|
25170
25186
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25171
25187
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25172
25188
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25173
|
-
* @param {number} [
|
|
25174
|
-
* @param {number} [
|
|
25189
|
+
* @param {number} [page] Page number (default: 1)
|
|
25190
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25191
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25192
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25193
|
+
* @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
|
|
25194
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25175
25195
|
* @param {*} [options] Override http request option.
|
|
25176
25196
|
* @throws {RequiredError}
|
|
25177
25197
|
*/
|
|
25178
|
-
adminBillingCreditTransactionsGet: (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25198
|
+
adminBillingCreditTransactionsGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25179
25199
|
/**
|
|
25180
25200
|
* Automatically generates invoices for all completed payments without invoices
|
|
25181
25201
|
* @summary Auto-generate invoices
|
|
@@ -25208,10 +25228,12 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
25208
25228
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25209
25229
|
* @param {number} [page] Page number (default: 1)
|
|
25210
25230
|
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
25231
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
|
|
25232
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25211
25233
|
* @param {*} [options] Override http request option.
|
|
25212
25234
|
* @throws {RequiredError}
|
|
25213
25235
|
*/
|
|
25214
|
-
adminBillingInvoicesGet: (orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25236
|
+
adminBillingInvoicesGet: (orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25215
25237
|
/**
|
|
25216
25238
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
25217
25239
|
* @summary Delete invoice
|
|
@@ -25262,10 +25284,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
25262
25284
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25263
25285
|
* @param {number} [page] Page number (default: 1)
|
|
25264
25286
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25287
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
|
|
25288
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25289
|
+
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
25290
|
+
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
25291
|
+
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
25292
|
+
* @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
|
|
25265
25293
|
* @param {*} [options] Override http request option.
|
|
25266
25294
|
* @throws {RequiredError}
|
|
25267
25295
|
*/
|
|
25268
|
-
adminBillingOrdersGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25296
|
+
adminBillingOrdersGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, search?: string, status?: string, gateway?: string, paymentType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25269
25297
|
/**
|
|
25270
25298
|
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
25271
25299
|
* @summary Get single order with transactions and invoices
|
|
@@ -25311,17 +25339,21 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
25311
25339
|
*/
|
|
25312
25340
|
adminBillingOverviewNewGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25313
25341
|
/**
|
|
25314
|
-
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
25342
|
+
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25315
25343
|
* @summary Get payment transactions
|
|
25316
25344
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25317
25345
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25318
25346
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25319
|
-
* @param {number} [
|
|
25320
|
-
* @param {number} [
|
|
25347
|
+
* @param {number} [page] Page number (default: 1)
|
|
25348
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25349
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25350
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25351
|
+
* @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
|
|
25352
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25321
25353
|
* @param {*} [options] Override http request option.
|
|
25322
25354
|
* @throws {RequiredError}
|
|
25323
25355
|
*/
|
|
25324
|
-
adminBillingPaymentTransactionsGet: (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25356
|
+
adminBillingPaymentTransactionsGet: (orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25325
25357
|
/**
|
|
25326
25358
|
* Generates receipts for all completed payments without receipts in the organization
|
|
25327
25359
|
* @summary Auto-generate receipts for organization
|
|
@@ -25338,14 +25370,16 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
|
|
|
25338
25370
|
*/
|
|
25339
25371
|
adminBillingReceiptsGeneratePaymentIdPost: (paymentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25340
25372
|
/**
|
|
25341
|
-
* Retrieves a paginated list of receipts for the organization
|
|
25373
|
+
* Retrieves a paginated list of receipts for the organization. Uses page/page_size pagination like analytics APIs.
|
|
25342
25374
|
* @summary List receipts
|
|
25343
25375
|
* @param {number} [page] Page number (default: 1)
|
|
25344
25376
|
* @param {number} [pageSize] Page size (default: 20, max: 100)
|
|
25377
|
+
* @param {string} [sortBy] Field to sort by (id, amount, payment_date, created_at) (default: created_at)
|
|
25378
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25345
25379
|
* @param {*} [options] Override http request option.
|
|
25346
25380
|
* @throws {RequiredError}
|
|
25347
25381
|
*/
|
|
25348
|
-
adminBillingReceiptsGet: (page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25382
|
+
adminBillingReceiptsGet: (page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25349
25383
|
/**
|
|
25350
25384
|
* Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
25351
25385
|
* @summary Download receipt PDF
|
|
@@ -25450,41 +25484,53 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
25450
25484
|
*/
|
|
25451
25485
|
adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25452
25486
|
/**
|
|
25453
|
-
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
25487
|
+
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25454
25488
|
* @summary Get credit ledger
|
|
25455
25489
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25456
25490
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25457
25491
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25458
|
-
* @param {number} [
|
|
25459
|
-
* @param {number} [
|
|
25492
|
+
* @param {number} [page] Page number (default: 1)
|
|
25493
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25494
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25495
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25496
|
+
* @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
|
|
25497
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25460
25498
|
* @param {*} [options] Override http request option.
|
|
25461
25499
|
* @throws {RequiredError}
|
|
25462
25500
|
*/
|
|
25463
|
-
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25501
|
+
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25464
25502
|
/**
|
|
25465
|
-
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization
|
|
25503
|
+
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25466
25504
|
* @summary Get credit purchases
|
|
25467
25505
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25468
25506
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25469
25507
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25470
|
-
* @param {number} [
|
|
25471
|
-
* @param {number} [
|
|
25508
|
+
* @param {number} [page] Page number (default: 1)
|
|
25509
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25510
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25511
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25512
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
|
|
25513
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25472
25514
|
* @param {*} [options] Override http request option.
|
|
25473
25515
|
* @throws {RequiredError}
|
|
25474
25516
|
*/
|
|
25475
|
-
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25517
|
+
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25476
25518
|
/**
|
|
25477
|
-
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization
|
|
25519
|
+
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25478
25520
|
* @summary Get credit transactions
|
|
25479
25521
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25480
25522
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25481
25523
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25482
|
-
* @param {number} [
|
|
25483
|
-
* @param {number} [
|
|
25524
|
+
* @param {number} [page] Page number (default: 1)
|
|
25525
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25526
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25527
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25528
|
+
* @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
|
|
25529
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25484
25530
|
* @param {*} [options] Override http request option.
|
|
25485
25531
|
* @throws {RequiredError}
|
|
25486
25532
|
*/
|
|
25487
|
-
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25533
|
+
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25488
25534
|
/**
|
|
25489
25535
|
* Automatically generates invoices for all completed payments without invoices
|
|
25490
25536
|
* @summary Auto-generate invoices
|
|
@@ -25517,10 +25563,12 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
25517
25563
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25518
25564
|
* @param {number} [page] Page number (default: 1)
|
|
25519
25565
|
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
25566
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
|
|
25567
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25520
25568
|
* @param {*} [options] Override http request option.
|
|
25521
25569
|
* @throws {RequiredError}
|
|
25522
25570
|
*/
|
|
25523
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25571
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25524
25572
|
/**
|
|
25525
25573
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
25526
25574
|
* @summary Delete invoice
|
|
@@ -25571,10 +25619,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
25571
25619
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25572
25620
|
* @param {number} [page] Page number (default: 1)
|
|
25573
25621
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25622
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
|
|
25623
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25624
|
+
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
25625
|
+
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
25626
|
+
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
25627
|
+
* @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
|
|
25574
25628
|
* @param {*} [options] Override http request option.
|
|
25575
25629
|
* @throws {RequiredError}
|
|
25576
25630
|
*/
|
|
25577
|
-
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25631
|
+
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, search?: string, status?: string, gateway?: string, paymentType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25578
25632
|
/**
|
|
25579
25633
|
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
25580
25634
|
* @summary Get single order with transactions and invoices
|
|
@@ -25620,17 +25674,21 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
25620
25674
|
*/
|
|
25621
25675
|
adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25622
25676
|
/**
|
|
25623
|
-
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
25677
|
+
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25624
25678
|
* @summary Get payment transactions
|
|
25625
25679
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25626
25680
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25627
25681
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25628
|
-
* @param {number} [
|
|
25629
|
-
* @param {number} [
|
|
25682
|
+
* @param {number} [page] Page number (default: 1)
|
|
25683
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25684
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25685
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25686
|
+
* @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
|
|
25687
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25630
25688
|
* @param {*} [options] Override http request option.
|
|
25631
25689
|
* @throws {RequiredError}
|
|
25632
25690
|
*/
|
|
25633
|
-
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25691
|
+
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25634
25692
|
/**
|
|
25635
25693
|
* Generates receipts for all completed payments without receipts in the organization
|
|
25636
25694
|
* @summary Auto-generate receipts for organization
|
|
@@ -25647,14 +25705,16 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
|
|
|
25647
25705
|
*/
|
|
25648
25706
|
adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesReceipt>>;
|
|
25649
25707
|
/**
|
|
25650
|
-
* Retrieves a paginated list of receipts for the organization
|
|
25708
|
+
* Retrieves a paginated list of receipts for the organization. Uses page/page_size pagination like analytics APIs.
|
|
25651
25709
|
* @summary List receipts
|
|
25652
25710
|
* @param {number} [page] Page number (default: 1)
|
|
25653
25711
|
* @param {number} [pageSize] Page size (default: 20, max: 100)
|
|
25712
|
+
* @param {string} [sortBy] Field to sort by (id, amount, payment_date, created_at) (default: created_at)
|
|
25713
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25654
25714
|
* @param {*} [options] Override http request option.
|
|
25655
25715
|
* @throws {RequiredError}
|
|
25656
25716
|
*/
|
|
25657
|
-
adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25717
|
+
adminBillingReceiptsGet(page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
25658
25718
|
/**
|
|
25659
25719
|
* Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
25660
25720
|
* @summary Download receipt PDF
|
|
@@ -25759,41 +25819,53 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
25759
25819
|
*/
|
|
25760
25820
|
adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25761
25821
|
/**
|
|
25762
|
-
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
25822
|
+
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25763
25823
|
* @summary Get credit ledger
|
|
25764
25824
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25765
25825
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25766
25826
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25767
|
-
* @param {number} [
|
|
25768
|
-
* @param {number} [
|
|
25827
|
+
* @param {number} [page] Page number (default: 1)
|
|
25828
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25829
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25830
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25831
|
+
* @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
|
|
25832
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25769
25833
|
* @param {*} [options] Override http request option.
|
|
25770
25834
|
* @throws {RequiredError}
|
|
25771
25835
|
*/
|
|
25772
|
-
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25836
|
+
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25773
25837
|
/**
|
|
25774
|
-
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization
|
|
25838
|
+
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25775
25839
|
* @summary Get credit purchases
|
|
25776
25840
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25777
25841
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25778
25842
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25779
|
-
* @param {number} [
|
|
25780
|
-
* @param {number} [
|
|
25843
|
+
* @param {number} [page] Page number (default: 1)
|
|
25844
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25845
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25846
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25847
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
|
|
25848
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25781
25849
|
* @param {*} [options] Override http request option.
|
|
25782
25850
|
* @throws {RequiredError}
|
|
25783
25851
|
*/
|
|
25784
|
-
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25852
|
+
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25785
25853
|
/**
|
|
25786
|
-
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization
|
|
25854
|
+
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25787
25855
|
* @summary Get credit transactions
|
|
25788
25856
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25789
25857
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25790
25858
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25791
|
-
* @param {number} [
|
|
25792
|
-
* @param {number} [
|
|
25859
|
+
* @param {number} [page] Page number (default: 1)
|
|
25860
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25861
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
25862
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
25863
|
+
* @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
|
|
25864
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25793
25865
|
* @param {*} [options] Override http request option.
|
|
25794
25866
|
* @throws {RequiredError}
|
|
25795
25867
|
*/
|
|
25796
|
-
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25868
|
+
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25797
25869
|
/**
|
|
25798
25870
|
* Automatically generates invoices for all completed payments without invoices
|
|
25799
25871
|
* @summary Auto-generate invoices
|
|
@@ -25826,10 +25898,12 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
25826
25898
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25827
25899
|
* @param {number} [page] Page number (default: 1)
|
|
25828
25900
|
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
25901
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
|
|
25902
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25829
25903
|
* @param {*} [options] Override http request option.
|
|
25830
25904
|
* @throws {RequiredError}
|
|
25831
25905
|
*/
|
|
25832
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25906
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25833
25907
|
/**
|
|
25834
25908
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
25835
25909
|
* @summary Delete invoice
|
|
@@ -25880,10 +25954,16 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
25880
25954
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25881
25955
|
* @param {number} [page] Page number (default: 1)
|
|
25882
25956
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
25957
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
|
|
25958
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25959
|
+
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
25960
|
+
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
25961
|
+
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
25962
|
+
* @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
|
|
25883
25963
|
* @param {*} [options] Override http request option.
|
|
25884
25964
|
* @throws {RequiredError}
|
|
25885
25965
|
*/
|
|
25886
|
-
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25966
|
+
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, search?: string, status?: string, gateway?: string, paymentType?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25887
25967
|
/**
|
|
25888
25968
|
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
25889
25969
|
* @summary Get single order with transactions and invoices
|
|
@@ -25929,17 +26009,21 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
25929
26009
|
*/
|
|
25930
26010
|
adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25931
26011
|
/**
|
|
25932
|
-
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
26012
|
+
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
25933
26013
|
* @summary Get payment transactions
|
|
25934
26014
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
25935
26015
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
25936
26016
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
25937
|
-
* @param {number} [
|
|
25938
|
-
* @param {number} [
|
|
26017
|
+
* @param {number} [page] Page number (default: 1)
|
|
26018
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26019
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
26020
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
26021
|
+
* @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
|
|
26022
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25939
26023
|
* @param {*} [options] Override http request option.
|
|
25940
26024
|
* @throws {RequiredError}
|
|
25941
26025
|
*/
|
|
25942
|
-
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
26026
|
+
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25943
26027
|
/**
|
|
25944
26028
|
* Generates receipts for all completed payments without receipts in the organization
|
|
25945
26029
|
* @summary Auto-generate receipts for organization
|
|
@@ -25956,14 +26040,16 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
|
|
|
25956
26040
|
*/
|
|
25957
26041
|
adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesReceipt>;
|
|
25958
26042
|
/**
|
|
25959
|
-
* Retrieves a paginated list of receipts for the organization
|
|
26043
|
+
* Retrieves a paginated list of receipts for the organization. Uses page/page_size pagination like analytics APIs.
|
|
25960
26044
|
* @summary List receipts
|
|
25961
26045
|
* @param {number} [page] Page number (default: 1)
|
|
25962
26046
|
* @param {number} [pageSize] Page size (default: 20, max: 100)
|
|
26047
|
+
* @param {string} [sortBy] Field to sort by (id, amount, payment_date, created_at) (default: created_at)
|
|
26048
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
25963
26049
|
* @param {*} [options] Override http request option.
|
|
25964
26050
|
* @throws {RequiredError}
|
|
25965
26051
|
*/
|
|
25966
|
-
adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
26052
|
+
adminBillingReceiptsGet(page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
25967
26053
|
/**
|
|
25968
26054
|
* Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
25969
26055
|
* @summary Download receipt PDF
|
|
@@ -26076,44 +26162,56 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
26076
26162
|
*/
|
|
26077
26163
|
adminBillingCreditConsumptionGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26078
26164
|
/**
|
|
26079
|
-
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization
|
|
26165
|
+
* Retrieves paginated list of credit ledger entries with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
26080
26166
|
* @summary Get credit ledger
|
|
26081
26167
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
26082
26168
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26083
26169
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26084
|
-
* @param {number} [
|
|
26085
|
-
* @param {number} [
|
|
26170
|
+
* @param {number} [page] Page number (default: 1)
|
|
26171
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26172
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
26173
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
26174
|
+
* @param {string} [sortBy] Field to sort by (id, credits, transaction_date, transaction_type) (default: transaction_date)
|
|
26175
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26086
26176
|
* @param {*} [options] Override http request option.
|
|
26087
26177
|
* @throws {RequiredError}
|
|
26088
26178
|
* @memberof BillingDashboardApi
|
|
26089
26179
|
*/
|
|
26090
|
-
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26180
|
+
adminBillingCreditLedgerGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26091
26181
|
/**
|
|
26092
|
-
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization
|
|
26182
|
+
* Retrieves paginated list of credit purchases with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
26093
26183
|
* @summary Get credit purchases
|
|
26094
26184
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
26095
26185
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26096
26186
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26097
|
-
* @param {number} [
|
|
26098
|
-
* @param {number} [
|
|
26187
|
+
* @param {number} [page] Page number (default: 1)
|
|
26188
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26189
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
26190
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
26191
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, credits_purchased) (default: created_at)
|
|
26192
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26099
26193
|
* @param {*} [options] Override http request option.
|
|
26100
26194
|
* @throws {RequiredError}
|
|
26101
26195
|
* @memberof BillingDashboardApi
|
|
26102
26196
|
*/
|
|
26103
|
-
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26197
|
+
adminBillingCreditPurchasesGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26104
26198
|
/**
|
|
26105
|
-
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization
|
|
26199
|
+
* Retrieves paginated list of credit transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
26106
26200
|
* @summary Get credit transactions
|
|
26107
26201
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
26108
26202
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26109
26203
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26110
|
-
* @param {number} [
|
|
26111
|
-
* @param {number} [
|
|
26204
|
+
* @param {number} [page] Page number (default: 1)
|
|
26205
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26206
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
26207
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
26208
|
+
* @param {string} [sortBy] Field to sort by (id, credits_used, transaction_date, transaction_type) (default: transaction_date)
|
|
26209
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26112
26210
|
* @param {*} [options] Override http request option.
|
|
26113
26211
|
* @throws {RequiredError}
|
|
26114
26212
|
* @memberof BillingDashboardApi
|
|
26115
26213
|
*/
|
|
26116
|
-
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26214
|
+
adminBillingCreditTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26117
26215
|
/**
|
|
26118
26216
|
* Automatically generates invoices for all completed payments without invoices
|
|
26119
26217
|
* @summary Auto-generate invoices
|
|
@@ -26149,11 +26247,13 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
26149
26247
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26150
26248
|
* @param {number} [page] Page number (default: 1)
|
|
26151
26249
|
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
26250
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, due_date, status) (default: created_at)
|
|
26251
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26152
26252
|
* @param {*} [options] Override http request option.
|
|
26153
26253
|
* @throws {RequiredError}
|
|
26154
26254
|
* @memberof BillingDashboardApi
|
|
26155
26255
|
*/
|
|
26156
|
-
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26256
|
+
adminBillingInvoicesGet(orgId?: number, status?: string, startDate?: string, endDate?: string, page?: number, limit?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26157
26257
|
/**
|
|
26158
26258
|
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
26159
26259
|
* @summary Delete invoice
|
|
@@ -26209,11 +26309,17 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
26209
26309
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26210
26310
|
* @param {number} [page] Page number (default: 1)
|
|
26211
26311
|
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26312
|
+
* @param {string} [sortBy] Field to sort by (id, amount, created_at, updated_at, status) (default: created_at)
|
|
26313
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26314
|
+
* @param {string} [search] Search in order ID, gateway order ID, gateway payment ID
|
|
26315
|
+
* @param {string} [status] Filter by order status (created, paid, failed, refunded)
|
|
26316
|
+
* @param {string} [gateway] Filter by payment gateway (razorpay, stripe, etc.)
|
|
26317
|
+
* @param {string} [paymentType] Filter by payment type (subscription, credits, etc.)
|
|
26212
26318
|
* @param {*} [options] Override http request option.
|
|
26213
26319
|
* @throws {RequiredError}
|
|
26214
26320
|
* @memberof BillingDashboardApi
|
|
26215
26321
|
*/
|
|
26216
|
-
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26322
|
+
adminBillingOrdersGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, search?: string, status?: string, gateway?: string, paymentType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26217
26323
|
/**
|
|
26218
26324
|
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
26219
26325
|
* @summary Get single order with transactions and invoices
|
|
@@ -26264,18 +26370,22 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
26264
26370
|
*/
|
|
26265
26371
|
adminBillingOverviewNewGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26266
26372
|
/**
|
|
26267
|
-
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
26373
|
+
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
26268
26374
|
* @summary Get payment transactions
|
|
26269
26375
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
26270
26376
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
26271
26377
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
26272
|
-
* @param {number} [
|
|
26273
|
-
* @param {number} [
|
|
26378
|
+
* @param {number} [page] Page number (default: 1)
|
|
26379
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
26380
|
+
* @param {number} [limit] Alternative: Number of results per page (default: 50, max: 100)
|
|
26381
|
+
* @param {number} [offset] Alternative: Number of results to skip (default: 0)
|
|
26382
|
+
* @param {string} [sortBy] Field to sort by (payment_id, amount, payment_date, created_at, payment_status, gateway, refund_amount) (default: payment_date)
|
|
26383
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26274
26384
|
* @param {*} [options] Override http request option.
|
|
26275
26385
|
* @throws {RequiredError}
|
|
26276
26386
|
* @memberof BillingDashboardApi
|
|
26277
26387
|
*/
|
|
26278
|
-
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26388
|
+
adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26279
26389
|
/**
|
|
26280
26390
|
* Generates receipts for all completed payments without receipts in the organization
|
|
26281
26391
|
* @summary Auto-generate receipts for organization
|
|
@@ -26294,15 +26404,17 @@ export declare class BillingDashboardApi extends BaseAPI {
|
|
|
26294
26404
|
*/
|
|
26295
26405
|
adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesReceipt, any, {}>>;
|
|
26296
26406
|
/**
|
|
26297
|
-
* Retrieves a paginated list of receipts for the organization
|
|
26407
|
+
* Retrieves a paginated list of receipts for the organization. Uses page/page_size pagination like analytics APIs.
|
|
26298
26408
|
* @summary List receipts
|
|
26299
26409
|
* @param {number} [page] Page number (default: 1)
|
|
26300
26410
|
* @param {number} [pageSize] Page size (default: 20, max: 100)
|
|
26411
|
+
* @param {string} [sortBy] Field to sort by (id, amount, payment_date, created_at) (default: created_at)
|
|
26412
|
+
* @param {string} [sortOrder] Sort order (ASC, DESC) (default: DESC)
|
|
26301
26413
|
* @param {*} [options] Override http request option.
|
|
26302
26414
|
* @throws {RequiredError}
|
|
26303
26415
|
* @memberof BillingDashboardApi
|
|
26304
26416
|
*/
|
|
26305
|
-
adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26417
|
+
adminBillingReceiptsGet(page?: number, pageSize?: number, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26306
26418
|
/**
|
|
26307
26419
|
* Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
26308
26420
|
* @summary Download receipt PDF
|