@wildo-ai/external-connectors-models 1.1.2 → 1.1.4

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.
Files changed (99) hide show
  1. package/dist/esm/.native.tsbuildinfo +1 -0
  2. package/dist/esm/companion-exports.d.ts.map +1 -1
  3. package/dist/esm/core/commons.external-connectors-models.schemas.d.ts +45 -7
  4. package/dist/esm/core/commons.external-connectors-models.schemas.d.ts.map +1 -1
  5. package/dist/esm/core/commons.external-connectors-models.schemas.js +42 -5
  6. package/dist/esm/core/commons.external-connectors-models.schemas.js.map +1 -1
  7. package/dist/esm/core/operation-classification.external-connectors-models.schemas.d.ts +13 -0
  8. package/dist/esm/core/operation-classification.external-connectors-models.schemas.d.ts.map +1 -0
  9. package/dist/esm/core/operation-classification.external-connectors-models.schemas.js +14 -0
  10. package/dist/esm/core/operation-classification.external-connectors-models.schemas.js.map +1 -0
  11. package/dist/esm/core/protocols.external-connectors-models.schemas.d.ts +0 -25
  12. package/dist/esm/core/protocols.external-connectors-models.schemas.d.ts.map +1 -1
  13. package/dist/esm/core/protocols.external-connectors-models.schemas.js.map +1 -1
  14. package/dist/esm/core/security.external-connectors-models.schemas.d.ts +132 -2
  15. package/dist/esm/core/security.external-connectors-models.schemas.d.ts.map +1 -1
  16. package/dist/esm/core/security.external-connectors-models.schemas.js +164 -0
  17. package/dist/esm/core/security.external-connectors-models.schemas.js.map +1 -1
  18. package/dist/esm/index.d.ts +3 -9
  19. package/dist/esm/index.d.ts.map +1 -1
  20. package/dist/esm/index.js +6 -10
  21. package/dist/esm/index.js.map +1 -1
  22. package/dist/esm/protocols/agent-client-protocol.external-connectors-models.schemas.d.ts +251 -4
  23. package/dist/esm/protocols/agent-client-protocol.external-connectors-models.schemas.d.ts.map +1 -1
  24. package/dist/esm/protocols/agent-client-protocol.external-connectors-models.schemas.js +307 -2
  25. package/dist/esm/protocols/agent-client-protocol.external-connectors-models.schemas.js.map +1 -1
  26. package/dist/esm/protocols/billing.standard-interface.schemas.d.ts +154 -0
  27. package/dist/esm/protocols/billing.standard-interface.schemas.d.ts.map +1 -1
  28. package/dist/esm/protocols/billing.standard-interface.schemas.js +49 -0
  29. package/dist/esm/protocols/billing.standard-interface.schemas.js.map +1 -1
  30. package/dist/esm/protocols/document-extraction.external-connectors-models.schemas.d.ts +72 -0
  31. package/dist/esm/protocols/document-extraction.external-connectors-models.schemas.d.ts.map +1 -1
  32. package/dist/esm/protocols/document-extraction.external-connectors-models.schemas.js +77 -2
  33. package/dist/esm/protocols/document-extraction.external-connectors-models.schemas.js.map +1 -1
  34. package/dist/esm/protocols/email.external-connectors-models.schemas.d.ts +1 -1
  35. package/dist/esm/protocols/email.external-connectors-models.schemas.d.ts.map +1 -1
  36. package/dist/esm/protocols/email.standard-interface.schemas.d.ts.map +1 -1
  37. package/dist/esm/protocols/embeddings.external-connectors-models.schemas.d.ts.map +1 -1
  38. package/dist/esm/protocols/frontend.external-connectors-models.schemas.d.ts.map +1 -1
  39. package/dist/esm/{features/hooks.external-connectors-models.schemas.d.ts → protocols/hooks-capability.external-connectors-models.schemas.d.ts} +1 -1
  40. package/dist/esm/protocols/hooks-capability.external-connectors-models.schemas.d.ts.map +1 -0
  41. package/dist/esm/{features/hooks.external-connectors-models.schemas.js → protocols/hooks-capability.external-connectors-models.schemas.js} +1 -1
  42. package/dist/esm/protocols/hooks-capability.external-connectors-models.schemas.js.map +1 -0
  43. package/dist/esm/protocols/hooks.external-connectors-models.schemas.d.ts.map +1 -1
  44. package/dist/esm/protocols/image.external-connectors-models.schemas.d.ts.map +1 -1
  45. package/dist/esm/protocols/llm.external-connectors-models.schemas.d.ts +36 -19
  46. package/dist/esm/protocols/llm.external-connectors-models.schemas.d.ts.map +1 -1
  47. package/dist/esm/protocols/llm.external-connectors-models.schemas.js +90 -28
  48. package/dist/esm/protocols/llm.external-connectors-models.schemas.js.map +1 -1
  49. package/dist/esm/protocols/oauth2.external-connectors-models.schemas.d.ts +2 -2
  50. package/dist/esm/protocols/oauth2.external-connectors-models.schemas.d.ts.map +1 -1
  51. package/dist/esm/protocols/rest-api.external-connectors-models.schemas.d.ts +1 -89
  52. package/dist/esm/protocols/rest-api.external-connectors-models.schemas.d.ts.map +1 -1
  53. package/dist/esm/protocols/rest-api.external-connectors-models.schemas.js +1 -83
  54. package/dist/esm/protocols/rest-api.external-connectors-models.schemas.js.map +1 -1
  55. package/dist/esm/protocols/rest-operations.external-connectors-models.schemas.d.ts +370 -0
  56. package/dist/esm/protocols/rest-operations.external-connectors-models.schemas.d.ts.map +1 -0
  57. package/dist/esm/protocols/rest-operations.external-connectors-models.schemas.js +89 -0
  58. package/dist/esm/protocols/rest-operations.external-connectors-models.schemas.js.map +1 -0
  59. package/dist/esm/protocols/sms.external-connectors-models.schemas.d.ts.map +1 -1
  60. package/dist/esm/protocols/sms.standard-interface.schemas.d.ts +66 -6
  61. package/dist/esm/protocols/sms.standard-interface.schemas.d.ts.map +1 -1
  62. package/dist/esm/protocols/sms.standard-interface.schemas.js +71 -1
  63. package/dist/esm/protocols/sms.standard-interface.schemas.js.map +1 -1
  64. package/dist/tsconfig.build.tsbuildinfo +1 -1
  65. package/package.json +2 -2
  66. package/dist/esm/features/core.external-connectors-models.schemas.d.ts +0 -63
  67. package/dist/esm/features/core.external-connectors-models.schemas.d.ts.map +0 -1
  68. package/dist/esm/features/core.external-connectors-models.schemas.js +0 -101
  69. package/dist/esm/features/core.external-connectors-models.schemas.js.map +0 -1
  70. package/dist/esm/features/email.external-connectors-models.schemas.d.ts +0 -181
  71. package/dist/esm/features/email.external-connectors-models.schemas.d.ts.map +0 -1
  72. package/dist/esm/features/email.external-connectors-models.schemas.js +0 -34
  73. package/dist/esm/features/email.external-connectors-models.schemas.js.map +0 -1
  74. package/dist/esm/features/hooks.external-connectors-models.schemas.d.ts.map +0 -1
  75. package/dist/esm/features/hooks.external-connectors-models.schemas.js.map +0 -1
  76. package/dist/esm/features/sms.external-connectors-models.schemas.d.ts +0 -21
  77. package/dist/esm/features/sms.external-connectors-models.schemas.d.ts.map +0 -1
  78. package/dist/esm/features/sms.external-connectors-models.schemas.js +0 -8
  79. package/dist/esm/features/sms.external-connectors-models.schemas.js.map +0 -1
  80. package/dist/esm/protocols/a2a.external-connectors-models.schemas.d.ts +0 -57
  81. package/dist/esm/protocols/a2a.external-connectors-models.schemas.d.ts.map +0 -1
  82. package/dist/esm/protocols/a2a.external-connectors-models.schemas.js +0 -73
  83. package/dist/esm/protocols/a2a.external-connectors-models.schemas.js.map +0 -1
  84. package/dist/esm/protocols/git.external-connectors-models.schemas.d.ts +0 -14
  85. package/dist/esm/protocols/git.external-connectors-models.schemas.d.ts.map +0 -1
  86. package/dist/esm/protocols/git.external-connectors-models.schemas.js +0 -9
  87. package/dist/esm/protocols/git.external-connectors-models.schemas.js.map +0 -1
  88. package/dist/esm/protocols/grpc.external-connectors-models.schemas.d.ts +0 -14
  89. package/dist/esm/protocols/grpc.external-connectors-models.schemas.d.ts.map +0 -1
  90. package/dist/esm/protocols/grpc.external-connectors-models.schemas.js +0 -9
  91. package/dist/esm/protocols/grpc.external-connectors-models.schemas.js.map +0 -1
  92. package/dist/esm/protocols/mcp.external-connectors-models.schemas.d.ts +0 -60
  93. package/dist/esm/protocols/mcp.external-connectors-models.schemas.d.ts.map +0 -1
  94. package/dist/esm/protocols/mcp.external-connectors-models.schemas.js +0 -35
  95. package/dist/esm/protocols/mcp.external-connectors-models.schemas.js.map +0 -1
  96. package/dist/esm/protocols/saml.external-connectors-models.schemas.d.ts +0 -135
  97. package/dist/esm/protocols/saml.external-connectors-models.schemas.d.ts.map +0 -1
  98. package/dist/esm/protocols/saml.external-connectors-models.schemas.js +0 -9
  99. package/dist/esm/protocols/saml.external-connectors-models.schemas.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":"7.0.2","root":[[135,162]],"packageJsons":["../../../package.json","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/package.json","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/package.json","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/package.json","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ar.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/az.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/be.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/bg.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ca.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/cs.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/da.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/de.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/en.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/eo.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/es.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fa.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fi.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr-ca.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/he.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hu.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hy.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/id.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/is.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/it.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ja.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ka.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/kh.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/km.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ko.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/mk.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ms.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/nl.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/no.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ota.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ps.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pl.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pt.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ru.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sl.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sv.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ta.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/th.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/tr.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ua.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uk.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ur.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uz.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/vi.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-cn.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-tw.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/yo.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/index.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/index.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/checks.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.d.cts","../../../../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/index.d.cts","../../../src/core/oauth2.enums.ts","../../../src/core/security.external-connectors-models.schemas.ts","../../../src/core/commons.external-connectors-models.schemas.ts","../../../src/core/operations.external-connectors-models.schemas.ts","../../../src/protocols/a2a.external-connectors-models.schemas.ts","../../../src/protocols/cli-runtime.external-connectors-models.schemas.ts","../../../src/protocols/email.external-connectors-models.schemas.ts","../../../src/protocols/frontend.external-connectors-models.schemas.ts","../../../src/protocols/git.external-connectors-models.schemas.ts","../../../src/protocols/grpc.external-connectors-models.schemas.ts","../../../src/protocols/hooks.external-connectors-models.schemas.ts","../../../src/protocols/llm.external-connectors-models.schemas.ts","../../../src/protocols/mcp.external-connectors-models.schemas.ts","../../../src/protocols/oauth2.external-connectors-models.schemas.ts","../../../src/protocols/rest-api.external-connectors-models.schemas.ts","../../../src/protocols/saml.external-connectors-models.schemas.ts","../../../src/protocols/sms.external-connectors-models.schemas.ts","../../../src/core/protocols.external-connectors-models.schemas.ts","../../../src/features/core.external-connectors-models.schemas.ts","../../../src/protocols/sms.standard-interface.schemas.ts","../../../src/features/sms.external-connectors-models.schemas.ts","../../../src/protocols/billing.standard-interface.schemas.ts","../../../src/protocols/email.standard-interface.schemas.ts","../../../src/features/email.external-connectors-models.schemas.ts","../../../src/features/hooks.external-connectors-models.schemas.ts","../../../src/protocols/image.external-connectors-models.schemas.ts","../../../src/index.ts","../../../src/companion-exports.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7",{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},"5f3c015bce4302b247acedb9ec20e302","a9fe29dcdd4288cacf574947747a4572","daada721cfdc43aa8e7c2e2d14d760de","c4d7f2ab9358166b1815281a9e767232","2af86ade36e4051944f46da0fd1df525","90eb781c9a8145090ce17290f0744bb6","a3ddf6412484d665d76145ba7fa319a8","b53e5eafe089103ad7be4f243fb517d4","344aa18a1a1f48b6d51fa564e2910864","ffd8c3d2e39447925561777d1ebcdc02","2b76267afeb2e83dff758e3fba2faa8a","662eae47724ed2ca873fb608034d0645","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","ee9981834b9f6f6958887811182849e8","360c84ef5634445ed4b1111f041b6212","a21f1b172546b6a64cc7ddea394b54ea","937e86ab76f06c8dbd613be6555c03b6","8bdf05c98551836db89f23d60d176f56","5b3f18777c97e7ed444a39661c4462ba","cd3b63580b271a0e93649c0d92a1b098","1cc59f020b9d62d875bdb28a6e2f745b","a06c5977df8ff3f289f16a7505c8d539","652a1f711ddcd6149df9fc04c2d77ec7","f04158c558df8c51d46a1fb44c832c1c","d1ab6402ad42100de1cf3f5d15aa9d27","96b06af537c71de0a80e9ed880958afd","dec40354e62d8ca81f5996c1760bc6da","a9356de7c324c6f49c15587032b1f65f","9db07004a5d271a5a4c3f499ed8a033f","ec7a3f5e189221b1a18bed55a592c89d",{"version":"75947039815e8bfd7771e2d60ee29c53","signature":"aa11c989f3cfc0da440dee3a8ced5e33","impliedNodeFormat":1},{"version":"e7fcfac223e3d273d583727042cd893b","signature":"a29f2c5d1343761f3599d627fbaafd9c","impliedNodeFormat":1},{"version":"42bc747d81fff29ce908e9a312b3cfe1","signature":"c090ac74c3ceff1cf0f3cdde9b0e7579","impliedNodeFormat":1},{"version":"064f483b88a5694bbc782c6fe557e4af","signature":"345e4f5a65ebc16626c700972f44a504","impliedNodeFormat":1},{"version":"ec05ce778f3995af2754cf738d0b31cb","signature":"f15c30360cf6298dca9660917722a673","impliedNodeFormat":1},{"version":"63af54512121dd7bb4bb9c0c675c868e","signature":"ebf143a0d00c42df2bbdb2e01a0f6db2","impliedNodeFormat":1},{"version":"1cd68d92853e606b37e71e698895b7a0","signature":"f1833b796a32ae56e74833584eab4db4","impliedNodeFormat":1},{"version":"a8993e93c8ac926afcc4e06e3a8bd951","signature":"153967c8b6e4f0a5460f062f1a7cdd91","impliedNodeFormat":1},{"version":"109b75cb320dc5b1269291155b8f9887","signature":"108f18dd1ee12b130d66d4aad0efa35a","impliedNodeFormat":1},{"version":"a580bc2377aa67f693151bdd5609e570","signature":"2b25f4bd91933b72f4e07f21635ea2aa","impliedNodeFormat":1},{"version":"2bf0dcac41d0799477c0ec11fdc5f38d","signature":"611c1314fd0838d1e3f165512401e4e0","impliedNodeFormat":1},{"version":"dcdb1cba1b851d914c856ddbc6bc2a79","signature":"733d76be06e6c389785b3366d9fd2792","impliedNodeFormat":1},{"version":"a84eebd37f37f0ea4355d05bd56f9f66","signature":"d5502a1368cb41952e1b95da73f243a0","impliedNodeFormat":1},{"version":"839035fb9eef0e4c0ae57794cfddd017","signature":"ffe7faec5bf7ecd97a918925212bbf9b","impliedNodeFormat":1},{"version":"a295813e7340b0151571164cd36add39","signature":"a352bb198260226119d43cd0646a0338","impliedNodeFormat":1},{"version":"4f2ea3751d0fd68feb3f8c69befa2b4c","signature":"9dc5b1cbd25361f5c7c5ed7b4e62916e","impliedNodeFormat":1},{"version":"6d18d2cb414ef6bbc564b8ee98b923a0","signature":"70ae0f9e955d6c7b93af6be06d392a8c","impliedNodeFormat":1},{"version":"f19f698bdfe3d462923552da5354c551","signature":"fbe1c8a5f4734ddbd15ce3fffb2a2b12","impliedNodeFormat":1},{"version":"5d132b76b480da1f608cb6aa333c8f6f","signature":"f2e89ea3b302f1b2caaeb37405acd3ac","impliedNodeFormat":1},{"version":"a9ca9875fe501486b07baa3abdf71ab8","signature":"863d352ea44540c7986b83dfa525d130","impliedNodeFormat":1},{"version":"2ac5ff7c77998abbfd93af49e7156769","signature":"a2854af19ab0598a80f0d9316e08b916","impliedNodeFormat":1},{"version":"17af40ad36907d5a865248fbb875b9f2","signature":"33101bb793e940e325dd22870c1d9367","impliedNodeFormat":1},{"version":"032e609b2a243e4be3a8a252490358e5","signature":"a36a5bfaa1facd38e8e9a57da69c6738","impliedNodeFormat":1},{"version":"21d4d3b8ac8af29bc16bb8f2c607b2a9","signature":"d9792505bd44090cbd6932b6d68aec00","impliedNodeFormat":1},{"version":"4e64406c52ae55ce1e2ef9edf8f41cd7","signature":"099f3442e00addf6be7256a9d319194a","impliedNodeFormat":1},{"version":"dcc126d7c62bf1e7af6eff5339bb2a85","signature":"e0352b80fb5f6c2a7fd35f5d28397b16","impliedNodeFormat":1},{"version":"092283d3c5c09a30706cd4f9a66c6246","signature":"297e3bb942c27474dd52b667e88a190d","impliedNodeFormat":1},"e97645364d45c2d12c20e8c170071927"],"fileIdsList":[[161],[134,136],[134],[134,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151],[134,135],[153,155,156,157],[153,154],[136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[134,136,137],[134,137],[134,137,138],[134,141],[134,136,137,138],[134,137,138,140],[134,135,137],[133],[124],[124,127],[119,122,124,125,126,127,128,129,130,131,132],[58,60,127],[124,125],[59,124,126],[60,62,64,65,66,67],[62,64,66,67],[62,64,66],[59,62,64,65,67],[58,60,61,62,63,64,65,66,67,68,69,119,120,121,122,123],[58,60,61,64],[60,61,64],[64,67],[58,59,61,62,63,65,66,67],[58,59,60,64,124],[64,65,66,67],[66],[70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118]],"options":{"composite":true,"emitDecoratorMetadata":true,"declaration":true,"declarationDir":"./","declarationMap":true,"experimentalDecorators":true,"module":200,"noImplicitAny":false,"noEmitOnError":true,"noUnusedLocals":false,"noUnusedParameters":false,"noUncheckedSideEffectImports":true,"outDir":"./","rootDir":"../../../src","skipLibCheck":true,"strict":false,"sourceMap":true,"target":9,"tsBuildInfoFile":"./.native.tsbuildinfo","verbatimModuleSyntax":false,"allowSyntheticDefaultImports":true,"esModuleInterop":true},"referencedMap":[[162,1],[137,2],[138,3],[152,4],[136,5],[158,6],[155,7],[161,8],[139,9],[140,10],[141,11],[157,12],[142,11],[143,11],[144,11],[145,13],[160,11],[146,14],[147,11],[148,15],[149,11],[150,10],[151,10],[154,3],[134,16],[128,17],[132,18],[129,18],[125,17],[133,19],[130,20],[131,18],[126,21],[127,22],[121,23],[65,24],[67,25],[66,26],[124,27],[123,28],[122,29],[68,24],[60,30],[64,31],[61,32],[62,33],[70,34],[71,34],[72,34],[73,34],[74,34],[75,34],[76,34],[77,34],[78,34],[79,34],[80,34],[81,34],[82,34],[84,34],[83,34],[85,34],[86,34],[87,34],[88,34],[119,35],[89,34],[90,34],[91,34],[92,34],[93,34],[94,34],[95,34],[96,34],[97,34],[98,34],[99,34],[100,34],[101,34],[103,34],[102,34],[104,34],[105,34],[106,34],[107,34],[108,34],[109,34],[110,34],[111,34],[112,34],[113,34],[114,34],[115,34],[118,34],[116,34],[117,34]],"latestChangedDtsFile":"./companion-exports.d.ts"}
