@hyperscale0/sdk 1.0.396 → 1.0.398
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 +6 -0
- package/package.json +2 -2
- package/platform.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,12 @@ Newest first. A release that changed nothing the SDK sees has no entry.
|
|
|
8
8
|
|
|
9
9
|
### Added
|
|
10
10
|
|
|
11
|
+
- `product.objects.execute` on a create takes `persons`, the person customer for each name the instrument declares.
|
|
12
|
+
|
|
13
|
+
## 1.0.396
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
11
17
|
- `approval.list`, `approval.read` and `approval.decide`: the calls waiting on the session's member in its environment, and the decision with its reason. A call that waits answers `approval_required` with an `apr_` id; `approval_policy.list` and `approval_policy.write` read and version a tenant's bands of amount and ordered staff roles.
|
|
12
18
|
- `bank_account.read` asks the bank that mirrors an account for its status, its balance or one day's statement; `credit_observation.resolve` maps or refunds a credit the bank booked.
|
|
13
19
|
- `tenant.banking_calendar.set` replaces the company's banking calendar; `tenant.work.list` takes `staff: held`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscale0/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.398",
|
|
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": "49fbcd320d393234d28ea822bb4faaf7f4efc263"
|
|
30
30
|
}
|
package/platform.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export type product_objects_actionsOutput = { readonly "objectId": string; reado
|
|
|
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
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 "productBuildId": string; readonly "digest": string; readonly "subjectEvidence": { readonly "objectId": string; readonly "kind": string; readonly "productBuildId": 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 "productBuildId": 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 "nextCursor"?: 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 "productBuildId": 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; };
|
|
@@ -155,12 +155,12 @@ export type product_objects_discoverInput = { readonly "productId": string; };
|
|
|
155
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; }>; };
|
|
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 "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
158
|
+
export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "persons"?: { readonly [key: string]: string }; readonly "onBehalfOf"?: string; };
|
|
159
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 "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "status": "posted" | "reserved" | "released" | "voided"; }>; readonly "trace"?: product_objects_executeOutput_ActionTrace; } | null); readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; 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
160
|
type product_objects_executeOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence" | "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
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 "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "access": "owner" | "party" | "open" | "company"; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); readonly "title": string; readonly "state": string; readonly "standing": string; }>; readonly "agreementsComplete": boolean; readonly "nextSchedule": ({ readonly "instanceId": string; readonly "action": string; readonly "title": string; readonly "dueAt": string; readonly "status": "upcoming" | "due"; } | null); readonly "scheduleComplete": boolean; }>; readonly "nextCursor"?: string; readonly "total": number; readonly "facets": { readonly [key: string]: { readonly [key: string]: number } }; };
|
|
163
|
-
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
163
|
+
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "persons"?: { readonly [key: string]: string }; readonly "onBehalfOf"?: string; };
|
|
164
164
|
export type product_objects_previewOutput = { readonly "objectId": string; readonly "revision": number; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "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
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 "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "access": "owner" | "party" | "open" | "company"; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); readonly "title": string; readonly "state": string; readonly "standing": string; readonly "progress": ({ readonly "done": number; readonly "total": number; readonly "word": string; } | null); readonly "nextDueAt": (string | null); }>; readonly "agreementsNextCursor"?: string; };
|