@seekora-ai/admin-api 1.0.91 → 1.0.93
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 +32 -3
- package/api.ts +1569 -105
- package/dist/api.d.ts +1079 -70
- package/dist/api.js +818 -26
- package/dist/esm/api.d.ts +1079 -70
- package/dist/esm/api.js +818 -26
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.93.tgz +0 -0
- package/seekora-ai-admin-api-1.0.91.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -7329,6 +7329,213 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7329
7329
|
options: localVarRequestOptions,
|
|
7330
7330
|
};
|
|
7331
7331
|
}),
|
|
7332
|
+
/**
|
|
7333
|
+
* Automatically generates invoices for all completed payments without invoices
|
|
7334
|
+
* @summary Auto-generate invoices
|
|
7335
|
+
* @param {*} [options] Override http request option.
|
|
7336
|
+
* @throws {RequiredError}
|
|
7337
|
+
*/
|
|
7338
|
+
adminBillingInvoicesAutoGeneratePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7339
|
+
const localVarPath = `/admin/billing/invoices/auto-generate`;
|
|
7340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7342
|
+
let baseOptions;
|
|
7343
|
+
if (configuration) {
|
|
7344
|
+
baseOptions = configuration.baseOptions;
|
|
7345
|
+
}
|
|
7346
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7347
|
+
const localVarHeaderParameter = {};
|
|
7348
|
+
const localVarQueryParameter = {};
|
|
7349
|
+
// authentication BearerAuth required
|
|
7350
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7351
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7352
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7353
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7354
|
+
return {
|
|
7355
|
+
url: toPathString(localVarUrlObj),
|
|
7356
|
+
options: localVarRequestOptions,
|
|
7357
|
+
};
|
|
7358
|
+
}),
|
|
7359
|
+
/**
|
|
7360
|
+
* Generates an invoice automatically from a completed payment
|
|
7361
|
+
* @summary Generate invoice from payment
|
|
7362
|
+
* @param {number} paymentId Payment ID
|
|
7363
|
+
* @param {*} [options] Override http request option.
|
|
7364
|
+
* @throws {RequiredError}
|
|
7365
|
+
*/
|
|
7366
|
+
adminBillingInvoicesGeneratePaymentIdPost: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
|
|
7367
|
+
// verify required parameter 'paymentId' is not null or undefined
|
|
7368
|
+
assertParamExists('adminBillingInvoicesGeneratePaymentIdPost', 'paymentId', paymentId);
|
|
7369
|
+
const localVarPath = `/admin/billing/invoices/generate/{paymentId}`
|
|
7370
|
+
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
7371
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7372
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7373
|
+
let baseOptions;
|
|
7374
|
+
if (configuration) {
|
|
7375
|
+
baseOptions = configuration.baseOptions;
|
|
7376
|
+
}
|
|
7377
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7378
|
+
const localVarHeaderParameter = {};
|
|
7379
|
+
const localVarQueryParameter = {};
|
|
7380
|
+
// authentication BearerAuth required
|
|
7381
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7382
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7383
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7384
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7385
|
+
return {
|
|
7386
|
+
url: toPathString(localVarUrlObj),
|
|
7387
|
+
options: localVarRequestOptions,
|
|
7388
|
+
};
|
|
7389
|
+
}),
|
|
7390
|
+
/**
|
|
7391
|
+
* Retrieves invoices with filtering options
|
|
7392
|
+
* @summary Get invoices
|
|
7393
|
+
* @param {number} [orgId] Organization ID
|
|
7394
|
+
* @param {string} [status] Invoice status
|
|
7395
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7396
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7397
|
+
* @param {number} [page] Page number (default: 1)
|
|
7398
|
+
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
7399
|
+
* @param {*} [options] Override http request option.
|
|
7400
|
+
* @throws {RequiredError}
|
|
7401
|
+
*/
|
|
7402
|
+
adminBillingInvoicesGet: (orgId_1, status_1, startDate_1, endDate_1, page_1, limit_1, ...args_1) => __awaiter(this, [orgId_1, status_1, startDate_1, endDate_1, page_1, limit_1, ...args_1], void 0, function* (orgId, status, startDate, endDate, page, limit, options = {}) {
|
|
7403
|
+
const localVarPath = `/admin/billing/invoices`;
|
|
7404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7406
|
+
let baseOptions;
|
|
7407
|
+
if (configuration) {
|
|
7408
|
+
baseOptions = configuration.baseOptions;
|
|
7409
|
+
}
|
|
7410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7411
|
+
const localVarHeaderParameter = {};
|
|
7412
|
+
const localVarQueryParameter = {};
|
|
7413
|
+
// authentication BearerAuth required
|
|
7414
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7415
|
+
if (orgId !== undefined) {
|
|
7416
|
+
localVarQueryParameter['org_id'] = orgId;
|
|
7417
|
+
}
|
|
7418
|
+
if (status !== undefined) {
|
|
7419
|
+
localVarQueryParameter['status'] = status;
|
|
7420
|
+
}
|
|
7421
|
+
if (startDate !== undefined) {
|
|
7422
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
7423
|
+
}
|
|
7424
|
+
if (endDate !== undefined) {
|
|
7425
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
7426
|
+
}
|
|
7427
|
+
if (page !== undefined) {
|
|
7428
|
+
localVarQueryParameter['page'] = page;
|
|
7429
|
+
}
|
|
7430
|
+
if (limit !== undefined) {
|
|
7431
|
+
localVarQueryParameter['limit'] = limit;
|
|
7432
|
+
}
|
|
7433
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7434
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7435
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7436
|
+
return {
|
|
7437
|
+
url: toPathString(localVarUrlObj),
|
|
7438
|
+
options: localVarRequestOptions,
|
|
7439
|
+
};
|
|
7440
|
+
}),
|
|
7441
|
+
/**
|
|
7442
|
+
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
7443
|
+
* @summary Delete invoice
|
|
7444
|
+
* @param {string} id Invoice ID
|
|
7445
|
+
* @param {*} [options] Override http request option.
|
|
7446
|
+
* @throws {RequiredError}
|
|
7447
|
+
*/
|
|
7448
|
+
adminBillingInvoicesIdDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7449
|
+
// verify required parameter 'id' is not null or undefined
|
|
7450
|
+
assertParamExists('adminBillingInvoicesIdDelete', 'id', id);
|
|
7451
|
+
const localVarPath = `/admin/billing/invoices/{id}`
|
|
7452
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7453
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7454
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7455
|
+
let baseOptions;
|
|
7456
|
+
if (configuration) {
|
|
7457
|
+
baseOptions = configuration.baseOptions;
|
|
7458
|
+
}
|
|
7459
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7460
|
+
const localVarHeaderParameter = {};
|
|
7461
|
+
const localVarQueryParameter = {};
|
|
7462
|
+
// authentication BearerAuth required
|
|
7463
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7464
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7465
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7466
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7467
|
+
return {
|
|
7468
|
+
url: toPathString(localVarUrlObj),
|
|
7469
|
+
options: localVarRequestOptions,
|
|
7470
|
+
};
|
|
7471
|
+
}),
|
|
7472
|
+
/**
|
|
7473
|
+
* Retrieves a single invoice by ID
|
|
7474
|
+
* @summary Get invoice
|
|
7475
|
+
* @param {string} id Invoice ID
|
|
7476
|
+
* @param {*} [options] Override http request option.
|
|
7477
|
+
* @throws {RequiredError}
|
|
7478
|
+
*/
|
|
7479
|
+
adminBillingInvoicesIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7480
|
+
// verify required parameter 'id' is not null or undefined
|
|
7481
|
+
assertParamExists('adminBillingInvoicesIdGet', 'id', id);
|
|
7482
|
+
const localVarPath = `/admin/billing/invoices/{id}`
|
|
7483
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7484
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7486
|
+
let baseOptions;
|
|
7487
|
+
if (configuration) {
|
|
7488
|
+
baseOptions = configuration.baseOptions;
|
|
7489
|
+
}
|
|
7490
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7491
|
+
const localVarHeaderParameter = {};
|
|
7492
|
+
const localVarQueryParameter = {};
|
|
7493
|
+
// authentication BearerAuth required
|
|
7494
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7495
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7496
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7497
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7498
|
+
return {
|
|
7499
|
+
url: toPathString(localVarUrlObj),
|
|
7500
|
+
options: localVarRequestOptions,
|
|
7501
|
+
};
|
|
7502
|
+
}),
|
|
7503
|
+
/**
|
|
7504
|
+
* Updates an existing invoice
|
|
7505
|
+
* @summary Update invoice
|
|
7506
|
+
* @param {string} id Invoice ID
|
|
7507
|
+
* @param {DataTypesUpdateInvoiceRequest} dataTypesUpdateInvoiceRequest Updated invoice data
|
|
7508
|
+
* @param {*} [options] Override http request option.
|
|
7509
|
+
* @throws {RequiredError}
|
|
7510
|
+
*/
|
|
7511
|
+
adminBillingInvoicesIdPut: (id_1, dataTypesUpdateInvoiceRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesUpdateInvoiceRequest_1, ...args_1], void 0, function* (id, dataTypesUpdateInvoiceRequest, options = {}) {
|
|
7512
|
+
// verify required parameter 'id' is not null or undefined
|
|
7513
|
+
assertParamExists('adminBillingInvoicesIdPut', 'id', id);
|
|
7514
|
+
// verify required parameter 'dataTypesUpdateInvoiceRequest' is not null or undefined
|
|
7515
|
+
assertParamExists('adminBillingInvoicesIdPut', 'dataTypesUpdateInvoiceRequest', dataTypesUpdateInvoiceRequest);
|
|
7516
|
+
const localVarPath = `/admin/billing/invoices/{id}`
|
|
7517
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7518
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7519
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7520
|
+
let baseOptions;
|
|
7521
|
+
if (configuration) {
|
|
7522
|
+
baseOptions = configuration.baseOptions;
|
|
7523
|
+
}
|
|
7524
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
7525
|
+
const localVarHeaderParameter = {};
|
|
7526
|
+
const localVarQueryParameter = {};
|
|
7527
|
+
// authentication BearerAuth required
|
|
7528
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7529
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7532
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateInvoiceRequest, localVarRequestOptions, configuration);
|
|
7534
|
+
return {
|
|
7535
|
+
url: toPathString(localVarUrlObj),
|
|
7536
|
+
options: localVarRequestOptions,
|
|
7537
|
+
};
|
|
7538
|
+
}),
|
|
7332
7539
|
/**
|
|
7333
7540
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
7334
7541
|
* @summary Get orders
|
|
@@ -7489,6 +7696,33 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7489
7696
|
options: localVarRequestOptions,
|
|
7490
7697
|
};
|
|
7491
7698
|
}),
|
|
7699
|
+
/**
|
|
7700
|
+
* Returns comprehensive billing overview with credit balance, plan info, and usage summary
|
|
7701
|
+
* @summary Get billing overview (new)
|
|
7702
|
+
* @param {*} [options] Override http request option.
|
|
7703
|
+
* @throws {RequiredError}
|
|
7704
|
+
*/
|
|
7705
|
+
adminBillingOverviewNewGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
7706
|
+
const localVarPath = `/admin/billing/overview-new`;
|
|
7707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7708
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7709
|
+
let baseOptions;
|
|
7710
|
+
if (configuration) {
|
|
7711
|
+
baseOptions = configuration.baseOptions;
|
|
7712
|
+
}
|
|
7713
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7714
|
+
const localVarHeaderParameter = {};
|
|
7715
|
+
const localVarQueryParameter = {};
|
|
7716
|
+
// authentication BearerAuth required
|
|
7717
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7720
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7721
|
+
return {
|
|
7722
|
+
url: toPathString(localVarUrlObj),
|
|
7723
|
+
options: localVarRequestOptions,
|
|
7724
|
+
};
|
|
7725
|
+
}),
|
|
7492
7726
|
/**
|
|
7493
7727
|
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
7494
7728
|
* @summary Get payment transactions
|
|
@@ -7563,6 +7797,41 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7563
7797
|
options: localVarRequestOptions,
|
|
7564
7798
|
};
|
|
7565
7799
|
}),
|
|
7800
|
+
/**
|
|
7801
|
+
* Returns detailed usage information with charts and breakdown
|
|
7802
|
+
* @summary Get usage details
|
|
7803
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7804
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7805
|
+
* @param {*} [options] Override http request option.
|
|
7806
|
+
* @throws {RequiredError}
|
|
7807
|
+
*/
|
|
7808
|
+
adminBillingUsageDetailsGet: (startDate_1, endDate_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, ...args_1], void 0, function* (startDate, endDate, options = {}) {
|
|
7809
|
+
const localVarPath = `/admin/billing/usage-details`;
|
|
7810
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7811
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7812
|
+
let baseOptions;
|
|
7813
|
+
if (configuration) {
|
|
7814
|
+
baseOptions = configuration.baseOptions;
|
|
7815
|
+
}
|
|
7816
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7817
|
+
const localVarHeaderParameter = {};
|
|
7818
|
+
const localVarQueryParameter = {};
|
|
7819
|
+
// authentication BearerAuth required
|
|
7820
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7821
|
+
if (startDate !== undefined) {
|
|
7822
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
7823
|
+
}
|
|
7824
|
+
if (endDate !== undefined) {
|
|
7825
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
7826
|
+
}
|
|
7827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7829
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7830
|
+
return {
|
|
7831
|
+
url: toPathString(localVarUrlObj),
|
|
7832
|
+
options: localVarRequestOptions,
|
|
7833
|
+
};
|
|
7834
|
+
}),
|
|
7566
7835
|
};
|
|
7567
7836
|
};
|
|
7568
7837
|
/**
|
|
@@ -7718,6 +7987,107 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
7718
7987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7719
7988
|
});
|
|
7720
7989
|
},
|
|
7990
|
+
/**
|
|
7991
|
+
* Automatically generates invoices for all completed payments without invoices
|
|
7992
|
+
* @summary Auto-generate invoices
|
|
7993
|
+
* @param {*} [options] Override http request option.
|
|
7994
|
+
* @throws {RequiredError}
|
|
7995
|
+
*/
|
|
7996
|
+
adminBillingInvoicesAutoGeneratePost(options) {
|
|
7997
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7998
|
+
var _a, _b, _c;
|
|
7999
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesAutoGeneratePost(options);
|
|
8000
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8001
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesAutoGeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8002
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8003
|
+
});
|
|
8004
|
+
},
|
|
8005
|
+
/**
|
|
8006
|
+
* Generates an invoice automatically from a completed payment
|
|
8007
|
+
* @summary Generate invoice from payment
|
|
8008
|
+
* @param {number} paymentId Payment ID
|
|
8009
|
+
* @param {*} [options] Override http request option.
|
|
8010
|
+
* @throws {RequiredError}
|
|
8011
|
+
*/
|
|
8012
|
+
adminBillingInvoicesGeneratePaymentIdPost(paymentId, options) {
|
|
8013
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8014
|
+
var _a, _b, _c;
|
|
8015
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesGeneratePaymentIdPost(paymentId, options);
|
|
8016
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8017
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesGeneratePaymentIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8019
|
+
});
|
|
8020
|
+
},
|
|
8021
|
+
/**
|
|
8022
|
+
* Retrieves invoices with filtering options
|
|
8023
|
+
* @summary Get invoices
|
|
8024
|
+
* @param {number} [orgId] Organization ID
|
|
8025
|
+
* @param {string} [status] Invoice status
|
|
8026
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8027
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8028
|
+
* @param {number} [page] Page number (default: 1)
|
|
8029
|
+
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
8030
|
+
* @param {*} [options] Override http request option.
|
|
8031
|
+
* @throws {RequiredError}
|
|
8032
|
+
*/
|
|
8033
|
+
adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options) {
|
|
8034
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8035
|
+
var _a, _b, _c;
|
|
8036
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options);
|
|
8037
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8038
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8039
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8040
|
+
});
|
|
8041
|
+
},
|
|
8042
|
+
/**
|
|
8043
|
+
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
8044
|
+
* @summary Delete invoice
|
|
8045
|
+
* @param {string} id Invoice ID
|
|
8046
|
+
* @param {*} [options] Override http request option.
|
|
8047
|
+
* @throws {RequiredError}
|
|
8048
|
+
*/
|
|
8049
|
+
adminBillingInvoicesIdDelete(id, options) {
|
|
8050
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8051
|
+
var _a, _b, _c;
|
|
8052
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesIdDelete(id, options);
|
|
8053
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8054
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8055
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8056
|
+
});
|
|
8057
|
+
},
|
|
8058
|
+
/**
|
|
8059
|
+
* Retrieves a single invoice by ID
|
|
8060
|
+
* @summary Get invoice
|
|
8061
|
+
* @param {string} id Invoice ID
|
|
8062
|
+
* @param {*} [options] Override http request option.
|
|
8063
|
+
* @throws {RequiredError}
|
|
8064
|
+
*/
|
|
8065
|
+
adminBillingInvoicesIdGet(id, options) {
|
|
8066
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8067
|
+
var _a, _b, _c;
|
|
8068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesIdGet(id, options);
|
|
8069
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8070
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8072
|
+
});
|
|
8073
|
+
},
|
|
8074
|
+
/**
|
|
8075
|
+
* Updates an existing invoice
|
|
8076
|
+
* @summary Update invoice
|
|
8077
|
+
* @param {string} id Invoice ID
|
|
8078
|
+
* @param {DataTypesUpdateInvoiceRequest} dataTypesUpdateInvoiceRequest Updated invoice data
|
|
8079
|
+
* @param {*} [options] Override http request option.
|
|
8080
|
+
* @throws {RequiredError}
|
|
8081
|
+
*/
|
|
8082
|
+
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8083
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8084
|
+
var _a, _b, _c;
|
|
8085
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options);
|
|
8086
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8087
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8088
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8089
|
+
});
|
|
8090
|
+
},
|
|
7721
8091
|
/**
|
|
7722
8092
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
7723
8093
|
* @summary Get orders
|
|
@@ -7791,6 +8161,21 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
7791
8161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7792
8162
|
});
|
|
7793
8163
|
},
|
|
8164
|
+
/**
|
|
8165
|
+
* Returns comprehensive billing overview with credit balance, plan info, and usage summary
|
|
8166
|
+
* @summary Get billing overview (new)
|
|
8167
|
+
* @param {*} [options] Override http request option.
|
|
8168
|
+
* @throws {RequiredError}
|
|
8169
|
+
*/
|
|
8170
|
+
adminBillingOverviewNewGet(options) {
|
|
8171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8172
|
+
var _a, _b, _c;
|
|
8173
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOverviewNewGet(options);
|
|
8174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8175
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingOverviewNewGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8177
|
+
});
|
|
8178
|
+
},
|
|
7794
8179
|
/**
|
|
7795
8180
|
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
7796
8181
|
* @summary Get payment transactions
|
|
@@ -7822,7 +8207,24 @@ export const BillingDashboardApiFp = function (configuration) {
|
|
|
7822
8207
|
var _a, _b, _c;
|
|
7823
8208
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingSavedCardsGet(options);
|
|
7824
8209
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7825
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingSavedCardsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8210
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingSavedCardsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8211
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8212
|
+
});
|
|
8213
|
+
},
|
|
8214
|
+
/**
|
|
8215
|
+
* Returns detailed usage information with charts and breakdown
|
|
8216
|
+
* @summary Get usage details
|
|
8217
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8218
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8219
|
+
* @param {*} [options] Override http request option.
|
|
8220
|
+
* @throws {RequiredError}
|
|
8221
|
+
*/
|
|
8222
|
+
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8224
|
+
var _a, _b, _c;
|
|
8225
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingUsageDetailsGet(startDate, endDate, options);
|
|
8226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8227
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingDashboardApi.adminBillingUsageDetailsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7826
8228
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7827
8229
|
});
|
|
7828
8230
|
},
|
|
@@ -7933,6 +8335,71 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
7933
8335
|
adminBillingCreditTransactionsGet(orgId, startDate, endDate, limit, offset, options) {
|
|
7934
8336
|
return localVarFp.adminBillingCreditTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(axios, basePath));
|
|
7935
8337
|
},
|
|
8338
|
+
/**
|
|
8339
|
+
* Automatically generates invoices for all completed payments without invoices
|
|
8340
|
+
* @summary Auto-generate invoices
|
|
8341
|
+
* @param {*} [options] Override http request option.
|
|
8342
|
+
* @throws {RequiredError}
|
|
8343
|
+
*/
|
|
8344
|
+
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8345
|
+
return localVarFp.adminBillingInvoicesAutoGeneratePost(options).then((request) => request(axios, basePath));
|
|
8346
|
+
},
|
|
8347
|
+
/**
|
|
8348
|
+
* Generates an invoice automatically from a completed payment
|
|
8349
|
+
* @summary Generate invoice from payment
|
|
8350
|
+
* @param {number} paymentId Payment ID
|
|
8351
|
+
* @param {*} [options] Override http request option.
|
|
8352
|
+
* @throws {RequiredError}
|
|
8353
|
+
*/
|
|
8354
|
+
adminBillingInvoicesGeneratePaymentIdPost(paymentId, options) {
|
|
8355
|
+
return localVarFp.adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(axios, basePath));
|
|
8356
|
+
},
|
|
8357
|
+
/**
|
|
8358
|
+
* Retrieves invoices with filtering options
|
|
8359
|
+
* @summary Get invoices
|
|
8360
|
+
* @param {number} [orgId] Organization ID
|
|
8361
|
+
* @param {string} [status] Invoice status
|
|
8362
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8363
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8364
|
+
* @param {number} [page] Page number (default: 1)
|
|
8365
|
+
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
8366
|
+
* @param {*} [options] Override http request option.
|
|
8367
|
+
* @throws {RequiredError}
|
|
8368
|
+
*/
|
|
8369
|
+
adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options) {
|
|
8370
|
+
return localVarFp.adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options).then((request) => request(axios, basePath));
|
|
8371
|
+
},
|
|
8372
|
+
/**
|
|
8373
|
+
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
8374
|
+
* @summary Delete invoice
|
|
8375
|
+
* @param {string} id Invoice ID
|
|
8376
|
+
* @param {*} [options] Override http request option.
|
|
8377
|
+
* @throws {RequiredError}
|
|
8378
|
+
*/
|
|
8379
|
+
adminBillingInvoicesIdDelete(id, options) {
|
|
8380
|
+
return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
8381
|
+
},
|
|
8382
|
+
/**
|
|
8383
|
+
* Retrieves a single invoice by ID
|
|
8384
|
+
* @summary Get invoice
|
|
8385
|
+
* @param {string} id Invoice ID
|
|
8386
|
+
* @param {*} [options] Override http request option.
|
|
8387
|
+
* @throws {RequiredError}
|
|
8388
|
+
*/
|
|
8389
|
+
adminBillingInvoicesIdGet(id, options) {
|
|
8390
|
+
return localVarFp.adminBillingInvoicesIdGet(id, options).then((request) => request(axios, basePath));
|
|
8391
|
+
},
|
|
8392
|
+
/**
|
|
8393
|
+
* Updates an existing invoice
|
|
8394
|
+
* @summary Update invoice
|
|
8395
|
+
* @param {string} id Invoice ID
|
|
8396
|
+
* @param {DataTypesUpdateInvoiceRequest} dataTypesUpdateInvoiceRequest Updated invoice data
|
|
8397
|
+
* @param {*} [options] Override http request option.
|
|
8398
|
+
* @throws {RequiredError}
|
|
8399
|
+
*/
|
|
8400
|
+
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8401
|
+
return localVarFp.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8402
|
+
},
|
|
7936
8403
|
/**
|
|
7937
8404
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
7938
8405
|
* @summary Get orders
|
|
@@ -7982,6 +8449,15 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
7982
8449
|
adminBillingOverviewGet(orgId, startDate, endDate, options) {
|
|
7983
8450
|
return localVarFp.adminBillingOverviewGet(orgId, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
7984
8451
|
},
|
|
8452
|
+
/**
|
|
8453
|
+
* Returns comprehensive billing overview with credit balance, plan info, and usage summary
|
|
8454
|
+
* @summary Get billing overview (new)
|
|
8455
|
+
* @param {*} [options] Override http request option.
|
|
8456
|
+
* @throws {RequiredError}
|
|
8457
|
+
*/
|
|
8458
|
+
adminBillingOverviewNewGet(options) {
|
|
8459
|
+
return localVarFp.adminBillingOverviewNewGet(options).then((request) => request(axios, basePath));
|
|
8460
|
+
},
|
|
7985
8461
|
/**
|
|
7986
8462
|
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
7987
8463
|
* @summary Get payment transactions
|
|
@@ -8005,6 +8481,17 @@ export const BillingDashboardApiFactory = function (configuration, basePath, axi
|
|
|
8005
8481
|
adminBillingSavedCardsGet(options) {
|
|
8006
8482
|
return localVarFp.adminBillingSavedCardsGet(options).then((request) => request(axios, basePath));
|
|
8007
8483
|
},
|
|
8484
|
+
/**
|
|
8485
|
+
* Returns detailed usage information with charts and breakdown
|
|
8486
|
+
* @summary Get usage details
|
|
8487
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8488
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8489
|
+
* @param {*} [options] Override http request option.
|
|
8490
|
+
* @throws {RequiredError}
|
|
8491
|
+
*/
|
|
8492
|
+
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8493
|
+
return localVarFp.adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(axios, basePath));
|
|
8494
|
+
},
|
|
8008
8495
|
};
|
|
8009
8496
|
};
|
|
8010
8497
|
/**
|
|
@@ -8120,6 +8607,77 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
8120
8607
|
adminBillingCreditTransactionsGet(orgId, startDate, endDate, limit, offset, options) {
|
|
8121
8608
|
return BillingDashboardApiFp(this.configuration).adminBillingCreditTransactionsGet(orgId, startDate, endDate, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
8122
8609
|
}
|
|
8610
|
+
/**
|
|
8611
|
+
* Automatically generates invoices for all completed payments without invoices
|
|
8612
|
+
* @summary Auto-generate invoices
|
|
8613
|
+
* @param {*} [options] Override http request option.
|
|
8614
|
+
* @throws {RequiredError}
|
|
8615
|
+
* @memberof BillingDashboardApi
|
|
8616
|
+
*/
|
|
8617
|
+
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8618
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesAutoGeneratePost(options).then((request) => request(this.axios, this.basePath));
|
|
8619
|
+
}
|
|
8620
|
+
/**
|
|
8621
|
+
* Generates an invoice automatically from a completed payment
|
|
8622
|
+
* @summary Generate invoice from payment
|
|
8623
|
+
* @param {number} paymentId Payment ID
|
|
8624
|
+
* @param {*} [options] Override http request option.
|
|
8625
|
+
* @throws {RequiredError}
|
|
8626
|
+
* @memberof BillingDashboardApi
|
|
8627
|
+
*/
|
|
8628
|
+
adminBillingInvoicesGeneratePaymentIdPost(paymentId, options) {
|
|
8629
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
8630
|
+
}
|
|
8631
|
+
/**
|
|
8632
|
+
* Retrieves invoices with filtering options
|
|
8633
|
+
* @summary Get invoices
|
|
8634
|
+
* @param {number} [orgId] Organization ID
|
|
8635
|
+
* @param {string} [status] Invoice status
|
|
8636
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8637
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8638
|
+
* @param {number} [page] Page number (default: 1)
|
|
8639
|
+
* @param {number} [limit] Number of results per page (default: 20, max: 100)
|
|
8640
|
+
* @param {*} [options] Override http request option.
|
|
8641
|
+
* @throws {RequiredError}
|
|
8642
|
+
* @memberof BillingDashboardApi
|
|
8643
|
+
*/
|
|
8644
|
+
adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options) {
|
|
8645
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesGet(orgId, status, startDate, endDate, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
8646
|
+
}
|
|
8647
|
+
/**
|
|
8648
|
+
* Deletes an invoice (soft delete by setting status to cancelled)
|
|
8649
|
+
* @summary Delete invoice
|
|
8650
|
+
* @param {string} id Invoice ID
|
|
8651
|
+
* @param {*} [options] Override http request option.
|
|
8652
|
+
* @throws {RequiredError}
|
|
8653
|
+
* @memberof BillingDashboardApi
|
|
8654
|
+
*/
|
|
8655
|
+
adminBillingInvoicesIdDelete(id, options) {
|
|
8656
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
8657
|
+
}
|
|
8658
|
+
/**
|
|
8659
|
+
* Retrieves a single invoice by ID
|
|
8660
|
+
* @summary Get invoice
|
|
8661
|
+
* @param {string} id Invoice ID
|
|
8662
|
+
* @param {*} [options] Override http request option.
|
|
8663
|
+
* @throws {RequiredError}
|
|
8664
|
+
* @memberof BillingDashboardApi
|
|
8665
|
+
*/
|
|
8666
|
+
adminBillingInvoicesIdGet(id, options) {
|
|
8667
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
8668
|
+
}
|
|
8669
|
+
/**
|
|
8670
|
+
* Updates an existing invoice
|
|
8671
|
+
* @summary Update invoice
|
|
8672
|
+
* @param {string} id Invoice ID
|
|
8673
|
+
* @param {DataTypesUpdateInvoiceRequest} dataTypesUpdateInvoiceRequest Updated invoice data
|
|
8674
|
+
* @param {*} [options] Override http request option.
|
|
8675
|
+
* @throws {RequiredError}
|
|
8676
|
+
* @memberof BillingDashboardApi
|
|
8677
|
+
*/
|
|
8678
|
+
adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options) {
|
|
8679
|
+
return BillingDashboardApiFp(this.configuration).adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8680
|
+
}
|
|
8123
8681
|
/**
|
|
8124
8682
|
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
8125
8683
|
* @summary Get orders
|
|
@@ -8173,6 +8731,16 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
8173
8731
|
adminBillingOverviewGet(orgId, startDate, endDate, options) {
|
|
8174
8732
|
return BillingDashboardApiFp(this.configuration).adminBillingOverviewGet(orgId, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8175
8733
|
}
|
|
8734
|
+
/**
|
|
8735
|
+
* Returns comprehensive billing overview with credit balance, plan info, and usage summary
|
|
8736
|
+
* @summary Get billing overview (new)
|
|
8737
|
+
* @param {*} [options] Override http request option.
|
|
8738
|
+
* @throws {RequiredError}
|
|
8739
|
+
* @memberof BillingDashboardApi
|
|
8740
|
+
*/
|
|
8741
|
+
adminBillingOverviewNewGet(options) {
|
|
8742
|
+
return BillingDashboardApiFp(this.configuration).adminBillingOverviewNewGet(options).then((request) => request(this.axios, this.basePath));
|
|
8743
|
+
}
|
|
8176
8744
|
/**
|
|
8177
8745
|
* Retrieves paginated list of payment transactions with filtering options for the authenticated user\'s organization
|
|
8178
8746
|
* @summary Get payment transactions
|
|
@@ -8198,6 +8766,18 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
8198
8766
|
adminBillingSavedCardsGet(options) {
|
|
8199
8767
|
return BillingDashboardApiFp(this.configuration).adminBillingSavedCardsGet(options).then((request) => request(this.axios, this.basePath));
|
|
8200
8768
|
}
|
|
8769
|
+
/**
|
|
8770
|
+
* Returns detailed usage information with charts and breakdown
|
|
8771
|
+
* @summary Get usage details
|
|
8772
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8773
|
+
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8774
|
+
* @param {*} [options] Override http request option.
|
|
8775
|
+
* @throws {RequiredError}
|
|
8776
|
+
* @memberof BillingDashboardApi
|
|
8777
|
+
*/
|
|
8778
|
+
adminBillingUsageDetailsGet(startDate, endDate, options) {
|
|
8779
|
+
return BillingDashboardApiFp(this.configuration).adminBillingUsageDetailsGet(startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
8780
|
+
}
|
|
8201
8781
|
}
|
|
8202
8782
|
/**
|
|
8203
8783
|
* CommonApi - axios parameter creator
|
|
@@ -24834,7 +25414,7 @@ export const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
|
24834
25414
|
};
|
|
24835
25415
|
}),
|
|
24836
25416
|
/**
|
|
24837
|
-
* Retrieves the current step and state of store creation for the user
|
|
25417
|
+
* Retrieves the current step and state of store creation for the user. This endpoint gets the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
24838
25418
|
* @summary Get current store creation progress
|
|
24839
25419
|
* @param {*} [options] Override http request option.
|
|
24840
25420
|
* @throws {RequiredError}
|
|
@@ -24897,7 +25477,7 @@ export const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
|
24897
25477
|
};
|
|
24898
25478
|
}),
|
|
24899
25479
|
/**
|
|
24900
|
-
* Updates a specific step in the store creation flow
|
|
25480
|
+
* Updates a specific step in the store creation flow. This endpoint updates the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
24901
25481
|
* @summary Update store creation step
|
|
24902
25482
|
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
24903
25483
|
* @param {*} [options] Override http request option.
|
|
@@ -24928,21 +25508,119 @@ export const StoreCreationApiAxiosParamCreator = function (configuration) {
|
|
|
24928
25508
|
options: localVarRequestOptions,
|
|
24929
25509
|
};
|
|
24930
25510
|
}),
|
|
25511
|
+
/**
|
|
25512
|
+
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
25513
|
+
* @summary Delete store creation progress by XStoreID
|
|
25514
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25515
|
+
* @param {*} [options] Override http request option.
|
|
25516
|
+
* @throws {RequiredError}
|
|
25517
|
+
*/
|
|
25518
|
+
adminV1StoreCreationXstoreidProgressDelete: (xstoreid_1, ...args_1) => __awaiter(this, [xstoreid_1, ...args_1], void 0, function* (xstoreid, options = {}) {
|
|
25519
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
25520
|
+
assertParamExists('adminV1StoreCreationXstoreidProgressDelete', 'xstoreid', xstoreid);
|
|
25521
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/progress`
|
|
25522
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
25523
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25524
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25525
|
+
let baseOptions;
|
|
25526
|
+
if (configuration) {
|
|
25527
|
+
baseOptions = configuration.baseOptions;
|
|
25528
|
+
}
|
|
25529
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
25530
|
+
const localVarHeaderParameter = {};
|
|
25531
|
+
const localVarQueryParameter = {};
|
|
25532
|
+
// authentication BearerAuth required
|
|
25533
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25534
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25535
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25536
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25537
|
+
return {
|
|
25538
|
+
url: toPathString(localVarUrlObj),
|
|
25539
|
+
options: localVarRequestOptions,
|
|
25540
|
+
};
|
|
25541
|
+
}),
|
|
25542
|
+
/**
|
|
25543
|
+
* Retrieves the current step and state of store creation for a specific store using XStoreID from path parameter
|
|
25544
|
+
* @summary Get store creation progress by XStoreID
|
|
25545
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25546
|
+
* @param {*} [options] Override http request option.
|
|
25547
|
+
* @throws {RequiredError}
|
|
25548
|
+
*/
|
|
25549
|
+
adminV1StoreCreationXstoreidProgressGet: (xstoreid_1, ...args_1) => __awaiter(this, [xstoreid_1, ...args_1], void 0, function* (xstoreid, options = {}) {
|
|
25550
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
25551
|
+
assertParamExists('adminV1StoreCreationXstoreidProgressGet', 'xstoreid', xstoreid);
|
|
25552
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/progress`
|
|
25553
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
25554
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25556
|
+
let baseOptions;
|
|
25557
|
+
if (configuration) {
|
|
25558
|
+
baseOptions = configuration.baseOptions;
|
|
25559
|
+
}
|
|
25560
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25561
|
+
const localVarHeaderParameter = {};
|
|
25562
|
+
const localVarQueryParameter = {};
|
|
25563
|
+
// authentication BearerAuth required
|
|
25564
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25565
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25566
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25567
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25568
|
+
return {
|
|
25569
|
+
url: toPathString(localVarUrlObj),
|
|
25570
|
+
options: localVarRequestOptions,
|
|
25571
|
+
};
|
|
25572
|
+
}),
|
|
25573
|
+
/**
|
|
25574
|
+
* Updates a specific step in the store creation flow for a specific store using XStoreID from path parameter
|
|
25575
|
+
* @summary Update store creation step by XStoreID
|
|
25576
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25577
|
+
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25578
|
+
* @param {*} [options] Override http request option.
|
|
25579
|
+
* @throws {RequiredError}
|
|
25580
|
+
*/
|
|
25581
|
+
adminV1StoreCreationXstoreidStepPost: (xstoreid_1, dataTypesStoreCreationRequest_1, ...args_1) => __awaiter(this, [xstoreid_1, dataTypesStoreCreationRequest_1, ...args_1], void 0, function* (xstoreid, dataTypesStoreCreationRequest, options = {}) {
|
|
25582
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
25583
|
+
assertParamExists('adminV1StoreCreationXstoreidStepPost', 'xstoreid', xstoreid);
|
|
25584
|
+
// verify required parameter 'dataTypesStoreCreationRequest' is not null or undefined
|
|
25585
|
+
assertParamExists('adminV1StoreCreationXstoreidStepPost', 'dataTypesStoreCreationRequest', dataTypesStoreCreationRequest);
|
|
25586
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/step`
|
|
25587
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
25588
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25589
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25590
|
+
let baseOptions;
|
|
25591
|
+
if (configuration) {
|
|
25592
|
+
baseOptions = configuration.baseOptions;
|
|
25593
|
+
}
|
|
25594
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25595
|
+
const localVarHeaderParameter = {};
|
|
25596
|
+
const localVarQueryParameter = {};
|
|
25597
|
+
// authentication BearerAuth required
|
|
25598
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25599
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25600
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25602
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25603
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesStoreCreationRequest, localVarRequestOptions, configuration);
|
|
25604
|
+
return {
|
|
25605
|
+
url: toPathString(localVarUrlObj),
|
|
25606
|
+
options: localVarRequestOptions,
|
|
25607
|
+
};
|
|
25608
|
+
}),
|
|
24931
25609
|
/**
|
|
24932
25610
|
* Uploads a custom JSON or CSV file for store data import
|
|
24933
25611
|
* @summary Upload custom data file for store
|
|
24934
|
-
* @param {
|
|
25612
|
+
* @param {string} xstoreid Store XStoreID
|
|
24935
25613
|
* @param {File} file Data file (JSON or CSV)
|
|
24936
25614
|
* @param {*} [options] Override http request option.
|
|
24937
25615
|
* @throws {RequiredError}
|
|
24938
25616
|
*/
|
|
24939
|
-
|
|
24940
|
-
// verify required parameter '
|
|
24941
|
-
assertParamExists('
|
|
25617
|
+
adminV1StoreCreationXstoreidUploadDataPost: (xstoreid_1, file_1, ...args_1) => __awaiter(this, [xstoreid_1, file_1, ...args_1], void 0, function* (xstoreid, file, options = {}) {
|
|
25618
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
25619
|
+
assertParamExists('adminV1StoreCreationXstoreidUploadDataPost', 'xstoreid', xstoreid);
|
|
24942
25620
|
// verify required parameter 'file' is not null or undefined
|
|
24943
|
-
assertParamExists('
|
|
24944
|
-
const localVarPath = `/admin/v1/store-creation/{
|
|
24945
|
-
.replace(`{${"
|
|
25621
|
+
assertParamExists('adminV1StoreCreationXstoreidUploadDataPost', 'file', file);
|
|
25622
|
+
const localVarPath = `/admin/v1/store-creation/{xstoreid}/upload-data`
|
|
25623
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
24946
25624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24947
25625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24948
25626
|
let baseOptions;
|
|
@@ -24993,7 +25671,7 @@ export const StoreCreationApiFp = function (configuration) {
|
|
|
24993
25671
|
});
|
|
24994
25672
|
},
|
|
24995
25673
|
/**
|
|
24996
|
-
* Retrieves the current step and state of store creation for the user
|
|
25674
|
+
* Retrieves the current step and state of store creation for the user. This endpoint gets the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
24997
25675
|
* @summary Get current store creation progress
|
|
24998
25676
|
* @param {*} [options] Override http request option.
|
|
24999
25677
|
* @throws {RequiredError}
|
|
@@ -25024,7 +25702,7 @@ export const StoreCreationApiFp = function (configuration) {
|
|
|
25024
25702
|
});
|
|
25025
25703
|
},
|
|
25026
25704
|
/**
|
|
25027
|
-
* Updates a specific step in the store creation flow
|
|
25705
|
+
* Updates a specific step in the store creation flow. This endpoint updates the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
25028
25706
|
* @summary Update store creation step
|
|
25029
25707
|
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25030
25708
|
* @param {*} [options] Override http request option.
|
|
@@ -25039,20 +25717,69 @@ export const StoreCreationApiFp = function (configuration) {
|
|
|
25039
25717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25040
25718
|
});
|
|
25041
25719
|
},
|
|
25720
|
+
/**
|
|
25721
|
+
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
25722
|
+
* @summary Delete store creation progress by XStoreID
|
|
25723
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25724
|
+
* @param {*} [options] Override http request option.
|
|
25725
|
+
* @throws {RequiredError}
|
|
25726
|
+
*/
|
|
25727
|
+
adminV1StoreCreationXstoreidProgressDelete(xstoreid, options) {
|
|
25728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25729
|
+
var _a, _b, _c;
|
|
25730
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidProgressDelete(xstoreid, options);
|
|
25731
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25732
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidProgressDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25733
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25734
|
+
});
|
|
25735
|
+
},
|
|
25736
|
+
/**
|
|
25737
|
+
* Retrieves the current step and state of store creation for a specific store using XStoreID from path parameter
|
|
25738
|
+
* @summary Get store creation progress by XStoreID
|
|
25739
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25740
|
+
* @param {*} [options] Override http request option.
|
|
25741
|
+
* @throws {RequiredError}
|
|
25742
|
+
*/
|
|
25743
|
+
adminV1StoreCreationXstoreidProgressGet(xstoreid, options) {
|
|
25744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25745
|
+
var _a, _b, _c;
|
|
25746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidProgressGet(xstoreid, options);
|
|
25747
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25748
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidProgressGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25749
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25750
|
+
});
|
|
25751
|
+
},
|
|
25752
|
+
/**
|
|
25753
|
+
* Updates a specific step in the store creation flow for a specific store using XStoreID from path parameter
|
|
25754
|
+
* @summary Update store creation step by XStoreID
|
|
25755
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25756
|
+
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25757
|
+
* @param {*} [options] Override http request option.
|
|
25758
|
+
* @throws {RequiredError}
|
|
25759
|
+
*/
|
|
25760
|
+
adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options) {
|
|
25761
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25762
|
+
var _a, _b, _c;
|
|
25763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options);
|
|
25764
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25765
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidStepPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25766
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25767
|
+
});
|
|
25768
|
+
},
|
|
25042
25769
|
/**
|
|
25043
25770
|
* Uploads a custom JSON or CSV file for store data import
|
|
25044
25771
|
* @summary Upload custom data file for store
|
|
25045
|
-
* @param {
|
|
25772
|
+
* @param {string} xstoreid Store XStoreID
|
|
25046
25773
|
* @param {File} file Data file (JSON or CSV)
|
|
25047
25774
|
* @param {*} [options] Override http request option.
|
|
25048
25775
|
* @throws {RequiredError}
|
|
25049
25776
|
*/
|
|
25050
|
-
|
|
25777
|
+
adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options) {
|
|
25051
25778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25052
25779
|
var _a, _b, _c;
|
|
25053
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
25780
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options);
|
|
25054
25781
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25055
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.
|
|
25782
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoreCreationApi.adminV1StoreCreationXstoreidUploadDataPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25056
25783
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25057
25784
|
});
|
|
25058
25785
|
},
|
|
@@ -25075,7 +25802,7 @@ export const StoreCreationApiFactory = function (configuration, basePath, axios)
|
|
|
25075
25802
|
return localVarFp.adminV1StoreCreationProgressDelete(options).then((request) => request(axios, basePath));
|
|
25076
25803
|
},
|
|
25077
25804
|
/**
|
|
25078
|
-
* Retrieves the current step and state of store creation for the user
|
|
25805
|
+
* Retrieves the current step and state of store creation for the user. This endpoint gets the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
25079
25806
|
* @summary Get current store creation progress
|
|
25080
25807
|
* @param {*} [options] Override http request option.
|
|
25081
25808
|
* @throws {RequiredError}
|
|
@@ -25094,7 +25821,7 @@ export const StoreCreationApiFactory = function (configuration, basePath, axios)
|
|
|
25094
25821
|
return localVarFp.adminV1StoreCreationSchemaUploadPost(file, options).then((request) => request(axios, basePath));
|
|
25095
25822
|
},
|
|
25096
25823
|
/**
|
|
25097
|
-
* Updates a specific step in the store creation flow
|
|
25824
|
+
* Updates a specific step in the store creation flow. This endpoint updates the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
25098
25825
|
* @summary Update store creation step
|
|
25099
25826
|
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25100
25827
|
* @param {*} [options] Override http request option.
|
|
@@ -25103,16 +25830,47 @@ export const StoreCreationApiFactory = function (configuration, basePath, axios)
|
|
|
25103
25830
|
adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options) {
|
|
25104
25831
|
return localVarFp.adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(axios, basePath));
|
|
25105
25832
|
},
|
|
25833
|
+
/**
|
|
25834
|
+
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
25835
|
+
* @summary Delete store creation progress by XStoreID
|
|
25836
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25837
|
+
* @param {*} [options] Override http request option.
|
|
25838
|
+
* @throws {RequiredError}
|
|
25839
|
+
*/
|
|
25840
|
+
adminV1StoreCreationXstoreidProgressDelete(xstoreid, options) {
|
|
25841
|
+
return localVarFp.adminV1StoreCreationXstoreidProgressDelete(xstoreid, options).then((request) => request(axios, basePath));
|
|
25842
|
+
},
|
|
25843
|
+
/**
|
|
25844
|
+
* Retrieves the current step and state of store creation for a specific store using XStoreID from path parameter
|
|
25845
|
+
* @summary Get store creation progress by XStoreID
|
|
25846
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25847
|
+
* @param {*} [options] Override http request option.
|
|
25848
|
+
* @throws {RequiredError}
|
|
25849
|
+
*/
|
|
25850
|
+
adminV1StoreCreationXstoreidProgressGet(xstoreid, options) {
|
|
25851
|
+
return localVarFp.adminV1StoreCreationXstoreidProgressGet(xstoreid, options).then((request) => request(axios, basePath));
|
|
25852
|
+
},
|
|
25853
|
+
/**
|
|
25854
|
+
* Updates a specific step in the store creation flow for a specific store using XStoreID from path parameter
|
|
25855
|
+
* @summary Update store creation step by XStoreID
|
|
25856
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25857
|
+
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25858
|
+
* @param {*} [options] Override http request option.
|
|
25859
|
+
* @throws {RequiredError}
|
|
25860
|
+
*/
|
|
25861
|
+
adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options) {
|
|
25862
|
+
return localVarFp.adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options).then((request) => request(axios, basePath));
|
|
25863
|
+
},
|
|
25106
25864
|
/**
|
|
25107
25865
|
* Uploads a custom JSON or CSV file for store data import
|
|
25108
25866
|
* @summary Upload custom data file for store
|
|
25109
|
-
* @param {
|
|
25867
|
+
* @param {string} xstoreid Store XStoreID
|
|
25110
25868
|
* @param {File} file Data file (JSON or CSV)
|
|
25111
25869
|
* @param {*} [options] Override http request option.
|
|
25112
25870
|
* @throws {RequiredError}
|
|
25113
25871
|
*/
|
|
25114
|
-
|
|
25115
|
-
return localVarFp.
|
|
25872
|
+
adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options) {
|
|
25873
|
+
return localVarFp.adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options).then((request) => request(axios, basePath));
|
|
25116
25874
|
},
|
|
25117
25875
|
};
|
|
25118
25876
|
};
|
|
@@ -25134,7 +25892,7 @@ export class StoreCreationApi extends BaseAPI {
|
|
|
25134
25892
|
return StoreCreationApiFp(this.configuration).adminV1StoreCreationProgressDelete(options).then((request) => request(this.axios, this.basePath));
|
|
25135
25893
|
}
|
|
25136
25894
|
/**
|
|
25137
|
-
* Retrieves the current step and state of store creation for the user
|
|
25895
|
+
* Retrieves the current step and state of store creation for the user. This endpoint gets the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
25138
25896
|
* @summary Get current store creation progress
|
|
25139
25897
|
* @param {*} [options] Override http request option.
|
|
25140
25898
|
* @throws {RequiredError}
|
|
@@ -25155,7 +25913,7 @@ export class StoreCreationApi extends BaseAPI {
|
|
|
25155
25913
|
return StoreCreationApiFp(this.configuration).adminV1StoreCreationSchemaUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
25156
25914
|
}
|
|
25157
25915
|
/**
|
|
25158
|
-
* Updates a specific step in the store creation flow
|
|
25916
|
+
* Updates a specific step in the store creation flow. This endpoint updates the most recent store creation progress. For specific store creation flows, use the path-based endpoint with xstoreid.
|
|
25159
25917
|
* @summary Update store creation step
|
|
25160
25918
|
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25161
25919
|
* @param {*} [options] Override http request option.
|
|
@@ -25165,17 +25923,51 @@ export class StoreCreationApi extends BaseAPI {
|
|
|
25165
25923
|
adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options) {
|
|
25166
25924
|
return StoreCreationApiFp(this.configuration).adminV1StoreCreationStepPost(dataTypesStoreCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25167
25925
|
}
|
|
25926
|
+
/**
|
|
25927
|
+
* Deletes (soft delete) the store creation progress for a specific store using XStoreID from path parameter
|
|
25928
|
+
* @summary Delete store creation progress by XStoreID
|
|
25929
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25930
|
+
* @param {*} [options] Override http request option.
|
|
25931
|
+
* @throws {RequiredError}
|
|
25932
|
+
* @memberof StoreCreationApi
|
|
25933
|
+
*/
|
|
25934
|
+
adminV1StoreCreationXstoreidProgressDelete(xstoreid, options) {
|
|
25935
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidProgressDelete(xstoreid, options).then((request) => request(this.axios, this.basePath));
|
|
25936
|
+
}
|
|
25937
|
+
/**
|
|
25938
|
+
* Retrieves the current step and state of store creation for a specific store using XStoreID from path parameter
|
|
25939
|
+
* @summary Get store creation progress by XStoreID
|
|
25940
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25941
|
+
* @param {*} [options] Override http request option.
|
|
25942
|
+
* @throws {RequiredError}
|
|
25943
|
+
* @memberof StoreCreationApi
|
|
25944
|
+
*/
|
|
25945
|
+
adminV1StoreCreationXstoreidProgressGet(xstoreid, options) {
|
|
25946
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidProgressGet(xstoreid, options).then((request) => request(this.axios, this.basePath));
|
|
25947
|
+
}
|
|
25948
|
+
/**
|
|
25949
|
+
* Updates a specific step in the store creation flow for a specific store using XStoreID from path parameter
|
|
25950
|
+
* @summary Update store creation step by XStoreID
|
|
25951
|
+
* @param {string} xstoreid XStoreID for specific store creation flow
|
|
25952
|
+
* @param {DataTypesStoreCreationRequest} dataTypesStoreCreationRequest Store creation step data
|
|
25953
|
+
* @param {*} [options] Override http request option.
|
|
25954
|
+
* @throws {RequiredError}
|
|
25955
|
+
* @memberof StoreCreationApi
|
|
25956
|
+
*/
|
|
25957
|
+
adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options) {
|
|
25958
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidStepPost(xstoreid, dataTypesStoreCreationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25959
|
+
}
|
|
25168
25960
|
/**
|
|
25169
25961
|
* Uploads a custom JSON or CSV file for store data import
|
|
25170
25962
|
* @summary Upload custom data file for store
|
|
25171
|
-
* @param {
|
|
25963
|
+
* @param {string} xstoreid Store XStoreID
|
|
25172
25964
|
* @param {File} file Data file (JSON or CSV)
|
|
25173
25965
|
* @param {*} [options] Override http request option.
|
|
25174
25966
|
* @throws {RequiredError}
|
|
25175
25967
|
* @memberof StoreCreationApi
|
|
25176
25968
|
*/
|
|
25177
|
-
|
|
25178
|
-
return StoreCreationApiFp(this.configuration).
|
|
25969
|
+
adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options) {
|
|
25970
|
+
return StoreCreationApiFp(this.configuration).adminV1StoreCreationXstoreidUploadDataPost(xstoreid, file, options).then((request) => request(this.axios, this.basePath));
|
|
25179
25971
|
}
|
|
25180
25972
|
}
|
|
25181
25973
|
/**
|