@epilot/sdk 2.2.6 → 2.3.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 +3 -2
- package/dist/{README-JUWX7KNV.js → README-7R2JR652.js} +1 -1
- package/dist/{README-6OOYWQYJ.cjs → README-Z5AKTGJA.cjs} +1 -1
- package/dist/{_index-NWNYWBIF.js → _index-CLT2KTVS.js} +9 -6
- package/dist/{_index-ONGE545F.cjs → _index-O7JDGRSE.cjs} +8 -5
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +8 -8
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +2 -2
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +38 -0
- package/dist/apis/{data-management.d.cts → data-governance.d.cts} +5 -5
- package/dist/apis/{data-management.d.ts → data-governance.d.ts} +5 -5
- package/dist/apis/{data-management.js → data-governance.js} +10 -10
- package/dist/apis/deduplication.cjs +8 -8
- package/dist/apis/deduplication.d.cts +2 -2
- package/dist/apis/deduplication.d.ts +2 -2
- package/dist/apis/deduplication.js +2 -2
- package/dist/apis/design.cjs +8 -8
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +2 -2
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +8 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +2 -2
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +8 -8
- package/dist/apis/erp-integration.d.cts +5755 -3
- package/dist/apis/erp-integration.d.ts +5755 -3
- package/dist/apis/erp-integration.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +38 -0
- package/dist/apis/integration-toolkit.d.cts +18 -0
- package/dist/apis/integration-toolkit.d.ts +18 -0
- package/dist/apis/integration-toolkit.js +38 -0
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +8 -8
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +2 -2
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +38 -0
- package/dist/apis/sharing.d.cts +18 -0
- package/dist/apis/sharing.d.ts +18 -0
- package/dist/apis/sharing.js +38 -0
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.d.cts +2 -2
- package/dist/apis/template-variables.d.ts +2 -2
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.d.cts +2 -2
- package/dist/apis/workflow-definition.d.ts +2 -2
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +8 -8
- package/dist/apis/workflow.d.cts +2 -2
- package/dist/apis/workflow.d.ts +2 -2
- package/dist/apis/workflow.js +2 -2
- package/dist/automation-GFNNLSIN.js +7 -0
- package/dist/automation-IOCVCTKR.cjs +7 -0
- package/dist/{automation-runtime-YBGGE5PL.cjs → automation-runtime-DO5QSGJJ.cjs} +2 -2
- package/dist/{automation-runtime-L5UKEFLA.js → automation-runtime-VP4M7Z4R.js} +1 -1
- package/dist/{automation.d-D7BzN7Gq.d.cts → automation.d-CzhG2m4L.d.cts} +353 -3
- package/dist/{automation.d-D7BzN7Gq.d.ts → automation.d-CzhG2m4L.d.ts} +353 -3
- package/dist/blueprint-manifest-ELK4SGN7.js +7 -0
- package/dist/blueprint-manifest-VBOWPK52.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-2RTW5C52.js → blueprint-manifest-runtime-E2FN43TB.js} +1 -1
- package/dist/{blueprint-manifest-runtime-AF3FIDVX.cjs → blueprint-manifest-runtime-G4UK5VEX.cjs} +2 -2
- package/dist/{blueprint-manifest.d-DECw6HdM.d.cts → blueprint-manifest.d-BGrGU787.d.cts} +712 -22
- package/dist/{blueprint-manifest.d-DECw6HdM.d.ts → blueprint-manifest.d-BGrGU787.d.ts} +712 -22
- package/dist/chunk-5APJZUIH.cjs +14 -0
- package/dist/chunk-5ED7FB3Q.js +14 -0
- package/dist/{chunk-H2KTLW3Q.js → chunk-6AO46HG5.js} +31 -26
- package/dist/{chunk-UNCVJH6J.cjs → chunk-77JS7NDM.cjs} +1 -1
- package/dist/{chunk-6UAS2VVG.js → chunk-DLYPVF4U.js} +1 -1
- package/dist/chunk-DVM27A7E.cjs +14 -0
- package/dist/{chunk-3NLMZLCD.js → chunk-EFWPEVXI.js} +1 -1
- package/dist/chunk-EIIIKDOJ.cjs +14 -0
- package/dist/{chunk-HAZ3WP7V.cjs → chunk-IAHSYVYB.cjs} +1 -1
- package/dist/chunk-JTFWOEZF.cjs +14 -0
- package/dist/{chunk-A67W5WAP.cjs → chunk-KEI3GHDY.cjs} +1 -1
- package/dist/chunk-KIWRGUKM.js +14 -0
- package/dist/{chunk-PSQMDY3B.js → chunk-KQKBSWGI.js} +1 -1
- package/dist/{chunk-NF3MQHQS.cjs → chunk-MHXQX7FS.cjs} +31 -26
- package/dist/{chunk-LHVRAAFH.js → chunk-MUNMUGB5.js} +1 -1
- package/dist/chunk-NPDSA7T2.js +14 -0
- package/dist/{chunk-ZI33AJQ5.cjs → chunk-QNZPOA54.cjs} +1 -1
- package/dist/{chunk-ODD4JQVS.cjs → chunk-TLH6XOTL.cjs} +1 -1
- package/dist/chunk-TZQFJ5GX.cjs +14 -0
- package/dist/chunk-U4PUHKZC.js +14 -0
- package/dist/chunk-VPDA5SAH.js +14 -0
- package/dist/chunk-WT26LFC2.js +14 -0
- package/dist/{chunk-3YSEO476.js → chunk-X2SC4GW5.js} +1 -1
- package/dist/chunk-ZL6KDJFT.cjs +14 -0
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/{data-management-W5JQGGGH.js → data-governance-PLS5TJ7Z.js} +3 -3
- package/dist/{data-management-XFSRLFYA.cjs → data-governance-ZJ2K4ZWX.cjs} +3 -3
- package/dist/data-governance-runtime-LITKCNSG.js +5 -0
- package/dist/{erp-integration-runtime-HZI2P4X7.cjs → data-governance-runtime-TDGFG67G.cjs} +2 -2
- package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
- package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
- package/dist/deduplication-G2ZY4NMX.js +7 -0
- package/dist/deduplication-PKKTZAEA.cjs +7 -0
- package/dist/{deduplication-runtime-BBHG7MJW.cjs → deduplication-runtime-5QS6I4S7.cjs} +2 -2
- package/dist/{deduplication-runtime-DLGBF4RN.js → deduplication-runtime-VL4R2VIG.js} +1 -1
- package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
- package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
- package/dist/design-NISDHPFD.cjs +7 -0
- package/dist/design-WL4AZIGX.js +7 -0
- package/dist/design-runtime-OXEXKZVG.cjs +5 -0
- package/dist/{design-runtime-3SKJA7QH.js → design-runtime-QMJM4FAF.js} +1 -1
- package/dist/{design.d-eA-irKEX.d.cts → design.d-DTo29S0F.d.cts} +142 -15
- package/dist/{design.d-eA-irKEX.d.ts → design.d-DTo29S0F.d.ts} +142 -15
- package/dist/email-settings-CKFJU4WZ.js +7 -0
- package/dist/email-settings-NQJJKS2P.cjs +7 -0
- package/dist/{email-settings-runtime-Q2HVKJDS.js → email-settings-runtime-EGIJ2AVQ.js} +1 -1
- package/dist/{email-settings-runtime-3NJIAWWI.cjs → email-settings-runtime-WGVLI7N6.cjs} +2 -2
- package/dist/{email-settings.d-DUvmLZMN.d.cts → email-settings.d-B7Q_xT25.d.cts} +29 -2
- package/dist/{email-settings.d-DUvmLZMN.d.ts → email-settings.d-B7Q_xT25.d.ts} +29 -2
- package/dist/entity-CK76MXVN.js +7 -0
- package/dist/entity-TFMH5VTZ.cjs +7 -0
- package/dist/{entity.d-__Tx1Y0J.d.ts → entity.d-ByufVI16.d.cts} +40 -1
- package/dist/{entity.d-__Tx1Y0J.d.cts → entity.d-ByufVI16.d.ts} +40 -1
- package/dist/erp-integration-PAVHSUDM.cjs +7 -0
- package/dist/erp-integration-SBQJ6HEG.js +7 -0
- package/dist/{erp-integration-runtime-6SBLYZ34.js → erp-integration-runtime-BHHWMG4O.js} +1 -1
- package/dist/{data-management-runtime-J5IS7T47.cjs → erp-integration-runtime-Y6VWGQ3L.cjs} +2 -2
- package/dist/index.cjs +67 -40
- package/dist/index.d.cts +36 -34
- package/dist/index.d.ts +36 -34
- package/dist/index.js +54 -27
- package/dist/integration-toolkit-FRPFOYT2.js +7 -0
- package/dist/integration-toolkit-VNMDI55O.cjs +7 -0
- package/dist/integration-toolkit-runtime-5KG3LGXF.cjs +5 -0
- package/dist/integration-toolkit-runtime-LYHFVIRW.js +5 -0
- package/dist/{erp-integration.d-BV3Rv9e6.d.cts → integration-toolkit.d-Ry-KC9ow.d.cts} +820 -2
- package/dist/{erp-integration.d-BV3Rv9e6.d.ts → integration-toolkit.d-Ry-KC9ow.d.ts} +820 -2
- package/dist/journey-KDR5EU3W.js +7 -0
- package/dist/journey-REBN4TGQ.cjs +7 -0
- package/dist/{journey.d-BguKXj73.d.cts → journey.d-ClXO0xK8.d.cts} +8 -0
- package/dist/{journey.d-BguKXj73.d.ts → journey.d-ClXO0xK8.d.ts} +8 -0
- package/dist/message-HCA2KSH6.js +7 -0
- package/dist/message-J2SFQJNB.cjs +7 -0
- package/dist/{message-runtime-ITR7MPKT.cjs → message-runtime-CGFCT6FU.cjs} +2 -2
- package/dist/{message-runtime-YMKW2N3R.js → message-runtime-XDCFFLYK.js} +1 -1
- package/dist/{message.d-YEv1kmQd.d.cts → message.d-D3QUkBjg.d.cts} +230 -4
- package/dist/{message.d-YEv1kmQd.d.ts → message.d-D3QUkBjg.d.ts} +230 -4
- package/dist/sharing-KEWK5LNG.js +976 -0
- package/dist/sharing-MNDABPL7.js +7 -0
- package/dist/sharing-MR7ANOST.cjs +7 -0
- package/dist/sharing-WG4L7LH2.cjs +976 -0
- package/dist/sharing-runtime-OZGIZWL3.js +5 -0
- package/dist/sharing-runtime-VOFLBIFW.cjs +5 -0
- package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
- package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
- package/dist/{template-variables-VKDJJZUT.js → template-variables-6CLOG67C.js} +13 -0
- package/dist/{template-variables-OAYS2E3G.cjs → template-variables-I72B5WS6.cjs} +13 -0
- package/dist/{template-variables.d-Ch3H3zYf.d.cts → template-variables.d-Ble9TSBa.d.cts} +8 -2
- package/dist/{template-variables.d-Ch3H3zYf.d.ts → template-variables.d-Ble9TSBa.d.ts} +8 -2
- package/dist/workflow-CQOBZ25C.cjs +7 -0
- package/dist/workflow-G7VFCXY7.js +7 -0
- package/dist/workflow-definition-CVBYKAUY.cjs +7 -0
- package/dist/workflow-definition-GNAKDNG7.js +7 -0
- package/dist/{workflow-definition.d-CtmE-ymB.d.cts → workflow-definition.d-ByCJK9_x.d.cts} +16 -0
- package/dist/{workflow-definition.d-CtmE-ymB.d.ts → workflow-definition.d-ByCJK9_x.d.ts} +16 -0
- package/dist/{workflow-runtime-RLZO2OQB.js → workflow-runtime-DNTQDYPQ.js} +1 -1
- package/dist/{workflow-runtime-WCJ7NRTH.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
- package/dist/{workflow.d-DvhTpEtU.d.cts → workflow.d-pD8ISOg-.d.cts} +73 -1
- package/dist/{workflow.d-DvhTpEtU.d.ts → workflow.d-pD8ISOg-.d.ts} +73 -1
- package/docs/automation.md +141 -15
- package/docs/blueprint-manifest.md +854 -55
- package/docs/{data-management.md → data-governance.md} +113 -28
- package/docs/deduplication.md +122 -0
- package/docs/design.md +140 -82
- package/docs/email-settings.md +22 -0
- package/docs/entity.md +17 -0
- package/docs/erp-integration.md +837 -25
- package/docs/integration-toolkit.md +6048 -0
- package/docs/journey.md +6 -0
- package/docs/message.md +110 -1
- package/docs/sharing.md +1181 -0
- package/docs/template-variables.md +13 -0
- package/docs/workflow-definition.md +28 -14
- package/docs/workflow.md +231 -30
- package/package.json +29 -17
- package/definitions/access-token-runtime.json +0 -1
- package/definitions/access-token.json +0 -663
- package/definitions/address-runtime.json +0 -1
- package/definitions/address-suggestions-runtime.json +0 -1
- package/definitions/address-suggestions.json +0 -582
- package/definitions/address.json +0 -578
- package/definitions/ai-agents-runtime.json +0 -1
- package/definitions/ai-agents.json +0 -1711
- package/definitions/app-runtime.json +0 -1
- package/definitions/app.json +0 -4493
- package/definitions/audit-logs-runtime.json +0 -1
- package/definitions/audit-logs.json +0 -305
- package/definitions/automation-runtime.json +0 -1
- package/definitions/automation.json +0 -4819
- package/definitions/billing-runtime.json +0 -1
- package/definitions/billing.json +0 -837
- package/definitions/blueprint-manifest-runtime.json +0 -1
- package/definitions/blueprint-manifest.json +0 -3490
- package/definitions/consent-runtime.json +0 -1
- package/definitions/consent.json +0 -344
- package/definitions/customer-portal-runtime.json +0 -1
- package/definitions/customer-portal.json +0 -15676
- package/definitions/dashboard-runtime.json +0 -1
- package/definitions/dashboard.json +0 -484
- package/definitions/data-management-runtime.json +0 -1
- package/definitions/data-management.json +0 -978
- package/definitions/deduplication-runtime.json +0 -1
- package/definitions/deduplication.json +0 -183
- package/definitions/design-runtime.json +0 -1
- package/definitions/design.json +0 -1423
- package/definitions/document-runtime.json +0 -1
- package/definitions/document.json +0 -758
- package/definitions/email-settings-runtime.json +0 -1
- package/definitions/email-settings.json +0 -2748
- package/definitions/email-template-runtime.json +0 -1
- package/definitions/email-template.json +0 -1441
- package/definitions/entity-mapping-runtime.json +0 -1
- package/definitions/entity-mapping.json +0 -1642
- package/definitions/entity-runtime.json +0 -1
- package/definitions/entity.json +0 -10432
- package/definitions/environments-runtime.json +0 -1
- package/definitions/environments.json +0 -363
- package/definitions/erp-integration-runtime.json +0 -1
- package/definitions/erp-integration.json +0 -6780
- package/definitions/event-catalog-runtime.json +0 -1
- package/definitions/event-catalog.json +0 -1051
- package/definitions/file-runtime.json +0 -1
- package/definitions/file.json +0 -2842
- package/definitions/iban-runtime.json +0 -1
- package/definitions/iban.json +0 -132
- package/definitions/journey-runtime.json +0 -1
- package/definitions/journey.json +0 -2594
- package/definitions/kanban-runtime.json +0 -1
- package/definitions/kanban.json +0 -1505
- package/definitions/message-runtime.json +0 -1
- package/definitions/message.json +0 -2660
- package/definitions/metering-runtime.json +0 -1
- package/definitions/metering.json +0 -2321
- package/definitions/notes-runtime.json +0 -1
- package/definitions/notes.json +0 -1531
- package/definitions/notification-runtime.json +0 -1
- package/definitions/notification.json +0 -1425
- package/definitions/organization-runtime.json +0 -1
- package/definitions/organization.json +0 -1192
- package/definitions/partner-directory-runtime.json +0 -1
- package/definitions/partner-directory.json +0 -2284
- package/definitions/permissions-runtime.json +0 -1
- package/definitions/permissions.json +0 -1515
- package/definitions/pricing-runtime.json +0 -1
- package/definitions/pricing-tier-runtime.json +0 -1
- package/definitions/pricing-tier.json +0 -105
- package/definitions/pricing.json +0 -9884
- package/definitions/purpose-runtime.json +0 -1
- package/definitions/purpose.json +0 -524
- package/definitions/sandbox-runtime.json +0 -1
- package/definitions/sandbox.json +0 -453
- package/definitions/submission-runtime.json +0 -1
- package/definitions/submission.json +0 -313
- package/definitions/targeting-runtime.json +0 -1
- package/definitions/targeting.json +0 -1474
- package/definitions/template-variables-runtime.json +0 -1
- package/definitions/template-variables.json +0 -1408
- package/definitions/user-runtime.json +0 -1
- package/definitions/user.json +0 -2408
- package/definitions/validation-rules-runtime.json +0 -1
- package/definitions/validation-rules.json +0 -1491
- package/definitions/webhooks-runtime.json +0 -1
- package/definitions/webhooks.json +0 -1634
- package/definitions/workflow-definition-runtime.json +0 -1
- package/definitions/workflow-definition.json +0 -3288
- package/definitions/workflow-runtime.json +0 -1
- package/definitions/workflow.json +0 -4146
- package/dist/apis/data-management.cjs +0 -38
- package/dist/automation-3HGCK725.cjs +0 -7
- package/dist/automation-72VGEJCY.js +0 -7
- package/dist/blueprint-manifest-CXSCRQ5X.js +0 -7
- package/dist/blueprint-manifest-SHNZPK5O.cjs +0 -7
- package/dist/chunk-4BCQGZJB.cjs +0 -14
- package/dist/chunk-4G6LO3JY.cjs +0 -14
- package/dist/chunk-6GC363VV.js +0 -14
- package/dist/chunk-75ZWZM3L.js +0 -14
- package/dist/chunk-D32L2HMX.cjs +0 -14
- package/dist/chunk-O4JDWMYD.js +0 -14
- package/dist/chunk-RXMOHUBP.cjs +0 -14
- package/dist/chunk-ZKQ573B7.js +0 -14
- package/dist/data-management-3N3A3XBM.js +0 -7
- package/dist/data-management-YXFLQWLV.cjs +0 -7
- package/dist/data-management-runtime-DN7FGK7G.js +0 -5
- package/dist/data-management.d-BXS5jbJY.d.cts +0 -547
- package/dist/data-management.d-BXS5jbJY.d.ts +0 -547
- package/dist/deduplication-ECVAZVVA.cjs +0 -7
- package/dist/deduplication-GYIST22B.js +0 -7
- package/dist/deduplication.d-w_2aJD5f.d.cts +0 -113
- package/dist/deduplication.d-w_2aJD5f.d.ts +0 -113
- package/dist/design-KUVXMFFK.cjs +0 -7
- package/dist/design-YKBXRW5C.js +0 -7
- package/dist/design-runtime-Y3VGTQLP.cjs +0 -5
- package/dist/email-settings-EJ3DCPPN.js +0 -7
- package/dist/email-settings-TALOPLBC.cjs +0 -7
- package/dist/entity-M5F22DSS.cjs +0 -7
- package/dist/entity-RT4YRZDG.js +0 -7
- package/dist/erp-integration-6I4B4BIU.cjs +0 -7
- package/dist/erp-integration-G54BMGGE.js +0 -7
- package/dist/journey-HKN7QXCZ.cjs +0 -7
- package/dist/journey-UBZCOJNW.js +0 -7
- package/dist/message-3XZLJR6R.cjs +0 -7
- package/dist/message-ZNMCS5YH.js +0 -7
- package/dist/workflow-3LLURW3H.js +0 -7
- package/dist/workflow-RAGQDYXT.cjs +0 -7
- package/dist/workflow-definition-MBOMPMCG.js +0 -7
- package/dist/workflow-definition-SPAHD3HS.cjs +0 -7
|
@@ -0,0 +1,976 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/definitions/sharing.json
|
|
4
|
+
var openapi = "3.0.3";
|
|
5
|
+
var info = {
|
|
6
|
+
title: "Sharing API",
|
|
7
|
+
description: "REST API for managing partner sharing configurations and entity sharing.",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
contact: {
|
|
10
|
+
name: "epilot",
|
|
11
|
+
url: "https://docs.epilot.io",
|
|
12
|
+
email: "engineering@epilot.cloud"
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
var servers = [
|
|
16
|
+
{
|
|
17
|
+
url: "https://sharing-api.sls.epilot.io"
|
|
18
|
+
}
|
|
19
|
+
];
|
|
20
|
+
var tags = [
|
|
21
|
+
{
|
|
22
|
+
name: "Sharing Configuration",
|
|
23
|
+
description: "Manage partner sharing configurations"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "Entity Sharing",
|
|
27
|
+
description: "Share and unshare entities with partners"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "Entity Offering",
|
|
31
|
+
description: "Offer entities to partners (First Come First Served)"
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
var security = [
|
|
35
|
+
{
|
|
36
|
+
EpilotAuth: []
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
var paths = {
|
|
40
|
+
"/v1/sharing/configurations/{partner_org_id}": {
|
|
41
|
+
get: {
|
|
42
|
+
operationId: "getSharingConfiguration",
|
|
43
|
+
summary: "Get sharing configuration for a partner",
|
|
44
|
+
description: "Returns the sharing configuration for a specific partner organization, including shared entities, offered entities, and assigned users.",
|
|
45
|
+
tags: [
|
|
46
|
+
"Sharing Configuration"
|
|
47
|
+
],
|
|
48
|
+
parameters: [
|
|
49
|
+
{
|
|
50
|
+
$ref: "#/components/parameters/PartnerOrgIdPath"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
responses: {
|
|
54
|
+
"200": {
|
|
55
|
+
description: "Sharing configuration for the partner",
|
|
56
|
+
content: {
|
|
57
|
+
"application/json": {
|
|
58
|
+
schema: {
|
|
59
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"401": {
|
|
65
|
+
description: "Unauthorized"
|
|
66
|
+
},
|
|
67
|
+
"404": {
|
|
68
|
+
description: "No configuration found for the given partner"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
patch: {
|
|
73
|
+
operationId: "updateSharingConfiguration",
|
|
74
|
+
summary: "Update sharing configuration for a partner",
|
|
75
|
+
description: "Updates the sharing configuration for a partner, such as the user limit. Also patches the internal role if the user limit changes.",
|
|
76
|
+
tags: [
|
|
77
|
+
"Sharing Configuration"
|
|
78
|
+
],
|
|
79
|
+
parameters: [
|
|
80
|
+
{
|
|
81
|
+
$ref: "#/components/parameters/PartnerOrgIdPath"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
requestBody: {
|
|
85
|
+
required: true,
|
|
86
|
+
content: {
|
|
87
|
+
"application/json": {
|
|
88
|
+
schema: {
|
|
89
|
+
$ref: "#/components/schemas/UpdateSharingConfigurationPayload"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
responses: {
|
|
95
|
+
"200": {
|
|
96
|
+
description: "Updated sharing configuration",
|
|
97
|
+
content: {
|
|
98
|
+
"application/json": {
|
|
99
|
+
schema: {
|
|
100
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"400": {
|
|
106
|
+
description: "Bad request"
|
|
107
|
+
},
|
|
108
|
+
"401": {
|
|
109
|
+
description: "Unauthorized"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
delete: {
|
|
114
|
+
operationId: "deleteSharingConfiguration",
|
|
115
|
+
summary: "Delete sharing configuration for a partner",
|
|
116
|
+
description: "Deletes the sharing configuration for a partner, removing all shared and offered entity access.",
|
|
117
|
+
tags: [
|
|
118
|
+
"Sharing Configuration"
|
|
119
|
+
],
|
|
120
|
+
parameters: [
|
|
121
|
+
{
|
|
122
|
+
$ref: "#/components/parameters/PartnerOrgIdPath"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
responses: {
|
|
126
|
+
"200": {
|
|
127
|
+
description: "Deleted sharing configuration",
|
|
128
|
+
content: {
|
|
129
|
+
"application/json": {
|
|
130
|
+
schema: {
|
|
131
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"401": {
|
|
137
|
+
description: "Unauthorized"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"/v1/sharing/configurations/{partner_org_id}/role": {
|
|
143
|
+
put: {
|
|
144
|
+
operationId: "assignRoleToConfiguration",
|
|
145
|
+
summary: "Assign a template role to a partner sharing configuration",
|
|
146
|
+
description: "Assigns a template role to a partner sharing configuration. The role grants are copied into the configuration for entity access control.",
|
|
147
|
+
tags: [
|
|
148
|
+
"Sharing Configuration"
|
|
149
|
+
],
|
|
150
|
+
parameters: [
|
|
151
|
+
{
|
|
152
|
+
$ref: "#/components/parameters/PartnerOrgIdPath"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
requestBody: {
|
|
156
|
+
required: true,
|
|
157
|
+
content: {
|
|
158
|
+
"application/json": {
|
|
159
|
+
schema: {
|
|
160
|
+
$ref: "#/components/schemas/AssignRolePayload"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
responses: {
|
|
166
|
+
"200": {
|
|
167
|
+
description: "Sharing configuration with assigned role",
|
|
168
|
+
content: {
|
|
169
|
+
"application/json": {
|
|
170
|
+
schema: {
|
|
171
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"400": {
|
|
177
|
+
description: "Bad request"
|
|
178
|
+
},
|
|
179
|
+
"401": {
|
|
180
|
+
description: "Unauthorized"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"/v1/sharing/configurations": {
|
|
186
|
+
get: {
|
|
187
|
+
operationId: "getSharingConfigurations",
|
|
188
|
+
summary: "Get sharing configurations for multiple partners",
|
|
189
|
+
description: "Returns sharing configurations for multiple partner organizations in a single batch request.",
|
|
190
|
+
tags: [
|
|
191
|
+
"Sharing Configuration"
|
|
192
|
+
],
|
|
193
|
+
parameters: [
|
|
194
|
+
{
|
|
195
|
+
name: "partner_org_ids",
|
|
196
|
+
in: "query",
|
|
197
|
+
required: true,
|
|
198
|
+
description: "Comma-separated list of partner organization IDs",
|
|
199
|
+
schema: {
|
|
200
|
+
type: "array",
|
|
201
|
+
items: {
|
|
202
|
+
type: "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
style: "form",
|
|
206
|
+
explode: false
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
responses: {
|
|
210
|
+
"200": {
|
|
211
|
+
description: "List of sharing configurations",
|
|
212
|
+
content: {
|
|
213
|
+
"application/json": {
|
|
214
|
+
schema: {
|
|
215
|
+
type: "array",
|
|
216
|
+
items: {
|
|
217
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"401": {
|
|
224
|
+
description: "Unauthorized"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"/v1/sharing/configurations:search": {
|
|
230
|
+
post: {
|
|
231
|
+
operationId: "searchPartnerSharingConfigurations",
|
|
232
|
+
summary: "Search partner sharing configurations by entities",
|
|
233
|
+
description: "Searches for partner sharing configurations that have access to the given entities. Returns configurations with their shared and offered entity lists.",
|
|
234
|
+
tags: [
|
|
235
|
+
"Sharing Configuration"
|
|
236
|
+
],
|
|
237
|
+
requestBody: {
|
|
238
|
+
required: true,
|
|
239
|
+
content: {
|
|
240
|
+
"application/json": {
|
|
241
|
+
schema: {
|
|
242
|
+
$ref: "#/components/schemas/SearchSharingConfigurationsPayload"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
responses: {
|
|
248
|
+
"200": {
|
|
249
|
+
description: "Matching sharing configurations",
|
|
250
|
+
content: {
|
|
251
|
+
"application/json": {
|
|
252
|
+
schema: {
|
|
253
|
+
type: "array",
|
|
254
|
+
items: {
|
|
255
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"401": {
|
|
262
|
+
description: "Unauthorized"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"/v1/sharing/configurations/by-role/{template_role_id}": {
|
|
268
|
+
get: {
|
|
269
|
+
operationId: "getConfigurationsByTemplateRole",
|
|
270
|
+
summary: "Get sharing configurations that use a specific template role",
|
|
271
|
+
description: "Returns all partner sharing configurations that reference the given template role ID. Useful for checking role usage before deletion.",
|
|
272
|
+
tags: [
|
|
273
|
+
"Sharing Configuration"
|
|
274
|
+
],
|
|
275
|
+
parameters: [
|
|
276
|
+
{
|
|
277
|
+
name: "template_role_id",
|
|
278
|
+
in: "path",
|
|
279
|
+
required: true,
|
|
280
|
+
description: "Template role ID to search for",
|
|
281
|
+
schema: {
|
|
282
|
+
type: "string"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
responses: {
|
|
287
|
+
"200": {
|
|
288
|
+
description: "List of sharing configurations using this role",
|
|
289
|
+
content: {
|
|
290
|
+
"application/json": {
|
|
291
|
+
schema: {
|
|
292
|
+
type: "array",
|
|
293
|
+
items: {
|
|
294
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"401": {
|
|
301
|
+
description: "Unauthorized"
|
|
302
|
+
},
|
|
303
|
+
"403": {
|
|
304
|
+
description: "Forbidden"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"/v1/sharing/entities:share": {
|
|
310
|
+
post: {
|
|
311
|
+
operationId: "shareEntityWithPartners",
|
|
312
|
+
summary: "Share or unshare entities with partners",
|
|
313
|
+
description: "Shares or unshares top-level entities with one or more partner organizations. Publishes sharing events for downstream processing.",
|
|
314
|
+
tags: [
|
|
315
|
+
"Entity Sharing"
|
|
316
|
+
],
|
|
317
|
+
requestBody: {
|
|
318
|
+
required: true,
|
|
319
|
+
content: {
|
|
320
|
+
"application/json": {
|
|
321
|
+
schema: {
|
|
322
|
+
$ref: "#/components/schemas/SharingEntityPayload"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
responses: {
|
|
328
|
+
"200": {
|
|
329
|
+
description: "Updated partner sharing configurations",
|
|
330
|
+
content: {
|
|
331
|
+
"application/json": {
|
|
332
|
+
schema: {
|
|
333
|
+
type: "array",
|
|
334
|
+
items: {
|
|
335
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"400": {
|
|
342
|
+
description: "Bad request"
|
|
343
|
+
},
|
|
344
|
+
"401": {
|
|
345
|
+
description: "Unauthorized"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"/v1/sharing/entities:share-child": {
|
|
351
|
+
post: {
|
|
352
|
+
operationId: "shareChildEntityWithPartners",
|
|
353
|
+
summary: "Share or unshare child entities with partners",
|
|
354
|
+
description: "Shares or unshares child entities (entities that belong to an already-shared parent) with partner organizations.",
|
|
355
|
+
tags: [
|
|
356
|
+
"Entity Sharing"
|
|
357
|
+
],
|
|
358
|
+
requestBody: {
|
|
359
|
+
required: true,
|
|
360
|
+
content: {
|
|
361
|
+
"application/json": {
|
|
362
|
+
schema: {
|
|
363
|
+
$ref: "#/components/schemas/ShareChildEntityPayload"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
responses: {
|
|
369
|
+
"200": {
|
|
370
|
+
description: "Updated partner sharing configurations",
|
|
371
|
+
content: {
|
|
372
|
+
"application/json": {
|
|
373
|
+
schema: {
|
|
374
|
+
type: "array",
|
|
375
|
+
items: {
|
|
376
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"400": {
|
|
383
|
+
description: "Bad request"
|
|
384
|
+
},
|
|
385
|
+
"401": {
|
|
386
|
+
description: "Unauthorized"
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"/v1/sharing/entities:offer": {
|
|
392
|
+
post: {
|
|
393
|
+
operationId: "offerEntityToPartners",
|
|
394
|
+
summary: "Offer or unoffer entities to partners (First Come First Served)",
|
|
395
|
+
description: "Offers or unoffers entities to partner organizations using a First Come First Served model. Only one partner can accept each offered entity.",
|
|
396
|
+
tags: [
|
|
397
|
+
"Entity Offering"
|
|
398
|
+
],
|
|
399
|
+
requestBody: {
|
|
400
|
+
required: true,
|
|
401
|
+
content: {
|
|
402
|
+
"application/json": {
|
|
403
|
+
schema: {
|
|
404
|
+
$ref: "#/components/schemas/OfferEntityPayload"
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
responses: {
|
|
410
|
+
"200": {
|
|
411
|
+
description: "Updated partner sharing configurations",
|
|
412
|
+
content: {
|
|
413
|
+
"application/json": {
|
|
414
|
+
schema: {
|
|
415
|
+
type: "array",
|
|
416
|
+
items: {
|
|
417
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"400": {
|
|
424
|
+
description: "Bad request"
|
|
425
|
+
},
|
|
426
|
+
"401": {
|
|
427
|
+
description: "Unauthorized"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"/v1/sharing/offers/status": {
|
|
433
|
+
get: {
|
|
434
|
+
operationId: "getOfferStatus",
|
|
435
|
+
summary: "Get the status of an entity offer (public, no auth required)",
|
|
436
|
+
description: "Returns the current status of an entity offer (pending, accepted, expired). This is a public endpoint used from partner-facing pages without authentication.",
|
|
437
|
+
tags: [
|
|
438
|
+
"Entity Offering"
|
|
439
|
+
],
|
|
440
|
+
security: [],
|
|
441
|
+
parameters: [
|
|
442
|
+
{
|
|
443
|
+
name: "partner_org_id",
|
|
444
|
+
in: "query",
|
|
445
|
+
required: true,
|
|
446
|
+
schema: {
|
|
447
|
+
type: "string"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: "sharing_org_id",
|
|
452
|
+
in: "query",
|
|
453
|
+
required: true,
|
|
454
|
+
schema: {
|
|
455
|
+
type: "string"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: "entity_id",
|
|
460
|
+
in: "query",
|
|
461
|
+
required: true,
|
|
462
|
+
schema: {
|
|
463
|
+
type: "string"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
],
|
|
467
|
+
responses: {
|
|
468
|
+
"200": {
|
|
469
|
+
description: "Offer status",
|
|
470
|
+
content: {
|
|
471
|
+
"application/json": {
|
|
472
|
+
schema: {
|
|
473
|
+
$ref: "#/components/schemas/OfferStatus"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"400": {
|
|
479
|
+
description: "Bad request"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"/v1/sharing/offers:accept": {
|
|
485
|
+
post: {
|
|
486
|
+
operationId: "acceptOffer",
|
|
487
|
+
summary: "Accept an entity offer (public, no auth required)",
|
|
488
|
+
description: "Accepts an entity offer on behalf of a partner organization. This is a public endpoint used from partner-facing pages without authentication. Only one partner can accept each offer.",
|
|
489
|
+
tags: [
|
|
490
|
+
"Entity Offering"
|
|
491
|
+
],
|
|
492
|
+
security: [],
|
|
493
|
+
requestBody: {
|
|
494
|
+
required: true,
|
|
495
|
+
content: {
|
|
496
|
+
"application/json": {
|
|
497
|
+
schema: {
|
|
498
|
+
$ref: "#/components/schemas/AcceptOfferPayload"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
responses: {
|
|
504
|
+
"200": {
|
|
505
|
+
description: "Partner sharing configuration after accepting the offer",
|
|
506
|
+
content: {
|
|
507
|
+
"application/json": {
|
|
508
|
+
schema: {
|
|
509
|
+
$ref: "#/components/schemas/PartnerSharingConfig"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"400": {
|
|
515
|
+
description: "Bad request"
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
var components = {
|
|
522
|
+
securitySchemes: {
|
|
523
|
+
EpilotAuth: {
|
|
524
|
+
type: "http",
|
|
525
|
+
scheme: "bearer",
|
|
526
|
+
bearerFormat: "JWT"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
parameters: {
|
|
530
|
+
PartnerOrgIdPath: {
|
|
531
|
+
name: "partner_org_id",
|
|
532
|
+
in: "path",
|
|
533
|
+
required: true,
|
|
534
|
+
description: "Partner organization ID",
|
|
535
|
+
schema: {
|
|
536
|
+
type: "string"
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
schemas: {
|
|
541
|
+
PartnerSharingConfig: {
|
|
542
|
+
type: "object",
|
|
543
|
+
required: [
|
|
544
|
+
"sharing_org_id",
|
|
545
|
+
"partner_org_id"
|
|
546
|
+
],
|
|
547
|
+
properties: {
|
|
548
|
+
sharing_org_id: {
|
|
549
|
+
type: "string",
|
|
550
|
+
description: "ID of the organization that is sharing the entities"
|
|
551
|
+
},
|
|
552
|
+
partner_org_id: {
|
|
553
|
+
type: "string",
|
|
554
|
+
description: "ID of the organization that receives access to the entities"
|
|
555
|
+
},
|
|
556
|
+
users: {
|
|
557
|
+
type: "array",
|
|
558
|
+
items: {
|
|
559
|
+
type: "string"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
partner_status: {
|
|
563
|
+
$ref: "#/components/schemas/PartnerStatus"
|
|
564
|
+
},
|
|
565
|
+
entities: {
|
|
566
|
+
type: "array",
|
|
567
|
+
items: {
|
|
568
|
+
$ref: "#/components/schemas/EntityResource"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
offered_entities: {
|
|
572
|
+
type: "array",
|
|
573
|
+
items: {
|
|
574
|
+
$ref: "#/components/schemas/OfferEntityResource"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
template_role_id: {
|
|
578
|
+
type: "string"
|
|
579
|
+
},
|
|
580
|
+
template_role_grants: {
|
|
581
|
+
type: "array",
|
|
582
|
+
items: {
|
|
583
|
+
$ref: "#/components/schemas/TemplateRoleGrant"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
generated_role_id: {
|
|
587
|
+
type: "string"
|
|
588
|
+
},
|
|
589
|
+
user_limit: {
|
|
590
|
+
type: "integer",
|
|
591
|
+
nullable: true
|
|
592
|
+
},
|
|
593
|
+
created_at: {
|
|
594
|
+
type: "string"
|
|
595
|
+
},
|
|
596
|
+
updated_at: {
|
|
597
|
+
type: "string"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
PartnerStatus: {
|
|
602
|
+
type: "string",
|
|
603
|
+
enum: [
|
|
604
|
+
"REGISTERED",
|
|
605
|
+
"UNREGISTERED"
|
|
606
|
+
]
|
|
607
|
+
},
|
|
608
|
+
EntityResource: {
|
|
609
|
+
type: "object",
|
|
610
|
+
required: [
|
|
611
|
+
"schema",
|
|
612
|
+
"entity_id"
|
|
613
|
+
],
|
|
614
|
+
properties: {
|
|
615
|
+
schema: {
|
|
616
|
+
type: "string"
|
|
617
|
+
},
|
|
618
|
+
entity_id: {
|
|
619
|
+
type: "string"
|
|
620
|
+
},
|
|
621
|
+
parent_entity_id: {
|
|
622
|
+
type: "string",
|
|
623
|
+
nullable: true
|
|
624
|
+
},
|
|
625
|
+
offer_accepted: {
|
|
626
|
+
type: "boolean"
|
|
627
|
+
},
|
|
628
|
+
updated_at: {
|
|
629
|
+
type: "string"
|
|
630
|
+
},
|
|
631
|
+
created_at: {
|
|
632
|
+
type: "string"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
OfferEntityResource: {
|
|
637
|
+
type: "object",
|
|
638
|
+
required: [
|
|
639
|
+
"schema",
|
|
640
|
+
"entity_id",
|
|
641
|
+
"offer_status"
|
|
642
|
+
],
|
|
643
|
+
properties: {
|
|
644
|
+
schema: {
|
|
645
|
+
type: "string"
|
|
646
|
+
},
|
|
647
|
+
entity_id: {
|
|
648
|
+
type: "string"
|
|
649
|
+
},
|
|
650
|
+
parent_entity_id: {
|
|
651
|
+
type: "string",
|
|
652
|
+
nullable: true
|
|
653
|
+
},
|
|
654
|
+
offer_status: {
|
|
655
|
+
$ref: "#/components/schemas/OfferStatusEnum"
|
|
656
|
+
},
|
|
657
|
+
offered_by_user_id: {
|
|
658
|
+
type: "string"
|
|
659
|
+
},
|
|
660
|
+
updated_at: {
|
|
661
|
+
type: "string"
|
|
662
|
+
},
|
|
663
|
+
created_at: {
|
|
664
|
+
type: "string"
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
TemplateRoleGrant: {
|
|
669
|
+
type: "object",
|
|
670
|
+
required: [
|
|
671
|
+
"action",
|
|
672
|
+
"resource"
|
|
673
|
+
],
|
|
674
|
+
properties: {
|
|
675
|
+
action: {
|
|
676
|
+
type: "string"
|
|
677
|
+
},
|
|
678
|
+
resource: {
|
|
679
|
+
type: "string"
|
|
680
|
+
},
|
|
681
|
+
effect: {
|
|
682
|
+
type: "string",
|
|
683
|
+
description: "allow or deny"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
OfferStatus: {
|
|
688
|
+
type: "object",
|
|
689
|
+
required: [
|
|
690
|
+
"entity",
|
|
691
|
+
"offer_status"
|
|
692
|
+
],
|
|
693
|
+
properties: {
|
|
694
|
+
entity: {
|
|
695
|
+
$ref: "#/components/schemas/PartialEntity"
|
|
696
|
+
},
|
|
697
|
+
offer_status: {
|
|
698
|
+
$ref: "#/components/schemas/OfferStatusEnum"
|
|
699
|
+
},
|
|
700
|
+
status_changed_at: {
|
|
701
|
+
type: "string"
|
|
702
|
+
},
|
|
703
|
+
offered_at: {
|
|
704
|
+
type: "string"
|
|
705
|
+
},
|
|
706
|
+
accepted_by_org_id: {
|
|
707
|
+
type: "string"
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
PartialEntity: {
|
|
712
|
+
type: "object",
|
|
713
|
+
required: [
|
|
714
|
+
"_schema",
|
|
715
|
+
"_id",
|
|
716
|
+
"_title",
|
|
717
|
+
"_created_at",
|
|
718
|
+
"_updated_at"
|
|
719
|
+
],
|
|
720
|
+
properties: {
|
|
721
|
+
_schema: {
|
|
722
|
+
type: "string"
|
|
723
|
+
},
|
|
724
|
+
_id: {
|
|
725
|
+
type: "string"
|
|
726
|
+
},
|
|
727
|
+
_title: {
|
|
728
|
+
type: "string"
|
|
729
|
+
},
|
|
730
|
+
_created_at: {
|
|
731
|
+
type: "string"
|
|
732
|
+
},
|
|
733
|
+
_updated_at: {
|
|
734
|
+
type: "string"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
OfferStatusEnum: {
|
|
739
|
+
type: "string",
|
|
740
|
+
enum: [
|
|
741
|
+
"EXPIRED",
|
|
742
|
+
"UNAVAILABLE",
|
|
743
|
+
"PENDING",
|
|
744
|
+
"DECLINED",
|
|
745
|
+
"ACCEPTED"
|
|
746
|
+
]
|
|
747
|
+
},
|
|
748
|
+
EntityResourceInput: {
|
|
749
|
+
type: "object",
|
|
750
|
+
required: [
|
|
751
|
+
"schema",
|
|
752
|
+
"entity_id"
|
|
753
|
+
],
|
|
754
|
+
properties: {
|
|
755
|
+
schema: {
|
|
756
|
+
type: "string"
|
|
757
|
+
},
|
|
758
|
+
entity_id: {
|
|
759
|
+
type: "string"
|
|
760
|
+
},
|
|
761
|
+
parent_entity_id: {
|
|
762
|
+
type: "string",
|
|
763
|
+
nullable: true
|
|
764
|
+
},
|
|
765
|
+
offer_accepted: {
|
|
766
|
+
type: "boolean"
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
OfferEntityResourceInput: {
|
|
771
|
+
type: "object",
|
|
772
|
+
required: [
|
|
773
|
+
"schema",
|
|
774
|
+
"entity_id"
|
|
775
|
+
],
|
|
776
|
+
properties: {
|
|
777
|
+
schema: {
|
|
778
|
+
type: "string"
|
|
779
|
+
},
|
|
780
|
+
entity_id: {
|
|
781
|
+
type: "string"
|
|
782
|
+
},
|
|
783
|
+
parent_entity_id: {
|
|
784
|
+
type: "string",
|
|
785
|
+
nullable: true
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
UpdateSharingConfigurationPayload: {
|
|
790
|
+
type: "object",
|
|
791
|
+
properties: {
|
|
792
|
+
user_limit: {
|
|
793
|
+
type: "integer",
|
|
794
|
+
nullable: true
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
AssignRolePayload: {
|
|
799
|
+
type: "object",
|
|
800
|
+
required: [
|
|
801
|
+
"template_role_id"
|
|
802
|
+
],
|
|
803
|
+
properties: {
|
|
804
|
+
template_role_id: {
|
|
805
|
+
type: "string"
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
SearchSharingConfigurationsPayload: {
|
|
810
|
+
type: "object",
|
|
811
|
+
required: [
|
|
812
|
+
"entities"
|
|
813
|
+
],
|
|
814
|
+
properties: {
|
|
815
|
+
entities: {
|
|
816
|
+
type: "array",
|
|
817
|
+
items: {
|
|
818
|
+
$ref: "#/components/schemas/EntityResourceInput"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
SharingEntityPayload: {
|
|
824
|
+
type: "object",
|
|
825
|
+
required: [
|
|
826
|
+
"share",
|
|
827
|
+
"unshare"
|
|
828
|
+
],
|
|
829
|
+
properties: {
|
|
830
|
+
share: {
|
|
831
|
+
type: "array",
|
|
832
|
+
items: {
|
|
833
|
+
$ref: "#/components/schemas/PartnerEntitiesInput"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
unshare: {
|
|
837
|
+
type: "array",
|
|
838
|
+
items: {
|
|
839
|
+
$ref: "#/components/schemas/PartnerEntitiesInput"
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
PartnerEntitiesInput: {
|
|
845
|
+
type: "object",
|
|
846
|
+
required: [
|
|
847
|
+
"partner_org_id",
|
|
848
|
+
"entities"
|
|
849
|
+
],
|
|
850
|
+
properties: {
|
|
851
|
+
partner_org_id: {
|
|
852
|
+
type: "string"
|
|
853
|
+
},
|
|
854
|
+
entities: {
|
|
855
|
+
type: "array",
|
|
856
|
+
items: {
|
|
857
|
+
$ref: "#/components/schemas/EntityResourceInput"
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
ShareChildEntityPayload: {
|
|
863
|
+
type: "object",
|
|
864
|
+
required: [
|
|
865
|
+
"share",
|
|
866
|
+
"unshare"
|
|
867
|
+
],
|
|
868
|
+
properties: {
|
|
869
|
+
share: {
|
|
870
|
+
type: "array",
|
|
871
|
+
items: {
|
|
872
|
+
$ref: "#/components/schemas/PartnerEntityInput"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
unshare: {
|
|
876
|
+
type: "array",
|
|
877
|
+
items: {
|
|
878
|
+
$ref: "#/components/schemas/PartnerEntityInput"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
PartnerEntityInput: {
|
|
884
|
+
type: "object",
|
|
885
|
+
required: [
|
|
886
|
+
"entity",
|
|
887
|
+
"partner_org_id"
|
|
888
|
+
],
|
|
889
|
+
properties: {
|
|
890
|
+
entity: {
|
|
891
|
+
$ref: "#/components/schemas/EntityResourceInput"
|
|
892
|
+
},
|
|
893
|
+
partner_org_id: {
|
|
894
|
+
type: "string"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
OfferEntityPayload: {
|
|
899
|
+
type: "object",
|
|
900
|
+
required: [
|
|
901
|
+
"offer",
|
|
902
|
+
"unoffer"
|
|
903
|
+
],
|
|
904
|
+
properties: {
|
|
905
|
+
offer: {
|
|
906
|
+
type: "array",
|
|
907
|
+
items: {
|
|
908
|
+
$ref: "#/components/schemas/PartnerOfferedEntitiesInput"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
unoffer: {
|
|
912
|
+
type: "array",
|
|
913
|
+
items: {
|
|
914
|
+
$ref: "#/components/schemas/PartnerOfferedEntitiesInput"
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
PartnerOfferedEntitiesInput: {
|
|
920
|
+
type: "object",
|
|
921
|
+
required: [
|
|
922
|
+
"partner_org_id",
|
|
923
|
+
"offered_entities"
|
|
924
|
+
],
|
|
925
|
+
properties: {
|
|
926
|
+
partner_org_id: {
|
|
927
|
+
type: "string"
|
|
928
|
+
},
|
|
929
|
+
offered_entities: {
|
|
930
|
+
type: "array",
|
|
931
|
+
items: {
|
|
932
|
+
$ref: "#/components/schemas/OfferEntityResourceInput"
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
AcceptOfferPayload: {
|
|
938
|
+
type: "object",
|
|
939
|
+
required: [
|
|
940
|
+
"partner_org_id",
|
|
941
|
+
"sharing_org_id",
|
|
942
|
+
"entity_id"
|
|
943
|
+
],
|
|
944
|
+
properties: {
|
|
945
|
+
partner_org_id: {
|
|
946
|
+
type: "string"
|
|
947
|
+
},
|
|
948
|
+
sharing_org_id: {
|
|
949
|
+
type: "string"
|
|
950
|
+
},
|
|
951
|
+
entity_id: {
|
|
952
|
+
type: "string"
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
var sharing_default = {
|
|
959
|
+
openapi,
|
|
960
|
+
info,
|
|
961
|
+
servers,
|
|
962
|
+
tags,
|
|
963
|
+
security,
|
|
964
|
+
paths,
|
|
965
|
+
components
|
|
966
|
+
};
|
|
967
|
+
export {
|
|
968
|
+
components,
|
|
969
|
+
sharing_default as default,
|
|
970
|
+
info,
|
|
971
|
+
openapi,
|
|
972
|
+
paths,
|
|
973
|
+
security,
|
|
974
|
+
servers,
|
|
975
|
+
tags
|
|
976
|
+
};
|