Revert "fix: managed orgs get bookings (#23063)" (#23066)

This reverts commit 13ba680a73.
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-08-13 15:54:49 +00:00
1 parent 13ba680a73
commit 58ef0abb99
7 files changed
+29 -587

No files matched your search

@@ -18,8 +18,7 @@ export class CreatePrivateLinkInput {
@IsInt()
@Min(1)
@ApiPropertyOptional({
description:
"Maximum number of times the link can be used. If omitted and expiresAt is not provided, defaults to 1 (one time use).",
description: "Maximum number of times the link can be used. If omitted and expiresAt is not provided, defaults to 1 (one time use).",
type: Number,
example: 10,
minimum: 1,
@@ -59,25 +58,4 @@ export class UpdatePrivateLinkInput {
maxUsageCount?: number;
}
export class UpdatePrivateLinkBody {
@IsOptional()
@IsDate()
@Type(() => Date)
@ApiPropertyOptional({
description: "New expiration date for time-based links",
type: Date,
example: "2024-12-31T23:59:59.000Z",
})
expiresAt?: Date;
@IsOptional()
@IsInt()
@Min(1)
@ApiPropertyOptional({
description: "New maximum number of times the link can be used",
type: Number,
example: 10,
minimum: 1,
})
maxUsageCount?: number;
}