refactor: standardize v2 docs (#22299)
This commit is contained in:
@@ -443,7 +443,7 @@ export class BookingsController_2024_08_13 {
|
||||
@Permissions([BOOKING_READ])
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@ApiOperation({
|
||||
summary: "Get 'Booking References' for a booking",
|
||||
summary: "Get booking references",
|
||||
})
|
||||
@HttpCode(HttpStatus.OK)
|
||||
async getBookingReferences(
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ export class CalUnifiedCalendarsController {
|
||||
@UseGuards(ApiAuthGuard, PermissionsGuard)
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@ApiOperation({
|
||||
summary: "Get meeting Details from calendar",
|
||||
summary: "Get meeting details from calendar",
|
||||
description: "Returns detailed information about a meeting including attendance metrics",
|
||||
})
|
||||
async getCalendarEventDetails(
|
||||
|
||||
@@ -53,7 +53,7 @@ export type OAuthCallbackState = {
|
||||
path: "/v2/organizations/:orgId/teams/:teamId/stripe",
|
||||
version: API_VERSIONS_VALUES,
|
||||
})
|
||||
@DocsTags("Organizations/Teams Stripe")
|
||||
@DocsTags("Orgs / Teams / Stripe")
|
||||
export class OrganizationsStripeController {
|
||||
constructor(
|
||||
private readonly organizationsStripeService: OrganizationsStripeService,
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ export class OrganizationsTeamsBookingsController {
|
||||
IsAdminAPIEnabledGuard
|
||||
)
|
||||
@ApiOperation({
|
||||
summary: "Get 'Booking References' for a booking",
|
||||
summary: "Get booking references",
|
||||
})
|
||||
@HttpCode(HttpStatus.OK)
|
||||
async getBookingReferences(
|
||||
|
||||
+10
-10
@@ -52,8 +52,8 @@ import { SkipTakePagination } from "@calcom/platform-types";
|
||||
export class OrgTeamsVerifiedResourcesController {
|
||||
constructor(private readonly verifiedResourcesService: VerifiedResourcesService) {}
|
||||
@ApiOperation({
|
||||
summary: "Request Email Verification Code",
|
||||
description: `Sends a verification code to the email.`,
|
||||
summary: "Request email verification code",
|
||||
description: `Sends a verification code to the email`,
|
||||
})
|
||||
@Roles("TEAM_ADMIN")
|
||||
@Throttle({
|
||||
@@ -82,8 +82,8 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Request Phone Number Verification Code",
|
||||
description: `Sends a verification code to the phone number.`,
|
||||
summary: "Request phone number verification code",
|
||||
description: `Sends a verification code to the phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -108,7 +108,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify an email for an org team.",
|
||||
summary: "Verify an email for an org team",
|
||||
description: `Use code to verify an email`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -134,7 +134,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify a phone number for an org team.",
|
||||
summary: "Verify a phone number for an org team",
|
||||
description: `Use code to verify a phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -166,7 +166,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified emails of an org team.",
|
||||
summary: "Get list of verified emails of an org team",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -189,7 +189,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified phone numbers of an org team.",
|
||||
summary: "Get list of verified phone numbers of an org team",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@PlatformPlan("ESSENTIALS")
|
||||
@@ -214,7 +214,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified email of an org team by id.",
|
||||
summary: "Get verified email of an org team by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -233,7 +233,7 @@ export class OrgTeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified phone number of an org team by id.",
|
||||
summary: "Get verified phone number of an org team by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
|
||||
+10
-10
@@ -47,8 +47,8 @@ import { SkipTakePagination } from "@calcom/platform-types";
|
||||
export class TeamsVerifiedResourcesController {
|
||||
constructor(private readonly verifiedResourcesService: VerifiedResourcesService) {}
|
||||
@ApiOperation({
|
||||
summary: "Request Email Verification Code",
|
||||
description: `Sends a verification code to the Email.`,
|
||||
summary: "Request email verification code",
|
||||
description: `Sends a verification code to the Email`,
|
||||
})
|
||||
@Roles("TEAM_ADMIN")
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -71,8 +71,8 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Request Phone Number Verification Code",
|
||||
description: `Sends a verification code to the phone number.`,
|
||||
summary: "Request phone number verification code",
|
||||
description: `Sends a verification code to the phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -92,7 +92,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify an email for a team.",
|
||||
summary: "Verify an email for a team",
|
||||
description: `Use code to verify an email`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -117,7 +117,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify a phone number for an org team.",
|
||||
summary: "Verify a phone number for an org team",
|
||||
description: `Use code to verify a phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -143,7 +143,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified emails of a team.",
|
||||
summary: "Get list of verified emails of a team",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -165,7 +165,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified phone numbers of a team.",
|
||||
summary: "Get list of verified phone numbers of a team",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Get("/phones")
|
||||
@@ -189,7 +189,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified email of a team by id.",
|
||||
summary: "Get verified email of a team by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
@@ -207,7 +207,7 @@ export class TeamsVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified phone number of a team by id.",
|
||||
summary: "Get verified phone number of a team by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Roles("TEAM_ADMIN")
|
||||
|
||||
+10
-10
@@ -34,8 +34,8 @@ import { SkipTakePagination } from "@calcom/platform-types";
|
||||
export class UserVerifiedResourcesController {
|
||||
constructor(private readonly verifiedResourcesService: VerifiedResourcesService) {}
|
||||
@ApiOperation({
|
||||
summary: "Request Email Verification Code",
|
||||
description: `Sends a verification code to the email.`,
|
||||
summary: "Request email verification code",
|
||||
description: `Sends a verification code to the email`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Post("/emails/verification-code/request")
|
||||
@@ -57,8 +57,8 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Request Phone Number Verification Code",
|
||||
description: `Sends a verification code to the phone number.`,
|
||||
summary: "Request phone number verification code",
|
||||
description: `Sends a verification code to the phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Post("/phones/verification-code/request")
|
||||
@@ -77,7 +77,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify an email.",
|
||||
summary: "Verify an email",
|
||||
description: `Use code to verify an email`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -96,7 +96,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Verify a phone number.",
|
||||
summary: "Verify a phone number",
|
||||
description: `Use code to verify a phone number`,
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@@ -114,7 +114,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified emails.",
|
||||
summary: "Get list of verified emails",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Get("/emails")
|
||||
@@ -135,7 +135,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get list of verified phone numbers.",
|
||||
summary: "Get list of verified phone numbers",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Get("/phones")
|
||||
@@ -158,7 +158,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified email by id.",
|
||||
summary: "Get verified email by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Get("/emails/:id")
|
||||
@@ -175,7 +175,7 @@ export class UserVerifiedResourcesController {
|
||||
}
|
||||
|
||||
@ApiOperation({
|
||||
summary: "Get verified phone number by id.",
|
||||
summary: "Get verified phone number by id",
|
||||
})
|
||||
@ApiHeader(API_KEY_OR_ACCESS_TOKEN_HEADER)
|
||||
@Get("/phones/:id")
|
||||
|
||||
@@ -3447,7 +3447,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/bookings/{bookingUid}/references": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsTeamsBookingsController_getBookingReferences",
|
||||
"summary": "Get 'Booking References' for a booking",
|
||||
"summary": "Get booking references",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -5133,6 +5133,147 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/connect": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_getTeamStripeConnectUrl",
|
||||
"summary": "Get Stripe connect URL for a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"required": true,
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "returnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "onErrorReturnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripConnectOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/check": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_checkTeamStripeConnection",
|
||||
"summary": "Check team Stripe connection",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsCheckOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/save": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_save",
|
||||
"summary": "Save Stripe credentials",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "state",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsSaveOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Orgs / Teams / Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsTeamsSchedulesController_getUserSchedules",
|
||||
@@ -8176,7 +8317,7 @@
|
||||
"/v2/bookings/{bookingUid}/references": {
|
||||
"get": {
|
||||
"operationId": "BookingsController_2024_08_13_getBookingReferences",
|
||||
"summary": "Get 'Booking References' for a booking",
|
||||
"summary": "Get booking references",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "cal-api-version",
|
||||
@@ -8244,7 +8385,7 @@
|
||||
"/v2/calendars/{calendar}/event/{eventUid}": {
|
||||
"get": {
|
||||
"operationId": "CalUnifiedCalendarsController_getCalendarEventDetails",
|
||||
"summary": "Get meeting Details from calendar",
|
||||
"summary": "Get meeting details from calendar",
|
||||
"description": "Returns detailed information about a meeting including attendance metrics",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10194,8 +10335,8 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -10237,8 +10378,8 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -10280,7 +10421,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email for an org team.",
|
||||
"summary": "Verify an email for an org team",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10331,7 +10472,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number for an org team.",
|
||||
"summary": "Verify a phone number for an org team",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -10382,7 +10523,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails of an org team.",
|
||||
"summary": "Get list of verified emails of an org team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10447,7 +10588,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers of an org team.",
|
||||
"summary": "Get list of verified phone numbers of an org team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10512,7 +10653,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email of an org team by id.",
|
||||
"summary": "Get verified email of an org team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -10560,7 +10701,7 @@
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "OrgTeamsVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number of an org team by id.",
|
||||
"summary": "Get verified phone number of an org team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -10605,147 +10746,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/connect": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_getTeamStripeConnectUrl",
|
||||
"summary": "Get Stripe connect URL for a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"required": true,
|
||||
"in": "header",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "orgId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "returnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "onErrorReturnTo",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripConnectOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/check": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_checkTeamStripeConnection",
|
||||
"summary": "Check team Stripe connection",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsCheckOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/organizations/{orgId}/teams/{teamId}/stripe/save": {
|
||||
"get": {
|
||||
"operationId": "OrganizationsStripeController_save",
|
||||
"summary": "Save Stripe credentials",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "state",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "code",
|
||||
"required": true,
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "teamId",
|
||||
"required": true,
|
||||
"in": "path",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/StripCredentialsSaveOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Organizations/Teams Stripe"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/routing-forms/{routingFormId}/calculate-slots": {
|
||||
"post": {
|
||||
"operationId": "RoutingFormsController_calculateSlotsBasedOnRoutingFormResponse",
|
||||
@@ -12519,8 +12519,8 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the Email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the Email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12562,8 +12562,8 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12605,7 +12605,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email for a team.",
|
||||
"summary": "Verify an email for a team",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -12656,7 +12656,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "TeamsVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number for an org team.",
|
||||
"summary": "Verify a phone number for an org team",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -12707,7 +12707,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails of a team.",
|
||||
"summary": "Get list of verified emails of a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12772,7 +12772,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers of a team.",
|
||||
"summary": "Get list of verified phone numbers of a team",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12837,7 +12837,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email of a team by id.",
|
||||
"summary": "Get verified email of a team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -12885,7 +12885,7 @@
|
||||
"/v2/teams/{teamId}/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "TeamsVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number of a team by id.",
|
||||
"summary": "Get verified phone number of a team by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "teamId",
|
||||
@@ -12933,8 +12933,8 @@
|
||||
"/v2/verified-resources/emails/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_requestEmailVerificationCode",
|
||||
"summary": "Request Email Verification Code",
|
||||
"description": "Sends a verification code to the email.",
|
||||
"summary": "Request email verification code",
|
||||
"description": "Sends a verification code to the email",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -12976,8 +12976,8 @@
|
||||
"/v2/verified-resources/phones/verification-code/request": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_requestPhoneVerificationCode",
|
||||
"summary": "Request Phone Number Verification Code",
|
||||
"description": "Sends a verification code to the phone number.",
|
||||
"summary": "Request phone number verification code",
|
||||
"description": "Sends a verification code to the phone number",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
@@ -13019,7 +13019,7 @@
|
||||
"/v2/verified-resources/emails/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_verifyEmail",
|
||||
"summary": "Verify an email.",
|
||||
"summary": "Verify an email",
|
||||
"description": "Use code to verify an email",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -13062,7 +13062,7 @@
|
||||
"/v2/verified-resources/phones/verification-code/verify": {
|
||||
"post": {
|
||||
"operationId": "UserVerifiedResourcesController_verifyPhoneNumber",
|
||||
"summary": "Verify a phone number.",
|
||||
"summary": "Verify a phone number",
|
||||
"description": "Use code to verify a phone number",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -13105,7 +13105,7 @@
|
||||
"/v2/verified-resources/emails": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedEmails",
|
||||
"summary": "Get list of verified emails.",
|
||||
"summary": "Get list of verified emails",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "take",
|
||||
@@ -13162,7 +13162,7 @@
|
||||
"/v2/verified-resources/phones": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedPhoneNumbers",
|
||||
"summary": "Get list of verified phone numbers.",
|
||||
"summary": "Get list of verified phone numbers",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "take",
|
||||
@@ -13219,7 +13219,7 @@
|
||||
"/v2/verified-resources/emails/{id}": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedEmailById",
|
||||
"summary": "Get verified email by id.",
|
||||
"summary": "Get verified email by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
@@ -13259,7 +13259,7 @@
|
||||
"/v2/verified-resources/phones/{id}": {
|
||||
"get": {
|
||||
"operationId": "UserVerifiedResourcesController_getVerifiedPhoneById",
|
||||
"summary": "Get verified phone number by id.",
|
||||
"summary": "Get verified phone number by id",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
|
||||
+940
-3374
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user