@hyperscale0/sdk 1.0.388 → 1.0.390

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/platform.d.ts +14 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperscale0/sdk",
3
- "version": "1.0.388",
3
+ "version": "1.0.390",
4
4
  "description": "JavaScript client and TypeScript types for the Hyperscale Product API.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "d4d4735e16b5fc0a06160c36f17dbc9402bdc96d"
29
+ "gitHead": "4593f7c111af3771269772348e53bffd8f64aab7"
30
30
  }
package/platform.d.ts CHANGED
@@ -49,9 +49,10 @@ export type activity_listOutput = { readonly "items": ReadonlyArray<({ readonly
49
49
  type activity_listOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "engine"; readonly "law": string; readonly "facts": { readonly [key: string]: (string | number | boolean | null | { readonly [key: string]: string | number | boolean | null }) }; readonly "remedy"?: activity_listOutput_HyperscaleRefusalRemedy; };
50
50
  type activity_listOutput_HyperscaleRefusalRemedy = { readonly "kind": "call" | "change_request" | "retry" | "needs_human" | "none"; readonly "operation"?: string; readonly "fields"?: ReadonlyArray<string>; readonly "who"?: "owner" | "approver" | "staff" | "customer"; readonly "values"?: { readonly [key: string]: string | number | boolean | null }; };
51
51
  export type activity_retrieveInput = { readonly "productId"?: string; readonly "activityId": string; };
52
- export type activity_retrieveOutput = ({ readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; });
52
+ export type activity_retrieveOutput = ({ readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "trace"?: activity_retrieveOutput_ActionTrace; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; });
53
53
  type activity_retrieveOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "engine"; readonly "law": string; readonly "facts": { readonly [key: string]: (string | number | boolean | null | { readonly [key: string]: string | number | boolean | null }) }; readonly "remedy"?: activity_retrieveOutput_HyperscaleRefusalRemedy; };
54
54
  type activity_retrieveOutput_HyperscaleRefusalRemedy = { readonly "kind": "call" | "change_request" | "retry" | "needs_human" | "none"; readonly "operation"?: string; readonly "fields"?: ReadonlyArray<string>; readonly "who"?: "owner" | "approver" | "staff" | "customer"; readonly "values"?: { readonly [key: string]: string | number | boolean | null }; };
55
+ type activity_retrieveOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
55
56
  export type audit_event_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
56
57
  export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest"?: string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
57
58
  export type audit_event_retrieveInput = { readonly "productId"?: string; readonly "auditEventId": string; };
@@ -137,7 +138,7 @@ export type product_guidance_retrieveOutput = { readonly "items": ReadonlyArray<
137
138
  type product_guidance_retrieveOutput_ProductGuidanceItem = { readonly "predicate": "mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product"; readonly "status": "satisfied" | "actionable" | "blocked"; readonly "title": string; readonly "detail": string; readonly "target": product_guidance_retrieveOutput_ProductGuidanceTarget; readonly "requirement"?: string; };
138
139
  type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
139
140
  export type product_instruments_listInput = { readonly "productId": string; };
140
- export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": "SAR"; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "template"?: string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
141
+ export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": "SAR"; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "template"?: string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "ends"?: ReadonlyArray<string>; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
141
142
  export type product_margin_retrieveInput = { readonly "productId": string; };
142
143
  export type product_margin_retrieveOutput = { readonly "asOf": string; readonly "items": ReadonlyArray<{ readonly "operationName": string; readonly "sell": { readonly "bps"?: string; readonly "flatAmount"?: string; }; readonly "buy": { readonly "volumeBps"?: string; readonly "perEvent"?: string; }; readonly "net": { readonly "bps": string; readonly "perEvent": string; }; }>; };
143
144
  export type product_objects_actionsInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "onBehalfOf"?: string; };
@@ -151,9 +152,10 @@ type product_objects_agreements_listOutput___schema0 = (string | number | boolea
151
152
  export type product_objects_createInput = { readonly "productId": string; readonly "kind": string; readonly "externalId"?: string; readonly "fields"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
152
153
  export type product_objects_createOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; };
153
154
  export type product_objects_discoverInput = { readonly "productId": string; };
154
- export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "parties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "objects": ReadonlyArray<{ readonly "entryActions"?: ReadonlyArray<string>; readonly "id": string; readonly "title": string; readonly "authoredFields": ReadonlyArray<string>; readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title"?: string; readonly "parent"?: string; readonly "instrument": string; readonly "parties": { readonly [key: string]: ({ readonly "role": "owner" | "actor" | "operator"; } | { readonly "party": string; }) }; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "columns": ReadonlyArray<string>; }>; readonly "instruments": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "subject"?: string; readonly "template"?: string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "accounts": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "relationships": ReadonlyArray<{ readonly "kind": "reference" | "child"; readonly "via": "field" | "attachment" | "invocation" | "parent_actor"; readonly "name": string; readonly "targetKind": "instrument" | "object"; readonly "targets": ReadonlyArray<string>; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "invariants": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "initialState": string; readonly "lifecycle": { readonly "initial": string; readonly "states": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "terminal": boolean; }>; readonly "cancellationActions": ReadonlyArray<string>; }; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "alias": string | null; readonly "title": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "roles": ReadonlyArray<(({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }) | { readonly "kind": "caller" | "clock"; } | { readonly "kind": "parent"; readonly "instruments": ReadonlyArray<string>; })>; readonly "from": ReadonlyArray<string>; readonly "to": string | null; readonly "references"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "invokedBy"?: ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "alias": string | null; readonly "invocation": ({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "subject"?: { readonly "requirements": ReadonlyArray<{ readonly "field": ({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; }); readonly "objectField"?: string; readonly "when"?: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>>; }>; readonly "adapters": ReadonlyArray<{ readonly "binding": string; readonly "snapshot": ({ readonly "onboarding"?: ReadonlyArray<"person" | "organization">; readonly "provider": string; readonly "capability": string; readonly "operation": string; readonly "apiVersion"?: { readonly "header": string; readonly "value": string; }; readonly "declarationDigest": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; } | null); readonly "renames"?: { readonly [key: string]: string }; }>; }; readonly "prerequisites": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "boundary"?: { readonly "adapter": string; readonly "operation"?: "authorize" | "refund"; readonly "refundOf"?: string; }; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; readonly "capture": string; } | { readonly "key": string; readonly "operation": "internal_transfer.post"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "capture"; readonly "amount"?: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "key": string; readonly "operation": "internal_transfer.void"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "void"; }; })>; readonly "moneyEffects": ReadonlyArray<{ readonly "key": string; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount": (({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) | null); readonly "from": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "to": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "disposition": "held" | "paid" | "released" | "claim" | "unresolved"; readonly "transfer": string | null; readonly "reservations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "key": string; }>; readonly "economics": ({ readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf": string | null; } | null); readonly "share": ({ readonly "base": string; readonly "bps": number; readonly "value": string | null; } | null); }>; readonly "invokes": ReadonlyArray<({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "currency": "SAR"; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "selection"?: string; }>; readonly "selection": { readonly "dataset": string; readonly "predicate"?: string; }; readonly "calculation": { readonly "joins": ReadonlyArray<{ readonly "dataset": string; readonly "local": string; readonly "foreign": string; readonly "cardinality": "one" | "many"; readonly "missing": "refuse" | "allow"; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "groupBy": ReadonlyArray<string>; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; readonly "resultExpressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; }; readonly "validation": { readonly "empty": "refuse" | "noEligibleFacilities"; readonly "required": ReadonlyArray<string>; readonly "rowReconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "reconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "unavailableFacts": ReadonlyArray<string>; }; readonly "output": { readonly "formats": ReadonlyArray<"json" | "csv">; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); }>; readonly "sort": ReadonlyArray<string>; }; readonly "authority": { readonly "request": ReadonlyArray<string>; readonly "read": ReadonlyArray<string>; readonly "retention": { readonly "years": number; }; }; }>; readonly "structures": ReadonlyArray<"stage_and_decisions" | "payment_review" | "held_funds" | "reserved_payment" | "payment_calendar" | "funding_progress" | "cancellation_review" | "external_checks" | "report_view">; }>; }; readonly "navigation": ReadonlyArray<{ readonly "kind": string; readonly "title": string; readonly "creation": boolean; }>; readonly "productBuildId": string; readonly "digest": string; readonly "kinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "productBuildId": string; readonly "digest": string; readonly "creation": true; readonly "kind": string; readonly "title": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "createSchema": { readonly [key: string]: unknown }; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fieldsSchema": { readonly [key: string]: unknown }; readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "action": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "requirementConditions"?: { readonly [key: string]: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>> }; readonly "creationRequirements"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "creationOnlyNames"?: ReadonlyArray<string>; readonly "inputSchema": { readonly [key: string]: unknown }; readonly "availability": ({ readonly "status": "available"; } | { readonly "status": "requires_input"; readonly "subjectFields": ReadonlyArray<string>; readonly "actionInputs": ReadonlyArray<string>; readonly "parties": ReadonlyArray<string>; readonly "instances"?: { readonly [key: string]: ReadonlyArray<string> }; readonly "reason": string; } | { readonly "status": "unavailable"; readonly "blockers": ReadonlyArray<{ readonly "code": "permission_required" | "state_changed" | "not_due" | "deadline_passed" | "clock_pending" | "condition_not_met" | "already_used" | "evidence_required" | "account_unavailable" | "insufficient_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "kind": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "creation": false; }>; };
155
+ export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "parties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "objects": ReadonlyArray<{ readonly "entryActions"?: ReadonlyArray<string>; readonly "id": string; readonly "title": string; readonly "authoredFields": ReadonlyArray<string>; readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title"?: string; readonly "parent"?: string; readonly "instrument": string; readonly "parties": { readonly [key: string]: ({ readonly "role": "owner" | "actor" | "operator"; } | { readonly "party": string; }) }; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "columns": ReadonlyArray<string>; }>; readonly "instruments": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "subject"?: string; readonly "template"?: string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "accounts": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "relationships": ReadonlyArray<{ readonly "kind": "reference" | "child"; readonly "via": "field" | "attachment" | "invocation" | "parent_actor"; readonly "name": string; readonly "targetKind": "instrument" | "object"; readonly "targets": ReadonlyArray<string>; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "invariants": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "initialState": string; readonly "lifecycle": { readonly "initial": string; readonly "states": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "terminal": boolean; }>; readonly "cancellationActions": ReadonlyArray<string>; }; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "alias": string | null; readonly "title": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "roles": ReadonlyArray<(({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }) | { readonly "kind": "caller" | "clock"; } | { readonly "kind": "parent"; readonly "instruments": ReadonlyArray<string>; })>; readonly "from": ReadonlyArray<string>; readonly "to": string | null; readonly "references"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "invokedBy"?: ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "alias": string | null; readonly "invocation": ({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "subject"?: { readonly "requirements": ReadonlyArray<{ readonly "field": ({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; }); readonly "objectField"?: string; readonly "when"?: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>>; }>; readonly "adapters": ReadonlyArray<{ readonly "binding": string; readonly "snapshot": ({ readonly "onboarding"?: ReadonlyArray<"person" | "organization">; readonly "provider": string; readonly "capability": string; readonly "operation": string; readonly "apiVersion"?: { readonly "header": string; readonly "value": string; }; readonly "declarationDigest": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; } | null); readonly "renames"?: { readonly [key: string]: string }; }>; }; readonly "prerequisites": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "boundary"?: { readonly "adapter": string; readonly "operation"?: "authorize" | "refund"; readonly "refundOf"?: string; }; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; readonly "capture": string; } | { readonly "key": string; readonly "operation": "internal_transfer.post"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "capture"; readonly "amount"?: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "key": string; readonly "operation": "internal_transfer.void"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "void"; }; })>; readonly "moneyEffects": ReadonlyArray<{ readonly "key": string; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount": (({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) | null); readonly "from": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "to": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "disposition": "held" | "paid" | "released" | "claim" | "unresolved"; readonly "transfer": string | null; readonly "reservations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "key": string; }>; readonly "economics": ({ readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf": string | null; } | null); readonly "share": ({ readonly "base": string; readonly "bps": number; readonly "value": string | null; } | null); }>; readonly "invokes": ReadonlyArray<({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "currency": "SAR"; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation" | "posting"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "selection"?: string; }>; readonly "selection": { readonly "dataset": string; readonly "predicate"?: string; }; readonly "calculation": { readonly "joins": ReadonlyArray<{ readonly "dataset": string; readonly "local": string; readonly "foreign": string; readonly "cardinality": "one" | "many"; readonly "missing": "refuse" | "allow"; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "groupBy": ReadonlyArray<string>; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; readonly "resultExpressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; }; readonly "validation": { readonly "empty": "refuse" | "noEligibleFacilities"; readonly "required": ReadonlyArray<string>; readonly "rowReconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "reconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "unavailableFacts": ReadonlyArray<string>; }; readonly "output": { readonly "formats": ReadonlyArray<"json" | "csv">; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); }>; readonly "sort": ReadonlyArray<string>; }; readonly "authority": { readonly "request": ReadonlyArray<string>; readonly "read": ReadonlyArray<string>; readonly "retention": { readonly "years": number; }; }; }>; readonly "structures": ReadonlyArray<"stage_and_decisions" | "payment_review" | "held_funds" | "reserved_payment" | "payment_calendar" | "funding_progress" | "cancellation_review" | "external_checks" | "report_view">; }>; }; readonly "navigation": ReadonlyArray<{ readonly "kind": string; readonly "title": string; readonly "creation": boolean; }>; readonly "productBuildId": string; readonly "digest": string; readonly "kinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "productBuildId": string; readonly "digest": string; readonly "creation": true; readonly "kind": string; readonly "title": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "createSchema": { readonly [key: string]: unknown }; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fieldsSchema": { readonly [key: string]: unknown }; readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "action": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "requirementConditions"?: { readonly [key: string]: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>> }; readonly "creationRequirements"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "creationOnlyNames"?: ReadonlyArray<string>; readonly "inputSchema": { readonly [key: string]: unknown }; readonly "availability": ({ readonly "status": "available"; } | { readonly "status": "requires_input"; readonly "subjectFields": ReadonlyArray<string>; readonly "actionInputs": ReadonlyArray<string>; readonly "parties": ReadonlyArray<string>; readonly "instances"?: { readonly [key: string]: ReadonlyArray<string> }; readonly "reason": string; } | { readonly "status": "unavailable"; readonly "blockers": ReadonlyArray<{ readonly "code": "permission_required" | "state_changed" | "not_due" | "deadline_passed" | "clock_pending" | "condition_not_met" | "already_used" | "evidence_required" | "account_unavailable" | "insufficient_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "kind": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "creation": false; }>; };
155
156
  export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
156
- export type product_objects_executeOutput = { readonly "object": { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "status": "posted" | "reserved" | "released" | "voided"; }>; } | null); readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; };
157
+ export type product_objects_executeOutput = { readonly "object": { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "status": "posted" | "reserved" | "released" | "voided"; }>; readonly "trace"?: product_objects_executeOutput_ActionTrace; } | null); readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; };
158
+ type product_objects_executeOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
157
159
  export type product_objects_listInput = { readonly "productId": string; readonly "kind": string; readonly "owner"?: string; readonly "externalId"?: string; /** JSON-encode this object in the HTTP query parameter. */ readonly "filters"?: { readonly [key: string]: string }; readonly "agreementState"?: string; readonly "blockKey"?: "financing.installments" | "escrow.hold" | "money.hold" | "marketplace.listing" | "marketplace.order" | "marketplace.reservation" | "insurance.cover" | "insurance.claim"; readonly "blockMetric"?: "overdue_installments" | "overdue_amount" | "held_funds" | "active_listings" | "awaiting_fulfilment" | "active_reservations" | "active_covers" | "submitted_claims"; readonly "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
158
160
  export type product_objects_listOutput = { readonly "items": ReadonlyArray<{ readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "access": "owner" | "party" | "open" | "company"; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); readonly "title": string; readonly "state": string; readonly "standing": string; }>; readonly "agreementsComplete": boolean; readonly "nextSchedule": ({ readonly "instanceId": string; readonly "action": string; readonly "title": string; readonly "dueAt": string; readonly "status": "upcoming" | "due"; } | null); readonly "scheduleComplete": boolean; }>; readonly "nextCursor"?: string; readonly "total": number; readonly "facets": { readonly [key: string]: { readonly [key: string]: number } }; };
