@epilot/sdk 2.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +294 -0
- package/dist/access-token-MYDOBCIY.cjs +89 -0
- package/dist/access-token-Y5JR7PRG.js +89 -0
- package/dist/access-token.d-C2qnueDV.d.cts +553 -0
- package/dist/access-token.d-C2qnueDV.d.ts +553 -0
- package/dist/address-3RQRG3MK.js +84 -0
- package/dist/address-LQUTDOUA.cjs +84 -0
- package/dist/address-suggestions-PEKSA7B2.cjs +132 -0
- package/dist/address-suggestions-QNK5JWNH.js +132 -0
- package/dist/address-suggestions.d-CewXYNYH.d.cts +340 -0
- package/dist/address-suggestions.d-CewXYNYH.d.ts +340 -0
- package/dist/address.d-DP_aE2ex.d.cts +438 -0
- package/dist/address.d-DP_aE2ex.d.ts +438 -0
- package/dist/ai-agents-MO4PK2RJ.cjs +215 -0
- package/dist/ai-agents-OHP2F243.js +215 -0
- package/dist/ai-agents.d-vG-1utqk.d.cts +1340 -0
- package/dist/ai-agents.d-vG-1utqk.d.ts +1340 -0
- package/dist/apis/access-token.cjs +33 -0
- package/dist/apis/access-token.d.cts +18 -0
- package/dist/apis/access-token.d.ts +18 -0
- package/dist/apis/access-token.js +33 -0
- package/dist/apis/address-suggestions.cjs +33 -0
- package/dist/apis/address-suggestions.d.cts +18 -0
- package/dist/apis/address-suggestions.d.ts +18 -0
- package/dist/apis/address-suggestions.js +33 -0
- package/dist/apis/address.cjs +33 -0
- package/dist/apis/address.d.cts +18 -0
- package/dist/apis/address.d.ts +18 -0
- package/dist/apis/address.js +33 -0
- package/dist/apis/ai-agents.cjs +33 -0
- package/dist/apis/ai-agents.d.cts +18 -0
- package/dist/apis/ai-agents.d.ts +18 -0
- package/dist/apis/ai-agents.js +33 -0
- package/dist/apis/app.cjs +33 -0
- package/dist/apis/app.d.cts +18 -0
- package/dist/apis/app.d.ts +18 -0
- package/dist/apis/app.js +33 -0
- package/dist/apis/audit-logs.cjs +33 -0
- package/dist/apis/audit-logs.d.cts +18 -0
- package/dist/apis/audit-logs.d.ts +18 -0
- package/dist/apis/audit-logs.js +33 -0
- package/dist/apis/automation.cjs +33 -0
- package/dist/apis/automation.d.cts +18 -0
- package/dist/apis/automation.d.ts +18 -0
- package/dist/apis/automation.js +33 -0
- package/dist/apis/billing.cjs +33 -0
- package/dist/apis/billing.d.cts +18 -0
- package/dist/apis/billing.d.ts +18 -0
- package/dist/apis/billing.js +33 -0
- package/dist/apis/blueprint-manifest.cjs +33 -0
- package/dist/apis/blueprint-manifest.d.cts +18 -0
- package/dist/apis/blueprint-manifest.d.ts +18 -0
- package/dist/apis/blueprint-manifest.js +33 -0
- package/dist/apis/consent.cjs +33 -0
- package/dist/apis/consent.d.cts +18 -0
- package/dist/apis/consent.d.ts +18 -0
- package/dist/apis/consent.js +33 -0
- package/dist/apis/customer-portal.cjs +33 -0
- package/dist/apis/customer-portal.d.cts +18 -0
- package/dist/apis/customer-portal.d.ts +18 -0
- package/dist/apis/customer-portal.js +33 -0
- package/dist/apis/data-management.cjs +33 -0
- package/dist/apis/data-management.d.cts +18 -0
- package/dist/apis/data-management.d.ts +18 -0
- package/dist/apis/data-management.js +33 -0
- package/dist/apis/deduplication.cjs +33 -0
- package/dist/apis/deduplication.d.cts +18 -0
- package/dist/apis/deduplication.d.ts +18 -0
- package/dist/apis/deduplication.js +33 -0
- package/dist/apis/design.cjs +33 -0
- package/dist/apis/design.d.cts +18 -0
- package/dist/apis/design.d.ts +18 -0
- package/dist/apis/design.js +33 -0
- package/dist/apis/discussion.cjs +33 -0
- package/dist/apis/discussion.d.cts +18 -0
- package/dist/apis/discussion.d.ts +18 -0
- package/dist/apis/discussion.js +33 -0
- package/dist/apis/document.cjs +33 -0
- package/dist/apis/document.d.cts +18 -0
- package/dist/apis/document.d.ts +18 -0
- package/dist/apis/document.js +33 -0
- package/dist/apis/email-settings.cjs +33 -0
- package/dist/apis/email-settings.d.cts +18 -0
- package/dist/apis/email-settings.d.ts +18 -0
- package/dist/apis/email-settings.js +33 -0
- package/dist/apis/email-template.cjs +33 -0
- package/dist/apis/email-template.d.cts +18 -0
- package/dist/apis/email-template.d.ts +18 -0
- package/dist/apis/email-template.js +33 -0
- package/dist/apis/entity-mapping.cjs +33 -0
- package/dist/apis/entity-mapping.d.cts +18 -0
- package/dist/apis/entity-mapping.d.ts +18 -0
- package/dist/apis/entity-mapping.js +33 -0
- package/dist/apis/entity.cjs +33 -0
- package/dist/apis/entity.d.cts +18 -0
- package/dist/apis/entity.d.ts +18 -0
- package/dist/apis/entity.js +33 -0
- package/dist/apis/environments.cjs +33 -0
- package/dist/apis/environments.d.cts +18 -0
- package/dist/apis/environments.d.ts +18 -0
- package/dist/apis/environments.js +33 -0
- package/dist/apis/erp-integration.cjs +33 -0
- package/dist/apis/erp-integration.d.cts +18 -0
- package/dist/apis/erp-integration.d.ts +18 -0
- package/dist/apis/erp-integration.js +33 -0
- package/dist/apis/event-catalog.cjs +33 -0
- package/dist/apis/event-catalog.d.cts +18 -0
- package/dist/apis/event-catalog.d.ts +18 -0
- package/dist/apis/event-catalog.js +33 -0
- package/dist/apis/file.cjs +33 -0
- package/dist/apis/file.d.cts +18 -0
- package/dist/apis/file.d.ts +18 -0
- package/dist/apis/file.js +33 -0
- package/dist/apis/iban.cjs +33 -0
- package/dist/apis/iban.d.cts +18 -0
- package/dist/apis/iban.d.ts +18 -0
- package/dist/apis/iban.js +33 -0
- package/dist/apis/journey.cjs +33 -0
- package/dist/apis/journey.d.cts +18 -0
- package/dist/apis/journey.d.ts +18 -0
- package/dist/apis/journey.js +33 -0
- package/dist/apis/kanban.cjs +33 -0
- package/dist/apis/kanban.d.cts +18 -0
- package/dist/apis/kanban.d.ts +18 -0
- package/dist/apis/kanban.js +33 -0
- package/dist/apis/message.cjs +33 -0
- package/dist/apis/message.d.cts +18 -0
- package/dist/apis/message.d.ts +18 -0
- package/dist/apis/message.js +33 -0
- package/dist/apis/metering.cjs +33 -0
- package/dist/apis/metering.d.cts +18 -0
- package/dist/apis/metering.d.ts +18 -0
- package/dist/apis/metering.js +33 -0
- package/dist/apis/notes.cjs +33 -0
- package/dist/apis/notes.d.cts +18 -0
- package/dist/apis/notes.d.ts +18 -0
- package/dist/apis/notes.js +33 -0
- package/dist/apis/notification.cjs +33 -0
- package/dist/apis/notification.d.cts +18 -0
- package/dist/apis/notification.d.ts +18 -0
- package/dist/apis/notification.js +33 -0
- package/dist/apis/organization.cjs +33 -0
- package/dist/apis/organization.d.cts +18 -0
- package/dist/apis/organization.d.ts +18 -0
- package/dist/apis/organization.js +33 -0
- package/dist/apis/partner-directory.cjs +33 -0
- package/dist/apis/partner-directory.d.cts +18 -0
- package/dist/apis/partner-directory.d.ts +18 -0
- package/dist/apis/partner-directory.js +33 -0
- package/dist/apis/permissions.cjs +33 -0
- package/dist/apis/permissions.d.cts +18 -0
- package/dist/apis/permissions.d.ts +18 -0
- package/dist/apis/permissions.js +33 -0
- package/dist/apis/pricing-tier.cjs +33 -0
- package/dist/apis/pricing-tier.d.cts +18 -0
- package/dist/apis/pricing-tier.d.ts +18 -0
- package/dist/apis/pricing-tier.js +33 -0
- package/dist/apis/pricing.cjs +33 -0
- package/dist/apis/pricing.d.cts +18 -0
- package/dist/apis/pricing.d.ts +18 -0
- package/dist/apis/pricing.js +33 -0
- package/dist/apis/purpose.cjs +33 -0
- package/dist/apis/purpose.d.cts +18 -0
- package/dist/apis/purpose.d.ts +18 -0
- package/dist/apis/purpose.js +33 -0
- package/dist/apis/sandbox.cjs +33 -0
- package/dist/apis/sandbox.d.cts +18 -0
- package/dist/apis/sandbox.d.ts +18 -0
- package/dist/apis/sandbox.js +33 -0
- package/dist/apis/submission.cjs +33 -0
- package/dist/apis/submission.d.cts +18 -0
- package/dist/apis/submission.d.ts +18 -0
- package/dist/apis/submission.js +33 -0
- package/dist/apis/targeting.cjs +33 -0
- package/dist/apis/targeting.d.cts +18 -0
- package/dist/apis/targeting.d.ts +18 -0
- package/dist/apis/targeting.js +33 -0
- package/dist/apis/template-variables.cjs +33 -0
- package/dist/apis/template-variables.d.cts +18 -0
- package/dist/apis/template-variables.d.ts +18 -0
- package/dist/apis/template-variables.js +33 -0
- package/dist/apis/user.cjs +33 -0
- package/dist/apis/user.d.cts +18 -0
- package/dist/apis/user.d.ts +18 -0
- package/dist/apis/user.js +33 -0
- package/dist/apis/validation-rules.cjs +33 -0
- package/dist/apis/validation-rules.d.cts +18 -0
- package/dist/apis/validation-rules.d.ts +18 -0
- package/dist/apis/validation-rules.js +33 -0
- package/dist/apis/webhooks.cjs +33 -0
- package/dist/apis/webhooks.d.cts +18 -0
- package/dist/apis/webhooks.d.ts +18 -0
- package/dist/apis/webhooks.js +33 -0
- package/dist/apis/workflow-definition.cjs +33 -0
- package/dist/apis/workflow-definition.d.cts +18 -0
- package/dist/apis/workflow-definition.d.ts +18 -0
- package/dist/apis/workflow-definition.js +33 -0
- package/dist/apis/workflow.cjs +33 -0
- package/dist/apis/workflow.d.cts +18 -0
- package/dist/apis/workflow.d.ts +18 -0
- package/dist/apis/workflow.js +33 -0
- package/dist/app-UUTBO3WJ.js +573 -0
- package/dist/app-XJGY6SHO.cjs +573 -0
- package/dist/app.d-Uncn387s.d.cts +3370 -0
- package/dist/app.d-Uncn387s.d.ts +3370 -0
- package/dist/audit-logs-4IJYIOXF.js +55 -0
- package/dist/audit-logs-UWLCPBB4.cjs +55 -0
- package/dist/audit-logs.d-BxZqONu5.d.cts +288 -0
- package/dist/audit-logs.d-BxZqONu5.d.ts +288 -0
- package/dist/automation-4UQADTDO.cjs +282 -0
- package/dist/automation-PVXTQLZX.js +282 -0
- package/dist/automation.d-BteCzeFn.d.cts +4921 -0
- package/dist/automation.d-BteCzeFn.d.ts +4921 -0
- package/dist/billing-FI4V4UX5.cjs +175 -0
- package/dist/billing-OMWNJHGW.js +175 -0
- package/dist/billing.d-BH4__05Y.d.cts +994 -0
- package/dist/billing.d-BH4__05Y.d.ts +994 -0
- package/dist/bin/cli.js +135 -0
- package/dist/blueprint-manifest-CPQAL76N.cjs +504 -0
- package/dist/blueprint-manifest-FIMGDHSH.js +504 -0
- package/dist/blueprint-manifest.d-CU4v09fj.d.cts +3327 -0
- package/dist/blueprint-manifest.d-CU4v09fj.d.ts +3327 -0
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/chunk-OBGZSXTJ.cjs +10 -0
- package/dist/chunk-UJTFRZMS.js +65 -0
- package/dist/chunk-YLLKMXS3.cjs +65 -0
- package/dist/consent-NHDCDJMK.js +84 -0
- package/dist/consent-R5GU3WCK.cjs +84 -0
- package/dist/consent.d-BETWwU_2.d.cts +266 -0
- package/dist/consent.d-BETWwU_2.d.ts +266 -0
- package/dist/customer-portal-6AV2W43T.cjs +2252 -0
- package/dist/customer-portal-EY57GJYV.js +2252 -0
- package/dist/customer-portal.d-Co_I6psR.d.cts +15255 -0
- package/dist/customer-portal.d-Co_I6psR.d.ts +15255 -0
- package/dist/data-management-ILQUYNTN.cjs +240 -0
- package/dist/data-management-QMXOLOEG.js +240 -0
- package/dist/data-management.d-CkR2E_Pm.d.cts +548 -0
- package/dist/data-management.d-CkR2E_Pm.d.ts +548 -0
- package/dist/deduplication-IVXANO7S.cjs +42 -0
- package/dist/deduplication-WN45DVK3.js +42 -0
- package/dist/deduplication.d-BlHnjhXk.d.cts +114 -0
- package/dist/deduplication.d-BlHnjhXk.d.ts +114 -0
- package/dist/design-ONRLY6XI.cjs +219 -0
- package/dist/design-UHMRO3PG.js +219 -0
- package/dist/design.d-JsNY_cGh.d.cts +834 -0
- package/dist/design.d-JsNY_cGh.d.ts +834 -0
- package/dist/discussion-4CZIG3ZM.cjs +134 -0
- package/dist/discussion-VWMWL2AF.js +134 -0
- package/dist/discussion.d-CxxaYKTf.d.cts +580 -0
- package/dist/discussion.d-CxxaYKTf.d.ts +580 -0
- package/dist/document-CN3JNXFF.js +78 -0
- package/dist/document-PCKNZA4K.cjs +78 -0
- package/dist/document.d-CZ_FGhEn.d.cts +649 -0
- package/dist/document.d-CZ_FGhEn.d.ts +649 -0
- package/dist/email-settings-ANURQMKZ.js +533 -0
- package/dist/email-settings-YE2XB2ZU.cjs +533 -0
- package/dist/email-settings.d-3eXYEyRr.d.cts +2278 -0
- package/dist/email-settings.d-3eXYEyRr.d.ts +2278 -0
- package/dist/email-template-4QI4YS4J.js +122 -0
- package/dist/email-template-BUJBC6HH.cjs +122 -0
- package/dist/email-template.d-C2L0dKqB.d.cts +1175 -0
- package/dist/email-template.d-C2L0dKqB.d.ts +1175 -0
- package/dist/entity-BCFE3UJT.cjs +1600 -0
- package/dist/entity-VEXNQC4Y.js +1600 -0
- package/dist/entity-mapping-PHRLSYP7.cjs +215 -0
- package/dist/entity-mapping-QK7MGNAW.js +215 -0
- package/dist/entity-mapping.d-B3Vyepok.d.cts +1093 -0
- package/dist/entity-mapping.d-B3Vyepok.d.ts +1093 -0
- package/dist/entity.d-DmER_7q5.d.cts +16018 -0
- package/dist/entity.d-DmER_7q5.d.ts +16018 -0
- package/dist/environments-266S44UM.cjs +71 -0
- package/dist/environments-AV7W6SLT.js +71 -0
- package/dist/environments.d-CpILpSNF.d.cts +254 -0
- package/dist/environments.d-CpILpSNF.d.ts +254 -0
- package/dist/erp-integration-5WNBCGWS.cjs +586 -0
- package/dist/erp-integration-EMI5WIWA.js +586 -0
- package/dist/erp-integration.d-DmxUZOUQ.d.cts +4120 -0
- package/dist/erp-integration.d-DmxUZOUQ.d.ts +4120 -0
- package/dist/event-catalog-DBWYKQ6J.cjs +130 -0
- package/dist/event-catalog-KKMXV5LB.js +130 -0
- package/dist/event-catalog.d-B2tq20gn.d.cts +1512 -0
- package/dist/event-catalog.d-B2tq20gn.d.ts +1512 -0
- package/dist/file-3ZLMS6TL.js +573 -0
- package/dist/file-Q66N5XMG.cjs +573 -0
- package/dist/file.d-Bi0EZkNu.d.cts +2993 -0
- package/dist/file.d-Bi0EZkNu.d.ts +2993 -0
- package/dist/iban-HSXVSIFW.cjs +43 -0
- package/dist/iban-Q27INTOC.js +43 -0
- package/dist/iban.d-DP7hl0Qt.d.cts +71 -0
- package/dist/iban.d-DP7hl0Qt.d.ts +71 -0
- package/dist/index.cjs +563 -0
- package/dist/index.d.cts +119 -0
- package/dist/index.d.ts +119 -0
- package/dist/index.js +563 -0
- package/dist/journey-DGKXVWZQ.js +270 -0
- package/dist/journey-T2Y72EBS.cjs +270 -0
- package/dist/journey.d-DxL16X6N.d.cts +1794 -0
- package/dist/journey.d-DxL16X6N.d.ts +1794 -0
- package/dist/kanban-A4B6RCJ2.cjs +164 -0
- package/dist/kanban-PP6WJVT2.js +164 -0
- package/dist/kanban.d-DDrBwr9h.d.cts +631 -0
- package/dist/kanban.d-DDrBwr9h.d.ts +631 -0
- package/dist/message-D6JY4GJH.cjs +673 -0
- package/dist/message-HFX2DDCV.js +673 -0
- package/dist/message.d-BeBH6vof.d.cts +3580 -0
- package/dist/message.d-BeBH6vof.d.ts +3580 -0
- package/dist/metering-63MJFCS2.cjs +399 -0
- package/dist/metering-F63PNFCZ.js +399 -0
- package/dist/metering.d-D5VR4tVa.d.cts +1842 -0
- package/dist/metering.d-D5VR4tVa.d.ts +1842 -0
- package/dist/notes-FTL5H4JE.cjs +219 -0
- package/dist/notes-GMWTQCMB.js +219 -0
- package/dist/notes.d-DZYeVo0I.d.cts +1047 -0
- package/dist/notes.d-DZYeVo0I.d.ts +1047 -0
- package/dist/notification-WXFSOORN.cjs +237 -0
- package/dist/notification-XHG3TIBW.js +237 -0
- package/dist/notification.d-BJwdFZnG.d.cts +1148 -0
- package/dist/notification.d-BJwdFZnG.d.ts +1148 -0
- package/dist/organization-CPXTUDJO.js +118 -0
- package/dist/organization-XIFV7MWP.cjs +118 -0
- package/dist/organization.d-DfUcuwKM.d.cts +629 -0
- package/dist/organization.d-DfUcuwKM.d.ts +629 -0
- package/dist/partner-directory-4WCHPJRO.js +282 -0
- package/dist/partner-directory-FKWPPO7F.cjs +282 -0
- package/dist/partner-directory.d-BRRDHFcz.d.cts +1511 -0
- package/dist/partner-directory.d-BRRDHFcz.d.ts +1511 -0
- package/dist/permissions-5E36GPG3.js +178 -0
- package/dist/permissions-PBTK5CCD.cjs +178 -0
- package/dist/permissions.d-CL7SwMFy.d.cts +1253 -0
- package/dist/permissions.d-CL7SwMFy.d.ts +1253 -0
- package/dist/pricing-FDWEBIQU.js +439 -0
- package/dist/pricing-FZQKL4DW.cjs +439 -0
- package/dist/pricing-tier-34O624R4.js +36 -0
- package/dist/pricing-tier-F4HE6WIM.cjs +36 -0
- package/dist/pricing-tier.d-VuH-NtlR.d.cts +82 -0
- package/dist/pricing-tier.d-VuH-NtlR.d.ts +82 -0
- package/dist/pricing.d-Dd1CaSX_.d.cts +12201 -0
- package/dist/pricing.d-Dd1CaSX_.d.ts +12201 -0
- package/dist/purpose-47HJIG2Q.cjs +180 -0
- package/dist/purpose-MX33NU5H.js +180 -0
- package/dist/purpose.d-D8YCSqt9.d.cts +373 -0
- package/dist/purpose.d-D8YCSqt9.d.ts +373 -0
- package/dist/sandbox-7QNLGFN2.cjs +100 -0
- package/dist/sandbox-TZCXHBJN.js +100 -0
- package/dist/sandbox.d-D1NgPMEc.d.cts +466 -0
- package/dist/sandbox.d-D1NgPMEc.d.ts +466 -0
- package/dist/submission-6LSPBI27.js +55 -0
- package/dist/submission-DBQNDJ4B.cjs +55 -0
- package/dist/submission.d-e9MPrbY1.d.cts +470 -0
- package/dist/submission.d-e9MPrbY1.d.ts +470 -0
- package/dist/targeting-HZRCLNIF.cjs +275 -0
- package/dist/targeting-MTQ6JBCY.js +275 -0
- package/dist/targeting.d-1GW3nh-y.d.cts +2058 -0
- package/dist/targeting.d-1GW3nh-y.d.ts +2058 -0
- package/dist/template-variables-S6IXK7SF.js +159 -0
- package/dist/template-variables-VPNIMC7L.cjs +159 -0
- package/dist/template-variables.d-CqqGe3sd.d.cts +1315 -0
- package/dist/template-variables.d-CqqGe3sd.d.ts +1315 -0
- package/dist/types-C5cGIwtq.d.cts +28 -0
- package/dist/types-C5cGIwtq.d.ts +28 -0
- package/dist/user-BHH4DAA5.cjs +488 -0
- package/dist/user-KBXFVRPI.js +488 -0
- package/dist/user.d-CWBgUia2.d.cts +2199 -0
- package/dist/user.d-CWBgUia2.d.ts +2199 -0
- package/dist/validation-rules-4V7KAWGW.cjs +120 -0
- package/dist/validation-rules-UGQY4ASY.js +120 -0
- package/dist/validation-rules.d-CMSvveua.d.cts +808 -0
- package/dist/validation-rules.d-CMSvveua.d.ts +808 -0
- package/dist/webhooks-JR475VD4.js +252 -0
- package/dist/webhooks-X64U3KCB.cjs +252 -0
- package/dist/webhooks.d-Bzl-u_Zs.d.cts +1201 -0
- package/dist/webhooks.d-Bzl-u_Zs.d.ts +1201 -0
- package/dist/workflow-7ANPQZDP.cjs +402 -0
- package/dist/workflow-DWSAHA5Q.js +402 -0
- package/dist/workflow-definition-2M3JBCUI.cjs +342 -0
- package/dist/workflow-definition-WLPGEU55.js +342 -0
- package/dist/workflow-definition.d-BKmIy2Qp.d.cts +2030 -0
- package/dist/workflow-definition.d-BKmIy2Qp.d.ts +2030 -0
- package/dist/workflow.d-DElz0XoQ.d.cts +3017 -0
- package/dist/workflow.d-DElz0XoQ.d.ts +3017 -0
- package/package.json +289 -0
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from validation-rules-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Schemas {
|
|
11
|
+
export interface CreateValidationRuleRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Title of the validation rule.
|
|
14
|
+
*/
|
|
15
|
+
title: string;
|
|
16
|
+
/**
|
|
17
|
+
* Placeholder for the validation rule.
|
|
18
|
+
*/
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Describes where and how a validation rule is applied.
|
|
22
|
+
*/
|
|
23
|
+
used_by?: /* Describes where and how a validation rule is applied. */ UsedBy[];
|
|
24
|
+
rule: /* Validation rule that uses a regular expression to validate input. */ RegexRuleType | /* Validation rule that uses a sequence of patterns to validate input. */ PatternRuleType | /* Validation rule for numeric values, supporting range and digit count constraints. */ NumericRuleType;
|
|
25
|
+
}
|
|
26
|
+
export interface GetValidationRulesResponse {
|
|
27
|
+
results?: /* The Validation rule definition. */ ValidationRule[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Condition definition for a numeric-based validation rule (2 levels deep)
|
|
31
|
+
*/
|
|
32
|
+
export type NumericCondition = /* Condition definition for a numeric-based validation rule (2 levels deep) */ {
|
|
33
|
+
all: (/* Fact-based condition for numeric validation */ NumericFactCondition | /* Nested condition with logical operators (level 2 only) */ NumericNestedCondition)[];
|
|
34
|
+
} | {
|
|
35
|
+
any: (/* Fact-based condition for numeric validation */ NumericFactCondition | /* Nested condition with logical operators (level 2 only) */ NumericNestedCondition)[];
|
|
36
|
+
} | {
|
|
37
|
+
not: /* Fact-based condition for numeric validation */ NumericFactCondition | /* Nested condition with logical operators (level 2 only) */ NumericNestedCondition;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Fact-based condition for numeric validation
|
|
41
|
+
*/
|
|
42
|
+
export type NumericFactCondition = /* Fact-based condition for numeric validation */ {
|
|
43
|
+
/**
|
|
44
|
+
* The numeric value extracted from input; The amount of digits
|
|
45
|
+
*/
|
|
46
|
+
fact: "numeric-value" | "total-length";
|
|
47
|
+
/**
|
|
48
|
+
* Numeric comparison operator
|
|
49
|
+
*/
|
|
50
|
+
operator: "equal" | "notEqual" | "lessThan" | "lessThanInclusive" | "greaterThan" | "greaterThanInclusive";
|
|
51
|
+
/**
|
|
52
|
+
* Numeric value to compare against
|
|
53
|
+
*/
|
|
54
|
+
value: number;
|
|
55
|
+
/**
|
|
56
|
+
* Additional parameters for the condition
|
|
57
|
+
*/
|
|
58
|
+
params?: {
|
|
59
|
+
/**
|
|
60
|
+
* Custom error message
|
|
61
|
+
*/
|
|
62
|
+
errorMessage?: string;
|
|
63
|
+
};
|
|
64
|
+
} | {
|
|
65
|
+
/**
|
|
66
|
+
* Count of integer digits (excludes leading zeros unless allowed)
|
|
67
|
+
*/
|
|
68
|
+
fact: "integer-digits-count";
|
|
69
|
+
/**
|
|
70
|
+
* Digit count comparison operator
|
|
71
|
+
*/
|
|
72
|
+
operator: "equal" | "exactlyNDigits" | "minIntegerDigits" | "maxIntegerDigits";
|
|
73
|
+
/**
|
|
74
|
+
* Expected number of integer digits
|
|
75
|
+
*/
|
|
76
|
+
value: number;
|
|
77
|
+
/**
|
|
78
|
+
* Additional parameters for the condition
|
|
79
|
+
*/
|
|
80
|
+
params?: {
|
|
81
|
+
/**
|
|
82
|
+
* Custom error message
|
|
83
|
+
*/
|
|
84
|
+
errorMessage?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Whether to count leading zeroes in digit count
|
|
87
|
+
*/
|
|
88
|
+
allowLeadingZeroes?: boolean;
|
|
89
|
+
};
|
|
90
|
+
} | {
|
|
91
|
+
/**
|
|
92
|
+
* Count of decimal digits
|
|
93
|
+
*/
|
|
94
|
+
fact: "decimal-digits-count";
|
|
95
|
+
/**
|
|
96
|
+
* Decimal digit count comparison operator
|
|
97
|
+
*/
|
|
98
|
+
operator: "equal" | "minDecimalDigits" | "maxDecimalDigits";
|
|
99
|
+
/**
|
|
100
|
+
* Expected number of decimal digits
|
|
101
|
+
*/
|
|
102
|
+
value: number;
|
|
103
|
+
/**
|
|
104
|
+
* Additional parameters for the condition
|
|
105
|
+
*/
|
|
106
|
+
params?: {
|
|
107
|
+
/**
|
|
108
|
+
* Custom error message
|
|
109
|
+
*/
|
|
110
|
+
errorMessage?: string;
|
|
111
|
+
};
|
|
112
|
+
} | {
|
|
113
|
+
/**
|
|
114
|
+
* Whether the input has leading zeros
|
|
115
|
+
*/
|
|
116
|
+
fact: "has-leading-zeroes";
|
|
117
|
+
/**
|
|
118
|
+
* Leading zeros check operator
|
|
119
|
+
*/
|
|
120
|
+
operator: "equal" | "notAllowed";
|
|
121
|
+
/**
|
|
122
|
+
* Whether leading zeros should be present or not
|
|
123
|
+
*/
|
|
124
|
+
value: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Additional parameters for the condition
|
|
127
|
+
*/
|
|
128
|
+
params?: {
|
|
129
|
+
/**
|
|
130
|
+
* Custom error message
|
|
131
|
+
*/
|
|
132
|
+
errorMessage?: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Nested condition with logical operators (level 2 only)
|
|
137
|
+
*/
|
|
138
|
+
export type NumericNestedCondition = /* Nested condition with logical operators (level 2 only) */ {
|
|
139
|
+
all: /* Fact-based condition for numeric validation */ NumericFactCondition[];
|
|
140
|
+
} | {
|
|
141
|
+
any: /* Fact-based condition for numeric validation */ NumericFactCondition[];
|
|
142
|
+
} | {
|
|
143
|
+
not: /* Fact-based condition for numeric validation */ NumericFactCondition;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Validation rule for numeric values, supporting range and digit count constraints.
|
|
147
|
+
*/
|
|
148
|
+
export interface NumericRuleType {
|
|
149
|
+
/**
|
|
150
|
+
* Indicates this is a numeric-based validation rule.
|
|
151
|
+
*/
|
|
152
|
+
type: "numeric";
|
|
153
|
+
/**
|
|
154
|
+
* The conditions that must be met for the rule to trigger
|
|
155
|
+
*/
|
|
156
|
+
conditions: /* Condition definition for a numeric-based validation rule (2 levels deep) */ NumericCondition;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Condition definition for a pattern-based validation rule (2 levels deep)
|
|
160
|
+
*/
|
|
161
|
+
export type PatternCondition = /* Condition definition for a pattern-based validation rule (2 levels deep) */ {
|
|
162
|
+
all: (/* Fact-based condition for pattern validation */ PatternFactCondition | /* Nested condition with logical operators (level 2 only) */ PatternNestedCondition)[];
|
|
163
|
+
} | {
|
|
164
|
+
any: (/* Fact-based condition for pattern validation */ PatternFactCondition | /* Nested condition with logical operators (level 2 only) */ PatternNestedCondition)[];
|
|
165
|
+
} | {
|
|
166
|
+
not: /* Fact-based condition for pattern validation */ PatternFactCondition | /* Nested condition with logical operators (level 2 only) */ PatternNestedCondition;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Fact-based condition for pattern validation
|
|
170
|
+
*/
|
|
171
|
+
export type PatternFactCondition = /* Fact-based condition for pattern validation */ {
|
|
172
|
+
/**
|
|
173
|
+
* The name of the value to validate.
|
|
174
|
+
*/
|
|
175
|
+
fact: "total-length";
|
|
176
|
+
/**
|
|
177
|
+
* Numeric comparison operator
|
|
178
|
+
*/
|
|
179
|
+
operator: "equal" | "notEqual" | "lessThan" | "lessThanInclusive" | "greaterThan" | "greaterThanInclusive";
|
|
180
|
+
/**
|
|
181
|
+
* Numeric value to compare against
|
|
182
|
+
*/
|
|
183
|
+
value: number;
|
|
184
|
+
/**
|
|
185
|
+
* Additional parameters for the condition
|
|
186
|
+
*/
|
|
187
|
+
params?: {
|
|
188
|
+
/**
|
|
189
|
+
* Custom error message
|
|
190
|
+
*/
|
|
191
|
+
errorMessage?: string;
|
|
192
|
+
/**
|
|
193
|
+
* From where to check
|
|
194
|
+
*/
|
|
195
|
+
start?: number;
|
|
196
|
+
/**
|
|
197
|
+
* To where to check
|
|
198
|
+
*/
|
|
199
|
+
end?: number;
|
|
200
|
+
};
|
|
201
|
+
} | {
|
|
202
|
+
/**
|
|
203
|
+
* The name of the value to validate.
|
|
204
|
+
*/
|
|
205
|
+
fact: "static-check" | "total-length";
|
|
206
|
+
/**
|
|
207
|
+
* Exact digit count operator
|
|
208
|
+
*/
|
|
209
|
+
operator: "exactlyNDigits";
|
|
210
|
+
/**
|
|
211
|
+
* Number of digits required
|
|
212
|
+
*/
|
|
213
|
+
value: number;
|
|
214
|
+
/**
|
|
215
|
+
* Additional parameters for the condition
|
|
216
|
+
*/
|
|
217
|
+
params?: {
|
|
218
|
+
/**
|
|
219
|
+
* Custom error message
|
|
220
|
+
*/
|
|
221
|
+
errorMessage?: string;
|
|
222
|
+
/**
|
|
223
|
+
* From where to check
|
|
224
|
+
*/
|
|
225
|
+
start?: number;
|
|
226
|
+
/**
|
|
227
|
+
* To where to check
|
|
228
|
+
*/
|
|
229
|
+
end?: number;
|
|
230
|
+
};
|
|
231
|
+
} | {
|
|
232
|
+
/**
|
|
233
|
+
* The name of the value to validate.
|
|
234
|
+
*/
|
|
235
|
+
fact: "static-check";
|
|
236
|
+
/**
|
|
237
|
+
* Array-based comparison operator
|
|
238
|
+
*/
|
|
239
|
+
operator: "in" | "notIn" | "contains" | "doesNotContain";
|
|
240
|
+
/**
|
|
241
|
+
* Array of string values for array-based operators
|
|
242
|
+
*/
|
|
243
|
+
value: string[];
|
|
244
|
+
/**
|
|
245
|
+
* Additional parameters for the condition
|
|
246
|
+
*/
|
|
247
|
+
params?: {
|
|
248
|
+
/**
|
|
249
|
+
* Custom error message
|
|
250
|
+
*/
|
|
251
|
+
errorMessage?: string;
|
|
252
|
+
/**
|
|
253
|
+
* From where to check
|
|
254
|
+
*/
|
|
255
|
+
start?: number;
|
|
256
|
+
/**
|
|
257
|
+
* To where to check
|
|
258
|
+
*/
|
|
259
|
+
end?: number;
|
|
260
|
+
};
|
|
261
|
+
} | {
|
|
262
|
+
/**
|
|
263
|
+
* The name of the value to validate.
|
|
264
|
+
*/
|
|
265
|
+
fact: "static-check";
|
|
266
|
+
/**
|
|
267
|
+
* String comparison operator
|
|
268
|
+
*/
|
|
269
|
+
operator: "equal" | "notEqual";
|
|
270
|
+
/**
|
|
271
|
+
* String value to compare against
|
|
272
|
+
*/
|
|
273
|
+
value: string;
|
|
274
|
+
/**
|
|
275
|
+
* Additional parameters for the condition
|
|
276
|
+
*/
|
|
277
|
+
params?: {
|
|
278
|
+
/**
|
|
279
|
+
* Custom error message
|
|
280
|
+
*/
|
|
281
|
+
errorMessage?: string;
|
|
282
|
+
/**
|
|
283
|
+
* From where to check
|
|
284
|
+
*/
|
|
285
|
+
start?: number;
|
|
286
|
+
/**
|
|
287
|
+
* To where to check
|
|
288
|
+
*/
|
|
289
|
+
end?: number;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* Nested condition with logical operators (level 2 only)
|
|
294
|
+
*/
|
|
295
|
+
export type PatternNestedCondition = /* Nested condition with logical operators (level 2 only) */ {
|
|
296
|
+
all: /* Fact-based condition for pattern validation */ PatternFactCondition[];
|
|
297
|
+
} | {
|
|
298
|
+
any: /* Fact-based condition for pattern validation */ PatternFactCondition[];
|
|
299
|
+
} | {
|
|
300
|
+
not: /* Fact-based condition for pattern validation */ PatternFactCondition;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Validation rule that uses a sequence of patterns to validate input.
|
|
304
|
+
*/
|
|
305
|
+
export interface PatternRuleType {
|
|
306
|
+
/**
|
|
307
|
+
* Indicates this is a pattern-based validation rule.
|
|
308
|
+
*/
|
|
309
|
+
type: "pattern";
|
|
310
|
+
/**
|
|
311
|
+
* The conditions that must be met for the rule to trigger
|
|
312
|
+
*/
|
|
313
|
+
conditions: /* Condition definition for a pattern-based validation rule (2 levels deep) */ PatternCondition;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Condition definition for a regex-based validation rule (2 levels deep)
|
|
317
|
+
*/
|
|
318
|
+
export type RegexCondition = /* Condition definition for a regex-based validation rule (2 levels deep) */ {
|
|
319
|
+
all: (/* Fact-based condition for regex validation */ RegexFactCondition | /* Nested condition with logical operators (level 2 only) */ RegexNestedCondition)[];
|
|
320
|
+
} | {
|
|
321
|
+
any: (/* Fact-based condition for regex validation */ RegexFactCondition | /* Nested condition with logical operators (level 2 only) */ RegexNestedCondition)[];
|
|
322
|
+
} | {
|
|
323
|
+
not: /* Fact-based condition for regex validation */ RegexFactCondition | /* Nested condition with logical operators (level 2 only) */ RegexNestedCondition;
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Fact-based condition for regex validation
|
|
327
|
+
*/
|
|
328
|
+
export interface RegexFactCondition {
|
|
329
|
+
/**
|
|
330
|
+
* The name of the value to validate. Should always be 'inputValue' because this property name is passed to the engine
|
|
331
|
+
*/
|
|
332
|
+
fact: "inputValue";
|
|
333
|
+
/**
|
|
334
|
+
* The operator to use for comparison
|
|
335
|
+
*/
|
|
336
|
+
operator: "regexMatch";
|
|
337
|
+
/**
|
|
338
|
+
* The actual regex
|
|
339
|
+
*/
|
|
340
|
+
value: string;
|
|
341
|
+
/**
|
|
342
|
+
* Additional parameters for the condition
|
|
343
|
+
*/
|
|
344
|
+
params?: {
|
|
345
|
+
/**
|
|
346
|
+
* Custom error message
|
|
347
|
+
*/
|
|
348
|
+
errorMessage?: string;
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Nested condition with logical operators (level 2 only)
|
|
353
|
+
*/
|
|
354
|
+
export type RegexNestedCondition = /* Nested condition with logical operators (level 2 only) */ {
|
|
355
|
+
all: /* Fact-based condition for regex validation */ RegexFactCondition[];
|
|
356
|
+
} | {
|
|
357
|
+
any: /* Fact-based condition for regex validation */ RegexFactCondition[];
|
|
358
|
+
} | {
|
|
359
|
+
not: /* Fact-based condition for regex validation */ RegexFactCondition;
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Validation rule that uses a regular expression to validate input.
|
|
363
|
+
*/
|
|
364
|
+
export interface RegexRuleType {
|
|
365
|
+
/**
|
|
366
|
+
* Indicates this is a regex-based validation rule.
|
|
367
|
+
*/
|
|
368
|
+
type: "regex";
|
|
369
|
+
/**
|
|
370
|
+
* The conditions that must be met for the rule to trigger
|
|
371
|
+
*/
|
|
372
|
+
conditions: /* Condition definition for a regex-based validation rule (2 levels deep) */ RegexCondition;
|
|
373
|
+
}
|
|
374
|
+
export interface UpdateValidationRuleRequest {
|
|
375
|
+
/**
|
|
376
|
+
* Title of the validation rule.
|
|
377
|
+
*/
|
|
378
|
+
title?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Placeholder for the validation rule.
|
|
381
|
+
*/
|
|
382
|
+
placeholder?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Describes where and how a validation rule is applied.
|
|
385
|
+
*/
|
|
386
|
+
used_by?: /* Describes where and how a validation rule is applied. */ UsedBy[];
|
|
387
|
+
rule?: /* Validation rule that uses a regular expression to validate input. */ RegexRuleType | /* Validation rule that uses a sequence of patterns to validate input. */ PatternRuleType | /* Validation rule for numeric values, supporting range and digit count constraints. */ NumericRuleType;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Describes where and how a validation rule is applied.
|
|
391
|
+
*/
|
|
392
|
+
export interface UsedBy {
|
|
393
|
+
/**
|
|
394
|
+
* The context in which the rule is used (e.g., journey or entity).
|
|
395
|
+
*/
|
|
396
|
+
type: "journey" | "entity";
|
|
397
|
+
/**
|
|
398
|
+
* Slug of the schema using this rule for entities.
|
|
399
|
+
*/
|
|
400
|
+
schema_slug?: string;
|
|
401
|
+
/**
|
|
402
|
+
* Source identifier for the usage context.
|
|
403
|
+
*/
|
|
404
|
+
source_id?: string;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* The Validation rule definition.
|
|
408
|
+
*/
|
|
409
|
+
export interface ValidationRule {
|
|
410
|
+
/**
|
|
411
|
+
* Title of the validation rule.
|
|
412
|
+
*/
|
|
413
|
+
title: string;
|
|
414
|
+
/**
|
|
415
|
+
* Placeholder for the validation rule.
|
|
416
|
+
*/
|
|
417
|
+
placeholder?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Describes where and how a validation rule is applied.
|
|
420
|
+
*/
|
|
421
|
+
used_by?: /* Describes where and how a validation rule is applied. */ UsedBy[];
|
|
422
|
+
rule?: /* Validation rule that uses a regular expression to validate input. */ RegexRuleType | /* Validation rule that uses a sequence of patterns to validate input. */ PatternRuleType | /* Validation rule for numeric values, supporting range and digit count constraints. */ NumericRuleType;
|
|
423
|
+
/**
|
|
424
|
+
* Schema version of the validation rule.
|
|
425
|
+
*/
|
|
426
|
+
_schema_version: string;
|
|
427
|
+
/**
|
|
428
|
+
* Unique identifier for the validation rule.
|
|
429
|
+
*/
|
|
430
|
+
_id: string;
|
|
431
|
+
/**
|
|
432
|
+
* Organization ID that owns this rule.
|
|
433
|
+
*/
|
|
434
|
+
_organization_id: string;
|
|
435
|
+
/**
|
|
436
|
+
* ISO timestamp when the rule was created.
|
|
437
|
+
*/
|
|
438
|
+
created_at: string;
|
|
439
|
+
/**
|
|
440
|
+
* ISO timestamp when the rule was last updated.
|
|
441
|
+
*/
|
|
442
|
+
updated_at: string;
|
|
443
|
+
/**
|
|
444
|
+
* User ID of the creator.
|
|
445
|
+
*/
|
|
446
|
+
created_by: string;
|
|
447
|
+
/**
|
|
448
|
+
* User ID of the last updater.
|
|
449
|
+
*/
|
|
450
|
+
updated_by: string;
|
|
451
|
+
}
|
|
452
|
+
export interface ValidationRuleBase {
|
|
453
|
+
/**
|
|
454
|
+
* Title of the validation rule.
|
|
455
|
+
*/
|
|
456
|
+
title?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Placeholder for the validation rule.
|
|
459
|
+
*/
|
|
460
|
+
placeholder?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Describes where and how a validation rule is applied.
|
|
463
|
+
*/
|
|
464
|
+
used_by?: /* Describes where and how a validation rule is applied. */ UsedBy[];
|
|
465
|
+
rule?: /* Validation rule that uses a regular expression to validate input. */ RegexRuleType | /* Validation rule that uses a sequence of patterns to validate input. */ PatternRuleType | /* Validation rule for numeric values, supporting range and digit count constraints. */ NumericRuleType;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
declare namespace Paths {
|
|
470
|
+
namespace AddUsedByReference {
|
|
471
|
+
namespace Parameters {
|
|
472
|
+
export type RuleId = string;
|
|
473
|
+
}
|
|
474
|
+
export interface PathParameters {
|
|
475
|
+
ruleId: Parameters.RuleId;
|
|
476
|
+
}
|
|
477
|
+
export type RequestBody = /* Describes where and how a validation rule is applied. */ Components.Schemas.UsedBy;
|
|
478
|
+
namespace Responses {
|
|
479
|
+
export type $200 = /* The Validation rule definition. */ Components.Schemas.ValidationRule;
|
|
480
|
+
export interface $400 {
|
|
481
|
+
/**
|
|
482
|
+
* example:
|
|
483
|
+
* Invalid request body
|
|
484
|
+
*/
|
|
485
|
+
message?: string;
|
|
486
|
+
}
|
|
487
|
+
export interface $404 {
|
|
488
|
+
/**
|
|
489
|
+
* example:
|
|
490
|
+
* Validation rule not found
|
|
491
|
+
*/
|
|
492
|
+
message?: string;
|
|
493
|
+
}
|
|
494
|
+
export interface $500 {
|
|
495
|
+
/**
|
|
496
|
+
* example:
|
|
497
|
+
* Unknown API Error
|
|
498
|
+
*/
|
|
499
|
+
message?: string;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
namespace CreateValidationRule {
|
|
504
|
+
export type RequestBody = Components.Schemas.CreateValidationRuleRequest;
|
|
505
|
+
namespace Responses {
|
|
506
|
+
export type $201 = /* The Validation rule definition. */ Components.Schemas.ValidationRule;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
namespace DeleteValidationRule {
|
|
510
|
+
namespace Parameters {
|
|
511
|
+
export type RuleId = string;
|
|
512
|
+
}
|
|
513
|
+
export interface PathParameters {
|
|
514
|
+
ruleId: Parameters.RuleId;
|
|
515
|
+
}
|
|
516
|
+
namespace Responses {
|
|
517
|
+
export interface $204 {
|
|
518
|
+
}
|
|
519
|
+
export interface $500 {
|
|
520
|
+
/**
|
|
521
|
+
* example:
|
|
522
|
+
* Unknown API Error
|
|
523
|
+
*/
|
|
524
|
+
message?: string;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
namespace GetValidationRuleById {
|
|
529
|
+
namespace Parameters {
|
|
530
|
+
export type RuleId = string;
|
|
531
|
+
}
|
|
532
|
+
export interface PathParameters {
|
|
533
|
+
ruleId: Parameters.RuleId;
|
|
534
|
+
}
|
|
535
|
+
namespace Responses {
|
|
536
|
+
export type $200 = /* The Validation rule definition. */ Components.Schemas.ValidationRule;
|
|
537
|
+
export interface $404 {
|
|
538
|
+
/**
|
|
539
|
+
* example:
|
|
540
|
+
* Validation rule not found
|
|
541
|
+
*/
|
|
542
|
+
message?: string;
|
|
543
|
+
}
|
|
544
|
+
export interface $500 {
|
|
545
|
+
/**
|
|
546
|
+
* example:
|
|
547
|
+
* Unknown API Error
|
|
548
|
+
*/
|
|
549
|
+
message?: string;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
namespace GetValidationRules {
|
|
554
|
+
namespace Responses {
|
|
555
|
+
export type $200 = Components.Schemas.GetValidationRulesResponse;
|
|
556
|
+
export interface $400 {
|
|
557
|
+
/**
|
|
558
|
+
* example:
|
|
559
|
+
* Invalid request body
|
|
560
|
+
*/
|
|
561
|
+
message?: string;
|
|
562
|
+
}
|
|
563
|
+
export interface $500 {
|
|
564
|
+
/**
|
|
565
|
+
* example:
|
|
566
|
+
* Unknown API Error
|
|
567
|
+
*/
|
|
568
|
+
message?: string;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
namespace RemoveUsedByReference {
|
|
573
|
+
namespace Parameters {
|
|
574
|
+
export type RuleId = string;
|
|
575
|
+
}
|
|
576
|
+
export interface PathParameters {
|
|
577
|
+
ruleId: Parameters.RuleId;
|
|
578
|
+
}
|
|
579
|
+
export type RequestBody = /* Describes where and how a validation rule is applied. */ Components.Schemas.UsedBy;
|
|
580
|
+
namespace Responses {
|
|
581
|
+
export type $200 = /* The Validation rule definition. */ Components.Schemas.ValidationRule;
|
|
582
|
+
export interface $400 {
|
|
583
|
+
/**
|
|
584
|
+
* example:
|
|
585
|
+
* Invalid request body
|
|
586
|
+
*/
|
|
587
|
+
message?: string;
|
|
588
|
+
}
|
|
589
|
+
export interface $404 {
|
|
590
|
+
/**
|
|
591
|
+
* example:
|
|
592
|
+
* Validation rule not found
|
|
593
|
+
*/
|
|
594
|
+
message?: string;
|
|
595
|
+
}
|
|
596
|
+
export interface $500 {
|
|
597
|
+
/**
|
|
598
|
+
* example:
|
|
599
|
+
* Unknown API Error
|
|
600
|
+
*/
|
|
601
|
+
message?: string;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
namespace UpdateValidationRule {
|
|
606
|
+
namespace Parameters {
|
|
607
|
+
export type RuleId = string;
|
|
608
|
+
}
|
|
609
|
+
export interface PathParameters {
|
|
610
|
+
ruleId: Parameters.RuleId;
|
|
611
|
+
}
|
|
612
|
+
export type RequestBody = Components.Schemas.UpdateValidationRuleRequest;
|
|
613
|
+
namespace Responses {
|
|
614
|
+
export type $200 = /* The Validation rule definition. */ Components.Schemas.ValidationRule;
|
|
615
|
+
export interface $400 {
|
|
616
|
+
/**
|
|
617
|
+
* example:
|
|
618
|
+
* Invalid request body
|
|
619
|
+
*/
|
|
620
|
+
message?: string;
|
|
621
|
+
}
|
|
622
|
+
export interface $500 {
|
|
623
|
+
/**
|
|
624
|
+
* example:
|
|
625
|
+
* Unknown API Error
|
|
626
|
+
*/
|
|
627
|
+
message?: string;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
interface OperationMethods {
|
|
635
|
+
/**
|
|
636
|
+
* getValidationRules - Get all validation rules by organization Id
|
|
637
|
+
*
|
|
638
|
+
* Gets all validation rules by organization Id
|
|
639
|
+
*/
|
|
640
|
+
'getValidationRules'(
|
|
641
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
642
|
+
data?: any,
|
|
643
|
+
config?: AxiosRequestConfig
|
|
644
|
+
): OperationResponse<Paths.GetValidationRules.Responses.$200>
|
|
645
|
+
/**
|
|
646
|
+
* createValidationRule - Create Validation Rule
|
|
647
|
+
*
|
|
648
|
+
* Creates a new validation rule
|
|
649
|
+
*/
|
|
650
|
+
'createValidationRule'(
|
|
651
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
652
|
+
data?: Paths.CreateValidationRule.RequestBody,
|
|
653
|
+
config?: AxiosRequestConfig
|
|
654
|
+
): OperationResponse<Paths.CreateValidationRule.Responses.$201>
|
|
655
|
+
/**
|
|
656
|
+
* getValidationRuleById - Get validation rule by ID
|
|
657
|
+
*
|
|
658
|
+
* Retrieves a specific validation rule by its ID
|
|
659
|
+
*/
|
|
660
|
+
'getValidationRuleById'(
|
|
661
|
+
parameters?: Parameters<Paths.GetValidationRuleById.PathParameters> | null,
|
|
662
|
+
data?: any,
|
|
663
|
+
config?: AxiosRequestConfig
|
|
664
|
+
): OperationResponse<Paths.GetValidationRuleById.Responses.$200>
|
|
665
|
+
/**
|
|
666
|
+
* updateValidationRule - Update Validation Rule (partial update)
|
|
667
|
+
*
|
|
668
|
+
* Updates an existing validation rule partially by ID
|
|
669
|
+
*/
|
|
670
|
+
'updateValidationRule'(
|
|
671
|
+
parameters?: Parameters<Paths.UpdateValidationRule.PathParameters> | null,
|
|
672
|
+
data?: Paths.UpdateValidationRule.RequestBody,
|
|
673
|
+
config?: AxiosRequestConfig
|
|
674
|
+
): OperationResponse<Paths.UpdateValidationRule.Responses.$200>
|
|
675
|
+
/**
|
|
676
|
+
* deleteValidationRule - Delete Validation Rule
|
|
677
|
+
*
|
|
678
|
+
* Deletes a validation rule by ID
|
|
679
|
+
*/
|
|
680
|
+
'deleteValidationRule'(
|
|
681
|
+
parameters?: Parameters<Paths.DeleteValidationRule.PathParameters> | null,
|
|
682
|
+
data?: any,
|
|
683
|
+
config?: AxiosRequestConfig
|
|
684
|
+
): OperationResponse<Paths.DeleteValidationRule.Responses.$204>
|
|
685
|
+
/**
|
|
686
|
+
* addUsedByReference - Add a reference to the usedBy array
|
|
687
|
+
*
|
|
688
|
+
* Adds a single reference to the usedBy array of a validation rule
|
|
689
|
+
*/
|
|
690
|
+
'addUsedByReference'(
|
|
691
|
+
parameters?: Parameters<Paths.AddUsedByReference.PathParameters> | null,
|
|
692
|
+
data?: Paths.AddUsedByReference.RequestBody,
|
|
693
|
+
config?: AxiosRequestConfig
|
|
694
|
+
): OperationResponse<Paths.AddUsedByReference.Responses.$200>
|
|
695
|
+
/**
|
|
696
|
+
* removeUsedByReference - Remove a reference from the usedBy array
|
|
697
|
+
*
|
|
698
|
+
* Removes a specific reference from the usedBy array of a validation rule
|
|
699
|
+
*/
|
|
700
|
+
'removeUsedByReference'(
|
|
701
|
+
parameters?: Parameters<Paths.RemoveUsedByReference.PathParameters> | null,
|
|
702
|
+
data?: Paths.RemoveUsedByReference.RequestBody,
|
|
703
|
+
config?: AxiosRequestConfig
|
|
704
|
+
): OperationResponse<Paths.RemoveUsedByReference.Responses.$200>
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
interface PathsDictionary {
|
|
708
|
+
['/v1/validation-rules']: {
|
|
709
|
+
/**
|
|
710
|
+
* getValidationRules - Get all validation rules by organization Id
|
|
711
|
+
*
|
|
712
|
+
* Gets all validation rules by organization Id
|
|
713
|
+
*/
|
|
714
|
+
'get'(
|
|
715
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
716
|
+
data?: any,
|
|
717
|
+
config?: AxiosRequestConfig
|
|
718
|
+
): OperationResponse<Paths.GetValidationRules.Responses.$200>
|
|
719
|
+
/**
|
|
720
|
+
* createValidationRule - Create Validation Rule
|
|
721
|
+
*
|
|
722
|
+
* Creates a new validation rule
|
|
723
|
+
*/
|
|
724
|
+
'post'(
|
|
725
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
726
|
+
data?: Paths.CreateValidationRule.RequestBody,
|
|
727
|
+
config?: AxiosRequestConfig
|
|
728
|
+
): OperationResponse<Paths.CreateValidationRule.Responses.$201>
|
|
729
|
+
}
|
|
730
|
+
['/v1/validation-rules/{ruleId}']: {
|
|
731
|
+
/**
|
|
732
|
+
* getValidationRuleById - Get validation rule by ID
|
|
733
|
+
*
|
|
734
|
+
* Retrieves a specific validation rule by its ID
|
|
735
|
+
*/
|
|
736
|
+
'get'(
|
|
737
|
+
parameters?: Parameters<Paths.GetValidationRuleById.PathParameters> | null,
|
|
738
|
+
data?: any,
|
|
739
|
+
config?: AxiosRequestConfig
|
|
740
|
+
): OperationResponse<Paths.GetValidationRuleById.Responses.$200>
|
|
741
|
+
/**
|
|
742
|
+
* updateValidationRule - Update Validation Rule (partial update)
|
|
743
|
+
*
|
|
744
|
+
* Updates an existing validation rule partially by ID
|
|
745
|
+
*/
|
|
746
|
+
'patch'(
|
|
747
|
+
parameters?: Parameters<Paths.UpdateValidationRule.PathParameters> | null,
|
|
748
|
+
data?: Paths.UpdateValidationRule.RequestBody,
|
|
749
|
+
config?: AxiosRequestConfig
|
|
750
|
+
): OperationResponse<Paths.UpdateValidationRule.Responses.$200>
|
|
751
|
+
/**
|
|
752
|
+
* deleteValidationRule - Delete Validation Rule
|
|
753
|
+
*
|
|
754
|
+
* Deletes a validation rule by ID
|
|
755
|
+
*/
|
|
756
|
+
'delete'(
|
|
757
|
+
parameters?: Parameters<Paths.DeleteValidationRule.PathParameters> | null,
|
|
758
|
+
data?: any,
|
|
759
|
+
config?: AxiosRequestConfig
|
|
760
|
+
): OperationResponse<Paths.DeleteValidationRule.Responses.$204>
|
|
761
|
+
}
|
|
762
|
+
['/v1/validation-rules/{ruleId}/used-by']: {
|
|
763
|
+
/**
|
|
764
|
+
* addUsedByReference - Add a reference to the usedBy array
|
|
765
|
+
*
|
|
766
|
+
* Adds a single reference to the usedBy array of a validation rule
|
|
767
|
+
*/
|
|
768
|
+
'post'(
|
|
769
|
+
parameters?: Parameters<Paths.AddUsedByReference.PathParameters> | null,
|
|
770
|
+
data?: Paths.AddUsedByReference.RequestBody,
|
|
771
|
+
config?: AxiosRequestConfig
|
|
772
|
+
): OperationResponse<Paths.AddUsedByReference.Responses.$200>
|
|
773
|
+
/**
|
|
774
|
+
* removeUsedByReference - Remove a reference from the usedBy array
|
|
775
|
+
*
|
|
776
|
+
* Removes a specific reference from the usedBy array of a validation rule
|
|
777
|
+
*/
|
|
778
|
+
'delete'(
|
|
779
|
+
parameters?: Parameters<Paths.RemoveUsedByReference.PathParameters> | null,
|
|
780
|
+
data?: Paths.RemoveUsedByReference.RequestBody,
|
|
781
|
+
config?: AxiosRequestConfig
|
|
782
|
+
): OperationResponse<Paths.RemoveUsedByReference.Responses.$200>
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
type CreateValidationRuleRequest = Components.Schemas.CreateValidationRuleRequest;
|
|
790
|
+
type GetValidationRulesResponse = Components.Schemas.GetValidationRulesResponse;
|
|
791
|
+
type NumericCondition = Components.Schemas.NumericCondition;
|
|
792
|
+
type NumericFactCondition = Components.Schemas.NumericFactCondition;
|
|
793
|
+
type NumericNestedCondition = Components.Schemas.NumericNestedCondition;
|
|
794
|
+
type NumericRuleType = Components.Schemas.NumericRuleType;
|
|
795
|
+
type PatternCondition = Components.Schemas.PatternCondition;
|
|
796
|
+
type PatternFactCondition = Components.Schemas.PatternFactCondition;
|
|
797
|
+
type PatternNestedCondition = Components.Schemas.PatternNestedCondition;
|
|
798
|
+
type PatternRuleType = Components.Schemas.PatternRuleType;
|
|
799
|
+
type RegexCondition = Components.Schemas.RegexCondition;
|
|
800
|
+
type RegexFactCondition = Components.Schemas.RegexFactCondition;
|
|
801
|
+
type RegexNestedCondition = Components.Schemas.RegexNestedCondition;
|
|
802
|
+
type RegexRuleType = Components.Schemas.RegexRuleType;
|
|
803
|
+
type UpdateValidationRuleRequest = Components.Schemas.UpdateValidationRuleRequest;
|
|
804
|
+
type UsedBy = Components.Schemas.UsedBy;
|
|
805
|
+
type ValidationRule = Components.Schemas.ValidationRule;
|
|
806
|
+
type ValidationRuleBase = Components.Schemas.ValidationRuleBase;
|
|
807
|
+
|
|
808
|
+
export type { Client as C, GetValidationRulesResponse as G, NumericCondition as N, OperationMethods as O, PathsDictionary as P, RegexCondition as R, UpdateValidationRuleRequest as U, ValidationRule as V, CreateValidationRuleRequest as a, NumericFactCondition as b, NumericNestedCondition as c, NumericRuleType as d, PatternCondition as e, PatternFactCondition as f, PatternNestedCondition as g, PatternRuleType as h, RegexFactCondition as i, RegexNestedCondition as j, RegexRuleType as k, UsedBy as l, ValidationRuleBase as m };
|