@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.js
CHANGED
|
@@ -7389,6 +7389,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7389
7389
|
options: localVarRequestOptions,
|
|
7390
7390
|
};
|
|
7391
7391
|
}),
|
|
7392
|
+
/**
|
|
7393
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
7394
|
+
* @summary Generate invoices for an order
|
|
7395
|
+
* @param {number} orderId Order ID
|
|
7396
|
+
* @param {*} [options] Override http request option.
|
|
7397
|
+
* @throws {RequiredError}
|
|
7398
|
+
*/
|
|
7399
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
|
|
7400
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
7401
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesGenerateForOrderOrderIdPost', 'orderId', orderId);
|
|
7402
|
+
const localVarPath = `/admin/billing/invoices/generate-for-order/{orderId}`
|
|
7403
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
7404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7405
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7406
|
+
let baseOptions;
|
|
7407
|
+
if (configuration) {
|
|
7408
|
+
baseOptions = configuration.baseOptions;
|
|
7409
|
+
}
|
|
7410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7411
|
+
const localVarHeaderParameter = {};
|
|
7412
|
+
const localVarQueryParameter = {};
|
|
7413
|
+
// authentication BearerAuth required
|
|
7414
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7415
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7417
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7418
|
+
return {
|
|
7419
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7420
|
+
options: localVarRequestOptions,
|
|
7421
|
+
};
|
|
7422
|
+
}),
|
|
7392
7423
|
/**
|
|
7393
7424
|
* Generates an invoice automatically from a completed payment
|
|
7394
7425
|
* @summary Generate invoice from payment
|
|
@@ -7600,6 +7631,40 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7600
7631
|
options: localVarRequestOptions,
|
|
7601
7632
|
};
|
|
7602
7633
|
}),
|
|
7634
|
+
/**
|
|
7635
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
7636
|
+
* @summary Pay a pending invoice
|
|
7637
|
+
* @param {string} invoiceId Invoice ID
|
|
7638
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
7639
|
+
* @param {*} [options] Override http request option.
|
|
7640
|
+
* @throws {RequiredError}
|
|
7641
|
+
*/
|
|
7642
|
+
adminBillingInvoicesInvoiceIdPayPost: (invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1) => __awaiter(this, [invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1], void 0, function* (invoiceId, dataTypesPayInvoiceRequest, options = {}) {
|
|
7643
|
+
// verify required parameter 'invoiceId' is not null or undefined
|
|
7644
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesInvoiceIdPayPost', 'invoiceId', invoiceId);
|
|
7645
|
+
const localVarPath = `/admin/billing/invoices/{invoice_id}/pay`
|
|
7646
|
+
.replace(`{${"invoice_id"}}`, encodeURIComponent(String(invoiceId)));
|
|
7647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7648
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7649
|
+
let baseOptions;
|
|
7650
|
+
if (configuration) {
|
|
7651
|
+
baseOptions = configuration.baseOptions;
|
|
7652
|
+
}
|
|
7653
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7654
|
+
const localVarHeaderParameter = {};
|
|
7655
|
+
const localVarQueryParameter = {};
|
|
7656
|
+
// authentication BearerAuth required
|
|
7657
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7658
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7659
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7661
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7662
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPayInvoiceRequest, localVarRequestOptions, configuration);
|
|
7663
|
+
return {
|
|
7664
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7665
|
+
options: localVarRequestOptions,
|
|
7666
|
+
};
|
|
7667
|
+
}),
|
|
7603
7668
|
/**
|
|
7604
7669
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
7605
7670
|
* @summary Get orders
|
|
@@ -7647,6 +7712,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7647
7712
|
options: localVarRequestOptions,
|
|
7648
7713
|
};
|
|
7649
7714
|
}),
|
|
7715
|
+
/**
|
|
7716
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
7717
|
+
* @summary Get single order with transactions and invoices
|
|
7718
|
+
* @param {number} id Order ID
|
|
7719
|
+
* @param {*} [options] Override http request option.
|
|
7720
|
+
* @throws {RequiredError}
|
|
7721
|
+
*/
|
|
7722
|
+
adminBillingOrdersIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7723
|
+
// verify required parameter 'id' is not null or undefined
|
|
7724
|
+
(0, common_1.assertParamExists)('adminBillingOrdersIdGet', 'id', id);
|
|
7725
|
+
const localVarPath = `/admin/billing/orders/{id}`
|
|
7726
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7728
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7729
|
+
let baseOptions;
|
|
7730
|
+
if (configuration) {
|
|
7731
|
+
baseOptions = configuration.baseOptions;
|
|
7732
|
+
}
|
|
7733
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7734
|
+
const localVarHeaderParameter = {};
|
|
7735
|
+
const localVarQueryParameter = {};
|
|
7736
|
+
// authentication BearerAuth required
|
|
7737
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7738
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7740
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7741
|
+
return {
|
|
7742
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7743
|
+
options: localVarRequestOptions,
|
|
7744
|
+
};
|
|
7745
|
+
}),
|
|
7650
7746
|
/**
|
|
7651
7747
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
7652
7748
|
* @summary Get org admin billing overview
|
|
@@ -8099,6 +8195,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8099
8195
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8100
8196
|
});
|
|
8101
8197
|
},
|
|
8198
|
+
/**
|
|
8199
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8200
|
+
* @summary Generate invoices for an order
|
|
8201
|
+
* @param {number} orderId Order ID
|
|
8202
|
+
* @param {*} [options] Override http request option.
|
|
8203
|
+
* @throws {RequiredError}
|
|
8204
|
+
*/
|
|
8205
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8207
|
+
var _a, _b, _c;
|
|
8208
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options);
|
|
8209
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8210
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesGenerateForOrderOrderIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8211
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8212
|
+
});
|
|
8213
|
+
},
|
|
8102
8214
|
/**
|
|
8103
8215
|
* Generates an invoice automatically from a completed payment
|
|
8104
8216
|
* @summary Generate invoice from payment
|
|
@@ -8201,6 +8313,23 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8201
8313
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8202
8314
|
});
|
|
8203
8315
|
},
|
|
8316
|
+
/**
|
|
8317
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8318
|
+
* @summary Pay a pending invoice
|
|
8319
|
+
* @param {string} invoiceId Invoice ID
|
|
8320
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8321
|
+
* @param {*} [options] Override http request option.
|
|
8322
|
+
* @throws {RequiredError}
|
|
8323
|
+
*/
|
|
8324
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8326
|
+
var _a, _b, _c;
|
|
8327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options);
|
|
8328
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8329
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesInvoiceIdPayPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8330
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8331
|
+
});
|
|
8332
|
+
},
|
|
8204
8333
|
/**
|
|
8205
8334
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8206
8335
|
* @summary Get orders
|
|
@@ -8221,6 +8350,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8221
8350
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8222
8351
|
});
|
|
8223
8352
|
},
|
|
8353
|
+
/**
|
|
8354
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8355
|
+
* @summary Get single order with transactions and invoices
|
|
8356
|
+
* @param {number} id Order ID
|
|
8357
|
+
* @param {*} [options] Override http request option.
|
|
8358
|
+
* @throws {RequiredError}
|
|
8359
|
+
*/
|
|
8360
|
+
adminBillingOrdersIdGet(id, options) {
|
|
8361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8362
|
+
var _a, _b, _c;
|
|
8363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersIdGet(id, options);
|
|
8364
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8365
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingOrdersIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8366
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8367
|
+
});
|
|
8368
|
+
},
|
|
8224
8369
|
/**
|
|
8225
8370
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8226
8371
|
* @summary Get org admin billing overview
|
|
@@ -8466,6 +8611,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8466
8611
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8467
8612
|
return localVarFp.adminBillingInvoicesAutoGeneratePost(options).then((request) => request(axios, basePath));
|
|
8468
8613
|
},
|
|
8614
|
+
/**
|
|
8615
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8616
|
+
* @summary Generate invoices for an order
|
|
8617
|
+
* @param {number} orderId Order ID
|
|
8618
|
+
* @param {*} [options] Override http request option.
|
|
8619
|
+
* @throws {RequiredError}
|
|
8620
|
+
*/
|
|
8621
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8622
|
+
return localVarFp.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(axios, basePath));
|
|
8623
|
+
},
|
|
8469
8624
|
/**
|
|
8470
8625
|
* Generates an invoice automatically from a completed payment
|
|
8471
8626
|
* @summary Generate invoice from payment
|
|
@@ -8532,6 +8687,17 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8532
8687
|
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8533
8688
|
return localVarFp.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8534
8689
|
},
|
|
8690
|
+
/**
|
|
8691
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8692
|
+
* @summary Pay a pending invoice
|
|
8693
|
+
* @param {string} invoiceId Invoice ID
|
|
8694
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8695
|
+
* @param {*} [options] Override http request option.
|
|
8696
|
+
* @throws {RequiredError}
|
|
8697
|
+
*/
|
|
8698
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8699
|
+
return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8700
|
+
},
|
|
8535
8701
|
/**
|
|
8536
8702
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8537
8703
|
* @summary Get orders
|
|
@@ -8546,6 +8712,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8546
8712
|
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8547
8713
|
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(axios, basePath));
|
|
8548
8714
|
},
|
|
8715
|
+
/**
|
|
8716
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8717
|
+
* @summary Get single order with transactions and invoices
|
|
8718
|
+
* @param {number} id Order ID
|
|
8719
|
+
* @param {*} [options] Override http request option.
|
|
8720
|
+
* @throws {RequiredError}
|
|
8721
|
+
*/
|
|
8722
|
+
adminBillingOrdersIdGet(id, options) {
|
|
8723
|
+
return localVarFp.adminBillingOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
8724
|
+
},
|
|
8549
8725
|
/**
|
|
8550
8726
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8551
8727
|
* @summary Get org admin billing overview
|
|
@@ -8758,6 +8934,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8758
8934
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8759
8935
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesAutoGeneratePost(options).then((request) => request(this.axios, this.basePath));
|
|
8760
8936
|
}
|
|
8937
|
+
/**
|
|
8938
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8939
|
+
* @summary Generate invoices for an order
|
|
8940
|
+
* @param {number} orderId Order ID
|
|
8941
|
+
* @param {*} [options] Override http request option.
|
|
8942
|
+
* @throws {RequiredError}
|
|
8943
|
+
* @memberof BillingDashboardApi
|
|
8944
|
+
*/
|
|
8945
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8946
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(this.axios, this.basePath));
|
|
8947
|
+
}
|
|
8761
8948
|
/**
|
|
8762
8949
|
* Generates an invoice automatically from a completed payment
|
|
8763
8950
|
* @summary Generate invoice from payment
|
|
@@ -8830,6 +9017,18 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8830
9017
|
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8831
9018
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8832
9019
|
}
|
|
9020
|
+
/**
|
|
9021
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
9022
|
+
* @summary Pay a pending invoice
|
|
9023
|
+
* @param {string} invoiceId Invoice ID
|
|
9024
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
9025
|
+
* @param {*} [options] Override http request option.
|
|
9026
|
+
* @throws {RequiredError}
|
|
9027
|
+
* @memberof BillingDashboardApi
|
|
9028
|
+
*/
|
|
9029
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
9030
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9031
|
+
}
|
|
8833
9032
|
/**
|
|
8834
9033
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8835
9034
|
* @summary Get orders
|
|
@@ -8845,6 +9044,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8845
9044
|
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8846
9045
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8847
9046
|
}
|
|
9047
|
+
/**
|
|
9048
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
9049
|
+
* @summary Get single order with transactions and invoices
|
|
9050
|
+
* @param {number} id Order ID
|
|
9051
|
+
* @param {*} [options] Override http request option.
|
|
9052
|
+
* @throws {RequiredError}
|
|
9053
|
+
* @memberof BillingDashboardApi
|
|
9054
|
+
*/
|
|
9055
|
+
adminBillingOrdersIdGet(id, options) {
|
|
9056
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
9057
|
+
}
|
|
8848
9058
|
/**
|
|
8849
9059
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8850
9060
|
* @summary Get org admin billing overview
|