159
161
  export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
@@ -161,7 +163,8 @@ export type product_objects_previewOutput = { readonly "objectId": string; reado
161
163
  export type product_objects_retrieveInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
162
164
  export type product_objects_retrieveOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "access": "owner" | "party" | "open" | "company"; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); readonly "title": string; readonly "state": string; readonly "standing": string; readonly "progress": ({ readonly "done": number; readonly "total": number; readonly "word": string; } | null); readonly "nextDueAt": (string | null); }>; readonly "agreementsNextCursor"?: string; };
163
165
  export type product_objects_timeline_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
164
- export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; readonly "participantId"?: string; readonly "displayName"?: string; readonly "customerId"?: string; readonly "onBehalfOf"?: ({ readonly "kind": "member"; readonly "userId": string; readonly "displayName": string; } | { readonly "kind": "api_key"; readonly "apiKeyId": string; readonly "displayName": string; }); }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; } | null); readonly "source": { readonly "kind": "audit_event" | "receipt" | "external_confirmation"; readonly "id": string; readonly "operationId": (string | null); readonly "sequence"?: number; }; readonly "state"?: string; readonly "requested"?: true; readonly "reason"?: string; readonly "money"?: { readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }; readonly "evidence"?: { readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }; }>; readonly "nextCursor"?: string; };
166
+ export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; readonly "participantId"?: string; readonly "displayName"?: string; readonly "customerId"?: string; readonly "onBehalfOf"?: ({ readonly "kind": "member"; readonly "userId": string; readonly "displayName": string; } | { readonly "kind": "api_key"; readonly "apiKeyId": string; readonly "displayName": string; }); }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; } | null); readonly "source": { readonly "kind": "audit_event" | "receipt" | "external_confirmation"; readonly "id": string; readonly "operationId": (string | null); readonly "sequence"?: number; }; readonly "state"?: string; readonly "requested"?: true; readonly "reason"?: string; readonly "trace"?: product_objects_timeline_listOutput_ActionTrace; readonly "money"?: { readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }; readonly "evidence"?: { readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }; }>; readonly "nextCursor"?: string; };
167
+ type product_objects_timeline_listOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
165
168
  export type product_operation_set_retrieveInput = { readonly "productId": string; };
