@wildo-ai/platform-core-shared 1.1.5 → 1.1.7

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 (88) hide show
  1. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
  2. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
  3. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
  4. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
  5. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
  6. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
  7. package/dist/esm/index.d.ts +2 -0
  8. package/dist/esm/index.d.ts.map +1 -1
  9. package/dist/esm/index.js +2 -0
  10. package/dist/esm/index.js.map +1 -1
  11. package/dist/esm/runtime/application-backend-env.contracts.d.ts +21 -2
  12. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  13. package/dist/esm/runtime/application-backend-env.contracts.js +21 -0
  14. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  15. package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -1
  16. package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -1
  17. package/dist/esm/runtime/http-server-env.contracts.d.ts +46 -0
  18. package/dist/esm/runtime/http-server-env.contracts.d.ts.map +1 -0
  19. package/dist/esm/runtime/http-server-env.contracts.js +55 -0
  20. package/dist/esm/runtime/http-server-env.contracts.js.map +1 -0
  21. package/dist/esm/runtime/runtime-topology.contracts.d.ts +0 -4
  22. package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
  23. package/dist/esm/runtime/runtime-topology.contracts.js +0 -12
  24. package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
  25. package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
  26. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
  27. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +106 -4
  28. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  29. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -1
  30. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +106 -4
  31. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
  32. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
  33. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +15 -0
  34. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
  35. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -1
  36. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +15 -0
  37. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
  38. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
  39. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  40. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  41. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +7 -5
  42. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
  43. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +7 -5
  44. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  45. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  46. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  47. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
  48. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
  49. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
  50. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +23 -0
  51. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
  52. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts +279 -0
  53. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts.map +1 -0
  54. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js +303 -0
  55. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js.map +1 -0
  56. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts +97 -1
  57. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -1
  58. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js +86 -0
  59. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -1
  60. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -1
  61. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -1
  62. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +88 -5
  63. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
  64. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +89 -7
  65. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
  66. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +230 -13
  67. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
  68. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +377 -16
  69. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
  70. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts.map +1 -1
  71. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js.map +1 -1
  72. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +6 -0
  73. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
  74. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +8 -0
  75. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
  76. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +45 -2
  77. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
  78. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +1 -1
  79. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
  80. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +16 -2
  81. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
  82. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +25 -2
  83. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
  84. package/dist/tsconfig.build.tsbuildinfo +1 -1
  85. package/package.json +4 -4
  86. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts +0 -0
  87. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts.map +0 -0
  88. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js.map +0 -0
@@ -45,10 +45,6 @@ export interface ApplicationRuntimeEndpointsInput {
45
45
  website?: RuntimeEndpointUrls | undefined;
46
46
  technicalDocumentation?: RuntimeEndpointUrls | undefined;
47
47
  mainBackendApi?: RuntimeEndpointUrls | undefined;
48
- healthCheckApi?: RuntimeEndpointUrls | undefined;
49
- mainWebhookApi?: RuntimeEndpointUrls | undefined;
50
- oauth2ProviderApi?: RuntimeEndpointUrls | undefined;
51
- mcpApi?: RuntimeEndpointUrls | undefined;
52
48
  }
53
49
  export declare function buildApplicationRuntimeEndpoints(input: ApplicationRuntimeEndpointsInput): Record<string, RuntimeEndpointUrls>;
54
50
  export declare function serializeRuntimeEndpointsRecord(endPoints: Record<string, RuntimeEndpointUrls>): string;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-topology.contracts.d.ts","sourceRoot":"","sources":["../../../../src/runtime/runtime-topology.contracts.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,oBAAY,uBAAuB;IACjC,qBAAqB,0BAA0B;IAC/C,iCAAiC,sCAAsC;IACvE,wBAAwB,6BAA6B;IACrD,qBAAqB,0BAA0B;IAC/C,QAAQ,aAAa;IACrB,aAAa,kBAAkB;CAChC;AAED;;;;;GAKG;AACH,oBAAY,0BAA0B;IACpC,qBAAqB,0BAAgD;IACrE,iCAAiC,sCAA4D;IAC7F,wBAAwB,6BAAmD;CAC5E;AAED,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,mBAAmB,CAAC;IACjC,sBAAsB,EAAE,mBAAmB,CAAC;IAC5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACtC;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,6BAA6B,GACnC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CASrC;AAED,MAAM,WAAW,gCAAgC;IAC/C,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACvE,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C,sBAAsB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzD,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD,iBAAiB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACpD,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAC1C;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,gCAAgC,GACtC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CA2BrC;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAC7C,MAAM,CAER;AAED,wBAAgB,2BAA2B,CACzC,0BAA0B,EAAE,MAAM,GACjC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAsBrC"}
