@hyperscale0/sdk 1.0.398 → 1.0.399
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/client.js +1 -1
- package/package.json +2 -2
- package/platform.d.ts +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,10 @@ Newest first. A release that changed nothing the SDK sees has no entry.
|
|
|
10
10
|
|
|
11
11
|
- `product.objects.execute` on a create takes `persons`, the person customer for each name the instrument declares.
|
|
12
12
|
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- A compiled program is a Core. The calls `product.build.list`, `.retrieve`, `.diff` and `.restore` are `product.core.list`, `.retrieve`, `.diff` and `.restore`, and the types `ProductBuild*` are `ProductCore*`. The fields `productBuildId`, `buildDigest`, `currentBuildDigest` and `restoredFromBuildId` are `productCoreId`, `coreDigest`, `currentCoreDigest` and `restoredFromCoreId`; a company snapshot diff names `fromCoreDigest` and `toCoreDigest`. The error codes `build_checks_failed`, `build_checks_missing`, `build_checks_pending`, `product_build_not_found`, `product_build_refuted` and `product_build_stale` are `core_checks_failed`, `core_checks_missing`, `core_checks_pending`, `product_core_not_found`, `product_core_refuted` and `product_core_stale`, and `product_build_write_failed` is `product_core_write_failed`. A company graph names the Core node `core` and its edge `has_core`, and a snapshot diff says `core_changed`.
|
|
16
|
+
|
|
13
17
|
## 1.0.396
|
|
14
18
|
|
|
15
19
|
### Added
|
package/client.js
CHANGED
|
@@ -1549,7 +1549,7 @@ export function createClient({
|
|
|
1549
1549
|
objectId,
|
|
1550
1550
|
action,
|
|
1551
1551
|
expectedRevision: revision,
|
|
1552
|
-
|
|
1552
|
+
productCoreId: selected.productCoreId,
|
|
1553
1553
|
digest: selected.digest,
|
|
1554
1554
|
target: selected.target,
|
|
1555
1555
|
...(fields ? { fields } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscale0/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.399",
|
|
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": "
|
|
29
|
+
"gitHead": "a0c8f97d151183eb46e9b1e7364f2c713c7c2c26"
|
|
30
30
|
}
|
package/platform.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Generated from
|
|
1
|
+
// Generated from arc/contracts operation descriptors. Do not edit.
|
|
2
2
|
export type ErrorResponse = { readonly "error": ErrorResponse_HyperscaleErrorBody; readonly "requestId": string; };
|
|
3
3
|
type ErrorResponse_HyperscaleErrorBody = { readonly "code": string; readonly "details"?: ErrorResponse_HyperscaleErrorDetails; readonly "message": string; readonly "trace"?: ErrorResponse_HyperscaleRefusalTrace; };
|
|
4
4
|
type ErrorResponse_HyperscaleErrorDetails = unknown;
|
|
5
|
-
type ErrorResponse_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "
|
|
5
|
+
type ErrorResponse_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "arc"; readonly "law": string; readonly "facts": { readonly [key: string]: (string | number | boolean | null | { readonly [key: string]: string | number | boolean | null }) }; readonly "remedy"?: ErrorResponse_HyperscaleRefusalRemedy; };
|
|
6
6
|
type ErrorResponse_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 }; };
|
|
7
7
|
/** What a call sent with `rehearse: true` answers in place of its output. */
|
|
8
8
|
export type OperationRehearsal = { readonly "rehearsal": true; readonly "outcome": "succeeded" | "refused" | "approval_would_be_raised"; readonly "status": number; readonly "output"?: unknown; readonly "error"?: { readonly "code": string; readonly "message": string; readonly "details"?: unknown; }; readonly "operationId": string | null; readonly "receipt": ({ readonly "receiptId": string; readonly "status": string; readonly "body": { readonly [key: string]: unknown }; } | null); readonly "postings": ReadonlyArray<OperationRehearsal_RehearsalPosting>; readonly "accountsOpened": ReadonlyArray<OperationRehearsal_RehearsalAccount>; readonly "instrumentTransitions": ReadonlyArray<OperationRehearsal_RehearsalTransition>; readonly "withheld": { readonly "postCommitEffects": number; readonly "providerEgress": ReadonlyArray<{ readonly "adapter": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }>; }; };
|
|
@@ -46,13 +46,13 @@ export type account_unfreezeInput = { readonly "accountId": string; readonly "re
|
|
|
46
46
|
export type account_unfreezeOutput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "frozen"; readonly "status": "open"; };
|
|
47
47
|
export type activity_listInput = { readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "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 "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "type"?: "object" | "money_move" | "company_access"; };
|
|
48
48
|
export type activity_listOutput = { readonly "items": ReadonlyArray<({ readonly "activityId": string; readonly "occurredAt": string; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_listOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; 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 "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "amount": ({ readonly "value": string; readonly "currency": 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 "activityId": string; readonly "occurredAt": string; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_listOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; 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 "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "amount": ({ readonly "value": string; readonly "currency": 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 "auditEvent": string; })>; readonly "nextCursor"?: string; };
|
|
49
|
-
type activity_listOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "
|
|
49
|
+
type activity_listOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "arc"; 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
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" | "credit_observation" | "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" | "credit_observation" | "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" | "credit_observation" | "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" | "credit_observation" | "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" | "credit_observation" | "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" | "credit_observation" | "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" | "credit_observation" | "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
|
-
type activity_retrieveOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "
|
|
53
|
+
type activity_retrieveOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "arc"; 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 "
|
|
55
|
+
type activity_retrieveOutput_ActionTrace = { readonly "udl": number; readonly "coreDigest": string; readonly "productCoreId": 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" | "approval"; 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 "expression"?: string; readonly "currency"?: 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 "rates"?: ReadonlyArray<{ readonly "target": string; readonly "rate"?: number; readonly "reason"?: "no_root" | "ambiguous"; readonly "steps": number; }>; }>; readonly "trace_truncated"?: true; };
|
|
56
56
|
export type audit_event_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
57
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 }; };
|
|
58
58
|
export type audit_event_retrieveInput = { readonly "productId"?: string; readonly "auditEventId": string; };
|
|
@@ -114,9 +114,9 @@ export type operation_retrieveOutput = { readonly "operationId": string; readonl
|
|
|
114
114
|
export type payment_reminder_delivery_retrieveInput = { readonly "productId": string; readonly "operationId": string; };
|
|
115
115
|
export type payment_reminder_delivery_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "operationId": string; readonly "deliveries": ReadonlyArray<{ readonly "deliveryId": string; readonly "installmentId": string; readonly "customerId": string; readonly "channel": "email"; readonly "template": string; readonly "state": "prepared" | "unknown" | "accepted" | "delivered" | "failed" | "bounced" | "simulated"; readonly "provider": string; readonly "providerReference": string | null; readonly "providerAccepted": boolean; readonly "delivered": boolean; readonly "updatedAt": string; }>; };
|
|
116
116
|
export type product_actions_listInput = { readonly "productId": string; readonly "instrument"?: string; };
|
|
117
|
-
export type product_actions_listOutput = { readonly "
|
|
117
|
+
export type product_actions_listOutput = { readonly "productCoreId": string; readonly "coreDigest": string; readonly "items": ReadonlyArray<{ readonly "instrument": string; readonly "name": string; readonly "action": string; readonly "actor": ("caller" | "clock" | "observation" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "input": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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 "instanceIdRequired": boolean; readonly "method": "POST"; readonly "path": string; }>; };
|
|
118
118
|
export type product_activation_retrieveInput = { readonly "productId": string; };
|
|
119
|
-
export type product_activation_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "
|
|
119
|
+
export type product_activation_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "productCoreId": string; readonly "coreDigest": string; readonly "readiness": product_activation_retrieveOutput_ProductActivationReadiness; readonly "cost": product_activation_retrieveOutput_ProductLiveCostEstimate; };
|
|
120
120
|
type product_activation_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "party"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
|
|
121
121
|
type product_activation_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": string; readonly "platformMonthly": (string | null); readonly "platformSetup": (string | null); readonly "liveCapableCount": number; readonly "recurringCharges": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostCharge>; readonly "usageCharges": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostCharge>; readonly "estimatedMonthlyFixed": (string | null); readonly "blockers": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostBlocker>; readonly "complete": boolean; };
|
|
122
122
|
type product_activation_retrieveOutput_ProductLiveCostCharge = { 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 "kind": "recurring" | "per_event" | "volume_bps"; readonly "unit": string; readonly "amount": (string | null); readonly "bps": string | null; readonly "summary": string; readonly "custom": boolean; };
|
|
@@ -132,43 +132,43 @@ export type product_earn_rate_listOutput = { readonly "items": ReadonlyArray<{ r
|
|
|
132
132
|
export type product_earnings_settleInput = { readonly "productId": string; readonly "transferId"?: string; readonly "amount": string; readonly "currency": "SAR"; };
|
|
133
133
|
export type product_earnings_settleOutput = { readonly "transferId": string; readonly "tenantId": string; readonly "productId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; readonly "transferStatus": "posted"; };
|
|
134
134
|
export type product_economic_snapshot_retrieveInput = { readonly "productId": string; };
|
|
135
|
-
export type product_economic_snapshot_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "revision": string; readonly "
|
|
135
|
+
export type product_economic_snapshot_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "revision": string; readonly "coreDigest": string; readonly "effectiveAt": string; readonly "settlement": "confirmed"; readonly "facts": ReadonlyArray<{ readonly "id": string; readonly "instrument": string; readonly "status": string; readonly "createdAt": string; readonly "fields": { readonly [key: string]: unknown }; readonly "parties": { readonly [key: string]: string }; readonly "receipts": { readonly [key: string]: unknown }; }>; readonly "records": ReadonlyArray<{ readonly "id": string; readonly "instrument": string; readonly "status": string; readonly "createdAt": string; readonly "fields": { readonly [key: string]: unknown }; readonly "parties": { readonly [key: string]: string }; readonly "receipts": { readonly [key: string]: unknown }; }>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "posted": string; readonly "reserved": string; }>; };
|
|
136
136
|
export type product_guidance_retrieveInput = { readonly "productId": string; };
|
|
137
137
|
export type product_guidance_retrieveOutput = { readonly "items": ReadonlyArray<product_guidance_retrieveOutput_ProductGuidanceItem>; readonly "nextPredicate": ("mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product" | null); };
|
|
138
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; };
|
|
139
139
|
type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
|
|
140
140
|
export type product_instruments_listInput = { readonly "productId": string; };
|
|
141
|
-
export type product_instruments_listOutput = { readonly "
|
|
141
|
+
export type product_instruments_listOutput = { readonly "productCoreId": string; readonly "coreDigest": string; readonly "currency": string; 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 "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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; } }; }; }>; };
|
|
142
142
|
export type product_margin_retrieveInput = { readonly "productId": string; };
|
|
143
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; }; }>; };
|
|
144
144
|
export type product_objects_actionsInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "onBehalfOf"?: string; };
|
|
145
|
-
export type product_objects_actionsOutput = { readonly "objectId": string; readonly "revision": number; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "
|
|
145
|
+
export type product_objects_actionsOutput = { readonly "objectId": string; readonly "revision": number; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "productCoreId": 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 "currency"?: string; 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 "currency"?: string; 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 "requiredNow": ReadonlyArray<string>; readonly "evidence"?: ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productCoreId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; }>; readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productCoreId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "nextCursor"?: string; };
|
|
146
146
|
export type product_objects_agreements_evidence_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "instanceId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
147
|
-
export type product_objects_agreements_evidence_listOutput = { readonly "objectId": string; readonly "instanceId": string; readonly "items": ReadonlyArray<{ readonly "eventId": string; readonly "operationId": string; readonly "occurredAt": string; readonly "title": string; readonly "
|
|
147
|
+
export type product_objects_agreements_evidence_listOutput = { readonly "objectId": string; readonly "instanceId": string; readonly "items": ReadonlyArray<{ readonly "eventId": string; readonly "operationId": string; readonly "occurredAt": string; readonly "title": string; readonly "productCoreId": string; readonly "digest": string; readonly "subjectEvidence": { readonly "objectId": string; readonly "kind": string; readonly "productCoreId": string; readonly "digest": string; readonly "fields": { readonly [key: string]: unknown }; }; }>; readonly "nextCursor"?: string; };
|
|
148
148
|
export type product_objects_agreements_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "rootsOnly"?: "true" | "false"; readonly "parentInstanceId"?: string; };
|
|
149
|
-
export type product_objects_agreements_listOutput = { readonly "objectId": string; readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "
|
|
149
|
+
export type product_objects_agreements_listOutput = { readonly "objectId": string; readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productCoreId": string; readonly "digest": string; readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); readonly "parentInstanceId": (string | null); readonly "blockFacts": (({ readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "installments"; readonly "outstanding": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "nextDueAt": (string | null); readonly "children": { readonly "count": (number | null); readonly "complete": boolean; }; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "slice"; readonly "position": number; readonly "originalDueAt": (string | null); readonly "dueAt": (string | null); readonly "principal": (string | null); readonly "profit": (string | null); readonly "paid": (string | null); readonly "outstanding": (string | null); readonly "standing": string; readonly "currency": string; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "held_funds"; readonly "heldAccountId": (string | null); readonly "amount": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "disposition": string; readonly "window": ({ readonly "kind": string; readonly "startsAt": (string | null); readonly "deadlineAt": string; readonly "outcome": (string | null); } | null); } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "listing"; readonly "item": (string | null); readonly "askingPrice": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "seller": (string | null); readonly "publicationState": string; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "order"; readonly "listing": ({ readonly "title": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; } | null); readonly "buyer": (string | null); readonly "agreedPrice": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "state": string; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "reservation"; readonly "deposit": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "heldAccountId": (string | null); readonly "window": ({ readonly "kind": string; readonly "startsAt": (string | null); readonly "deadlineAt": string; readonly "outcome": (string | null); } | null); readonly "refundTerms": (string | null); readonly "retentionTerms": (string | null); readonly "disposition": string; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "coverage"; readonly "subject": (string | null); readonly "holder": (string | null); readonly "insurerReference": (string | null); readonly "startsAt": (string | null); readonly "expiresAt": (string | null); readonly "children": { readonly "count": (number | null); readonly "complete": boolean; }; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "premium_period"; readonly "startsAt": (string | null); readonly "endsAt": (string | null); readonly "insurerPremium": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "brokerCommission": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "refund": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "standing": string; } | { readonly "version": 1; readonly "unavailable": ReadonlyArray<string>; readonly "kind": "claim"; readonly "claimed": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "evidence": ReadonlyArray<string>; readonly "inspector": (string | null); readonly "decision": string; readonly "paymentReservation": ({ readonly "amount": string; readonly "currency": string; } | null); readonly "window": ({ readonly "kind": string; readonly "startsAt": (string | null); readonly "deadlineAt": string; readonly "outcome": (string | null); } | null); readonly "settlement": ({ readonly "amount": string; readonly "currency": string; } | null); }) | null); readonly "sourceRevision": product_objects_agreements_listOutput_ArtifactSourceRevision; readonly "instrumentDigest"?: string; readonly "instrumentRevision"?: number; readonly "createdAt": string; readonly "updatedAt": string; readonly "state": string; readonly "standing": string; readonly "progress": ({ readonly "done": number; readonly "total": number; readonly "word": string; } | null); readonly "nextDueAt": (string | null); readonly "terms": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "type": "money" | "account" | "ref" | "date" | "duration" | "text" | "integer" | "percent" | "boolean" | "enum" | "list" | "digest"; readonly "value": product_objects_agreements_listOutput___schema0; readonly "currency"?: string; readonly "redacted": boolean; readonly "public": boolean; }>; readonly "participants": ReadonlyArray<{ readonly "role": string; readonly "title": string; readonly "participantId": string; readonly "displayName": string; readonly "customerId"?: string; }>; readonly "relationships": ReadonlyArray<{ readonly "relation": "reference" | "parent" | "child" | "attachment"; readonly "name": string; readonly "title": string; readonly "target": ({ readonly "kind": "agreement"; readonly "instanceId": string; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "attachment"; readonly "name": string; readonly "instrument": string; }); }>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": string; readonly "title": string; readonly "relation": "owned" | "participant" | "provider" | "movement"; readonly "book": "cash" | "claim"; readonly "currency": string; }>; readonly "boundary": { readonly "expected": ReadonlyArray<{ readonly "action": string; readonly "title": string; readonly "family": string; readonly "check": string; readonly "expectedResult": string; readonly "reason": string; }>; readonly "latest": ReadonlyArray<{ readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }>; readonly "messages"?: ReadonlyArray<{ readonly "callId": string; readonly "provider": string; readonly "action": string; readonly "type": string; readonly "state": "requested" | "settled" | "lapsed"; readonly "at": string; readonly "fields": { readonly [key: string]: string }; readonly "evidenceId"?: string; readonly "outcome"?: string; readonly "reference"?: string; readonly "document"?: string; }>; }; }>; readonly "nextCursor"?: string; };
|
|
150
150
|
type product_objects_agreements_listOutput_ArtifactSourceRevision = { readonly "commit": string; readonly "dirty": boolean; };
|
|
151
151
|
type product_objects_agreements_listOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_objects_agreements_listOutput___schema0> | { readonly [key: string]: product_objects_agreements_listOutput___schema0 });
|
|
152
152
|
export type product_objects_createInput = { readonly "productId": string; readonly "kind": string; readonly "externalId"?: string; readonly "fields"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
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 "
|
|
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 "productCoreId": string; };
|
|
154
154
|
export type product_objects_discoverInput = { readonly "productId": string; };
|
|
155
|
-
export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "percentWhole": number; 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 "currency"?: string; 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 "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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": "sum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "maximum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": product_objects_discoverOutput___schema0; readonly "subtract": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": product_objects_discoverOutput___schema0; readonly "units": product_objects_discoverOutput___schema0; } | { readonly "target": string; readonly "op": "divide"; readonly "amount": product_objects_discoverOutput___schema0; readonly "divisor": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "rate"; readonly "base": product_objects_discoverOutput___schema0; readonly "bps": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "days"?: { readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "basis": "actual/365" | "actual/360" | "30/360"; }; } | { readonly "target": string; readonly "op": "between"; readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "unit": "milliseconds" | "days" | "months"; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "compound"; readonly "amount": product_objects_discoverOutput___schema0; readonly "rate": product_objects_discoverOutput___schema0; readonly "periods": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": product_objects_discoverOutput___schema0; readonly "numerator": product_objects_discoverOutput___schema0; readonly "denominator": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "currency"?: string; } | { readonly "target": string; readonly "op": "choose"; readonly "when": product_objects_discoverOutput___schema1; readonly "then": product_objects_discoverOutput___schema0; readonly "otherwise": product_objects_discoverOutput___schema0; } | { 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" | "profit"; } | { 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 "target": string; readonly "op": "banking"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "days": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "rate_of"; readonly "advance": { readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "date": ({ 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 "payment": { readonly "amount": string; readonly "date": string; }; readonly "basis": "actual/365" | "actual/360" | "30/360"; readonly "otherwise": ({ 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": product_objects_discoverOutput___schema0; readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": product_objects_discoverOutput___schema0; } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "all"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "any"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "not"; readonly "condition": product_objects_discoverOutput___schema1; } | { 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 "kind": "approval"; readonly "policy"?: string; readonly "by"?: ReadonlyArray<string>; readonly "count"?: number; readonly "within"?: number; readonly "band"?: { readonly "from"?: { readonly "amount": string; readonly "currency": string; }; readonly "below"?: { readonly "amount": string; readonly "currency": string; }; }; readonly "amount"?: string; })>; 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" | "observation" | { 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" | "observation"; } | { 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 "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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 "currency"?: string; 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 "currency"?: string; 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": product_objects_discoverOutput___schema0; readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": product_objects_discoverOutput___schema0; } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "all"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "any"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "not"; readonly "condition": product_objects_discoverOutput___schema1; } | { 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 "kind": "approval"; readonly "policy"?: string; readonly "by"?: ReadonlyArray<string>; readonly "count"?: number; readonly "within"?: number; readonly "band"?: { readonly "from"?: { readonly "amount": string; readonly "currency": string; }; readonly "below"?: { readonly "amount": string; readonly "currency": string; }; }; readonly "amount"?: string; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; readonly "banking"?: true; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; readonly "banking"?: true; }; } | 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": "sum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "maximum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": product_objects_discoverOutput___schema0; readonly "subtract": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": product_objects_discoverOutput___schema0; readonly "units": product_objects_discoverOutput___schema0; } | { readonly "target": string; readonly "op": "divide"; readonly "amount": product_objects_discoverOutput___schema0; readonly "divisor": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "rate"; readonly "base": product_objects_discoverOutput___schema0; readonly "bps": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "days"?: { readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "basis": "actual/365" | "actual/360" | "30/360"; }; } | { readonly "target": string; readonly "op": "between"; readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "unit": "milliseconds" | "days" | "months"; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "compound"; readonly "amount": product_objects_discoverOutput___schema0; readonly "rate": product_objects_discoverOutput___schema0; readonly "periods": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": product_objects_discoverOutput___schema0; readonly "numerator": product_objects_discoverOutput___schema0; readonly "denominator": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "currency"?: string; } | { readonly "target": string; readonly "op": "choose"; readonly "when": product_objects_discoverOutput___schema1; readonly "then": product_objects_discoverOutput___schema0; readonly "otherwise": product_objects_discoverOutput___schema0; } | { 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" | "profit"; } | { 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 "target": string; readonly "op": "banking"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "days": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "rate_of"; readonly "advance": { readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "date": ({ 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 "payment": { readonly "amount": string; readonly "date": string; }; readonly "basis": "actual/365" | "actual/360" | "30/360"; readonly "otherwise": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: product_objects_discoverOutput___schema0 }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "amount": product_objects_discoverOutput___schema0; 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" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "boundary"?: { readonly "adapter": string; readonly "operation"?: "authorize" | "refund"; readonly "refundOf"?: string; }; readonly "amount": product_objects_discoverOutput___schema0; 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" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "capture" | "account.post"; 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" | "memorandum"; 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": (product_objects_discoverOutput___schema0 | 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" | "memorandum"; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "currency": string; }; 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": string; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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 "currency"?: string; 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 "currency"?: string; 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 "currency"?: string; 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 "currency"?: string; 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 "percentWhole": number; 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 "currency"?: string; 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 "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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": "sum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "maximum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": product_objects_discoverOutput___schema0; readonly "subtract": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": product_objects_discoverOutput___schema0; readonly "units": product_objects_discoverOutput___schema0; } | { readonly "target": string; readonly "op": "divide"; readonly "amount": product_objects_discoverOutput___schema0; readonly "divisor": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "rate"; readonly "base": product_objects_discoverOutput___schema0; readonly "bps": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "days"?: { readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "basis": "actual/365" | "actual/360" | "30/360"; }; } | { readonly "target": string; readonly "op": "between"; readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "unit": "milliseconds" | "days" | "months"; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "compound"; readonly "amount": product_objects_discoverOutput___schema0; readonly "rate": product_objects_discoverOutput___schema0; readonly "periods": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": product_objects_discoverOutput___schema0; readonly "numerator": product_objects_discoverOutput___schema0; readonly "denominator": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "currency"?: string; } | { readonly "target": string; readonly "op": "choose"; readonly "when": product_objects_discoverOutput___schema1; readonly "then": product_objects_discoverOutput___schema0; readonly "otherwise": product_objects_discoverOutput___schema0; } | { 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" | "profit"; } | { 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 "target": string; readonly "op": "banking"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "days": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "rate_of"; readonly "advance": { readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "date": ({ 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 "payment": { readonly "amount": string; readonly "date": string; }; readonly "basis": "actual/365" | "actual/360" | "30/360"; readonly "otherwise": ({ 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": product_objects_discoverOutput___schema0; readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": product_objects_discoverOutput___schema0; } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "all"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "any"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "not"; readonly "condition": product_objects_discoverOutput___schema1; } | { 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 "kind": "approval"; readonly "policy"?: string; readonly "by"?: ReadonlyArray<string>; readonly "count"?: number; readonly "within"?: number; readonly "band"?: { readonly "from"?: { readonly "amount": string; readonly "currency": string; }; readonly "below"?: { readonly "amount": string; readonly "currency": string; }; }; readonly "amount"?: string; })>; 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" | "observation" | { 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" | "observation"; } | { 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 "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "currency"?: string; 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 "currency"?: string; readonly "normal"?: "debit"; } | { 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 "currency"?: string; 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 "currency"?: string; 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": product_objects_discoverOutput___schema0; readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": product_objects_discoverOutput___schema0; } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "all"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "any"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "not"; readonly "condition": product_objects_discoverOutput___schema1; } | { 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 "kind": "approval"; readonly "policy"?: string; readonly "by"?: ReadonlyArray<string>; readonly "count"?: number; readonly "within"?: number; readonly "band"?: { readonly "from"?: { readonly "amount": string; readonly "currency": string; }; readonly "below"?: { readonly "amount": string; readonly "currency": string; }; }; readonly "amount"?: string; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; readonly "banking"?: true; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; readonly "banking"?: true; }; } | 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": "sum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "maximum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": product_objects_discoverOutput___schema0; readonly "subtract": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": product_objects_discoverOutput___schema0; readonly "units": product_objects_discoverOutput___schema0; } | { readonly "target": string; readonly "op": "divide"; readonly "amount": product_objects_discoverOutput___schema0; readonly "divisor": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "rate"; readonly "base": product_objects_discoverOutput___schema0; readonly "bps": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "days"?: { readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "basis": "actual/365" | "actual/360" | "30/360"; }; } | { readonly "target": string; readonly "op": "between"; readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "unit": "milliseconds" | "days" | "months"; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "compound"; readonly "amount": product_objects_discoverOutput___schema0; readonly "rate": product_objects_discoverOutput___schema0; readonly "periods": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": product_objects_discoverOutput___schema0; readonly "numerator": product_objects_discoverOutput___schema0; readonly "denominator": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "currency"?: string; } | { readonly "target": string; readonly "op": "choose"; readonly "when": product_objects_discoverOutput___schema1; readonly "then": product_objects_discoverOutput___schema0; readonly "otherwise": product_objects_discoverOutput___schema0; } | { 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" | "profit"; } | { 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 "target": string; readonly "op": "banking"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "days": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "rate_of"; readonly "advance": { readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "date": ({ 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 "payment": { readonly "amount": string; readonly "date": string; }; readonly "basis": "actual/365" | "actual/360" | "30/360"; readonly "otherwise": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: product_objects_discoverOutput___schema0 }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "amount": product_objects_discoverOutput___schema0; 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" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "boundary"?: { readonly "adapter": string; readonly "operation"?: "authorize" | "refund"; readonly "refundOf"?: string; }; readonly "amount": product_objects_discoverOutput___schema0; 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" | "memorandum"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "capture" | "account.post"; 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" | "memorandum"; 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": (product_objects_discoverOutput___schema0 | 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" | "memorandum"; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; } | { 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]: product_objects_discoverOutput___schema0 }; readonly "guard"?: product_objects_discoverOutput___schema1; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "currency": string; }; 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": string; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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": "bucket"; readonly "value": string; readonly "bounds": ReadonlyArray<number>; } | { 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": string; } | { 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 "productCoreId": 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 "productCoreId": 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 "currency"?: string; 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 "productCoreId": 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 "currency"?: string; 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 "currency"?: string; 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 "productCoreId": 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 "currency"?: string; 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; }>; };
|
|
156
156
|
type product_objects_discoverOutput___schema0 = ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; } | ({ readonly "op": "sum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "op": "minimum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "op": "maximum"; readonly "values": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "op": "subtract"; readonly "base": product_objects_discoverOutput___schema0; readonly "subtract": ReadonlyArray<product_objects_discoverOutput___schema0>; } | { readonly "op": "multiply"; readonly "amount": product_objects_discoverOutput___schema0; readonly "units": product_objects_discoverOutput___schema0; } | { readonly "op": "divide"; readonly "amount": product_objects_discoverOutput___schema0; readonly "divisor": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "op": "rate"; readonly "base": product_objects_discoverOutput___schema0; readonly "bps": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "days"?: { readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "basis": "actual/365" | "actual/360" | "30/360"; }; } | { readonly "op": "between"; readonly "from": product_objects_discoverOutput___schema0; readonly "to": product_objects_discoverOutput___schema0; readonly "unit": "milliseconds" | "days" | "months"; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "op": "compound"; readonly "amount": product_objects_discoverOutput___schema0; readonly "rate": product_objects_discoverOutput___schema0; readonly "periods": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; } | { readonly "op": "ratio"; readonly "amount": product_objects_discoverOutput___schema0; readonly "numerator": product_objects_discoverOutput___schema0; readonly "denominator": product_objects_discoverOutput___schema0; readonly "rounding": "floor" | "ceiling" | "half_even" | "half_up"; readonly "currency"?: string; } | { readonly "op": "choose"; readonly "when": product_objects_discoverOutput___schema1; readonly "then": product_objects_discoverOutput___schema0; readonly "otherwise": product_objects_discoverOutput___schema0; }));
|
|
157
157
|
type product_objects_discoverOutput___schema1 = ({ readonly "kind": "compare"; readonly "left": product_objects_discoverOutput___schema0; readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": product_objects_discoverOutput___schema0; } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "all"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "any"; readonly "of": ReadonlyArray<product_objects_discoverOutput___schema1>; } | { readonly "kind": "not"; readonly "condition": product_objects_discoverOutput___schema1; });
|
|
158
|
-
export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "
|
|
159
|
-
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 "
|
|
160
|
-
type product_objects_executeOutput_ActionTrace = { readonly "udl": number; readonly "
|
|
158
|
+
export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productCoreId"?: 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 "persons"?: { readonly [key: string]: string }; readonly "onBehalfOf"?: string; };
|
|
159
|
+
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 "productCoreId": 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 "productCoreId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; readonly "approval"?: { readonly "approvalId": string; readonly "revisionHash": string; readonly "policy": ({ readonly "key": string; readonly "version": number; } | null); readonly "policyDigest": string; readonly "decisions": ReadonlyArray<{ readonly "principalId": string; readonly "userId": string; readonly "step": string; readonly "decision": "approve" | "reject" | "return"; readonly "reason": string | null; readonly "decidedAt": string; }>; }; };
|
|
160
|
+
type product_objects_executeOutput_ActionTrace = { readonly "udl": number; readonly "coreDigest": string; readonly "productCoreId": 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" | "approval"; 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 "expression"?: string; readonly "currency"?: 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 "rates"?: ReadonlyArray<{ readonly "target": string; readonly "rate"?: number; readonly "reason"?: "no_root" | "ambiguous"; readonly "steps": number; }>; }>; readonly "trace_truncated"?: true; };
|
|
161
161
|
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; };
|
|
162
|
-
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 "
|
|
163
|
-
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "
|
|
164
|
-
export type product_objects_previewOutput = { readonly "objectId": string; readonly "revision": number; readonly "
|
|
162
|
+
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 "productCoreId": 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 } }; };
|
|
163
|
+
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productCoreId"?: 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 "persons"?: { readonly [key: string]: string }; readonly "onBehalfOf"?: string; };
|
|
164
|
+
export type product_objects_previewOutput = { readonly "objectId": string; readonly "revision": number; readonly "productCoreId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "evaluatedAt": string; readonly "effectiveAt": string; 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 "effects": ReadonlyArray<{ readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "outcome": "paid" | "held" | "released"; }>; readonly "stateChange": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "at": string; }>; readonly "pagesFollow": boolean; };
|
|
165
165
|
export type product_objects_retrieveInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
|
|
166
|
-
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 "
|
|
166
|
+
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 "productCoreId": 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; };
|
|
167
167
|
export type product_objects_timeline_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
168
|
-
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 "
|
|
169
|
-
type product_objects_timeline_listOutput_ActionTrace = { readonly "udl": number; readonly "
|
|
168
|
+
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 "productCoreId": 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; };
|
|
169
|
+
type product_objects_timeline_listOutput_ActionTrace = { readonly "udl": number; readonly "coreDigest": string; readonly "productCoreId": 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" | "approval"; 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 "expression"?: string; readonly "currency"?: 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 "rates"?: ReadonlyArray<{ readonly "target": string; readonly "rate"?: number; readonly "reason"?: "no_root" | "ambiguous"; readonly "steps": number; }>; }>; readonly "trace_truncated"?: true; };
|
|
170
170
|
export type product_operation_set_retrieveInput = { readonly "productId": string; };
|
|
171
|
-
export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "
|
|
171
|
+
export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "productCoreId": string; readonly "coreDigest": 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>; };
|
|
172
172
|
type product_operation_set_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema0> | { readonly [key: string]: product_operation_set_retrieveOutput___schema0 });
|
|
173
173
|
type product_operation_set_retrieveOutput___schema1 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema1> | { readonly [key: string]: product_operation_set_retrieveOutput___schema1 });
|
|
174
174
|
type product_operation_set_retrieveOutput___schema2 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema2> | { readonly [key: string]: product_operation_set_retrieveOutput___schema2 });
|
|
@@ -219,7 +219,7 @@ export type webhook_endpoint_secret_rotateOutput = { readonly "tenantId": string
|
|
|
219
219
|
export type webhook_endpoint_updateInput = { readonly "webhookEndpointId": string; readonly "reason": string; readonly "url"?: string; readonly "enabledEvents"?: ReadonlyArray<("*" | string)>; readonly "description"?: (string | null); };
|
|
220
220
|
export type webhook_endpoint_updateOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "productId": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId": (string | null); readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description": (string | null); readonly "lastDeliveryStatus": ("exhausted" | "failed" | "pending" | "succeeded" | null); readonly "lastDeliveryAt": (string | null); readonly "createdAt": string; readonly "updatedAt": string; readonly "reason": string; };
|
|
221
221
|
export type webhook_event_catalogInput = { readonly "productId": string; };
|
|
222
|
-
export type webhook_event_catalogOutput = { readonly "
|
|
222
|
+
export type webhook_event_catalogOutput = { readonly "productCoreId": string; readonly "coreDigest": string; readonly "wildcard": { readonly "value": "*"; readonly "exclusive": true; }; readonly "items": ReadonlyArray<{ readonly "eventType": string; readonly "operation": string; readonly "summary": string; readonly "outcome"?: string; }>; };
|
|
223
223
|
/** Error codes every operation can return. */
|
|
224
224
|
export type SharedErrorCode = "internal_error" | "invalid_request" | "not_found" | "rate_limited" | "resource_not_found" | "state_conflict" | "tenant_not_found" | "unauthorized";
|
|
225
225
|
export interface Operations {
|
|
@@ -272,7 +272,7 @@ readonly "product.connections.retrieve": { input: product_connections_retrieveIn
|
|
|
272
272
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
273
273
|
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_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
274
274
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
275
|
-
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" | "
|
|
275
|
+
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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_core_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
276
276
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
277
277
|
readonly "product.margin.retrieve": { input: product_margin_retrieveInput; output: product_margin_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/margin"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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
278
|
readonly "product.objects.actions": { input: product_objects_actionsInput; output: product_objects_actionsOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
@@ -285,7 +285,7 @@ readonly "product.objects.list": { input: product_objects_listInput; output: pro
|
|
|
285
285
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
286
286
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
287
287
|
readonly "product.objects.timeline.list": { input: product_objects_timeline_listInput; output: product_objects_timeline_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/timeline"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
288
|
-
readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/operation-set"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" | "
|
|
288
|
+
readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/operation-set"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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_core_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
289
289
|
readonly "product.schedule.list": { input: product_schedule_listInput; output: product_schedule_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/schedule"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
290
290
|
readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; output: product_treasury_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/treasury"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|
|
291
291
|
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_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "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" };
|