@seekora-ai/admin-api 1.0.69 → 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 +3 -2
- package/api.ts +62 -0
- package/dist/api.d.ts +35 -0
- package/dist/api.js +59 -0
- package/dist/esm/api.d.ts +35 -0
- package/dist/esm/api.js +59 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.70.tgz +0 -0
- package/seekora-ai-admin-api-1.0.69.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.0.
|
|
1
|
+
## @seekora-ai/admin-api@1.0.70
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.0.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.0.70 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -197,6 +197,7 @@ Class | Method | HTTP request | Description
|
|
|
197
197
|
*PaymentGatewayApi* | [**paymentGatewayRefundPost**](docs/PaymentGatewayApi.md#paymentgatewayrefundpost) | **POST** /payment-gateway/refund | Process payment refund
|
|
198
198
|
*PaymentGatewayApi* | [**paymentGatewayVerifyPost**](docs/PaymentGatewayApi.md#paymentgatewayverifypost) | **POST** /payment-gateway/verify | Verify payment status
|
|
199
199
|
*PaymentGatewayApi* | [**v1CreditPlansGet**](docs/PaymentGatewayApi.md#v1creditplansget) | **GET** /v1/credit-plans | Get available credit plans
|
|
200
|
+
*PaymentGatewayApi* | [**v1SubscriptionPlansGet**](docs/PaymentGatewayApi.md#v1subscriptionplansget) | **GET** /v1/subscription-plans | Get subscription plans grouped by tier
|
|
200
201
|
*PaymentsApi* | [**adminPaymentsGet**](docs/PaymentsApi.md#adminpaymentsget) | **GET** /admin/payments/ | Fetches list of all payments
|
|
201
202
|
*PaymentsApi* | [**adminPaymentsPaymentIDDelete**](docs/PaymentsApi.md#adminpaymentspaymentiddelete) | **DELETE** /admin/payments/{paymentID} | Delete a payment
|
|
202
203
|
*PaymentsApi* | [**adminPaymentsPaymentIDGet**](docs/PaymentsApi.md#adminpaymentspaymentidget) | **GET** /admin/payments/{paymentID} | Fetches payment by id
|
package/api.ts
CHANGED
|
@@ -32744,6 +32744,36 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32744
32744
|
|
|
32745
32745
|
|
|
32746
32746
|
|
|
32747
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32749
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32750
|
+
|
|
32751
|
+
return {
|
|
32752
|
+
url: toPathString(localVarUrlObj),
|
|
32753
|
+
options: localVarRequestOptions,
|
|
32754
|
+
};
|
|
32755
|
+
},
|
|
32756
|
+
/**
|
|
32757
|
+
* 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)
|
|
32758
|
+
* @summary Get subscription plans grouped by tier
|
|
32759
|
+
* @param {*} [options] Override http request option.
|
|
32760
|
+
* @throws {RequiredError}
|
|
32761
|
+
*/
|
|
32762
|
+
v1SubscriptionPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32763
|
+
const localVarPath = `/v1/subscription-plans`;
|
|
32764
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32766
|
+
let baseOptions;
|
|
32767
|
+
if (configuration) {
|
|
32768
|
+
baseOptions = configuration.baseOptions;
|
|
32769
|
+
}
|
|
32770
|
+
|
|
32771
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32772
|
+
const localVarHeaderParameter = {} as any;
|
|
32773
|
+
const localVarQueryParameter = {} as any;
|
|
32774
|
+
|
|
32775
|
+
|
|
32776
|
+
|
|
32747
32777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32748
32778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32749
32779
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -32838,6 +32868,18 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
32838
32868
|
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.v1CreditPlansGet']?.[localVarOperationServerIndex]?.url;
|
|
32839
32869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32840
32870
|
},
|
|
32871
|
+
/**
|
|
32872
|
+
* 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)
|
|
32873
|
+
* @summary Get subscription plans grouped by tier
|
|
32874
|
+
* @param {*} [options] Override http request option.
|
|
32875
|
+
* @throws {RequiredError}
|
|
32876
|
+
*/
|
|
32877
|
+
async v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
32878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1SubscriptionPlansGet(options);
|
|
32879
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32880
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.v1SubscriptionPlansGet']?.[localVarOperationServerIndex]?.url;
|
|
32881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32882
|
+
},
|
|
32841
32883
|
}
|
|
32842
32884
|
};
|
|
32843
32885
|
|
|
@@ -32905,6 +32947,15 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
32905
32947
|
v1CreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>> {
|
|
32906
32948
|
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
32907
32949
|
},
|
|
32950
|
+
/**
|
|
32951
|
+
* 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)
|
|
32952
|
+
* @summary Get subscription plans grouped by tier
|
|
32953
|
+
* @param {*} [options] Override http request option.
|
|
32954
|
+
* @throws {RequiredError}
|
|
32955
|
+
*/
|
|
32956
|
+
v1SubscriptionPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
32957
|
+
return localVarFp.v1SubscriptionPlansGet(options).then((request) => request(axios, basePath));
|
|
32958
|
+
},
|
|
32908
32959
|
};
|
|
32909
32960
|
};
|
|
32910
32961
|
|
|
@@ -32983,6 +33034,17 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
32983
33034
|
public v1CreditPlansGet(options?: RawAxiosRequestConfig) {
|
|
32984
33035
|
return PaymentGatewayApiFp(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
32985
33036
|
}
|
|
33037
|
+
|
|
33038
|
+
/**
|
|
33039
|
+
* 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)
|
|
33040
|
+
* @summary Get subscription plans grouped by tier
|
|
33041
|
+
* @param {*} [options] Override http request option.
|
|
33042
|
+
* @throws {RequiredError}
|
|
33043
|
+
* @memberof PaymentGatewayApi
|
|
33044
|
+
*/
|
|
33045
|
+
public v1SubscriptionPlansGet(options?: RawAxiosRequestConfig) {
|
|
33046
|
+
return PaymentGatewayApiFp(this.configuration).v1SubscriptionPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
33047
|
+
}
|
|
32986
33048
|
}
|
|
32987
33049
|
|
|
32988
33050
|
|
package/dist/api.d.ts
CHANGED
|
@@ -25159,6 +25159,13 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
25159
25159
|
* @throws {RequiredError}
|
|
25160
25160
|
*/
|
|
25161
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>;
|
|
25162
25169
|
};
|
|
25163
25170
|
/**
|
|
25164
25171
|
* PaymentGatewayApi - functional programming interface
|
|
@@ -25210,6 +25217,15 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
25210
25217
|
* @throws {RequiredError}
|
|
25211
25218
|
*/
|
|
25212
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
|
+
}>>;
|
|
25213
25229
|
};
|
|
25214
25230
|
/**
|
|
25215
25231
|
* PaymentGatewayApi - factory interface
|
|
@@ -25261,6 +25277,15 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
25261
25277
|
* @throws {RequiredError}
|
|
25262
25278
|
*/
|
|
25263
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
|
+
}>;
|
|
25264
25289
|
};
|
|
25265
25290
|
/**
|
|
25266
25291
|
* PaymentGatewayApi - object-oriented interface
|
|
@@ -25320,6 +25345,16 @@ export declare class PaymentGatewayApi extends BaseAPI {
|
|
|
25320
25345
|
* @memberof PaymentGatewayApi
|
|
25321
25346
|
*/
|
|
25322
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, {}>>;
|
|
25323
25358
|
}
|
|
25324
25359
|
/**
|
|
25325
25360
|
* PaymentsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -14097,6 +14097,31 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
14097
14097
|
options: localVarRequestOptions,
|
|
14098
14098
|
};
|
|
14099
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
|
+
}),
|
|
14100
14125
|
};
|
|
14101
14126
|
};
|
|
14102
14127
|
exports.PaymentGatewayApiAxiosParamCreator = PaymentGatewayApiAxiosParamCreator;
|
|
@@ -14200,6 +14225,21 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
14200
14225
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14201
14226
|
});
|
|
14202
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
|
+
},
|
|
14203
14243
|
};
|
|
14204
14244
|
};
|
|
14205
14245
|
exports.PaymentGatewayApiFp = PaymentGatewayApiFp;
|
|
@@ -14267,6 +14307,15 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
14267
14307
|
v1CreditPlansGet(options) {
|
|
14268
14308
|
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14269
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
|
+
},
|
|
14270
14319
|
};
|
|
14271
14320
|
};
|
|
14272
14321
|
exports.PaymentGatewayApiFactory = PaymentGatewayApiFactory;
|
|
@@ -14340,6 +14389,16 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
14340
14389
|
v1CreditPlansGet(options) {
|
|
14341
14390
|
return (0, exports.PaymentGatewayApiFp)(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14342
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
|
+
}
|
|
14343
14402
|
}
|
|
14344
14403
|
exports.PaymentGatewayApi = PaymentGatewayApi;
|
|
14345
14404
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -25159,6 +25159,13 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
25159
25159
|
* @throws {RequiredError}
|
|
25160
25160
|
*/
|
|
25161
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>;
|
|
25162
25169
|
};
|
|
25163
25170
|
/**
|
|
25164
25171
|
* PaymentGatewayApi - functional programming interface
|
|
@@ -25210,6 +25217,15 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
25210
25217
|
* @throws {RequiredError}
|
|
25211
25218
|
*/
|
|
25212
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
|
+
}>>;
|
|
25213
25229
|
};
|
|
25214
25230
|
/**
|
|
25215
25231
|
* PaymentGatewayApi - factory interface
|
|
@@ -25261,6 +25277,15 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
25261
25277
|
* @throws {RequiredError}
|
|
25262
25278
|
*/
|
|
25263
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
|
+
}>;
|
|
25264
25289
|
};
|
|
25265
25290
|
/**
|
|
25266
25291
|
* PaymentGatewayApi - object-oriented interface
|
|
@@ -25320,6 +25345,16 @@ export declare class PaymentGatewayApi extends BaseAPI {
|
|
|
25320
25345
|
* @memberof PaymentGatewayApi
|
|
25321
25346
|
*/
|
|
25322
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, {}>>;
|
|
25323
25358
|
}
|
|
25324
25359
|
/**
|
|
25325
25360
|
* PaymentsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -14006,6 +14006,31 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
14006
14006
|
options: localVarRequestOptions,
|
|
14007
14007
|
};
|
|
14008
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
|
+
}),
|
|
14009
14034
|
};
|
|
14010
14035
|
};
|
|
14011
14036
|
/**
|
|
@@ -14108,6 +14133,21 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
14108
14133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14109
14134
|
});
|
|
14110
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
|
+
},
|
|
14111
14151
|
};
|
|
14112
14152
|
};
|
|
14113
14153
|
/**
|
|
@@ -14174,6 +14214,15 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
14174
14214
|
v1CreditPlansGet(options) {
|
|
14175
14215
|
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
14176
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
|
+
},
|
|
14177
14226
|
};
|
|
14178
14227
|
};
|
|
14179
14228
|
/**
|
|
@@ -14246,6 +14295,16 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
14246
14295
|
v1CreditPlansGet(options) {
|
|
14247
14296
|
return PaymentGatewayApiFp(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
14248
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
|
+
}
|
|
14249
14308
|
}
|
|
14250
14309
|
/**
|
|
14251
14310
|
* PaymentsApi - axios parameter creator
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|