1
+ {"version":3,"file":"runtime-topology.contracts.d.ts","sourceRoot":"","sources":["../../../src/runtime/runtime-topology.contracts.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,oBAAY,uBAAuB;IACjC,qBAAqB,0BAA0B;IAC/C,iCAAiC,sCAAsC;IACvE,wBAAwB,6BAA6B;IACrD,qBAAqB,0BAA0B;IAC/C,QAAQ,aAAa;IACrB,aAAa,kBAAkB;CAChC;AAED;;;;;GAKG;AACH,oBAAY,0BAA0B;IACpC,qBAAqB,0BAAgD;IACrE,iCAAiC,sCAA4D;IAC7F,wBAAwB,6BAAmD;CAC5E;AAED,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,mBAAmB,CAAC;IACjC,sBAAsB,EAAE,mBAAmB,CAAC;IAC5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,mBAAmB,CAAC;CACtC;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,6BAA6B,GACnC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CASrC;AAED,MAAM,WAAW,gCAAgC;IAC/C,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACvE,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C,sBAAsB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzD,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAClD;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,gCAAgC,GACtC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAerC;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAC7C,MAAM,CAER;AAED,wBAAgB,2BAA2B,CACzC,0BAA0B,EAAE,MAAM,GACjC,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAsBrC"}
@@ -49,18 +49,6 @@ export function buildApplicationRuntimeEndpoints(input) {
49
49
  if (input.mainBackendApi) {
50
50
  endPoints[BackendApiType.MAIN_BACKEND_API] = input.mainBackendApi;
51
51
  }
52
- if (input.healthCheckApi) {
53
- endPoints[BackendApiType.HEALTH_CHECK_API] = input.healthCheckApi;
54
- }
55
- if (input.mainWebhookApi) {
56
- endPoints[BackendApiType.MAIN_WEBHOOK_API] = input.mainWebhookApi;
57
- }
58
- if (input.oauth2ProviderApi) {
59
- endPoints[BackendApiType.OAUTH2_PROVIDER_API] = input.oauth2ProviderApi;
60
- }
61
- if (input.mcpApi) {
62
- endPoints[BackendApiType.MCP_API] = input.mcpApi;
63
- }
64
52
  return endPoints;
65
53
  }
66
54
  export function serializeRuntimeEndpointsRecord(endPoints) {
@@ -1 +1 @@
1
- {"version":3,"file":"runtime-topology.contracts.js","sourceRoot":"","sources":["../../../../src/runtime/runtime-topology.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,G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AAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YAChE,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,qBAAqB,CAAC,CAAC;QACjE,CAAC;QAED,MAAM,SAAS,GAAI,KAAiC,CAAC,SAAS,CAAC;QAC/D,MAAM,WAAW,GAAI,KAAiC,CAAC,WAAW,CAAC;QACnE,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACrE,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,4CAA4C,CAAC,CAAC;QACxF,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import {\n BackendApiType,\n StaticFrontEndType,\n} from '@wildo-ai/saas-models';\n\nexport interface RuntimeEndpointUrls {\n publicUrl: string;\n internalUrl: string;\n}\n\n/**\n * Shared application/service identifiers for platform-owned runtimes.\n *\n * This enum must live in the shared contract layer because CLI/runtime topology\n * code needs these semantics without importing backend runtime packages.\n */\nexport enum PlatformApplicationType {\n PLATFORM_APPS_MANAGER = 'platform_apps_manager',\n PLATFORM_CRONTABS_BATCHES_MANAGER = 'platform_crontabs_batches_manager',\n PLATFORM_MODULE_REGISTRY = 'platform_module_registry',\n APP_LIFECYCLE_MANAGER = 'app_lifecycle_manager',\n APP_CICD = 'app_cicd',\n PLATFORM_CICD = 'platform_cicd',\n}\n\n/**\n * Shared runtime endpoint keys for platform services.\n *\n * These are the subset of `PlatformApplicationType` that expose runtime\n * endpoints directly.\n */\nexport enum PlatformRuntimeEndpointKey {\n PLATFORM_APPS_MANAGER = PlatformApplicationType.PLATFORM_APPS_MANAGER,\n PLATFORM_CRONTABS_BATCHES_MANAGER = PlatformApplicationType.PLATFORM_CRONTABS_BATCHES_MANAGER,\n PLATFORM_MODULE_REGISTRY = PlatformApplicationType.PLATFORM_MODULE_REGISTRY,\n}\n\nexport interface PlatformRuntimeEndpointsInput {\n appsManager: RuntimeEndpointUrls;\n crontabsBatchesManager: RuntimeEndpointUrls;\n /**\n * Module-registry endpoint (Phase 3 / KD-7). Optional during the\n * Phase 3 rollout: existing platform deployments that haven't\n * yet provisioned the registry pass `undefined` and the entry\n * is omitted from the resulting record. New deployments + every\n * Phase 4+ caller MUST set it.\n */\n moduleRegistry?: RuntimeEndpointUrls;\n}\n\nexport function buildPlatformRuntimeEndpoints(\n input: PlatformRuntimeEndpointsInput,\n): Record<string, RuntimeEndpointUrls> {\n const out: Record<string, RuntimeEndpointUrls> = {\n [PlatformRuntimeEndpointKey.PLATFORM_APPS_MANAGER]: input.appsManager,\n [PlatformRuntimeEndpointKey.PLATFORM_CRONTABS_BATCHES_MANAGER]: input.crontabsBatchesManager,\n };\n if (input.moduleRegistry) {\n out[PlatformRuntimeEndpointKey.PLATFORM_MODULE_REGISTRY] = input.moduleRegistry;\n }\n return out;\n}\n\nexport interface ApplicationRuntimeEndpointsInput {\n frontendApplications?: Record<string, RuntimeEndpointUrls> | undefined;\n website?: RuntimeEndpointUrls | undefined;\n technicalDocumentation?: RuntimeEndpointUrls | undefined;\n mainBackendApi?: RuntimeEndpointUrls | undefined;\n healthCheckApi?: RuntimeEndpointUrls | undefined;\n mainWebhookApi?: RuntimeEndpointUrls | undefined;\n oauth2ProviderApi?: RuntimeEndpointUrls | undefined;\n mcpApi?: RuntimeEndpointUrls | undefined;\n}\n\nexport function buildApplicationRuntimeEndpoints(\n input: ApplicationRuntimeEndpointsInput,\n): Record<string, RuntimeEndpointUrls> {\n const endPoints: Record<string, RuntimeEndpointUrls> = {\n ...(input.frontendApplications ?? {}),\n };\n if (input.website) {\n endPoints[StaticFrontEndType.WEBSITE] = input.website;\n }\n if (input.technicalDocumentation) {\n endPoints[StaticFrontEndType.TECHNICAL_DOCUMENTATION] = input.technicalDocumentation;\n }\n if (input.mainBackendApi) {\n endPoints[BackendApiType.MAIN_BACKEND_API] = input.mainBackendApi;\n }\n if (input.healthCheckApi) {\n endPoints[BackendApiType.HEALTH_CHECK_API] = input.healthCheckApi;\n }\n if (input.mainWebhookApi) {\n endPoints[BackendApiType.MAIN_WEBHOOK_API] = input.mainWebhookApi;\n }\n if (input.oauth2ProviderApi) {\n endPoints[BackendApiType.OAUTH2_PROVIDER_API] = input.oauth2ProviderApi;\n }\n if (input.mcpApi) {\n endPoints[BackendApiType.MCP_API] = input.mcpApi;\n }\n\n return endPoints;\n}\n\nexport function serializeRuntimeEndpointsRecord(\n endPoints: Record<string, RuntimeEndpointUrls>,\n): string {\n return JSON.stringify(endPoints);\n}\n\nexport function parseRuntimeEndpointsRecord(\n serializedRuntimeEndpoints: string,\n): Record<string, RuntimeEndpointUrls> {\n const parsed = JSON.parse(serializedRuntimeEndpoints) as unknown;\n if (!parsed || typeof parsed !== 'object' || Array.isArray(parsed)) {\n throw new Error('Runtime endpoints payload must be a JSON object');\n }\n\n const record: Record<string, RuntimeEndpointUrls> = {};\n for (const [key, value] of Object.entries(parsed)) {\n if (!value || typeof value !== 'object' || Array.isArray(value)) {\n throw new Error(`Runtime endpoint \"${key}\" must be an object`);\n }\n\n const publicUrl = (value as Record<string, unknown>).publicUrl;\n const internalUrl = (value as Record<string, unknown>).internalUrl;\n if (typeof publicUrl !== 'string' || typeof internalUrl !== 'string') {\n throw new Error(`Runtime endpoint \"${key}\" must expose string publicUrl/internalUrl`);\n }\n\n record[key] = { publicUrl, internalUrl };\n }\n\n return record;\n}\n"]}
1
+ {"version":3,"file":"runtime-topology.contracts.js","sourceRoot":"","sources":["../../../src/runtime/runtime-topology.contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAO/B;;;;;GAKG;AACH,MAAM,CAAN,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IACjC,0EAA+C,CAAA;IAC/C,kGAAuE,CAAA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CAAC;AACnB,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,SAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,2BAA2B,CACzC,0BAAkC;IAElC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,0BAA0B,CAAY,CAAC;IACjE,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnE,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,MAAM,GAAwC,EAAE,CAAC;IACvD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YAChE,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,qBAAqB,CAAC,CAAC;QACjE,CAAC;QAED,MAAM,SAAS,GAAI,KAAiC,CAAC,SAAS,CAAC;QAC/D,MAAM,WAAW,GAAI,KAAiC,CAAC,WAAW,CAAC;QACnE,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;YACrE,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,4CAA4C,CAAC,CAAC;QACxF,CAAC;QAED,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import {\n BackendApiType,\n StaticFrontEndType,\n} from '@wildo-ai/saas-models';\n\nexport interface RuntimeEndpointUrls {\n publicUrl: string;\n internalUrl: string;\n}\n\n/**\n * Shared application/service identifiers for platform-owned runtimes.\n *\n * This enum must live in the shared contract layer because CLI/runtime topology\n * code needs these semantics without importing backend runtime packages.\n */\nexport enum PlatformApplicationType {\n PLATFORM_APPS_MANAGER = 'platform_apps_manager',\n PLATFORM_CRONTABS_BATCHES_MANAGER = 'platform_crontabs_batches_manager',\n PLATFORM_MODULE_REGISTRY = 'platform_module_registry',\n APP_LIFECYCLE_MANAGER = 'app_lifecycle_manager',\n APP_CICD = 'app_cicd',\n PLATFORM_CICD = 'platform_cicd',\n}\n\n/**\n * Shared runtime endpoint keys for platform services.\n *\n * These are the subset of `PlatformApplicationType` that expose runtime\n * endpoints directly.\n */\nexport enum PlatformRuntimeEndpointKey {\n PLATFORM_APPS_MANAGER = PlatformApplicationType.PLATFORM_APPS_MANAGER,\n PLATFORM_CRONTABS_BATCHES_MANAGER = PlatformApplicationType.PLATFORM_CRONTABS_BATCHES_MANAGER,\n PLATFORM_MODULE_REGISTRY = PlatformApplicationType.PLATFORM_MODULE_REGISTRY,\n}\n\nexport interface PlatformRuntimeEndpointsInput {\n appsManager: RuntimeEndpointUrls;\n crontabsBatchesManager: RuntimeEndpointUrls;\n /**\n * Module-registry endpoint (Phase 3 / KD-7). Optional during the\n * Phase 3 rollout: existing platform deployments that haven't\n * yet provisioned the registry pass `undefined` and the entry\n * is omitted from the resulting record. New deployments + every\n * Phase 4+ caller MUST set it.\n */\n moduleRegistry?: RuntimeEndpointUrls;\n}\n\nexport function buildPlatformRuntimeEndpoints(\n input: PlatformRuntimeEndpointsInput,\n): Record<string, RuntimeEndpointUrls> {\n const out: Record<string, RuntimeEndpointUrls> = {\n [PlatformRuntimeEndpointKey.PLATFORM_APPS_MANAGER]: input.appsManager,\n [PlatformRuntimeEndpointKey.PLATFORM_CRONTABS_BATCHES_MANAGER]: input.crontabsBatchesManager,\n };\n if (input.moduleRegistry) {\n out[PlatformRuntimeEndpointKey.PLATFORM_MODULE_REGISTRY] = input.moduleRegistry;\n }\n return out;\n}\n\nexport interface ApplicationRuntimeEndpointsInput {\n frontendApplications?: Record<string, RuntimeEndpointUrls> | undefined;\n website?: RuntimeEndpointUrls | undefined;\n technicalDocumentation?: RuntimeEndpointUrls | undefined;\n mainBackendApi?: RuntimeEndpointUrls | undefined;\n}\n\nexport function buildApplicationRuntimeEndpoints(\n input: ApplicationRuntimeEndpointsInput,\n): Record<string, RuntimeEndpointUrls> {\n const endPoints: Record<string, RuntimeEndpointUrls> = {\n ...(input.frontendApplications ?? {}),\n };\n if (input.website) {\n endPoints[StaticFrontEndType.WEBSITE] = input.website;\n }\n if (input.technicalDocumentation) {\n endPoints[StaticFrontEndType.TECHNICAL_DOCUMENTATION] = input.technicalDocumentation;\n }\n if (input.mainBackendApi) {\n endPoints[BackendApiType.MAIN_BACKEND_API] = input.mainBackendApi;\n }\n\n return endPoints;\n}\n\nexport function serializeRuntimeEndpointsRecord(\n endPoints: Record<string, RuntimeEndpointUrls>,\n): string {\n return JSON.stringify(endPoints);\n}\n\nexport function parseRuntimeEndpointsRecord(\n serializedRuntimeEndpoints: string,\n): Record<string, RuntimeEndpointUrls> {\n const parsed = JSON.parse(serializedRuntimeEndpoints) as unknown;\n if (!parsed || typeof parsed !== 'object' || Array.isArray(parsed)) {\n throw new Error('Runtime endpoints payload must be a JSON object');\n }\n\n const record: Record<string, RuntimeEndpointUrls> = {};\n for (const [key, value] of Object.entries(parsed)) {\n if (!value || typeof value !== 'object' || Array.isArray(value)) {\n throw new Error(`Runtime endpoint \"${key}\" must be an object`);\n }\n\n const publicUrl = (value as Record<string, unknown>).publicUrl;\n const internalUrl = (value as Record<string, unknown>).internalUrl;\n if (typeof publicUrl !== 'string' || typeof internalUrl !== 'string') {\n throw new Error(`Runtime endpoint \"${key}\" must expose string publicUrl/internalUrl`);\n }\n\n record[key] = { publicUrl, internalUrl };\n }\n\n return record;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"roles.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/security/authorizations/roles.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAwB,MAAM,uBAAuB,CAAC;AAEjF,eAAO,MAAM,0BAA0B,EAAE,kBAExC,CAAC"}
1
+ {"version":3,"file":"roles.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../src/security/authorizations/roles.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAwB,MAAM,uBAAuB,CAAC;AAEjF,eAAO,MAAM,0BAA0B,EAAE,kBAExC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"roles.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../../src/security/authorizations/roles.custom.shared.definitions.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAuB,EAE7D,CAAC","sourcesContent":["import { RolesConfiguration, ResourcePrimaryScope } from \"@wildo-ai/saas-models\";\n\nexport const CUSTOM_ROLES_CONFIGURATION: RolesConfiguration = {\n \n};\n\n"]}
1
+ {"version":3,"file":"roles.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../src/security/authorizations/roles.custom.shared.definitions.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,0BAA0B,GAAuB,EAE7D,CAAC","sourcesContent":["import { RolesConfiguration, ResourcePrimaryScope } from \"@wildo-ai/saas-models\";\n\nexport const CUSTOM_ROLES_CONFIGURATION: RolesConfiguration = {\n \n};\n\n"]}
@@ -17,10 +17,13 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
17
17
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
18
18
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
19
19
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
20
- }, import("zod/v4/core").$strip>>;
21
- statusChanges: import("zod").ZodArray<import("zod").ZodObject<{
22
- status: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>;
23
- timestamp: import("zod").ZodString;
20
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
21
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
22
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
23
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
24
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
25
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
26
+ }, import("zod/v4/core").$strict>>;
24
27
  }, import("zod/v4/core").$strip>>;
25
28
  createdAt: import("zod").ZodString;
26
29
  updatedAt: import("zod").ZodString;
@@ -46,8 +49,26 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
46
49
  }, import("zod/v4/core").$strip>>;
