@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,1047 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/* Auto-copied from notes-client */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
declare namespace Components {
|
|
10
|
+
namespace Schemas {
|
|
11
|
+
export type ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity";
|
|
12
|
+
export type CreatedByType = "user" | "group";
|
|
13
|
+
/**
|
|
14
|
+
* Base Entity schema
|
|
15
|
+
*/
|
|
16
|
+
export interface Entity {
|
|
17
|
+
/**
|
|
18
|
+
* Entity ID of the Note entry
|
|
19
|
+
*/
|
|
20
|
+
_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* ID of the Organization that owns this Note
|
|
23
|
+
*/
|
|
24
|
+
_org?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The Entity schema of this Note
|
|
27
|
+
*/
|
|
28
|
+
_schema?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The timestamp of when this Note was created
|
|
31
|
+
*/
|
|
32
|
+
_created_at?: string; // date-time
|
|
33
|
+
/**
|
|
34
|
+
* The timestamp of when this Note was last updated
|
|
35
|
+
*/
|
|
36
|
+
_updated_at?: string; // date-time
|
|
37
|
+
/**
|
|
38
|
+
* The Entity ID of the User that created this Note
|
|
39
|
+
*/
|
|
40
|
+
_created_by?: /* The Entity ID of the User that created this Note */ string | number;
|
|
41
|
+
/**
|
|
42
|
+
* Tags associated with this Note
|
|
43
|
+
*/
|
|
44
|
+
_tags?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Access Control List for this Note entry
|
|
47
|
+
*/
|
|
48
|
+
_acl?: {
|
|
49
|
+
[name: string]: string[];
|
|
50
|
+
};
|
|
51
|
+
_owners?: {
|
|
52
|
+
org_id: string;
|
|
53
|
+
user_id: string;
|
|
54
|
+
}[];
|
|
55
|
+
/**
|
|
56
|
+
* Entity ID of the Note entry
|
|
57
|
+
*/
|
|
58
|
+
type?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.
|
|
62
|
+
*/
|
|
63
|
+
export interface NonHydratedNoteEntity {
|
|
64
|
+
/**
|
|
65
|
+
* Entity ID of the Note entry
|
|
66
|
+
*/
|
|
67
|
+
_id: string;
|
|
68
|
+
/**
|
|
69
|
+
* ID of the Organization that owns this Note
|
|
70
|
+
*/
|
|
71
|
+
_org?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The Entity schema of this Note
|
|
74
|
+
*/
|
|
75
|
+
_schema?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The timestamp of when this Note was created
|
|
78
|
+
*/
|
|
79
|
+
_created_at?: string; // date-time
|
|
80
|
+
/**
|
|
81
|
+
* The timestamp of when this Note was last updated
|
|
82
|
+
*/
|
|
83
|
+
_updated_at?: string; // date-time
|
|
84
|
+
/**
|
|
85
|
+
* The Entity ID of the User that created this Note
|
|
86
|
+
*/
|
|
87
|
+
_created_by?: /* The Entity ID of the User that created this Note */ string | number;
|
|
88
|
+
/**
|
|
89
|
+
* Tags associated with this Note
|
|
90
|
+
*/
|
|
91
|
+
_tags?: string[];
|
|
92
|
+
/**
|
|
93
|
+
* Access Control List for this Note entry
|
|
94
|
+
*/
|
|
95
|
+
_acl?: {
|
|
96
|
+
[name: string]: string[];
|
|
97
|
+
};
|
|
98
|
+
_owners?: {
|
|
99
|
+
org_id: string;
|
|
100
|
+
user_id: string;
|
|
101
|
+
}[];
|
|
102
|
+
/**
|
|
103
|
+
* Entity ID of the Note entry
|
|
104
|
+
*/
|
|
105
|
+
type?: string;
|
|
106
|
+
context_entities: {
|
|
107
|
+
$relation: {
|
|
108
|
+
entity_id: string;
|
|
109
|
+
}[];
|
|
110
|
+
};
|
|
111
|
+
parent?: /* The Note's parent Note */ NoteEntityParent;
|
|
112
|
+
/**
|
|
113
|
+
* The Note's parent Note
|
|
114
|
+
*/
|
|
115
|
+
attachments?: {
|
|
116
|
+
$relation?: {
|
|
117
|
+
entity_id: string;
|
|
118
|
+
}[];
|
|
119
|
+
};
|
|
120
|
+
comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
|
|
121
|
+
/**
|
|
122
|
+
* The content of the Note
|
|
123
|
+
*/
|
|
124
|
+
content?: string;
|
|
125
|
+
contexts?: {
|
|
126
|
+
type: ContextType;
|
|
127
|
+
id: string;
|
|
128
|
+
}[];
|
|
129
|
+
/**
|
|
130
|
+
* The timestamp of when this Note was pinned
|
|
131
|
+
*/
|
|
132
|
+
pinned_at?: string; // date-time
|
|
133
|
+
created_by?: {
|
|
134
|
+
type: "user" | "group";
|
|
135
|
+
user_id?: string;
|
|
136
|
+
display_name?: string;
|
|
137
|
+
org_id?: string;
|
|
138
|
+
email?: string;
|
|
139
|
+
phone?: string;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* List of user IDs who have read this note
|
|
143
|
+
*/
|
|
144
|
+
read_by?: string[];
|
|
145
|
+
/**
|
|
146
|
+
* Reactions to the note, keyed by reaction type, with an array of user IDs for each type
|
|
147
|
+
*/
|
|
148
|
+
reactions?: {
|
|
149
|
+
[name: string]: string[];
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* List of resolved Entity and non-Entity contexts attached to a given Note.
|
|
154
|
+
*/
|
|
155
|
+
export interface NoteContexts {
|
|
156
|
+
type: ContextType;
|
|
157
|
+
context: /* Base Entity schema */ Entity | /* Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data */ WorkflowExecution;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.
|
|
161
|
+
*/
|
|
162
|
+
export interface NoteEntity {
|
|
163
|
+
/**
|
|
164
|
+
* Entity ID of the Note entry
|
|
165
|
+
*/
|
|
166
|
+
_id: string;
|
|
167
|
+
/**
|
|
168
|
+
* ID of the Organization that owns this Note
|
|
169
|
+
*/
|
|
170
|
+
_org?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The Entity schema of this Note
|
|
173
|
+
*/
|
|
174
|
+
_schema?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The timestamp of when this Note was created
|
|
177
|
+
*/
|
|
178
|
+
_created_at?: string; // date-time
|
|
179
|
+
/**
|
|
180
|
+
* The timestamp of when this Note was last updated
|
|
181
|
+
*/
|
|
182
|
+
_updated_at?: string; // date-time
|
|
183
|
+
/**
|
|
184
|
+
* The Entity ID of the User that created this Note
|
|
185
|
+
*/
|
|
186
|
+
_created_by?: /* The Entity ID of the User that created this Note */ string | number;
|
|
187
|
+
/**
|
|
188
|
+
* Tags associated with this Note
|
|
189
|
+
*/
|
|
190
|
+
_tags?: string[];
|
|
191
|
+
/**
|
|
192
|
+
* Access Control List for this Note entry
|
|
193
|
+
*/
|
|
194
|
+
_acl?: {
|
|
195
|
+
[name: string]: string[];
|
|
196
|
+
};
|
|
197
|
+
_owners?: {
|
|
198
|
+
org_id: string;
|
|
199
|
+
user_id: string;
|
|
200
|
+
}[];
|
|
201
|
+
/**
|
|
202
|
+
* Entity ID of the Note entry
|
|
203
|
+
*/
|
|
204
|
+
type?: string;
|
|
205
|
+
context_entities?: /* Base Entity schema */ Entity[];
|
|
206
|
+
parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
|
|
207
|
+
attachments?: /* Base Entity schema */ Entity[];
|
|
208
|
+
comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
|
|
209
|
+
/**
|
|
210
|
+
* The content of the Note
|
|
211
|
+
*/
|
|
212
|
+
content?: string;
|
|
213
|
+
contexts?: {
|
|
214
|
+
type: ContextType;
|
|
215
|
+
id: string;
|
|
216
|
+
}[];
|
|
217
|
+
/**
|
|
218
|
+
* The timestamp of when this Note was pinned
|
|
219
|
+
*/
|
|
220
|
+
pinned_at?: string; // date-time
|
|
221
|
+
/**
|
|
222
|
+
* The timestamp of when this Note was last updated
|
|
223
|
+
*/
|
|
224
|
+
edited_at?: string; // date-time
|
|
225
|
+
created_by?: {
|
|
226
|
+
type: CreatedByType;
|
|
227
|
+
user_id?: string;
|
|
228
|
+
display_name?: string;
|
|
229
|
+
org_id?: string;
|
|
230
|
+
email?: string;
|
|
231
|
+
phone?: string;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* List of user IDs who have read this note
|
|
235
|
+
*/
|
|
236
|
+
read_by?: string[];
|
|
237
|
+
/**
|
|
238
|
+
* Reactions to the note, keyed by reaction type, with an array of user IDs for each type
|
|
239
|
+
*/
|
|
240
|
+
reactions?: {
|
|
241
|
+
[name: string]: string[];
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* The Note's parent Note
|
|
246
|
+
*/
|
|
247
|
+
export interface NoteEntityParent {
|
|
248
|
+
$relation?: {
|
|
249
|
+
entity_id: string;
|
|
250
|
+
}[];
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Base Entity schema
|
|
254
|
+
*/
|
|
255
|
+
export interface NoteGetRequestResponse {
|
|
256
|
+
/**
|
|
257
|
+
* Entity ID of the Note entry
|
|
258
|
+
*/
|
|
259
|
+
_id: string;
|
|
260
|
+
/**
|
|
261
|
+
* ID of the Organization that owns this Note
|
|
262
|
+
*/
|
|
263
|
+
_org?: string;
|
|
264
|
+
/**
|
|
265
|
+
* The Entity schema of this Note
|
|
266
|
+
*/
|
|
267
|
+
_schema?: string;
|
|
268
|
+
/**
|
|
269
|
+
* The timestamp of when this Note was created
|
|
270
|
+
*/
|
|
271
|
+
_created_at?: string; // date-time
|
|
272
|
+
/**
|
|
273
|
+
* The timestamp of when this Note was last updated
|
|
274
|
+
*/
|
|
275
|
+
_updated_at?: string; // date-time
|
|
276
|
+
/**
|
|
277
|
+
* The Entity ID of the User that created this Note
|
|
278
|
+
*/
|
|
279
|
+
_created_by?: /* The Entity ID of the User that created this Note */ string | number;
|
|
280
|
+
/**
|
|
281
|
+
* Tags associated with this Note
|
|
282
|
+
*/
|
|
283
|
+
_tags?: string[];
|
|
284
|
+
/**
|
|
285
|
+
* Access Control List for this Note entry
|
|
286
|
+
*/
|
|
287
|
+
_acl?: {
|
|
288
|
+
[name: string]: string[];
|
|
289
|
+
};
|
|
290
|
+
_owners?: {
|
|
291
|
+
org_id: string;
|
|
292
|
+
user_id: string;
|
|
293
|
+
}[];
|
|
294
|
+
/**
|
|
295
|
+
* Entity ID of the Note entry
|
|
296
|
+
*/
|
|
297
|
+
type?: string;
|
|
298
|
+
context_entities?: /* Base Entity schema */ Entity[];
|
|
299
|
+
parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
|
|
300
|
+
attachments?: /* Base Entity schema */ Entity[];
|
|
301
|
+
comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
|
|
302
|
+
/**
|
|
303
|
+
* The content of the Note
|
|
304
|
+
*/
|
|
305
|
+
content?: string;
|
|
306
|
+
contexts?: {
|
|
307
|
+
type: ContextType;
|
|
308
|
+
id: string;
|
|
309
|
+
}[];
|
|
310
|
+
/**
|
|
311
|
+
* The timestamp of when this Note was pinned
|
|
312
|
+
*/
|
|
313
|
+
pinned_at?: string; // date-time
|
|
314
|
+
/**
|
|
315
|
+
* The timestamp of when this Note was last updated
|
|
316
|
+
*/
|
|
317
|
+
edited_at?: string; // date-time
|
|
318
|
+
created_by?: {
|
|
319
|
+
type: CreatedByType;
|
|
320
|
+
user_id?: string;
|
|
321
|
+
display_name?: string;
|
|
322
|
+
org_id?: string;
|
|
323
|
+
email?: string;
|
|
324
|
+
phone?: string;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* List of user IDs who have read this note
|
|
328
|
+
*/
|
|
329
|
+
read_by?: string[];
|
|
330
|
+
/**
|
|
331
|
+
* Reactions to the note, keyed by reaction type, with an array of user IDs for each type
|
|
332
|
+
*/
|
|
333
|
+
reactions?: {
|
|
334
|
+
[name: string]: string[];
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
export interface NotePatchRequestBody {
|
|
338
|
+
/**
|
|
339
|
+
* Tags associated with this Note
|
|
340
|
+
*/
|
|
341
|
+
_tags?: string[];
|
|
342
|
+
/**
|
|
343
|
+
* Entity ID of the Note entry
|
|
344
|
+
*/
|
|
345
|
+
type?: string;
|
|
346
|
+
/**
|
|
347
|
+
* The Note's parent Note
|
|
348
|
+
*/
|
|
349
|
+
attachments?: {
|
|
350
|
+
$relation?: {
|
|
351
|
+
entity_id: string;
|
|
352
|
+
}[];
|
|
353
|
+
};
|
|
354
|
+
comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
|
|
355
|
+
/**
|
|
356
|
+
* The content of the Note
|
|
357
|
+
*/
|
|
358
|
+
content?: string;
|
|
359
|
+
contexts?: {
|
|
360
|
+
type: ContextType;
|
|
361
|
+
id: string;
|
|
362
|
+
}[];
|
|
363
|
+
/**
|
|
364
|
+
* The timestamp of when this Note was pinned
|
|
365
|
+
*/
|
|
366
|
+
pinned_at?: string; // date-time
|
|
367
|
+
created_by?: {
|
|
368
|
+
type: "user" | "group";
|
|
369
|
+
user_id?: string;
|
|
370
|
+
display_name?: string;
|
|
371
|
+
org_id?: string;
|
|
372
|
+
email?: string;
|
|
373
|
+
phone?: string;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* List of user IDs who have read this note
|
|
377
|
+
*/
|
|
378
|
+
read_by?: string[];
|
|
379
|
+
/**
|
|
380
|
+
* Reactions to the note, keyed by reaction type, with an array of user IDs for each type
|
|
381
|
+
*/
|
|
382
|
+
reactions?: {
|
|
383
|
+
[name: string]: string[];
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
export interface NotePostRequestBody {
|
|
387
|
+
/**
|
|
388
|
+
* Tags associated with this Note
|
|
389
|
+
*/
|
|
390
|
+
_tags?: string[];
|
|
391
|
+
/**
|
|
392
|
+
* Entity ID of the Note entry
|
|
393
|
+
*/
|
|
394
|
+
type?: string;
|
|
395
|
+
/**
|
|
396
|
+
* The Entity ID of the Entity this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.
|
|
397
|
+
*/
|
|
398
|
+
entity_id?: string;
|
|
399
|
+
/**
|
|
400
|
+
* The Entity ID of the Note's parent Note. If supplied, the Note will be a comment to the parent Note. Be aware that Notes can only have comments one level deep
|
|
401
|
+
*/
|
|
402
|
+
parent_id?: string;
|
|
403
|
+
/**
|
|
404
|
+
* The contexts to which this Note will be related to
|
|
405
|
+
*/
|
|
406
|
+
contexts?: {
|
|
407
|
+
type: ContextType;
|
|
408
|
+
id: string;
|
|
409
|
+
}[];
|
|
410
|
+
/**
|
|
411
|
+
* Any additional non-entity contexts to which this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.
|
|
412
|
+
*/
|
|
413
|
+
additional_contexts?: {
|
|
414
|
+
type: ContextType;
|
|
415
|
+
id: string;
|
|
416
|
+
}[];
|
|
417
|
+
/**
|
|
418
|
+
* The content of the Note
|
|
419
|
+
*/
|
|
420
|
+
content?: string;
|
|
421
|
+
/**
|
|
422
|
+
* List of File Entity IDs attached to the Note
|
|
423
|
+
*/
|
|
424
|
+
attachments?: string[];
|
|
425
|
+
/**
|
|
426
|
+
* List of user IDs who have read this note
|
|
427
|
+
*/
|
|
428
|
+
read_by?: string[];
|
|
429
|
+
}
|
|
430
|
+
export interface NotePutRequestBody {
|
|
431
|
+
/**
|
|
432
|
+
* Entity ID of the Note entry
|
|
433
|
+
*/
|
|
434
|
+
_id?: string;
|
|
435
|
+
/**
|
|
436
|
+
* ID of the Organization that owns this Note
|
|
437
|
+
*/
|
|
438
|
+
_org?: string;
|
|
439
|
+
/**
|
|
440
|
+
* The Entity schema of this Note
|
|
441
|
+
*/
|
|
442
|
+
_schema?: string;
|
|
443
|
+
/**
|
|
444
|
+
* The timestamp of when this Note was created
|
|
445
|
+
*/
|
|
446
|
+
_created_at?: string; // date-time
|
|
447
|
+
/**
|
|
448
|
+
* The timestamp of when this Note was last updated
|
|
449
|
+
*/
|
|
450
|
+
_updated_at?: string; // date-time
|
|
451
|
+
/**
|
|
452
|
+
* The Entity ID of the User that created this Note
|
|
453
|
+
*/
|
|
454
|
+
_created_by?: /* The Entity ID of the User that created this Note */ string | number;
|
|
455
|
+
/**
|
|
456
|
+
* Tags associated with this Note
|
|
457
|
+
*/
|
|
458
|
+
_tags?: string[];
|
|
459
|
+
/**
|
|
460
|
+
* Access Control List for this Note entry
|
|
461
|
+
*/
|
|
462
|
+
_acl?: {
|
|
463
|
+
[name: string]: string[];
|
|
464
|
+
};
|
|
465
|
+
_owners?: {
|
|
466
|
+
org_id: string;
|
|
467
|
+
user_id: string;
|
|
468
|
+
}[];
|
|
469
|
+
/**
|
|
470
|
+
* Entity ID of the Note entry
|
|
471
|
+
*/
|
|
472
|
+
type?: string;
|
|
473
|
+
context_entities?: {
|
|
474
|
+
$relation: {
|
|
475
|
+
entity_id: string;
|
|
476
|
+
}[];
|
|
477
|
+
};
|
|
478
|
+
parent?: /* The Note's parent Note */ NoteEntityParent;
|
|
479
|
+
/**
|
|
480
|
+
* The Note's parent Note
|
|
481
|
+
*/
|
|
482
|
+
attachments?: {
|
|
483
|
+
$relation?: {
|
|
484
|
+
entity_id: string;
|
|
485
|
+
}[];
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* The content of the Note
|
|
489
|
+
*/
|
|
490
|
+
content?: string;
|
|
491
|
+
contexts?: {
|
|
492
|
+
type: ContextType;
|
|
493
|
+
id: string;
|
|
494
|
+
}[];
|
|
495
|
+
/**
|
|
496
|
+
* The timestamp of when this Note was pinned
|
|
497
|
+
*/
|
|
498
|
+
pinned_at?: string; // date-time
|
|
499
|
+
created_by?: {
|
|
500
|
+
type: "user" | "group";
|
|
501
|
+
user_id?: string;
|
|
502
|
+
display_name?: string;
|
|
503
|
+
org_id?: string;
|
|
504
|
+
email?: string;
|
|
505
|
+
phone?: string;
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* List of user IDs who have read this note
|
|
509
|
+
*/
|
|
510
|
+
read_by?: string[];
|
|
511
|
+
/**
|
|
512
|
+
* Reactions to the note, keyed by reaction type, with an array of user IDs for each type
|
|
513
|
+
*/
|
|
514
|
+
reactions?: {
|
|
515
|
+
[name: string]: string[];
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
export interface NoteSearchByContextRequestBody {
|
|
519
|
+
contexts: {
|
|
520
|
+
type: ContextType;
|
|
521
|
+
id: string;
|
|
522
|
+
}[];
|
|
523
|
+
/**
|
|
524
|
+
* The index of the first Note to return in this query
|
|
525
|
+
*/
|
|
526
|
+
from?: number;
|
|
527
|
+
/**
|
|
528
|
+
* The number of Note entries to return in this query
|
|
529
|
+
*/
|
|
530
|
+
size?: number;
|
|
531
|
+
}
|
|
532
|
+
export interface NotesSearchRequestResponse {
|
|
533
|
+
/**
|
|
534
|
+
* The number of Note entries returned in this query
|
|
535
|
+
*/
|
|
536
|
+
hits?: number;
|
|
537
|
+
/**
|
|
538
|
+
* The Note entries returned in this query
|
|
539
|
+
*/
|
|
540
|
+
results: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
|
|
541
|
+
}
|
|
542
|
+
export interface ReactionRequest {
|
|
543
|
+
/**
|
|
544
|
+
* The emoji identifier (e.g., 'thumbs-up', 'heart', 'thinking-face')
|
|
545
|
+
* example:
|
|
546
|
+
* thumbs-up
|
|
547
|
+
*/
|
|
548
|
+
emoji: string;
|
|
549
|
+
}
|
|
550
|
+
export interface ToggleReactionsRequest {
|
|
551
|
+
/**
|
|
552
|
+
* Array of emoji identifiers to toggle (e.g., ['thumbs-up', 'heart', 'thinking-face'])
|
|
553
|
+
* example:
|
|
554
|
+
* [
|
|
555
|
+
* "thumbs-up",
|
|
556
|
+
* "heart"
|
|
557
|
+
* ]
|
|
558
|
+
*/
|
|
559
|
+
emojis: string[];
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data
|
|
563
|
+
*/
|
|
564
|
+
export interface WorkflowExecution {
|
|
565
|
+
id: string;
|
|
566
|
+
definitionId: string;
|
|
567
|
+
orgId: string;
|
|
568
|
+
name: string;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
declare namespace Paths {
|
|
573
|
+
namespace AddNoteReaction {
|
|
574
|
+
namespace Parameters {
|
|
575
|
+
/**
|
|
576
|
+
* The Entity ID of the Note entry to add reaction to
|
|
577
|
+
*/
|
|
578
|
+
export type Id = string;
|
|
579
|
+
}
|
|
580
|
+
export interface PathParameters {
|
|
581
|
+
id: /* The Entity ID of the Note entry to add reaction to */ Parameters.Id;
|
|
582
|
+
}
|
|
583
|
+
export type RequestBody = Components.Schemas.ReactionRequest;
|
|
584
|
+
namespace Responses {
|
|
585
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
namespace CreateNote {
|
|
589
|
+
export type RequestBody = Components.Schemas.NotePostRequestBody;
|
|
590
|
+
namespace Responses {
|
|
591
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
namespace DeleteNote {
|
|
595
|
+
namespace Parameters {
|
|
596
|
+
/**
|
|
597
|
+
* The Entity ID of the Note entry to delete
|
|
598
|
+
*/
|
|
599
|
+
export type Id = string;
|
|
600
|
+
}
|
|
601
|
+
export interface PathParameters {
|
|
602
|
+
id: /* The Entity ID of the Note entry to delete */ Parameters.Id;
|
|
603
|
+
}
|
|
604
|
+
namespace Responses {
|
|
605
|
+
export interface $200 {
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
namespace GetNote {
|
|
610
|
+
namespace Parameters {
|
|
611
|
+
/**
|
|
612
|
+
* Whether to hydrate the Note's relation attributes
|
|
613
|
+
*/
|
|
614
|
+
export type Hydrate = boolean;
|
|
615
|
+
/**
|
|
616
|
+
* The Entity ID of the Note entry to retrieve
|
|
617
|
+
*/
|
|
618
|
+
export type Id = string;
|
|
619
|
+
}
|
|
620
|
+
export interface PathParameters {
|
|
621
|
+
id: /* The Entity ID of the Note entry to retrieve */ Parameters.Id;
|
|
622
|
+
}
|
|
623
|
+
export interface QueryParameters {
|
|
624
|
+
hydrate?: /* Whether to hydrate the Note's relation attributes */ Parameters.Hydrate;
|
|
625
|
+
}
|
|
626
|
+
namespace Responses {
|
|
627
|
+
export type $200 = /* Base Entity schema */ Components.Schemas.NoteGetRequestResponse;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
namespace GetNoteContexts {
|
|
631
|
+
namespace Parameters {
|
|
632
|
+
/**
|
|
633
|
+
* The Entity ID of the Note entry to get contexts for
|
|
634
|
+
*/
|
|
635
|
+
export type Id = string;
|
|
636
|
+
}
|
|
637
|
+
export interface PathParameters {
|
|
638
|
+
id: /* The Entity ID of the Note entry to get contexts for */ Parameters.Id;
|
|
639
|
+
}
|
|
640
|
+
namespace Responses {
|
|
641
|
+
export type $200 = /* List of resolved Entity and non-Entity contexts attached to a given Note. */ Components.Schemas.NoteContexts[];
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
namespace GetNotesByContext {
|
|
645
|
+
namespace Parameters {
|
|
646
|
+
export type Contexts = {
|
|
647
|
+
type: Components.Schemas.ContextType;
|
|
648
|
+
id: string;
|
|
649
|
+
}[];
|
|
650
|
+
/**
|
|
651
|
+
* The ID of the Contextual Entity from where to retrieve Notes
|
|
652
|
+
*/
|
|
653
|
+
export type EntityId = string;
|
|
654
|
+
/**
|
|
655
|
+
* The index of the first Note to return in this query
|
|
656
|
+
*/
|
|
657
|
+
export type From = number;
|
|
658
|
+
/**
|
|
659
|
+
* The number of Note entries to return in this query
|
|
660
|
+
*/
|
|
661
|
+
export type Size = number;
|
|
662
|
+
}
|
|
663
|
+
export interface PathParameters {
|
|
664
|
+
entity_id: /* The ID of the Contextual Entity from where to retrieve Notes */ Parameters.EntityId;
|
|
665
|
+
}
|
|
666
|
+
export interface QueryParameters {
|
|
667
|
+
contexts?: Parameters.Contexts;
|
|
668
|
+
from?: /* The index of the first Note to return in this query */ Parameters.From;
|
|
669
|
+
size?: /* The number of Note entries to return in this query */ Parameters.Size;
|
|
670
|
+
}
|
|
671
|
+
namespace Responses {
|
|
672
|
+
export type $200 = Components.Schemas.NotesSearchRequestResponse;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
namespace PatchNote {
|
|
676
|
+
namespace Parameters {
|
|
677
|
+
/**
|
|
678
|
+
* The Entity ID of the Note entry to update
|
|
679
|
+
*/
|
|
680
|
+
export type Id = string;
|
|
681
|
+
}
|
|
682
|
+
export interface PathParameters {
|
|
683
|
+
id: /* The Entity ID of the Note entry to update */ Parameters.Id;
|
|
684
|
+
}
|
|
685
|
+
export type RequestBody = Components.Schemas.NotePatchRequestBody;
|
|
686
|
+
namespace Responses {
|
|
687
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
namespace PinNote {
|
|
691
|
+
namespace Parameters {
|
|
692
|
+
/**
|
|
693
|
+
* The Entity ID of the Note entry to pin
|
|
694
|
+
*/
|
|
695
|
+
export type Id = string;
|
|
696
|
+
}
|
|
697
|
+
export interface PathParameters {
|
|
698
|
+
id: /* The Entity ID of the Note entry to pin */ Parameters.Id;
|
|
699
|
+
}
|
|
700
|
+
namespace Responses {
|
|
701
|
+
export interface $200 {
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
namespace RemoveNoteReaction {
|
|
706
|
+
namespace Parameters {
|
|
707
|
+
/**
|
|
708
|
+
* The emoji to remove from the note
|
|
709
|
+
*/
|
|
710
|
+
export type EmojiShortcode = string;
|
|
711
|
+
/**
|
|
712
|
+
* The Entity ID of the Note entry to remove reaction from
|
|
713
|
+
*/
|
|
714
|
+
export type Id = string;
|
|
715
|
+
}
|
|
716
|
+
export interface PathParameters {
|
|
717
|
+
id: /* The Entity ID of the Note entry to remove reaction from */ Parameters.Id;
|
|
718
|
+
emoji_shortcode: /* The emoji to remove from the note */ Parameters.EmojiShortcode;
|
|
719
|
+
}
|
|
720
|
+
namespace Responses {
|
|
721
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
namespace SearchNotesByContext {
|
|
725
|
+
export type RequestBody = Components.Schemas.NoteSearchByContextRequestBody;
|
|
726
|
+
namespace Responses {
|
|
727
|
+
export type $200 = Components.Schemas.NotesSearchRequestResponse;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
namespace ToggleNoteReactions {
|
|
731
|
+
namespace Parameters {
|
|
732
|
+
/**
|
|
733
|
+
* The Entity ID of the Note entry to toggle reactions on
|
|
734
|
+
*/
|
|
735
|
+
export type Id = string;
|
|
736
|
+
}
|
|
737
|
+
export interface PathParameters {
|
|
738
|
+
id: /* The Entity ID of the Note entry to toggle reactions on */ Parameters.Id;
|
|
739
|
+
}
|
|
740
|
+
export type RequestBody = Components.Schemas.ToggleReactionsRequest;
|
|
741
|
+
namespace Responses {
|
|
742
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
namespace UpdateNote {
|
|
746
|
+
namespace Parameters {
|
|
747
|
+
/**
|
|
748
|
+
* The Entity ID of the Note entry to update
|
|
749
|
+
*/
|
|
750
|
+
export type Id = string;
|
|
751
|
+
}
|
|
752
|
+
export interface PathParameters {
|
|
753
|
+
id: /* The Entity ID of the Note entry to update */ Parameters.Id;
|
|
754
|
+
}
|
|
755
|
+
export type RequestBody = Components.Schemas.NotePutRequestBody;
|
|
756
|
+
namespace Responses {
|
|
757
|
+
export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface OperationMethods {
|
|
763
|
+
/**
|
|
764
|
+
* createNote - createNote
|
|
765
|
+
*
|
|
766
|
+
* Creates a new Note entry
|
|
767
|
+
*/
|
|
768
|
+
'createNote'(
|
|
769
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
770
|
+
data?: Paths.CreateNote.RequestBody,
|
|
771
|
+
config?: AxiosRequestConfig
|
|
772
|
+
): OperationResponse<Paths.CreateNote.Responses.$200>
|
|
773
|
+
/**
|
|
774
|
+
* getNote - getNote
|
|
775
|
+
*
|
|
776
|
+
* Retrieves a single Note entry based on it's Entity ID
|
|
777
|
+
*/
|
|
778
|
+
'getNote'(
|
|
779
|
+
parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
|
|
780
|
+
data?: any,
|
|
781
|
+
config?: AxiosRequestConfig
|
|
782
|
+
): OperationResponse<Paths.GetNote.Responses.$200>
|
|
783
|
+
/**
|
|
784
|
+
* updateNote - updateNote
|
|
785
|
+
*
|
|
786
|
+
* Updates an existing Note entry
|
|
787
|
+
*/
|
|
788
|
+
'updateNote'(
|
|
789
|
+
parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
|
|
790
|
+
data?: Paths.UpdateNote.RequestBody,
|
|
791
|
+
config?: AxiosRequestConfig
|
|
792
|
+
): OperationResponse<Paths.UpdateNote.Responses.$200>
|
|
793
|
+
/**
|
|
794
|
+
* patchNote - patchNote
|
|
795
|
+
*
|
|
796
|
+
* Updates an existing Note entry
|
|
797
|
+
*/
|
|
798
|
+
'patchNote'(
|
|
799
|
+
parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
|
|
800
|
+
data?: Paths.PatchNote.RequestBody,
|
|
801
|
+
config?: AxiosRequestConfig
|
|
802
|
+
): OperationResponse<Paths.PatchNote.Responses.$200>
|
|
803
|
+
/**
|
|
804
|
+
* deleteNote - deleteNote
|
|
805
|
+
*
|
|
806
|
+
* Deletes a single Note entry based on it's Entity ID
|
|
807
|
+
*/
|
|
808
|
+
'deleteNote'(
|
|
809
|
+
parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
|
|
810
|
+
data?: any,
|
|
811
|
+
config?: AxiosRequestConfig
|
|
812
|
+
): OperationResponse<Paths.DeleteNote.Responses.$200>
|
|
813
|
+
/**
|
|
814
|
+
* searchNotesByContext - searchNotesByContext
|
|
815
|
+
*
|
|
816
|
+
* Search for a paginated list of Notes based on one or more contexts
|
|
817
|
+
*/
|
|
818
|
+
'searchNotesByContext'(
|
|
819
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
820
|
+
data?: Paths.SearchNotesByContext.RequestBody,
|
|
821
|
+
config?: AxiosRequestConfig
|
|
822
|
+
): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
|
|
823
|
+
/**
|
|
824
|
+
* getNotesByContext - getNotesByContext
|
|
825
|
+
*
|
|
826
|
+
* Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
|
|
827
|
+
* This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
|
|
828
|
+
*/
|
|
829
|
+
'getNotesByContext'(
|
|
830
|
+
parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
|
|
831
|
+
data?: any,
|
|
832
|
+
config?: AxiosRequestConfig
|
|
833
|
+
): OperationResponse<Paths.GetNotesByContext.Responses.$200>
|
|
834
|
+
/**
|
|
835
|
+
* pinNote - pinNote
|
|
836
|
+
*
|
|
837
|
+
* Pins a single Note entry based on it's Entity ID
|
|
838
|
+
*/
|
|
839
|
+
'pinNote'(
|
|
840
|
+
parameters?: Parameters<Paths.PinNote.PathParameters> | null,
|
|
841
|
+
data?: any,
|
|
842
|
+
config?: AxiosRequestConfig
|
|
843
|
+
): OperationResponse<Paths.PinNote.Responses.$200>
|
|
844
|
+
/**
|
|
845
|
+
* getNoteContexts - getNoteContexts
|
|
846
|
+
*
|
|
847
|
+
* Gets all the Entity and non-Entity records the Note is contextually attached to
|
|
848
|
+
*/
|
|
849
|
+
'getNoteContexts'(
|
|
850
|
+
parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
|
|
851
|
+
data?: any,
|
|
852
|
+
config?: AxiosRequestConfig
|
|
853
|
+
): OperationResponse<Paths.GetNoteContexts.Responses.$200>
|
|
854
|
+
/**
|
|
855
|
+
* addNoteReaction - addNoteReaction
|
|
856
|
+
*
|
|
857
|
+
* Adds an emoji reaction to a note
|
|
858
|
+
*/
|
|
859
|
+
'addNoteReaction'(
|
|
860
|
+
parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
|
|
861
|
+
data?: Paths.AddNoteReaction.RequestBody,
|
|
862
|
+
config?: AxiosRequestConfig
|
|
863
|
+
): OperationResponse<Paths.AddNoteReaction.Responses.$200>
|
|
864
|
+
/**
|
|
865
|
+
* removeNoteReaction - removeNoteReaction
|
|
866
|
+
*
|
|
867
|
+
* Removes an emoji reaction from a note
|
|
868
|
+
*/
|
|
869
|
+
'removeNoteReaction'(
|
|
870
|
+
parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
|
|
871
|
+
data?: any,
|
|
872
|
+
config?: AxiosRequestConfig
|
|
873
|
+
): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
|
|
874
|
+
/**
|
|
875
|
+
* toggleNoteReactions - toggleNoteReactions
|
|
876
|
+
*
|
|
877
|
+
* Toggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn't reacted with an emoji, it adds the reaction.
|
|
878
|
+
*/
|
|
879
|
+
'toggleNoteReactions'(
|
|
880
|
+
parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
|
|
881
|
+
data?: Paths.ToggleNoteReactions.RequestBody,
|
|
882
|
+
config?: AxiosRequestConfig
|
|
883
|
+
): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
interface PathsDictionary {
|
|
887
|
+
['/v1/note']: {
|
|
888
|
+
/**
|
|
889
|
+
* createNote - createNote
|
|
890
|
+
*
|
|
891
|
+
* Creates a new Note entry
|
|
892
|
+
*/
|
|
893
|
+
'post'(
|
|
894
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
895
|
+
data?: Paths.CreateNote.RequestBody,
|
|
896
|
+
config?: AxiosRequestConfig
|
|
897
|
+
): OperationResponse<Paths.CreateNote.Responses.$200>
|
|
898
|
+
}
|
|
899
|
+
['/v1/note/{id}']: {
|
|
900
|
+
/**
|
|
901
|
+
* getNote - getNote
|
|
902
|
+
*
|
|
903
|
+
* Retrieves a single Note entry based on it's Entity ID
|
|
904
|
+
*/
|
|
905
|
+
'get'(
|
|
906
|
+
parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
|
|
907
|
+
data?: any,
|
|
908
|
+
config?: AxiosRequestConfig
|
|
909
|
+
): OperationResponse<Paths.GetNote.Responses.$200>
|
|
910
|
+
/**
|
|
911
|
+
* patchNote - patchNote
|
|
912
|
+
*
|
|
913
|
+
* Updates an existing Note entry
|
|
914
|
+
*/
|
|
915
|
+
'patch'(
|
|
916
|
+
parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
|
|
917
|
+
data?: Paths.PatchNote.RequestBody,
|
|
918
|
+
config?: AxiosRequestConfig
|
|
919
|
+
): OperationResponse<Paths.PatchNote.Responses.$200>
|
|
920
|
+
/**
|
|
921
|
+
* updateNote - updateNote
|
|
922
|
+
*
|
|
923
|
+
* Updates an existing Note entry
|
|
924
|
+
*/
|
|
925
|
+
'put'(
|
|
926
|
+
parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
|
|
927
|
+
data?: Paths.UpdateNote.RequestBody,
|
|
928
|
+
config?: AxiosRequestConfig
|
|
929
|
+
): OperationResponse<Paths.UpdateNote.Responses.$200>
|
|
930
|
+
/**
|
|
931
|
+
* deleteNote - deleteNote
|
|
932
|
+
*
|
|
933
|
+
* Deletes a single Note entry based on it's Entity ID
|
|
934
|
+
*/
|
|
935
|
+
'delete'(
|
|
936
|
+
parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
|
|
937
|
+
data?: any,
|
|
938
|
+
config?: AxiosRequestConfig
|
|
939
|
+
): OperationResponse<Paths.DeleteNote.Responses.$200>
|
|
940
|
+
}
|
|
941
|
+
['/v1/notes:search']: {
|
|
942
|
+
/**
|
|
943
|
+
* searchNotesByContext - searchNotesByContext
|
|
944
|
+
*
|
|
945
|
+
* Search for a paginated list of Notes based on one or more contexts
|
|
946
|
+
*/
|
|
947
|
+
'post'(
|
|
948
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
949
|
+
data?: Paths.SearchNotesByContext.RequestBody,
|
|
950
|
+
config?: AxiosRequestConfig
|
|
951
|
+
): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
|
|
952
|
+
}
|
|
953
|
+
['/v1/notes/{entity_id}']: {
|
|
954
|
+
/**
|
|
955
|
+
* getNotesByContext - getNotesByContext
|
|
956
|
+
*
|
|
957
|
+
* Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
|
|
958
|
+
* This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
|
|
959
|
+
*/
|
|
960
|
+
'get'(
|
|
961
|
+
parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
|
|
962
|
+
data?: any,
|
|
963
|
+
config?: AxiosRequestConfig
|
|
964
|
+
): OperationResponse<Paths.GetNotesByContext.Responses.$200>
|
|
965
|
+
}
|
|
966
|
+
['/v1/note/{id}/pin']: {
|
|
967
|
+
/**
|
|
968
|
+
* pinNote - pinNote
|
|
969
|
+
*
|
|
970
|
+
* Pins a single Note entry based on it's Entity ID
|
|
971
|
+
*/
|
|
972
|
+
'post'(
|
|
973
|
+
parameters?: Parameters<Paths.PinNote.PathParameters> | null,
|
|
974
|
+
data?: any,
|
|
975
|
+
config?: AxiosRequestConfig
|
|
976
|
+
): OperationResponse<Paths.PinNote.Responses.$200>
|
|
977
|
+
}
|
|
978
|
+
['/v1/note/{id}/context']: {
|
|
979
|
+
/**
|
|
980
|
+
* getNoteContexts - getNoteContexts
|
|
981
|
+
*
|
|
982
|
+
* Gets all the Entity and non-Entity records the Note is contextually attached to
|
|
983
|
+
*/
|
|
984
|
+
'get'(
|
|
985
|
+
parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
|
|
986
|
+
data?: any,
|
|
987
|
+
config?: AxiosRequestConfig
|
|
988
|
+
): OperationResponse<Paths.GetNoteContexts.Responses.$200>
|
|
989
|
+
}
|
|
990
|
+
['/v1/note/{id}/reaction']: {
|
|
991
|
+
/**
|
|
992
|
+
* addNoteReaction - addNoteReaction
|
|
993
|
+
*
|
|
994
|
+
* Adds an emoji reaction to a note
|
|
995
|
+
*/
|
|
996
|
+
'post'(
|
|
997
|
+
parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
|
|
998
|
+
data?: Paths.AddNoteReaction.RequestBody,
|
|
999
|
+
config?: AxiosRequestConfig
|
|
1000
|
+
): OperationResponse<Paths.AddNoteReaction.Responses.$200>
|
|
1001
|
+
}
|
|
1002
|
+
['/v1/note/{id}/reaction/{emoji_shortcode}']: {
|
|
1003
|
+
/**
|
|
1004
|
+
* removeNoteReaction - removeNoteReaction
|
|
1005
|
+
*
|
|
1006
|
+
* Removes an emoji reaction from a note
|
|
1007
|
+
*/
|
|
1008
|
+
'delete'(
|
|
1009
|
+
parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
|
|
1010
|
+
data?: any,
|
|
1011
|
+
config?: AxiosRequestConfig
|
|
1012
|
+
): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
|
|
1013
|
+
}
|
|
1014
|
+
['/v1/note/{id}/reactions/toggle']: {
|
|
1015
|
+
/**
|
|
1016
|
+
* toggleNoteReactions - toggleNoteReactions
|
|
1017
|
+
*
|
|
1018
|
+
* Toggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn't reacted with an emoji, it adds the reaction.
|
|
1019
|
+
*/
|
|
1020
|
+
'post'(
|
|
1021
|
+
parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
|
|
1022
|
+
data?: Paths.ToggleNoteReactions.RequestBody,
|
|
1023
|
+
config?: AxiosRequestConfig
|
|
1024
|
+
): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
1029
|
+
|
|
1030
|
+
type ContextType = Components.Schemas.ContextType;
|
|
1031
|
+
type CreatedByType = Components.Schemas.CreatedByType;
|
|
1032
|
+
type Entity = Components.Schemas.Entity;
|
|
1033
|
+
type NonHydratedNoteEntity = Components.Schemas.NonHydratedNoteEntity;
|
|
1034
|
+
type NoteContexts = Components.Schemas.NoteContexts;
|
|
1035
|
+
type NoteEntity = Components.Schemas.NoteEntity;
|
|
1036
|
+
type NoteEntityParent = Components.Schemas.NoteEntityParent;
|
|
1037
|
+
type NoteGetRequestResponse = Components.Schemas.NoteGetRequestResponse;
|
|
1038
|
+
type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
|
|
1039
|
+
type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
|
|
1040
|
+
type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
|
|
1041
|
+
type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
|
|
1042
|
+
type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
|
|
1043
|
+
type ReactionRequest = Components.Schemas.ReactionRequest;
|
|
1044
|
+
type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
|
|
1045
|
+
type WorkflowExecution = Components.Schemas.WorkflowExecution;
|
|
1046
|
+
|
|
1047
|
+
export type { Client as C, Entity as E, NonHydratedNoteEntity as N, OperationMethods as O, PathsDictionary as P, ReactionRequest as R, ToggleReactionsRequest as T, WorkflowExecution as W, ContextType as a, CreatedByType as b, NoteContexts as c, NoteEntity as d, NoteEntityParent as e, NoteGetRequestResponse as f, NotePatchRequestBody as g, NotePostRequestBody as h, NotePutRequestBody as i, NoteSearchByContextRequestBody as j, NotesSearchRequestResponse as k };
|