@seekora-ai/admin-api 1.2.2 → 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 +8 -5
- package/api.ts +269 -92
- package/dist/api.d.ts +144 -41
- package/dist/api.js +225 -88
- package/dist/esm/api.d.ts +144 -41
- package/dist/esm/api.js +225 -88
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.2.4.tgz +0 -0
- package/seekora-ai-admin-api-1.2.2.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
|
|
@@ -640,7 +642,6 @@ Class | Method | HTTP request | Description
|
|
|
640
642
|
*TeamApi* | [**v1InvitationsInvitationIdPermissionsGet**](docs/TeamApi.md#v1invitationsinvitationidpermissionsget) | **GET** /v1/invitations/{invitationId}/permissions | Get invitation permissions
|
|
641
643
|
*TeamApi* | [**v1InvitationsInvitationIdPermissionsModePut**](docs/TeamApi.md#v1invitationsinvitationidpermissionsmodeput) | **PUT** /v1/invitations/{invitationId}/permissions/mode | Set invitation permission mode
|
|
642
644
|
*TeamApi* | [**v1InvitationsInvitationIdPermissionsRolePut**](docs/TeamApi.md#v1invitationsinvitationidpermissionsroleput) | **PUT** /v1/invitations/{invitationId}/permissions/role | Update invitation role permissions
|
|
643
|
-
*TeamApi* | [**v1InvitationsInvitationIdResendPost**](docs/TeamApi.md#v1invitationsinvitationidresendpost) | **POST** /v1/invitations/{invitationId}/resend | Resend invitation email
|
|
644
645
|
*TeamApi* | [**v1InvitationsTokenAcceptPost**](docs/TeamApi.md#v1invitationstokenacceptpost) | **POST** /v1/invitations/{token}/accept | Accept invitation
|
|
645
646
|
*TeamApi* | [**v1InvitationsTokenAcceptWithOauthPost**](docs/TeamApi.md#v1invitationstokenacceptwithoauthpost) | **POST** /v1/invitations/{token}/accept-with-oauth | Accept invitation with OAuth (onboarding)
|
|
646
647
|
*TeamApi* | [**v1InvitationsTokenAcceptWithPasswordPost**](docs/TeamApi.md#v1invitationstokenacceptwithpasswordpost) | **POST** /v1/invitations/{token}/accept-with-password | Accept invitation and set password (onboarding)
|
|
@@ -651,6 +652,7 @@ Class | Method | HTTP request | Description
|
|
|
651
652
|
*TeamApi* | [**v1StoresStoreIdAccessUserIdDelete**](docs/TeamApi.md#v1storesstoreidaccessuseriddelete) | **DELETE** /v1/stores/{storeId}/access/{userId} | Revoke store access
|
|
652
653
|
*TeamApi* | [**v1StoresStoreIdAccessUserIdPut**](docs/TeamApi.md#v1storesstoreidaccessuseridput) | **PUT** /v1/stores/{storeId}/access/{userId} | Update store access level
|
|
653
654
|
*TeamApi* | [**v1TeamInvitationsGet**](docs/TeamApi.md#v1teaminvitationsget) | **GET** /v1/team/invitations | Get pending invitations
|
|
655
|
+
*TeamApi* | [**v1TeamInvitationsInvitationIdResendPost**](docs/TeamApi.md#v1teaminvitationsinvitationidresendpost) | **POST** /v1/team/invitations/{invitationId}/resend | Resend invitation email
|
|
654
656
|
*TeamApi* | [**v1TeamMembersGet**](docs/TeamApi.md#v1teammembersget) | **GET** /v1/team/members | Get all members of an organization
|
|
655
657
|
*TeamApi* | [**v1TeamMembersInvitePost**](docs/TeamApi.md#v1teammembersinvitepost) | **POST** /v1/team/members/invite | Invite a member to join organization
|
|
656
658
|
*TeamApi* | [**v1TeamMembersMemberIdDelete**](docs/TeamApi.md#v1teammembersmemberiddelete) | **DELETE** /v1/team/members/{memberId} | Remove member from organization
|
|
@@ -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
|
|
@@ -95207,43 +95384,6 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
95207
95384
|
options: localVarRequestOptions,
|
|
95208
95385
|
};
|
|
95209
95386
|
},
|
|
95210
|
-
/**
|
|
95211
|
-
* Resends the invitation email for an existing pending invitation
|
|
95212
|
-
* @summary Resend invitation email
|
|
95213
|
-
* @param {string} invitationId Invitation UUID
|
|
95214
|
-
* @param {*} [options] Override http request option.
|
|
95215
|
-
* @throws {RequiredError}
|
|
95216
|
-
*/
|
|
95217
|
-
v1InvitationsInvitationIdResendPost: async (invitationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95218
|
-
// verify required parameter 'invitationId' is not null or undefined
|
|
95219
|
-
assertParamExists('v1InvitationsInvitationIdResendPost', 'invitationId', invitationId)
|
|
95220
|
-
const localVarPath = `/v1/invitations/{invitationId}/resend`
|
|
95221
|
-
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
95222
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95223
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
95224
|
-
let baseOptions;
|
|
95225
|
-
if (configuration) {
|
|
95226
|
-
baseOptions = configuration.baseOptions;
|
|
95227
|
-
}
|
|
95228
|
-
|
|
95229
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
95230
|
-
const localVarHeaderParameter = {} as any;
|
|
95231
|
-
const localVarQueryParameter = {} as any;
|
|
95232
|
-
|
|
95233
|
-
// authentication BearerAuth required
|
|
95234
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
95235
|
-
|
|
95236
|
-
|
|
95237
|
-
|
|
95238
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95239
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95240
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95241
|
-
|
|
95242
|
-
return {
|
|
95243
|
-
url: toPathString(localVarUrlObj),
|
|
95244
|
-
options: localVarRequestOptions,
|
|
95245
|
-
};
|
|
95246
|
-
},
|
|
95247
95387
|
/**
|
|
95248
95388
|
* Accepts a team invitation using token
|
|
95249
95389
|
* @summary Accept invitation
|
|
@@ -95621,6 +95761,43 @@ export const TeamApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
95621
95761
|
|
|
95622
95762
|
|
|
95623
95763
|
|
|
95764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95766
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95767
|
+
|
|
95768
|
+
return {
|
|
95769
|
+
url: toPathString(localVarUrlObj),
|
|
95770
|
+
options: localVarRequestOptions,
|
|
95771
|
+
};
|
|
95772
|
+
},
|
|
95773
|
+
/**
|
|
95774
|
+
* Resends the invitation email for an existing pending invitation
|
|
95775
|
+
* @summary Resend invitation email
|
|
95776
|
+
* @param {string} invitationId Invitation UUID
|
|
95777
|
+
* @param {*} [options] Override http request option.
|
|
95778
|
+
* @throws {RequiredError}
|
|
95779
|
+
*/
|
|
95780
|
+
v1TeamInvitationsInvitationIdResendPost: async (invitationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95781
|
+
// verify required parameter 'invitationId' is not null or undefined
|
|
95782
|
+
assertParamExists('v1TeamInvitationsInvitationIdResendPost', 'invitationId', invitationId)
|
|
95783
|
+
const localVarPath = `/v1/team/invitations/{invitationId}/resend`
|
|
95784
|
+
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
95785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
95786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
95787
|
+
let baseOptions;
|
|
95788
|
+
if (configuration) {
|
|
95789
|
+
baseOptions = configuration.baseOptions;
|
|
95790
|
+
}
|
|
95791
|
+
|
|
95792
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
95793
|
+
const localVarHeaderParameter = {} as any;
|
|
95794
|
+
const localVarQueryParameter = {} as any;
|
|
95795
|
+
|
|
95796
|
+
// authentication BearerAuth required
|
|
95797
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
95798
|
+
|
|
95799
|
+
|
|
95800
|
+
|
|
95624
95801
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95625
95802
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95626
95803
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -95883,19 +96060,6 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
95883
96060
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdPermissionsRolePut']?.[localVarOperationServerIndex]?.url;
|
|
95884
96061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
95885
96062
|
},
|
|
95886
|
-
/**
|
|
95887
|
-
* Resends the invitation email for an existing pending invitation
|
|
95888
|
-
* @summary Resend invitation email
|
|
95889
|
-
* @param {string} invitationId Invitation UUID
|
|
95890
|
-
* @param {*} [options] Override http request option.
|
|
95891
|
-
* @throws {RequiredError}
|
|
95892
|
-
*/
|
|
95893
|
-
async v1InvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
95894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1InvitationsInvitationIdResendPost(invitationId, options);
|
|
95895
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
95896
|
-
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1InvitationsInvitationIdResendPost']?.[localVarOperationServerIndex]?.url;
|
|
95897
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
95898
|
-
},
|
|
95899
96063
|
/**
|
|
95900
96064
|
* Accepts a team invitation using token
|
|
95901
96065
|
* @summary Accept invitation
|
|
@@ -96031,6 +96195,19 @@ export const TeamApiFp = function(configuration?: Configuration) {
|
|
|
96031
96195
|
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamInvitationsGet']?.[localVarOperationServerIndex]?.url;
|
|
96032
96196
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
96033
96197
|
},
|
|
96198
|
+
/**
|
|
96199
|
+
* Resends the invitation email for an existing pending invitation
|
|
96200
|
+
* @summary Resend invitation email
|
|
96201
|
+
* @param {string} invitationId Invitation UUID
|
|
96202
|
+
* @param {*} [options] Override http request option.
|
|
96203
|
+
* @throws {RequiredError}
|
|
96204
|
+
*/
|
|
96205
|
+
async v1TeamInvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
96206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1TeamInvitationsInvitationIdResendPost(invitationId, options);
|
|
96207
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
96208
|
+
const localVarOperationServerBasePath = operationServerMap['TeamApi.v1TeamInvitationsInvitationIdResendPost']?.[localVarOperationServerIndex]?.url;
|
|
96209
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
96210
|
+
},
|
|
96034
96211
|
/**
|
|
96035
96212
|
* Retrieves all members of the user\'s organization with their details
|
|
96036
96213
|
* @summary Get all members of an organization
|
|
@@ -96148,16 +96325,6 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
96148
96325
|
v1InvitationsInvitationIdPermissionsRolePut(invitationId: string, dataTypesUpdateInvitationRolePermissionsRequest: DataTypesUpdateInvitationRolePermissionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
96149
96326
|
return localVarFp.v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(axios, basePath));
|
|
96150
96327
|
},
|
|
96151
|
-
/**
|
|
96152
|
-
* Resends the invitation email for an existing pending invitation
|
|
96153
|
-
* @summary Resend invitation email
|
|
96154
|
-
* @param {string} invitationId Invitation UUID
|
|
96155
|
-
* @param {*} [options] Override http request option.
|
|
96156
|
-
* @throws {RequiredError}
|
|
96157
|
-
*/
|
|
96158
|
-
v1InvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
96159
|
-
return localVarFp.v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
96160
|
-
},
|
|
96161
96328
|
/**
|
|
96162
96329
|
* Accepts a team invitation using token
|
|
96163
96330
|
* @summary Accept invitation
|
|
@@ -96263,6 +96430,16 @@ export const TeamApiFactory = function (configuration?: Configuration, basePath?
|
|
|
96263
96430
|
v1TeamInvitationsGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesTeamInvitationsResponse> {
|
|
96264
96431
|
return localVarFp.v1TeamInvitationsGet(options).then((request) => request(axios, basePath));
|
|
96265
96432
|
},
|
|
96433
|
+
/**
|
|
96434
|
+
* Resends the invitation email for an existing pending invitation
|
|
96435
|
+
* @summary Resend invitation email
|
|
96436
|
+
* @param {string} invitationId Invitation UUID
|
|
96437
|
+
* @param {*} [options] Override http request option.
|
|
96438
|
+
* @throws {RequiredError}
|
|
96439
|
+
*/
|
|
96440
|
+
v1TeamInvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
96441
|
+
return localVarFp.v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(axios, basePath));
|
|
96442
|
+
},
|
|
96266
96443
|
/**
|
|
96267
96444
|
* Retrieves all members of the user\'s organization with their details
|
|
96268
96445
|
* @summary Get all members of an organization
|
|
@@ -96373,18 +96550,6 @@ export class TeamApi extends BaseAPI {
|
|
|
96373
96550
|
return TeamApiFp(this.configuration).v1InvitationsInvitationIdPermissionsRolePut(invitationId, dataTypesUpdateInvitationRolePermissionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
96374
96551
|
}
|
|
96375
96552
|
|
|
96376
|
-
/**
|
|
96377
|
-
* Resends the invitation email for an existing pending invitation
|
|
96378
|
-
* @summary Resend invitation email
|
|
96379
|
-
* @param {string} invitationId Invitation UUID
|
|
96380
|
-
* @param {*} [options] Override http request option.
|
|
96381
|
-
* @throws {RequiredError}
|
|
96382
|
-
* @memberof TeamApi
|
|
96383
|
-
*/
|
|
96384
|
-
public v1InvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig) {
|
|
96385
|
-
return TeamApiFp(this.configuration).v1InvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
96386
|
-
}
|
|
96387
|
-
|
|
96388
96553
|
/**
|
|
96389
96554
|
* Accepts a team invitation using token
|
|
96390
96555
|
* @summary Accept invitation
|
|
@@ -96510,6 +96675,18 @@ export class TeamApi extends BaseAPI {
|
|
|
96510
96675
|
return TeamApiFp(this.configuration).v1TeamInvitationsGet(options).then((request) => request(this.axios, this.basePath));
|
|
96511
96676
|
}
|
|
96512
96677
|
|
|
96678
|
+
/**
|
|
96679
|
+
* Resends the invitation email for an existing pending invitation
|
|
96680
|
+
* @summary Resend invitation email
|
|
96681
|
+
* @param {string} invitationId Invitation UUID
|
|
96682
|
+
* @param {*} [options] Override http request option.
|
|
96683
|
+
* @throws {RequiredError}
|
|
96684
|
+
* @memberof TeamApi
|
|
96685
|
+
*/
|
|
96686
|
+
public v1TeamInvitationsInvitationIdResendPost(invitationId: string, options?: RawAxiosRequestConfig) {
|
|
96687
|
+
return TeamApiFp(this.configuration).v1TeamInvitationsInvitationIdResendPost(invitationId, options).then((request) => request(this.axios, this.basePath));
|
|
96688
|
+
}
|
|
96689
|
+
|
|
96513
96690
|
/**
|
|
96514
96691
|
* Retrieves all members of the user\'s organization with their details
|
|
96515
96692
|
* @summary Get all members of an organization
|