47
50
  requestedAt: import("zod").ZodString;
48
51
  expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
52
+ review: import("zod").ZodOptional<import("zod").ZodObject<{
53
+ surface: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
54
+ }, import("zod/v4/core").$strict>>;
49
55
  }, import("zod/v4/core").$strip>;
50
56
  suspendedAt: import("zod").ZodISODateTime;
57
+ route: import("zod").ZodOptional<import("zod").ZodObject<{
58
+ kind: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RouteKind>;
59
+ eligibleRole: import("zod").ZodOptional<import("zod").ZodString>;
60
+ organizationId: import("zod").ZodOptional<import("zod").ZodString>;
61
+ organizationUnitId: import("zod").ZodOptional<import("zod").ZodString>;
62
+ assigneeUserId: import("zod").ZodOptional<import("zod").ZodString>;
63
+ claimedAt: import("zod").ZodOptional<import("zod").ZodString>;
64
+ }, import("zod/v4/core").$strip>>;
65
+ requester: import("zod").ZodOptional<import("zod").ZodObject<{
66
+ kind: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
67
+ ref: import("zod").ZodString;
68
+ clientId: import("zod").ZodOptional<import("zod").ZodString>;
69
+ }, import("zod/v4/core").$strip>>;
70
+ routeVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
71
+ suspensionId: import("zod").ZodOptional<import("zod").ZodString>;
51
72
  }, import("zod/v4/core").$strip>>>;
