@wildo-ai/saas-specifications 1.1.15 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/application-maturity/application-maturity-open-items.d.ts +2 -1
- package/dist/esm/_core/application-maturity/application-maturity-open-items.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-open-items.js +2 -1
- package/dist/esm/_core/application-maturity/application-maturity-open-items.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +5 -2
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +251 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +43 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +43 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +58 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +5 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +2 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +12 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +19 -3
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js +11 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +43 -0
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +17 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.js +46 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -1
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +5 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/service-method/service-method.family-aspects.js +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -1
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +36 -1
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -1
- package/dist/esm/_core/service-method/service-method.schemas.js +49 -1
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts +4 -3
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -3
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +5 -4
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +5 -4
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +13 -5
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +9 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +8 -4
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +8 -5
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +4 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +4 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/remote-agent-task-updates.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-task-updates.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-task-updates.resource.specification.js +98 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-task-updates.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-tasks.resource.specification.js +132 -0
- package/dist/esm/engine/flows-actors/resources/remote-agent-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/approval-seal.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/data-display/approval-seal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/signature-requests.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/data-display/signature-requests.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/signature-requests.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/data-display/signature-requests.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +2 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +6 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/delegated-work.system-emails.specification.d.ts +8 -0
- package/dist/esm/engine/notifications/system-emails/delegated-work.system-emails.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/system-emails/delegated-work.system-emails.specification.js +65 -0
- package/dist/esm/engine/notifications/system-emails/delegated-work.system-emails.specification.js.map +1 -0
- package/dist/esm/engine/notifications/system-emails/index.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +3 -1
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +9 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +50 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +25 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/antigravity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/antigravity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/antigravity.provider.specification.js +54 -0
- package/dist/esm/engine/providers/antigravity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.js +8 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +17 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/outbound-bearer-token.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/outbound-bearer-token.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/outbound-bearer-token.provider.specification.js +41 -0
- package/dist/esm/engine/providers/outbound-bearer-token.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +3 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature-requests.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/compliance/resources/signature-requests.resource.specification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,sBAAsB,EACtB,kCAAkC,EAGnC,MAAM,uBAAuB,CAAC;AAyB/B;;;;GAIG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"signature-requests.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/compliance/resources/signature-requests.resource.specification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI3B,sBAAsB,EACtB,kCAAkC,EAGnC,MAAM,uBAAuB,CAAC;AAyB/B;;;;GAIG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;iCAkIlD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4CAA4C;;;;;;;;;;;;iCA4FxD,CAAC"}
|
|
@@ -103,14 +103,17 @@ export const signatureRequestsResourceSpecification = resourceSpecification(sign
|
|
|
103
103
|
}),
|
|
104
104
|
stateChangedAt: schemaShape.stateChangedAt.dateSpec({ meaning: 'When the request last moved.' }),
|
|
105
105
|
signedDocument: schemaShape.signedDocument.fileSpec({
|
|
106
|
-
meaning: 'The signed document the vendor returned, kept once it validated; derived from the original as a vendor-signed copy.',
|
|
106
|
+
meaning: 'The signed document the vendor returned, kept once it validated (or, without `validatedAt`, once it was accepted from a vendor\'s test environment in development or test); derived from the original as a vendor-signed copy.',
|
|
107
107
|
whyItMatters: 'It is the evidence of the signature: it carries the signers\' certificates and goes only with the deliverable\'s record.',
|
|
108
108
|
}),
|
|
109
109
|
validationEvidence: schemaShape.validationEvidence.fileSpec({
|
|
110
110
|
meaning: 'What the validation checked, as JSON: the signatures, each chain, the check date and every CRL and OCSP response used.',
|
|
111
|
-
whyItMatters: 'It says the document was validated at a given time with given revocation data, for as long as the request lives.',
|
|
111
|
+
whyItMatters: 'It says the document was validated at a given time with given revocation data, for as long as the request lives. For a request accepted from a vendor\'s test environment it holds the validator\'s refusal and the standing `accepted_from_test_environment` instead.',
|
|
112
|
+
}),
|
|
113
|
+
validatedAt: schemaShape.validatedAt.dateSpec({
|
|
114
|
+
meaning: 'When the signed document validated: the moment the evidence speaks for.',
|
|
115
|
+
whyItMatters: 'Absent on a request SIGNED from a vendor\'s test environment in development or test, whose document was accepted without validating: it is what tells a validated signature from a test one.',
|
|
112
116
|
}),
|
|
113
|
-
validatedAt: schemaShape.validatedAt.dateSpec({ meaning: 'When the signed document validated: the moment the evidence speaks for.' }),
|
|
114
117
|
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the request was created.' }),
|
|
115
118
|
updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was last written.' }),
|
|
116
119
|
},
|
|
@@ -145,7 +148,7 @@ export const signatureRequestsResourceSpecification = resourceSpecification(sign
|
|
|
145
148
|
},
|
|
146
149
|
businessConstraints: [
|
|
147
150
|
'A request is created only once the deliverable\'s approval is sealed.',
|
|
148
|
-
'A request becomes SIGNED only on a signed document validated at receipt, never on the vendor\'s status
|
|
151
|
+
'A request becomes SIGNED only on a signed document validated at receipt, never on the vendor\'s status; in a vendor\'s test environment, in development or test only, its document is accepted unvalidated and the request is SIGNED without `validatedAt`.',
|
|
149
152
|
'A final state is never left, and a later event is ignored and recorded.',
|
|
150
153
|
'A request\'s subject and original file are never re-pointed.',
|
|
151
154
|
],
|
|
@@ -219,7 +222,7 @@ export const signatureRequestSignersResourceSpecification = resourceSpecificatio
|
|
|
219
222
|
[SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION]: {
|
|
220
223
|
operationId: SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION,
|
|
221
224
|
purpose: 'Open the signature vendor\'s signing page for the signed-in person, to sign a record\'s deliverable in a frame of the application (embedded signing).',
|
|
222
|
-
outcome: 'The person signs at the vendor without leaving the application. The request becomes SIGNED only once the engine has validated the signed document, at its next re-read.',
|
|
225
|
+
outcome: 'The person signs at the vendor without leaving the application. The request becomes SIGNED only once the engine has validated the signed document, at its next re-read (in a vendor\'s test environment, in development or test, once it has accepted it unvalidated).',
|
|
223
226
|
whenToUse: 'From the page where the person meets the record, through the `EmbeddedSigningFrame` component, when the request\'s provider declares embedded signing. The page URL is valid for minutes and is never stored, so ask for it when the person is there.',
|
|
224
227
|
importance: FieldSemanticImportance.PRIMARY,
|
|
225
228
|
responseStatuses: [
|
package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature-requests.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/compliance/resources/signature-requests.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACtB,kCAAkC,EAClC,kEAAkE,EAClE,4DAA4D,GAC7D,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAC/C,WAAW,EAAE,uBAAuB;IACpC,UAAU;IACV,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAClD,WAAW,EAAE,uBAAuB;IACpC,UAAU;IACV,UAAU,EAAE,cAAc,CAAC,OAAO;IAClC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;CAC9C,CAAC,CAAC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uB,CAAC,OAAO;YAC3C,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,2FAA2F,EAAE;aACnJ;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,eAAe,EAAE,IAAI,EAAE,mFAAmF,EAAE;gBAC3I,EAAE,IAAI,EAAE,sBAAsB,CAAC,gBAAgB,EAAE,IAAI,EAAE,sBAAsB,EAAE;gBAC/E,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,wIAAwI,EAAE;gBAC9L,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,mJAAmJ,EAAE;gBACzM,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,iEAAiE,EAAE;aACvH;YACD,UAAU,EAAE,KAAK;SAClB;KACF;IACD,mBAAmB,EAAE;QACnB,gDAAgD;QAChD,uGAAuG;QACvG,2DAA2D;KAC5D;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport { ElectronicSignature_Level } from '@wildo-ai/external-connectors-models';\nimport {\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n SignatureRequestSchema,\n SignatureRequestSignerSchema,\n SignatureRequest_State,\n SignatureRequestSigners_Operations,\n signatureRequestSignersResourceConfiguration_InitializationFactory,\n signatureRequestsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nconst factoryDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n});\n\nconst schemaDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n});\n\n/**\n * Framework-owned specification for `signatureRequests` (#2293): a deliverable sent to a trust-service vendor for its\n * approver's own electronic signature. No frontend configuration and no route: the engine writes rows through the\n * repository. The runtime reasoning lives in the schema file's header and is not restated here.\n */\nexport const signatureRequestsResourceSpecification = resourceSpecification(\n signatureRequestsResourceConfiguration_InitializationFactory,\n SignatureRequestSchema,\n ({ schemaShape }) => ({\n purpose: 'Record a deliverable sent to a trust-service vendor so the people who must sign it apply their own electronic signature, and hold where that request stands.',\n businessRole: 'What lets a deliverable carry its approver\\'s advanced electronic signature (eIDAS Art. 26), relied on by a third party who must not depend on the operator. It names the deliverable\\'s record, the frozen original sent, the approval seal that released it, the level required and the vendor it went through.',\n lifecycleRole: 'Created by the engine once the deliverable\\'s approval is sealed, in SENT. Moved by its one transition function: PARTIALLY_SIGNED when the vendor reports a signer, SIGNED only when the signed document validated and proves every signer at the required level, DECLINED, EXPIRED or CANCELLED as reported, FAILED when the evidence proves another signer or level. A final state absorbs every later event. It goes with the deliverable\\'s record, and that record\\'s legal holds keep it.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: schemaDeclaration('SignatureRequestSchema'),\n resourceFactory: factoryDeclaration('signatureRequestsResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'SIGNATURE_REQUESTS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'CREATE, UPDATE and DELETE are REPOSITORY_ONLY: the engine creates a request after the approval is sealed, moves it through `advanceSignatureRequestState`, and only the teardown of its record removes it.',\n 'READ and LIST are INTERNAL_CALL: route-less, service-resolvable.',\n 'Evidence of its subject (#2940): `linkedResourceType`, `linkedResourceId` and the attested `originalFileId` are immutable for every writer.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this signature request.', semanticRole: 'identifier' }),\n applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the request belongs to.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.stringSpec({ meaning: 'The organization the deliverable belongs to, when it belongs to one.', semanticRole: 'identifier' }),\n linkedResourceType: schemaShape.linkedResourceType.stringSpec({ meaning: 'The resource type of the record the deliverable belongs to.', semanticRole: 'code' }),\n linkedResourceId: schemaShape.linkedResourceId.stringSpec({\n meaning: 'The id of the record the deliverable belongs to.',\n whyItMatters: 'The request goes when that record goes, and that record\\'s legal holds keep it.',\n semanticRole: 'identifier',\n }),\n originalFileId: schemaShape.originalFileId.stringSpec({\n meaning: 'The frozen original sent for signature: the request\\'s attested file, kept unchanged while the request exists.',\n semanticRole: 'identifier',\n }),\n originalContentSha256: schemaShape.originalContentSha256.stringSpec({\n meaning: 'The SHA-256 the original recorded of its bytes when it was sent.',\n whyItMatters: 'The signed document\\'s signed revision must be exactly these bytes, or the evidence does not validate.',\n semanticRole: 'code',\n }),\n approvalSealId: schemaShape.approvalSealId.stringSpec({\n meaning: 'The approval seal of the decision that released the deliverable.',\n whyItMatters: 'A request is created only once that seal exists, so the trail links the agent, the reviewer and the signers.',\n semanticRole: 'identifier',\n }),\n requiredLevel: schemaShape.requiredLevel.enumSpec({\n meaning: 'The level of electronic signature the deliverable requires.',\n enumDeclaration: { ...enumDeclaration('ElectronicSignature_Level'), packageName: '@wildo-ai/external-connectors-models' },\n values: {\n [ElectronicSignature_Level.SIMPLE]: { meaning: 'A simple electronic signature.' },\n [ElectronicSignature_Level.ADVANCED]: { meaning: 'An advanced electronic signature, applied by a trust-service vendor.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The provider the request was sent through, pinned for its life.', semanticRole: 'code' }),\n vendorReferences: schemaShape.vendorReferences.arraySpec({\n meaning: 'The vendor\\'s own references for this request; several when the vendor splits a request per document.',\n elementMeaning: 'One vendor reference.',\n }),\n primaryVendorReference: schemaShape.primaryVendorReference.stringSpec({\n meaning: 'The first vendor reference: the one a vendor\\'s notification names the request by.',\n whyItMatters: 'A notification only causes a re-read of the request it names; this is how it is found.',\n semanticRole: 'identifier',\n }),\n state: schemaShape.state.enumSpec({\n meaning: 'Where the request stands.',\n enumDeclaration: enumDeclaration('SignatureRequest_State'),\n values: {\n [SignatureRequest_State.SENT]: { meaning: 'Sent; nobody has signed yet, as far as the vendor reports.' },\n [SignatureRequest_State.PARTIALLY_SIGNED]: { meaning: 'The vendor reports that some signers signed. A claim of the vendor\\'s, never evidence.' },\n [SignatureRequest_State.SIGNED]: { meaning: 'The signed document validated and proves every signer at the required level. Final.' },\n [SignatureRequest_State.DECLINED]: { meaning: 'A signer refused. Final.' },\n [SignatureRequest_State.EXPIRED]: { meaning: 'The vendor\\'s deadline passed. Final.' },\n [SignatureRequest_State.CANCELLED]: { meaning: 'Withdrawn before it was signed. Final.' },\n [SignatureRequest_State.FAILED]: { meaning: 'The evidence proves another signer or a lower level than required. Final.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n stateChangedAt: schemaShape.stateChangedAt.dateSpec({ meaning: 'When the request last moved.' }),\n signedDocument: schemaShape.signedDocument.fileSpec({\n meaning: 'The signed document the vendor returned, kept once it validated; derived from the original as a vendor-signed copy.',\n whyItMatters: 'It is the evidence of the signature: it carries the signers\\' certificates and goes only with the deliverable\\'s record.',\n }),\n validationEvidence: schemaShape.validationEvidence.fileSpec({\n meaning: 'What the validation checked, as JSON: the signatures, each chain, the check date and every CRL and OCSP response used.',\n whyItMatters: 'It says the document was validated at a given time with given revocation data, for as long as the request lives.',\n }),\n validatedAt: schemaShape.validatedAt.dateSpec({ meaning: 'When the signed document validated: the moment the evidence speaks for.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the request was created.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was last written.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a deliverable sent for signature, once its approval is sealed.',\n outcome: 'The request exists in SENT and attests the frozen original.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The request was recorded.' }],\n },\n [Op.READ]: {\n purpose: 'Read one request.',\n outcome: 'The engine has the request and its state.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List requests: the open ones to re-read, those of a record.',\n outcome: 'The engine finds what it must re-read or tear down.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The requests were returned.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Move a request to the state its transition function gives.',\n outcome: 'An open request moves; a final one is never written again.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request moved.' }],\n },\n [Op.DELETE]: {\n purpose: 'Remove a request with the record it attests.',\n outcome: 'The request and its signers are gone, and the destruction is recorded.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was removed.' }],\n },\n },\n businessConstraints: [\n 'A request is created only once the deliverable\\'s approval is sealed.',\n 'A request becomes SIGNED only on a signed document validated at receipt, never on the vendor\\'s status.',\n 'A final state is never left, and a later event is ignored and recorded.',\n 'A request\\'s subject and original file are never re-pointed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n\n/**\n * Framework-owned specification for `signatureRequestSigners` (#2293): each person asked to sign a request.\n */\nexport const signatureRequestSignersResourceSpecification = resourceSpecification(\n signatureRequestSignersResourceConfiguration_InitializationFactory,\n SignatureRequestSignerSchema,\n ({ schemaShape }) => ({\n purpose: 'Name each person asked to sign a deliverable sent for signature, in the order the vendor asks them.',\n businessRole: 'The link between a signature request and the people it asks: what the validated evidence must prove signed, and what a signer\\'s export and erasure find.',\n lifecycleRole: 'Created with its request. Removed with its request, or with the record the request attests. A signer\\'s erasure keeps the row and removes the vendor\\'s reference to them.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: schemaDeclaration('SignatureRequestSignerSchema'),\n resourceFactory: factoryDeclaration('signatureRequestSignersResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'SIGNATURE_REQUEST_SIGNERS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('SignatureRequestSigners_Operations') },\n notes: [\n 'A row of its own rather than an array on the request: a signer is a data subject, found through a scalar foreign key.',\n 'The one route is the signer\\'s own `openSigningSession` (embedded signing): it answers the vendor\\'s signing page, reads the rows to find it and writes none. A vendor that answers no page is a 502.',\n 'Evidence of the same record as its request, because the evidence teardown deletes evidence rows directly.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this signer row.', semanticRole: 'identifier' }),\n applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the row belongs to.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.stringSpec({ meaning: 'The organization the deliverable belongs to, when it belongs to one.', semanticRole: 'identifier' }),\n signatureRequestId: schemaShape.signatureRequestId.stringSpec({ meaning: 'The request this signer belongs to.', semanticRole: 'identifier' }),\n linkedResourceType: schemaShape.linkedResourceType.stringSpec({ meaning: 'The resource type of the record the request attests.', semanticRole: 'code' }),\n linkedResourceId: schemaShape.linkedResourceId.stringSpec({ meaning: 'The id of the record the request attests.', semanticRole: 'identifier' }),\n signerUserId: schemaShape.signerUserId.stringSpec({\n meaning: 'The person asked to sign.',\n whyItMatters: 'The validated evidence must prove this person signed; it is also the row\\'s link to them for their export and their erasure.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n signingOrder: schemaShape.signingOrder.numberSpec({ meaning: 'The order in which the vendor asks the signers, from 0. Equal orders sign in parallel.' }),\n vendorSignerReference: schemaShape.vendorSignerReference.stringSpec({ meaning: 'The vendor\\'s reference to this signer. Removed on the signer\\'s erasure.', semanticRole: 'identifier' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was created.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was last written.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Name a signer of a request, with the request.',\n outcome: 'The person is asked to sign.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The signer was recorded.' }],\n },\n [Op.READ]: {\n purpose: 'Read one signer row.',\n outcome: 'The engine has the signer.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signer was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List the signers of a request, or the rows naming a person.',\n outcome: 'The engine, an export or an erasure finds what it needs.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signers were returned.' }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Remove the vendor\\'s reference to an erased signer.',\n outcome: 'The row stays as the record that a signature was asked for.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The reference was removed.' }],\n },\n [Op.DELETE]: {\n purpose: 'Remove a signer with its request.',\n outcome: 'The row is gone.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signer was removed.' }],\n },\n [SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION]: {\n operationId: SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION,\n purpose: 'Open the signature vendor\\'s signing page for the signed-in person, to sign a record\\'s deliverable in a frame of the application (embedded signing).',\n outcome: 'The person signs at the vendor without leaving the application. The request becomes SIGNED only once the engine has validated the signed document, at its next re-read.',\n whenToUse: 'From the page where the person meets the record, through the `EmbeddedSigningFrame` component, when the request\\'s provider declares embedded signing. The page URL is valid for minutes and is never stored, so ask for it when the person is there.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The vendor\\'s signing page for the caller: its URL and, when the vendor says, its expiry.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The return URL is not an absolute URL on one of the application\\'s own frontends.' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'Nobody is signed in.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a person on their own request (a machine credential, a one-off token): the page would apply the person\\'s signature.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No open request on that record names the caller as a signer, or the vendor reports they have already signed: nothing left for them to sign there.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The request\\'s provider lets signers sign from its e-mail only.' },\n ],\n idempotent: false,\n },\n },\n businessConstraints: [\n 'A signer row names one person and one request.',\n 'A signing page is opened only for a signer an open request names, keyed on the caller\\'s own user id.',\n 'A signer row\\'s request and subject are never re-pointed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"signature-requests.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/compliance/resources/signature-requests.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EA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AgD;QAChD,uGAAuG;QACvG,2DAA2D;KAC5D;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport { ElectronicSignature_Level } from '@wildo-ai/external-connectors-models';\nimport {\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n SignatureRequestSchema,\n SignatureRequestSignerSchema,\n SignatureRequest_State,\n SignatureRequestSigners_Operations,\n signatureRequestSignersResourceConfiguration_InitializationFactory,\n signatureRequestsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nconst factoryDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n});\n\nconst schemaDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n});\n\n/**\n * Framework-owned specification for `signatureRequests` (#2293): a deliverable sent to a trust-service vendor for its\n * approver's own electronic signature. No frontend configuration and no route: the engine writes rows through the\n * repository. The runtime reasoning lives in the schema file's header and is not restated here.\n */\nexport const signatureRequestsResourceSpecification = resourceSpecification(\n signatureRequestsResourceConfiguration_InitializationFactory,\n SignatureRequestSchema,\n ({ schemaShape }) => ({\n purpose: 'Record a deliverable sent to a trust-service vendor so the people who must sign it apply their own electronic signature, and hold where that request stands.',\n businessRole: 'What lets a deliverable carry its approver\\'s advanced electronic signature (eIDAS Art. 26), relied on by a third party who must not depend on the operator. It names the deliverable\\'s record, the frozen original sent, the approval seal that released it, the level required and the vendor it went through.',\n lifecycleRole: 'Created by the engine once the deliverable\\'s approval is sealed, in SENT. Moved by its one transition function: PARTIALLY_SIGNED when the vendor reports a signer, SIGNED only when the signed document validated and proves every signer at the required level, DECLINED, EXPIRED or CANCELLED as reported, FAILED when the evidence proves another signer or level. A final state absorbs every later event. It goes with the deliverable\\'s record, and that record\\'s legal holds keep it.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: schemaDeclaration('SignatureRequestSchema'),\n resourceFactory: factoryDeclaration('signatureRequestsResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'SIGNATURE_REQUESTS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'CREATE, UPDATE and DELETE are REPOSITORY_ONLY: the engine creates a request after the approval is sealed, moves it through `advanceSignatureRequestState`, and only the teardown of its record removes it.',\n 'READ and LIST are INTERNAL_CALL: route-less, service-resolvable.',\n 'Evidence of its subject (#2940): `linkedResourceType`, `linkedResourceId` and the attested `originalFileId` are immutable for every writer.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this signature request.', semanticRole: 'identifier' }),\n applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the request belongs to.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.stringSpec({ meaning: 'The organization the deliverable belongs to, when it belongs to one.', semanticRole: 'identifier' }),\n linkedResourceType: schemaShape.linkedResourceType.stringSpec({ meaning: 'The resource type of the record the deliverable belongs to.', semanticRole: 'code' }),\n linkedResourceId: schemaShape.linkedResourceId.stringSpec({\n meaning: 'The id of the record the deliverable belongs to.',\n whyItMatters: 'The request goes when that record goes, and that record\\'s legal holds keep it.',\n semanticRole: 'identifier',\n }),\n originalFileId: schemaShape.originalFileId.stringSpec({\n meaning: 'The frozen original sent for signature: the request\\'s attested file, kept unchanged while the request exists.',\n semanticRole: 'identifier',\n }),\n originalContentSha256: schemaShape.originalContentSha256.stringSpec({\n meaning: 'The SHA-256 the original recorded of its bytes when it was sent.',\n whyItMatters: 'The signed document\\'s signed revision must be exactly these bytes, or the evidence does not validate.',\n semanticRole: 'code',\n }),\n approvalSealId: schemaShape.approvalSealId.stringSpec({\n meaning: 'The approval seal of the decision that released the deliverable.',\n whyItMatters: 'A request is created only once that seal exists, so the trail links the agent, the reviewer and the signers.',\n semanticRole: 'identifier',\n }),\n requiredLevel: schemaShape.requiredLevel.enumSpec({\n meaning: 'The level of electronic signature the deliverable requires.',\n enumDeclaration: { ...enumDeclaration('ElectronicSignature_Level'), packageName: '@wildo-ai/external-connectors-models' },\n values: {\n [ElectronicSignature_Level.SIMPLE]: { meaning: 'A simple electronic signature.' },\n [ElectronicSignature_Level.ADVANCED]: { meaning: 'An advanced electronic signature, applied by a trust-service vendor.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The provider the request was sent through, pinned for its life.', semanticRole: 'code' }),\n vendorReferences: schemaShape.vendorReferences.arraySpec({\n meaning: 'The vendor\\'s own references for this request; several when the vendor splits a request per document.',\n elementMeaning: 'One vendor reference.',\n }),\n primaryVendorReference: schemaShape.primaryVendorReference.stringSpec({\n meaning: 'The first vendor reference: the one a vendor\\'s notification names the request by.',\n whyItMatters: 'A notification only causes a re-read of the request it names; this is how it is found.',\n semanticRole: 'identifier',\n }),\n state: schemaShape.state.enumSpec({\n meaning: 'Where the request stands.',\n enumDeclaration: enumDeclaration('SignatureRequest_State'),\n values: {\n [SignatureRequest_State.SENT]: { meaning: 'Sent; nobody has signed yet, as far as the vendor reports.' },\n [SignatureRequest_State.PARTIALLY_SIGNED]: { meaning: 'The vendor reports that some signers signed. A claim of the vendor\\'s, never evidence.' },\n [SignatureRequest_State.SIGNED]: { meaning: 'The signed document validated and proves every signer at the required level. Final.' },\n [SignatureRequest_State.DECLINED]: { meaning: 'A signer refused. Final.' },\n [SignatureRequest_State.EXPIRED]: { meaning: 'The vendor\\'s deadline passed. Final.' },\n [SignatureRequest_State.CANCELLED]: { meaning: 'Withdrawn before it was signed. Final.' },\n [SignatureRequest_State.FAILED]: { meaning: 'The evidence proves another signer or a lower level than required. Final.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n stateChangedAt: schemaShape.stateChangedAt.dateSpec({ meaning: 'When the request last moved.' }),\n signedDocument: schemaShape.signedDocument.fileSpec({\n meaning: 'The signed document the vendor returned, kept once it validated (or, without `validatedAt`, once it was accepted from a vendor\\'s test environment in development or test); derived from the original as a vendor-signed copy.',\n whyItMatters: 'It is the evidence of the signature: it carries the signers\\' certificates and goes only with the deliverable\\'s record.',\n }),\n validationEvidence: schemaShape.validationEvidence.fileSpec({\n meaning: 'What the validation checked, as JSON: the signatures, each chain, the check date and every CRL and OCSP response used.',\n whyItMatters: 'It says the document was validated at a given time with given revocation data, for as long as the request lives. For a request accepted from a vendor\\'s test environment it holds the validator\\'s refusal and the standing `accepted_from_test_environment` instead.',\n }),\n validatedAt: schemaShape.validatedAt.dateSpec({\n meaning: 'When the signed document validated: the moment the evidence speaks for.',\n whyItMatters: 'Absent on a request SIGNED from a vendor\\'s test environment in development or test, whose document was accepted without validating: it is what tells a validated signature from a test one.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the request was created.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was last written.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a deliverable sent for signature, once its approval is sealed.',\n outcome: 'The request exists in SENT and attests the frozen original.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The request was recorded.' }],\n },\n [Op.READ]: {\n purpose: 'Read one request.',\n outcome: 'The engine has the request and its state.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List requests: the open ones to re-read, those of a record.',\n outcome: 'The engine finds what it must re-read or tear down.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The requests were returned.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Move a request to the state its transition function gives.',\n outcome: 'An open request moves; a final one is never written again.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request moved.' }],\n },\n [Op.DELETE]: {\n purpose: 'Remove a request with the record it attests.',\n outcome: 'The request and its signers are gone, and the destruction is recorded.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was removed.' }],\n },\n },\n businessConstraints: [\n 'A request is created only once the deliverable\\'s approval is sealed.',\n 'A request becomes SIGNED only on a signed document validated at receipt, never on the vendor\\'s status; in a vendor\\'s test environment, in development or test only, its document is accepted unvalidated and the request is SIGNED without `validatedAt`.',\n 'A final state is never left, and a later event is ignored and recorded.',\n 'A request\\'s subject and original file are never re-pointed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n\n/**\n * Framework-owned specification for `signatureRequestSigners` (#2293): each person asked to sign a request.\n */\nexport const signatureRequestSignersResourceSpecification = resourceSpecification(\n signatureRequestSignersResourceConfiguration_InitializationFactory,\n SignatureRequestSignerSchema,\n ({ schemaShape }) => ({\n purpose: 'Name each person asked to sign a deliverable sent for signature, in the order the vendor asks them.',\n businessRole: 'The link between a signature request and the people it asks: what the validated evidence must prove signed, and what a signer\\'s export and erasure find.',\n lifecycleRole: 'Created with its request. Removed with its request, or with the record the request attests. A signer\\'s erasure keeps the row and removes the vendor\\'s reference to them.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: schemaDeclaration('SignatureRequestSignerSchema'),\n resourceFactory: factoryDeclaration('signatureRequestSignersResourceConfiguration_InitializationFactory'),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'SIGNATURE_REQUEST_SIGNERS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('SignatureRequestSigners_Operations') },\n notes: [\n 'A row of its own rather than an array on the request: a signer is a data subject, found through a scalar foreign key.',\n 'The one route is the signer\\'s own `openSigningSession` (embedded signing): it answers the vendor\\'s signing page, reads the rows to find it and writes none. A vendor that answers no page is a 502.',\n 'Evidence of the same record as its request, because the evidence teardown deletes evidence rows directly.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this signer row.', semanticRole: 'identifier' }),\n applicationId: schemaShape.applicationId.stringSpec({ meaning: 'The application record the row belongs to.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.stringSpec({ meaning: 'The organization the deliverable belongs to, when it belongs to one.', semanticRole: 'identifier' }),\n signatureRequestId: schemaShape.signatureRequestId.stringSpec({ meaning: 'The request this signer belongs to.', semanticRole: 'identifier' }),\n linkedResourceType: schemaShape.linkedResourceType.stringSpec({ meaning: 'The resource type of the record the request attests.', semanticRole: 'code' }),\n linkedResourceId: schemaShape.linkedResourceId.stringSpec({ meaning: 'The id of the record the request attests.', semanticRole: 'identifier' }),\n signerUserId: schemaShape.signerUserId.stringSpec({\n meaning: 'The person asked to sign.',\n whyItMatters: 'The validated evidence must prove this person signed; it is also the row\\'s link to them for their export and their erasure.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n signingOrder: schemaShape.signingOrder.numberSpec({ meaning: 'The order in which the vendor asks the signers, from 0. Equal orders sign in parallel.' }),\n vendorSignerReference: schemaShape.vendorSignerReference.stringSpec({ meaning: 'The vendor\\'s reference to this signer. Removed on the signer\\'s erasure.', semanticRole: 'identifier' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was created.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was last written.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Name a signer of a request, with the request.',\n outcome: 'The person is asked to sign.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The signer was recorded.' }],\n },\n [Op.READ]: {\n purpose: 'Read one signer row.',\n outcome: 'The engine has the signer.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signer was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List the signers of a request, or the rows naming a person.',\n outcome: 'The engine, an export or an erasure finds what it needs.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signers were returned.' }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Remove the vendor\\'s reference to an erased signer.',\n outcome: 'The row stays as the record that a signature was asked for.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The reference was removed.' }],\n },\n [Op.DELETE]: {\n purpose: 'Remove a signer with its request.',\n outcome: 'The row is gone.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The signer was removed.' }],\n },\n [SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION]: {\n operationId: SignatureRequestSigners_Operations.OPEN_SIGNING_SESSION,\n purpose: 'Open the signature vendor\\'s signing page for the signed-in person, to sign a record\\'s deliverable in a frame of the application (embedded signing).',\n outcome: 'The person signs at the vendor without leaving the application. The request becomes SIGNED only once the engine has validated the signed document, at its next re-read (in a vendor\\'s test environment, in development or test, once it has accepted it unvalidated).',\n whenToUse: 'From the page where the person meets the record, through the `EmbeddedSigningFrame` component, when the request\\'s provider declares embedded signing. The page URL is valid for minutes and is never stored, so ask for it when the person is there.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The vendor\\'s signing page for the caller: its URL and, when the vendor says, its expiry.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The return URL is not an absolute URL on one of the application\\'s own frontends.' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'Nobody is signed in.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a person on their own request (a machine credential, a one-off token): the page would apply the person\\'s signature.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No open request on that record names the caller as a signer, or the vendor reports they have already signed: nothing left for them to sign there.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The request\\'s provider lets signers sign from its e-mail only.' },\n ],\n idempotent: false,\n },\n },\n businessConstraints: [\n 'A signer row names one person and one request.',\n 'A signing page is opened only for a signer an open request names, keyed on the caller\\'s own user id.',\n 'A signer row\\'s request and subject are never re-pointed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-resource-specifications.registry.d.ts","sourceRoot":"","sources":["../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"engine-resource-specifications.registry.d.ts","sourceRoot":"","sources":["../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AA4OzE;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC,EAAE,qBA+MhD,CAAC"}
|
|
@@ -131,6 +131,8 @@ import { applicationFlowActorExecutionsResourceSpecification, organizationFlowAc
|
|
|
131
131
|
import { providerCallRecordsResourceSpecification } from './flows-actors/resources/provider-call-records.resource.specification.js';
|
|
132
132
|
import { modelCallAttributionsResourceSpecification } from './flows-actors/resources/model-call-attributions.resource.specification.js';
|
|
133
133
|
import { agentOperationRecordsResourceSpecification } from './flows-actors/resources/agent-operation-records.resource.specification.js';
|
|
134
|
+
import { remoteAgentTasksResourceSpecification } from './flows-actors/resources/remote-agent-tasks.resource.specification.js';
|
|
135
|
+
import { remoteAgentTaskUpdatesResourceSpecification } from './flows-actors/resources/remote-agent-task-updates.resource.specification.js';
|
|
134
136
|
import { agentBehaviorReportsResourceSpecification } from './flows-actors/resources/agent-behavior-reports.resource.specification.js';
|
|
135
137
|
import { actorSystemExecutionsResourceSpecification } from './flows-actors/resources/actor-system-executions.resource.specification.js';
|
|
136
138
|
import { actorTasksResourceSpecification } from './flows-actors/resources/actor-tasks.resource.specification.js';
|
|
@@ -275,6 +277,8 @@ export const engineResourceSpecificationsByType = {
|
|
|
275
277
|
[CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceSpecification,
|
|
276
278
|
[CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceSpecification,
|
|
277
279
|
[CoreResourceType.AGENT_OPERATION_RECORDS]: agentOperationRecordsResourceSpecification,
|
|
280
|
+
[CoreResourceType.REMOTE_AGENT_TASKS]: remoteAgentTasksResourceSpecification,
|
|
281
|
+
[CoreResourceType.REMOTE_AGENT_TASK_UPDATES]: remoteAgentTaskUpdatesResourceSpecification,
|
|
278
282
|
[CoreResourceType.AGENT_BEHAVIOR_REPORTS]: agentBehaviorReportsResourceSpecification,
|
|
279
283
|
[CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceSpecification,
|
|
280
284
|
// #2539 — the application's actor plane.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-resource-specifications.registry.js","sourceRoot":"","sources":["../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE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sCAAsC;IAC7E,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,kCAAkC;IACpE,QAAQ;IACR,CAAC,gBAAgB,CAAC,eAAe,CAAC,EAAE,mCAAmC;IACvE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE,sCAAsC;IAC9E,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,uCAAuC;IAChF,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,iCAAiC;IACnE,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,wCAAwC;IAClF,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,qCAAqC;IAC5E,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,6BAA6B;IAC3D,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,0BAA0B;CACrD,CAAC","sourcesContent":["/**\n * Aggregated engine resource-specification overlay, keyed by `CoreResourceType`.\n *\n * # Purpose\n *\n * Every engine `*.resource.specification.ts` authors Tier-1/2/3 documentation\n * (operation summary/description, field/enum/tag descriptions, response statuses,\n * error scenarios, idempotency, rate-limit notes, examples). Those specs are\n * exported file-by-file with no aggregation. This registry collects all of them\n * into a single `Record<resourceType, ResourceSpecificationConfig>` so the\n * **companion OpenAPI projector** can attach the authored documentation as an\n * overlay when it projects core (engine) resources into an application's\n * generated OpenAPI (`apiDocResources` in `WildoTechnicalDocConfig`).\n *\n * # Consumption model (merged into an app's `resourceSpecifications` overlay)\n *\n * Applications spread this registry FIRST into their specifications package's\n * `resourceSpecifications` companion export (app-authored specs override on a\n * shared `resourceType`) so the companion can resolve engine-resource\n * per-field / per-operation semantics for labelling, translation, and the\n * CLI's `wildo context info resource-specifications`. That handler runs\n * `assertResourceSpecificationsAlignWithRegistry` over that merged overlay\n * against a registry view that mirrors the backend runtime merge: the app's\n * shared registry PLUS the core configs materialized from\n * `coreShared_ResourcesConfigurations_FactoryMap` (app registrations win).\n * Every spec here that declares `resourcePrimaryScope` is therefore\n * scope-checked against its materialized core config on every introspection\n * call — a declared scope that drifts from the registry-derived scope fails\n * fast at the companion. The OpenAPI projector consumes the same registry to\n * overlay Tier-1/2/3 documentation onto the core resources it materializes.\n *\n * # Keying\n *\n * Keys are `CoreResourceType` members and MUST match the keys of\n * `coreShared_ResourcesConfigurations_FactoryMap` (`@wildo-ai/saas-models`) so\n * the projector's `engineResourceSpecificationsByType[resourceType]` lookup\n * resolves the overlay for the materialized config. Polymorphic resources\n * (org/app/user variants) contribute one entry per variant.\n *\n * One entry per exported `*ResourceSpecification` const across all engine\n * resource specs (77 total).\n */\n\nimport { CoreResourceType } from '@wildo-ai/saas-models';\n\nimport type { ResourceSpecification } from '~wildo-specifications/_core';\n\n// applications\nimport { applicationApiKeysResourceSpecification } from './applications/resources/application-api-keys.resource.specification';\nimport { applicationMetadataResourceSpecification } from './applications/resources/application-metadata.resource.specification';\nimport { applicationOAuthClientsResourceSpecification } from './applications/resources/application-oauth-clients.resource.specification';\nimport { applicationVersionsResourceSpecification } from './applications/resources/application-versions.resource.specification';\nimport { applicationsResourceSpecification } from './applications/resources/applications.resource.specification';\n// auth\nimport { organizationApiKeysResourceSpecification } from './auth/resources/organization-api-keys.resource.specification';\nimport { organizationProviderCredentialsResourceSpecification } from './auth/resources/organization-provider-credentials.resource.specification';\nimport { userProviderCredentialsResourceSpecification } from './auth/resources/user-provider-credentials.resource.specification';\nimport { applicationProviderCredentialsResourceSpecification } from './auth/resources/application-provider-credentials.resource.specification';\nimport { organizationOAuthClientsResourceSpecification } from './auth/resources/organization-oauth-clients.resource.specification';\nimport { consumableTokensResourceSpecification } from './auth/resources/consumable-tokens.resource.specification';\nimport { organizationOnboardingOperationsResourceSpecification } from './auth/resources/organization-onboarding-operations.resource.specification';\nimport { documentSequenceCountersResourceSpecification } from './infrastructure/resources/document-sequence-counters.resource.specification';\nimport { transactionalCommitReceiptsResourceSpecification } from './infrastructure/resources/transactional-commit-receipts.resource.specification';\nimport { postCommitEffectOutboxResourceSpecification } from './infrastructure/resources/post-commit-effect-outbox.resource.specification';\nimport { queueMessagesResourceSpecification } from './infrastructure/resources/queue-messages.resource.specification';\nimport { idempotentRequestOutcomesResourceSpecification } from './infrastructure/resources/idempotent-request-outcomes.resource.specification';\nimport { externalEffectReservationsResourceSpecification } from './infrastructure/resources/external-effect-reservations.resource.specification';\nimport { oauthConsentGrantsResourceSpecification } from './auth/resources/oauth-consent-grants.resource.specification';\nimport { applicationAccessGrantsResourceSpecification } from './auth/resources/application-access-grants.resource.specification';\nimport { platformAccessGrantsResourceSpecification } from './auth/resources/platform-access-grants.resource.specification';\nimport {\n applicationScimProvisioningConfigResourceSpecification,\n organizationScimProvisioningConfigResourceSpecification,\n} from './auth/resources/scim-provisioning-config.resource.specification';\n// SCIM bearer credentials are organization-scoped until an application-scoped\n// SCIM protocol and authorizer actually exist; do not register a documentation-only twin.\nimport { organizationScimTokensResourceSpecification } from './auth/resources/scim-tokens.resource.specification';\nimport {\n applicationSsoConfigResourceSpecification,\n organizationSsoConfigResourceSpecification,\n} from './auth/resources/sso-config.resource.specification';\nimport {\n applicationSsoConnectionsResourceSpecification,\n organizationSsoConnectionsResourceSpecification,\n} from './auth/resources/sso-connections.resource.specification';\n// billing\nimport {\n organizationBillingAccountsResourceSpecification,\n userBillingAccountsResourceSpecification,\n} from './billing/resources/billing-accounts.resource.specification';\nimport {\n organizationCreditPoolsResourceSpecification,\n userCreditPoolsResourceSpecification,\n} from './billing/resources/credit-pools.resource.specification';\nimport {\n organizationInvoiceRefsResourceSpecification,\n userInvoiceRefsResourceSpecification,\n} from './billing/resources/invoice-refs.resource.specification';\nimport { pricesResourceSpecification } from './billing/resources/prices.resource.specification';\nimport { productsResourceSpecification } from './billing/resources/products.resource.specification';\nimport { promotionsResourceSpecification } from './billing/resources/promotions.resource.specification';\nimport { referralsResourceSpecification } from './billing/resources/referrals.resource.specification';\nimport {\n organizationSubscriptionsResourceSpecification,\n userSubscriptionsResourceSpecification,\n} from './billing/resources/subscriptions.resource.specification';\nimport {\n organizationUsageRecordsResourceSpecification,\n userUsageRecordsResourceSpecification,\n} from './billing/resources/usage-records.resource.specification';\n// compliance\nimport { applicationAuditLogsResourceSpecification } from './compliance/resources/application-audit-logs.resource.specification';\nimport { retentionEnforcementRecordsResourceSpecification } from './compliance/resources/retention-enforcement-records.resource.specification';\nimport { publishedVerificationKeysResourceSpecification } from './compliance/resources/published-verification-keys.resource.specification';\nimport { approvalSealsResourceSpecification } from './compliance/resources/approval-seals.resource.specification';\nimport { signatureRequestSignersResourceSpecification, signatureRequestsResourceSpecification } from './compliance/resources/signature-requests.resource.specification';\nimport { ssoDomainReservationsResourceSpecification } from './auth/resources/sso-domain-reservations.resource.specification';\nimport { auditLogsResourceSpecification } from './compliance/resources/audit-logs.resource.specification';\nimport { legalHoldsResourceSpecification } from './compliance/resources/legal-holds.resource.specification';\nimport { dataSubjectRequestsResourceSpecification } from './compliance/resources/data-subject-requests.resource.specification';\nimport {\n applicationSiemDeliveryDlqResourceSpecification,\n organizationSiemDeliveryDlqResourceSpecification,\n} from './compliance/resources/siem-delivery-dlq.resource.specification';\nimport {\n applicationSiemDeliveryOutboxResourceSpecification,\n organizationSiemDeliveryOutboxResourceSpecification,\n} from './compliance/resources/siem-delivery-outbox.resource.specification';\nimport {\n applicationSiemExportConfigResourceSpecification,\n organizationSiemExportConfigResourceSpecification,\n} from './compliance/resources/siem-export-config.resource.specification';\nimport { userGovernedDocumentAcceptancesResourceSpecification } from './compliance/resources/user-governed-document-acceptances.resource.specification';\n// features\nimport { applicationFeaturesResourceSpecification } from './features/resources/application-features.resource.specification';\nimport { organizationFeaturesResourceSpecification } from './features/resources/organization-features.resource.specification';\nimport { userFeaturesResourceSpecification } from './features/resources/user-features.resource.specification';\n// files\nimport { filesResourceSpecification } from './files/resources/files.resource.specification';\n// guidance\nimport {\n organizationGuidanceStateResourceSpecification,\n userGuidanceStateResourceSpecification,\n} from './guidance/resources/guidance-state.resource.specification';\nimport {\n organizationLifecycleStateResourceSpecification,\n userLifecycleStateResourceSpecification,\n} from './guidance/resources/lifecycle-state.resource.specification';\nimport {\n organizationProgressionStateResourceSpecification,\n userProgressionStateResourceSpecification,\n} from './guidance/resources/progression-state.resource.specification';\n// infrastructure\nimport { dataSeedRunsResourceSpecification } from './infrastructure/resources/data-seed-runs.resource.specification';\nimport { billingSubscriptionMutationIntentsResourceSpecification } from './billing/resources/billing-subscription-mutation-intents.resource.specification';\nimport { billingSubscriptionMutationCompletionsResourceSpecification } from './billing/resources/billing-subscription-mutation-completions.resource.specification';\nimport { billingEffectOutboxResourceSpecification } from './billing/resources/billing-effect-outbox.resource.specification';\nimport { billingProviderEventSettlementsResourceSpecification } from './billing/resources/billing-provider-event-settlements.resource.specification';\nimport { externalDataPipelineMembershipResourceSpecification } from './infrastructure/resources/external-data-pipeline-membership.resource.specification';\nimport { externalDataPipelineMembershipKeysResourceSpecification } from './infrastructure/resources/external-data-pipeline-membership-keys.resource.specification';\nimport { externalDataErasureSuppressionsResourceSpecification } from './infrastructure/resources/external-data-erasure-suppressions.resource.specification';\nimport { externalDataPendingReferencesResourceSpecification } from './infrastructure/resources/external-data-pending-references.resource.specification';\nimport { externalDataPipelineRequestedKeysResourceSpecification } from './infrastructure/resources/external-data-pipeline-requested-keys.resource.specification';\nimport { externalDataOutboundChangesResourceSpecification } from './infrastructure/resources/external-data-outbound-changes.resource.specification';\nimport { externalDataRemoteVersionsResourceSpecification } from './infrastructure/resources/external-data-remote-versions.resource.specification';\nimport { externalDataPipelineRunRecordsResourceSpecification } from './infrastructure/resources/external-data-pipeline-run-records.resource.specification';\nimport { externalDataPipelineStatesResourceSpecification } from './infrastructure/resources/external-data-pipeline-states.resource.specification';\nimport { jobExecutionsResourceSpecification } from './infrastructure/resources/job-executions.resource.specification';\nimport { systemOfRecordPartitionAssignmentsResourceSpecification } from './infrastructure/resources/system-of-record-partition-assignments.resource.specification';\nimport { systemOfRecordWriteAdmissionsResourceSpecification } from './infrastructure/resources/system-of-record-write-admissions.resource.specification';\nimport { jobPayloadStorageResourceSpecification } from './infrastructure/resources/job-payload-storage.resource.specification';\nimport { applicationDataKeysResourceSpecification } from './infrastructure/resources/application-data-keys.resource.specification';\n// flows-actors\nimport {\n applicationA2aTokenBudgetStateResourceSpecification,\n organizationA2aTokenBudgetStateResourceSpecification,\n userA2aTokenBudgetStateResourceSpecification,\n} from './flows-actors/resources/a2a-token-budget-state.resource.specification';\nimport {\n userA2aPushDeliveryLogResourceSpecification,\n organizationA2aPushDeliveryLogResourceSpecification,\n applicationA2aPushDeliveryLogResourceSpecification,\n} from './flows-actors/resources/a2a-push-delivery-log.resource.specification';\nimport {\n applicationFlowActorExecutionsResourceSpecification,\n organizationFlowActorExecutionsResourceSpecification,\n userFlowActorExecutionsResourceSpecification,\n} from './flows-actors/resources/flow-actor-executions.resource.specification';\nimport { providerCallRecordsResourceSpecification } from './flows-actors/resources/provider-call-records.resource.specification';\nimport { modelCallAttributionsResourceSpecification } from './flows-actors/resources/model-call-attributions.resource.specification';\nimport { agentOperationRecordsResourceSpecification } from './flows-actors/resources/agent-operation-records.resource.specification';\nimport { agentBehaviorReportsResourceSpecification } from './flows-actors/resources/agent-behavior-reports.resource.specification';\nimport { actorSystemExecutionsResourceSpecification } from './flows-actors/resources/actor-system-executions.resource.specification';\nimport { actorTasksResourceSpecification } from './flows-actors/resources/actor-tasks.resource.specification';\nimport { humanDecisionNoticeStaysResourceSpecification } from './flows-actors/resources/human-decision-notice-stays.resource.specification';\nimport { organizationPersonTokenCeilingStateResourceSpecification } from './flows-actors/resources/person-token-ceiling-state.resource.specification';\nimport { organizationModelUsageCeilingStateResourceSpecification } from './flows-actors/resources/model-usage-ceiling-state.resource.specification';\nimport { organizationAgentPoliciesResourceSpecification } from './flows-actors/resources/organization-agent-policies.resource.specification';\nimport { applicationAgentPoliciesResourceSpecification } from './flows-actors/resources/application-agent-policies.resource.specification';\nimport { operationApprovalRequestsResourceSpecification } from './flows-actors/resources/operation-approval-requests.resource.specification';\nimport { modelCostPeriodAggregatesResourceSpecification } from './flows-actors/resources/model-cost-period-aggregates.resource.specification';\nimport {\n agentWorkCaptureSettingsResourceSpecification,\n applicationAgentWorkDecisionContentsResourceSpecification,\n applicationAgentWorkDecisionsResourceSpecification,\n evaluationDatasetExportsResourceSpecification,\n evaluationExportAuthorizationsResourceSpecification,\n organizationAgentWorkDecisionContentsResourceSpecification,\n organizationAgentWorkDecisionsResourceSpecification,\n userAgentWorkDecisionContentsResourceSpecification,\n userAgentWorkDecisionsResourceSpecification,\n} from './flows-actors/resources/agent-work-decisions.resource.specification';\nimport {\n applicationFlowActorTasksResourceSpecification,\n organizationFlowActorTasksResourceSpecification,\n userFlowActorTasksResourceSpecification,\n} from './flows-actors/resources/flow-actor-tasks.resource.specification';\n// notifications\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from './notifications/resources/m2m-webhook-delivery-log.resource.specification';\nimport {\n applicationInboundDeliveriesResourceSpecification,\n organizationInboundDeliveriesResourceSpecification,\n} from './notifications/resources/inbound-deliveries.resource.specification';\nimport {\n conversationMessagesResourceSpecification,\n conversationReplyTokensResourceSpecification,\n conversationThreadsResourceSpecification,\n} from './notifications/resources/conversation-threads.resource.specification';\nimport { chatIdentityLinksResourceSpecification } from './notifications/resources/chat-identity-links.resource.specification';\nimport { organizationChatSettingsResourceSpecification } from './flows-actors/resources/organization-chat-settings.resource.specification';\nimport { chatConversationsResourceSpecification } from './flows-actors/resources/chat-conversations.resource.specification';\nimport {\n relationshipMailboxesResourceSpecification,\n inboundAddressTombstonesResourceSpecification,\n inboundEmailsResourceSpecification,\n organizationEmailDomainsResourceSpecification,\n} from './notifications/resources/inbound-email.resource.specification';\nimport { organizationCustomDomainsResourceSpecification } from './organizations/resources/organization-custom-domains.resource.specification';\nimport { organizationDashboardLayoutsResourceSpecification } from './organizations/resources/organization-dashboard-layouts.resource.specification';\nimport { smsNumberAssignmentsResourceSpecification, smsOptOutsResourceSpecification, smsProviderEventsResourceSpecification } from './notifications/resources/sms-provider-events.resource.specification';\nimport {\n organizationNotificationBadgesResourceSpecification,\n userNotificationBadgesResourceSpecification,\n} from './notifications/resources/notification-badges.resource.specification';\nimport {\n applicationWebhookConfigResourceSpecification,\n organizationWebhookConfigResourceSpecification,\n} from './notifications/resources/webhook-config.resource.specification';\n// organizations\nimport { organizationMembersResourceSpecification } from './organizations/resources/organization-members.resource.specification';\nimport { organizationNotificationsResourceSpecification } from './organizations/resources/organization-notifications.resource.specification';\nimport { organizationPreferencesResourceSpecification } from './organizations/resources/organization-preferences.resource.specification';\nimport { organizationProfilesResourceSpecification } from './organizations/resources/organization-profiles.resource.specification';\nimport { organizationUnitMembersResourceSpecification } from './organizations/resources/organization-unit-members.resource.specification';\nimport {\n relationshipInvitationsResourceSpecification,\n representativeAssignmentsResourceSpecification,\n organizationRepresentationsResourceSpecification,\n relationshipCapabilityGrantsResourceSpecification,\n organizationRelationshipsResourceSpecification,\n} from './organizations/resources/organization-relationships.resource.specification';\nimport { professionalQualificationsResourceSpecification } from './organizations/resources/professional-qualifications.resource.specification';\nimport { organizationUnitsResourceSpecification } from './organizations/resources/organization-units.resource.specification';\nimport { organizationsResourceSpecification } from './organizations/resources/organizations.resource.specification';\n// users\nimport { anonymousUsersResourceSpecification } from './users/resources/anonymous-users.resource.specification';\nimport { inboundContactsResourceSpecification } from './users/resources/inbound-contacts.resource.specification';\nimport { userCredentialsResourceSpecification } from './users/resources/user-credentials.resource.specification';\nimport { userIdentityLinksResourceSpecification } from './users/resources/user-identity-links.resource.specification';\nimport { userPreferencesResourceSpecification } from './users/resources/user-preferences.resource.specification';\nimport { userProfilesResourceSpecification } from './users/resources/user-profiles.resource.specification';\nimport { userSelfPreferencesResourceSpecification } from './users/resources/user-self-preferences.resource.specification';\nimport { userSelfProfilesResourceSpecification } from './users/resources/user-self-profiles.resource.specification';\nimport { userSelfResourceSpecification } from './users/resources/user-self.resource.specification';\nimport { usersResourceSpecification } from './users/resources/users.resource.specification';\n\n/**\n * All engine resource specifications keyed by their `CoreResourceType`.\n * Consumed by the companion OpenAPI projector as a documentation overlay for\n * core resources (see file-level JSDoc). Explicit type annotation keeps the\n * export `isolatedDeclarations`-safe.\n */\nexport const engineResourceSpecificationsByType: ResourceSpecification = {\n // applications\n [CoreResourceType.APPLICATION_API_KEYS]: applicationApiKeysResourceSpecification,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: applicationOAuthClientsResourceSpecification,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceSpecification,\n [CoreResourceType.APPLICATION]: applicationsResourceSpecification,\n // auth\n // `consumableTokens` is a BackendResourceType, not a CoreResourceType — same situation as\n // `dataSeedRuns` below, so it is keyed by its literal resource-type string and sits outside the\n // core-registry alignment guard's population by construction.\n consumableTokens: consumableTokensResourceSpecification,\n // Same situation: the deferred-onboarding ledger is a BackendResourceType (#1131).\n organizationOnboardingOperations: organizationOnboardingOperationsResourceSpecification,\n // Same situation: the document-sequence counters are a BackendResourceType (#2509).\n documentSequenceCounters: documentSequenceCountersResourceSpecification,\n // Same situation: the transactional-core commit receipts are a BackendResourceType (#2870).\n transactionalCommitReceipts: transactionalCommitReceiptsResourceSpecification,\n // Same situation: the post-commit effect outbox is a BackendResourceType (#2886, generalising #2887's removal audit outbox).\n postCommitEffectOutbox: postCommitEffectOutboxResourceSpecification,\n queueMessages: queueMessagesResourceSpecification,\n // Same situation: the external effect reservations are a BackendResourceType (#3441).\n externalEffectReservations: externalEffectReservationsResourceSpecification,\n // Same situation: the idempotent request outcomes are a BackendResourceType (#747).\n idempotentRequestOutcomes: idempotentRequestOutcomesResourceSpecification,\n [CoreResourceType.ORG_API_KEYS]: organizationApiKeysResourceSpecification,\n [CoreResourceType.ORG_PROVIDER_CREDENTIALS]: organizationProviderCredentialsResourceSpecification,\n [CoreResourceType.USER_PROVIDER_CREDENTIALS]: userProviderCredentialsResourceSpecification,\n [CoreResourceType.APPLICATION_PROVIDER_CREDENTIALS]: applicationProviderCredentialsResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: organizationOAuthClientsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: organizationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: applicationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_TOKENS]: organizationScimTokensResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: organizationSsoConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: applicationSsoConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: organizationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: applicationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceSpecification,\n [CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceSpecification,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceSpecification,\n // billing\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: organizationBillingAccountsResourceSpecification,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: userBillingAccountsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CREDIT_POOLS]: organizationCreditPoolsResourceSpecification,\n [CoreResourceType.USER_CREDIT_POOLS]: userCreditPoolsResourceSpecification,\n [CoreResourceType.ORGANIZATION_INVOICE_REFS]: organizationInvoiceRefsResourceSpecification,\n [CoreResourceType.USER_INVOICE_REFS]: userInvoiceRefsResourceSpecification,\n [CoreResourceType.PRICES]: pricesResourceSpecification,\n [CoreResourceType.PRODUCTS]: productsResourceSpecification,\n [CoreResourceType.PROMOTIONS]: promotionsResourceSpecification,\n [CoreResourceType.REFERRALS]: referralsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: organizationSubscriptionsResourceSpecification,\n [CoreResourceType.USER_SUBSCRIPTIONS]: userSubscriptionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: organizationUsageRecordsResourceSpecification,\n [CoreResourceType.USER_USAGE_RECORDS]: userUsageRecordsResourceSpecification,\n // compliance\n [CoreResourceType.APPLICATION_AUDIT_LOGS]: applicationAuditLogsResourceSpecification,\n [CoreResourceType.RETENTION_ENFORCEMENT_RECORDS]: retentionEnforcementRecordsResourceSpecification,\n [CoreResourceType.PUBLISHED_VERIFICATION_KEYS]: publishedVerificationKeysResourceSpecification,\n [CoreResourceType.APPLICATION_DATA_KEYS]: applicationDataKeysResourceSpecification,\n [CoreResourceType.APPROVAL_SEALS]: approvalSealsResourceSpecification,\n [CoreResourceType.SIGNATURE_REQUESTS]: signatureRequestsResourceSpecification,\n [CoreResourceType.SIGNATURE_REQUEST_SIGNERS]: signatureRequestSignersResourceSpecification,\n [CoreResourceType.SSO_DOMAIN_RESERVATIONS]: ssoDomainReservationsResourceSpecification,\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceSpecification,\n [CoreResourceType.LEGAL_HOLDS]: legalHoldsResourceSpecification,\n [CoreResourceType.DATA_SUBJECT_REQUESTS]: dataSubjectRequestsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ]: organizationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_DLQ]: applicationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX]: organizationSiemDeliveryOutboxResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX]: applicationSiemDeliveryOutboxResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG]: organizationSiemExportConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_EXPORT_CONFIG]: applicationSiemExportConfigResourceSpecification,\n [CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceSpecification,\n // features\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceSpecification,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceSpecification,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceSpecification,\n // files\n [CoreResourceType.FILES]: filesResourceSpecification,\n // guidance\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceSpecification,\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceSpecification,\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceSpecification,\n // infrastructure\n [CoreResourceType.JOB_EXECUTIONS]: jobExecutionsResourceSpecification,\n [CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceSpecification,\n [CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceSpecification,\n [CoreResourceType.AGENT_OPERATION_RECORDS]: agentOperationRecordsResourceSpecification,\n [CoreResourceType.AGENT_BEHAVIOR_REPORTS]: agentBehaviorReportsResourceSpecification,\n [CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceSpecification,\n // #2539 — the application's actor plane.\n [CoreResourceType.ACTOR_SYSTEM_EXECUTIONS]: actorSystemExecutionsResourceSpecification,\n [CoreResourceType.ACTOR_TASKS]: actorTasksResourceSpecification,\n [CoreResourceType.HUMAN_DECISION_NOTICE_STAYS]: humanDecisionNoticeStaysResourceSpecification,\n [CoreResourceType.ORGANIZATION_PERSON_TOKEN_CEILING_STATE]: organizationPersonTokenCeilingStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_MODEL_USAGE_CEILING_STATE]: organizationModelUsageCeilingStateResourceSpecification,\n [CoreResourceType.OPERATION_APPROVAL_REQUESTS]: operationApprovalRequestsResourceSpecification,\n // #1599 — reviewers' decisions on agents' proposals.\n [CoreResourceType.USER_AGENT_WORK_DECISIONS]: userAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISIONS]: organizationAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISIONS]: applicationAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS]: userAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISION_CONTENTS]: organizationAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISION_CONTENTS]: applicationAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS]: agentWorkCaptureSettingsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_POLICIES]: organizationAgentPoliciesResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_POLICIES]: applicationAgentPoliciesResourceSpecification,\n [CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS]: evaluationExportAuthorizationsResourceSpecification,\n [CoreResourceType.EVALUATION_DATASET_EXPORTS]: evaluationDatasetExportsResourceSpecification,\n // `dataSeedRuns` is a BackendResourceType, not a CoreResourceType, so it is keyed by its\n // literal resource-type string. The registry is Record<string, …> and the runtime-scope\n // alignment guard intersects with the CORE registry, so this entry is outside that guard's\n // population by construction rather than by omission.\n dataSeedRuns: dataSeedRunsResourceSpecification,\n // `etlPipelineStates` — same BackendResourceType situation as `dataSeedRuns` above.\n etlPipelineStates: externalDataPipelineStatesResourceSpecification,\n // Billing's internal system resources (the #535 coordination resources and the webhook settlement ledger) — same\n // BackendResourceType situation as `dataSeedRuns` above.\n billingSubscriptionMutationIntents: billingSubscriptionMutationIntentsResourceSpecification,\n billingSubscriptionMutationCompletions: billingSubscriptionMutationCompletionsResourceSpecification,\n billingEffectOutbox: billingEffectOutboxResourceSpecification,\n billingProviderEventSettlements: billingProviderEventSettlementsResourceSpecification,\n externalDataPipelineMemberships: externalDataPipelineMembershipResourceSpecification,\n externalDataPipelineMembershipKeys: externalDataPipelineMembershipKeysResourceSpecification,\n // The erasure-suppression list for pipeline-copied records (#1746) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataErasureSuppressions: externalDataErasureSuppressionsResourceSpecification,\n // The pending-reference set for pipeline remote references (#1684) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataPendingReferences: externalDataPendingReferencesResourceSpecification,\n externalDataPipelineRequestedKeys: externalDataPipelineRequestedKeysResourceSpecification,\n // The outbound change markers (#1690) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataOutboundChanges: externalDataOutboundChangesResourceSpecification,\n // The agreed remote versions of two-way pipelines (#1723) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataRemoteVersions: externalDataRemoteVersionsResourceSpecification,\n externalDataPipelineRunRecords: externalDataPipelineRunRecordsResourceSpecification,\n // The Idempotency-Key ledger for writes into a system of record (#1679) — same BackendResourceType situation as\n // `dataSeedRuns` above.\n systemOfRecordWriteAdmissions: systemOfRecordWriteAdmissionsResourceSpecification,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorageResourceSpecification,\n // flows-actors\n [CoreResourceType.USER_FLOW_ACTOR_TASKS]: userFlowActorTasksResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_TASKS]: organizationFlowActorTasksResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_TASKS]: applicationFlowActorTasksResourceSpecification,\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: userFlowActorExecutionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: organizationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: applicationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.USER_A2A_TOKEN_BUDGET_STATE]: userA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_TOKEN_BUDGET_STATE]: organizationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_TOKEN_BUDGET_STATE]: applicationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.USER_A2A_PUSH_DELIVERY_LOG]: userA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_PUSH_DELIVERY_LOG]: organizationA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_PUSH_DELIVERY_LOG]: applicationA2aPushDeliveryLogResourceSpecification,\n // notifications\n [CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG]: organizationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG]: applicationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_INBOUND_DELIVERIES]: organizationInboundDeliveriesResourceSpecification,\n [CoreResourceType.APPLICATION_INBOUND_DELIVERIES]: applicationInboundDeliveriesResourceSpecification,\n [CoreResourceType.CONVERSATION_THREADS]: conversationThreadsResourceSpecification,\n [CoreResourceType.CONVERSATION_MESSAGES]: conversationMessagesResourceSpecification,\n [CoreResourceType.CONVERSATION_REPLY_TOKENS]: conversationReplyTokensResourceSpecification,\n [CoreResourceType.CHAT_IDENTITY_LINKS]: chatIdentityLinksResourceSpecification,\n [CoreResourceType.ORGANIZATION_CHAT_SETTINGS]: organizationChatSettingsResourceSpecification,\n [CoreResourceType.CHAT_CONVERSATIONS]: chatConversationsResourceSpecification,\n [CoreResourceType.INBOUND_EMAILS]: inboundEmailsResourceSpecification,\n [CoreResourceType.ORGANIZATION_EMAIL_DOMAINS]: organizationEmailDomainsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CUSTOM_DOMAINS]: organizationCustomDomainsResourceSpecification,\n [CoreResourceType.ORGANIZATION_DASHBOARD_LAYOUTS]: organizationDashboardLayoutsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_MAILBOXES]: relationshipMailboxesResourceSpecification,\n [CoreResourceType.INBOUND_ADDRESS_TOMBSTONES]: inboundAddressTombstonesResourceSpecification,\n [CoreResourceType.SMS_PROVIDER_EVENTS]: smsProviderEventsResourceSpecification,\n [CoreResourceType.SMS_OPT_OUTS]: smsOptOutsResourceSpecification,\n [CoreResourceType.SMS_NUMBER_ASSIGNMENTS]: smsNumberAssignmentsResourceSpecification,\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: organizationWebhookConfigResourceSpecification,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: applicationWebhookConfigResourceSpecification,\n // organizations\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfilesResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_RELATIONSHIPS]: organizationRelationshipsResourceSpecification,\n [CoreResourceType.ORGANIZATION_REPRESENTATIONS]: organizationRepresentationsResourceSpecification,\n [CoreResourceType.REPRESENTATIVE_ASSIGNMENTS]: representativeAssignmentsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_INVITATIONS]: relationshipInvitationsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_CAPABILITY_GRANTS]: relationshipCapabilityGrantsResourceSpecification,\n [CoreResourceType.PROFESSIONAL_QUALIFICATIONS]: professionalQualificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitsResourceSpecification,\n [CoreResourceType.ORGANIZATIONS]: organizationsResourceSpecification,\n // users\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceSpecification,\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceSpecification,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceSpecification,\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceSpecification,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceSpecification,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceSpecification,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceSpecification,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceSpecification,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceSpecification,\n [CoreResourceType.USER_SELF]: userSelfResourceSpecification,\n [CoreResourceType.USERS]: usersResourceSpecification,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"engine-resource-specifications.registry.js","sourceRoot":"","sources":["../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,eAAe;AACf,OAAO,EAAE,uCAAuC,EAAE,MAAM,sEAAsE,CAAC;AAC/H,O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AAiD;IACpG,CAAC,gBAAgB,CAAC,2BAA2B,CAAC,EAAE,+CAA+C;IAC/F,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,sCAAsC;IAC7E,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,kCAAkC;IACpE,QAAQ;IACR,CAAC,gBAAgB,CAAC,eAAe,CAAC,EAAE,mCAAmC;IACvE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE,sCAAsC;IAC9E,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,uCAAuC;IAChF,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,iCAAiC;IACnE,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,wCAAwC;IAClF,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,qCAAqC;IAC5E,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,6BAA6B;IAC3D,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,0BAA0B;CACrD,CAAC","sourcesContent":["/**\n * Aggregated engine resource-specification overlay, keyed by `CoreResourceType`.\n *\n * # Purpose\n *\n * Every engine `*.resource.specification.ts` authors Tier-1/2/3 documentation\n * (operation summary/description, field/enum/tag descriptions, response statuses,\n * error scenarios, idempotency, rate-limit notes, examples). Those specs are\n * exported file-by-file with no aggregation. This registry collects all of them\n * into a single `Record<resourceType, ResourceSpecificationConfig>` so the\n * **companion OpenAPI projector** can attach the authored documentation as an\n * overlay when it projects core (engine) resources into an application's\n * generated OpenAPI (`apiDocResources` in `WildoTechnicalDocConfig`).\n *\n * # Consumption model (merged into an app's `resourceSpecifications` overlay)\n *\n * Applications spread this registry FIRST into their specifications package's\n * `resourceSpecifications` companion export (app-authored specs override on a\n * shared `resourceType`) so the companion can resolve engine-resource\n * per-field / per-operation semantics for labelling, translation, and the\n * CLI's `wildo context info resource-specifications`. That handler runs\n * `assertResourceSpecificationsAlignWithRegistry` over that merged overlay\n * against a registry view that mirrors the backend runtime merge: the app's\n * shared registry PLUS the core configs materialized from\n * `coreShared_ResourcesConfigurations_FactoryMap` (app registrations win).\n * Every spec here that declares `resourcePrimaryScope` is therefore\n * scope-checked against its materialized core config on every introspection\n * call — a declared scope that drifts from the registry-derived scope fails\n * fast at the companion. The OpenAPI projector consumes the same registry to\n * overlay Tier-1/2/3 documentation onto the core resources it materializes.\n *\n * # Keying\n *\n * Keys are `CoreResourceType` members and MUST match the keys of\n * `coreShared_ResourcesConfigurations_FactoryMap` (`@wildo-ai/saas-models`) so\n * the projector's `engineResourceSpecificationsByType[resourceType]` lookup\n * resolves the overlay for the materialized config. Polymorphic resources\n * (org/app/user variants) contribute one entry per variant.\n *\n * One entry per exported `*ResourceSpecification` const across all engine\n * resource specs (77 total).\n */\n\nimport { CoreResourceType } from '@wildo-ai/saas-models';\n\nimport type { ResourceSpecification } from '~wildo-specifications/_core';\n\n// applications\nimport { applicationApiKeysResourceSpecification } from './applications/resources/application-api-keys.resource.specification';\nimport { applicationMetadataResourceSpecification } from './applications/resources/application-metadata.resource.specification';\nimport { applicationOAuthClientsResourceSpecification } from './applications/resources/application-oauth-clients.resource.specification';\nimport { applicationVersionsResourceSpecification } from './applications/resources/application-versions.resource.specification';\nimport { applicationsResourceSpecification } from './applications/resources/applications.resource.specification';\n// auth\nimport { organizationApiKeysResourceSpecification } from './auth/resources/organization-api-keys.resource.specification';\nimport { organizationProviderCredentialsResourceSpecification } from './auth/resources/organization-provider-credentials.resource.specification';\nimport { userProviderCredentialsResourceSpecification } from './auth/resources/user-provider-credentials.resource.specification';\nimport { applicationProviderCredentialsResourceSpecification } from './auth/resources/application-provider-credentials.resource.specification';\nimport { organizationOAuthClientsResourceSpecification } from './auth/resources/organization-oauth-clients.resource.specification';\nimport { consumableTokensResourceSpecification } from './auth/resources/consumable-tokens.resource.specification';\nimport { organizationOnboardingOperationsResourceSpecification } from './auth/resources/organization-onboarding-operations.resource.specification';\nimport { documentSequenceCountersResourceSpecification } from './infrastructure/resources/document-sequence-counters.resource.specification';\nimport { transactionalCommitReceiptsResourceSpecification } from './infrastructure/resources/transactional-commit-receipts.resource.specification';\nimport { postCommitEffectOutboxResourceSpecification } from './infrastructure/resources/post-commit-effect-outbox.resource.specification';\nimport { queueMessagesResourceSpecification } from './infrastructure/resources/queue-messages.resource.specification';\nimport { idempotentRequestOutcomesResourceSpecification } from './infrastructure/resources/idempotent-request-outcomes.resource.specification';\nimport { externalEffectReservationsResourceSpecification } from './infrastructure/resources/external-effect-reservations.resource.specification';\nimport { oauthConsentGrantsResourceSpecification } from './auth/resources/oauth-consent-grants.resource.specification';\nimport { applicationAccessGrantsResourceSpecification } from './auth/resources/application-access-grants.resource.specification';\nimport { platformAccessGrantsResourceSpecification } from './auth/resources/platform-access-grants.resource.specification';\nimport {\n applicationScimProvisioningConfigResourceSpecification,\n organizationScimProvisioningConfigResourceSpecification,\n} from './auth/resources/scim-provisioning-config.resource.specification';\n// SCIM bearer credentials are organization-scoped until an application-scoped\n// SCIM protocol and authorizer actually exist; do not register a documentation-only twin.\nimport { organizationScimTokensResourceSpecification } from './auth/resources/scim-tokens.resource.specification';\nimport {\n applicationSsoConfigResourceSpecification,\n organizationSsoConfigResourceSpecification,\n} from './auth/resources/sso-config.resource.specification';\nimport {\n applicationSsoConnectionsResourceSpecification,\n organizationSsoConnectionsResourceSpecification,\n} from './auth/resources/sso-connections.resource.specification';\n// billing\nimport {\n organizationBillingAccountsResourceSpecification,\n userBillingAccountsResourceSpecification,\n} from './billing/resources/billing-accounts.resource.specification';\nimport {\n organizationCreditPoolsResourceSpecification,\n userCreditPoolsResourceSpecification,\n} from './billing/resources/credit-pools.resource.specification';\nimport {\n organizationInvoiceRefsResourceSpecification,\n userInvoiceRefsResourceSpecification,\n} from './billing/resources/invoice-refs.resource.specification';\nimport { pricesResourceSpecification } from './billing/resources/prices.resource.specification';\nimport { productsResourceSpecification } from './billing/resources/products.resource.specification';\nimport { promotionsResourceSpecification } from './billing/resources/promotions.resource.specification';\nimport { referralsResourceSpecification } from './billing/resources/referrals.resource.specification';\nimport {\n organizationSubscriptionsResourceSpecification,\n userSubscriptionsResourceSpecification,\n} from './billing/resources/subscriptions.resource.specification';\nimport {\n organizationUsageRecordsResourceSpecification,\n userUsageRecordsResourceSpecification,\n} from './billing/resources/usage-records.resource.specification';\n// compliance\nimport { applicationAuditLogsResourceSpecification } from './compliance/resources/application-audit-logs.resource.specification';\nimport { retentionEnforcementRecordsResourceSpecification } from './compliance/resources/retention-enforcement-records.resource.specification';\nimport { publishedVerificationKeysResourceSpecification } from './compliance/resources/published-verification-keys.resource.specification';\nimport { approvalSealsResourceSpecification } from './compliance/resources/approval-seals.resource.specification';\nimport { signatureRequestSignersResourceSpecification, signatureRequestsResourceSpecification } from './compliance/resources/signature-requests.resource.specification';\nimport { ssoDomainReservationsResourceSpecification } from './auth/resources/sso-domain-reservations.resource.specification';\nimport { auditLogsResourceSpecification } from './compliance/resources/audit-logs.resource.specification';\nimport { legalHoldsResourceSpecification } from './compliance/resources/legal-holds.resource.specification';\nimport { dataSubjectRequestsResourceSpecification } from './compliance/resources/data-subject-requests.resource.specification';\nimport {\n applicationSiemDeliveryDlqResourceSpecification,\n organizationSiemDeliveryDlqResourceSpecification,\n} from './compliance/resources/siem-delivery-dlq.resource.specification';\nimport {\n applicationSiemDeliveryOutboxResourceSpecification,\n organizationSiemDeliveryOutboxResourceSpecification,\n} from './compliance/resources/siem-delivery-outbox.resource.specification';\nimport {\n applicationSiemExportConfigResourceSpecification,\n organizationSiemExportConfigResourceSpecification,\n} from './compliance/resources/siem-export-config.resource.specification';\nimport { userGovernedDocumentAcceptancesResourceSpecification } from './compliance/resources/user-governed-document-acceptances.resource.specification';\n// features\nimport { applicationFeaturesResourceSpecification } from './features/resources/application-features.resource.specification';\nimport { organizationFeaturesResourceSpecification } from './features/resources/organization-features.resource.specification';\nimport { userFeaturesResourceSpecification } from './features/resources/user-features.resource.specification';\n// files\nimport { filesResourceSpecification } from './files/resources/files.resource.specification';\n// guidance\nimport {\n organizationGuidanceStateResourceSpecification,\n userGuidanceStateResourceSpecification,\n} from './guidance/resources/guidance-state.resource.specification';\nimport {\n organizationLifecycleStateResourceSpecification,\n userLifecycleStateResourceSpecification,\n} from './guidance/resources/lifecycle-state.resource.specification';\nimport {\n organizationProgressionStateResourceSpecification,\n userProgressionStateResourceSpecification,\n} from './guidance/resources/progression-state.resource.specification';\n// infrastructure\nimport { dataSeedRunsResourceSpecification } from './infrastructure/resources/data-seed-runs.resource.specification';\nimport { billingSubscriptionMutationIntentsResourceSpecification } from './billing/resources/billing-subscription-mutation-intents.resource.specification';\nimport { billingSubscriptionMutationCompletionsResourceSpecification } from './billing/resources/billing-subscription-mutation-completions.resource.specification';\nimport { billingEffectOutboxResourceSpecification } from './billing/resources/billing-effect-outbox.resource.specification';\nimport { billingProviderEventSettlementsResourceSpecification } from './billing/resources/billing-provider-event-settlements.resource.specification';\nimport { externalDataPipelineMembershipResourceSpecification } from './infrastructure/resources/external-data-pipeline-membership.resource.specification';\nimport { externalDataPipelineMembershipKeysResourceSpecification } from './infrastructure/resources/external-data-pipeline-membership-keys.resource.specification';\nimport { externalDataErasureSuppressionsResourceSpecification } from './infrastructure/resources/external-data-erasure-suppressions.resource.specification';\nimport { externalDataPendingReferencesResourceSpecification } from './infrastructure/resources/external-data-pending-references.resource.specification';\nimport { externalDataPipelineRequestedKeysResourceSpecification } from './infrastructure/resources/external-data-pipeline-requested-keys.resource.specification';\nimport { externalDataOutboundChangesResourceSpecification } from './infrastructure/resources/external-data-outbound-changes.resource.specification';\nimport { externalDataRemoteVersionsResourceSpecification } from './infrastructure/resources/external-data-remote-versions.resource.specification';\nimport { externalDataPipelineRunRecordsResourceSpecification } from './infrastructure/resources/external-data-pipeline-run-records.resource.specification';\nimport { externalDataPipelineStatesResourceSpecification } from './infrastructure/resources/external-data-pipeline-states.resource.specification';\nimport { jobExecutionsResourceSpecification } from './infrastructure/resources/job-executions.resource.specification';\nimport { systemOfRecordPartitionAssignmentsResourceSpecification } from './infrastructure/resources/system-of-record-partition-assignments.resource.specification';\nimport { systemOfRecordWriteAdmissionsResourceSpecification } from './infrastructure/resources/system-of-record-write-admissions.resource.specification';\nimport { jobPayloadStorageResourceSpecification } from './infrastructure/resources/job-payload-storage.resource.specification';\nimport { applicationDataKeysResourceSpecification } from './infrastructure/resources/application-data-keys.resource.specification';\n// flows-actors\nimport {\n applicationA2aTokenBudgetStateResourceSpecification,\n organizationA2aTokenBudgetStateResourceSpecification,\n userA2aTokenBudgetStateResourceSpecification,\n} from './flows-actors/resources/a2a-token-budget-state.resource.specification';\nimport {\n userA2aPushDeliveryLogResourceSpecification,\n organizationA2aPushDeliveryLogResourceSpecification,\n applicationA2aPushDeliveryLogResourceSpecification,\n} from './flows-actors/resources/a2a-push-delivery-log.resource.specification';\nimport {\n applicationFlowActorExecutionsResourceSpecification,\n organizationFlowActorExecutionsResourceSpecification,\n userFlowActorExecutionsResourceSpecification,\n} from './flows-actors/resources/flow-actor-executions.resource.specification';\nimport { providerCallRecordsResourceSpecification } from './flows-actors/resources/provider-call-records.resource.specification';\nimport { modelCallAttributionsResourceSpecification } from './flows-actors/resources/model-call-attributions.resource.specification';\nimport { agentOperationRecordsResourceSpecification } from './flows-actors/resources/agent-operation-records.resource.specification';\nimport { remoteAgentTasksResourceSpecification } from './flows-actors/resources/remote-agent-tasks.resource.specification';\nimport { remoteAgentTaskUpdatesResourceSpecification } from './flows-actors/resources/remote-agent-task-updates.resource.specification';\nimport { agentBehaviorReportsResourceSpecification } from './flows-actors/resources/agent-behavior-reports.resource.specification';\nimport { actorSystemExecutionsResourceSpecification } from './flows-actors/resources/actor-system-executions.resource.specification';\nimport { actorTasksResourceSpecification } from './flows-actors/resources/actor-tasks.resource.specification';\nimport { humanDecisionNoticeStaysResourceSpecification } from './flows-actors/resources/human-decision-notice-stays.resource.specification';\nimport { organizationPersonTokenCeilingStateResourceSpecification } from './flows-actors/resources/person-token-ceiling-state.resource.specification';\nimport { organizationModelUsageCeilingStateResourceSpecification } from './flows-actors/resources/model-usage-ceiling-state.resource.specification';\nimport { organizationAgentPoliciesResourceSpecification } from './flows-actors/resources/organization-agent-policies.resource.specification';\nimport { applicationAgentPoliciesResourceSpecification } from './flows-actors/resources/application-agent-policies.resource.specification';\nimport { operationApprovalRequestsResourceSpecification } from './flows-actors/resources/operation-approval-requests.resource.specification';\nimport { modelCostPeriodAggregatesResourceSpecification } from './flows-actors/resources/model-cost-period-aggregates.resource.specification';\nimport {\n agentWorkCaptureSettingsResourceSpecification,\n applicationAgentWorkDecisionContentsResourceSpecification,\n applicationAgentWorkDecisionsResourceSpecification,\n evaluationDatasetExportsResourceSpecification,\n evaluationExportAuthorizationsResourceSpecification,\n organizationAgentWorkDecisionContentsResourceSpecification,\n organizationAgentWorkDecisionsResourceSpecification,\n userAgentWorkDecisionContentsResourceSpecification,\n userAgentWorkDecisionsResourceSpecification,\n} from './flows-actors/resources/agent-work-decisions.resource.specification';\nimport {\n applicationFlowActorTasksResourceSpecification,\n organizationFlowActorTasksResourceSpecification,\n userFlowActorTasksResourceSpecification,\n} from './flows-actors/resources/flow-actor-tasks.resource.specification';\n// notifications\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from './notifications/resources/m2m-webhook-delivery-log.resource.specification';\nimport {\n applicationInboundDeliveriesResourceSpecification,\n organizationInboundDeliveriesResourceSpecification,\n} from './notifications/resources/inbound-deliveries.resource.specification';\nimport {\n conversationMessagesResourceSpecification,\n conversationReplyTokensResourceSpecification,\n conversationThreadsResourceSpecification,\n} from './notifications/resources/conversation-threads.resource.specification';\nimport { chatIdentityLinksResourceSpecification } from './notifications/resources/chat-identity-links.resource.specification';\nimport { organizationChatSettingsResourceSpecification } from './flows-actors/resources/organization-chat-settings.resource.specification';\nimport { chatConversationsResourceSpecification } from './flows-actors/resources/chat-conversations.resource.specification';\nimport {\n relationshipMailboxesResourceSpecification,\n inboundAddressTombstonesResourceSpecification,\n inboundEmailsResourceSpecification,\n organizationEmailDomainsResourceSpecification,\n} from './notifications/resources/inbound-email.resource.specification';\nimport { organizationCustomDomainsResourceSpecification } from './organizations/resources/organization-custom-domains.resource.specification';\nimport { organizationDashboardLayoutsResourceSpecification } from './organizations/resources/organization-dashboard-layouts.resource.specification';\nimport { smsNumberAssignmentsResourceSpecification, smsOptOutsResourceSpecification, smsProviderEventsResourceSpecification } from './notifications/resources/sms-provider-events.resource.specification';\nimport {\n organizationNotificationBadgesResourceSpecification,\n userNotificationBadgesResourceSpecification,\n} from './notifications/resources/notification-badges.resource.specification';\nimport {\n applicationWebhookConfigResourceSpecification,\n organizationWebhookConfigResourceSpecification,\n} from './notifications/resources/webhook-config.resource.specification';\n// organizations\nimport { organizationMembersResourceSpecification } from './organizations/resources/organization-members.resource.specification';\nimport { organizationNotificationsResourceSpecification } from './organizations/resources/organization-notifications.resource.specification';\nimport { organizationPreferencesResourceSpecification } from './organizations/resources/organization-preferences.resource.specification';\nimport { organizationProfilesResourceSpecification } from './organizations/resources/organization-profiles.resource.specification';\nimport { organizationUnitMembersResourceSpecification } from './organizations/resources/organization-unit-members.resource.specification';\nimport {\n relationshipInvitationsResourceSpecification,\n representativeAssignmentsResourceSpecification,\n organizationRepresentationsResourceSpecification,\n relationshipCapabilityGrantsResourceSpecification,\n organizationRelationshipsResourceSpecification,\n} from './organizations/resources/organization-relationships.resource.specification';\nimport { professionalQualificationsResourceSpecification } from './organizations/resources/professional-qualifications.resource.specification';\nimport { organizationUnitsResourceSpecification } from './organizations/resources/organization-units.resource.specification';\nimport { organizationsResourceSpecification } from './organizations/resources/organizations.resource.specification';\n// users\nimport { anonymousUsersResourceSpecification } from './users/resources/anonymous-users.resource.specification';\nimport { inboundContactsResourceSpecification } from './users/resources/inbound-contacts.resource.specification';\nimport { userCredentialsResourceSpecification } from './users/resources/user-credentials.resource.specification';\nimport { userIdentityLinksResourceSpecification } from './users/resources/user-identity-links.resource.specification';\nimport { userPreferencesResourceSpecification } from './users/resources/user-preferences.resource.specification';\nimport { userProfilesResourceSpecification } from './users/resources/user-profiles.resource.specification';\nimport { userSelfPreferencesResourceSpecification } from './users/resources/user-self-preferences.resource.specification';\nimport { userSelfProfilesResourceSpecification } from './users/resources/user-self-profiles.resource.specification';\nimport { userSelfResourceSpecification } from './users/resources/user-self.resource.specification';\nimport { usersResourceSpecification } from './users/resources/users.resource.specification';\n\n/**\n * All engine resource specifications keyed by their `CoreResourceType`.\n * Consumed by the companion OpenAPI projector as a documentation overlay for\n * core resources (see file-level JSDoc). Explicit type annotation keeps the\n * export `isolatedDeclarations`-safe.\n */\nexport const engineResourceSpecificationsByType: ResourceSpecification = {\n // applications\n [CoreResourceType.APPLICATION_API_KEYS]: applicationApiKeysResourceSpecification,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: applicationOAuthClientsResourceSpecification,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceSpecification,\n [CoreResourceType.APPLICATION]: applicationsResourceSpecification,\n // auth\n // `consumableTokens` is a BackendResourceType, not a CoreResourceType — same situation as\n // `dataSeedRuns` below, so it is keyed by its literal resource-type string and sits outside the\n // core-registry alignment guard's population by construction.\n consumableTokens: consumableTokensResourceSpecification,\n // Same situation: the deferred-onboarding ledger is a BackendResourceType (#1131).\n organizationOnboardingOperations: organizationOnboardingOperationsResourceSpecification,\n // Same situation: the document-sequence counters are a BackendResourceType (#2509).\n documentSequenceCounters: documentSequenceCountersResourceSpecification,\n // Same situation: the transactional-core commit receipts are a BackendResourceType (#2870).\n transactionalCommitReceipts: transactionalCommitReceiptsResourceSpecification,\n // Same situation: the post-commit effect outbox is a BackendResourceType (#2886, generalising #2887's removal audit outbox).\n postCommitEffectOutbox: postCommitEffectOutboxResourceSpecification,\n queueMessages: queueMessagesResourceSpecification,\n // Same situation: the external effect reservations are a BackendResourceType (#3441).\n externalEffectReservations: externalEffectReservationsResourceSpecification,\n // Same situation: the idempotent request outcomes are a BackendResourceType (#747).\n idempotentRequestOutcomes: idempotentRequestOutcomesResourceSpecification,\n [CoreResourceType.ORG_API_KEYS]: organizationApiKeysResourceSpecification,\n [CoreResourceType.ORG_PROVIDER_CREDENTIALS]: organizationProviderCredentialsResourceSpecification,\n [CoreResourceType.USER_PROVIDER_CREDENTIALS]: userProviderCredentialsResourceSpecification,\n [CoreResourceType.APPLICATION_PROVIDER_CREDENTIALS]: applicationProviderCredentialsResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: organizationOAuthClientsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: organizationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: applicationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_TOKENS]: organizationScimTokensResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: organizationSsoConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: applicationSsoConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: organizationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: applicationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceSpecification,\n [CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceSpecification,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceSpecification,\n // billing\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: organizationBillingAccountsResourceSpecification,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: userBillingAccountsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CREDIT_POOLS]: organizationCreditPoolsResourceSpecification,\n [CoreResourceType.USER_CREDIT_POOLS]: userCreditPoolsResourceSpecification,\n [CoreResourceType.ORGANIZATION_INVOICE_REFS]: organizationInvoiceRefsResourceSpecification,\n [CoreResourceType.USER_INVOICE_REFS]: userInvoiceRefsResourceSpecification,\n [CoreResourceType.PRICES]: pricesResourceSpecification,\n [CoreResourceType.PRODUCTS]: productsResourceSpecification,\n [CoreResourceType.PROMOTIONS]: promotionsResourceSpecification,\n [CoreResourceType.REFERRALS]: referralsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: organizationSubscriptionsResourceSpecification,\n [CoreResourceType.USER_SUBSCRIPTIONS]: userSubscriptionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: organizationUsageRecordsResourceSpecification,\n [CoreResourceType.USER_USAGE_RECORDS]: userUsageRecordsResourceSpecification,\n // compliance\n [CoreResourceType.APPLICATION_AUDIT_LOGS]: applicationAuditLogsResourceSpecification,\n [CoreResourceType.RETENTION_ENFORCEMENT_RECORDS]: retentionEnforcementRecordsResourceSpecification,\n [CoreResourceType.PUBLISHED_VERIFICATION_KEYS]: publishedVerificationKeysResourceSpecification,\n [CoreResourceType.APPLICATION_DATA_KEYS]: applicationDataKeysResourceSpecification,\n [CoreResourceType.APPROVAL_SEALS]: approvalSealsResourceSpecification,\n [CoreResourceType.SIGNATURE_REQUESTS]: signatureRequestsResourceSpecification,\n [CoreResourceType.SIGNATURE_REQUEST_SIGNERS]: signatureRequestSignersResourceSpecification,\n [CoreResourceType.SSO_DOMAIN_RESERVATIONS]: ssoDomainReservationsResourceSpecification,\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceSpecification,\n [CoreResourceType.LEGAL_HOLDS]: legalHoldsResourceSpecification,\n [CoreResourceType.DATA_SUBJECT_REQUESTS]: dataSubjectRequestsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ]: organizationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_DLQ]: applicationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_OUTBOX]: organizationSiemDeliveryOutboxResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_OUTBOX]: applicationSiemDeliveryOutboxResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG]: organizationSiemExportConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_EXPORT_CONFIG]: applicationSiemExportConfigResourceSpecification,\n [CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceSpecification,\n // features\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceSpecification,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceSpecification,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceSpecification,\n // files\n [CoreResourceType.FILES]: filesResourceSpecification,\n // guidance\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceSpecification,\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceSpecification,\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceSpecification,\n // infrastructure\n [CoreResourceType.JOB_EXECUTIONS]: jobExecutionsResourceSpecification,\n [CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceSpecification,\n [CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceSpecification,\n [CoreResourceType.AGENT_OPERATION_RECORDS]: agentOperationRecordsResourceSpecification,\n [CoreResourceType.REMOTE_AGENT_TASKS]: remoteAgentTasksResourceSpecification,\n [CoreResourceType.REMOTE_AGENT_TASK_UPDATES]: remoteAgentTaskUpdatesResourceSpecification,\n [CoreResourceType.AGENT_BEHAVIOR_REPORTS]: agentBehaviorReportsResourceSpecification,\n [CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceSpecification,\n // #2539 — the application's actor plane.\n [CoreResourceType.ACTOR_SYSTEM_EXECUTIONS]: actorSystemExecutionsResourceSpecification,\n [CoreResourceType.ACTOR_TASKS]: actorTasksResourceSpecification,\n [CoreResourceType.HUMAN_DECISION_NOTICE_STAYS]: humanDecisionNoticeStaysResourceSpecification,\n [CoreResourceType.ORGANIZATION_PERSON_TOKEN_CEILING_STATE]: organizationPersonTokenCeilingStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_MODEL_USAGE_CEILING_STATE]: organizationModelUsageCeilingStateResourceSpecification,\n [CoreResourceType.OPERATION_APPROVAL_REQUESTS]: operationApprovalRequestsResourceSpecification,\n // #1599 — reviewers' decisions on agents' proposals.\n [CoreResourceType.USER_AGENT_WORK_DECISIONS]: userAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISIONS]: organizationAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISIONS]: applicationAgentWorkDecisionsResourceSpecification,\n [CoreResourceType.USER_AGENT_WORK_DECISION_CONTENTS]: userAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_WORK_DECISION_CONTENTS]: organizationAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_WORK_DECISION_CONTENTS]: applicationAgentWorkDecisionContentsResourceSpecification,\n [CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS]: agentWorkCaptureSettingsResourceSpecification,\n [CoreResourceType.ORGANIZATION_AGENT_POLICIES]: organizationAgentPoliciesResourceSpecification,\n [CoreResourceType.APPLICATION_AGENT_POLICIES]: applicationAgentPoliciesResourceSpecification,\n [CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS]: evaluationExportAuthorizationsResourceSpecification,\n [CoreResourceType.EVALUATION_DATASET_EXPORTS]: evaluationDatasetExportsResourceSpecification,\n // `dataSeedRuns` is a BackendResourceType, not a CoreResourceType, so it is keyed by its\n // literal resource-type string. The registry is Record<string, …> and the runtime-scope\n // alignment guard intersects with the CORE registry, so this entry is outside that guard's\n // population by construction rather than by omission.\n dataSeedRuns: dataSeedRunsResourceSpecification,\n // `etlPipelineStates` — same BackendResourceType situation as `dataSeedRuns` above.\n etlPipelineStates: externalDataPipelineStatesResourceSpecification,\n // Billing's internal system resources (the #535 coordination resources and the webhook settlement ledger) — same\n // BackendResourceType situation as `dataSeedRuns` above.\n billingSubscriptionMutationIntents: billingSubscriptionMutationIntentsResourceSpecification,\n billingSubscriptionMutationCompletions: billingSubscriptionMutationCompletionsResourceSpecification,\n billingEffectOutbox: billingEffectOutboxResourceSpecification,\n billingProviderEventSettlements: billingProviderEventSettlementsResourceSpecification,\n externalDataPipelineMemberships: externalDataPipelineMembershipResourceSpecification,\n externalDataPipelineMembershipKeys: externalDataPipelineMembershipKeysResourceSpecification,\n // The erasure-suppression list for pipeline-copied records (#1746) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataErasureSuppressions: externalDataErasureSuppressionsResourceSpecification,\n // The pending-reference set for pipeline remote references (#1684) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataPendingReferences: externalDataPendingReferencesResourceSpecification,\n externalDataPipelineRequestedKeys: externalDataPipelineRequestedKeysResourceSpecification,\n // The outbound change markers (#1690) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataOutboundChanges: externalDataOutboundChangesResourceSpecification,\n // The agreed remote versions of two-way pipelines (#1723) — same BackendResourceType situation as `dataSeedRuns`.\n externalDataRemoteVersions: externalDataRemoteVersionsResourceSpecification,\n externalDataPipelineRunRecords: externalDataPipelineRunRecordsResourceSpecification,\n // The Idempotency-Key ledger for writes into a system of record (#1679) — same BackendResourceType situation as\n // `dataSeedRuns` above.\n systemOfRecordWriteAdmissions: systemOfRecordWriteAdmissionsResourceSpecification,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorageResourceSpecification,\n // flows-actors\n [CoreResourceType.USER_FLOW_ACTOR_TASKS]: userFlowActorTasksResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_TASKS]: organizationFlowActorTasksResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_TASKS]: applicationFlowActorTasksResourceSpecification,\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: userFlowActorExecutionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: organizationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: applicationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.USER_A2A_TOKEN_BUDGET_STATE]: userA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_TOKEN_BUDGET_STATE]: organizationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_TOKEN_BUDGET_STATE]: applicationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.USER_A2A_PUSH_DELIVERY_LOG]: userA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_PUSH_DELIVERY_LOG]: organizationA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_PUSH_DELIVERY_LOG]: applicationA2aPushDeliveryLogResourceSpecification,\n // notifications\n [CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG]: organizationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG]: applicationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_INBOUND_DELIVERIES]: organizationInboundDeliveriesResourceSpecification,\n [CoreResourceType.APPLICATION_INBOUND_DELIVERIES]: applicationInboundDeliveriesResourceSpecification,\n [CoreResourceType.CONVERSATION_THREADS]: conversationThreadsResourceSpecification,\n [CoreResourceType.CONVERSATION_MESSAGES]: conversationMessagesResourceSpecification,\n [CoreResourceType.CONVERSATION_REPLY_TOKENS]: conversationReplyTokensResourceSpecification,\n [CoreResourceType.CHAT_IDENTITY_LINKS]: chatIdentityLinksResourceSpecification,\n [CoreResourceType.ORGANIZATION_CHAT_SETTINGS]: organizationChatSettingsResourceSpecification,\n [CoreResourceType.CHAT_CONVERSATIONS]: chatConversationsResourceSpecification,\n [CoreResourceType.INBOUND_EMAILS]: inboundEmailsResourceSpecification,\n [CoreResourceType.ORGANIZATION_EMAIL_DOMAINS]: organizationEmailDomainsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CUSTOM_DOMAINS]: organizationCustomDomainsResourceSpecification,\n [CoreResourceType.ORGANIZATION_DASHBOARD_LAYOUTS]: organizationDashboardLayoutsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_MAILBOXES]: relationshipMailboxesResourceSpecification,\n [CoreResourceType.INBOUND_ADDRESS_TOMBSTONES]: inboundAddressTombstonesResourceSpecification,\n [CoreResourceType.SMS_PROVIDER_EVENTS]: smsProviderEventsResourceSpecification,\n [CoreResourceType.SMS_OPT_OUTS]: smsOptOutsResourceSpecification,\n [CoreResourceType.SMS_NUMBER_ASSIGNMENTS]: smsNumberAssignmentsResourceSpecification,\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: organizationWebhookConfigResourceSpecification,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: applicationWebhookConfigResourceSpecification,\n // organizations\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfilesResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_RELATIONSHIPS]: organizationRelationshipsResourceSpecification,\n [CoreResourceType.ORGANIZATION_REPRESENTATIONS]: organizationRepresentationsResourceSpecification,\n [CoreResourceType.REPRESENTATIVE_ASSIGNMENTS]: representativeAssignmentsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_INVITATIONS]: relationshipInvitationsResourceSpecification,\n [CoreResourceType.RELATIONSHIP_CAPABILITY_GRANTS]: relationshipCapabilityGrantsResourceSpecification,\n [CoreResourceType.PROFESSIONAL_QUALIFICATIONS]: professionalQualificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitsResourceSpecification,\n [CoreResourceType.ORGANIZATIONS]: organizationsResourceSpecification,\n // users\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceSpecification,\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceSpecification,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceSpecification,\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceSpecification,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceSpecification,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceSpecification,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceSpecification,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceSpecification,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceSpecification,\n [CoreResourceType.USER_SELF]: userSelfResourceSpecification,\n [CoreResourceType.USERS]: usersResourceSpecification,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor-system-executions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/actor-system-executions.resource.specification.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"actor-system-executions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/actor-system-executions.resource.specification.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAUjI,0GAA0G;AAC1G,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;CAShC,CAAC;AAEF,eAAO,MAAM,0CAA0C,EAAE,8BA0JxD,CAAC"}
|
package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* - Factory: `actorSystemExecutionsResourceConfiguration_InitializationFactory`
|
|
7
7
|
* - Writer: `ApplicationActorExecutionPersistence`, the application's binding of `ActorExecutionPersistencePort`.
|
|
8
8
|
* - Readers: the actor runtime (`ActorsSystemBackendService`) and the decision inbox's actor-system host.
|
|
9
|
+
* - And the Agent activity routes (#3990, `POST /flows-actors/agent-activity` and `/agent-activity/run`), on the
|
|
10
|
+
* infrastructure tier, projected onto a published contract that leaves out every backend-only field.
|
|
9
11
|
*
|
|
10
12
|
* Why the structured state is serialized beside filterable columns, and why the rows are organization-scoped rather
|
|
11
13
|
* than polymorphic, is the schema file's header; it is not restated here.
|
|
@@ -149,7 +151,7 @@ export const actorSystemExecutionsResourceSpecification = resourceSpecification(
|
|
|
149
151
|
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The run was opened. Internal write path.' }],
|
|
150
152
|
},
|
|
151
153
|
[Op.READ]: {
|
|
152
|
-
purpose: 'Read one run for the actor runtime or the decision inbox.',
|
|
154
|
+
purpose: 'Read one run for the actor runtime or the decision inbox. (The Agent activity page reads runs through its own routes, on the infrastructure tier, never through this operation.)',
|
|
153
155
|
outcome: 'The run is returned to the internal caller.',
|
|
154
156
|
idempotent: true,
|
|
155
157
|
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The run was found.' }],
|
|
@@ -173,6 +175,7 @@ export const actorSystemExecutionsResourceSpecification = resourceSpecification(
|
|
|
173
175
|
},
|
|
174
176
|
businessConstraints: [
|
|
175
177
|
'Written only by the engine\'s persistence port; a person reaches a waiting question through the decision inbox, never through this resource.',
|
|
178
|
+
'An organization\'s administrators, and the application super-administrator under the audit read policy, read what a run did on the Agent activity page (#3990): its system, status, history and tasks, never its question, its resume inputs or the people it names.',
|
|
176
179
|
'A run is taken out of waiting by one guarded statement; of two decisions sent together, only one moves it.',
|
|
177
180
|
'Every run belongs to an organization and is deleted with it.',
|
|
178
181
|
'A person\'s erasure removes their id from every run that names them and keeps the run; nobody is chosen to answer in their place.',
|