import * as z from "zod";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export declare const View: {
    readonly Account: "account";
    readonly Project: "project";
};
export type View = ClosedEnum<typeof View>;
export declare const InstallationType: {
    readonly Marketplace: "marketplace";
    readonly External: "external";
};
export type InstallationType = ClosedEnum<typeof InstallationType>;
export type GetConfigurationsRequest = {
    view: View;
    installationType?: InstallationType | undefined;
    /**
     * ID of the integration
     */
    integrationIdOrSlug?: string | undefined;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
};
export type Integration = {
    name: string;
    icon: string;
    category: string;
    isLegacy: boolean;
    flags?: Array<string> | undefined;
    assignedBetaLabelAt?: number | undefined;
};
/**
 * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
 */
export declare const GetConfigurationsResponseBodyIntegrationsSource: {
    readonly Marketplace: "marketplace";
    readonly DeployButton: "deploy-button";
    readonly External: "external";
};
/**
 * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
 */
export type GetConfigurationsResponseBodyIntegrationsSource = ClosedEnum<typeof GetConfigurationsResponseBodyIntegrationsSource>;
export declare const GetConfigurationsResponseBodyIntegrationsType: {
    readonly IntegrationConfiguration: "integration-configuration";
};
export type GetConfigurationsResponseBodyIntegrationsType = ClosedEnum<typeof GetConfigurationsResponseBodyIntegrationsType>;
export declare const ResponseBodyDisabledReason: {
    readonly DisabledByOwner: "disabled-by-owner";
    readonly FeatureNotAvailable: "feature-not-available";
    readonly DisabledByAdmin: "disabled-by-admin";
    readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
    readonly AccountPlanDowngrade: "account-plan-downgrade";
    readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
};
export type ResponseBodyDisabledReason = ClosedEnum<typeof ResponseBodyDisabledReason>;
/**
 * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
 */
export declare const GetConfigurationsResponseBodyInstallationType: {
    readonly Marketplace: "marketplace";
    readonly External: "external";
};
/**
 * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
 */
export type GetConfigurationsResponseBodyInstallationType = ClosedEnum<typeof GetConfigurationsResponseBodyInstallationType>;
export declare const GetConfigurationsResponseBodyIntegrationsResponse200Type: {
    readonly Prepayment: "prepayment";
    readonly Subscription: "subscription";
};
export type GetConfigurationsResponseBodyIntegrationsResponse200Type = ClosedEnum<typeof GetConfigurationsResponseBodyIntegrationsResponse200Type>;
export declare const GetConfigurationsResponseBodyScope: {
    readonly Installation: "installation";
    readonly Resource: "resource";
};
export type GetConfigurationsResponseBodyScope = ClosedEnum<typeof GetConfigurationsResponseBodyScope>;
export type ResponseBodyDetails = {
    label: string;
    value?: string | undefined;
};
export type ResponseBodyHeightlightedDetails = {
    label: string;
    value?: string | undefined;
};
export type ResponseBodyQuote = {
    line: string;
    amount: string;
};
export type ResponseBodyBillingPlan = {
    id: string;
    type: GetConfigurationsResponseBodyIntegrationsResponse200Type;
    name: string;
    scope?: GetConfigurationsResponseBodyScope | undefined;
    description: string;
    paymentMethodRequired?: boolean | undefined;
    preauthorizationAmount?: number | undefined;
    cost?: string | undefined;
    details?: Array<ResponseBodyDetails> | undefined;
    heightlightedDetails?: Array<ResponseBodyHeightlightedDetails> | undefined;
    quote?: Array<ResponseBodyQuote> | undefined;
    effectiveDate?: string | undefined;
};
export type GetConfigurationsResponseBody2 = {
    integration: Integration;
    /**
     * A timestamp that tells you when the configuration was installed successfully
     */
    completedAt?: number | undefined;
    /**
     * A timestamp that tells you when the configuration was created
     */
    createdAt: number;
    /**
     * The unique identifier of the configuration
     */
    id: string;
    /**
     * The unique identifier of the app the configuration was created for
     */
    integrationId: string;
    /**
     * The user or team ID that owns the configuration
     */
    ownerId: string;
    /**
     * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
     */
    projects?: Array<string> | undefined;
    /**
     * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
     */
    source?: GetConfigurationsResponseBodyIntegrationsSource | undefined;
    /**
     * The slug of the integration the configuration is created for.
     */
    slug: string;
    /**
     * When the configuration was created for a team, this will show the ID of the team.
     */
    teamId?: string | null | undefined;
    type: GetConfigurationsResponseBodyIntegrationsType;
    /**
     * A timestamp that tells you when the configuration was updated.
     */
    updatedAt: number;
    /**
     * The ID of the user that created the configuration.
     */
    userId: string;
    /**
     * The resources that are allowed to be accessed by the configuration.
     */
    scopes: Array<string>;
    /**
     * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
     */
    disabledAt?: number | undefined;
    /**
     * A timestamp that tells you when the configuration was deleted.
     */
    deletedAt?: number | null | undefined;
    /**
     * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
     */
    deleteRequestedAt?: number | null | undefined;
    disabledReason?: ResponseBodyDisabledReason | undefined;
    /**
     * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
     */
    installationType?: GetConfigurationsResponseBodyInstallationType | undefined;
    billingPlan?: ResponseBodyBillingPlan | undefined;
    billingTotal?: string | undefined;
    periodStart?: string | undefined;
    periodEnd?: string | undefined;
};
/**
 * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
 */