52
73
  checkpoint: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
53
74
  context: import("zod").ZodAny;
@@ -72,12 +93,40 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
72
93
  }, import("zod/v4/core").$strip>>;
73
94
  requestedAt: import("zod").ZodString;
74
95
  expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
96
+ review: import("zod").ZodOptional<import("zod").ZodObject<{
97
+ surface: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
98
+ }, import("zod/v4/core").$strict>>;
75
99
  }, import("zod/v4/core").$strip>;
76
100
  suspendedAt: import("zod").ZodISODateTime;
101
+ route: import("zod").ZodOptional<import("zod").ZodObject<{
102
+ kind: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RouteKind>;
103
+ eligibleRole: import("zod").ZodOptional<import("zod").ZodString>;
104
+ organizationId: import("zod").ZodOptional<import("zod").ZodString>;
105
+ organizationUnitId: import("zod").ZodOptional<import("zod").ZodString>;
106
+ assigneeUserId: import("zod").ZodOptional<import("zod").ZodString>;
107
+ claimedAt: import("zod").ZodOptional<import("zod").ZodString>;
108
+ }, import("zod/v4/core").$strip>>;
109
+ requester: import("zod").ZodOptional<import("zod").ZodObject<{
110
+ kind: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
111
+ ref: import("zod").ZodString;
112
+ clientId: import("zod").ZodOptional<import("zod").ZodString>;
113
+ }, import("zod/v4/core").$strip>>;
114
+ routeVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
115
+ suspensionId: import("zod").ZodOptional<import("zod").ZodString>;
77
116
  }, import("zod/v4/core").$strip>>;
78
117
  interruptedContinuations: import("zod").ZodOptional<import("zod").ZodNumber>;
79
118
  }, import("zod/v4/core").$strip>>>;
80
119
  exclusiveSubject: import("zod").ZodOptional<import("zod").ZodString>;
120
+ statusChanges: import("zod").ZodArray<import("zod").ZodObject<{
121
+ status: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>;
122
+ timestamp: import("zod").ZodString;
123
+ resolution: import("zod").ZodOptional<import("zod").ZodObject<{
124
+ decisionRef: import("zod").ZodString;
125
+ outcome: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_Outcome>;
126
+ decidedByUserId: import("zod").ZodOptional<import("zod").ZodString>;
127
+ decidedAt: import("zod").ZodISODateTime;
128
+ }, import("zod/v4/core").$strip>>;
129
+ }, import("zod/v4/core").$strip>>;
81
130
  plan: import("zod").ZodOptional<import("zod").ZodObject<{
82
131
  _id: import("zod").ZodString;
83
132
  goalDescription: import("zod").ZodString;
@@ -93,6 +142,13 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
93
142
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
94
143
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
95
144
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
145
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
146
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
147
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
148
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
149
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
150
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
151
+ }, import("zod/v4/core").$strict>>;
96
152
  }, import("zod/v4/core").$strip>;
97
153
  relationships: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
98
154
  kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
@@ -219,12 +275,20 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
219
275
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
220
276
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
221
277
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
278
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
279
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
280
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
281
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
282
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
283
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
284
+ }, import("zod/v4/core").$strict>>;
222
285
  }, import("zod/v4/core").$strip>>>;
223
286
  executionType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
224
287
  userGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
225
288
  guidanceKey: import("zod").ZodOptional<import("zod").ZodString>;
226
289
  explanation: import("zod").ZodOptional<import("zod").ZodString>;
227
290
  resolution: import("zod").ZodOptional<import("zod").ZodString>;
291
+ params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
228
292
  completedSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
229
293
  nextAction: import("zod").ZodOptional<import("zod").ZodObject<{
230
294
  label: import("zod").ZodString;
@@ -304,6 +368,13 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
304
368
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
305
369
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
306
370
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
371
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
372
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
373
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
374
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
375
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
376
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
377
+ }, import("zod/v4/core").$strict>>;
307
378
  }, import("zod/v4/core").$strip>;
308
379
  relationships: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
309
380
  kind: import("zod").ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
@@ -544,12 +615,20 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
544
615
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
545
616
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
546
617
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
618
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
619
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
620
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
621
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
622
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
623
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
624
+ }, import("zod/v4/core").$strict>>;
547
625
  }, import("zod/v4/core").$strip>>>;
