@seekora-ai/admin-api 1.0.68 → 1.0.70
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 +5 -3
- package/api.ts +169 -48
- package/dist/api.d.ts +92 -28
- package/dist/api.js +162 -46
- package/dist/esm/api.d.ts +92 -28
- package/dist/esm/api.js +162 -46
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.70.tgz +0 -0
- package/seekora-ai-admin-api-1.0.68.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -13925,59 +13925,57 @@ exports.ParentMenusApi = ParentMenusApi;
|
|
|
13925
13925
|
const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
13926
13926
|
return {
|
|
13927
13927
|
/**
|
|
13928
|
-
*
|
|
13929
|
-
* @summary
|
|
13930
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
13928
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
13929
|
+
* @summary Get available credit plans
|
|
13931
13930
|
* @param {*} [options] Override http request option.
|
|
13932
13931
|
* @throws {RequiredError}
|
|
13933
13932
|
*/
|
|
13934
|
-
|
|
13935
|
-
|
|
13936
|
-
(0, common_1.assertParamExists)('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
|
|
13937
|
-
const localVarPath = `/payment-gateway/create-order`;
|
|
13933
|
+
adminPaymentGatewayCreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
13934
|
+
const localVarPath = `/admin/payment-gateway/credit-plans`;
|
|
13938
13935
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13939
13936
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13940
13937
|
let baseOptions;
|
|
13941
13938
|
if (configuration) {
|
|
13942
13939
|
baseOptions = configuration.baseOptions;
|
|
13943
13940
|
}
|
|
13944
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
13941
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13945
13942
|
const localVarHeaderParameter = {};
|
|
13946
13943
|
const localVarQueryParameter = {};
|
|
13947
|
-
// authentication BearerAuth required
|
|
13948
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13949
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13950
13944
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13951
13945
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13952
13946
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13953
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
|
|
13954
13947
|
return {
|
|
13955
13948
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13956
13949
|
options: localVarRequestOptions,
|
|
13957
13950
|
};
|
|
13958
13951
|
}),
|
|
13959
13952
|
/**
|
|
13960
|
-
*
|
|
13961
|
-
* @summary
|
|
13953
|
+
* Creates a payment order using specified or default payment gateway
|
|
13954
|
+
* @summary Create a new payment order
|
|
13955
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
13962
13956
|
* @param {*} [options] Override http request option.
|
|
13963
13957
|
* @throws {RequiredError}
|
|
13964
13958
|
*/
|
|
13965
|
-
|
|
13966
|
-
|
|
13959
|
+
paymentGatewayCreateOrderPost: (dataTypesCreatePaymentOrderRequest_1, ...args_1) => __awaiter(this, [dataTypesCreatePaymentOrderRequest_1, ...args_1], void 0, function* (dataTypesCreatePaymentOrderRequest, options = {}) {
|
|
13960
|
+
// verify required parameter 'dataTypesCreatePaymentOrderRequest' is not null or undefined
|
|
13961
|
+
(0, common_1.assertParamExists)('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
|
|
13962
|
+
const localVarPath = `/payment-gateway/create-order`;
|
|
13967
13963
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13968
13964
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13969
13965
|
let baseOptions;
|
|
13970
13966
|
if (configuration) {
|
|
13971
13967
|
baseOptions = configuration.baseOptions;
|
|
13972
13968
|
}
|
|
13973
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
13969
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13974
13970
|
const localVarHeaderParameter = {};
|
|
13975
13971
|
const localVarQueryParameter = {};
|
|
13976
13972
|
// authentication BearerAuth required
|
|
13977
13973
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13974
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13978
13975
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13979
13976
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13980
13977
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13978
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
|
|
13981
13979
|
return {
|
|
13982
13980
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13983
13981
|
options: localVarRequestOptions,
|
|
@@ -14074,6 +14072,56 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
14074
14072
|
options: localVarRequestOptions,
|
|
14075
14073
|
};
|
|
14076
14074
|
}),
|
|
14075
|
+
/**
|
|
14076
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14077
|
+
* @summary Get available credit plans
|
|
14078
|
+
* @param {*} [options] Override http request option.
|
|
14079
|
+
* @throws {RequiredError}
|
|
14080
|
+
*/
|
|
14081
|
+
v1CreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14082
|
+
const localVarPath = `/v1/credit-plans`;
|
|
14083
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14084
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14085
|
+
let baseOptions;
|
|
14086
|
+
if (configuration) {
|
|
14087
|
+
baseOptions = configuration.baseOptions;
|
|
14088
|
+
}
|
|
14089
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14090
|
+
const localVarHeaderParameter = {};
|
|
14091
|
+
const localVarQueryParameter = {};
|
|
14092
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14093
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14094
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14095
|
+
return {
|
|
14096
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14097
|
+
options: localVarRequestOptions,
|
|
14098
|
+
};
|
|
14099
|
+
}),
|
|
14100
|
+
/**
|
|
14101
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
14102
|
+
* @summary Get subscription plans grouped by tier
|
|
14103
|
+
* @param {*} [options] Override http request option.
|
|
14104
|
+
* @throws {RequiredError}
|
|
14105
|
+
*/
|
|
14106
|
+
v1SubscriptionPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14107
|
+
const localVarPath = `/v1/subscription-plans`;
|
|
14108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14109
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14110
|
+
let baseOptions;
|
|
14111
|
+
if (configuration) {
|
|
14112
|
+
baseOptions = configuration.baseOptions;
|
|
14113
|
+
}
|
|
14114
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14115
|
+
const localVarHeaderParameter = {};
|
|
14116
|
+
const localVarQueryParameter = {};
|
|
14117
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14118
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14119
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14120
|
+
return {
|
|
14121
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14122
|
+
options: localVarRequestOptions,
|
|
14123
|
+
};
|
|
14124
|
+
}),
|
|
14077
14125
|
};
|
|
14078
14126
|
};
|
|
14079
14127
|
exports.PaymentGatewayApiAxiosParamCreator = PaymentGatewayApiAxiosParamCreator;
|
|
@@ -14085,33 +14133,33 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
14085
14133
|
const localVarAxiosParamCreator = (0, exports.PaymentGatewayApiAxiosParamCreator)(configuration);
|
|
14086
14134
|
return {
|
|
14087
14135
|
/**
|
|
14088
|
-
*
|
|
14089
|
-
* @summary
|
|
14090
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14136
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14137
|
+
* @summary Get available credit plans
|
|
14091
14138
|
* @param {*} [options] Override http request option.
|
|
14092
14139
|
* @throws {RequiredError}
|
|
14093
14140
|
*/
|
|
14094
|
-
|
|
14141
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14095
14142
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14096
14143
|
var _a, _b, _c;
|
|
14097
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
14144
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayCreditPlansGet(options);
|
|
14098
14145
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14099
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.
|
|
14146
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayCreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14100
14147
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14101
14148
|
});
|
|
14102
14149
|
},
|
|
14103
14150
|
/**
|
|
14104
|
-
*
|
|
14105
|
-
* @summary
|
|
14151
|
+
* Creates a payment order using specified or default payment gateway
|
|
14152
|
+
* @summary Create a new payment order
|
|
14153
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14106
14154
|
* @param {*} [options] Override http request option.
|
|
14107
14155
|
* @throws {RequiredError}
|
|
14108
14156
|
*/
|
|
14109
|
-
|
|
14157
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14110
14158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14111
14159
|
var _a, _b, _c;
|
|
14112
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
14160
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options);
|
|
14113
14161
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14114
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.
|
|
14162
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.paymentGatewayCreateOrderPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14115
14163
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14116
14164
|
});
|
|
14117
14165
|
},
|
|
@@ -14162,6 +14210,36 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
14162
14210
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14163
14211
|
});
|
|
14164
14212
|
},
|
|
14213
|
+
/**
|
|
14214
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14215
|
+
* @summary Get available credit plans
|
|
14216
|
+
* @param {*} [options] Override http request option.
|
|
14217
|
+
* @throws {RequiredError}
|
|
14218
|
+
*/
|
|
14219
|
+
v1CreditPlansGet(options) {
|
|
14220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14221
|
+
var _a, _b, _c;
|
|
14222
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreditPlansGet(options);
|
|
14223
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14224
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.v1CreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14225
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14226
|
+
});
|
|
14227
|
+
},
|
|
14228
|
+
/**
|
|
14229
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
14230
|
+
* @summary Get subscription plans grouped by tier
|
|
14231
|
+
* @param {*} [options] Override http request option.
|
|
14232
|
+
* @throws {RequiredError}
|
|
14233
|
+
*/
|
|
14234
|
+
v1SubscriptionPlansGet(options) {
|
|
14235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14236
|
+
var _a, _b, _c;
|
|
14237
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SubscriptionPlansGet(options);
|
|
14238
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14239
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.v1SubscriptionPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14240
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14241
|
+
});
|
|
14242
|
+
},
|
|
14165
14243
|
};
|
|
14166
14244
|
};
|
|
14167
14245
|
exports.PaymentGatewayApiFp = PaymentGatewayApiFp;
|
|
@@ -14173,23 +14251,23 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
14173
14251
|
const localVarFp = (0, exports.PaymentGatewayApiFp)(configuration);
|
|
14174
14252
|
return {
|
|
14175
14253
|
/**
|
|
14176
|
-
*
|
|
14177
|
-
* @summary
|
|
14178
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14254
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14255
|
+
* @summary Get available credit plans
|
|
14179
14256
|
* @param {*} [options] Override http request option.
|
|
14180
14257
|
* @throws {RequiredError}
|
|
14181
14258
|
*/
|
|
14182
|
-
|
|
14183
|
-
return localVarFp.
|
|
14259
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14260
|
+
return localVarFp.adminPaymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14184
14261
|
},
|
|
14185
14262
|
/**
|
|
14186
|
-
*
|
|
14187
|
-
* @summary
|
|
14263
|
+
* Creates a payment order using specified or default payment gateway
|
|
14264
|
+
* @summary Create a new payment order
|
|
14265
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14188
14266
|
* @param {*} [options] Override http request option.
|
|
14189
14267
|
* @throws {RequiredError}
|
|
14190
14268
|
*/
|
|
14191
|
-
|
|
14192
|
-
return localVarFp.
|
|
14269
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14270
|
+
return localVarFp.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
|
|
14193
14271
|
},
|
|
14194
14272
|
/**
|
|
14195
14273
|
* Returns list of all available payment gateways
|
|
@@ -14220,6 +14298,24 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
14220
14298
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
|
|
14221
14299
|
return localVarFp.paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
|
|
14222
14300
|
},
|
|
14301
|
+
/**
|
|
14302
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14303
|
+
* @summary Get available credit plans
|
|
14304
|
+
* @param {*} [options] Override http request option.
|
|
14305
|
+
* @throws {RequiredError}
|
|
14306
|
+
*/
|
|
14307
|
+
v1CreditPlansGet(options) {
|
|
14308
|
+
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14309
|
+
},
|
|
14310
|
+
/**
|
|
14311
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
14312
|
+
* @summary Get subscription plans grouped by tier
|
|
14313
|
+
* @param {*} [options] Override http request option.
|
|
14314
|
+
* @throws {RequiredError}
|
|
14315
|
+
*/
|
|
14316
|
+
v1SubscriptionPlansGet(options) {
|
|
14317
|
+
return localVarFp.v1SubscriptionPlansGet(options).then((request) => request(axios, basePath));
|
|
14318
|
+
},
|
|
14223
14319
|
};
|
|
14224
14320
|
};
|
|
14225
14321
|
exports.PaymentGatewayApiFactory = PaymentGatewayApiFactory;
|
|
@@ -14231,25 +14327,25 @@ exports.PaymentGatewayApiFactory = PaymentGatewayApiFactory;
|
|
|
14231
14327
|
*/
|
|
14232
14328
|
class PaymentGatewayApi extends base_1.BaseAPI {
|
|
14233
14329
|
/**
|
|
14234
|
-
*
|
|
14235
|
-
* @summary
|
|
14236
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14330
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14331
|
+
* @summary Get available credit plans
|
|
14237
14332
|
* @param {*} [options] Override http request option.
|
|
14238
14333
|
* @throws {RequiredError}
|
|
14239
14334
|
* @memberof PaymentGatewayApi
|
|
14240
14335
|
*/
|
|
14241
|
-
|
|
14242
|
-
return (0, exports.PaymentGatewayApiFp)(this.configuration).
|
|
14336
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14337
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayCreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14243
14338
|
}
|
|
14244
14339
|
/**
|
|
14245
|
-
*
|
|
14246
|
-
* @summary
|
|
14340
|
+
* Creates a payment order using specified or default payment gateway
|
|
14341
|
+
* @summary Create a new payment order
|
|
14342
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14247
14343
|
* @param {*} [options] Override http request option.
|
|
14248
14344
|
* @throws {RequiredError}
|
|
14249
14345
|
* @memberof PaymentGatewayApi
|
|
14250
14346
|
*/
|
|
14251
|
-
|
|
14252
|
-
return (0, exports.PaymentGatewayApiFp)(this.configuration).
|
|
14347
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14348
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14253
14349
|
}
|
|
14254
14350
|
/**
|
|
14255
14351
|
* Returns list of all available payment gateways
|
|
@@ -14283,6 +14379,26 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
14283
14379
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
|
|
14284
14380
|
return (0, exports.PaymentGatewayApiFp)(this.configuration).paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14285
14381
|
}
|
|
14382
|
+
/**
|
|
14383
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14384
|
+
* @summary Get available credit plans
|
|
14385
|
+
* @param {*} [options] Override http request option.
|
|
14386
|
+
* @throws {RequiredError}
|
|
14387
|
+
* @memberof PaymentGatewayApi
|
|
14388
|
+
*/
|
|
14389
|
+
v1CreditPlansGet(options) {
|
|
14390
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14391
|
+
}
|
|
14392
|
+
/**
|
|
14393
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
14394
|
+
* @summary Get subscription plans grouped by tier
|
|
14395
|
+
* @param {*} [options] Override http request option.
|
|
14396
|
+
* @throws {RequiredError}
|
|
14397
|
+
* @memberof PaymentGatewayApi
|
|
14398
|
+
*/
|
|
14399
|
+
v1SubscriptionPlansGet(options) {
|
|
14400
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).v1SubscriptionPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14401
|
+
}
|
|
14286
14402
|
}
|
|
14287
14403
|
exports.PaymentGatewayApi = PaymentGatewayApi;
|
|
14288
14404
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -25115,20 +25115,20 @@ export declare class ParentMenusApi extends BaseAPI {
|
|
|
25115
25115
|
*/
|
|
25116
25116
|
export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25117
25117
|
/**
|
|
25118
|
-
*
|
|
25119
|
-
* @summary
|
|
25120
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25118
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25119
|
+
* @summary Get available credit plans
|
|
25121
25120
|
* @param {*} [options] Override http request option.
|
|
25122
25121
|
* @throws {RequiredError}
|
|
25123
25122
|
*/
|
|
25124
|
-
|
|
25123
|
+
adminPaymentGatewayCreditPlansGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25125
25124
|
/**
|
|
25126
|
-
*
|
|
25127
|
-
* @summary
|
|
25125
|
+
* Creates a payment order using specified or default payment gateway
|
|
25126
|
+
* @summary Create a new payment order
|
|
25127
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25128
25128
|
* @param {*} [options] Override http request option.
|
|
25129
25129
|
* @throws {RequiredError}
|
|
25130
25130
|
*/
|
|
25131
|
-
|
|
25131
|
+
paymentGatewayCreateOrderPost: (dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25132
25132
|
/**
|
|
25133
25133
|
* Returns list of all available payment gateways
|
|
25134
25134
|
* @summary Get available payment gateways
|
|
@@ -25152,6 +25152,20 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
25152
25152
|
* @throws {RequiredError}
|
|
25153
25153
|
*/
|
|
25154
25154
|
paymentGatewayVerifyPost: (dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25155
|
+
/**
|
|
25156
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25157
|
+
* @summary Get available credit plans
|
|
25158
|
+
* @param {*} [options] Override http request option.
|
|
25159
|
+
* @throws {RequiredError}
|
|
25160
|
+
*/
|
|
25161
|
+
v1CreditPlansGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25162
|
+
/**
|
|
25163
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
25164
|
+
* @summary Get subscription plans grouped by tier
|
|
25165
|
+
* @param {*} [options] Override http request option.
|
|
25166
|
+
* @throws {RequiredError}
|
|
25167
|
+
*/
|
|
25168
|
+
v1SubscriptionPlansGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25155
25169
|
};
|
|
25156
25170
|
/**
|
|
25157
25171
|
* PaymentGatewayApi - functional programming interface
|
|
@@ -25159,20 +25173,20 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
25159
25173
|
*/
|
|
25160
25174
|
export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
25161
25175
|
/**
|
|
25162
|
-
*
|
|
25163
|
-
* @summary
|
|
25164
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25176
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25177
|
+
* @summary Get available credit plans
|
|
25165
25178
|
* @param {*} [options] Override http request option.
|
|
25166
25179
|
* @throws {RequiredError}
|
|
25167
25180
|
*/
|
|
25168
|
-
|
|
25181
|
+
adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCreditPlan>>>;
|
|
25169
25182
|
/**
|
|
25170
|
-
*
|
|
25171
|
-
* @summary
|
|
25183
|
+
* Creates a payment order using specified or default payment gateway
|
|
25184
|
+
* @summary Create a new payment order
|
|
25185
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25172
25186
|
* @param {*} [options] Override http request option.
|
|
25173
25187
|
* @throws {RequiredError}
|
|
25174
25188
|
*/
|
|
25175
|
-
|
|
25189
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCreatePaymentOrderResponse>>;
|
|
25176
25190
|
/**
|
|
25177
25191
|
* Returns list of all available payment gateways
|
|
25178
25192
|
* @summary Get available payment gateways
|
|
@@ -25196,6 +25210,22 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
25196
25210
|
* @throws {RequiredError}
|
|
25197
25211
|
*/
|
|
25198
25212
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusResponse>>;
|
|
25213
|
+
/**
|
|
25214
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25215
|
+
* @summary Get available credit plans
|
|
25216
|
+
* @param {*} [options] Override http request option.
|
|
25217
|
+
* @throws {RequiredError}
|
|
25218
|
+
*/
|
|
25219
|
+
v1CreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCreditPlan>>>;
|
|
25220
|
+
/**
|
|
25221
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
25222
|
+
* @summary Get subscription plans grouped by tier
|
|
25223
|
+
* @param {*} [options] Override http request option.
|
|
25224
|
+
* @throws {RequiredError}
|
|
25225
|
+
*/
|
|
25226
|
+
v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
25227
|
+
[key: string]: any;
|
|
25228
|
+
}>>;
|
|
25199
25229
|
};
|
|
25200
25230
|
/**
|
|
25201
25231
|
* PaymentGatewayApi - factory interface
|
|
@@ -25203,20 +25233,20 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
25203
25233
|
*/
|
|
25204
25234
|
export declare const PaymentGatewayApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25205
25235
|
/**
|
|
25206
|
-
*
|
|
25207
|
-
* @summary
|
|
25208
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25236
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25237
|
+
* @summary Get available credit plans
|
|
25209
25238
|
* @param {*} [options] Override http request option.
|
|
25210
25239
|
* @throws {RequiredError}
|
|
25211
25240
|
*/
|
|
25212
|
-
|
|
25241
|
+
adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>>;
|
|
25213
25242
|
/**
|
|
25214
|
-
*
|
|
25215
|
-
* @summary
|
|
25243
|
+
* Creates a payment order using specified or default payment gateway
|
|
25244
|
+
* @summary Create a new payment order
|
|
25245
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25216
25246
|
* @param {*} [options] Override http request option.
|
|
25217
25247
|
* @throws {RequiredError}
|
|
25218
25248
|
*/
|
|
25219
|
-
|
|
25249
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCreatePaymentOrderResponse>;
|
|
25220
25250
|
/**
|
|
25221
25251
|
* Returns list of all available payment gateways
|
|
25222
25252
|
* @summary Get available payment gateways
|
|
@@ -25240,6 +25270,22 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
25240
25270
|
* @throws {RequiredError}
|
|
25241
25271
|
*/
|
|
25242
25272
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusResponse>;
|
|
25273
|
+
/**
|
|
25274
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25275
|
+
* @summary Get available credit plans
|
|
25276
|
+
* @param {*} [options] Override http request option.
|
|
25277
|
+
* @throws {RequiredError}
|
|
25278
|
+
*/
|
|
25279
|
+
v1CreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>>;
|
|
25280
|
+
/**
|
|
25281
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
25282
|
+
* @summary Get subscription plans grouped by tier
|
|
25283
|
+
* @param {*} [options] Override http request option.
|
|
25284
|
+
* @throws {RequiredError}
|
|
25285
|
+
*/
|
|
25286
|
+
v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
25287
|
+
[key: string]: any;
|
|
25288
|
+
}>;
|
|
25243
25289
|
};
|
|
25244
25290
|
/**
|
|
25245
25291
|
* PaymentGatewayApi - object-oriented interface
|
|
@@ -25249,22 +25295,22 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
25249
25295
|
*/
|
|
25250
25296
|
export declare class PaymentGatewayApi extends BaseAPI {
|
|
25251
25297
|
/**
|
|
25252
|
-
*
|
|
25253
|
-
* @summary
|
|
25254
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25298
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25299
|
+
* @summary Get available credit plans
|
|
25255
25300
|
* @param {*} [options] Override http request option.
|
|
25256
25301
|
* @throws {RequiredError}
|
|
25257
25302
|
* @memberof PaymentGatewayApi
|
|
25258
25303
|
*/
|
|
25259
|
-
|
|
25304
|
+
adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesCreditPlan[], any, {}>>;
|
|
25260
25305
|
/**
|
|
25261
|
-
*
|
|
25262
|
-
* @summary
|
|
25306
|
+
* Creates a payment order using specified or default payment gateway
|
|
25307
|
+
* @summary Create a new payment order
|
|
25308
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
25263
25309
|
* @param {*} [options] Override http request option.
|
|
25264
25310
|
* @throws {RequiredError}
|
|
25265
25311
|
* @memberof PaymentGatewayApi
|
|
25266
25312
|
*/
|
|
25267
|
-
|
|
25313
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesCreatePaymentOrderResponse, any, {}>>;
|
|
25268
25314
|
/**
|
|
25269
25315
|
* Returns list of all available payment gateways
|
|
25270
25316
|
* @summary Get available payment gateways
|
|
@@ -25291,6 +25337,24 @@ export declare class PaymentGatewayApi extends BaseAPI {
|
|
|
25291
25337
|
* @memberof PaymentGatewayApi
|
|
25292
25338
|
*/
|
|
25293
25339
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesPaymentStatusResponse, any, {}>>;
|
|
25340
|
+
/**
|
|
25341
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
25342
|
+
* @summary Get available credit plans
|
|
25343
|
+
* @param {*} [options] Override http request option.
|
|
25344
|
+
* @throws {RequiredError}
|
|
25345
|
+
* @memberof PaymentGatewayApi
|
|
25346
|
+
*/
|
|
25347
|
+
v1CreditPlansGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesCreditPlan[], any, {}>>;
|
|
25348
|
+
/**
|
|
25349
|
+
* Returns subscription plans grouped by tier (Free, Basic, Growth, Pro, Scale, Enterprise) with all variants (monthly/annual × USD/INR). Each plan includes tagline, highlights, and 4 variants (monthly/annual × USD/INR)
|
|
25350
|
+
* @summary Get subscription plans grouped by tier
|
|
25351
|
+
* @param {*} [options] Override http request option.
|
|
25352
|
+
* @throws {RequiredError}
|
|
25353
|
+
* @memberof PaymentGatewayApi
|
|
25354
|
+
*/
|
|
25355
|
+
v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
25356
|
+
[key: string]: any;
|
|
25357
|
+
}, any, {}>>;
|
|
25294
25358
|
}
|
|
25295
25359
|
/**
|
|
25296
25360
|
* PaymentsApi - axios parameter creator
|