@seekora-ai/admin-api 1.2.3 → 1.2.4
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 +7 -4
- package/api.ts +197 -20
- package/dist/api.d.ts +111 -8
- package/dist/api.js +157 -20
- package/dist/esm/api.d.ts +111 -8
- package/dist/esm/api.js +157 -20
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.4.tgz +0 -0
- package/seekora-ai-admin-api-1.2.3.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -18178,10 +18178,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration)
|
|
|
18178
18178
|
* @param {*} [options] Override http request option.
|
|
18179
18179
|
* @throws {RequiredError}
|
|
18180
18180
|
*/
|
|
18181
|
-
|
|
18181
|
+
adminBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
|
|
18182
18182
|
// verify required parameter 'billingServiceRetryPaymentRequest' is not null or undefined
|
|
18183
|
-
assertParamExists('
|
|
18184
|
-
const localVarPath = `/
|
|
18183
|
+
assertParamExists('adminBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
|
|
18184
|
+
const localVarPath = `/admin/billing/payments/retry`;
|
|
18185
18185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18186
18186
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18187
18187
|
let baseOptions;
|
|
@@ -18210,10 +18210,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration)
|
|
|
18210
18210
|
* @param {*} [options] Override http request option.
|
|
18211
18211
|
* @throws {RequiredError}
|
|
18212
18212
|
*/
|
|
18213
|
-
|
|
18213
|
+
adminBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
18214
18214
|
// verify required parameter 'id' is not null or undefined
|
|
18215
|
-
assertParamExists('
|
|
18216
|
-
const localVarPath = `/
|
|
18215
|
+
assertParamExists('adminBillingSubscriptionsIdPaymentStatusGet', 'id', id);
|
|
18216
|
+
const localVarPath = `/admin/billing/subscriptions/{id}/payment-status`
|
|
18217
18217
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18218
18218
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18219
18219
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18250,12 +18250,12 @@ export const BillingUserPaymentsApiFp = function (configuration) {
|
|
|
18250
18250
|
* @param {*} [options] Override http request option.
|
|
18251
18251
|
* @throws {RequiredError}
|
|
18252
18252
|
*/
|
|
18253
|
-
|
|
18253
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
|
|
18254
18254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18255
18255
|
var _a, _b, _c;
|
|
18256
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
18256
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
|
|
18257
18257
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18258
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.
|
|
18258
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.adminBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18259
18259
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18260
18260
|
});
|
|
18261
18261
|
},
|
|
@@ -18266,12 +18266,12 @@ export const BillingUserPaymentsApiFp = function (configuration) {
|
|
|
18266
18266
|
* @param {*} [options] Override http request option.
|
|
18267
18267
|
* @throws {RequiredError}
|
|
18268
18268
|
*/
|
|
18269
|
-
|
|
18269
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
|
|
18270
18270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18271
18271
|
var _a, _b, _c;
|
|
18272
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
18272
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingSubscriptionsIdPaymentStatusGet(id, options);
|
|
18273
18273
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18274
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.
|
|
18274
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BillingUserPaymentsApi.adminBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18275
18275
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18276
18276
|
});
|
|
18277
18277
|
},
|
|
@@ -18291,8 +18291,8 @@ export const BillingUserPaymentsApiFactory = function (configuration, basePath,
|
|
|
18291
18291
|
* @param {*} [options] Override http request option.
|
|
18292
18292
|
* @throws {RequiredError}
|
|
18293
18293
|
*/
|
|
18294
|
-
|
|
18295
|
-
return localVarFp.
|
|
18294
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
|
|
18295
|
+
return localVarFp.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
|
|
18296
18296
|
},
|
|
18297
18297
|
/**
|
|
18298
18298
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
@@ -18301,8 +18301,8 @@ export const BillingUserPaymentsApiFactory = function (configuration, basePath,
|
|
|
18301
18301
|
* @param {*} [options] Override http request option.
|
|
18302
18302
|
* @throws {RequiredError}
|
|
18303
18303
|
*/
|
|
18304
|
-
|
|
18305
|
-
return localVarFp.
|
|
18304
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
|
|
18305
|
+
return localVarFp.adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
|
|
18306
18306
|
},
|
|
18307
18307
|
};
|
|
18308
18308
|
};
|
|
@@ -18321,8 +18321,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
|
|
|
18321
18321
|
* @throws {RequiredError}
|
|
18322
18322
|
* @memberof BillingUserPaymentsApi
|
|
18323
18323
|
*/
|
|
18324
|
-
|
|
18325
|
-
return BillingUserPaymentsApiFp(this.configuration).
|
|
18324
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
|
|
18325
|
+
return BillingUserPaymentsApiFp(this.configuration).adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18326
18326
|
}
|
|
18327
18327
|
/**
|
|
18328
18328
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
@@ -18332,8 +18332,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
|
|
|
18332
18332
|
* @throws {RequiredError}
|
|
18333
18333
|
* @memberof BillingUserPaymentsApi
|
|
18334
18334
|
*/
|
|
18335
|
-
|
|
18336
|
-
return BillingUserPaymentsApiFp(this.configuration).
|
|
18335
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id, options) {
|
|
18336
|
+
return BillingUserPaymentsApiFp(this.configuration).adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
18337
18337
|
}
|
|
18338
18338
|
}
|
|
18339
18339
|
/**
|
|
@@ -35644,6 +35644,37 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
35644
35644
|
options: localVarRequestOptions,
|
|
35645
35645
|
};
|
|
35646
35646
|
}),
|
|
35647
|
+
/**
|
|
35648
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
35649
|
+
* @summary Get order retry payment info
|
|
35650
|
+
* @param {string} id Order UUID
|
|
35651
|
+
* @param {*} [options] Override http request option.
|
|
35652
|
+
* @throws {RequiredError}
|
|
35653
|
+
*/
|
|
35654
|
+
adminPaymentGatewayOrdersIdRetryInfoGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
35655
|
+
// verify required parameter 'id' is not null or undefined
|
|
35656
|
+
assertParamExists('adminPaymentGatewayOrdersIdRetryInfoGet', 'id', id);
|
|
35657
|
+
const localVarPath = `/admin/payment-gateway/orders/{id}/retry-info`
|
|
35658
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
35659
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35660
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35661
|
+
let baseOptions;
|
|
35662
|
+
if (configuration) {
|
|
35663
|
+
baseOptions = configuration.baseOptions;
|
|
35664
|
+
}
|
|
35665
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
35666
|
+
const localVarHeaderParameter = {};
|
|
35667
|
+
const localVarQueryParameter = {};
|
|
35668
|
+
// authentication BearerAuth required
|
|
35669
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
35670
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35671
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35672
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35673
|
+
return {
|
|
35674
|
+
url: toPathString(localVarUrlObj),
|
|
35675
|
+
options: localVarRequestOptions,
|
|
35676
|
+
};
|
|
35677
|
+
}),
|
|
35647
35678
|
/**
|
|
35648
35679
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
35649
35680
|
* @summary Get payment status for polling (frontend)
|
|
@@ -35989,6 +36020,22 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
35989
36020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35990
36021
|
});
|
|
35991
36022
|
},
|
|
36023
|
+
/**
|
|
36024
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
36025
|
+
* @summary Get order retry payment info
|
|
36026
|
+
* @param {string} id Order UUID
|
|
36027
|
+
* @param {*} [options] Override http request option.
|
|
36028
|
+
* @throws {RequiredError}
|
|
36029
|
+
*/
|
|
36030
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
|
|
36031
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36032
|
+
var _a, _b, _c;
|
|
36033
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersIdRetryInfoGet(id, options);
|
|
36034
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36035
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdRetryInfoGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36037
|
+
});
|
|
36038
|
+
},
|
|
35992
36039
|
/**
|
|
35993
36040
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
35994
36041
|
* @summary Get payment status for polling (frontend)
|
|
@@ -36187,6 +36234,16 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
36187
36234
|
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
36188
36235
|
return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
36189
36236
|
},
|
|
36237
|
+
/**
|
|
36238
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
36239
|
+
* @summary Get order retry payment info
|
|
36240
|
+
* @param {string} id Order UUID
|
|
36241
|
+
* @param {*} [options] Override http request option.
|
|
36242
|
+
* @throws {RequiredError}
|
|
36243
|
+
*/
|
|
36244
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
|
|
36245
|
+
return localVarFp.adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(axios, basePath));
|
|
36246
|
+
},
|
|
36190
36247
|
/**
|
|
36191
36248
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
36192
36249
|
* @summary Get payment status for polling (frontend)
|
|
@@ -36342,6 +36399,17 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
36342
36399
|
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
36343
36400
|
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
36344
36401
|
}
|
|
36402
|
+
/**
|
|
36403
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
36404
|
+
* @summary Get order retry payment info
|
|
36405
|
+
* @param {string} id Order UUID
|
|
36406
|
+
* @param {*} [options] Override http request option.
|
|
36407
|
+
* @throws {RequiredError}
|
|
36408
|
+
* @memberof PaymentGatewayApi
|
|
36409
|
+
*/
|
|
36410
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id, options) {
|
|
36411
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
36412
|
+
}
|
|
36345
36413
|
/**
|
|
36346
36414
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
36347
36415
|
* @summary Get payment status for polling (frontend)
|
|
@@ -50226,6 +50294,38 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
50226
50294
|
options: localVarRequestOptions,
|
|
50227
50295
|
};
|
|
50228
50296
|
}),
|
|
50297
|
+
/**
|
|
50298
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
50299
|
+
* @summary Preview plan change details
|
|
50300
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
50301
|
+
* @param {*} [options] Override http request option.
|
|
50302
|
+
* @throws {RequiredError}
|
|
50303
|
+
*/
|
|
50304
|
+
adminSubscriptionsPlanChangePreviewPost: (subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1) => __awaiter(this, [subscriptionRoutePlanChangePreviewHTTPRequest_1, ...args_1], void 0, function* (subscriptionRoutePlanChangePreviewHTTPRequest, options = {}) {
|
|
50305
|
+
// verify required parameter 'subscriptionRoutePlanChangePreviewHTTPRequest' is not null or undefined
|
|
50306
|
+
assertParamExists('adminSubscriptionsPlanChangePreviewPost', 'subscriptionRoutePlanChangePreviewHTTPRequest', subscriptionRoutePlanChangePreviewHTTPRequest);
|
|
50307
|
+
const localVarPath = `/admin/subscriptions/plan-change/preview`;
|
|
50308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50310
|
+
let baseOptions;
|
|
50311
|
+
if (configuration) {
|
|
50312
|
+
baseOptions = configuration.baseOptions;
|
|
50313
|
+
}
|
|
50314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
50315
|
+
const localVarHeaderParameter = {};
|
|
50316
|
+
const localVarQueryParameter = {};
|
|
50317
|
+
// authentication BearerAuth required
|
|
50318
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
50319
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
50320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
50322
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
50323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(subscriptionRoutePlanChangePreviewHTTPRequest, localVarRequestOptions, configuration);
|
|
50324
|
+
return {
|
|
50325
|
+
url: toPathString(localVarUrlObj),
|
|
50326
|
+
options: localVarRequestOptions,
|
|
50327
|
+
};
|
|
50328
|
+
}),
|
|
50229
50329
|
/**
|
|
50230
50330
|
* Updates Subscription information by ID.
|
|
50231
50331
|
* @summary Update an existing Subscription
|
|
@@ -50428,6 +50528,22 @@ export const SubscriptionsApiFp = function (configuration) {
|
|
|
50428
50528
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50429
50529
|
});
|
|
50430
50530
|
},
|
|
50531
|
+
/**
|
|
50532
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
50533
|
+
* @summary Preview plan change details
|
|
50534
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
50535
|
+
* @param {*} [options] Override http request option.
|
|
50536
|
+
* @throws {RequiredError}
|
|
50537
|
+
*/
|
|
50538
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
|
|
50539
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50540
|
+
var _a, _b, _c;
|
|
50541
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options);
|
|
50542
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
50543
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SubscriptionsApi.adminSubscriptionsPlanChangePreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
50544
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50545
|
+
});
|
|
50546
|
+
},
|
|
50431
50547
|
/**
|
|
50432
50548
|
* Updates Subscription information by ID.
|
|
50433
50549
|
* @summary Update an existing Subscription
|
|
@@ -50538,6 +50654,16 @@ export const SubscriptionsApiFactory = function (configuration, basePath, axios)
|
|
|
50538
50654
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
|
|
50539
50655
|
return localVarFp.adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(axios, basePath));
|
|
50540
50656
|
},
|
|
50657
|
+
/**
|
|
50658
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
50659
|
+
* @summary Preview plan change details
|
|
50660
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
50661
|
+
* @param {*} [options] Override http request option.
|
|
50662
|
+
* @throws {RequiredError}
|
|
50663
|
+
*/
|
|
50664
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
|
|
50665
|
+
return localVarFp.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(axios, basePath));
|
|
50666
|
+
},
|
|
50541
50667
|
/**
|
|
50542
50668
|
* Updates Subscription information by ID.
|
|
50543
50669
|
* @summary Update an existing Subscription
|
|
@@ -50620,6 +50746,17 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
50620
50746
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options) {
|
|
50621
50747
|
return SubscriptionsApiFp(this.configuration).adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
50622
50748
|
}
|
|
50749
|
+
/**
|
|
50750
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
50751
|
+
* @summary Preview plan change details
|
|
50752
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
50753
|
+
* @param {*} [options] Override http request option.
|
|
50754
|
+
* @throws {RequiredError}
|
|
50755
|
+
* @memberof SubscriptionsApi
|
|
50756
|
+
*/
|
|
50757
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options) {
|
|
50758
|
+
return SubscriptionsApiFp(this.configuration).adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(this.axios, this.basePath));
|
|
50759
|
+
}
|
|
50623
50760
|
/**
|
|
50624
50761
|
* Updates Subscription information by ID.
|
|
50625
50762
|
* @summary Update an existing Subscription
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|