548
626
  executionType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
549
627
  userGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
550
628
  guidanceKey: import("zod").ZodOptional<import("zod").ZodString>;
551
629
  explanation: import("zod").ZodOptional<import("zod").ZodString>;
552
630
  resolution: import("zod").ZodOptional<import("zod").ZodString>;
631
+ params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
553
632
  completedSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
554
633
  nextAction: import("zod").ZodOptional<import("zod").ZodObject<{
555
634
  label: import("zod").ZodString;
@@ -681,12 +760,20 @@ export declare const wildoApplicationActorSystemExecutions_ResourceConfiguration
681
760
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
682
761
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
683
762
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
763
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
764
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
765
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
766
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
767
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
768
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
769
+ }, import("zod/v4/core").$strict>>;
684
770
  }, import("zod/v4/core").$strip>>>;
685
771
  executionType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
686
772
  userGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
687
773
  guidanceKey: import("zod").ZodOptional<import("zod").ZodString>;
688
774
  explanation: import("zod").ZodOptional<import("zod").ZodString>;
689
775
  resolution: import("zod").ZodOptional<import("zod").ZodString>;
776
+ params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
690
777
  completedSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
691
778
  nextAction: import("zod").ZodOptional<import("zod").ZodObject<{
692
779
  label: import("zod").ZodString;
@@ -719,6 +806,13 @@ export declare const wildoApplicationFlowSystemExecutions_ResourceConfiguration_
719
806
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
720
807
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
721
808
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
809
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
810
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
811
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
812
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
813
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
814
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
815
+ }, import("zod/v4/core").$strict>>;
722
816
  }, import("zod/v4/core").$strip>>;
723
817
  statusChanges: import("zod").ZodArray<import("zod").ZodObject<{
724
818
  status: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").FlowsActors_Status>;
@@ -795,12 +889,20 @@ export declare const wildoApplicationFlowSystemExecutions_ResourceConfiguration_
795
889
  consumableTokenId: import("zod").ZodOptional<import("zod").ZodString>;
796
890
  webhookProviderId: import("zod").ZodOptional<import("zod").ZodString>;
797
891
  anonymousUserId: import("zod").ZodOptional<import("zod").ZodString>;
892
+ inboundDeliveryId: import("zod").ZodOptional<import("zod").ZodString>;
893
+ inboundHandlerRef: import("zod").ZodOptional<import("zod").ZodString>;
894
+ inboundScopeUserId: import("zod").ZodOptional<import("zod").ZodString>;
895
+ inboundSender: import("zod").ZodOptional<import("zod").ZodObject<{
896
+ channel: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
897
+ assurance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
898
+ }, import("zod/v4/core").$strict>>;
798
899
  }, import("zod/v4/core").$strip>>>;
799
900
  executionType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
800
901
  userGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
801
902
  guidanceKey: import("zod").ZodOptional<import("zod").ZodString>;
802
903
  explanation: import("zod").ZodOptional<import("zod").ZodString>;
803
904
  resolution: import("zod").ZodOptional<import("zod").ZodString>;
905
+ params: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
804
906
  completedSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
805
907
  nextAction: import("zod").ZodOptional<import("zod").ZodObject<{
806
908
  label: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EAGrB,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAY/B,KAAK,wCAAwC,GACzC,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,CAAC;AA2CjC;;;;GAIG;AACH,eAAO,MAAM,iFAAiF,GAC3F,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC;AAEL,eAAO,MAAM,gFAAgF,GAC1F,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC"}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EAGrB,oBAAoB,EAErB,MAAM,uBAAuB,CAAC;AAY/B,KAAK,wCAAwC,GACzC,qBAAqB,CAAC,MAAM,GAC5B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,MAAM,CAAC;AA2CjC;;;;GAIG;AACH,eAAO,MAAM,iFAAiF,GAC3F,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC;AAEL,eAAO,MAAM,gFAAgF,GAC1F,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAwB7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schem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,CAAC,kCAAkC,EAAE,CAAC,EAAE;KACrF;CACF,CAAC,CAAC","sourcesContent":["import {\n CORE_APP_ROLES,\n CORE_ORG_ROLES,\n CoreResourceOperation,\n ResourceOperationRiskLevel,\n ResourceOperationVariantType,\n ResourceRelationship,\n createResourceConfiguration_Initialization,\n} from '@wildo-ai/saas-models';\nimport {\n CustomShared_ResourceFieldIdentifier,\n CustomShared_ResourceType,\n} from '../core/resources/resources-types.custom.shared.schemas';\nimport {\n Wildo_Application_ActorSystem_Execution_Schema,\n Wildo_Application_FlowSystem_Execution_Schema,\n} from './wildo-application-executions.custom.shared.schemas';\n\nconst WildoApplicationExecution_Operations = undefined;\n\ntype WildoApplicationExecution_CoreOperations =\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.READ\n | CoreResourceOperation.LIST\n | CoreResourceOperation.UPDATE;\n\nfunction createRepositoryOnlyDefaultVariant() {\n return {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY as const,\n isDefault: true as const,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * READ/LIST are API-callable since 2026-09-01; CREATE/UPDATE stay repository-only.\n *\n * The original decision (\"no public resource-controller surface\") was made when the ONLY consumer\n * was the companion's own repository-direct persistence. The application-creation workbench now\n * consumes these rows AS RESOURCES (plan `workbench-creation-board-resources.md`, Phase 1): the\n * creation board renders them through the engine's embedded resource surfaces instead of bespoke\n * companion routes. That requires exactly the read half of an API surface, so exactly the read half\n * is opened:\n *\n * - READ/LIST: `API_CALL`, gated `ORG_MEMBER` — the SAME read-posture as the parent\n * `wildoApplications` rows one resource over, resolved through organization membership. The first\n * draft reused the repository-only variants' `APP_ADMIN_SUPER_ADMIN`, and the measurement retired\n * it: a companion operator's app-tier roles are plain `APP_USER` (the seeded developer holds\n * `ORG_ADMIN` via MEMBERSHIP, not app-tier super-admin), so the admin gate 403'd the exact\n * operator this surface serves. Consistent with the audit-retention decision (2026-07-29): rows\n * kept as the organization's own audit material are rows its members may read.\n * - CREATE/UPDATE: unchanged `REPOSITORY_ONLY`. The companion remains the only writer, and the\n * generated write API the original decision refused stays refused.\n *\n * This config is shared with the platform tier (apps-manager registers the same map), so the read\n * routes appear there too, behind the same ORG_MEMBER gate — a deliberate consequence, not a leak.\n */\nfunction createOrgMemberReadApiVariant() {\n return {\n variantType: ResourceOperationVariantType.API_CALL as const,\n isDefault: true as const,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * These records are control-plane persistence written ONLY by the local companion. Writes stay\n * repository-first with no generated API; the READ HALF is an ORG_MEMBER-gated API surface since\n * 2026-09-01 — see `createOrgMemberReadApiVariant` above for the decision.\n */\nexport const wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory =\n (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplicationExecution_Operations,\n WildoApplicationExecution_CoreOperations,\n typeof Wildo_Application_ActorSystem_Execution_Schema\n >({\n mainSchema: Wildo_Application_ActorSystem_Execution_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS,\n resourceFieldIdentifier:\n CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n coreOperations: [\n CoreResourceOperation.CREATE,\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE,\n ],\n customOperation: WildoApplicationExecution_Operations,\n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n [CoreResourceOperation.READ]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.LIST]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n },\n });\n\nexport const wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory =\n (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplicationExecution_Operations,\n WildoApplicationExecution_CoreOperations,\n typeof Wildo_Application_FlowSystem_Execution_Schema\n >({\n mainSchema: Wildo_Application_FlowSystem_Execution_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS,\n resourceFieldIdentifier:\n CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n coreOperations: [\n CoreResourceOperation.CREATE,\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE,\n ],\n customOperation: WildoApplicationExecution_Operations,\n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n [CoreResourceOperation.READ]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.LIST]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n },\n });\n"]}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,EAE5B,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oCAAoC,EACpC,yBAAyB,GAC1B,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,8CAA8C,EAC9C,6CAA6C,GAC9C,MAAM,sDAAsD,CAAC;AAE9D,MAAM,oCAAoC,GAAG,SAAS,CAAC;AAQvD,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AC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,kCAAkC,EAAE,CAAC,EAAE;KACrF;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,gFAAgF,GAC3F,CAAC,sBAA8C,EAAE,EAAE,CAAC,0CAA0C,CAI5F;IACA,UAAU,EAAE,6CAA6C;IACzD,kBAAkB,EAAE,yBAAyB,CAAC,wCAAwC;IACtF,uBAAuB,EACrB,oCAAoC,CAAC,yBAAyB,CAAC,wCAAwC,CAAC;IAC1G,qBAAqB,EAAE,sBAAsB;IAC7C,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE;QACd,qBAAqB,CAAC,MAAM;QAC5B,qBAAqB,CAAC,IAAI;QAC1B,qBAAqB,CAAC,IAAI;QAC1B,qBAAqB,CAAC,MAAM;KAC7B;IACD,eAAe,EAAE,oCAAoC;IACrD,uBAAuB,EAAE;QACvB,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,kCAAkC,EAAE,CAAC,EAAE;QACpF,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,6BAA6B,EAAE,CAAC,EAAE;QAC7E,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,6BAA6B,EAAE,CAAC,EAAE;QAC7E,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,kCAAkC,EAAE,CAAC,EAAE;KACrF;CACF,CAAC,CAAC","sourcesContent":["import {\n CORE_APP_ROLES,\n CORE_ORG_ROLES,\n CoreResourceOperation,\n ResourceOperationRiskLevel,\n ResourceOperationVariantType,\n ResourceRelationship,\n createResourceConfiguration_Initialization,\n} from '@wildo-ai/saas-models';\nimport {\n CustomShared_ResourceFieldIdentifier,\n CustomShared_ResourceType,\n} from '../core/resources/resources-types.custom.shared.schemas';\nimport {\n Wildo_Application_ActorSystem_Execution_Schema,\n Wildo_Application_FlowSystem_Execution_Schema,\n} from './wildo-application-executions.custom.shared.schemas';\n\nconst WildoApplicationExecution_Operations = undefined;\n\ntype WildoApplicationExecution_CoreOperations =\n | CoreResourceOperation.CREATE\n | CoreResourceOperation.READ\n | CoreResourceOperation.LIST\n | CoreResourceOperation.UPDATE;\n\nfunction createRepositoryOnlyDefaultVariant() {\n return {\n variantType: ResourceOperationVariantType.REPOSITORY_ONLY as const,\n isDefault: true as const,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * READ/LIST are API-callable since 2026-09-01; CREATE/UPDATE stay repository-only.\n *\n * The original decision (\"no public resource-controller surface\") was made when the ONLY consumer\n * was the companion's own repository-direct persistence. The application-creation workbench now\n * consumes these rows AS RESOURCES (plan `workbench-creation-board-resources.md`, Phase 1): the\n * creation board renders them through the engine's embedded resource surfaces instead of bespoke\n * companion routes. That requires exactly the read half of an API surface, so exactly the read half\n * is opened:\n *\n * - READ/LIST: `API_CALL`, gated `ORG_MEMBER` — the SAME read-posture as the parent\n * `wildoApplications` rows one resource over, resolved through organization membership. The first\n * draft reused the repository-only variants' `APP_ADMIN_SUPER_ADMIN`, and the measurement retired\n * it: a companion operator's app-tier roles are plain `APP_USER` (the seeded developer holds\n * `ORG_ADMIN` via MEMBERSHIP, not app-tier super-admin), so the admin gate 403'd the exact\n * operator this surface serves. Consistent with the audit-retention decision (2026-07-29): rows\n * kept as the organization's own audit material are rows its members may read.\n * - CREATE/UPDATE: unchanged `REPOSITORY_ONLY`. The companion remains the only writer, and the\n * generated write API the original decision refused stays refused.\n *\n * This config is shared with the platform tier (apps-manager registers the same map), so the read\n * routes appear there too, behind the same ORG_MEMBER gate — a deliberate consequence, not a leak.\n */\nfunction createOrgMemberReadApiVariant() {\n return {\n variantType: ResourceOperationVariantType.API_CALL as const,\n isDefault: true as const,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n riskLevel: ResourceOperationRiskLevel.LOW as const,\n };\n}\n\n/**\n * These records are control-plane persistence written ONLY by the local companion. Writes stay\n * repository-first with no generated API; the READ HALF is an ORG_MEMBER-gated API surface since\n * 2026-09-01 — see `createOrgMemberReadApiVariant` above for the decision.\n */\nexport const wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory =\n (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplicationExecution_Operations,\n WildoApplicationExecution_CoreOperations,\n typeof Wildo_Application_ActorSystem_Execution_Schema\n >({\n mainSchema: Wildo_Application_ActorSystem_Execution_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS,\n resourceFieldIdentifier:\n CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n coreOperations: [\n CoreResourceOperation.CREATE,\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE,\n ],\n customOperation: WildoApplicationExecution_Operations,\n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n [CoreResourceOperation.READ]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.LIST]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n },\n });\n\nexport const wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory =\n (resourcesRelationships: ResourceRelationship[]) => createResourceConfiguration_Initialization<\n typeof WildoApplicationExecution_Operations,\n WildoApplicationExecution_CoreOperations,\n typeof Wildo_Application_FlowSystem_Execution_Schema\n >({\n mainSchema: Wildo_Application_FlowSystem_Execution_Schema,\n resourceIdentifier: CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS,\n resourceFieldIdentifier:\n CustomShared_ResourceFieldIdentifier[CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS],\n resourceRelationships: resourcesRelationships,\n isSystemResource: false,\n coreOperations: [\n CoreResourceOperation.CREATE,\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.UPDATE,\n ],\n customOperation: WildoApplicationExecution_Operations,\n operationsConfiguration: {\n [CoreResourceOperation.CREATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n [CoreResourceOperation.READ]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.LIST]: { variants: [createOrgMemberReadApiVariant()] },\n [CoreResourceOperation.UPDATE]: { variants: [createRepositoryOnlyDefaultVariant()] },\n },\n });\n"]}
@@ -16,10 +16,13 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
16
16
  consumableTokenId: z.ZodOptional<z.ZodString>;
17
17
  webhookProviderId: z.ZodOptional<z.ZodString>;
18
18
  anonymousUserId: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>>;
20
- statusChanges: z.ZodArray<z.ZodObject<{
21
- status: z.ZodEnum<typeof FlowsActors_Status>;
22
- timestamp: z.ZodString;
19
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
20
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
21
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
22
+ inboundSender: z.ZodOptional<z.ZodObject<{
23
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
24
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
25
+ }, z.core.$strict>>;
23
26
  }, z.core.$strip>>;
24
27
  createdAt: z.ZodString;
25
28
  updatedAt: z.ZodString;
@@ -45,8 +48,26 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
45
48
  }, z.core.$strip>>;
46
49
  requestedAt: z.ZodString;
47
50
  expiresAt: z.ZodOptional<z.ZodString>;
51
+ review: z.ZodOptional<z.ZodObject<{
52
+ surface: z.ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
53
+ }, z.core.$strict>>;
48
54
  }, z.core.$strip>;
49
55
  suspendedAt: z.ZodISODateTime;
56
+ route: z.ZodOptional<z.ZodObject<{
57
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RouteKind>;
58
+ eligibleRole: z.ZodOptional<z.ZodString>;
59
+ organizationId: z.ZodOptional<z.ZodString>;
60
+ organizationUnitId: z.ZodOptional<z.ZodString>;
61
+ assigneeUserId: z.ZodOptional<z.ZodString>;
62
+ claimedAt: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strip>>;
64
+ requester: z.ZodOptional<z.ZodObject<{
65
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
66
+ ref: z.ZodString;
67
+ clientId: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strip>>;
69
+ routeVersion: z.ZodOptional<z.ZodNumber>;
70
+ suspensionId: z.ZodOptional<z.ZodString>;
50
71
  }, z.core.$strip>>>;
51
72
  checkpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
73
  context: z.ZodAny;
@@ -71,12 +92,40 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
71
92
  }, z.core.$strip>>;
72
93
  requestedAt: z.ZodString;
73
94
  expiresAt: z.ZodOptional<z.ZodString>;
95
+ review: z.ZodOptional<z.ZodObject<{
96
+ surface: z.ZodEnum<typeof import("@wildo-ai/saas-models").AgentWorkDecisionSurface>;
97
+ }, z.core.$strict>>;
74
98
  }, z.core.$strip>;
75
99
  suspendedAt: z.ZodISODateTime;
100
+ route: z.ZodOptional<z.ZodObject<{
101
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RouteKind>;
102
+ eligibleRole: z.ZodOptional<z.ZodString>;
103
+ organizationId: z.ZodOptional<z.ZodString>;
104
+ organizationUnitId: z.ZodOptional<z.ZodString>;
105
+ assigneeUserId: z.ZodOptional<z.ZodString>;
106
+ claimedAt: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strip>>;
108
+ requester: z.ZodOptional<z.ZodObject<{
109
+ kind: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_RequesterKind>;
110
+ ref: z.ZodString;
111
+ clientId: z.ZodOptional<z.ZodString>;
112
+ }, z.core.$strip>>;
113
+ routeVersion: z.ZodOptional<z.ZodNumber>;
114
+ suspensionId: z.ZodOptional<z.ZodString>;
76
115
  }, z.core.$strip>>;
77
116
  interruptedContinuations: z.ZodOptional<z.ZodNumber>;
78
117
  }, z.core.$strip>>>;
79
118
  exclusiveSubject: z.ZodOptional<z.ZodString>;
119
+ statusChanges: z.ZodArray<z.ZodObject<{
120
+ status: z.ZodEnum<typeof FlowsActors_Status>;
121
+ timestamp: z.ZodString;
122
+ resolution: z.ZodOptional<z.ZodObject<{
123
+ decisionRef: z.ZodString;
124
+ outcome: z.ZodEnum<typeof import("@wildo-ai/saas-models").HumanDecision_Outcome>;
125
+ decidedByUserId: z.ZodOptional<z.ZodString>;
126
+ decidedAt: z.ZodISODateTime;
127
+ }, z.core.$strip>>;
128
+ }, z.core.$strip>>;
80
129
  plan: z.ZodOptional<z.ZodObject<{
81
130
  _id: z.ZodString;
82
131
  goalDescription: z.ZodString;
@@ -92,6 +141,13 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
92
141
  consumableTokenId: z.ZodOptional<z.ZodString>;
93
142
  webhookProviderId: z.ZodOptional<z.ZodString>;
94
143
  anonymousUserId: z.ZodOptional<z.ZodString>;
144
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
145
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
146
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
147
+ inboundSender: z.ZodOptional<z.ZodObject<{
148
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
149
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
150
+ }, z.core.$strict>>;
95
151
  }, z.core.$strip>;
96
152
  relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
97
153
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
@@ -218,12 +274,20 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
218
274
  consumableTokenId: z.ZodOptional<z.ZodString>;
219
275
  webhookProviderId: z.ZodOptional<z.ZodString>;
220
276
  anonymousUserId: z.ZodOptional<z.ZodString>;
277
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
278
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
279
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
280
+ inboundSender: z.ZodOptional<z.ZodObject<{
281
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
282
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
283
+ }, z.core.$strict>>;
221
284
  }, z.core.$strip>>>;
222
285
  executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
223
286
  userGuidance: z.ZodOptional<z.ZodObject<{
224
287
  guidanceKey: z.ZodOptional<z.ZodString>;
225
288
  explanation: z.ZodOptional<z.ZodString>;
226
289
  resolution: z.ZodOptional<z.ZodString>;
290
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
227
291
  completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
292
  nextAction: z.ZodOptional<z.ZodObject<{
229
293
  label: z.ZodString;
@@ -303,6 +367,13 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
303
367
  consumableTokenId: z.ZodOptional<z.ZodString>;
304
368
  webhookProviderId: z.ZodOptional<z.ZodString>;
305
369
  anonymousUserId: z.ZodOptional<z.ZodString>;
370
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
371
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
372
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
373
+ inboundSender: z.ZodOptional<z.ZodObject<{
374
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
375
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
376
+ }, z.core.$strict>>;
306
377
  }, z.core.$strip>;
307
378
  relationships: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
308
379
  kind: z.ZodLiteral<import("@wildo-ai/saas-models").FlowsActors_ElementKind.FLOW>;
@@ -543,12 +614,20 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
543
614
  consumableTokenId: z.ZodOptional<z.ZodString>;
544
615
  webhookProviderId: z.ZodOptional<z.ZodString>;
545
616
  anonymousUserId: z.ZodOptional<z.ZodString>;
617
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
618
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
619
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
620
+ inboundSender: z.ZodOptional<z.ZodObject<{
621
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
622
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
623
+ }, z.core.$strict>>;
546
624
  }, z.core.$strip>>>;
547
625
  executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
548
626
  userGuidance: z.ZodOptional<z.ZodObject<{
549
627
  guidanceKey: z.ZodOptional<z.ZodString>;
550
628
  explanation: z.ZodOptional<z.ZodString>;
551
629
  resolution: z.ZodOptional<z.ZodString>;
630
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
552
631
  completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
553
632
  nextAction: z.ZodOptional<z.ZodObject<{
554
633
  label: z.ZodString;
@@ -680,12 +759,20 @@ export declare const Wildo_Application_ActorSystem_Execution_Schema: z.ZodObject
680
759
  consumableTokenId: z.ZodOptional<z.ZodString>;
681
760
  webhookProviderId: z.ZodOptional<z.ZodString>;
682
761
  anonymousUserId: z.ZodOptional<z.ZodString>;
762
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
763
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
764
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
765
+ inboundSender: z.ZodOptional<z.ZodObject<{
766
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
767
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
768
+ }, z.core.$strict>>;
683
769
  }, z.core.$strip>>>;
684
770
  executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
685
771
  userGuidance: z.ZodOptional<z.ZodObject<{
686
772
  guidanceKey: z.ZodOptional<z.ZodString>;
687
773
  explanation: z.ZodOptional<z.ZodString>;
688
774
  resolution: z.ZodOptional<z.ZodString>;
775
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
689
776
  completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
690
777
  nextAction: z.ZodOptional<z.ZodObject<{
691
778
  label: z.ZodString;
@@ -723,6 +810,13 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
723
810
  consumableTokenId: z.ZodOptional<z.ZodString>;
724
811
  webhookProviderId: z.ZodOptional<z.ZodString>;
725
812
  anonymousUserId: z.ZodOptional<z.ZodString>;
813
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
814
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
815
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
816
+ inboundSender: z.ZodOptional<z.ZodObject<{
817
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
818
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
819
+ }, z.core.$strict>>;
726
820
  }, z.core.$strip>>;
727
821
  statusChanges: z.ZodArray<z.ZodObject<{
728
822
  status: z.ZodEnum<typeof FlowsActors_Status>;
@@ -799,12 +893,20 @@ export declare const Wildo_Application_FlowSystem_Execution_Schema: z.ZodObject<
799
893
  consumableTokenId: z.ZodOptional<z.ZodString>;
800
894
  webhookProviderId: z.ZodOptional<z.ZodString>;
801
895
  anonymousUserId: z.ZodOptional<z.ZodString>;
896
+ inboundDeliveryId: z.ZodOptional<z.ZodString>;
897
+ inboundHandlerRef: z.ZodOptional<z.ZodString>;
898
+ inboundScopeUserId: z.ZodOptional<z.ZodString>;
899
+ inboundSender: z.ZodOptional<z.ZodObject<{
900
+ channel: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundChannelKind>;
901
+ assurance: z.ZodEnum<typeof import("@wildo-ai/saas-models").InboundSenderAssurance>;
902
+ }, z.core.$strict>>;
802
903
  }, z.core.$strip>>>;
803
904
  executionType: z.ZodOptional<z.ZodEnum<typeof import("@wildo-ai/saas-models").ExecutionContext_ExecutionType>>;
804
905
  userGuidance: z.ZodOptional<z.ZodObject<{
805
906
  guidanceKey: z.ZodOptional<z.ZodString>;
806
907
  explanation: z.ZodOptional<z.ZodString>;
807
908
  resolution: z.ZodOptional<z.ZodString>;
909
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
808
910
  completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
809
911
  nextAction: z.ZodOptional<z.ZodObject<{
810
912
  label: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/wild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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxD,CAAC;AACH,MAAM,MAAM,sCAAsC,GAChD,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC"}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGL,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAK/B;;;GAGG;AACH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMzD,CAAC;AACH,MAAM,MAAM,uCAAuC,GACjD,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxD,CAAC;AACH,MAAM,MAAM,sCAAsC,GAChD,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;GAGG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAG,2BAA2B,CAAC,MAAM,CAAC;IAC/F,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAC5F,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAChG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;CACnG,CAAC,CAAC;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,2BAA2B,CAAC,MAAM,CAAC;IAC9F,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE;IACtD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAC5F,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,CAAC,YAAY,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAChG,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;CACnG,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}
1
+ {"version":3,"file":"wildo-application-executions.custom.shared.schemas.js","sourceRoot":"","sources":["../../../src/wildo-application-executions/wildo-application-executions.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAErB;;;GAGG;AACH,MAAM,CAAC,MAAM,8CAA8C,GA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CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE;CACnG,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport {\n ActorSystem_ExecutionSchema,\n FlowSystem_Execution_Schema,\n FlowsActors_Status,\n} from '@wildo-ai/saas-models';\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\n\ninitZodDecorators(z);\n\n/**\n * Platform-owned actor executions are persisted in the apps-manager database but\n * stay explicitly attached to the owning Wildo application row.\n */\nexport const Wildo_Application_ActorSystem_Execution_Schema = ActorSystem_ExecutionSchema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_ActorSystem_Execution =\n z.infer<typeof Wildo_Application_ActorSystem_Execution_Schema>;\n\n/**\n * Flow executions follow the same platform ownership chain as actor executions:\n * org-scoped in the apps-manager DB and child-linked to a single Wildo app.\n */\nexport const Wildo_Application_FlowSystem_Execution_Schema = FlowSystem_Execution_Schema.extend({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n organizationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n wildoApplicationId: z.string().isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n systemRef: z.string().min(1).isDBIndexed().isSummaryField(),\n status: z.enum(FlowsActors_Status).systemEnum('FlowsActors_Status').isDBIndexed().isSummaryField(),\n});\nexport type Wildo_Application_FlowSystem_Execution =\n z.infer<typeof Wildo_Application_FlowSystem_Execution_Schema>;\n"]}