import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BenefitGitHubRepositorySubscriberProperties } from "./benefitgithubrepositorysubscriberproperties.js"; import { BenefitSubscriberOrganization } from "./benefitsubscriberorganization.js"; import { MetadataOutputType } from "./metadataoutputtype.js"; export type BenefitGitHubRepositorySubscriber = { /** * The ID of the benefit. */ id: string; /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; type: "github_repository"; /** * The description of the benefit. */ description: string; /** * Whether the benefit is selectable when creating a product. */ selectable: boolean; /** * Whether the benefit is deletable. */ deletable: boolean; /** * Whether the benefit is deleted. */ isDeleted: boolean; /** * The ID of the organization owning the benefit. */ organizationId: string; metadata: { [k: string]: MetadataOutputType; }; organization: BenefitSubscriberOrganization; /** * Properties available to subscribers for a benefit of type `github_repository`. */ properties: BenefitGitHubRepositorySubscriberProperties; }; /** @internal */ export declare const BenefitGitHubRepositorySubscriber$inboundSchema: z.ZodMiniType; export declare function benefitGitHubRepositorySubscriberFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=benefitgithubrepositorysubscriber.d.ts.map