export interface HubspotFieldOption { label: string; value: string; } export interface HubspotDependentCondition { operator: string; values: string[]; } export interface HubspotDependentField { dependentCondition: HubspotDependentCondition; dependentField: HubspotFormField; } export interface HubspotFormField { name: string; label: string; description?: string; fieldType: string; objectTypeId: string; required: boolean; hidden: boolean; options?: HubspotFieldOption[]; defaultValue?: string; defaultValues?: string[]; dependentFields?: HubspotDependentField[]; } export interface HubspotFieldGroup { groupType: string; richText?: string; richTextType?: string; fields: HubspotFormField[]; } export interface HubspotLegalConsentCheckbox { label: string; required: boolean; subscriptionTypeId?: number; } export interface HubspotLegalConsent { type: string; privacyText?: string; consentToProcessText?: string; consentToProcessCheckboxLabel?: string; communicationsCheckboxes?: HubspotLegalConsentCheckbox[]; } export interface HubspotPostSubmitAction { type: 'redirect_url' | 'thank_you'; value: string; } export interface HubspotFormDefinition { id: string; name: string; fieldGroups: HubspotFieldGroup[]; legalConsentOptions: HubspotLegalConsent | null; submitButtonText: string; postSubmitAction: HubspotPostSubmitAction; recaptchaEnabled: boolean; } export interface HubspotFieldResponse { objectTypeId: string; name: string; value: string | string[]; } export interface HubspotFormContext { hutk?: string; ipAddress?: string; pageName: string; pageUri: string; } export interface HubspotFormSubmissionResponse { redirectUri?: string; inlineMessage?: string; errors?: { message: string; errorType: string; }[]; } export interface HubspotFormExternalData { formId: string; portalId?: string; submitButtonText?: string; widthPercentage?: number; hiddenFields?: Record; initialValues?: Record; } export interface HubspotFormClassNames { form?: string; fieldGroup?: string; field?: string; label?: string; description?: string; input?: string; textarea?: string; select?: string; checkboxGroup?: string; checkboxLabel?: string; radioGroup?: string; radioLabel?: string; submitButton?: string; message?: string; legalConsent?: string; richText?: string; } //# sourceMappingURL=types.d.ts.map