@@ -1 +1 @@
1
- {"version":3,"file":"companion-exports.d.ts","sourceRoot":"","sources":["../../../src/companion-exports.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"companion-exports.d.ts","sourceRoot":"","sources":["../../src/companion-exports.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,SAAS,CAAC"}
@@ -1,11 +1,25 @@
1
1
  import { z } from "zod";
2
2
  import { ExternalProvider_Auth_Kind } from "./security.external-connectors-models.schemas";
3
+ /**
4
+ * The ONE protocol vocabulary a provider can speak. Every other list is derived from or pinned
5
+ * to this enum: the backend runtime-contract discriminants (`ProviderProtocolRuntimeKind`, a
6
+ * subset of these members) and the application-authoring keys (`BUILTIN_PROVIDER_PROTOCOL` in
7
+ * `@wildo-ai/saas-models`, its key set pinned by a drift test because that package must not
8
+ * import this one into browser bundles).
9
+ *
10
+ * RETIRED 2026-09-05 (#327): `MCP_CONNECTOR`, `A2A_CONNECTOR`, `GIT_PROVIDER`, `GRPC`,
11
+ * `SSO_SAML`. Each had an authored profile/configuration module in this package and NOTHING
12
+ * that read it — no runtime-contract arm, no provider module declaring it, no consumer of any
13
+ * export outside the module itself (measured with a positive control). Wildo's own MCP server,
14
+ * A2A plane and SAML SSO are engine-implemented surfaces, not provider-declared protocols, and
15
+ * none of them referenced these members. A retired member is refused at CONFIG time by
16
+ * `ProviderProtocolSelectorSchema`, naming the value. Re-admit one only together with a
17
+ * runtime-contract arm and a provider module that declares it.
18
+ */
3
19
  export declare enum ExternalProvider_ExchangeProtocol_Kind {
4
20
  REST_API = "rest_api",
5
21
  WEBHOOK_ORIGINATOR = "webhook_originator",
6
22
  LLM_PROVIDER = "llm_provider",
7
- MCP_CONNECTOR = "mcp_connector",
8
- A2A_CONNECTOR = "a2a_connector",
9
23
  /**
10
24
  * Zed's Agent Client Protocol — a JSON-RPC session between Wildo (the client)
11
25
  * and a CODING AGENT subprocess that reads and writes a workspace, runs
@@ -57,14 +71,38 @@ export declare enum ExternalProvider_ExchangeProtocol_Kind {
57
71
  /** Reserved — video generation. Serves the VIDEO modality. Not yet implemented. */
58
72
  VIDEO_PROVIDER = "video_provider",
59
73
  EMAIL_PROVIDER = "email_provider",
60
- GIT_PROVIDER = "git_provider",
61
- GRPC = "grpc",
62
74
  SSO_OAUTH2 = "sso_oauth2",
63
- SSO_SAML = "sso_saml",
64
75
  BILLING_PROVIDER = "billing_provider",
65
76
  SMS_PROVIDER = "sms_provider",
66
77
  FRONTEND_SDK = "frontend_sdk"
67
78
  }
79
+ /**
80
+ * The BACKEND runtime-contract discriminants — the subset of `ExternalProvider_ExchangeProtocol_Kind`
81
+ * a `BackendProviderModule` can execute. Its VALUES are the enum members themselves (one spelling per
82
+ * member since 2026-09-05, #327), so a runtime contract's `kind` IS the exchange kind and no
83
+ * protocol→kind map exists anywhere; `BackendProtocolBinding.protocol` (the authoring KEY) and
84
+ * `runtimeContract.kind` are checked for agreement at composition. A member absent here has no
85
+ * backend arm: `FRONTEND_SDK` is declared by browser-side modules only, `AUDIO_PROVIDER` /
86
+ * `VIDEO_PROVIDER` are reserved.
87
+ *
88
+ * A frozen const rather than a second enum because provider modules are an extension boundary and
89
+ * the union discriminant must stay the enum member type. Import from
90
+ * `@wildo-ai/external-connectors-models`; the private backend package consumes it, never defines it.
91
+ */
92
+ export declare const ProviderProtocolRuntimeKind: Readonly<{
93
+ readonly LLM: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER;
94
+ readonly IMAGE: ExternalProvider_ExchangeProtocol_Kind.IMAGE_PROVIDER;
95
+ readonly EMBEDDINGS: ExternalProvider_ExchangeProtocol_Kind.EMBEDDINGS_PROVIDER;
96
+ readonly DOCUMENT_EXTRACTION: ExternalProvider_ExchangeProtocol_Kind.DOCUMENT_EXTRACTION_PROVIDER;
97
+ readonly AGENT_CLIENT_PROTOCOL: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL;
98
+ readonly EMAIL: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER;
99
+ readonly OAUTH2_SSO: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2;
100
+ readonly BILLING: ExternalProvider_ExchangeProtocol_Kind.BILLING_PROVIDER;
101
+ readonly WEBHOOK_ORIGINATOR: ExternalProvider_ExchangeProtocol_Kind.WEBHOOK_ORIGINATOR;
102
+ readonly SMS: ExternalProvider_ExchangeProtocol_Kind.SMS_PROVIDER;
103
+ readonly REST: ExternalProvider_ExchangeProtocol_Kind.REST_API;
104
+ }>;
105
+ export type ProviderProtocolRuntimeKind = (typeof ProviderProtocolRuntimeKind)[keyof typeof ProviderProtocolRuntimeKind];
68
106
  export declare enum APPLICATION_ENVIRONMENT {
69
107
  DEVELOPMENT = "development",
70
108
  STAGING = "staging",
@@ -160,10 +198,10 @@ export declare const ExternalProvider_ExchangeProtocol_Profile_BaseSchema: z.Zod
160
198
  extraAuthParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
161
199
  extraTokenParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
162
200
  tokenFormat: z.ZodDefault<z.ZodEnum<{
163
- token: "token";
201
+ custom: "custom";
164
202
  bearer: "bearer";
203
+ token: "token";
165
204
  oauth: "oauth";
166
- custom: "custom";
167
205
  }>>;
168
206
  customTokenPrefix: z.ZodOptional<z.ZodString>;
169
207
  }, z.core.$strip>, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"commons.external-connectors-models.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/commons.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA6C,0BAA0B,EAAsF,MAAM,+CAA+C,CAAC;AAG1N,oBAAY,sCAAsC;IAEhD,QAAQ,aAAa;IACrB,kBAAkB,uBAAuB;IAIzC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,0BAA0B;IAE/C,8EAA8E;IAC9E,cAAc,mBAAmB;IACjC;;;;;;;;;;OAUG;IACH,mBAAmB,wBAAwB;IAC3C;;;;;;;;;;;;;OAaG;IACH,4BAA4B,iCAAiC;IAC7D,iGAAiG;IACjG,cAAc,mBAAmB;IACjC,mFAAmF;IACnF,cAAc,mBAAmB;IAGjC,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IAGb,UAAU,eAAe;IACzB,QAAQ,aAAa;IAIrB,gBAAgB,qBAAqB;IAGrC,YAAY,iBAAiB;IAG7B,YAAY,iBAAiB;CAC9B;AAED,oBAAY,uBAAuB;IACjC,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,oBAAY,uBAAuB;IACjC,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAGD,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI/D,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,0DAA0D;;;;;;;;;;;;;;;;iBAIrE,CAAC;AAEH,eAAO,MAAM,mDAAmD;;;;;iBAK9D,CAAC;AAEH,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oDAAoD,CAAC,CAAC;AAClI,MAAM,MAAM,oDAAoD,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0DAA0D,CAAC,CAAC;AAC9I,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mDAAmD,CAAC,CAAC;AAEhI,oBAAY,6BAA6B;IACvC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;CAChC;AAED,oBAAY,sCAAsC;IAChD,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,SAAS,WAAW;CACrB"}
1
+ {"version":3,"file":"commons.external-connectors-models.schemas.d.ts","sourceRoot":"","sources":["../../../src/core/commons.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAA6C,0BAA0B,EAAsF,MAAM,+CAA+C,CAAC;AAG1N;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,sCAAsC;IAEhD,QAAQ,aAAa;IACrB,kBAAkB,uBAAuB;IAIzC,YAAY,iBAAiB;IAC7B;;;;;;;;;;;;;;;OAeG;IACH,qBAAqB,0BAA0B;IAE/C,8EAA8E;IAC9E,cAAc,mBAAmB;IACjC;;;;;;;;;;OAUG;IACH,mBAAmB,wBAAwB;IAC3C;;;;;;;;;;;;;OAaG;IACH,4BAA4B,iCAAiC;IAC7D,iGAAiG;IACjG,cAAc,mBAAmB;IACjC,mFAAmF;IACnF,cAAc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,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;CAChC;AAED,oBAAY,sCAAsC;IAChD,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,SAAS,WAAW;CACrB"}
@@ -1,5 +1,21 @@
1
1
  import { z } from "zod";
2
2
  import { ExternalProvider_Auth_ConfigurationSchema, ExternalProvider_Auth_Kind, ExternalProvider_AuthProfile_Schema, ExternalProvider_RateLimitConfigurationSchema } from "./security.external-connectors-models.schemas.js";
3
+ /**
4
+ * The ONE protocol vocabulary a provider can speak. Every other list is derived from or pinned
5
+ * to this enum: the backend runtime-contract discriminants (`ProviderProtocolRuntimeKind`, a
6
+ * subset of these members) and the application-authoring keys (`BUILTIN_PROVIDER_PROTOCOL` in
7
+ * `@wildo-ai/saas-models`, its key set pinned by a drift test because that package must not
8
+ * import this one into browser bundles).
9
+ *
10
+ * RETIRED 2026-09-05 (#327): `MCP_CONNECTOR`, `A2A_CONNECTOR`, `GIT_PROVIDER`, `GRPC`,
11
+ * `SSO_SAML`. Each had an authored profile/configuration module in this package and NOTHING
12
+ * that read it — no runtime-contract arm, no provider module declaring it, no consumer of any
13
+ * export outside the module itself (measured with a positive control). Wildo's own MCP server,
14
+ * A2A plane and SAML SSO are engine-implemented surfaces, not provider-declared protocols, and
15
+ * none of them referenced these members. A retired member is refused at CONFIG time by
16
+ * `ProviderProtocolSelectorSchema`, naming the value. Re-admit one only together with a
17
+ * runtime-contract arm and a provider module that declares it.
18
+ */
3
19
  export var ExternalProvider_ExchangeProtocol_Kind;
4
20
  (function (ExternalProvider_ExchangeProtocol_Kind) {
5
21
  // WEB
@@ -8,8 +24,6 @@ export var ExternalProvider_ExchangeProtocol_Kind;
8
24
  // SOAP ?
9
25
  // AI
10
26
  ExternalProvider_ExchangeProtocol_Kind["LLM_PROVIDER"] = "llm_provider";
11
- ExternalProvider_ExchangeProtocol_Kind["MCP_CONNECTOR"] = "mcp_connector";
12
- ExternalProvider_ExchangeProtocol_Kind["A2A_CONNECTOR"] = "a2a_connector";
13
27
  /**
14
28
  * Zed's Agent Client Protocol — a JSON-RPC session between Wildo (the client)
15
29
  * and a CODING AGENT subprocess that reads and writes a workspace, runs
@@ -63,11 +77,8 @@ export var ExternalProvider_ExchangeProtocol_Kind;
63
77
  ExternalProvider_ExchangeProtocol_Kind["VIDEO_PROVIDER"] = "video_provider";
64
78
  // INFRA
65
79
  ExternalProvider_ExchangeProtocol_Kind["EMAIL_PROVIDER"] = "email_provider";
66
- ExternalProvider_ExchangeProtocol_Kind["GIT_PROVIDER"] = "git_provider";
67
- ExternalProvider_ExchangeProtocol_Kind["GRPC"] = "grpc";
68
80
  // AUTH
69
81
  ExternalProvider_ExchangeProtocol_Kind["SSO_OAUTH2"] = "sso_oauth2";
70
- ExternalProvider_ExchangeProtocol_Kind["SSO_SAML"] = "sso_saml";
71
82
  // OPENID_CONNECT ?
72
83
  // BILLING
73
84
  ExternalProvider_ExchangeProtocol_Kind["BILLING_PROVIDER"] = "billing_provider";
@@ -76,6 +87,32 @@ export var ExternalProvider_ExchangeProtocol_Kind;
76
87
  // FRONTEND
77
88
  ExternalProvider_ExchangeProtocol_Kind["FRONTEND_SDK"] = "frontend_sdk";
78
89
  })(ExternalProvider_ExchangeProtocol_Kind || (ExternalProvider_ExchangeProtocol_Kind = {}));
90
+ /**
91
+ * The BACKEND runtime-contract discriminants — the subset of `ExternalProvider_ExchangeProtocol_Kind`
92
+ * a `BackendProviderModule` can execute. Its VALUES are the enum members themselves (one spelling per
93
+ * member since 2026-09-05, #327), so a runtime contract's `kind` IS the exchange kind and no
94
+ * protocol→kind map exists anywhere; `BackendProtocolBinding.protocol` (the authoring KEY) and
95
+ * `runtimeContract.kind` are checked for agreement at composition. A member absent here has no
96
+ * backend arm: `FRONTEND_SDK` is declared by browser-side modules only, `AUDIO_PROVIDER` /
97
+ * `VIDEO_PROVIDER` are reserved.
98
+ *
99
+ * A frozen const rather than a second enum because provider modules are an extension boundary and
100
+ * the union discriminant must stay the enum member type. Import from
101
+ * `@wildo-ai/external-connectors-models`; the private backend package consumes it, never defines it.
102
+ */
103
+ export const ProviderProtocolRuntimeKind = Object.freeze({
104
+ LLM: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER,
105
+ IMAGE: ExternalProvider_ExchangeProtocol_Kind.IMAGE_PROVIDER,
106
+ EMBEDDINGS: ExternalProvider_ExchangeProtocol_Kind.EMBEDDINGS_PROVIDER,
107
+ DOCUMENT_EXTRACTION: ExternalProvider_ExchangeProtocol_Kind.DOCUMENT_EXTRACTION_PROVIDER,
108
+ AGENT_CLIENT_PROTOCOL: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL,
109
+ EMAIL: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER,
110
+ OAUTH2_SSO: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2,
111
+ BILLING: ExternalProvider_ExchangeProtocol_Kind.BILLING_PROVIDER,
112
+ WEBHOOK_ORIGINATOR: ExternalProvider_ExchangeProtocol_Kind.WEBHOOK_ORIGINATOR,
113
+ SMS: ExternalProvider_ExchangeProtocol_Kind.SMS_PROVIDER,
114
+ REST: ExternalProvider_ExchangeProtocol_Kind.REST_API,
115
+ });
79
116
  export var APPLICATION_ENVIRONMENT;
80
117
  (function (APPLICATION_ENVIRONMENT) {
81
118
  APPLICATION_ENVIRONMENT["DEVELOPMENT"] = "development";
@@ -1 +1 @@
1
- {"version":3,"file":"commons.external-connectors-models.schemas.js","sourceRoot":"","sources":["../../../../src/core/commons.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yCAAyC,EAAE,0BAA0B,EAAE,mCAAmC,EAAE,6CAA6C,EAAE,MAAM,+CAA+C,CAAC;AAG1N,MAAM,CAAN,IAAY,sCAgFX;AAhFD,WAAY,sCAAsC;IAChD,MAAM;IACN,+DAAqB,CAAA;IACr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AA;AACtB,CAAC,EAJW,sCAAsC,KAAtC,sCAAsC,QAIjD","sourcesContent":["import { z } from \"zod\";\nimport { ExternalProvider_Auth_ConfigurationSchema, ExternalProvider_Auth_Kind, ExternalProvider_AuthProfile_Schema, ExternalProvider_RateLimitConfigurationSchema } from \"./security.external-connectors-models.schemas\";\n\n\nexport enum ExternalProvider_ExchangeProtocol_Kind {\n // WEB\n REST_API = \"rest_api\",\n WEBHOOK_ORIGINATOR = \"webhook_originator\",\n // SOAP ?\n \n // AI\n LLM_PROVIDER = \"llm_provider\",\n MCP_CONNECTOR = \"mcp_connector\",\n A2A_CONNECTOR = \"a2a_connector\",\n /**\n * Zed's Agent Client Protocol — a JSON-RPC session between Wildo (the client)\n * and a CODING AGENT subprocess that reads and writes a workspace, runs\n * commands, and calls back for permission.\n *\n * Its own protocol kind rather than a mode of `CLI_RUNTIME`, for the reason\n * `EMBEDDINGS_PROVIDER` records above and one more that is specific to it: a\n * coding agent is not a one-shot text call wearing a subprocess. Every\n * capability the previous CLI transport lacked — token and cost accounting, a\n * permission channel, cancellation, resumption, live progress — was missing\n * because the one-shot shape has nowhere to put it, not because nobody had\n * implemented it yet.\n *\n * NOT to be confused with the IBM/BeeAI \"Agent Communication Protocol\", which\n * shares the acronym and is agent-to-agent — that space is `A2A_CONNECTOR`.\n */\n AGENT_CLIENT_PROTOCOL = \"agent_client_protocol\",\n // AI — multimodal generation (artifact-modality axis)\n /** Text-to-image generation (wired: gpt-image). Serves the IMAGE modality. */\n IMAGE_PROVIDER = \"image_provider\",\n /**\n * Text → vector embeddings (wired: OpenAI `text-embedding-3-*`). Serves the RAG derived-data\n * tier (corpus embedding via the `rag:embedding-drain` worker; query-time embedding in\n * retrieval). Deliberately its OWN protocol kind rather than a sixth `LLMProvider_OperationKey`\n * (RAG plan DL2): an unmapped LLM operation key fails SILENTLY across six consumer surfaces\n * (registry semantic-operation map, output normalization, executor dispatch, capability slot,\n * usage completeness, observability sink), whereas a new protocol kind fails COMPILATION at\n * every `runtimeContract.kind` switch — the `IMAGE_PROVIDER` precedent. It also gets its own\n * `EngineCapability.AI_EMBEDDINGS` slot so an application can select its embeddings provider\n * independently of its chat provider.\n */\n EMBEDDINGS_PROVIDER = \"embeddings_provider\",\n /**\n * Document bytes → text (wired: Mistral `mistral-ocr-latest`). Serves the file-side text\n * provider that `FileTextExtractionBackendService` owns, whose largest consumer is\n * `.ragSource()` corpus ingestion.\n *\n * Its own kind for the reason `EMBEDDINGS_PROVIDER` records above, and it fills its own\n * `EngineCapability.AI_DOCUMENT_EXTRACTION` slot so an application selects its OCR provider\n * independently of chat and embeddings — three unrelated procurement decisions.\n *\n * NOT to be confused with PDF *generation* (templates → bytes), which is the `pdfTemplates`\n * surface and is semantically the opposite direction. It has no provider slot: the\n * `EngineCapability.DOCUMENT_GENERATION` this paragraph used to name was withdrawn because no\n * provider capability token could ever fill it.\n */\n DOCUMENT_EXTRACTION_PROVIDER = \"document_extraction_provider\",\n /** Reserved — audio generation (TTS / music). Serves the AUDIO modality. Not yet implemented. */\n AUDIO_PROVIDER = \"audio_provider\",\n /** Reserved — video generation. Serves the VIDEO modality. Not yet implemented. */\n VIDEO_PROVIDER = \"video_provider\",\n \n // INFRA\n EMAIL_PROVIDER = \"email_provider\",\n GIT_PROVIDER = \"git_provider\",\n GRPC = \"grpc\",\n \n // AUTH\n SSO_OAUTH2 = \"sso_oauth2\",\n SSO_SAML = \"sso_saml\",\n // OPENID_CONNECT ?\n\n // BILLING\n BILLING_PROVIDER = \"billing_provider\",\n\n // SMS (Phase G2)\n SMS_PROVIDER = \"sms_provider\",\n\n // FRONTEND\n FRONTEND_SDK = \"frontend_sdk\",\n}\n\nexport enum APPLICATION_ENVIRONMENT {\n DEVELOPMENT = \"development\",\n STAGING = \"staging\",\n PRODUCTION = \"production\",\n}\n\nexport enum ExternalProvider_Status {\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n BUZY = \"busy\",\n OFFLINE = \"offline\",\n DEPRECATED = \"deprecated\",\n}\n\n\nexport enum API_HttpMethod {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n PATCH = \"PATCH\",\n DELETE = \"DELETE\",\n HEAD = \"HEAD\",\n OPTIONS = \"OPTIONS\",\n}\n\n/**\n * Shared protocol profile fields.\n *\n * These fields are transport-oriented hints that many protocols use, but they\n * are not universally meaningful. Execution-oriented protocols such as a local\n * CLI runtime should not need to invent fake HTTP endpoints or auth profiles\n * just to satisfy the shared contract.\n */\nexport const ExternalProvider_ExchangeProtocol_Profile_BaseSchema = z.object({\n endpoints: z.record(z.enum(APPLICATION_ENVIRONMENT), z.string()).optional(),\n availableAuthMethods: z.array(z.enum(ExternalProvider_Auth_Kind)).optional(),\n authProfiles: z.array(ExternalProvider_AuthProfile_Schema).optional(),\n});\n\n/**\n * Shared protocol configuration fields.\n *\n * `authConfig` remains available for protocols that resolve secrets through the\n * generic provider auth model, but it is optional because execution-oriented\n * protocols can own their own auth/runtime policy contract.\n */\nexport const ExternalProvider_ExchangeProtocol_Configuration_BaseSchema = z.object({\n enabled: z.boolean(),\n authConfig: ExternalProvider_Auth_ConfigurationSchema.optional(),\n rateLimitConfig: ExternalProvider_RateLimitConfigurationSchema.optional(),\n});\n\nexport const ExternalProvider_ExchangeProtocol_Status_BaseSchema = z.object({\n protocolKind: z.enum(ExternalProvider_ExchangeProtocol_Kind),\n status: z.enum(ExternalProvider_Status),\n lastCheckedAt: z.string(),\n errorReason: z.string().optional(),\n});\n\nexport type ExternalProvider_ExchangeProtocol_Profile_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Profile_BaseSchema>;\nexport type ExternalProvider_ExchangeProtocol_Configuration_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Configuration_BaseSchema>;\nexport type ExternalProvider_ExchangeProtocol_Status_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Status_BaseSchema>;\n\nexport enum ExternalProvider_IO_Direction {\n INBOUND = \"inbound\",\n OUTBOUND = \"outbound\",\n BIDIRECTIONAL = \"bidirectional\",\n}\n\nexport enum ExternalProvider_IO_InteractionPattern {\n REQUEST_RESPONSE = \"request_response\",\n EVENT_BASED = \"event_based\",\n STREAMING = \"stream\",\n}\n\n"]}
1
+ {"version":3,"file":"commons.external-connectors-models.schemas.js","sourceRoot":"","sources":["../../../src/core/commons.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,yCAAyC,EAAE,0BAA0B,EAAE,mCAAmC,EAAE,6CAA6C,EAAE,MAAM,+CAA+C,CAAC;AAG1N;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAN,IAAY,sCA2EX;AA3ED,WAAY,sCAAsC;IAChD,MAAM;IACN,+DAAqB,CAAA;IACrB,mFAAyC,CAAA;IACzC,SAAS;IAET,KAAK;IACL,uEAA6B,CAAA;IAC7B;;;;;;;;;;;;;;;OAeG;IACH,yFAA+C,CAAA;IAC/C,sDAAsD;IACtD,8EAA8E;IAC9E,2EAAiC,CAAA;IACjC;;;;;;;;;;OAUG;IACH,qFAA2C,CAAA;IAC3C;;;;;;;;;;;;;OAaG;IACH,uGAA6D,CAAA;IAC7D,iGAAiG;IACjG,2EAAiC,CAAA;IACjC,mFAAmF;IACnF,2EAAiC,CAAA;IAEjC,QAAQ;IACR,2EAAiC,CAAA;IAEjC,OAAO;IACP,mEAAyB,CAAA;IACzB,mBAAmB;IAEnB,UAAU;IACV,+EAAqC,CAAA;IAErC,iBAAiB;IACjB,uEAA6B,CAAA;IAE7B,WAAW;IACX,uEAA6B,CAAA;AAC/B,CAAC,EA3EW,sCAAsC,KAAtC,sCAAsC,QA2EjD;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CAAC;IACvD,GAAG,EAAE,sCAAsC,CAAC,YAAY;IACxD,KAAK,EAAE,sCAAsC,CAAC,cAAc;IAC5D,UAAU,EAAE,sCAAs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AAC,0BAA0B,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC5E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC,QAAQ,EAAE;CACtE,CAAC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,0DAA0D,GAAG,CAAC,CAAC,MAAM,CAAC;IACjF,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,UAAU,EAAE,yCAAyC,CAAC,QAAQ,EAAE;IAChE,eAAe,EAAE,6CAA6C,CAAC,QAAQ,EAAE;CAC1E,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,sCAAsC,CAAC;IAC5D,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC;IACvC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAMH,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,oDAAmB,CAAA;IACnB,sDAAqB,CAAA;IACrB,gEAA+B,CAAA;AACjC,CAAC,EAJW,6BAA6B,KAA7B,6BAA6B,QAIxC;AAED,MAAM,CAAN,IAAY,sCAIX;AAJD,WAAY,sCAAsC;IAChD,+EAAqC,CAAA;IACrC,qEAA2B,CAAA;IAC3B,8DAAoB,CAAA;AACtB,CAAC,EAJW,sCAAsC,KAAtC,sCAAsC,QAIjD","sourcesContent":["import { z } from \"zod\";\nimport { ExternalProvider_Auth_ConfigurationSchema, ExternalProvider_Auth_Kind, ExternalProvider_AuthProfile_Schema, ExternalProvider_RateLimitConfigurationSchema } from \"./security.external-connectors-models.schemas\";\n\n\n/**\n * The ONE protocol vocabulary a provider can speak. Every other list is derived from or pinned\n * to this enum: the backend runtime-contract discriminants (`ProviderProtocolRuntimeKind`, a\n * subset of these members) and the application-authoring keys (`BUILTIN_PROVIDER_PROTOCOL` in\n * `@wildo-ai/saas-models`, its key set pinned by a drift test because that package must not\n * import this one into browser bundles).\n *\n * RETIRED 2026-09-05 (#327): `MCP_CONNECTOR`, `A2A_CONNECTOR`, `GIT_PROVIDER`, `GRPC`,\n * `SSO_SAML`. Each had an authored profile/configuration module in this package and NOTHING\n * that read it — no runtime-contract arm, no provider module declaring it, no consumer of any\n * export outside the module itself (measured with a positive control). Wildo's own MCP server,\n * A2A plane and SAML SSO are engine-implemented surfaces, not provider-declared protocols, and\n * none of them referenced these members. A retired member is refused at CONFIG time by\n * `ProviderProtocolSelectorSchema`, naming the value. Re-admit one only together with a\n * runtime-contract arm and a provider module that declares it.\n */\nexport enum ExternalProvider_ExchangeProtocol_Kind {\n // WEB\n REST_API = \"rest_api\",\n WEBHOOK_ORIGINATOR = \"webhook_originator\",\n // SOAP ?\n \n // AI\n LLM_PROVIDER = \"llm_provider\",\n /**\n * Zed's Agent Client Protocol — a JSON-RPC session between Wildo (the client)\n * and a CODING AGENT subprocess that reads and writes a workspace, runs\n * commands, and calls back for permission.\n *\n * Its own protocol kind rather than a mode of `CLI_RUNTIME`, for the reason\n * `EMBEDDINGS_PROVIDER` records above and one more that is specific to it: a\n * coding agent is not a one-shot text call wearing a subprocess. Every\n * capability the previous CLI transport lacked — token and cost accounting, a\n * permission channel, cancellation, resumption, live progress — was missing\n * because the one-shot shape has nowhere to put it, not because nobody had\n * implemented it yet.\n *\n * NOT to be confused with the IBM/BeeAI \"Agent Communication Protocol\", which\n * shares the acronym and is agent-to-agent — that space is `A2A_CONNECTOR`.\n */\n AGENT_CLIENT_PROTOCOL = \"agent_client_protocol\",\n // AI — multimodal generation (artifact-modality axis)\n /** Text-to-image generation (wired: gpt-image). Serves the IMAGE modality. */\n IMAGE_PROVIDER = \"image_provider\",\n /**\n * Text → vector embeddings (wired: OpenAI `text-embedding-3-*`). Serves the RAG derived-data\n * tier (corpus embedding via the `rag:embedding-drain` worker; query-time embedding in\n * retrieval). Deliberately its OWN protocol kind rather than a sixth `LLMProvider_OperationKey`\n * (RAG plan DL2): an unmapped LLM operation key fails SILENTLY across six consumer surfaces\n * (registry semantic-operation map, output normalization, executor dispatch, capability slot,\n * usage completeness, observability sink), whereas a new protocol kind fails COMPILATION at\n * every `runtimeContract.kind` switch — the `IMAGE_PROVIDER` precedent. It also gets its own\n * `EngineCapability.AI_EMBEDDINGS` slot so an application can select its embeddings provider\n * independently of its chat provider.\n */\n EMBEDDINGS_PROVIDER = \"embeddings_provider\",\n /**\n * Document bytes → text (wired: Mistral `mistral-ocr-latest`). Serves the file-side text\n * provider that `FileTextExtractionBackendService` owns, whose largest consumer is\n * `.ragSource()` corpus ingestion.\n *\n * Its own kind for the reason `EMBEDDINGS_PROVIDER` records above, and it fills its own\n * `EngineCapability.AI_DOCUMENT_EXTRACTION` slot so an application selects its OCR provider\n * independently of chat and embeddings — three unrelated procurement decisions.\n *\n * NOT to be confused with PDF *generation* (templates → bytes), which is the `pdfTemplates`\n * surface and is semantically the opposite direction. It has no provider slot: the\n * `EngineCapability.DOCUMENT_GENERATION` this paragraph used to name was withdrawn because no\n * provider capability token could ever fill it.\n */\n DOCUMENT_EXTRACTION_PROVIDER = \"document_extraction_provider\",\n /** Reserved — audio generation (TTS / music). Serves the AUDIO modality. Not yet implemented. */\n AUDIO_PROVIDER = \"audio_provider\",\n /** Reserved — video generation. Serves the VIDEO modality. Not yet implemented. */\n VIDEO_PROVIDER = \"video_provider\",\n \n // INFRA\n EMAIL_PROVIDER = \"email_provider\",\n \n // AUTH\n SSO_OAUTH2 = \"sso_oauth2\",\n // OPENID_CONNECT ?\n\n // BILLING\n BILLING_PROVIDER = \"billing_provider\",\n\n // SMS (Phase G2)\n SMS_PROVIDER = \"sms_provider\",\n\n // FRONTEND\n FRONTEND_SDK = \"frontend_sdk\",\n}\n\n/**\n * The BACKEND runtime-contract discriminants — the subset of `ExternalProvider_ExchangeProtocol_Kind`\n * a `BackendProviderModule` can execute. Its VALUES are the enum members themselves (one spelling per\n * member since 2026-09-05, #327), so a runtime contract's `kind` IS the exchange kind and no\n * protocol→kind map exists anywhere; `BackendProtocolBinding.protocol` (the authoring KEY) and\n * `runtimeContract.kind` are checked for agreement at composition. A member absent here has no\n * backend arm: `FRONTEND_SDK` is declared by browser-side modules only, `AUDIO_PROVIDER` /\n * `VIDEO_PROVIDER` are reserved.\n *\n * A frozen const rather than a second enum because provider modules are an extension boundary and\n * the union discriminant must stay the enum member type. Import from\n * `@wildo-ai/external-connectors-models`; the private backend package consumes it, never defines it.\n */\nexport const ProviderProtocolRuntimeKind = Object.freeze({\n LLM: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER,\n IMAGE: ExternalProvider_ExchangeProtocol_Kind.IMAGE_PROVIDER,\n EMBEDDINGS: ExternalProvider_ExchangeProtocol_Kind.EMBEDDINGS_PROVIDER,\n DOCUMENT_EXTRACTION: ExternalProvider_ExchangeProtocol_Kind.DOCUMENT_EXTRACTION_PROVIDER,\n AGENT_CLIENT_PROTOCOL: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL,\n EMAIL: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER,\n OAUTH2_SSO: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2,\n BILLING: ExternalProvider_ExchangeProtocol_Kind.BILLING_PROVIDER,\n WEBHOOK_ORIGINATOR: ExternalProvider_ExchangeProtocol_Kind.WEBHOOK_ORIGINATOR,\n SMS: ExternalProvider_ExchangeProtocol_Kind.SMS_PROVIDER,\n REST: ExternalProvider_ExchangeProtocol_Kind.REST_API,\n} as const);\nexport type ProviderProtocolRuntimeKind =\n (typeof ProviderProtocolRuntimeKind)[keyof typeof ProviderProtocolRuntimeKind];\n\nexport enum APPLICATION_ENVIRONMENT {\n DEVELOPMENT = \"development\",\n STAGING = \"staging\",\n PRODUCTION = \"production\",\n}\n\nexport enum ExternalProvider_Status {\n ACTIVE = \"active\",\n INACTIVE = \"inactive\",\n BUZY = \"busy\",\n OFFLINE = \"offline\",\n DEPRECATED = \"deprecated\",\n}\n\n\nexport enum API_HttpMethod {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n PATCH = \"PATCH\",\n DELETE = \"DELETE\",\n HEAD = \"HEAD\",\n OPTIONS = \"OPTIONS\",\n}\n\n/**\n * Shared protocol profile fields.\n *\n * These fields are transport-oriented hints that many protocols use, but they\n * are not universally meaningful. Execution-oriented protocols such as a local\n * CLI runtime should not need to invent fake HTTP endpoints or auth profiles\n * just to satisfy the shared contract.\n */\nexport const ExternalProvider_ExchangeProtocol_Profile_BaseSchema = z.object({\n endpoints: z.record(z.enum(APPLICATION_ENVIRONMENT), z.string()).optional(),\n availableAuthMethods: z.array(z.enum(ExternalProvider_Auth_Kind)).optional(),\n authProfiles: z.array(ExternalProvider_AuthProfile_Schema).optional(),\n});\n\n/**\n * Shared protocol configuration fields.\n *\n * `authConfig` remains available for protocols that resolve secrets through the\n * generic provider auth model, but it is optional because execution-oriented\n * protocols can own their own auth/runtime policy contract.\n */\nexport const ExternalProvider_ExchangeProtocol_Configuration_BaseSchema = z.object({\n enabled: z.boolean(),\n authConfig: ExternalProvider_Auth_ConfigurationSchema.optional(),\n rateLimitConfig: ExternalProvider_RateLimitConfigurationSchema.optional(),\n});\n\nexport const ExternalProvider_ExchangeProtocol_Status_BaseSchema = z.object({\n protocolKind: z.enum(ExternalProvider_ExchangeProtocol_Kind),\n status: z.enum(ExternalProvider_Status),\n lastCheckedAt: z.string(),\n errorReason: z.string().optional(),\n});\n\nexport type ExternalProvider_ExchangeProtocol_Profile_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Profile_BaseSchema>;\nexport type ExternalProvider_ExchangeProtocol_Configuration_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Configuration_BaseSchema>;\nexport type ExternalProvider_ExchangeProtocol_Status_Base = z.infer<typeof ExternalProvider_ExchangeProtocol_Status_BaseSchema>;\n\nexport enum ExternalProvider_IO_Direction {\n INBOUND = \"inbound\",\n OUTBOUND = \"outbound\",\n BIDIRECTIONAL = \"bidirectional\",\n}\n\nexport enum ExternalProvider_IO_InteractionPattern {\n REQUEST_RESPONSE = \"request_response\",\n EVENT_BASED = \"event_based\",\n STREAMING = \"stream\",\n}\n\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Whether an external operation READS from or WRITES to the third-party system.
3
+ *
4
+ * Kept as its own tiny vocabulary because every operation catalogue needs it regardless of where
5
+ * the catalogue came from: a caller decides retry-safety, an audit decides severity, and a UI
6
+ * decides whether to confirm. Neutral by construction — it names the operation's effect, never a
7
+ * source catalogue's spelling of it.
8
+ */
9
+ export declare enum ExternalOperation_Classification {
10
+ READ = "READ",
11
+ WRITE = "WRITE"
12
+ }
13
+ //# sourceMappingURL=operation-classification.external-connectors-models.schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-classification.external-connectors-models.schemas.d.ts","sourceRoot":"","sources":["../../../src/core/operation-classification.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,oBAAY,gCAAgC;IAC1C,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Whether an external operation READS from or WRITES to the third-party system.
3
+ *
4
+ * Kept as its own tiny vocabulary because every operation catalogue needs it regardless of where
5
+ * the catalogue came from: a caller decides retry-safety, an audit decides severity, and a UI
6
+ * decides whether to confirm. Neutral by construction — it names the operation's effect, never a
7
+ * source catalogue's spelling of it.
8
+ */
9
+ export var ExternalOperation_Classification;
10
+ (function (ExternalOperation_Classification) {
11
+ ExternalOperation_Classification["READ"] = "READ";
12
+ ExternalOperation_Classification["WRITE"] = "WRITE";
13
+ })(ExternalOperation_Classification || (ExternalOperation_Classification = {}));
14
+ //# sourceMappingURL=operation-classification.external-connectors-models.schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-classification.external-connectors-models.schemas.js","sourceRoot":"","sources":["../../../src/core/operation-classification.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,gCAGX;AAHD,WAAY,gCAAgC;IAC1C,iDAAa,CAAA;IACb,mDAAe,CAAA;AACjB,CAAC,EAHW,gCAAgC,KAAhC,gCAAgC,QAG3C","sourcesContent":["/**\n * Whether an external operation READS from or WRITES to the third-party system.\n *\n * Kept as its own tiny vocabulary because every operation catalogue needs it regardless of where\n * the catalogue came from: a caller decides retry-safety, an audit decides severity, and a UI\n * decides whether to confirm. Neutral by construction — it names the operation's effect, never a\n * source catalogue's spelling of it.\n */\nexport enum ExternalOperation_Classification {\n READ = \"READ\",\n WRITE = \"WRITE\",\n}\n"]}
@@ -1,19 +1,14 @@
1
1
  import { z } from "zod";
2
- import { A2A_AgentProfile, A2A_Configuration } from "../protocols/a2a.external-connectors-models.schemas";
3
2
  import { AgentClientProtocol_Configuration, AgentClientProtocol_Profile } from "../protocols/agent-client-protocol.external-connectors-models.schemas";
4
3
  import { DocumentExtractionProvider_Configuration, DocumentExtractionProvider_Profile } from "../protocols/document-extraction.external-connectors-models.schemas";
5
4
  import { EmailProvider_Configuration, EmailProvider_Profile } from "../protocols/email.external-connectors-models.schemas";
6
5
  import { EmbeddingsProvider_Configuration, EmbeddingsProvider_Profile } from "../protocols/embeddings.external-connectors-models.schemas";
7
6
  import { FrontendProvider_Configuration, FrontendProvider_Profile } from "../protocols/frontend.external-connectors-models.schemas";
8
- import { GitProvider_Configuration, GitProvider_Profile } from "../protocols/git.external-connectors-models.schemas";
9
- import { GrpcProvider_Configuration, GrpcProvider_Profile } from "../protocols/grpc.external-connectors-models.schemas";
10
7
  import { ImageProvider_Configuration, ImageProvider_Profile } from "../protocols/image.external-connectors-models.schemas";
11
8
  import { HookInitiatorProvider_Configuration, HookInitiatorProvider_Profile } from "../protocols/hooks.external-connectors-models.schemas";
12
9
  import { LLMProvider_Configuration, LLMProvider_Profile } from "../protocols/llm.external-connectors-models.schemas";
13
- import { MCPProvider_Configuration, MCPProvider_Profile } from "../protocols/mcp.external-connectors-models.schemas";
14
10
  import { ExternalProvider_OAuth2_Config, OAuth2Provider_Profile } from "../protocols/oauth2.external-connectors-models.schemas";
15
11
  import { REST_API_Provider_Configuration, REST_API_Provider_Profile } from "../protocols/rest-api.external-connectors-models.schemas";
16
- import { SAMLProvider_Configuration, SAMLProvider_Profile } from "../protocols/saml.external-connectors-models.schemas";
17
12
  import type { SMSProvider_Configuration, SMSProvider_Profile } from "../protocols/sms.external-connectors-models.schemas";
18
13
  import { ExternalProvider_ExchangeProtocol_Configuration_Base, ExternalProvider_ExchangeProtocol_Kind, ExternalProvider_ExchangeProtocol_Profile_Base, ExternalProvider_IO_Direction, ExternalProvider_IO_InteractionPattern } from "./commons.external-connectors-models.schemas";
19
14
  import { ExternalProvider_OperationDefinition_Base } from "./operations.external-connectors-models.schemas";
@@ -39,14 +34,6 @@ export type ExternalProvider_ExchangeProtocol = (ExternalProvider_ExchangeProtoc
39
34
  kind: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER;
40
35
  profile: LLMProvider_Profile;
41
36
  defaultConfiguration: LLMProvider_Configuration;
42
- }) | (ExternalProvider_ExchangeProtocol_Base & {
43
- kind: ExternalProvider_ExchangeProtocol_Kind.MCP_CONNECTOR;
44
- profile: MCPProvider_Profile;
45
- defaultConfiguration: MCPProvider_Configuration;
46
- }) | (ExternalProvider_ExchangeProtocol_Base & {
47
- kind: ExternalProvider_ExchangeProtocol_Kind.A2A_CONNECTOR;
48
- profile: A2A_AgentProfile;
49
- defaultConfiguration: A2A_Configuration;
50
37
  }) | (ExternalProvider_ExchangeProtocol_Base & {
51
38
  kind: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL;
52
39
  profile: AgentClientProtocol_Profile;
@@ -67,22 +54,10 @@ export type ExternalProvider_ExchangeProtocol = (ExternalProvider_ExchangeProtoc
67
54
  kind: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER;
68
55
  profile: EmailProvider_Profile;
69
56
  defaultConfiguration: EmailProvider_Configuration;
70
- }) | (ExternalProvider_ExchangeProtocol_Base & {
71
- kind: ExternalProvider_ExchangeProtocol_Kind.GIT_PROVIDER;
72
- profile: GitProvider_Profile;
73
- defaultConfiguration: GitProvider_Configuration;
74
- }) | (ExternalProvider_ExchangeProtocol_Base & {
75
- kind: ExternalProvider_ExchangeProtocol_Kind.GRPC;
76
- profile: GrpcProvider_Profile;
77
- defaultConfiguration: GrpcProvider_Configuration;
78
57
  }) | (ExternalProvider_ExchangeProtocol_Base & {
79
58
  kind: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2;
80
59
  profile: OAuth2Provider_Profile;
81
60
  defaultConfiguration: ExternalProvider_OAuth2_Config;
82
- }) | (ExternalProvider_ExchangeProtocol_Base & {
83
- kind: ExternalProvider_ExchangeProtocol_Kind.SSO_SAML;
84
- profile: SAMLProvider_Profile;
85
- defaultConfiguration: SAMLProvider_Configuration;
86
61
  }) | (ExternalProvider_ExchangeProtocol_Base & {
87
62
  kind: ExternalProvider_ExchangeProtocol_Kind.FRONTEND_SDK;
88
63
  profile: FrontendProvider_Profile;
@@ -1 +1 @@
1
- {"version":3,"file":"protocols.external-connectors-models.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/protocols.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAA6B,MAAM,qDAAqD,CAAC;AACrI,OAAO,EAAE,iCAAiC,EAAE,2BAA2B,EAAoC,MAAM,uEAAuE,CAAC;AACzL,OAAO,EAAE,wCAAwC,EAAE,kCAAkC,EAA2C,MAAM,qEAAqE,CAAC;AAC5M,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAA8B,MAAM,uDAAuD,CAAC;AACvJ,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AAC,GAEA,CAAC,sCAAsC,GAAG;IAC1C,IAAI,EAAE,sCAAsC,CAAC,gBAAgB,CAAC;IAC9D,OAAO,EAAG,8CAA8C,CAAC;IACzD,oBAAoB,EAAG,oDAAoD,CAAC;CAC7E,CAAC,GAEA,CAAC,sCAAsC,GAAG;IAC1C,IAAI,EAAE,sCAAsC,CAAC,YAAY,CAAC;IAC1D,OAAO,EAAG,mBAAmB,CAAC;IAC9B,oBAAoB,EAAG,yBAAyB,CAAC;CAClD,CAAC,CACH"}
1
+ {"version":3,"file":"protocols.external-connectors-models.schemas.d.ts","sourceRoot":"","sources":["../../../src/core/protocols.external-connectors-models.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iCAAiC,EAAE,2BAA2B,EAAoC,MAAM,uEAAuE,CAAC;AACzL,OAAO,EAAE,wCAAwC,EAAE,kCAAkC,EAA2C,MAAM,qEAAqE,CAAC;AAC5M,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAA8B,MAAM,uDAAuD,CAAC;AACvJ,OAAO,EAAE,gCAAgC,EAAE,0BAA0B,EAAmC,MAAM,4DAA4D,CAAC;AAC3K,OAAO,EAAE,8BAA8B,EAAE,wBAAwB,EAAiC,MAAM,0DAA0D,CAAC;AACnK,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAA8B,MAAM,uDAAuD,CAAC;AACvJ,OAAO,EAAE,mCAAmC,EAAE,6BAA6B,EAAsC,MAAM,uDAAuD,CAAC;AAC/K,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAA4B,MAAM,qDAAqD,CAAC;AAC/I,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAA+B,MAAM,wDAAwD,CAAC;AAC7J,OAAO,EAAE,+BAA+B,EAAE,yBAAyB,EAAiC,MAAM,0DAA0D,CAAC;AACrK,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,qDAA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ectors-models.schemas.js","sourceRoot":"","sources":["../../../../src/core/protocols.external-connectors-models.schemas.ts"],"names":[],"mappings":"","sourcesContent":["import { z } from \"zod\";\nimport { A2A_AgentProfile, A2A_Configuration, A2AProvider_StatusSchema, } from \"../protocols/a2a.external-connectors-models.schemas\";\nimport { AgentClientProtocol_Configuration, AgentClientProtocol_Profile, AgentClientProtocol_StatusSchema } from \"../protocols/agent-client-protocol.external-connectors-models.schemas\";\nimport { DocumentExtractionProvider_Configuration, DocumentExtractionProvider_Profile, DocumentExtractionProvider_StatusSchema } from \"../protocols/document-extraction.external-connectors-models.schemas\";\nimport { EmailProvider_Configuration, EmailProvider_Profile, EmailProvider_StatusSchema } from \"../protocols/email.external-connectors-models.schemas\";\nimport { EmbeddingsProvider_Configuration, EmbeddingsProvider_Profile, EmbeddingsProvider_StatusSchema } from \"../protocols/embeddings.external-connectors-models.schemas\";\nimport { FrontendProvider_Configuration, FrontendProvider_Profile, FrontendProvider_StatusSchema } from \"../protocols/frontend.external-connectors-models.schemas\";\nimport { GitProvider_Configuration, GitProvider_Profile, GitProvider_StatusSchema } from \"../protocols/git.external-connectors-models.schemas\";\nimport { GrpcProvider_Configuration, GrpcProvider_Profile, GrpcProvider_StatusSchema } from \"../protocols/grpc.external-connectors-models.schemas\";\nimport { ImageProvider_Configuration, ImageProvider_Profile, ImageProvider_StatusSchema } from \"../protocols/image.external-connectors-models.schemas\";\nimport { HookInitiatorProvider_Configuration, HookInitiatorProvider_Profile, HookInitiatorProvider_StatusSchema } from \"../protocols/hooks.external-connectors-models.schemas\";\nimport { LLMProvider_Configuration, LLMProvider_Profile, LLMProvider_StatusSchema } from \"../protocols/llm.external-connectors-models.schemas\";\nimport { MCPProvider_Configuration, MCPProvider_Profile, MCPProvider_StatusSchema } from \"../protocols/mcp.external-connectors-models.schemas\";\nimport { ExternalProvider_OAuth2_Config, OAuth2Provider_Profile, OAuth2Provider_StatusSchema } from \"../protocols/oauth2.external-connectors-models.schemas\";\nimport { REST_API_Provider_Configuration, REST_API_Provider_Profile, REST_APIProvider_StatusSchema } from \"../protocols/rest-api.external-connectors-models.schemas\";\nimport { SAMLProvider_Configuration, SAMLProvider_Profile, SAMLProvider_StatusSchema } from \"../protocols/saml.external-connectors-models.schemas\";\nimport type { SMSProvider_Configuration, SMSProvider_Profile } from \"../protocols/sms.external-connectors-models.schemas\";\nimport { ExternalProvider_ExchangeProtocol_Configuration_Base, ExternalProvider_ExchangeProtocol_Kind, ExternalProvider_ExchangeProtocol_Profile_Base, ExternalProvider_IO_Direction, ExternalProvider_IO_InteractionPattern } from \"./commons.external-connectors-models.schemas\";\nimport { ExternalProvider_OperationDefinition_Base } from \"./operations.external-connectors-models.schemas\";\n\n\nexport type ExternalProvider_ExchangeProtocol_Base = {\n kind: ExternalProvider_ExchangeProtocol_Kind,\n providerRef : string,\n direction: ExternalProvider_IO_Direction,\n interactionPattern: ExternalProvider_IO_InteractionPattern,\n profile : ExternalProvider_ExchangeProtocol_Profile_Base,\n defaultConfiguration : ExternalProvider_ExchangeProtocol_Configuration_Base,\n statusSchema : z.ZodSchema<any>,\n operations : Record<string, ExternalProvider_OperationDefinition_Base>,\n};\n\nexport type ExternalProvider_ExchangeProtocol = \n (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.REST_API,\n profile : REST_API_Provider_Profile,\n defaultConfiguration : REST_API_Provider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.WEBHOOK_ORIGINATOR,\n profile : HookInitiatorProvider_Profile,\n defaultConfiguration : HookInitiatorProvider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER,\n profile : LLMProvider_Profile,\n defaultConfiguration : LLMProvider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.MCP_CONNECTOR,\n profile : MCPProvider_Profile,\n defaultConfiguration : MCPProvider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.A2A_CONNECTOR,\n profile : A2A_AgentProfile, \n defaultConfiguration : A2A_Configuration, \n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL,\n profile : AgentClientProtocol_Profile,\n defaultConfiguration : AgentClientProtocol_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.IMAGE_PROVIDER,\n profile : ImageProvider_Profile,\n defaultConfiguration : ImageProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.EMBEDDINGS_PROVIDER,\n profile : EmbeddingsProvider_Profile,\n defaultConfiguration : EmbeddingsProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.DOCUMENT_EXTRACTION_PROVIDER,\n profile : DocumentExtractionProvider_Profile,\n defaultConfiguration : DocumentExtractionProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER,\n profile : EmailProvider_Profile,\n defaultConfiguration : EmailProvider_Configuration,\n })\n \n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.GIT_PROVIDER,\n profile : GitProvider_Profile,\n defaultConfiguration : GitProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.GRPC,\n profile : GrpcProvider_Profile,\n defaultConfiguration : GrpcProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2,\n profile : OAuth2Provider_Profile,\n defaultConfiguration : ExternalProvider_OAuth2_Config,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.SSO_SAML,\n profile : SAMLProvider_Profile,\n defaultConfiguration : SAMLProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.FRONTEND_SDK,\n profile : FrontendProvider_Profile,\n defaultConfiguration : FrontendProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.BILLING_PROVIDER,\n profile : ExternalProvider_ExchangeProtocol_Profile_Base,\n defaultConfiguration : ExternalProvider_ExchangeProtocol_Configuration_Base,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.SMS_PROVIDER,\n profile : SMSProvider_Profile,\n defaultConfiguration : SMSProvider_Configuration,\n })\n;\n"]}
1
+ {"version":3,"file":"protocols.external-connectors-models.schemas.js","sourceRoot":"","sources":["../../../src/core/protocols.external-connectors-models.schemas.ts"],"names":[],"mappings":"","sourcesContent":["import { z } from \"zod\";\nimport { AgentClientProtocol_Configuration, AgentClientProtocol_Profile, AgentClientProtocol_StatusSchema } from \"../protocols/agent-client-protocol.external-connectors-models.schemas\";\nimport { DocumentExtractionProvider_Configuration, DocumentExtractionProvider_Profile, DocumentExtractionProvider_StatusSchema } from \"../protocols/document-extraction.external-connectors-models.schemas\";\nimport { EmailProvider_Configuration, EmailProvider_Profile, EmailProvider_StatusSchema } from \"../protocols/email.external-connectors-models.schemas\";\nimport { EmbeddingsProvider_Configuration, EmbeddingsProvider_Profile, EmbeddingsProvider_StatusSchema } from \"../protocols/embeddings.external-connectors-models.schemas\";\nimport { FrontendProvider_Configuration, FrontendProvider_Profile, FrontendProvider_StatusSchema } from \"../protocols/frontend.external-connectors-models.schemas\";\nimport { ImageProvider_Configuration, ImageProvider_Profile, ImageProvider_StatusSchema } from \"../protocols/image.external-connectors-models.schemas\";\nimport { HookInitiatorProvider_Configuration, HookInitiatorProvider_Profile, HookInitiatorProvider_StatusSchema } from \"../protocols/hooks.external-connectors-models.schemas\";\nimport { LLMProvider_Configuration, LLMProvider_Profile, LLMProvider_StatusSchema } from \"../protocols/llm.external-connectors-models.schemas\";\nimport { ExternalProvider_OAuth2_Config, OAuth2Provider_Profile, OAuth2Provider_StatusSchema } from \"../protocols/oauth2.external-connectors-models.schemas\";\nimport { REST_API_Provider_Configuration, REST_API_Provider_Profile, REST_APIProvider_StatusSchema } from \"../protocols/rest-api.external-connectors-models.schemas\";\nimport type { SMSProvider_Configuration, SMSProvider_Profile } from \"../protocols/sms.external-connectors-models.schemas\";\nimport { ExternalProvider_ExchangeProtocol_Configuration_Base, ExternalProvider_ExchangeProtocol_Kind, ExternalProvider_ExchangeProtocol_Profile_Base, ExternalProvider_IO_Direction, ExternalProvider_IO_InteractionPattern } from \"./commons.external-connectors-models.schemas\";\nimport { ExternalProvider_OperationDefinition_Base } from \"./operations.external-connectors-models.schemas\";\n\n\nexport type ExternalProvider_ExchangeProtocol_Base = {\n kind: ExternalProvider_ExchangeProtocol_Kind,\n providerRef : string,\n direction: ExternalProvider_IO_Direction,\n interactionPattern: ExternalProvider_IO_InteractionPattern,\n profile : ExternalProvider_ExchangeProtocol_Profile_Base,\n defaultConfiguration : ExternalProvider_ExchangeProtocol_Configuration_Base,\n statusSchema : z.ZodSchema<any>,\n operations : Record<string, ExternalProvider_OperationDefinition_Base>,\n};\n\nexport type ExternalProvider_ExchangeProtocol = \n (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.REST_API,\n profile : REST_API_Provider_Profile,\n defaultConfiguration : REST_API_Provider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.WEBHOOK_ORIGINATOR,\n profile : HookInitiatorProvider_Profile,\n defaultConfiguration : HookInitiatorProvider_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.LLM_PROVIDER,\n profile : LLMProvider_Profile,\n defaultConfiguration : LLMProvider_Configuration,\n }) \n\n\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.AGENT_CLIENT_PROTOCOL,\n profile : AgentClientProtocol_Profile,\n defaultConfiguration : AgentClientProtocol_Configuration,\n }) \n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.IMAGE_PROVIDER,\n profile : ImageProvider_Profile,\n defaultConfiguration : ImageProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.EMBEDDINGS_PROVIDER,\n profile : EmbeddingsProvider_Profile,\n defaultConfiguration : EmbeddingsProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.DOCUMENT_EXTRACTION_PROVIDER,\n profile : DocumentExtractionProvider_Profile,\n defaultConfiguration : DocumentExtractionProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.EMAIL_PROVIDER,\n profile : EmailProvider_Profile,\n defaultConfiguration : EmailProvider_Configuration,\n })\n \n\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.SSO_OAUTH2,\n profile : OAuth2Provider_Profile,\n defaultConfiguration : ExternalProvider_OAuth2_Config,\n })\n\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.FRONTEND_SDK,\n profile : FrontendProvider_Profile,\n defaultConfiguration : FrontendProvider_Configuration,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.BILLING_PROVIDER,\n profile : ExternalProvider_ExchangeProtocol_Profile_Base,\n defaultConfiguration : ExternalProvider_ExchangeProtocol_Configuration_Base,\n })\n\n | (ExternalProvider_ExchangeProtocol_Base & {\n kind: ExternalProvider_ExchangeProtocol_Kind.SMS_PROVIDER,\n profile : SMSProvider_Profile,\n defaultConfiguration : SMSProvider_Configuration,\n })\n;\n"]}
@@ -146,10 +146,10 @@ export declare const ExternalProvider_AuthProfile_Schema: z.ZodDiscriminatedUnio
146
146
  extraAuthParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
147
147
  extraTokenParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
148
148
  tokenFormat: z.ZodDefault<z.ZodEnum<{
149
- token: "token";
149
+ custom: "custom";
150
150
  bearer: "bearer";
151
+ token: "token";
151
152
  oauth: "oauth";
152
- custom: "custom";
153
153
  }>>;
154
154
  customTokenPrefix: z.ZodOptional<z.ZodString>;
155
155
  }, z.core.$strip>, z.ZodObject<{
@@ -184,4 +184,134 @@ export declare const ExternalProvider_AuthProfile_Schema: z.ZodDiscriminatedUnio
184
184
  caRef: z.ZodOptional<z.ZodString>;
185
185
  }, z.core.$strip>], "kind">;
186
186
  export type ExternalProvider_AuthProfile = z.infer<typeof ExternalProvider_AuthProfile_Schema>;
187
+ /**
188
+ * WHOSE ACCOUNT a call spends.
189
+ *
190
+ * Distinct from the scope of the DATA the call touches, and conflating the two inverts the design.
191
+ * A billing provider is APPLICATION-owned — the payment account belongs to whoever ships the
192
+ * application — even though almost everything it produces is organization-shaped: a customer, a
193
+ * subscription, an invoice per tenant. Those are data in the application's own domain, produced by
194
+ * an application-owned account. The question here is never "does this touch organizations?", which
195
+ * is true of nearly everything. It is **whose account is it?**
196
+ *
197
+ * Delivery follows the owner and is not a separate decision: the APPLICATION's material is authored
198
+ * in the deployment environment by an operator, and an ORGANIZATION's or a USER's is authored
199
+ * through the application's own settings and stored, sealed, in its database.
200
+ *
201
+ * **No owner ever defaults to another.** An organization-owned call with no connection REFUSES; it
202
+ * never spends the application's account. A silent substitution means the vendor sees one identity
203
+ * while the application believes it acted as another, and every artifact the call leaves on the far
204
+ * side — a message, a record, a line in the vendor's own audit log — is then attributed to the wrong
205
+ * party, with nothing downstream able to detect it. An application that wants "the tenant's key when
206
+ * they have connected one, otherwise ours" expresses that in its own code by choosing which
207
+ * connection to call with, where the choice is visible.
208
+ */
209
+ export declare enum ExternalProvider_Connection_OwnerScope {
210
+ /** The account belongs to the application itself. Material comes from the deployment environment. */
211
+ APPLICATION = "application",
212
+ /** The account belongs to one tenant — its own workspace, its own subscription with the vendor. */
213
+ ORGANIZATION = "organization",
214
+ /** The account belongs to one person — a personal key they authored for themselves. */
215
+ USER = "user"
216
+ }
217
+ /**
218
+ * WHAT A DECLARED SECRET IDENTIFIES — the integration, or the account.
219
+ *
220
+ * A provider's `secretsContract` holds two kinds of thing and, until this existed, marked neither.
221
+ * Slack's contract is the clearest case: `SLACK_CLIENT_ID` and `SLACK_CLIENT_SECRET` identify the
222
+ * APPLICATION's registration with Slack, while `SLACK_API_KEY` holds a token that identifies WHOSE
223
+ * Slack account is being acted as. They are stored differently, rotated for different reasons, and
224
+ * owned by different parties, and one undifferentiated map made all three look alike.
225
+ *
226
+ * Deliberately ORTHOGONAL to {@link ExternalProvider_Connection_OwnerScope}, which is the axis it is
227
+ * most likely to be confused with. This says what a secret IS; that says whose it is. A billing
228
+ * provider's secret key is a CREDENTIAL — it identifies an account — and is nonetheless
229
+ * application-owned, because the only admissible connection for it is APPLICATION. Collapsing the
230
+ * two would make "the deployment owns this" and "this identifies an integration" the same
231
+ * statement, and they are not.
232
+ *
233
+ * What the distinction buys, concretely:
234
+ *
235
+ * - a credential row owned by a tenant or a person may hold a CREDENTIAL and never a REGISTRATION.
236
+ * Without the mark, nothing stopped a tenant storing a row slugged `SLACK_CLIENT_SECRET` that no
237
+ * reader would ever consult — inert, and indistinguishable from a working connection on screen;
238
+ * - the connect flow can derive WHICH slug a grant is stored under by construction, rather than
239
+ * by the convention that it happens to be the REST contract's `apiKey.secretRef`;
240
+ * - a vendor that supports per-tenant app registrations becomes SAYABLE, which it is not today.
241
+ */
242
+ export declare enum ExternalProvider_SecretScope {
243
+ /**
244
+ * Identifies the INTEGRATION — an OAuth2 client id and secret, a signing secret issued to the
245
+ * app's registration. Authored by the operator in the deployment environment.
246
+ */
247
+ REGISTRATION = "registration",
248
+ /**
249
+ * Identifies an ACCOUNT — a token or key standing for whoever is being acted as. May be authored
250
+ * in the environment (the deployment's own account) or minted into a credential row owned by a
251
+ * tenant or a person; which of those are permitted is the admissibility question, not this one.
252
+ */
253
+ CREDENTIAL = "credential"
254
+ }
255
+ /**
256
+ * ON WHOSE BEHALF the act is performed — orthogonal to who owns the account.
257
+ *
258
+ * These are two questions and every combination of them is real, which is why they are two enums
259
+ * rather than one. An application's service identity can impersonate a user (domain-wide
260
+ * delegation); a tenant's own registration can mint a token that acts for one of its members; a
261
+ * tenant's bot token acts as nobody in particular. Collapsing the pair into a single vocabulary
262
+ * makes most of those unsayable:
263
+ *
264
+ * | owner × delegation | the real case |
265
+ * |---|---|
266
+ * | APPLICATION × SERVICE | a platform API key |
267
+ * | APPLICATION × USER | the application's service identity impersonating a user |
268
+ * | ORGANIZATION × SERVICE | the tenant's own bot or workspace token |
269
+ * | ORGANIZATION × USER | the tenant's registration, acting for one of its members |
270
+ * | USER × SERVICE | a personal key the user authored |
271
+ *
272
+ * OAuth 2.0 carries the same split in its grant types: the client is the REGISTRATION, and the grant
273
+ * decides on whose behalf a token is minted.
274
+ */
275
+ export declare enum ExternalProvider_Connection_DelegationMode {
276
+ /** The call acts as the account's owner, with no third party behind it. */
277
+ SERVICE = "service",
278
+ /** The call acts for a named user, whose authorization is what makes it permissible. */
279
+ USER = "user"
280
+ }
281
+ /**
282
+ * WHICH owner instance a single call spends — supplied BY THE CALL, never read from ambient context.
283
+ *
284
+ * This is the field's hardest constraint to get right and the reason it is a parameter rather than a
285
+ * property of the execution. `ExecutionContext.initiatorIds` answers WHO is performing the operation
286
+ * and `contextResourcesFieldIdentifier` answers WHICH ROWS are in scope; neither answers whose
287
+ * account is being spent, and a design that borrows either is wrong for a case that is entirely
288
+ * ordinary: one user action fanning out a message to every organization the user belongs to. One
289
+ * initiator, one execution, N organizations, a different account per call. An ambient answer cannot
290
+ * vary within one execution, so it cannot express that at all.
291
+ *
292
+ * The initiator is still decisive — as the AUTHORIZATION input. The call names the owner and the
293
+ * runtime asks whether this initiator may act for it. Supplying and authorizing are different jobs,
294
+ * and the resolver cannot verify a target it also invented.
295
+ */
296
+ export declare const ExternalProvider_ConnectionShapeSchema: z.ZodObject<{
297
+ ownerScope: z.ZodEnum<typeof ExternalProvider_Connection_OwnerScope>;
298
+ delegation: z.ZodDefault<z.ZodEnum<typeof ExternalProvider_Connection_DelegationMode>>;
299
+ }, z.core.$strip>;
300
+ /**
301
+ * A connection COMBINATION, with no instance attached — what a provider ADMITS.
302
+ *
303
+ * The capability and the call are the same two axes and different objects, which is why this is a
304
+ * separate schema rather than the target with its identifiers made optional. A provider admitting
305
+ * `ORGANIZATION × USER` says nothing about which organization; a call naming an organization and no
306
+ * user is incomplete. Making one schema serve both would have to relax exactly the refinements that
307
+ * make the call safe.
308
+ */
309
+ export type ExternalProvider_ConnectionShape = z.infer<typeof ExternalProvider_ConnectionShapeSchema>;
310
+ export declare const ExternalProvider_ConnectionTargetSchema: z.ZodObject<{
311
+ ownerScope: z.ZodEnum<typeof ExternalProvider_Connection_OwnerScope>;
312
+ delegation: z.ZodDefault<z.ZodEnum<typeof ExternalProvider_Connection_DelegationMode>>;
313
+ ownerId: z.ZodOptional<z.ZodString>;
314
+ actingForUserId: z.ZodOptional<z.ZodString>;
315
+ }, z.core.$strip>;
316
+ export type ExternalProvider_ConnectionTarget = z.infer<typeof ExternalProvider_ConnectionTargetSchema>;
187
317
  //# sourceMappingURL=security.external-connectors-models.schemas.d.ts.map