166
169
  export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "productBuildId": string; readonly "buildDigest": string; readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "operations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "kind": "read" | "setup" | "action"; readonly "readKind": "list" | "retrieve" | "none"; readonly "resourceKind": string | null; readonly "idField": string | null; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema0 }; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema1 }; readonly "recordSchema": ({ readonly [key: string]: product_operation_set_retrieveOutput___schema2 } | null); readonly "displayTitle": string; readonly "actionExposure": ({ readonly "name": string; readonly "target": string; } | null); readonly "scopes": ReadonlyArray<string>; }>; readonly "tenantSurfaceVersion": 3; readonly "tenantOperationSetDigest": string; readonly "publicActions": ReadonlyArray<product_operation_set_retrieveOutput_ProductPublicAction>; readonly "tenantReadOperationSetDigest": string; readonly "tenantSetupOperationSetDigest": string; readonly "readOperationIds": ReadonlyArray<string>; readonly "readOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "setupOperationIds": ReadonlyArray<string>; readonly "setupOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "unresolvedSetupOperationIds": ReadonlyArray<string>; };
167
170
  type product_operation_set_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema0> | { readonly [key: string]: product_operation_set_retrieveOutput___schema0 });
@@ -220,8 +223,8 @@ export type SharedErrorCode = "internal_error" | "invalid_request" | "not_found"
220
223
  export interface Operations {
221
224
  readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/balance"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
222
225
  readonly "account.close": { input: account_closeInput; output: account_closeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/close"; credentialTenant: true; rehearsable: true; errorCode: "account_close_balance_nonzero" | "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
223
- readonly "account.create": { input: account_createInput; output: account_createOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_already_provisioned" | "account_role_owner_mismatch" | "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "owner_unsupported" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
224
- readonly "account.deposit": { input: account_depositInput; output: account_depositOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/account-deposits"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "capability_not_configured" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
226
+ readonly "account.create": { input: account_createInput; output: account_createOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_already_provisioned" | "account_role_owner_mismatch" | "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "owner_unsupported" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
227
+ readonly "account.deposit": { input: account_depositInput; output: account_depositOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/account-deposits"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "capability_not_configured" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
225
228
  readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/freeze"; credentialTenant: true; rehearsable: true; errorCode: "account_not_found" | "account_status_forbidden" | "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
226
229
  readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
227
230
  readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds/{transferId}"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
@@ -243,7 +246,7 @@ readonly "customer_access.reactivate": { input: customer_access_reactivateInput;
243
246
  readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customer-access/{customerAccessId}"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
244
247
  readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/suspend"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
245
248
  readonly "customer.create": { input: customer_createInput; output: customer_createOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/customers"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
246
- readonly "customer.join": { input: customer_joinInput; output: customer_joinOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/join"; rehearsable: true; errorCode: "cross_tenant_transfer_forbidden" | "currency_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "join_link_expired" | "join_link_full" | "join_link_not_found" | "ledger_transfer_rejected" | "ledger_unavailable" | "operation_not_finalized" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
249
+ readonly "customer.join": { input: customer_joinInput; output: customer_joinOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/join"; rehearsable: true; errorCode: "company_period_closed" | "cross_tenant_transfer_forbidden" | "currency_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "join_link_expired" | "join_link_full" | "join_link_not_found" | "ledger_transfer_rejected" | "ledger_unavailable" | "operation_not_finalized" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
247
250
  readonly "customer.list": { input: customer_listInput; output: customer_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customers"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
248
251
  readonly "customer.login": { input: customer_loginInput; output: customer_loginOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/login"; rehearsable: true; errorCode: "customer_access_required" | "customer_access_status_forbidden" | "customer_not_found" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
249
252
  readonly "customer.logout": { input: customer_logoutInput; output: customer_logoutOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/logout"; rehearsable: true; errorCode: "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "missing_required_scope" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_required" | "state_constraint_failed" | "tenant_mismatch" };
@@ -265,7 +268,7 @@ readonly "product.blocks.summary": { input: product_blocks_summaryInput; output:
265
268
  readonly "product.books.retrieve": { input: product_books_retrieveInput; output: product_books_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/books"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
266
269
  readonly "product.connections.retrieve": { input: product_connections_retrieveInput; output: product_connections_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/connections"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
267
270
  readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/earn-rates"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
268
- readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/products/{productId}/earnings/settlements"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
271
+ readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/products/{productId}/earnings/settlements"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
269
272
  readonly "product.economic_snapshot.retrieve": { input: product_economic_snapshot_retrieveInput; output: product_economic_snapshot_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/economic-snapshot"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "economic_snapshot_unstable" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
270
273
  readonly "product.guidance.retrieve": { input: product_guidance_retrieveInput; output: product_guidance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/guidance"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
271
274
  readonly "product.instruments.list": { input: product_instruments_listInput; output: product_instruments_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/instruments"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
@@ -275,7 +278,7 @@ readonly "product.objects.agreements.evidence.list": { input: product_objects_ag
275
278
  readonly "product.objects.agreements.list": { input: product_objects_agreements_listInput; output: product_objects_agreements_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/agreements"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
276
279
  readonly "product.objects.create": { input: product_objects_createInput; output: product_objects_createOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "external_id_in_use" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "tenant_mismatch" | "tenant_status_forbidden" };
277
280
  readonly "product.objects.discover": { input: product_objects_discoverInput; output: product_objects_discoverOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
278
- readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "external_confirmation_conflict" | "external_confirmation_not_found" | "external_confirmation_resource_conflict" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
281
+ readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "external_confirmation_conflict" | "external_confirmation_not_found" | "external_confirmation_resource_conflict" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
279
282
  readonly "product.objects.list": { input: product_objects_listInput; output: product_objects_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
280
283
  readonly "product.objects.preview": { input: product_objects_previewInput; output: product_objects_previewOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}/preview"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "tenant_status_forbidden" };
281
284
  readonly "product.objects.retrieve": { input: product_objects_retrieveInput; output: product_objects_retrieveOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
@@ -286,7 +289,7 @@ readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; o
286
289
  readonly "product.work.list": { input: product_work_listInput; output: product_work_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/work"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
287
290
  readonly "receipt.list": { input: receipt_listInput; output: receipt_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
288
291
  readonly "receipt.retrieve": { input: receipt_retrieveInput; output: receipt_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts/{receiptId}"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
289
- readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/account-funding"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
292
+ readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/account-funding"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_approval_denied" | "agent_approval_required" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
290
293
  readonly "sandbox.clock.advance": { input: sandbox_clock_advanceInput; output: sandbox_clock_advanceOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/clock/advance"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_context_mismatch" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
291
294
  readonly "sandbox.clock.retrieve": { input: sandbox_clock_retrieveInput; output: sandbox_clock_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/sandbox-clock"; credentialTenant: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
292
295
  readonly "sandbox.customer_access.activate": { input: sandbox_customer_access_activateInput; output: sandbox_customer_access_activateOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/customer-access/{customerAccessId}/activate"; credentialTenant: true; rehearsable: true; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "capability_not_configured" | "csrf_token_invalid" | "customer_access_compliance_forbidden" | "customer_profile_incomplete" | "device_login_expired" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };