packages/rest-typings/src/v1/groups/GroupsGetIntegrationsProps.ts
import Ajv from 'ajv';
import type { GroupsBaseProps } from './BaseProps';
import { withGroupBaseProperties } from './BaseProps';
const ajv = new Ajv({
coerceTypes: true,
});
export type GroupsGetIntegrationsProps = GroupsBaseProps & { includeAllPrivateGroups?: 'true' | 'false' | 1 | 0 };
const groupsGetIntegrationPropsSchema = withGroupBaseProperties({
includeAllPrivateGroups: {
type: 'string',
nullable: true,
},
});
export const isGroupsGetIntegrationsProps = ajv.compile<GroupsGetIntegrationsProps>(groupsGetIntegrationPropsSchema);