export declare const GetConfigurationsResponseBodySource: {
    readonly Marketplace: "marketplace";
    readonly DeployButton: "deploy-button";
    readonly External: "external";
};
/**
 * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
 */
export type GetConfigurationsResponseBodySource = ClosedEnum<typeof GetConfigurationsResponseBodySource>;
export declare const GetConfigurationsResponseBodyType: {
    readonly IntegrationConfiguration: "integration-configuration";
};
export type GetConfigurationsResponseBodyType = ClosedEnum<typeof GetConfigurationsResponseBodyType>;
export declare const GetConfigurationsResponseBodyDisabledReason: {
    readonly DisabledByOwner: "disabled-by-owner";
    readonly FeatureNotAvailable: "feature-not-available";
    readonly DisabledByAdmin: "disabled-by-admin";
    readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
    readonly AccountPlanDowngrade: "account-plan-downgrade";
    readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
};
export type GetConfigurationsResponseBodyDisabledReason = ClosedEnum<typeof GetConfigurationsResponseBodyDisabledReason>;
/**
 * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
 */
export declare const ResponseBodyInstallationType: {
    readonly Marketplace: "marketplace";
    readonly External: "external";
};
/**
 * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
 */
export type ResponseBodyInstallationType = ClosedEnum<typeof ResponseBodyInstallationType>;
export declare const GetConfigurationsResponseBodyIntegrationsResponseType: {
    readonly Prepayment: "prepayment";
    readonly Subscription: "subscription";
};
export type GetConfigurationsResponseBodyIntegrationsResponseType = ClosedEnum<typeof GetConfigurationsResponseBodyIntegrationsResponseType>;
export declare const ResponseBodyScope: {
    readonly Installation: "installation";
    readonly Resource: "resource";
};
export type ResponseBodyScope = ClosedEnum<typeof ResponseBodyScope>;
export type Details = {
    label: string;
    value?: string | undefined;
};
export type HeightlightedDetails = {
    label: string;
    value?: string | undefined;
};
export type Quote = {
    line: string;
    amount: string;
};
export type BillingPlan = {
    id: string;
    type: GetConfigurationsResponseBodyIntegrationsResponseType;
    name: string;
    scope?: ResponseBodyScope | undefined;
    description: string;
    paymentMethodRequired?: boolean | undefined;
    preauthorizationAmount?: number | undefined;
    cost?: string | undefined;
    details?: Array<Details> | undefined;
    heightlightedDetails?: Array<HeightlightedDetails> | undefined;
    quote?: Array<Quote> | undefined;
    effectiveDate?: string | undefined;
};
/**
 * The list of configurations for the authenticated user
 */
export type GetConfigurationsResponseBody1 = {
    /**
     * A timestamp that tells you when the configuration was installed successfully
     */
    completedAt?: number | undefined;
    /**
     * A timestamp that tells you when the configuration was created
     */
    createdAt?: number | undefined;
    /**
     * The unique identifier of the configuration
     */
    id?: string | undefined;
    /**
     * The unique identifier of the app the configuration was created for
     */
    integrationId?: string | undefined;
    /**
     * The user or team ID that owns the configuration
     */
    ownerId?: string | undefined;
    /**
     * When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
     */
    projects?: Array<string> | undefined;
    /**
     * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
     */
    source?: GetConfigurationsResponseBodySource | undefined;
    /**
     * The slug of the integration the configuration is created for.
     */
    slug?: string | undefined;
    /**
     * When the configuration was created for a team, this will show the ID of the team.
     */
    teamId?: string | null | undefined;
    type?: GetConfigurationsResponseBodyType | undefined;
    /**
     * A timestamp that tells you when the configuration was updated.
     */
    updatedAt?: number | undefined;
    /**
     * The ID of the user that created the configuration.
     */
    userId?: string | undefined;
    /**
     * The resources that are allowed to be accessed by the configuration.
     */
    scopes?: Array<string> | undefined;
    /**
     * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
     */
    disabledAt?: number | undefined;
    /**
     * A timestamp that tells you when the configuration was deleted.
     */
    deletedAt?: number | null | undefined;
    /**
     * A timestamp that tells you when the configuration deletion has been started for cases when the deletion needs to be settled/approved by partners, such as when marketplace invoices have been paid.
     */
    deleteRequestedAt?: number | null | undefined;
    disabledReason?: GetConfigurationsResponseBodyDisabledReason | undefined;
    /**
     * Defines the installation type. - 'external' integrations are installed via the existing integrations flow - 'marketplace' integrations are natively installed: - when accepting the TOS of a partner during the store creation process - if undefined, assume 'external'
     */
    installationType?: ResponseBodyInstallationType | undefined;
    billingPlan?: BillingPlan | undefined;
    billingTotal?: string | undefined;
    periodStart?: string | undefined;
    periodEnd?: string | undefined;
};
/**
 * The list of configurations for the authenticated user
 */
export type GetConfigurationsResponseBody = Array<GetConfigurationsResponseBody1> | Array<GetConfigurationsResponseBody2>;
/** @internal */
export declare const View$inboundSchema: z.ZodNativeEnum<typeof View>;
/** @internal */
export declare const View$outboundSchema: z.ZodNativeEnum<typeof View>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace View$ {
    /** @deprecated use `View$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Account: "account";
        readonly Project: "project";
    }>;
    /** @deprecated use `View$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Account: "account";
        readonly Project: "project";
    }>;
}
/** @internal */
export declare const InstallationType$inboundSchema: z.ZodNativeEnum<typeof InstallationType>;
/** @internal */
export declare const InstallationType$outboundSchema: z.ZodNativeEnum<typeof InstallationType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InstallationType$ {
    /** @deprecated use `InstallationType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
    /** @deprecated use `InstallationType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
}
/** @internal */
export declare const GetConfigurationsRequest$inboundSchema: z.ZodType<GetConfigurationsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetConfigurationsRequest$Outbound = {
    view: string;
    installationType?: string | undefined;
    integrationIdOrSlug?: string | undefined;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const GetConfigurationsRequest$outboundSchema: z.ZodType<GetConfigurationsRequest$Outbound, z.ZodTypeDef, GetConfigurationsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsRequest$ {
    /** @deprecated use `GetConfigurationsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetConfigurationsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetConfigurationsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetConfigurationsRequest$Outbound, z.ZodTypeDef, GetConfigurationsRequest>;
    /** @deprecated use `GetConfigurationsRequest$Outbound` instead. */
    type Outbound = GetConfigurationsRequest$Outbound;
}
export declare function getConfigurationsRequestToJSON(getConfigurationsRequest: GetConfigurationsRequest): string;
export declare function getConfigurationsRequestFromJSON(jsonString: string): SafeParseResult<GetConfigurationsRequest, SDKValidationError>;
/** @internal */
export declare const Integration$inboundSchema: z.ZodType<Integration, z.ZodTypeDef, unknown>;
/** @internal */
export type Integration$Outbound = {
    name: string;
    icon: string;
    category: string;
    isLegacy: boolean;
    flags?: Array<string> | undefined;
    assignedBetaLabelAt?: number | undefined;
};
/** @internal */
export declare const Integration$outboundSchema: z.ZodType<Integration$Outbound, z.ZodTypeDef, Integration>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Integration$ {
    /** @deprecated use `Integration$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Integration, z.ZodTypeDef, unknown>;
    /** @deprecated use `Integration$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Integration$Outbound, z.ZodTypeDef, Integration>;
    /** @deprecated use `Integration$Outbound` instead. */
    type Outbound = Integration$Outbound;
}
export declare function integrationToJSON(integration: Integration): string;
export declare function integrationFromJSON(jsonString: string): SafeParseResult<Integration, SDKValidationError>;
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsSource$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsSource>;
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsSource$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsSource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyIntegrationsSource$ {
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly DeployButton: "deploy-button";
        readonly External: "external";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsSource$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly DeployButton: "deploy-button";
        readonly External: "external";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsType>;
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyIntegrationsType$ {
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly IntegrationConfiguration: "integration-configuration";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly IntegrationConfiguration: "integration-configuration";
    }>;
}
/** @internal */
export declare const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyDisabledReason>;
/** @internal */
export declare const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyDisabledReason>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyDisabledReason$ {
    /** @deprecated use `ResponseBodyDisabledReason$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly DisabledByOwner: "disabled-by-owner";
        readonly FeatureNotAvailable: "feature-not-available";
        readonly DisabledByAdmin: "disabled-by-admin";
        readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
        readonly AccountPlanDowngrade: "account-plan-downgrade";
        readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
    }>;
    /** @deprecated use `ResponseBodyDisabledReason$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly DisabledByOwner: "disabled-by-owner";
        readonly FeatureNotAvailable: "feature-not-available";
        readonly DisabledByAdmin: "disabled-by-admin";
        readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
        readonly AccountPlanDowngrade: "account-plan-downgrade";
        readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyInstallationType>;
/** @internal */
export declare const GetConfigurationsResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyInstallationType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyInstallationType$ {
    /** @deprecated use `GetConfigurationsResponseBodyInstallationType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyInstallationType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsResponse200Type>;
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsResponse200Type>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyIntegrationsResponse200Type$ {
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Prepayment: "prepayment";
        readonly Subscription: "subscription";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponse200Type$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Prepayment: "prepayment";
        readonly Subscription: "subscription";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyScope$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyScope>;
/** @internal */
export declare const GetConfigurationsResponseBodyScope$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyScope>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyScope$ {
    /** @deprecated use `GetConfigurationsResponseBodyScope$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Installation: "installation";
        readonly Resource: "resource";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyScope$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Installation: "installation";
        readonly Resource: "resource";
    }>;
}
/** @internal */
export declare const ResponseBodyDetails$inboundSchema: z.ZodType<ResponseBodyDetails, z.ZodTypeDef, unknown>;
/** @internal */
export type ResponseBodyDetails$Outbound = {
    label: string;
    value?: string | undefined;
};
/** @internal */
export declare const ResponseBodyDetails$outboundSchema: z.ZodType<ResponseBodyDetails$Outbound, z.ZodTypeDef, ResponseBodyDetails>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyDetails$ {
    /** @deprecated use `ResponseBodyDetails$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ResponseBodyDetails, z.ZodTypeDef, unknown>;
    /** @deprecated use `ResponseBodyDetails$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ResponseBodyDetails$Outbound, z.ZodTypeDef, ResponseBodyDetails>;
    /** @deprecated use `ResponseBodyDetails$Outbound` instead. */
    type Outbound = ResponseBodyDetails$Outbound;
}
export declare function responseBodyDetailsToJSON(responseBodyDetails: ResponseBodyDetails): string;
export declare function responseBodyDetailsFromJSON(jsonString: string): SafeParseResult<ResponseBodyDetails, SDKValidationError>;
/** @internal */
export declare const ResponseBodyHeightlightedDetails$inboundSchema: z.ZodType<ResponseBodyHeightlightedDetails, z.ZodTypeDef, unknown>;
/** @internal */
export type ResponseBodyHeightlightedDetails$Outbound = {
    label: string;
    value?: string | undefined;
};
/** @internal */
export declare const ResponseBodyHeightlightedDetails$outboundSchema: z.ZodType<ResponseBodyHeightlightedDetails$Outbound, z.ZodTypeDef, ResponseBodyHeightlightedDetails>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyHeightlightedDetails$ {
    /** @deprecated use `ResponseBodyHeightlightedDetails$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ResponseBodyHeightlightedDetails, z.ZodTypeDef, unknown>;
    /** @deprecated use `ResponseBodyHeightlightedDetails$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ResponseBodyHeightlightedDetails$Outbound, z.ZodTypeDef, ResponseBodyHeightlightedDetails>;
    /** @deprecated use `ResponseBodyHeightlightedDetails$Outbound` instead. */
    type Outbound = ResponseBodyHeightlightedDetails$Outbound;
}
export declare function responseBodyHeightlightedDetailsToJSON(responseBodyHeightlightedDetails: ResponseBodyHeightlightedDetails): string;
export declare function responseBodyHeightlightedDetailsFromJSON(jsonString: string): SafeParseResult<ResponseBodyHeightlightedDetails, SDKValidationError>;
/** @internal */
export declare const ResponseBodyQuote$inboundSchema: z.ZodType<ResponseBodyQuote, z.ZodTypeDef, unknown>;
/** @internal */
export type ResponseBodyQuote$Outbound = {
    line: string;
    amount: string;
};
/** @internal */
export declare const ResponseBodyQuote$outboundSchema: z.ZodType<ResponseBodyQuote$Outbound, z.ZodTypeDef, ResponseBodyQuote>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyQuote$ {
    /** @deprecated use `ResponseBodyQuote$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ResponseBodyQuote, z.ZodTypeDef, unknown>;
    /** @deprecated use `ResponseBodyQuote$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ResponseBodyQuote$Outbound, z.ZodTypeDef, ResponseBodyQuote>;
    /** @deprecated use `ResponseBodyQuote$Outbound` instead. */
    type Outbound = ResponseBodyQuote$Outbound;
}
export declare function responseBodyQuoteToJSON(responseBodyQuote: ResponseBodyQuote): string;
export declare function responseBodyQuoteFromJSON(jsonString: string): SafeParseResult<ResponseBodyQuote, SDKValidationError>;
/** @internal */
export declare const ResponseBodyBillingPlan$inboundSchema: z.ZodType<ResponseBodyBillingPlan, z.ZodTypeDef, unknown>;
/** @internal */
export type ResponseBodyBillingPlan$Outbound = {
    id: string;
    type: string;
    name: string;
    scope?: string | undefined;
    description: string;
    paymentMethodRequired?: boolean | undefined;
    preauthorizationAmount?: number | undefined;
    cost?: string | undefined;
    details?: Array<ResponseBodyDetails$Outbound> | undefined;
    heightlightedDetails?: Array<ResponseBodyHeightlightedDetails$Outbound> | undefined;
    quote?: Array<ResponseBodyQuote$Outbound> | undefined;
    effectiveDate?: string | undefined;
};
/** @internal */
export declare const ResponseBodyBillingPlan$outboundSchema: z.ZodType<ResponseBodyBillingPlan$Outbound, z.ZodTypeDef, ResponseBodyBillingPlan>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyBillingPlan$ {
    /** @deprecated use `ResponseBodyBillingPlan$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ResponseBodyBillingPlan, z.ZodTypeDef, unknown>;
    /** @deprecated use `ResponseBodyBillingPlan$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ResponseBodyBillingPlan$Outbound, z.ZodTypeDef, ResponseBodyBillingPlan>;
    /** @deprecated use `ResponseBodyBillingPlan$Outbound` instead. */
    type Outbound = ResponseBodyBillingPlan$Outbound;
}
export declare function responseBodyBillingPlanToJSON(responseBodyBillingPlan: ResponseBodyBillingPlan): string;
export declare function responseBodyBillingPlanFromJSON(jsonString: string): SafeParseResult<ResponseBodyBillingPlan, SDKValidationError>;
/** @internal */
export declare const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<GetConfigurationsResponseBody2, z.ZodTypeDef, unknown>;
/** @internal */
export type GetConfigurationsResponseBody2$Outbound = {
    integration: Integration$Outbound;
    completedAt?: number | undefined;
    createdAt: number;
    id: string;
    integrationId: string;
    ownerId: string;
    projects?: Array<string> | undefined;
    source?: string | undefined;
    slug: string;
    teamId?: string | null | undefined;
    type: string;
    updatedAt: number;
    userId: string;
    scopes: Array<string>;
    disabledAt?: number | undefined;
    deletedAt?: number | null | undefined;
    deleteRequestedAt?: number | null | undefined;
    disabledReason?: string | undefined;
    installationType?: string | undefined;
    billingPlan?: ResponseBodyBillingPlan$Outbound | undefined;
    billingTotal?: string | undefined;
    periodStart?: string | undefined;
    periodEnd?: string | undefined;
};
/** @internal */
export declare const GetConfigurationsResponseBody2$outboundSchema: z.ZodType<GetConfigurationsResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBody2$ {
    /** @deprecated use `GetConfigurationsResponseBody2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetConfigurationsResponseBody2, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetConfigurationsResponseBody2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetConfigurationsResponseBody2$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody2>;
    /** @deprecated use `GetConfigurationsResponseBody2$Outbound` instead. */
    type Outbound = GetConfigurationsResponseBody2$Outbound;
}
export declare function getConfigurationsResponseBody2ToJSON(getConfigurationsResponseBody2: GetConfigurationsResponseBody2): string;
export declare function getConfigurationsResponseBody2FromJSON(jsonString: string): SafeParseResult<GetConfigurationsResponseBody2, SDKValidationError>;
/** @internal */
export declare const GetConfigurationsResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodySource>;
/** @internal */
export declare const GetConfigurationsResponseBodySource$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodySource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodySource$ {
    /** @deprecated use `GetConfigurationsResponseBodySource$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly DeployButton: "deploy-button";
        readonly External: "external";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodySource$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly DeployButton: "deploy-button";
        readonly External: "external";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyType>;
/** @internal */
export declare const GetConfigurationsResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyType$ {
    /** @deprecated use `GetConfigurationsResponseBodyType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly IntegrationConfiguration: "integration-configuration";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly IntegrationConfiguration: "integration-configuration";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyDisabledReason>;
/** @internal */
export declare const GetConfigurationsResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyDisabledReason>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyDisabledReason$ {
    /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly DisabledByOwner: "disabled-by-owner";
        readonly FeatureNotAvailable: "feature-not-available";
        readonly DisabledByAdmin: "disabled-by-admin";
        readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
        readonly AccountPlanDowngrade: "account-plan-downgrade";
        readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyDisabledReason$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly DisabledByOwner: "disabled-by-owner";
        readonly FeatureNotAvailable: "feature-not-available";
        readonly DisabledByAdmin: "disabled-by-admin";
        readonly OriginalOwnerLeftTheTeam: "original-owner-left-the-team";
        readonly AccountPlanDowngrade: "account-plan-downgrade";
        readonly OriginalOwnerRoleDowngraded: "original-owner-role-downgraded";
    }>;
}
/** @internal */
export declare const ResponseBodyInstallationType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyInstallationType>;
/** @internal */
export declare const ResponseBodyInstallationType$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyInstallationType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyInstallationType$ {
    /** @deprecated use `ResponseBodyInstallationType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
    /** @deprecated use `ResponseBodyInstallationType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Marketplace: "marketplace";
        readonly External: "external";
    }>;
}
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsResponseType>;
/** @internal */
export declare const GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema: z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsResponseType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBodyIntegrationsResponseType$ {
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Prepayment: "prepayment";
        readonly Subscription: "subscription";
    }>;
    /** @deprecated use `GetConfigurationsResponseBodyIntegrationsResponseType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Prepayment: "prepayment";
        readonly Subscription: "subscription";
    }>;
}
/** @internal */
export declare const ResponseBodyScope$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyScope>;
/** @internal */
export declare const ResponseBodyScope$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyScope>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBodyScope$ {
    /** @deprecated use `ResponseBodyScope$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Installation: "installation";
        readonly Resource: "resource";
    }>;
    /** @deprecated use `ResponseBodyScope$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Installation: "installation";
        readonly Resource: "resource";
    }>;
}
/** @internal */
export declare const Details$inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
/** @internal */
export type Details$Outbound = {
    label: string;
    value?: string | undefined;
};
/** @internal */
export declare const Details$outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Details$ {
    /** @deprecated use `Details$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
    /** @deprecated use `Details$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
    /** @deprecated use `Details$Outbound` instead. */
    type Outbound = Details$Outbound;
}
export declare function detailsToJSON(details: Details): string;
export declare function detailsFromJSON(jsonString: string): SafeParseResult<Details, SDKValidationError>;
/** @internal */
export declare const HeightlightedDetails$inboundSchema: z.ZodType<HeightlightedDetails, z.ZodTypeDef, unknown>;
/** @internal */
export type HeightlightedDetails$Outbound = {
    label: string;
    value?: string | undefined;
};
/** @internal */
export declare const HeightlightedDetails$outboundSchema: z.ZodType<HeightlightedDetails$Outbound, z.ZodTypeDef, HeightlightedDetails>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace HeightlightedDetails$ {
    /** @deprecated use `HeightlightedDetails$inboundSchema` instead. */
    const inboundSchema: z.ZodType<HeightlightedDetails, z.ZodTypeDef, unknown>;
    /** @deprecated use `HeightlightedDetails$outboundSchema` instead. */
    const outboundSchema: z.ZodType<HeightlightedDetails$Outbound, z.ZodTypeDef, HeightlightedDetails>;
    /** @deprecated use `HeightlightedDetails$Outbound` instead. */
    type Outbound = HeightlightedDetails$Outbound;
}
export declare function heightlightedDetailsToJSON(heightlightedDetails: HeightlightedDetails): string;
export declare function heightlightedDetailsFromJSON(jsonString: string): SafeParseResult<HeightlightedDetails, SDKValidationError>;
/** @internal */
export declare const Quote$inboundSchema: z.ZodType<Quote, z.ZodTypeDef, unknown>;
/** @internal */
export type Quote$Outbound = {
    line: string;
    amount: string;
};
/** @internal */
export declare const Quote$outboundSchema: z.ZodType<Quote$Outbound, z.ZodTypeDef, Quote>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Quote$ {
    /** @deprecated use `Quote$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Quote, z.ZodTypeDef, unknown>;
    /** @deprecated use `Quote$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Quote$Outbound, z.ZodTypeDef, Quote>;
    /** @deprecated use `Quote$Outbound` instead. */
    type Outbound = Quote$Outbound;
}
export declare function quoteToJSON(quote: Quote): string;
export declare function quoteFromJSON(jsonString: string): SafeParseResult<Quote, SDKValidationError>;
/** @internal */
export declare const BillingPlan$inboundSchema: z.ZodType<BillingPlan, z.ZodTypeDef, unknown>;
/** @internal */
export type BillingPlan$Outbound = {
    id: string;
    type: string;
    name: string;
    scope?: string | undefined;
    description: string;
    paymentMethodRequired?: boolean | undefined;
    preauthorizationAmount?: number | undefined;
    cost?: string | undefined;
    details?: Array<Details$Outbound> | undefined;
    heightlightedDetails?: Array<HeightlightedDetails$Outbound> | undefined;
    quote?: Array<Quote$Outbound> | undefined;
    effectiveDate?: string | undefined;
};
/** @internal */
export declare const BillingPlan$outboundSchema: z.ZodType<BillingPlan$Outbound, z.ZodTypeDef, BillingPlan>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BillingPlan$ {
    /** @deprecated use `BillingPlan$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BillingPlan, z.ZodTypeDef, unknown>;
    /** @deprecated use `BillingPlan$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BillingPlan$Outbound, z.ZodTypeDef, BillingPlan>;
    /** @deprecated use `BillingPlan$Outbound` instead. */
    type Outbound = BillingPlan$Outbound;
}
export declare function billingPlanToJSON(billingPlan: BillingPlan): string;
export declare function billingPlanFromJSON(jsonString: string): SafeParseResult<BillingPlan, SDKValidationError>;
/** @internal */
export declare const GetConfigurationsResponseBody1$inboundSchema: z.ZodType<GetConfigurationsResponseBody1, z.ZodTypeDef, unknown>;
/** @internal */
export type GetConfigurationsResponseBody1$Outbound = {
    completedAt?: number | undefined;
    createdAt?: number | undefined;
    id?: string | undefined;
    integrationId?: string | undefined;
    ownerId?: string | undefined;
    projects?: Array<string> | undefined;
    source?: string | undefined;
    slug?: string | undefined;
    teamId?: string | null | undefined;
    type?: string | undefined;
    updatedAt?: number | undefined;
    userId?: string | undefined;
    scopes?: Array<string> | undefined;
    disabledAt?: number | undefined;
    deletedAt?: number | null | undefined;
    deleteRequestedAt?: number | null | undefined;
    disabledReason?: string | undefined;
    installationType?: string | undefined;
    billingPlan?: BillingPlan$Outbound | undefined;
    billingTotal?: string | undefined;
    periodStart?: string | undefined;
    periodEnd?: string | undefined;
};
/** @internal */
export declare const GetConfigurationsResponseBody1$outboundSchema: z.ZodType<GetConfigurationsResponseBody1$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBody1$ {
    /** @deprecated use `GetConfigurationsResponseBody1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetConfigurationsResponseBody1, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetConfigurationsResponseBody1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetConfigurationsResponseBody1$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody1>;
    /** @deprecated use `GetConfigurationsResponseBody1$Outbound` instead. */
    type Outbound = GetConfigurationsResponseBody1$Outbound;
}
export declare function getConfigurationsResponseBody1ToJSON(getConfigurationsResponseBody1: GetConfigurationsResponseBody1): string;
export declare function getConfigurationsResponseBody1FromJSON(jsonString: string): SafeParseResult<GetConfigurationsResponseBody1, SDKValidationError>;
/** @internal */
export declare const GetConfigurationsResponseBody$inboundSchema: z.ZodType<GetConfigurationsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetConfigurationsResponseBody$Outbound = Array<GetConfigurationsResponseBody1$Outbound> | Array<GetConfigurationsResponseBody2$Outbound>;
/** @internal */
export declare const GetConfigurationsResponseBody$outboundSchema: z.ZodType<GetConfigurationsResponseBody$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetConfigurationsResponseBody$ {
    /** @deprecated use `GetConfigurationsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetConfigurationsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetConfigurationsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetConfigurationsResponseBody$Outbound, z.ZodTypeDef, GetConfigurationsResponseBody>;
    /** @deprecated use `GetConfigurationsResponseBody$Outbound` instead. */
    type Outbound = GetConfigurationsResponseBody$Outbound;
}
export declare function getConfigurationsResponseBodyToJSON(getConfigurationsResponseBody: GetConfigurationsResponseBody): string;
export declare function getConfigurationsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetConfigurationsResponseBody, SDKValidationError>;
//# sourceMappingURL=getconfigurationsop.d.ts.map