@seekora-ai/admin-api 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/api.ts +197 -20
- package/dist/api.d.ts +111 -8
- package/dist/api.js +157 -20
- package/dist/esm/api.d.ts +111 -8
- package/dist/esm/api.js +157 -20
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.4.tgz +0 -0
- package/seekora-ai-admin-api-1.2.3.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.2.
|
|
1
|
+
## @seekora-ai/admin-api@1.2.4
|
|
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.2.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.2.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -237,8 +237,8 @@ Class | Method | HTTP request | Description
|
|
|
237
237
|
*BillingDashboardGraphsApi* | [**adminBillingGraphsSearchRequestsGet**](docs/BillingDashboardGraphsApi.md#adminbillinggraphssearchrequestsget) | **GET** /admin/billing/graphs/search-requests | Get search requests graph
|
|
238
238
|
*BillingDashboardGraphsApi* | [**adminBillingGraphsTimeseriesConsumptionGet**](docs/BillingDashboardGraphsApi.md#adminbillinggraphstimeseriesconsumptionget) | **GET** /admin/billing/graphs/timeseries-consumption | Get timeseries consumption graph
|
|
239
239
|
*BillingDashboardGraphsApi* | [**adminBillingGraphsUsageBreakdownGet**](docs/BillingDashboardGraphsApi.md#adminbillinggraphsusagebreakdownget) | **GET** /admin/billing/graphs/usage-breakdown | Get usage breakdown graph
|
|
240
|
-
*BillingUserPaymentsApi* | [**
|
|
241
|
-
*BillingUserPaymentsApi* | [**
|
|
240
|
+
*BillingUserPaymentsApi* | [**adminBillingPaymentsRetryPost**](docs/BillingUserPaymentsApi.md#adminbillingpaymentsretrypost) | **POST** /admin/billing/payments/retry | Retry a failed subscription payment
|
|
241
|
+
*BillingUserPaymentsApi* | [**adminBillingSubscriptionsIdPaymentStatusGet**](docs/BillingUserPaymentsApi.md#adminbillingsubscriptionsidpaymentstatusget) | **GET** /admin/billing/subscriptions/{id}/payment-status | Get payment status for a subscription
|
|
242
242
|
*CommonApi* | [**v1CommonLanguagesGet**](docs/CommonApi.md#v1commonlanguagesget) | **GET** /v1/common/languages | Get Supported Languages
|
|
243
243
|
*CompanyConfigApi* | [**adminV1ConfigCompanyGet**](docs/CompanyConfigApi.md#adminv1configcompanyget) | **GET** /admin/v1/config/company | Get company configuration
|
|
244
244
|
*CompanyConfigApi* | [**adminV1ConfigCompanyPut**](docs/CompanyConfigApi.md#adminv1configcompanyput) | **PUT** /admin/v1/config/company | Update company configuration
|
|
@@ -449,6 +449,7 @@ Class | Method | HTTP request | Description
|
|
|
449
449
|
*PaymentGatewayApi* | [**adminPaymentGatewayGatewaysGet**](docs/PaymentGatewayApi.md#adminpaymentgatewaygatewaysget) | **GET** /admin/payment-gateway/gateways | Get available payment gateways
|
|
450
450
|
*PaymentGatewayApi* | [**adminPaymentGatewayOrdersGet**](docs/PaymentGatewayApi.md#adminpaymentgatewayordersget) | **GET** /admin/payment-gateway/orders | List orders (paginated)
|
|
451
451
|
*PaymentGatewayApi* | [**adminPaymentGatewayOrdersIdGet**](docs/PaymentGatewayApi.md#adminpaymentgatewayordersidget) | **GET** /admin/payment-gateway/orders/{id} | Get single order details with transactions and invoice
|
|
452
|
+
*PaymentGatewayApi* | [**adminPaymentGatewayOrdersIdRetryInfoGet**](docs/PaymentGatewayApi.md#adminpaymentgatewayordersidretryinfoget) | **GET** /admin/payment-gateway/orders/{id}/retry-info | Get order retry payment info
|
|
452
453
|
*PaymentGatewayApi* | [**adminPaymentGatewayPaymentStatusOrderIdGet**](docs/PaymentGatewayApi.md#adminpaymentgatewaypaymentstatusorderidget) | **GET** /admin/payment-gateway/payment-status/{order_id} | Get payment status for polling (frontend)
|
|
453
454
|
*PaymentGatewayApi* | [**adminPaymentGatewayRefundPost**](docs/PaymentGatewayApi.md#adminpaymentgatewayrefundpost) | **POST** /admin/payment-gateway/refund | Process payment refund
|
|
454
455
|
*PaymentGatewayApi* | [**adminPaymentGatewayVerifyInvoicePost**](docs/PaymentGatewayApi.md#adminpaymentgatewayverifyinvoicepost) | **POST** /admin/payment-gateway/verify-invoice | Verify invoice payment (simplified)
|
|
@@ -627,6 +628,7 @@ Class | Method | HTTP request | Description
|
|
|
627
628
|
*SubscriptionPaymentsApi* | [**apiInternalSubscriptionPaymentsStatusSubscriptionIdGet**](docs/SubscriptionPaymentsApi.md#apiinternalsubscriptionpaymentsstatussubscriptionidget) | **GET** /api/internal/subscription-payments/status/{subscription_id} | Get subscription payment status
|
|
628
629
|
*SubscriptionsApi* | [**adminSubscriptionsCancelPreviewPost**](docs/SubscriptionsApi.md#adminsubscriptionscancelpreviewpost) | **POST** /admin/subscriptions/cancel/preview | Preview subscription cancellation details
|
|
629
630
|
*SubscriptionsApi* | [**adminSubscriptionsCancelProcessPost**](docs/SubscriptionsApi.md#adminsubscriptionscancelprocesspost) | **POST** /admin/subscriptions/cancel/process | Process subscription cancellation
|
|
631
|
+
*SubscriptionsApi* | [**adminSubscriptionsPlanChangePreviewPost**](docs/SubscriptionsApi.md#adminsubscriptionsplanchangepreviewpost) | **POST** /admin/subscriptions/plan-change/preview | Preview plan change details
|
|
630
632
|
*SubscriptionsApi* | [**adminSubscriptionsSubscriptionIDPut**](docs/SubscriptionsApi.md#adminsubscriptionssubscriptionidput) | **PUT** /admin/subscriptions/{subscriptionID} | Update an existing Subscription
|
|
631
633
|
*SubscriptionsApi* | [**adminSubscriptionsUpdatestatusSubscriptionIDStatusPut**](docs/SubscriptionsApi.md#adminsubscriptionsupdatestatussubscriptionidstatusput) | **PUT** /admin/subscriptions/updatestatus/{subscriptionID}/{status} | Update an existing Subscription status
|
|
632
634
|
*SubscriptionsApi* | [**miscSubscriptionsGet**](docs/SubscriptionsApi.md#miscsubscriptionsget) | **GET** /misc/subscriptions | Fetches list of all Subscription
|
|
@@ -1565,6 +1567,7 @@ Class | Method | HTTP request | Description
|
|
|
1565
1567
|
- [StoreRouteTimeSeriesResponse](docs/StoreRouteTimeSeriesResponse.md)
|
|
1566
1568
|
- [SubscriptionRouteCancelPreviewRequest](docs/SubscriptionRouteCancelPreviewRequest.md)
|
|
1567
1569
|
- [SubscriptionRouteCancelProcessRequest](docs/SubscriptionRouteCancelProcessRequest.md)
|
|
1570
|
+
- [SubscriptionRoutePlanChangePreviewHTTPRequest](docs/SubscriptionRoutePlanChangePreviewHTTPRequest.md)
|
|
1568
1571
|
- [V1AdminNotificationsSchedulePostRequest](docs/V1AdminNotificationsSchedulePostRequest.md)
|
|
1569
1572
|
- [V1AdminNotificationsTemplatesCodeSendPostRequest](docs/V1AdminNotificationsTemplatesCodeSendPostRequest.md)
|
|
1570
1573
|
- [V1ConnectorsSourcesSourceidUploaddataPostRequest](docs/V1ConnectorsSourcesSourceidUploaddataPostRequest.md)
|
package/api.ts
CHANGED
|
@@ -40433,6 +40433,37 @@ export interface SubscriptionRouteCancelProcessRequest {
|
|
|
40433
40433
|
*/
|
|
40434
40434
|
'subscription_id'?: string;
|
|
40435
40435
|
}
|
|
40436
|
+
/**
|
|
40437
|
+
*
|
|
40438
|
+
* @export
|
|
40439
|
+
* @interface SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40440
|
+
*/
|
|
40441
|
+
export interface SubscriptionRoutePlanChangePreviewHTTPRequest {
|
|
40442
|
+
/**
|
|
40443
|
+
*
|
|
40444
|
+
* @type {string}
|
|
40445
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40446
|
+
*/
|
|
40447
|
+
'billing_cycle'?: string;
|
|
40448
|
+
/**
|
|
40449
|
+
*
|
|
40450
|
+
* @type {string}
|
|
40451
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40452
|
+
*/
|
|
40453
|
+
'currency'?: string;
|
|
40454
|
+
/**
|
|
40455
|
+
*
|
|
40456
|
+
* @type {number}
|
|
40457
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40458
|
+
*/
|
|
40459
|
+
'new_plan_id'?: number;
|
|
40460
|
+
/**
|
|
40461
|
+
*
|
|
40462
|
+
* @type {string}
|
|
40463
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40464
|
+
*/
|
|
40465
|
+
'new_plan_identifier'?: string;
|
|
40466
|
+
}
|
|
40436
40467
|
/**
|
|
40437
40468
|
*
|
|
40438
40469
|
* @export
|
|
@@ -59906,10 +59937,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration?:
|
|
|
59906
59937
|
* @param {*} [options] Override http request option.
|
|
59907
59938
|
* @throws {RequiredError}
|
|
59908
59939
|
*/
|
|
59909
|
-
|
|
59940
|
+
adminBillingPaymentsRetryPost: async (billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59910
59941
|
// verify required parameter 'billingServiceRetryPaymentRequest' is not null or undefined
|
|
59911
|
-
assertParamExists('
|
|
59912
|
-
const localVarPath = `/
|
|
59942
|
+
assertParamExists('adminBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest)
|
|
59943
|
+
const localVarPath = `/admin/billing/payments/retry`;
|
|
59913
59944
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59914
59945
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59915
59946
|
let baseOptions;
|
|
@@ -59945,10 +59976,10 @@ export const BillingUserPaymentsApiAxiosParamCreator = function (configuration?:
|
|
|
59945
59976
|
* @param {*} [options] Override http request option.
|
|
59946
59977
|
* @throws {RequiredError}
|
|
59947
59978
|
*/
|
|
59948
|
-
|
|
59979
|
+
adminBillingSubscriptionsIdPaymentStatusGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59949
59980
|
// verify required parameter 'id' is not null or undefined
|
|
59950
|
-
assertParamExists('
|
|
59951
|
-
const localVarPath = `/
|
|
59981
|
+
assertParamExists('adminBillingSubscriptionsIdPaymentStatusGet', 'id', id)
|
|
59982
|
+
const localVarPath = `/admin/billing/subscriptions/{id}/payment-status`
|
|
59952
59983
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
59953
59984
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59954
59985
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -59992,10 +60023,10 @@ export const BillingUserPaymentsApiFp = function(configuration?: Configuration)
|
|
|
59992
60023
|
* @param {*} [options] Override http request option.
|
|
59993
60024
|
* @throws {RequiredError}
|
|
59994
60025
|
*/
|
|
59995
|
-
async
|
|
59996
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
60026
|
+
async adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServiceRetryPaymentResponse>> {
|
|
60027
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
|
|
59997
60028
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59998
|
-
const localVarOperationServerBasePath = operationServerMap['BillingUserPaymentsApi.
|
|
60029
|
+
const localVarOperationServerBasePath = operationServerMap['BillingUserPaymentsApi.adminBillingPaymentsRetryPost']?.[localVarOperationServerIndex]?.url;
|
|
59999
60030
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60000
60031
|
},
|
|
60001
60032
|
/**
|
|
@@ -60005,10 +60036,10 @@ export const BillingUserPaymentsApiFp = function(configuration?: Configuration)
|
|
|
60005
60036
|
* @param {*} [options] Override http request option.
|
|
60006
60037
|
* @throws {RequiredError}
|
|
60007
60038
|
*/
|
|
60008
|
-
async
|
|
60009
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
60039
|
+
async adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServicePaymentStatusResponse>> {
|
|
60040
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingSubscriptionsIdPaymentStatusGet(id, options);
|
|
60010
60041
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
60011
|
-
const localVarOperationServerBasePath = operationServerMap['BillingUserPaymentsApi.
|
|
60042
|
+
const localVarOperationServerBasePath = operationServerMap['BillingUserPaymentsApi.adminBillingSubscriptionsIdPaymentStatusGet']?.[localVarOperationServerIndex]?.url;
|
|
60012
60043
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60013
60044
|
},
|
|
60014
60045
|
}
|
|
@@ -60028,8 +60059,8 @@ export const BillingUserPaymentsApiFactory = function (configuration?: Configura
|
|
|
60028
60059
|
* @param {*} [options] Override http request option.
|
|
60029
60060
|
* @throws {RequiredError}
|
|
60030
60061
|
*/
|
|
60031
|
-
|
|
60032
|
-
return localVarFp.
|
|
60062
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingServiceRetryPaymentResponse> {
|
|
60063
|
+
return localVarFp.adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
|
|
60033
60064
|
},
|
|
60034
60065
|
/**
|
|
60035
60066
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
@@ -60038,8 +60069,8 @@ export const BillingUserPaymentsApiFactory = function (configuration?: Configura
|
|
|
60038
60069
|
* @param {*} [options] Override http request option.
|
|
60039
60070
|
* @throws {RequiredError}
|
|
60040
60071
|
*/
|
|
60041
|
-
|
|
60042
|
-
return localVarFp.
|
|
60072
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BillingServicePaymentStatusResponse> {
|
|
60073
|
+
return localVarFp.adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
|
|
60043
60074
|
},
|
|
60044
60075
|
};
|
|
60045
60076
|
};
|
|
@@ -60059,8 +60090,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
|
|
|
60059
60090
|
* @throws {RequiredError}
|
|
60060
60091
|
* @memberof BillingUserPaymentsApi
|
|
60061
60092
|
*/
|
|
60062
|
-
public
|
|
60063
|
-
return BillingUserPaymentsApiFp(this.configuration).
|
|
60093
|
+
public adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig) {
|
|
60094
|
+
return BillingUserPaymentsApiFp(this.configuration).adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
60064
60095
|
}
|
|
60065
60096
|
|
|
60066
60097
|
/**
|
|
@@ -60071,8 +60102,8 @@ export class BillingUserPaymentsApi extends BaseAPI {
|
|
|
60071
60102
|
* @throws {RequiredError}
|
|
60072
60103
|
* @memberof BillingUserPaymentsApi
|
|
60073
60104
|
*/
|
|
60074
|
-
public
|
|
60075
|
-
return BillingUserPaymentsApiFp(this.configuration).
|
|
60105
|
+
public adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig) {
|
|
60106
|
+
return BillingUserPaymentsApiFp(this.configuration).adminBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
60076
60107
|
}
|
|
60077
60108
|
}
|
|
60078
60109
|
|
|
@@ -78655,6 +78686,43 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
78655
78686
|
|
|
78656
78687
|
|
|
78657
78688
|
|
|
78689
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78690
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78691
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78692
|
+
|
|
78693
|
+
return {
|
|
78694
|
+
url: toPathString(localVarUrlObj),
|
|
78695
|
+
options: localVarRequestOptions,
|
|
78696
|
+
};
|
|
78697
|
+
},
|
|
78698
|
+
/**
|
|
78699
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
78700
|
+
* @summary Get order retry payment info
|
|
78701
|
+
* @param {string} id Order UUID
|
|
78702
|
+
* @param {*} [options] Override http request option.
|
|
78703
|
+
* @throws {RequiredError}
|
|
78704
|
+
*/
|
|
78705
|
+
adminPaymentGatewayOrdersIdRetryInfoGet: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
78706
|
+
// verify required parameter 'id' is not null or undefined
|
|
78707
|
+
assertParamExists('adminPaymentGatewayOrdersIdRetryInfoGet', 'id', id)
|
|
78708
|
+
const localVarPath = `/admin/payment-gateway/orders/{id}/retry-info`
|
|
78709
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
78710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
78712
|
+
let baseOptions;
|
|
78713
|
+
if (configuration) {
|
|
78714
|
+
baseOptions = configuration.baseOptions;
|
|
78715
|
+
}
|
|
78716
|
+
|
|
78717
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
78718
|
+
const localVarHeaderParameter = {} as any;
|
|
78719
|
+
const localVarQueryParameter = {} as any;
|
|
78720
|
+
|
|
78721
|
+
// authentication BearerAuth required
|
|
78722
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
78723
|
+
|
|
78724
|
+
|
|
78725
|
+
|
|
78658
78726
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78659
78727
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78660
78728
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -79045,6 +79113,19 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
79045
79113
|
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdGet']?.[localVarOperationServerIndex]?.url;
|
|
79046
79114
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
79047
79115
|
},
|
|
79116
|
+
/**
|
|
79117
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
79118
|
+
* @summary Get order retry payment info
|
|
79119
|
+
* @param {string} id Order UUID
|
|
79120
|
+
* @param {*} [options] Override http request option.
|
|
79121
|
+
* @throws {RequiredError}
|
|
79122
|
+
*/
|
|
79123
|
+
async adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
79124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayOrdersIdRetryInfoGet(id, options);
|
|
79125
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
79126
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdRetryInfoGet']?.[localVarOperationServerIndex]?.url;
|
|
79127
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
79128
|
+
},
|
|
79048
79129
|
/**
|
|
79049
79130
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
79050
79131
|
* @summary Get payment status for polling (frontend)
|
|
@@ -79220,6 +79301,16 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
79220
79301
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrderDetailsResponse> {
|
|
79221
79302
|
return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
79222
79303
|
},
|
|
79304
|
+
/**
|
|
79305
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
79306
|
+
* @summary Get order retry payment info
|
|
79307
|
+
* @param {string} id Order UUID
|
|
79308
|
+
* @param {*} [options] Override http request option.
|
|
79309
|
+
* @throws {RequiredError}
|
|
79310
|
+
*/
|
|
79311
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
79312
|
+
return localVarFp.adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(axios, basePath));
|
|
79313
|
+
},
|
|
79223
79314
|
/**
|
|
79224
79315
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
79225
79316
|
* @summary Get payment status for polling (frontend)
|
|
@@ -79381,6 +79472,18 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
79381
79472
|
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
79382
79473
|
}
|
|
79383
79474
|
|
|
79475
|
+
/**
|
|
79476
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
79477
|
+
* @summary Get order retry payment info
|
|
79478
|
+
* @param {string} id Order UUID
|
|
79479
|
+
* @param {*} [options] Override http request option.
|
|
79480
|
+
* @throws {RequiredError}
|
|
79481
|
+
* @memberof PaymentGatewayApi
|
|
79482
|
+
*/
|
|
79483
|
+
public adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig) {
|
|
79484
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayOrdersIdRetryInfoGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
79485
|
+
}
|
|
79486
|
+
|
|
79384
79487
|
/**
|
|
79385
79488
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
79386
79489
|
* @summary Get payment status for polling (frontend)
|
|
@@ -94241,6 +94344,45 @@ export const SubscriptionsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
94241
94344
|
options: localVarRequestOptions,
|
|
94242
94345
|
};
|
|
94243
94346
|
},
|
|
94347
|
+
/**
|
|
94348
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
94349
|
+
* @summary Preview plan change details
|
|
94350
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
94351
|
+
* @param {*} [options] Override http request option.
|
|
94352
|
+
* @throws {RequiredError}
|
|
94353
|
+
*/
|
|
94354
|
+
adminSubscriptionsPlanChangePreviewPost: async (subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94355
|
+
// verify required parameter 'subscriptionRoutePlanChangePreviewHTTPRequest' is not null or undefined
|
|
94356
|
+
assertParamExists('adminSubscriptionsPlanChangePreviewPost', 'subscriptionRoutePlanChangePreviewHTTPRequest', subscriptionRoutePlanChangePreviewHTTPRequest)
|
|
94357
|
+
const localVarPath = `/admin/subscriptions/plan-change/preview`;
|
|
94358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
94360
|
+
let baseOptions;
|
|
94361
|
+
if (configuration) {
|
|
94362
|
+
baseOptions = configuration.baseOptions;
|
|
94363
|
+
}
|
|
94364
|
+
|
|
94365
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
94366
|
+
const localVarHeaderParameter = {} as any;
|
|
94367
|
+
const localVarQueryParameter = {} as any;
|
|
94368
|
+
|
|
94369
|
+
// authentication BearerAuth required
|
|
94370
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
94371
|
+
|
|
94372
|
+
|
|
94373
|
+
|
|
94374
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
94375
|
+
|
|
94376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
94377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94378
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
94379
|
+
localVarRequestOptions.data = serializeDataIfNeeded(subscriptionRoutePlanChangePreviewHTTPRequest, localVarRequestOptions, configuration)
|
|
94380
|
+
|
|
94381
|
+
return {
|
|
94382
|
+
url: toPathString(localVarUrlObj),
|
|
94383
|
+
options: localVarRequestOptions,
|
|
94384
|
+
};
|
|
94385
|
+
},
|
|
94244
94386
|
/**
|
|
94245
94387
|
* Updates Subscription information by ID.
|
|
94246
94388
|
* @summary Update an existing Subscription
|
|
@@ -94470,6 +94612,19 @@ export const SubscriptionsApiFp = function(configuration?: Configuration) {
|
|
|
94470
94612
|
const localVarOperationServerBasePath = operationServerMap['SubscriptionsApi.adminSubscriptionsCancelProcessPost']?.[localVarOperationServerIndex]?.url;
|
|
94471
94613
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
94472
94614
|
},
|
|
94615
|
+
/**
|
|
94616
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
94617
|
+
* @summary Preview plan change details
|
|
94618
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
94619
|
+
* @param {*} [options] Override http request option.
|
|
94620
|
+
* @throws {RequiredError}
|
|
94621
|
+
*/
|
|
94622
|
+
async adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
94623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options);
|
|
94624
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
94625
|
+
const localVarOperationServerBasePath = operationServerMap['SubscriptionsApi.adminSubscriptionsPlanChangePreviewPost']?.[localVarOperationServerIndex]?.url;
|
|
94626
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
94627
|
+
},
|
|
94473
94628
|
/**
|
|
94474
94629
|
* Updates Subscription information by ID.
|
|
94475
94630
|
* @summary Update an existing Subscription
|
|
@@ -94566,6 +94721,16 @@ export const SubscriptionsApiFactory = function (configuration?: Configuration,
|
|
|
94566
94721
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
94567
94722
|
return localVarFp.adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(axios, basePath));
|
|
94568
94723
|
},
|
|
94724
|
+
/**
|
|
94725
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
94726
|
+
* @summary Preview plan change details
|
|
94727
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
94728
|
+
* @param {*} [options] Override http request option.
|
|
94729
|
+
* @throws {RequiredError}
|
|
94730
|
+
*/
|
|
94731
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
94732
|
+
return localVarFp.adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(axios, basePath));
|
|
94733
|
+
},
|
|
94569
94734
|
/**
|
|
94570
94735
|
* Updates Subscription information by ID.
|
|
94571
94736
|
* @summary Update an existing Subscription
|
|
@@ -94651,6 +94816,18 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
94651
94816
|
return SubscriptionsApiFp(this.configuration).adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest, options).then((request) => request(this.axios, this.basePath));
|
|
94652
94817
|
}
|
|
94653
94818
|
|
|
94819
|
+
/**
|
|
94820
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
94821
|
+
* @summary Preview plan change details
|
|
94822
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
94823
|
+
* @param {*} [options] Override http request option.
|
|
94824
|
+
* @throws {RequiredError}
|
|
94825
|
+
* @memberof SubscriptionsApi
|
|
94826
|
+
*/
|
|
94827
|
+
public adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig) {
|
|
94828
|
+
return SubscriptionsApiFp(this.configuration).adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest, options).then((request) => request(this.axios, this.basePath));
|
|
94829
|
+
}
|
|
94830
|
+
|
|
94654
94831
|
/**
|
|
94655
94832
|
* Updates Subscription information by ID.
|
|
94656
94833
|
* @summary Update an existing Subscription
|
package/dist/api.d.ts
CHANGED
|
@@ -40506,6 +40506,37 @@ export interface SubscriptionRouteCancelProcessRequest {
|
|
|
40506
40506
|
*/
|
|
40507
40507
|
'subscription_id'?: string;
|
|
40508
40508
|
}
|
|
40509
|
+
/**
|
|
40510
|
+
*
|
|
40511
|
+
* @export
|
|
40512
|
+
* @interface SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40513
|
+
*/
|
|
40514
|
+
export interface SubscriptionRoutePlanChangePreviewHTTPRequest {
|
|
40515
|
+
/**
|
|
40516
|
+
*
|
|
40517
|
+
* @type {string}
|
|
40518
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40519
|
+
*/
|
|
40520
|
+
'billing_cycle'?: string;
|
|
40521
|
+
/**
|
|
40522
|
+
*
|
|
40523
|
+
* @type {string}
|
|
40524
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40525
|
+
*/
|
|
40526
|
+
'currency'?: string;
|
|
40527
|
+
/**
|
|
40528
|
+
*
|
|
40529
|
+
* @type {number}
|
|
40530
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40531
|
+
*/
|
|
40532
|
+
'new_plan_id'?: number;
|
|
40533
|
+
/**
|
|
40534
|
+
*
|
|
40535
|
+
* @type {string}
|
|
40536
|
+
* @memberof SubscriptionRoutePlanChangePreviewHTTPRequest
|
|
40537
|
+
*/
|
|
40538
|
+
'new_plan_identifier'?: string;
|
|
40539
|
+
}
|
|
40509
40540
|
/**
|
|
40510
40541
|
*
|
|
40511
40542
|
* @export
|
|
@@ -50235,7 +50266,7 @@ export declare const BillingUserPaymentsApiAxiosParamCreator: (configuration?: C
|
|
|
50235
50266
|
* @param {*} [options] Override http request option.
|
|
50236
50267
|
* @throws {RequiredError}
|
|
50237
50268
|
*/
|
|
50238
|
-
|
|
50269
|
+
adminBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50239
50270
|
/**
|
|
50240
50271
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50241
50272
|
* @summary Get payment status for a subscription
|
|
@@ -50243,7 +50274,7 @@ export declare const BillingUserPaymentsApiAxiosParamCreator: (configuration?: C
|
|
|
50243
50274
|
* @param {*} [options] Override http request option.
|
|
50244
50275
|
* @throws {RequiredError}
|
|
50245
50276
|
*/
|
|
50246
|
-
|
|
50277
|
+
adminBillingSubscriptionsIdPaymentStatusGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50247
50278
|
};
|
|
50248
50279
|
/**
|
|
50249
50280
|
* BillingUserPaymentsApi - functional programming interface
|
|
@@ -50257,7 +50288,7 @@ export declare const BillingUserPaymentsApiFp: (configuration?: Configuration) =
|
|
|
50257
50288
|
* @param {*} [options] Override http request option.
|
|
50258
50289
|
* @throws {RequiredError}
|
|
50259
50290
|
*/
|
|
50260
|
-
|
|
50291
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServiceRetryPaymentResponse>>;
|
|
50261
50292
|
/**
|
|
50262
50293
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50263
50294
|
* @summary Get payment status for a subscription
|
|
@@ -50265,7 +50296,7 @@ export declare const BillingUserPaymentsApiFp: (configuration?: Configuration) =
|
|
|
50265
50296
|
* @param {*} [options] Override http request option.
|
|
50266
50297
|
* @throws {RequiredError}
|
|
50267
50298
|
*/
|
|
50268
|
-
|
|
50299
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillingServicePaymentStatusResponse>>;
|
|
50269
50300
|
};
|
|
50270
50301
|
/**
|
|
50271
50302
|
* BillingUserPaymentsApi - factory interface
|
|
@@ -50279,7 +50310,7 @@ export declare const BillingUserPaymentsApiFactory: (configuration?: Configurati
|
|
|
50279
50310
|
* @param {*} [options] Override http request option.
|
|
50280
50311
|
* @throws {RequiredError}
|
|
50281
50312
|
*/
|
|
50282
|
-
|
|
50313
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<BillingServiceRetryPaymentResponse>;
|
|
50283
50314
|
/**
|
|
50284
50315
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50285
50316
|
* @summary Get payment status for a subscription
|
|
@@ -50287,7 +50318,7 @@ export declare const BillingUserPaymentsApiFactory: (configuration?: Configurati
|
|
|
50287
50318
|
* @param {*} [options] Override http request option.
|
|
50288
50319
|
* @throws {RequiredError}
|
|
50289
50320
|
*/
|
|
50290
|
-
|
|
50321
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BillingServicePaymentStatusResponse>;
|
|
50291
50322
|
};
|
|
50292
50323
|
/**
|
|
50293
50324
|
* BillingUserPaymentsApi - object-oriented interface
|
|
@@ -50304,7 +50335,7 @@ export declare class BillingUserPaymentsApi extends BaseAPI {
|
|
|
50304
50335
|
* @throws {RequiredError}
|
|
50305
50336
|
* @memberof BillingUserPaymentsApi
|
|
50306
50337
|
*/
|
|
50307
|
-
|
|
50338
|
+
adminBillingPaymentsRetryPost(billingServiceRetryPaymentRequest: BillingServiceRetryPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServiceRetryPaymentResponse, any, {}>>;
|
|
50308
50339
|
/**
|
|
50309
50340
|
* Gets the current payment status, dunning state, and retry options for a subscription
|
|
50310
50341
|
* @summary Get payment status for a subscription
|
|
@@ -50313,7 +50344,7 @@ export declare class BillingUserPaymentsApi extends BaseAPI {
|
|
|
50313
50344
|
* @throws {RequiredError}
|
|
50314
50345
|
* @memberof BillingUserPaymentsApi
|
|
50315
50346
|
*/
|
|
50316
|
-
|
|
50347
|
+
adminBillingSubscriptionsIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BillingServicePaymentStatusResponse, any, {}>>;
|
|
50317
50348
|
}
|
|
50318
50349
|
/**
|
|
50319
50350
|
* CommonApi - axios parameter creator
|
|
@@ -59461,6 +59492,14 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
|
|
|
59461
59492
|
* @throws {RequiredError}
|
|
59462
59493
|
*/
|
|
59463
59494
|
adminPaymentGatewayOrdersIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59495
|
+
/**
|
|
59496
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59497
|
+
* @summary Get order retry payment info
|
|
59498
|
+
* @param {string} id Order UUID
|
|
59499
|
+
* @param {*} [options] Override http request option.
|
|
59500
|
+
* @throws {RequiredError}
|
|
59501
|
+
*/
|
|
59502
|
+
adminPaymentGatewayOrdersIdRetryInfoGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59464
59503
|
/**
|
|
59465
59504
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59466
59505
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59582,6 +59621,16 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
|
|
|
59582
59621
|
* @throws {RequiredError}
|
|
59583
59622
|
*/
|
|
59584
59623
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrderDetailsResponse>>;
|
|
59624
|
+
/**
|
|
59625
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59626
|
+
* @summary Get order retry payment info
|
|
59627
|
+
* @param {string} id Order UUID
|
|
59628
|
+
* @param {*} [options] Override http request option.
|
|
59629
|
+
* @throws {RequiredError}
|
|
59630
|
+
*/
|
|
59631
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
59632
|
+
[key: string]: any;
|
|
59633
|
+
}>>;
|
|
59585
59634
|
/**
|
|
59586
59635
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59587
59636
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59707,6 +59756,16 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
|
|
|
59707
59756
|
* @throws {RequiredError}
|
|
59708
59757
|
*/
|
|
59709
59758
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrderDetailsResponse>;
|
|
59759
|
+
/**
|
|
59760
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59761
|
+
* @summary Get order retry payment info
|
|
59762
|
+
* @param {string} id Order UUID
|
|
59763
|
+
* @param {*} [options] Override http request option.
|
|
59764
|
+
* @throws {RequiredError}
|
|
59765
|
+
*/
|
|
59766
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
59767
|
+
[key: string]: any;
|
|
59768
|
+
}>;
|
|
59710
59769
|
/**
|
|
59711
59770
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59712
59771
|
* @summary Get payment status for polling (frontend)
|
|
@@ -59839,6 +59898,17 @@ export declare class PaymentGatewayApi extends BaseAPI {
|
|
|
59839
59898
|
* @memberof PaymentGatewayApi
|
|
59840
59899
|
*/
|
|
59841
59900
|
adminPaymentGatewayOrdersIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrderDetailsResponse, any, {}>>;
|
|
59901
|
+
/**
|
|
59902
|
+
* Returns the existing gateway order details needed to open the payment gateway UI for retry, without creating a new order.
|
|
59903
|
+
* @summary Get order retry payment info
|
|
59904
|
+
* @param {string} id Order UUID
|
|
59905
|
+
* @param {*} [options] Override http request option.
|
|
59906
|
+
* @throws {RequiredError}
|
|
59907
|
+
* @memberof PaymentGatewayApi
|
|
59908
|
+
*/
|
|
59909
|
+
adminPaymentGatewayOrdersIdRetryInfoGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
59910
|
+
[key: string]: any;
|
|
59911
|
+
}, any, {}>>;
|
|
59842
59912
|
/**
|
|
59843
59913
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
59844
59914
|
* @summary Get payment status for polling (frontend)
|
|
@@ -66844,6 +66914,14 @@ export declare const SubscriptionsApiAxiosParamCreator: (configuration?: Configu
|
|
|
66844
66914
|
* @throws {RequiredError}
|
|
66845
66915
|
*/
|
|
66846
66916
|
adminSubscriptionsCancelProcessPost: (subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66917
|
+
/**
|
|
66918
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
66919
|
+
* @summary Preview plan change details
|
|
66920
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
66921
|
+
* @param {*} [options] Override http request option.
|
|
66922
|
+
* @throws {RequiredError}
|
|
66923
|
+
*/
|
|
66924
|
+
adminSubscriptionsPlanChangePreviewPost: (subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66847
66925
|
/**
|
|
66848
66926
|
* Updates Subscription information by ID.
|
|
66849
66927
|
* @summary Update an existing Subscription
|
|
@@ -66907,6 +66985,14 @@ export declare const SubscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
66907
66985
|
* @throws {RequiredError}
|
|
66908
66986
|
*/
|
|
66909
66987
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
66988
|
+
/**
|
|
66989
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
66990
|
+
* @summary Preview plan change details
|
|
66991
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
66992
|
+
* @param {*} [options] Override http request option.
|
|
66993
|
+
* @throws {RequiredError}
|
|
66994
|
+
*/
|
|
66995
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
|
|
66910
66996
|
/**
|
|
66911
66997
|
* Updates Subscription information by ID.
|
|
66912
66998
|
* @summary Update an existing Subscription
|
|
@@ -66970,6 +67056,14 @@ export declare const SubscriptionsApiFactory: (configuration?: Configuration, ba
|
|
|
66970
67056
|
* @throws {RequiredError}
|
|
66971
67057
|
*/
|
|
66972
67058
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
67059
|
+
/**
|
|
67060
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67061
|
+
* @summary Preview plan change details
|
|
67062
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67063
|
+
* @param {*} [options] Override http request option.
|
|
67064
|
+
* @throws {RequiredError}
|
|
67065
|
+
*/
|
|
67066
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
|
|
66973
67067
|
/**
|
|
66974
67068
|
* Updates Subscription information by ID.
|
|
66975
67069
|
* @summary Update an existing Subscription
|
|
@@ -67037,6 +67131,15 @@ export declare class SubscriptionsApi extends BaseAPI {
|
|
|
67037
67131
|
* @memberof SubscriptionsApi
|
|
67038
67132
|
*/
|
|
67039
67133
|
adminSubscriptionsCancelProcessPost(subscriptionRouteCancelProcessRequest: SubscriptionRouteCancelProcessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67134
|
+
/**
|
|
67135
|
+
* Shows a read-only preview of what happens when changing plans: refund for current plan, credits removed/added, new plan cost. Org ID is automatically extracted from JWT session.
|
|
67136
|
+
* @summary Preview plan change details
|
|
67137
|
+
* @param {SubscriptionRoutePlanChangePreviewHTTPRequest} subscriptionRoutePlanChangePreviewHTTPRequest Plan change preview request
|
|
67138
|
+
* @param {*} [options] Override http request option.
|
|
67139
|
+
* @throws {RequiredError}
|
|
67140
|
+
* @memberof SubscriptionsApi
|
|
67141
|
+
*/
|
|
67142
|
+
adminSubscriptionsPlanChangePreviewPost(subscriptionRoutePlanChangePreviewHTTPRequest: SubscriptionRoutePlanChangePreviewHTTPRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
67040
67143
|
/**
|
|
67041
67144
|
* Updates Subscription information by ID.
|
|
67042
67145
|
* @summary Update an existing Subscription
|