{"openapi":"3.0.0","paths":{"/api":{"get":{"operationId":"AppController_getApi","parameters":[],"responses":{"200":{"description":""}},"tags":["App"]}},"/api/email-test":{"post":{"operationId":"AppController_testEmail","parameters":[],"responses":{"201":{"description":""}},"tags":["App"]}},"/api/health":{"get":{"operationId":"AppController_getHealth","parameters":[],"responses":{"200":{"description":""}},"tags":["App"]}},"/api/callback":{"post":{"operationId":"ProcessCallbackController_processCallback","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessCallbackDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormFilloutProcessResult"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ProcessCallback"]}},"/api/callback/__internal":{"post":{"operationId":"ProcessCallbackController_internalProcessCallback","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormFilloutProcessResult"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ProcessCallback"]}},"/api/auth/docs/login/request":{"post":{"operationId":"AuthController_signatoryLoginRequest","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryRequestOtpDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryRequestOtpResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Auth"]}},"/api/auth/docs/login/verify":{"post":{"operationId":"AuthController_signatoryLoginVerify","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryVerifyOtpDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Auth"]}},"/api/auth/docs/logout":{"post":{"operationId":"AuthController_signatorySignOut","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Auth"]}},"/api/docs/auth/magic-link":{"get":{"operationId":"SignatoryMagicLinkController_magicLinkLogin","parameters":[{"name":"id","required":true,"in":"query","schema":{"type":"string"}},{"name":"hash","required":true,"in":"query","schema":{"type":"string"}},{"name":"redirect","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MagicLinkResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["SignatoryMagicLink"]}},"/api/docs/query/{code}":{"get":{"operationId":"DocsController_getByVerificationCode","parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryDocResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Docs"]}},"/api/docs/resolve-url":{"post":{"operationId":"DocsController_resolveUrl","parameters":[],"responses":{"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Docs"]}},"/api/docs/resolve-url/__internal":{"post":{"operationId":"DocsController_resolveUrlInternal","parameters":[],"responses":{"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Docs"]}},"/api/docs/entity-forms":{"get":{"operationId":"DocsController_getEntityForms","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryFormtemplatesResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Docs"]}},"/api/forms/registry":{"get":{"operationId":"FormsController_getRegistry","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormRegistryResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/form-templates":{"get":{"operationId":"FormsController_getFormGroupTemplates","parameters":[{"name":"formGroupId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormTemplatesResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/last-updated/__internal":{"get":{"operationId":"FormsController_getFormTemplatesLastUpdated","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/form-metadata":{"get":{"operationId":"FormsController_getRegistryFormMetadata","parameters":[{"name":"name","required":true,"in":"query","schema":{"type":"string"}},{"name":"version","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormMetadataResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/form-document":{"get":{"operationId":"FormsController_getRegistryFormDocument","parameters":[{"name":"name","required":true,"in":"query","schema":{"type":"string"}},{"name":"version","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormDocumentResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/form-latest":{"get":{"operationId":"FormsController_getLatestFormDocumentAndMetadata","parameters":[{"name":"name","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormLatestResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/register-form":{"post":{"operationId":"FormsController_registerForm","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/RegisterFormSchemaDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/fields":{"get":{"operationId":"FormsController_getFieldRegistry","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldRegistryResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/add-field":{"post":{"operationId":"FormsController_registerField","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterFieldDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/edit-field":{"post":{"operationId":"FormsController_updateField","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFieldDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/field":{"get":{"operationId":"FormsController_getFieldFromRegistry","parameters":[{"name":"id","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FieldRequestResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/process":{"get":{"operationId":"FormsController_getFormProcess","parameters":[{"name":"formProcessId","required":true,"in":"query","schema":{"type":"string"}},{"name":"signingPartyId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormProcessResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/continue":{"post":{"operationId":"FormsController_continueFormProcess","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContinueFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/signature-image":{"post":{"operationId":"FormsController_uploadSignatureImage","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadSignatureImageDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadSignatureImageResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/signature-image/__internal":{"post":{"operationId":"FormsController_uploadSignatureImageInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadSignatureImageResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/reject":{"post":{"operationId":"FormsController_rejectFormProcess","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/cancel":{"post":{"operationId":"FormsController_cancelFormProcess","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/cancel/__internal":{"post":{"operationId":"FormsController_cancelFormProcessInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/resend/__internal":{"post":{"operationId":"FormsController_resendFormProcessInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/initiate":{"post":{"operationId":"FormsController_initiateFormProcess","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitiateFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/initiate/__internal":{"post":{"operationId":"FormsController_initiateFormProcessInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/fillout":{"post":{"operationId":"FormsController_filloutFormProcess","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitiateFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/fillout/__internal":{"post":{"operationId":"FormsController_filloutFormProcessInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/test-generate":{"post":{"operationId":"FormsController_generateTestForm","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InitiateFormDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/bulk-processes":{"post":{"operationId":"FormsController_getBulkFormProcesses","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetExportForSignatoryDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportableFormsResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/mark-first-viewed":{"post":{"operationId":"FormsController_markFormAsFirstViewed","parameters":[{"name":"formProcessId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/alter-recipient":{"post":{"operationId":"FormsController_alterRecipient","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlterRecipientEmailDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/forms/edit-recipient/__internal":{"get":{"operationId":"FormsController_getAlterRecipientContextInternally","parameters":[{"name":"apiKey","required":true,"in":"query","schema":{"type":"string"}},{"name":"eventId","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]},"post":{"operationId":"FormsController_alterRecipientInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Forms"]}},"/api/form-groups":{"get":{"operationId":"FormGroupsController_getAllFormGroups","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]},"post":{"operationId":"FormGroupsController_createFormGroup","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFormGroupDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/{id}":{"get":{"operationId":"FormGroupsController_getFormGroupById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/assign-coordinator":{"post":{"operationId":"FormGroupsController_assignCoordinatorToFormGroup","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignCoordinatorToFormGroupDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/me/reset-code":{"post":{"operationId":"FormGroupsController_resetOwnFormGroupCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormGroupIdDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/reset-code":{"post":{"operationId":"FormGroupsController_resetFormGroupCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormGroupIdDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/add-form":{"post":{"operationId":"FormGroupsController_addFormToGroup","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFormToGroupDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-groups/remove-form":{"post":{"operationId":"FormGroupsController_removeFormFromGroup","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveFormFromGroupDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["FormGroups"]}},"/api/form-sync/compare":{"get":{"operationId":"FormSyncController_compareFormVersions","parameters":[],"responses":{"200":{"description":""}},"tags":["FormSync"]}},"/api/form-sync/sync":{"post":{"operationId":"FormSyncController_syncAllForms","parameters":[],"responses":{"201":{"description":""}},"tags":["FormSync"]}},"/api/form-sync/sync-single":{"post":{"operationId":"FormSyncController_syncSingleForm","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncSingleFormDto"}}}},"responses":{"201":{"description":""}},"tags":["FormSync"]}},"/api/webhooks/ses/bounce":{"post":{"operationId":"SesBounceWebhookController_receiveBounceEvent","parameters":[],"responses":{"201":{"description":""}},"tags":["SesBounceWebhook"]}},"/api/signatory/me/form-group/__internal":{"post":{"operationId":"SignatoryController_getSignatoryFormGroup","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/create/__internal":{"post":{"operationId":"SignatoryController_createAccountInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSignatoryResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me":{"get":{"operationId":"SignatoryController_getSelf","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatorySelfResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]},"put":{"operationId":"SignatoryController_updateSelf","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSignatoryDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/signature/__internal":{"post":{"operationId":"SignatoryController_getSignatureInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/forms":{"get":{"operationId":"SignatoryController_getSignedDocumentsBySignatory","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatorySignedFormsResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/forms/__internal":{"post":{"operationId":"SignatoryController_getSignedDocumentsBySignatoryInternally","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatorySignedFormsResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/form-groups":{"get":{"operationId":"SignatoryController_getSignatoryFormGroups","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryFormGroupsResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/form-group/clear":{"post":{"operationId":"SignatoryController_clearFormGroupMembers","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormGroupIdDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/form-group/remove":{"post":{"operationId":"SignatoryController_removeFormGroupMember","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FormGroupRemoveMemberDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/form-group/{id}":{"get":{"operationId":"SignatoryController_getSignatoryFormGroupMembers","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatoryFormGroupMembersResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}},"/api/signatory/me/form-settings":{"post":{"operationId":"SignatoryController_getSignatoryFormSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSignatoryFormSettingsRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSignatoryFormSettingsResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]},"put":{"operationId":"SignatoryController_setSignatoryFormSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetSignatoryFormSettingsRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"400":{"description":"Error Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Signatory"]}}},"info":{"title":"BetterInternship MOA API","description":"The official API of the BetterInternship MOA platform.","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"schemas":{"ProcessCallbackDto":{"type":"object","properties":{}},"FormFilloutProcessResult":{"type":"object","properties":{}},"ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"number"},"message":{"type":"string"}},"required":["success","status","message"]},"SignatoryRequestOtpDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"SignatoryRequestOtpResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"resendIn":{"type":"number"},"ttl":{"type":"number"}},"required":["success","message","resendIn","ttl"]},"SignatoryVerifyOtpDto":{"type":"object","properties":{"email":{"type":"string"},"code":{"type":"string"}},"required":["email","code"]},"BaseResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}},"required":["success","message"]},"MagicLinkResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"redirect":{"type":"string"}},"required":["success","message","redirect"]},"SignatoryInfo":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":"string"},"email":{"type":"string"},"signedDate":{"type":"number"}},"required":["name","title","email","signedDate"]},"SignedOrExternalDocumentInfo":{"type":"object","properties":{"url":{"type":"string"},"signatories":{"type":"array","items":{"$ref":"#/components/schemas/SignatoryInfo"}},"date_made":{"type":"string"},"form_label":{"type":"string"},"uploaded_at":{"type":"string"},"verification_code":{"type":"string"},"code":{"type":"string"}},"required":["url","signatories","date_made","form_label","uploaded_at","verification_code","code"]},"QueryDocResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"signedDocument":{"$ref":"#/components/schemas/SignedOrExternalDocumentInfo"}},"required":["success","message","signedDocument"]},"SignatoryFormtemplatesResponse":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"string"}}},"required":["forms"]},"FormRegistryEntry":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"version":{"type":"number"},"time_generated":{"format":"date-time","type":"string"}},"required":["name","label","version","time_generated"]},"FormRegistryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"registry":{"type":"array","items":{"$ref":"#/components/schemas/FormRegistryEntry"}}},"required":["success","message","registry"]},"FormTemplatePreview":{"type":"object","properties":{"formDocument":{"type":"string"},"formVersion":{"type":"number"},"formName":{"type":"string"},"formLabel":{"type":"string"},"time_generated":{"format":"date-time","type":"string"}},"required":["formDocument","formVersion","formName","formLabel","time_generated"]},"FormTemplatesResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formTemplates":{"type":"array","items":{"$ref":"#/components/schemas/FormTemplatePreview"}}},"required":["success","message","formTemplates"]},"FormField":{"type":"object","properties":{"field":{"type":"string"},"type":{"type":"string","enum":["text","signature"]},"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number"},"h":{"type":"number"},"page":{"type":"number"},"repeat":{"type":"object"},"label":{"type":"string"},"tooltip_label":{"type":"string"},"shared":{"type":"boolean"},"signing_party_id":{"type":"string"},"source":{"type":"string","enum":["auto","prefill","derived","manual"]},"prefiller":{"type":"string"},"validator":{"type":"string"},"validator_ir":{"type":"object","nullable":true,"additionalProperties":false,"required":["version","baseType","rules"],"properties":{"version":{"type":"number","enum":[0]},"baseType":{"type":"string","enum":["text","number","date","enum","array","checkbox","textarea","time","email","phone","url","signature","image"]},"rules":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["required","email","url","plainText","titleCase","trim","dateOnOrAfterToday","dateOnOrBeforeToday"]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"type":"string","enum":["minLength","maxLength","min","max","minTime","maxTime"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","pattern"],"properties":{"kind":{"type":"string","enum":["regex"]},"pattern":{"type":"string"},"flags":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["enum"]},"options":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["array"]},"options":{"type":"array","items":{"type":"string"}},"minItems":{"type":"number"},"maxItems":{"type":"number"},"minMessage":{"type":"string"},"maxMessage":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","isoDate"],"properties":{"kind":{"type":"string","enum":["minDate","maxDate"]},"isoDate":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","field"],"properties":{"kind":{"type":"string","enum":["dateOnOrAfterField","dateOnOrBeforeField"]},"field":{"type":"string"},"message":{"type":"string"}}}]}},"mode":{"type":"string","enum":["builder","imported"]},"importStatus":{"type":"string","enum":["exact","partial","custom"]},"unmapped":{"type":"array","items":{"type":"string"}}}}},"required":["field","type","x","y","w","h","page","label","tooltip_label","shared","signing_party_id","source","prefiller","validator"]},"FormPhantomField":{"type":"object","properties":{"field":{"type":"string"},"type":{"type":"string","enum":["text","signature"]},"label":{"type":"string"},"tooltip_label":{"type":"string"},"shared":{"type":"boolean"},"signing_party_id":{"type":"string"},"source":{"type":"string","enum":["auto","prefill","derived","manual"]},"prefiller":{"type":"string"},"validator":{"type":"string"},"validator_ir":{"type":"object","nullable":true,"additionalProperties":false,"required":["version","baseType","rules"],"properties":{"version":{"type":"number","enum":[0]},"baseType":{"type":"string","enum":["text","number","date","enum","array","checkbox","textarea","time","email","phone","url","signature","image"]},"rules":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["required","email","url","plainText","titleCase","trim","dateOnOrAfterToday","dateOnOrBeforeToday"]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"type":"string","enum":["minLength","maxLength","min","max","minTime","maxTime"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","pattern"],"properties":{"kind":{"type":"string","enum":["regex"]},"pattern":{"type":"string"},"flags":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["enum"]},"options":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["array"]},"options":{"type":"array","items":{"type":"string"}},"minItems":{"type":"number"},"maxItems":{"type":"number"},"minMessage":{"type":"string"},"maxMessage":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","isoDate"],"properties":{"kind":{"type":"string","enum":["minDate","maxDate"]},"isoDate":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","field"],"properties":{"kind":{"type":"string","enum":["dateOnOrAfterField","dateOnOrBeforeField"]},"field":{"type":"string"},"message":{"type":"string"}}}]}},"mode":{"type":"string","enum":["builder","imported"]},"importStatus":{"type":"string","enum":["exact","partial","custom"]},"unmapped":{"type":"array","items":{"type":"string"}}}}},"required":["field","type","label","tooltip_label","shared","signing_party_id","source","prefiller","validator"]},"FormBlock":{"type":"object","properties":{"_id":{"type":"string"},"block_type":{"type":"string","enum":["header","paragraph","form_field","form_phantom_field","divider","image"]},"order":{"type":"number"},"signing_party_id":{"type":"string"},"text_content":{"type":"string"},"field_schema":{"$ref":"#/components/schemas/FormField"},"phantom_field_schema":{"$ref":"#/components/schemas/FormPhantomField"}},"required":["_id","block_type","order","signing_party_id","field_schema","phantom_field_schema"]},"Form":{"type":"object","properties":{"blocks":{"type":"array","items":{"$ref":"#/components/schemas/FormBlock"}}},"required":["blocks"]},"FormSignatory":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"title":{"type":"string"},"honorific":{"type":"string"}},"required":["email"]},"SignatorySource":{"type":"object","properties":{"_id":{"type":"string"},"label":{"type":"string"},"tooltip_label":{"type":"string"}},"required":["_id","label","tooltip_label"]},"FormSigningParty":{"type":"object","properties":{"_id":{"type":"string"},"order":{"type":"number"},"signatory_title":{"type":"string"},"signatory_account":{"$ref":"#/components/schemas/FormSignatory"},"signatory_source":{"$ref":"#/components/schemas/SignatorySource"},"signed":{"type":"boolean"}},"required":["_id","order","signatory_title","signatory_account","signatory_source"]},"FormSubscriber":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}},"required":["name","email"]},"FormMetadata":{"type":"object","properties":{"schema_version":{"type":"number"},"name":{"type":"string"},"label":{"type":"string"},"version":{"type":"number"},"schema":{"$ref":"#/components/schemas/Form"},"signing_parties":{"type":"array","items":{"$ref":"#/components/schemas/FormSigningParty"}},"subscribers":{"type":"array","items":{"$ref":"#/components/schemas/FormSubscriber"}}},"required":["schema_version","name","label","version","schema","signing_parties"]},"FormMetadataResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formMetadata":{"$ref":"#/components/schemas/FormMetadata"}},"required":["success","message","formMetadata"]},"FormDocumentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formDocument":{"type":"string"}},"required":["success","message","formDocument"]},"FormTemplate":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"version":{"type":"number"},"base_document_id":{"type":"string"},"time_generated":{"type":"string"}},"required":["name","label","version","base_document_id","time_generated"]},"FormLatestResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formMetadata":{"$ref":"#/components/schemas/FormMetadata"},"formTemplate":{"$ref":"#/components/schemas/FormTemplate"},"formVersion":{"type":"number"},"documentUrl":{"type":"string"}},"required":["success","message","formMetadata","formTemplate","formVersion","documentUrl"]},"RegisterFormSchemaDto":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"schema_version":{"type":"number"},"schema":{"$ref":"#/components/schemas/Form"},"signing_parties":{"type":"array","items":{"$ref":"#/components/schemas/FormSigningParty"}},"subscribers":{"type":"array","items":{"$ref":"#/components/schemas/FormSubscriber"}},"base_document":{"type":"string","format":"binary"}},"required":["name","label","schema_version","schema","signing_parties"]},"FieldRegistryEntryDetails":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["text","signature"]},"party":{"type":"string"},"source":{"type":"string","enum":["auto","prefill","derived","manual"]},"tag":{"type":"string"},"shared":{"type":"boolean"},"preset":{"type":"string"},"prefiller":{"type":"string","nullable":true},"tooltip_label":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validator_ir":{"type":"object","nullable":true,"additionalProperties":false,"required":["version","baseType","rules"],"properties":{"version":{"type":"number","enum":[0]},"baseType":{"type":"string","enum":["text","number","date","enum","array","checkbox","textarea","time","email","phone","url","signature","image"]},"rules":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["required","email","url","plainText","titleCase","trim","dateOnOrAfterToday","dateOnOrBeforeToday"]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"type":"string","enum":["minLength","maxLength","min","max","minTime","maxTime"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","pattern"],"properties":{"kind":{"type":"string","enum":["regex"]},"pattern":{"type":"string"},"flags":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["enum"]},"options":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["array"]},"options":{"type":"array","items":{"type":"string"}},"minItems":{"type":"number"},"maxItems":{"type":"number"},"minMessage":{"type":"string"},"maxMessage":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","isoDate"],"properties":{"kind":{"type":"string","enum":["minDate","maxDate"]},"isoDate":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","field"],"properties":{"kind":{"type":"string","enum":["dateOnOrAfterField","dateOnOrBeforeField"]},"field":{"type":"string"},"message":{"type":"string"}}}]}},"mode":{"type":"string","enum":["builder","imported"]},"importStatus":{"type":"string","enum":["exact","partial","custom"]},"unmapped":{"type":"array","items":{"type":"string"}}}},"field_schema_defaults":{"type":"object","nullable":true,"additionalProperties":false,"properties":{"w":{"type":"number"},"h":{"type":"number"},"wrap":{"type":"boolean"},"size":{"type":"number"},"align_h":{"type":"string","enum":["left","center","right"]},"align_v":{"type":"string","enum":["top","middle","bottom"]},"font":{"type":"string"}}},"is_phantom":{"type":"boolean"}},"required":["id","name","label","type","party","source","tag","shared","preset","prefiller","tooltip_label","validator","field_schema_defaults","is_phantom"]},"FieldRegistryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/FieldRegistryEntryDetails"}}},"required":["success","message","fields"]},"RegisterFieldDto":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"type":"string"},"party":{"type":"string"},"shared":{"type":"boolean"},"source":{"type":"string","enum":["auto","prefill","derived","manual"]},"tag":{"type":"string"},"prefiller":{"type":"string","nullable":true},"preset":{"type":"string"},"tooltip_label":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validator_ir":{"type":"object","nullable":true,"additionalProperties":false,"required":["version","baseType","rules"],"properties":{"version":{"type":"number","enum":[0]},"baseType":{"type":"string","enum":["text","number","date","enum","array","checkbox","textarea","time","email","phone","url","signature","image"]},"rules":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["required","email","url","plainText","titleCase","trim","dateOnOrAfterToday","dateOnOrBeforeToday"]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"type":"string","enum":["minLength","maxLength","min","max","minTime","maxTime"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","pattern"],"properties":{"kind":{"type":"string","enum":["regex"]},"pattern":{"type":"string"},"flags":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["enum"]},"options":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["array"]},"options":{"type":"array","items":{"type":"string"}},"minItems":{"type":"number"},"maxItems":{"type":"number"},"minMessage":{"type":"string"},"maxMessage":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","isoDate"],"properties":{"kind":{"type":"string","enum":["minDate","maxDate"]},"isoDate":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","field"],"properties":{"kind":{"type":"string","enum":["dateOnOrAfterField","dateOnOrBeforeField"]},"field":{"type":"string"},"message":{"type":"string"}}}]}},"mode":{"type":"string","enum":["builder","imported"]},"importStatus":{"type":"string","enum":["exact","partial","custom"]},"unmapped":{"type":"array","items":{"type":"string"}}}},"field_schema_defaults":{"type":"object","nullable":true,"additionalProperties":false,"properties":{"w":{"type":"number"},"h":{"type":"number"},"wrap":{"type":"boolean"},"size":{"type":"number"},"align_h":{"type":"string","enum":["left","center","right"]},"align_v":{"type":"string","enum":["top","middle","bottom"]},"font":{"type":"string"}}},"is_phantom":{"type":"boolean"}},"required":["name","label","type","party","shared","source","tag","prefiller","preset","tooltip_label","validator","field_schema_defaults","is_phantom"]},"UpdateFieldDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"label":{"type":"string"},"type":{"type":"string"},"shared":{"type":"boolean"},"party":{"type":"string"},"source":{"type":"string","enum":["auto","prefill","derived","manual"]},"tag":{"type":"string"},"prefiller":{"type":"string","nullable":true},"preset":{"type":"string"},"tooltip_label":{"type":"string","nullable":true},"validator":{"type":"string","nullable":true},"validator_ir":{"type":"object","nullable":true,"additionalProperties":false,"required":["version","baseType","rules"],"properties":{"version":{"type":"number","enum":[0]},"baseType":{"type":"string","enum":["text","number","date","enum","array","checkbox","textarea","time","email","phone","url","signature","image"]},"rules":{"type":"array","items":{"oneOf":[{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["required","email","url","plainText","titleCase","trim","dateOnOrAfterToday","dateOnOrBeforeToday"]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"type":"string","enum":["minLength","maxLength","min","max","minTime","maxTime"]},"value":{"oneOf":[{"type":"number"},{"type":"string"}]},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","pattern"],"properties":{"kind":{"type":"string","enum":["regex"]},"pattern":{"type":"string"},"flags":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["enum"]},"options":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","options"],"properties":{"kind":{"type":"string","enum":["array"]},"options":{"type":"array","items":{"type":"string"}},"minItems":{"type":"number"},"maxItems":{"type":"number"},"minMessage":{"type":"string"},"maxMessage":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","isoDate"],"properties":{"kind":{"type":"string","enum":["minDate","maxDate"]},"isoDate":{"type":"string"},"message":{"type":"string"}}},{"type":"object","additionalProperties":false,"required":["kind","field"],"properties":{"kind":{"type":"string","enum":["dateOnOrAfterField","dateOnOrBeforeField"]},"field":{"type":"string"},"message":{"type":"string"}}}]}},"mode":{"type":"string","enum":["builder","imported"]},"importStatus":{"type":"string","enum":["exact","partial","custom"]},"unmapped":{"type":"array","items":{"type":"string"}}}},"field_schema_defaults":{"type":"object","nullable":true,"additionalProperties":false,"properties":{"w":{"type":"number"},"h":{"type":"number"},"wrap":{"type":"boolean"},"size":{"type":"number"},"align_h":{"type":"string","enum":["left","center","right"]},"align_v":{"type":"string","enum":["top","middle","bottom"]},"font":{"type":"string"}}},"is_phantom":{"type":"boolean"}},"required":["id","name","label","type","shared","party","source","tag","prefiller","preset","tooltip_label","validator","field_schema_defaults","is_phantom"]},"FieldRequestResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"field":{"$ref":"#/components/schemas/FieldRegistryEntryDetails"}},"required":["success","message","field"]},"FormProcessDto":{"type":"object","properties":{"my_signing_party_id":{"type":"string"},"display_information":{"type":"object"},"form_inputs":{"type":"object"},"form_label":{"type":"string"},"form_name":{"type":"string"},"form_version":{"type":"number"},"schema_version":{"type":"number"},"latest_document_url":{"type":"string"},"prefilled_document_id":{"type":"string"},"signed_document_id":{"type":"string"},"timestamp":{"type":"string"}},"required":["my_signing_party_id","display_information","form_inputs","form_label","form_name","form_version","schema_version","latest_document_url","prefilled_document_id","signed_document_id","timestamp"]},"FormProcessResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formProcess":{"$ref":"#/components/schemas/FormProcessDto"}},"required":["success","message","formProcess"]},"ContinueFormDto":{"type":"object","properties":{"formProcessId":{"type":"string"},"supposedSigningPartyId":{"type":"string"},"values":{"type":"object"},"audit":{"type":"object"}},"required":["formProcessId","supposedSigningPartyId","values","audit"]},"UploadSignatureImageDto":{"type":"object","properties":{"source":{"type":"string","enum":["draw","upload"]},"dataUrl":{"type":"string"}},"required":["source","dataUrl"]},"SignatureImageAssetDto":{"type":"object","properties":{"filename":{"type":"string"},"url":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"number"}},"required":["filename","url","mimeType","sizeBytes"]},"UploadSignatureImageResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"value":{"type":"string"},"asset":{"$ref":"#/components/schemas/SignatureImageAssetDto"}},"required":["success","message","value","asset"]},"RejectFormDto":{"type":"object","properties":{"formProcessId":{"type":"string"},"reason":{"type":"string"}},"required":["formProcessId","reason"]},"CancelFormDto":{"type":"object","properties":{"formProcessId":{"type":"string"}},"required":["formProcessId"]},"InitiateFormDto":{"type":"object","properties":{"formName":{"type":"string"},"formVersion":{"type":"number"},"values":{"type":"object"},"audit":{"type":"object"}},"required":["formName","formVersion","values","audit"]},"ProcessResponse":{"type":"object","properties":{"processId":{"type":"string"},"processName":{"type":"string"},"processCallbackUrl":{"type":"string"},"success":{"type":"boolean"},"message":{"type":"string"}},"required":["processId","processName","processCallbackUrl","success","message"]},"GetExportForSignatoryDto":{"type":"object","properties":{"formName":{"type":"string"}},"required":["formName"]},"ExportableFormDto":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"inputs":{"type":"object"},"signingParties":{"type":"array","items":{"type":"object"}},"formLabel":{"type":"string"},"formName":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"documentUrl":{"type":"string","nullable":true}},"required":["id","status","inputs","signingParties","formLabel","formName","createdAt","updatedAt","documentUrl"]},"ExportableFormsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"processes":{"type":"array","items":{"$ref":"#/components/schemas/ExportableFormDto"}}},"required":["success","message","processes"]},"AlterRecipientEmailDto":{"type":"object","properties":{"formProcessId":{"type":"string"},"supposedSigningPartyId":{"type":"string"},"recipientEmail":{"type":"string"}},"required":["formProcessId","supposedSigningPartyId","recipientEmail"]},"CreateFormGroupDto":{"type":"object","properties":{"name":{"type":"string"}}},"AssignCoordinatorToFormGroupDto":{"type":"object","properties":{"formGroupId":{"type":"string"},"email":{"type":"string"}},"required":["formGroupId","email"]},"FormGroupIdDto":{"type":"object","properties":{"formGroupId":{"type":"string"}},"required":["formGroupId"]},"AddFormToGroupDto":{"type":"object","properties":{"formNames":{"type":"array","items":{"type":"string"}},"groupId":{"type":"string"}},"required":["formNames","groupId"]},"RemoveFormFromGroupDto":{"type":"object","properties":{"formNames":{"type":"array","items":{"type":"string"}},"groupId":{"type":"string"}},"required":["formNames","groupId"]},"SyncSingleFormDto":{"type":"object","properties":{"formName":{"type":"string","description":"The name of the form to sync","example":"internship-agreement"}},"required":["formName"]},"CreateSignatoryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}},"required":["success","message"]},"SignatoryProfile":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string"},"title":{"type":"object"},"honorific":{"type":"object"},"autofill":{"type":"object"},"signatureImage":{"type":"object"},"autoFormPermissions":{"type":"object"},"coordinatorId":{"type":"string"},"god":{"type":"boolean"}},"required":["id","email","name","title","honorific","autofill","signatureImage","autoFormPermissions"]},"SignatorySelfResponse":{"type":"object","properties":{"profile":{"$ref":"#/components/schemas/SignatoryProfile"}},"required":["profile"]},"SigningParty":{"type":"object","properties":{"_id":{"type":"string"},"order":{"type":"number"},"signatory_account":{"$ref":"#/components/schemas/FormSignatory"},"signed":{"type":"boolean"}},"required":["_id","order","signatory_account","signed"]},"FormProcess":{"type":"object","properties":{"prefilled_document_id":{"type":"string"},"pending_document_id":{"type":"string"},"signed_document_id":{"type":"string"},"latest_document_url":{"type":"string"},"rejection_reason":{"type":"string"},"display_information":{"type":"object","additionalProperties":{"type":"string"}},"signing_parties":{"type":"array","items":{"$ref":"#/components/schemas/SigningParty"}}},"required":["prefilled_document_id","pending_document_id","signed_document_id","latest_document_url","rejection_reason","display_information","signing_parties"]},"_SignatoryForm":{"type":"object","properties":{"id":{"type":"string"},"form_label":{"type":"string"},"form_name":{"type":"string"},"form_process_id":{"type":"string"},"form_process_status":{"type":"string"},"signatory_id":{"type":"string"},"rejection_response":{"type":"string"},"timestamp":{"type":"string"},"form_processes":{"$ref":"#/components/schemas/FormProcess"},"first_viewed":{"type":"string","format":"date-time","nullable":true},"signing_party_id":{"type":"string","nullable":true},"signing_keyring_id":{"type":"string","nullable":true}},"required":["id","form_label","form_name","form_process_id","form_process_status","signatory_id","rejection_response","timestamp","form_processes","first_viewed","signing_party_id","signing_keyring_id"]},"SignatorySignedFormsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"forms":{"type":"array","items":{"$ref":"#/components/schemas/_SignatoryForm"}}},"required":["success","message","forms"]},"_FormGroup":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"code":{"type":"string","nullable":true},"coordinator_id":{"type":"string","nullable":true},"forms":{"type":"array","items":{"type":"string"}}},"required":["id","description","code","coordinator_id","forms"]},"SignatoryFormGroupsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formGroups":{"type":"array","items":{"$ref":"#/components/schemas/_FormGroup"}}},"required":["success","message","formGroups"]},"FormGroupRemoveMemberDto":{"type":"object","properties":{"formGroupId":{"type":"string"},"userId":{"type":"string"}},"required":["formGroupId","userId"]},"_FormGroupMember":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"joinedAt":{"type":"string"}},"required":["id","name","email","joinedAt"]},"SignatoryFormGroupMembersResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"formGroupMembers":{"type":"array","items":{"$ref":"#/components/schemas/_FormGroupMember"}}},"required":["success","message","formGroupMembers"]},"GetSignatoryFormSettingsRequest":{"type":"object","properties":{"formName":{"type":"string"}},"required":["formName"]},"GetSignatoryFormSettingsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"settings":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FormSettings"}}},"required":["success","message","settings"]},"SetSignatoryFormSettingsRequest":{"type":"object","properties":{"formName":{"type":"string"},"settings":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FormSettings"}},"audit":{"type":"object"}},"required":["formName","settings","audit"]},"UpdateSignatoryDto":{"type":"object","properties":{}}}}}