@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/esm/api.js
CHANGED
|
@@ -13834,59 +13834,57 @@ export class ParentMenusApi extends BaseAPI {
|
|
|
13834
13834
|
export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
13835
13835
|
return {
|
|
13836
13836
|
/**
|
|
13837
|
-
*
|
|
13838
|
-
* @summary
|
|
13839
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
13837
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
13838
|
+
* @summary Get available credit plans
|
|
13840
13839
|
* @param {*} [options] Override http request option.
|
|
13841
13840
|
* @throws {RequiredError}
|
|
13842
13841
|
*/
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
assertParamExists('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
|
|
13846
|
-
const localVarPath = `/payment-gateway/create-order`;
|
|
13842
|
+
adminPaymentGatewayCreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
13843
|
+
const localVarPath = `/admin/payment-gateway/credit-plans`;
|
|
13847
13844
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13848
13845
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13849
13846
|
let baseOptions;
|
|
13850
13847
|
if (configuration) {
|
|
13851
13848
|
baseOptions = configuration.baseOptions;
|
|
13852
13849
|
}
|
|
13853
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
13850
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13854
13851
|
const localVarHeaderParameter = {};
|
|
13855
13852
|
const localVarQueryParameter = {};
|
|
13856
|
-
// authentication BearerAuth required
|
|
13857
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13858
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13859
13853
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13860
13854
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13861
13855
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13862
|
-
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
|
|
13863
13856
|
return {
|
|
13864
13857
|
url: toPathString(localVarUrlObj),
|
|
13865
13858
|
options: localVarRequestOptions,
|
|
13866
13859
|
};
|
|
13867
13860
|
}),
|
|
13868
13861
|
/**
|
|
13869
|
-
*
|
|
13870
|
-
* @summary
|
|
13862
|
+
* Creates a payment order using specified or default payment gateway
|
|
13863
|
+
* @summary Create a new payment order
|
|
13864
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
13871
13865
|
* @param {*} [options] Override http request option.
|
|
13872
13866
|
* @throws {RequiredError}
|
|
13873
13867
|
*/
|
|
13874
|
-
|
|
13875
|
-
|
|
13868
|
+
paymentGatewayCreateOrderPost: (dataTypesCreatePaymentOrderRequest_1, ...args_1) => __awaiter(this, [dataTypesCreatePaymentOrderRequest_1, ...args_1], void 0, function* (dataTypesCreatePaymentOrderRequest, options = {}) {
|
|
13869
|
+
// verify required parameter 'dataTypesCreatePaymentOrderRequest' is not null or undefined
|
|
13870
|
+
assertParamExists('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest);
|
|
13871
|
+
const localVarPath = `/payment-gateway/create-order`;
|
|
13876
13872
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13877
13873
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13878
13874
|
let baseOptions;
|
|
13879
13875
|
if (configuration) {
|
|
13880
13876
|
baseOptions = configuration.baseOptions;
|
|
13881
13877
|
}
|
|
13882
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
13878
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13883
13879
|
const localVarHeaderParameter = {};
|
|
13884
13880
|
const localVarQueryParameter = {};
|
|
13885
13881
|
// authentication BearerAuth required
|
|
13886
13882
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13883
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13887
13884
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13888
13885
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13889
13886
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13887
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration);
|
|
13890
13888
|
return {
|
|
13891
13889
|
url: toPathString(localVarUrlObj),
|
|
13892
13890
|
options: localVarRequestOptions,
|
|
@@ -13983,6 +13981,56 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
13983
13981
|
options: localVarRequestOptions,
|
|
13984
13982
|
};
|
|
13985
13983
|
}),
|
|
13984
|
+
/**
|
|
13985
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
13986
|
+
* @summary Get available credit plans
|
|
13987
|
+
* @param {*} [options] Override http request option.
|
|
13988
|
+
* @throws {RequiredError}
|
|
13989
|
+
*/
|
|
13990
|
+
v1CreditPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
13991
|
+
const localVarPath = `/v1/credit-plans`;
|
|
13992
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13993
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13994
|
+
let baseOptions;
|
|
13995
|
+
if (configuration) {
|
|
13996
|
+
baseOptions = configuration.baseOptions;
|
|
13997
|
+
}
|
|
13998
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
13999
|
+
const localVarHeaderParameter = {};
|
|
14000
|
+
const localVarQueryParameter = {};
|
|
14001
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14002
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14003
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14004
|
+
return {
|
|
14005
|
+
url: toPathString(localVarUrlObj),
|
|
14006
|
+
options: localVarRequestOptions,
|
|
14007
|
+
};
|
|
14008
|
+
}),
|
|
14009
|
+
/**
|
|
14010
|
+
* 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)
|
|
14011
|
+
* @summary Get subscription plans grouped by tier
|
|
14012
|
+
* @param {*} [options] Override http request option.
|
|
14013
|
+
* @throws {RequiredError}
|
|
14014
|
+
*/
|
|
14015
|
+
v1SubscriptionPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
14016
|
+
const localVarPath = `/v1/subscription-plans`;
|
|
14017
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14018
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14019
|
+
let baseOptions;
|
|
14020
|
+
if (configuration) {
|
|
14021
|
+
baseOptions = configuration.baseOptions;
|
|
14022
|
+
}
|
|
14023
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14024
|
+
const localVarHeaderParameter = {};
|
|
14025
|
+
const localVarQueryParameter = {};
|
|
14026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14028
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14029
|
+
return {
|
|
14030
|
+
url: toPathString(localVarUrlObj),
|
|
14031
|
+
options: localVarRequestOptions,
|
|
14032
|
+
};
|
|
14033
|
+
}),
|
|
13986
14034
|
};
|
|
13987
14035
|
};
|
|
13988
14036
|
/**
|
|
@@ -13993,33 +14041,33 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
13993
14041
|
const localVarAxiosParamCreator = PaymentGatewayApiAxiosParamCreator(configuration);
|
|
13994
14042
|
return {
|
|
13995
14043
|
/**
|
|
13996
|
-
*
|
|
13997
|
-
* @summary
|
|
13998
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14044
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14045
|
+
* @summary Get available credit plans
|
|
13999
14046
|
* @param {*} [options] Override http request option.
|
|
14000
14047
|
* @throws {RequiredError}
|
|
14001
14048
|
*/
|
|
14002
|
-
|
|
14049
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14003
14050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14004
14051
|
var _a, _b, _c;
|
|
14005
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
14052
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayCreditPlansGet(options);
|
|
14006
14053
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14007
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.
|
|
14054
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayCreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14008
14055
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14009
14056
|
});
|
|
14010
14057
|
},
|
|
14011
14058
|
/**
|
|
14012
|
-
*
|
|
14013
|
-
* @summary
|
|
14059
|
+
* Creates a payment order using specified or default payment gateway
|
|
14060
|
+
* @summary Create a new payment order
|
|
14061
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14014
14062
|
* @param {*} [options] Override http request option.
|
|
14015
14063
|
* @throws {RequiredError}
|
|
14016
14064
|
*/
|
|
14017
|
-
|
|
14065
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14018
14066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14019
14067
|
var _a, _b, _c;
|
|
14020
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
14068
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options);
|
|
14021
14069
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14022
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.
|
|
14070
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.paymentGatewayCreateOrderPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14023
14071
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14024
14072
|
});
|
|
14025
14073
|
},
|
|
@@ -14070,6 +14118,36 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
14070
14118
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14071
14119
|
});
|
|
14072
14120
|
},
|
|
14121
|
+
/**
|
|
14122
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14123
|
+
* @summary Get available credit plans
|
|
14124
|
+
* @param {*} [options] Override http request option.
|
|
14125
|
+
* @throws {RequiredError}
|
|
14126
|
+
*/
|
|
14127
|
+
v1CreditPlansGet(options) {
|
|
14128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14129
|
+
var _a, _b, _c;
|
|
14130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreditPlansGet(options);
|
|
14131
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14132
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.v1CreditPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14133
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14134
|
+
});
|
|
14135
|
+
},
|
|
14136
|
+
/**
|
|
14137
|
+
* 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)
|
|
14138
|
+
* @summary Get subscription plans grouped by tier
|
|
14139
|
+
* @param {*} [options] Override http request option.
|
|
14140
|
+
* @throws {RequiredError}
|
|
14141
|
+
*/
|
|
14142
|
+
v1SubscriptionPlansGet(options) {
|
|
14143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14144
|
+
var _a, _b, _c;
|
|
14145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SubscriptionPlansGet(options);
|
|
14146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
14147
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.v1SubscriptionPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
14148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14149
|
+
});
|
|
14150
|
+
},
|
|
14073
14151
|
};
|
|
14074
14152
|
};
|
|
14075
14153
|
/**
|
|
@@ -14080,23 +14158,23 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
14080
14158
|
const localVarFp = PaymentGatewayApiFp(configuration);
|
|
14081
14159
|
return {
|
|
14082
14160
|
/**
|
|
14083
|
-
*
|
|
14084
|
-
* @summary
|
|
14085
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14161
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14162
|
+
* @summary Get available credit plans
|
|
14086
14163
|
* @param {*} [options] Override http request option.
|
|
14087
14164
|
* @throws {RequiredError}
|
|
14088
14165
|
*/
|
|
14089
|
-
|
|
14090
|
-
return localVarFp.
|
|
14166
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14167
|
+
return localVarFp.adminPaymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14091
14168
|
},
|
|
14092
14169
|
/**
|
|
14093
|
-
*
|
|
14094
|
-
* @summary
|
|
14170
|
+
* Creates a payment order using specified or default payment gateway
|
|
14171
|
+
* @summary Create a new payment order
|
|
14172
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14095
14173
|
* @param {*} [options] Override http request option.
|
|
14096
14174
|
* @throws {RequiredError}
|
|
14097
14175
|
*/
|
|
14098
|
-
|
|
14099
|
-
return localVarFp.
|
|
14176
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14177
|
+
return localVarFp.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
|
|
14100
14178
|
},
|
|
14101
14179
|
/**
|
|
14102
14180
|
* Returns list of all available payment gateways
|
|
@@ -14127,6 +14205,24 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
14127
14205
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
|
|
14128
14206
|
return localVarFp.paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
|
|
14129
14207
|
},
|
|
14208
|
+
/**
|
|
14209
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14210
|
+
* @summary Get available credit plans
|
|
14211
|
+
* @param {*} [options] Override http request option.
|
|
14212
|
+
* @throws {RequiredError}
|
|
14213
|
+
*/
|
|
14214
|
+
v1CreditPlansGet(options) {
|
|
14215
|
+
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14216
|
+
},
|
|
14217
|
+
/**
|
|
14218
|
+
* 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)
|
|
14219
|
+
* @summary Get subscription plans grouped by tier
|
|
14220
|
+
* @param {*} [options] Override http request option.
|
|
14221
|
+
* @throws {RequiredError}
|
|
14222
|
+
*/
|
|
14223
|
+
v1SubscriptionPlansGet(options) {
|
|
14224
|
+
return localVarFp.v1SubscriptionPlansGet(options).then((request) => request(axios, basePath));
|
|
14225
|
+
},
|
|
14130
14226
|
};
|
|
14131
14227
|
};
|
|
14132
14228
|
/**
|
|
@@ -14137,25 +14233,25 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
14137
14233
|
*/
|
|
14138
14234
|
export class PaymentGatewayApi extends BaseAPI {
|
|
14139
14235
|
/**
|
|
14140
|
-
*
|
|
14141
|
-
* @summary
|
|
14142
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14236
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14237
|
+
* @summary Get available credit plans
|
|
14143
14238
|
* @param {*} [options] Override http request option.
|
|
14144
14239
|
* @throws {RequiredError}
|
|
14145
14240
|
* @memberof PaymentGatewayApi
|
|
14146
14241
|
*/
|
|
14147
|
-
|
|
14148
|
-
return PaymentGatewayApiFp(this.configuration).
|
|
14242
|
+
adminPaymentGatewayCreditPlansGet(options) {
|
|
14243
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayCreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14149
14244
|
}
|
|
14150
14245
|
/**
|
|
14151
|
-
*
|
|
14152
|
-
* @summary
|
|
14246
|
+
* Creates a payment order using specified or default payment gateway
|
|
14247
|
+
* @summary Create a new payment order
|
|
14248
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
14153
14249
|
* @param {*} [options] Override http request option.
|
|
14154
14250
|
* @throws {RequiredError}
|
|
14155
14251
|
* @memberof PaymentGatewayApi
|
|
14156
14252
|
*/
|
|
14157
|
-
|
|
14158
|
-
return PaymentGatewayApiFp(this.configuration).
|
|
14253
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options) {
|
|
14254
|
+
return PaymentGatewayApiFp(this.configuration).paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14159
14255
|
}
|
|
14160
14256
|
/**
|
|
14161
14257
|
* Returns list of all available payment gateways
|
|
@@ -14189,6 +14285,26 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
14189
14285
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options) {
|
|
14190
14286
|
return PaymentGatewayApiFp(this.configuration).paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14191
14287
|
}
|
|
14288
|
+
/**
|
|
14289
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
14290
|
+
* @summary Get available credit plans
|
|
14291
|
+
* @param {*} [options] Override http request option.
|
|
14292
|
+
* @throws {RequiredError}
|
|
14293
|
+
* @memberof PaymentGatewayApi
|
|
14294
|
+
*/
|
|
14295
|
+
v1CreditPlansGet(options) {
|
|
14296
|
+
return PaymentGatewayApiFp(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14297
|
+
}
|
|
14298
|
+
/**
|
|
14299
|
+
* 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)
|
|
14300
|
+
* @summary Get subscription plans grouped by tier
|
|
14301
|
+
* @param {*} [options] Override http request option.
|
|
14302
|
+
* @throws {RequiredError}
|
|
14303
|
+
* @memberof PaymentGatewayApi
|
|
14304
|
+
*/
|
|
14305
|
+
v1SubscriptionPlansGet(options) {
|
|
14306
|
+
return PaymentGatewayApiFp(this.configuration).v1SubscriptionPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14307
|
+
}
|
|
14192
14308
|
}
|
|
14193
14309
|
/**
|
|
14194
14310
|
* PaymentsApi - axios parameter creator
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|