@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/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):_
|
|
@@ -191,11 +191,13 @@ Class | Method | HTTP request | Description
|
|
|
191
191
|
*ParentMenusApi* | [**miscParentMenusIdGet**](docs/ParentMenusApi.md#miscparentmenusidget) | **GET** /misc/ParentMenus/{id} | Fetches parent menus by id
|
|
192
192
|
*ParentMenusApi* | [**miscParentMenusIdPut**](docs/ParentMenusApi.md#miscparentmenusidput) | **PUT** /misc/ParentMenus/{id} | Update an existing parent menu
|
|
193
193
|
*ParentMenusApi* | [**miscParentMenusPost**](docs/ParentMenusApi.md#miscparentmenuspost) | **POST** /misc/ParentMenus | Creates a new parent menu
|
|
194
|
+
*PaymentGatewayApi* | [**adminPaymentGatewayCreditPlansGet**](docs/PaymentGatewayApi.md#adminpaymentgatewaycreditplansget) | **GET** /admin/payment-gateway/credit-plans | Get available credit plans
|
|
194
195
|
*PaymentGatewayApi* | [**paymentGatewayCreateOrderPost**](docs/PaymentGatewayApi.md#paymentgatewaycreateorderpost) | **POST** /payment-gateway/create-order | Create a new payment order
|
|
195
|
-
*PaymentGatewayApi* | [**paymentGatewayCreditPlansGet**](docs/PaymentGatewayApi.md#paymentgatewaycreditplansget) | **GET** /payment-gateway/credit-plans | Get available credit plans
|
|
196
196
|
*PaymentGatewayApi* | [**paymentGatewayGatewaysGet**](docs/PaymentGatewayApi.md#paymentgatewaygatewaysget) | **GET** /payment-gateway/gateways | Get available payment gateways
|
|
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
|
+
*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
|
|
199
201
|
*PaymentsApi* | [**adminPaymentsGet**](docs/PaymentsApi.md#adminpaymentsget) | **GET** /admin/payments/ | Fetches list of all payments
|
|
200
202
|
*PaymentsApi* | [**adminPaymentsPaymentIDDelete**](docs/PaymentsApi.md#adminpaymentspaymentiddelete) | **DELETE** /admin/payments/{paymentID} | Delete a payment
|
|
201
203
|
*PaymentsApi* | [**adminPaymentsPaymentIDGet**](docs/PaymentsApi.md#adminpaymentspaymentidget) | **GET** /admin/payments/{paymentID} | Fetches payment by id
|
package/api.ts
CHANGED
|
@@ -32544,16 +32544,13 @@ export class ParentMenusApi extends BaseAPI {
|
|
|
32544
32544
|
export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32545
32545
|
return {
|
|
32546
32546
|
/**
|
|
32547
|
-
*
|
|
32548
|
-
* @summary
|
|
32549
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32547
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32548
|
+
* @summary Get available credit plans
|
|
32550
32549
|
* @param {*} [options] Override http request option.
|
|
32551
32550
|
* @throws {RequiredError}
|
|
32552
32551
|
*/
|
|
32553
|
-
|
|
32554
|
-
|
|
32555
|
-
assertParamExists('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest)
|
|
32556
|
-
const localVarPath = `/payment-gateway/create-order`;
|
|
32552
|
+
adminPaymentGatewayCreditPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32553
|
+
const localVarPath = `/admin/payment-gateway/credit-plans`;
|
|
32557
32554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32558
32555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32559
32556
|
let baseOptions;
|
|
@@ -32561,21 +32558,15 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32561
32558
|
baseOptions = configuration.baseOptions;
|
|
32562
32559
|
}
|
|
32563
32560
|
|
|
32564
|
-
const localVarRequestOptions = { method: '
|
|
32561
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32565
32562
|
const localVarHeaderParameter = {} as any;
|
|
32566
32563
|
const localVarQueryParameter = {} as any;
|
|
32567
32564
|
|
|
32568
|
-
// authentication BearerAuth required
|
|
32569
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32570
|
-
|
|
32571
32565
|
|
|
32572
32566
|
|
|
32573
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32574
|
-
|
|
32575
32567
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32576
32568
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32577
32569
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32578
|
-
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration)
|
|
32579
32570
|
|
|
32580
32571
|
return {
|
|
32581
32572
|
url: toPathString(localVarUrlObj),
|
|
@@ -32583,13 +32574,16 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32583
32574
|
};
|
|
32584
32575
|
},
|
|
32585
32576
|
/**
|
|
32586
|
-
*
|
|
32587
|
-
* @summary
|
|
32577
|
+
* Creates a payment order using specified or default payment gateway
|
|
32578
|
+
* @summary Create a new payment order
|
|
32579
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32588
32580
|
* @param {*} [options] Override http request option.
|
|
32589
32581
|
* @throws {RequiredError}
|
|
32590
32582
|
*/
|
|
32591
|
-
|
|
32592
|
-
|
|
32583
|
+
paymentGatewayCreateOrderPost: async (dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32584
|
+
// verify required parameter 'dataTypesCreatePaymentOrderRequest' is not null or undefined
|
|
32585
|
+
assertParamExists('paymentGatewayCreateOrderPost', 'dataTypesCreatePaymentOrderRequest', dataTypesCreatePaymentOrderRequest)
|
|
32586
|
+
const localVarPath = `/payment-gateway/create-order`;
|
|
32593
32587
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32594
32588
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32595
32589
|
let baseOptions;
|
|
@@ -32597,7 +32591,7 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32597
32591
|
baseOptions = configuration.baseOptions;
|
|
32598
32592
|
}
|
|
32599
32593
|
|
|
32600
|
-
const localVarRequestOptions = { method: '
|
|
32594
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32601
32595
|
const localVarHeaderParameter = {} as any;
|
|
32602
32596
|
const localVarQueryParameter = {} as any;
|
|
32603
32597
|
|
|
@@ -32606,9 +32600,12 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32606
32600
|
|
|
32607
32601
|
|
|
32608
32602
|
|
|
32603
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32604
|
+
|
|
32609
32605
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32610
32606
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32611
32607
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32608
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreatePaymentOrderRequest, localVarRequestOptions, configuration)
|
|
32612
32609
|
|
|
32613
32610
|
return {
|
|
32614
32611
|
url: toPathString(localVarUrlObj),
|
|
@@ -32721,6 +32718,66 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
32721
32718
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32722
32719
|
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesVerifyPaymentRequest, localVarRequestOptions, configuration)
|
|
32723
32720
|
|
|
32721
|
+
return {
|
|
32722
|
+
url: toPathString(localVarUrlObj),
|
|
32723
|
+
options: localVarRequestOptions,
|
|
32724
|
+
};
|
|
32725
|
+
},
|
|
32726
|
+
/**
|
|
32727
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32728
|
+
* @summary Get available credit plans
|
|
32729
|
+
* @param {*} [options] Override http request option.
|
|
32730
|
+
* @throws {RequiredError}
|
|
32731
|
+
*/
|
|
32732
|
+
v1CreditPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32733
|
+
const localVarPath = `/v1/credit-plans`;
|
|
32734
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32735
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32736
|
+
let baseOptions;
|
|
32737
|
+
if (configuration) {
|
|
32738
|
+
baseOptions = configuration.baseOptions;
|
|
32739
|
+
}
|
|
32740
|
+
|
|
32741
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32742
|
+
const localVarHeaderParameter = {} as any;
|
|
32743
|
+
const localVarQueryParameter = {} as any;
|
|
32744
|
+
|
|
32745
|
+
|
|
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
|
+
|
|
32777
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32779
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32780
|
+
|
|
32724
32781
|
return {
|
|
32725
32782
|
url: toPathString(localVarUrlObj),
|
|
32726
32783
|
options: localVarRequestOptions,
|
|
@@ -32737,28 +32794,28 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
32737
32794
|
const localVarAxiosParamCreator = PaymentGatewayApiAxiosParamCreator(configuration)
|
|
32738
32795
|
return {
|
|
32739
32796
|
/**
|
|
32740
|
-
*
|
|
32741
|
-
* @summary
|
|
32742
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32797
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32798
|
+
* @summary Get available credit plans
|
|
32743
32799
|
* @param {*} [options] Override http request option.
|
|
32744
32800
|
* @throws {RequiredError}
|
|
32745
32801
|
*/
|
|
32746
|
-
async
|
|
32747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32802
|
+
async adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCreditPlan>>> {
|
|
32803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayCreditPlansGet(options);
|
|
32748
32804
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32749
|
-
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.
|
|
32805
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayCreditPlansGet']?.[localVarOperationServerIndex]?.url;
|
|
32750
32806
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32751
32807
|
},
|
|
32752
32808
|
/**
|
|
32753
|
-
*
|
|
32754
|
-
* @summary
|
|
32809
|
+
* Creates a payment order using specified or default payment gateway
|
|
32810
|
+
* @summary Create a new payment order
|
|
32811
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32755
32812
|
* @param {*} [options] Override http request option.
|
|
32756
32813
|
* @throws {RequiredError}
|
|
32757
32814
|
*/
|
|
32758
|
-
async
|
|
32759
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32815
|
+
async paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCreatePaymentOrderResponse>> {
|
|
32816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options);
|
|
32760
32817
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32761
|
-
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.
|
|
32818
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.paymentGatewayCreateOrderPost']?.[localVarOperationServerIndex]?.url;
|
|
32762
32819
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32763
32820
|
},
|
|
32764
32821
|
/**
|
|
@@ -32799,6 +32856,30 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
32799
32856
|
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.paymentGatewayVerifyPost']?.[localVarOperationServerIndex]?.url;
|
|
32800
32857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32801
32858
|
},
|
|
32859
|
+
/**
|
|
32860
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32861
|
+
* @summary Get available credit plans
|
|
32862
|
+
* @param {*} [options] Override http request option.
|
|
32863
|
+
* @throws {RequiredError}
|
|
32864
|
+
*/
|
|
32865
|
+
async v1CreditPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataTypesCreditPlan>>> {
|
|
32866
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreditPlansGet(options);
|
|
32867
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32868
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.v1CreditPlansGet']?.[localVarOperationServerIndex]?.url;
|
|
32869
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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
|
+
},
|
|
32802
32883
|
}
|
|
32803
32884
|
};
|
|
32804
32885
|
|
|
@@ -32810,23 +32891,23 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
32810
32891
|
const localVarFp = PaymentGatewayApiFp(configuration)
|
|
32811
32892
|
return {
|
|
32812
32893
|
/**
|
|
32813
|
-
*
|
|
32814
|
-
* @summary
|
|
32815
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32894
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32895
|
+
* @summary Get available credit plans
|
|
32816
32896
|
* @param {*} [options] Override http request option.
|
|
32817
32897
|
* @throws {RequiredError}
|
|
32818
32898
|
*/
|
|
32819
|
-
|
|
32820
|
-
return localVarFp.
|
|
32899
|
+
adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>> {
|
|
32900
|
+
return localVarFp.adminPaymentGatewayCreditPlansGet(options).then((request) => request(axios, basePath));
|
|
32821
32901
|
},
|
|
32822
32902
|
/**
|
|
32823
|
-
*
|
|
32824
|
-
* @summary
|
|
32903
|
+
* Creates a payment order using specified or default payment gateway
|
|
32904
|
+
* @summary Create a new payment order
|
|
32905
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32825
32906
|
* @param {*} [options] Override http request option.
|
|
32826
32907
|
* @throws {RequiredError}
|
|
32827
32908
|
*/
|
|
32828
|
-
|
|
32829
|
-
return localVarFp.
|
|
32909
|
+
paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCreatePaymentOrderResponse> {
|
|
32910
|
+
return localVarFp.paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
|
|
32830
32911
|
},
|
|
32831
32912
|
/**
|
|
32832
32913
|
* Returns list of all available payment gateways
|
|
@@ -32857,6 +32938,24 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
32857
32938
|
paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusResponse> {
|
|
32858
32939
|
return localVarFp.paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
|
|
32859
32940
|
},
|
|
32941
|
+
/**
|
|
32942
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32943
|
+
* @summary Get available credit plans
|
|
32944
|
+
* @param {*} [options] Override http request option.
|
|
32945
|
+
* @throws {RequiredError}
|
|
32946
|
+
*/
|
|
32947
|
+
v1CreditPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<DataTypesCreditPlan>> {
|
|
32948
|
+
return localVarFp.v1CreditPlansGet(options).then((request) => request(axios, basePath));
|
|
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
|
+
},
|
|
32860
32959
|
};
|
|
32861
32960
|
};
|
|
32862
32961
|
|
|
@@ -32868,26 +32967,26 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
32868
32967
|
*/
|
|
32869
32968
|
export class PaymentGatewayApi extends BaseAPI {
|
|
32870
32969
|
/**
|
|
32871
|
-
*
|
|
32872
|
-
* @summary
|
|
32873
|
-
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32970
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
32971
|
+
* @summary Get available credit plans
|
|
32874
32972
|
* @param {*} [options] Override http request option.
|
|
32875
32973
|
* @throws {RequiredError}
|
|
32876
32974
|
* @memberof PaymentGatewayApi
|
|
32877
32975
|
*/
|
|
32878
|
-
public
|
|
32879
|
-
return PaymentGatewayApiFp(this.configuration).
|
|
32976
|
+
public adminPaymentGatewayCreditPlansGet(options?: RawAxiosRequestConfig) {
|
|
32977
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayCreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
32880
32978
|
}
|
|
32881
32979
|
|
|
32882
32980
|
/**
|
|
32883
|
-
*
|
|
32884
|
-
* @summary
|
|
32981
|
+
* Creates a payment order using specified or default payment gateway
|
|
32982
|
+
* @summary Create a new payment order
|
|
32983
|
+
* @param {DataTypesCreatePaymentOrderRequest} dataTypesCreatePaymentOrderRequest Payment order details
|
|
32885
32984
|
* @param {*} [options] Override http request option.
|
|
32886
32985
|
* @throws {RequiredError}
|
|
32887
32986
|
* @memberof PaymentGatewayApi
|
|
32888
32987
|
*/
|
|
32889
|
-
public
|
|
32890
|
-
return PaymentGatewayApiFp(this.configuration).
|
|
32988
|
+
public paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest: DataTypesCreatePaymentOrderRequest, options?: RawAxiosRequestConfig) {
|
|
32989
|
+
return PaymentGatewayApiFp(this.configuration).paymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32891
32990
|
}
|
|
32892
32991
|
|
|
32893
32992
|
/**
|
|
@@ -32924,6 +33023,28 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
32924
33023
|
public paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
32925
33024
|
return PaymentGatewayApiFp(this.configuration).paymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32926
33025
|
}
|
|
33026
|
+
|
|
33027
|
+
/**
|
|
33028
|
+
* Returns list of all active credit plans for purchase (available both as public and protected endpoint)
|
|
33029
|
+
* @summary Get available credit plans
|
|
33030
|
+
* @param {*} [options] Override http request option.
|
|
33031
|
+
* @throws {RequiredError}
|
|
33032
|
+
* @memberof PaymentGatewayApi
|
|
33033
|
+
*/
|
|
33034
|
+
public v1CreditPlansGet(options?: RawAxiosRequestConfig) {
|
|
33035
|
+
return PaymentGatewayApiFp(this.configuration).v1CreditPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
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
|
+
}
|
|
32927
33048
|
}
|
|
32928
33049
|
|
|
32929
33050
|
|
package/dist/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
|