@hyperscale0/sdk 1.0.395 → 1.0.396
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 +13 -0
- package/package.json +2 -2
- package/platform.d.ts +108 -106
package/platform.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ type OperationRehearsal_RehearsalPosting = { readonly "operationId": string; rea
|
|
|
10
10
|
type OperationRehearsal_RehearsalAccount = { readonly "operationId": string; readonly "accountId": string; readonly "role": string; readonly "currency": string; readonly "book": "cash" | "claim"; };
|
|
11
11
|
type OperationRehearsal_RehearsalTransition = { readonly "operationId": string; readonly "instanceId": string; readonly "nextStatus": string; readonly "nextFields": { readonly [key: string]: unknown }; readonly "productId"?: string; };
|
|
12
12
|
export type account_balance_retrieveInput = { readonly "accountId": string; readonly "productId"?: string; };
|
|
13
|
-
export type account_balance_retrieveOutput = { readonly "accountId": string; readonly "asOf": string; readonly "observedAt": string; readonly "available": string; readonly "creditsPending": string; readonly "creditsPosted": string; readonly "currency":
|
|
13
|
+
export type account_balance_retrieveOutput = { readonly "accountId": string; readonly "asOf": string; readonly "observedAt": string; readonly "available": string; readonly "creditsPending": string; readonly "creditsPosted": string; readonly "currency": string; readonly "debitsPending": string; readonly "debitsPosted": string; readonly "environment": "sandbox" | "live"; readonly "normalBalance": "debit" | "credit"; readonly "pending": string; readonly "settled": string; readonly "tenantId": string; readonly "productId"?: string; };
|
|
14
14
|
export type account_closeInput = { readonly "accountId": string; readonly "reason": string; };
|
|
15
15
|
export type account_closeOutput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "open" | "frozen"; readonly "status": "closed"; };
|
|
16
16
|
export type account_createInput = { readonly "owner": account_createInput_AccountOwner; readonly "productId"?: string; readonly "role": "tenant_billing" | "tenant_credit" | "tenant_settlement" | "customer_balance" | "customer_investment" | "product_pool" | "product_credit" | "product_revenue"; readonly "currency": "SAR"; readonly "metadata"?: account_createInput_Metadata; };
|
|
@@ -31,28 +31,28 @@ export type account_depositOutput = { readonly "transferId": string; readonly "t
|
|
|
31
31
|
export type account_freezeInput = { readonly "accountId": string; readonly "reason": string; readonly "reasonClass": "customer_request"; };
|
|
32
32
|
export type account_freezeOutput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "updatedAt": string; readonly "reason": string; readonly "reasonClass": "customer_request"; readonly "previousStatus": "open"; readonly "status": "frozen"; };
|
|
33
33
|
export type account_hold_listInput = { readonly "accountId": string; readonly "productId"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
34
|
-
export type account_hold_listOutput = { readonly "items": ReadonlyArray<{ readonly "transferId": string; readonly "accountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "remainingAmount": string; readonly "currency":
|
|
34
|
+
export type account_hold_listOutput = { readonly "items": ReadonlyArray<{ readonly "transferId": string; readonly "accountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "remainingAmount": string; readonly "currency": string; readonly "status": "active" | "posted" | "voided" | "expired"; readonly "operationId": string; readonly "ownerParticipantId": string; readonly "originatingPrincipalId": string | null; readonly "expiresAt": (string | null); readonly "createdAt": string; }>; readonly "hasMore": boolean; readonly "nextCursor"?: string; readonly "observedAt": string; };
|
|
35
35
|
export type account_hold_retrieveInput = { readonly "accountId": string; readonly "productId"?: string; readonly "transferId": string; };
|
|
36
|
-
export type account_hold_retrieveOutput = { readonly "transferId": string; readonly "accountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "remainingAmount": string; readonly "currency":
|
|
36
|
+
export type account_hold_retrieveOutput = { readonly "transferId": string; readonly "accountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "remainingAmount": string; readonly "currency": string; readonly "status": "active" | "posted" | "voided" | "expired"; readonly "operationId": string; readonly "ownerParticipantId": string; readonly "originatingPrincipalId": string | null; readonly "expiresAt": (string | null); readonly "createdAt": string; readonly "observedAt": string; };
|
|
37
37
|
export type account_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "record"?: "none"; readonly "recordId"?: string; readonly "ownerCustomerId"?: string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "status"?: "pending" | "open" | "frozen" | "closed"; };
|
|
38
|
-
export type account_listOutput = { readonly "items": ReadonlyArray<{ readonly "accountId": string; readonly "tenantId": string; readonly "id": string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency":
|
|
38
|
+
export type account_listOutput = { readonly "items": ReadonlyArray<{ readonly "accountId": string; readonly "tenantId": string; readonly "id": string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency": string; }; readonly "ownerName"?: string; readonly "holderLabel"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "updatedAt": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
39
39
|
export type account_retrieveInput = { readonly "productId"?: string; readonly "accountId": string; };
|
|
40
|
-
export type account_retrieveOutput = { readonly "accountId": string; readonly "tenantId": string; readonly "id": string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency":
|
|
40
|
+
export type account_retrieveOutput = { readonly "accountId": string; readonly "tenantId": string; readonly "id": string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency": string; }; readonly "ownerName"?: string; readonly "holderLabel"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "updatedAt": string; readonly "createdAt"?: string; };
|
|
41
41
|
export type account_statement_exportInput = { readonly "accountId": string; readonly "productId"?: string; readonly "period": string; };
|
|
42
|
-
export type account_statement_exportOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency":
|
|
42
|
+
export type account_statement_exportOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency": string; readonly "environment": "sandbox" | "live"; readonly "finalized": boolean; readonly "openingBalance": string; readonly "period": string; readonly "periodEndExclusive": string; readonly "periodStart": string; readonly "tenantId": string; readonly "productId"?: string; readonly "contentType": "text/csv"; readonly "csv": string; readonly "filename": string; readonly "sha256": string; readonly "sizeBytes": number; };
|
|
43
43
|
export type account_statement_retrieveInput = { readonly "accountId": string; readonly "productId"?: string; readonly "period": string; readonly "cutoff"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
44
|
-
export type account_statement_retrieveOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency":
|
|
44
|
+
export type account_statement_retrieveOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency": string; readonly "environment": "sandbox" | "live"; readonly "finalized": boolean; readonly "openingBalance": string; readonly "period": string; readonly "periodEndExclusive": string; readonly "periodStart": string; readonly "tenantId": string; readonly "productId"?: string; readonly "asOf": string; readonly "cutoff": string; readonly "observedAt"?: string; readonly "totalLines": number; readonly "nextCursor": string | null; readonly "lines": ReadonlyArray<{ readonly "amount": string; readonly "balanceDelta": string; readonly "counterpartyAccountId": string; readonly "counterpartyDisplayName": string; readonly "currency": string; readonly "direction": "debit" | "credit"; readonly "entryId": string; readonly "ledgerTransferId": string; readonly "memo": string; readonly "occurredAt": string; readonly "operationId": string; readonly "operationName": string; readonly "origin"?: { readonly "instrumentId": string; readonly "instrumentInstanceId": string; readonly "action": string; }; readonly "runningBalance": string; readonly "status": "pending" | "posted" | "voided"; readonly "title"?: string; readonly "transferId": string; }>; };
|
|
45
45
|
export type account_unfreezeInput = { readonly "accountId": string; readonly "reason": string; };
|
|
46
46
|
export type account_unfreezeOutput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "frozen"; readonly "status": "open"; };
|
|
47
|
-
export type activity_listInput = { readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "type"?: "object" | "money_move" | "company_access"; };
|
|
47
|
+
export type activity_listInput = { readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "type"?: "object" | "money_move" | "company_access"; };
|
|
48
48
|
export type activity_listOutput = { readonly "items": ReadonlyArray<({ readonly "activityId": string; readonly "occurredAt": string; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_listOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "amount": ({ readonly "value": string; readonly "currency": string; } | null); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_listOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "amount": ({ readonly "value": string; readonly "currency": string; } | null); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "auditEvent": string; })>; readonly "nextCursor"?: string; };
|
|
49
49
|
type activity_listOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "engine"; readonly "law": string; readonly "facts": { readonly [key: string]: (string | number | boolean | null | { readonly [key: string]: string | number | boolean | null }) }; readonly "remedy"?: activity_listOutput_HyperscaleRefusalRemedy; };
|
|
50
50
|
type activity_listOutput_HyperscaleRefusalRemedy = { readonly "kind": "call" | "change_request" | "retry" | "needs_human" | "none"; readonly "operation"?: string; readonly "fields"?: ReadonlyArray<string>; readonly "who"?: "owner" | "approver" | "staff" | "customer"; readonly "values"?: { readonly [key: string]: string | number | boolean | null }; };
|
|
51
51
|
export type activity_retrieveInput = { readonly "productId"?: string; readonly "activityId": string; };
|
|
52
|
-
export type activity_retrieveOutput = ({ readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "trace"?: activity_retrieveOutput_ActionTrace; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; });
|
|
52
|
+
export type activity_retrieveOutput = ({ readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "trace"?: activity_retrieveOutput_ActionTrace; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "trace"?: activity_retrieveOutput_HyperscaleRefusalTrace; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "agent"?: { readonly "memberId": string; readonly "name": string; readonly "reason": (string | null); }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "bank_statement" | "credit_observation" | "record" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; });
|
|
53
53
|
type activity_retrieveOutput_HyperscaleRefusalTrace = { readonly "gate": "request" | "identity" | "scope" | "principal" | "grant_caps" | "reason" | "approval" | "idempotency" | "product_state" | "instrument_state" | "funds" | "provider" | "engine"; readonly "law": string; readonly "facts": { readonly [key: string]: (string | number | boolean | null | { readonly [key: string]: string | number | boolean | null }) }; readonly "remedy"?: activity_retrieveOutput_HyperscaleRefusalRemedy; };
|
|
54
54
|
type activity_retrieveOutput_HyperscaleRefusalRemedy = { readonly "kind": "call" | "change_request" | "retry" | "needs_human" | "none"; readonly "operation"?: string; readonly "fields"?: ReadonlyArray<string>; readonly "who"?: "owner" | "approver" | "staff" | "customer"; readonly "values"?: { readonly [key: string]: string | number | boolean | null }; };
|
|
55
|
-
type activity_retrieveOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
|
|
55
|
+
type activity_retrieveOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence" | "approval"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "expression"?: string; readonly "currency"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; readonly "rates"?: ReadonlyArray<{ readonly "target": string; readonly "rate"?: number; readonly "reason"?: "no_root" | "ambiguous"; readonly "steps": number; }>; }>; readonly "trace_truncated"?: true; };
|
|
56
56
|
export type audit_event_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
57
57
|
export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest": string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
58
58
|
export type audit_event_retrieveInput = { readonly "productId"?: string; readonly "auditEventId": string; };
|
|
@@ -76,7 +76,7 @@ export type customer_access_suspendOutput = { readonly "tenantId": string; reado
|
|
|
76
76
|
export type customer_createInput = { readonly "productId": string; readonly "entity": ({ readonly "kind": "person"; readonly "displayName": string; readonly "country": string; readonly "profile"?: { readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; }; } | { readonly "kind": "organization"; readonly "displayName": string; readonly "country": string; readonly "profile"?: { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }; }); readonly "test"?: true; };
|
|
77
77
|
export type customer_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "partyId": string; readonly "customerStatus": "active"; readonly "entityId": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled" | "not_checked"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "customerAccessId": string; readonly "customerAccessStatus"?: "active"; };
|
|
78
78
|
export type customer_joinInput = { readonly "token": string; readonly "firstName": string; };
|
|
79
|
-
export type customer_joinOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "entityId": string; readonly "displayName": string; readonly "customerAccessId": string; readonly "customerAccessStatus": "pending" | "active" | "suspended" | "closed"; readonly "accountId": string; readonly "fundingTransferId": string; readonly "fundingAmount": string; readonly "currency":
|
|
79
|
+
export type customer_joinOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "entityId": string; readonly "displayName": string; readonly "customerAccessId": string; readonly "customerAccessStatus": "pending" | "active" | "suspended" | "closed"; readonly "accountId": string; readonly "fundingTransferId": string; readonly "fundingAmount": string; readonly "currency": string; readonly "customerSessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; };
|
|
80
80
|
export type customer_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "erased"; };
|
|
81
81
|
export type customer_listOutput = { readonly "items": ReadonlyArray<{ readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "entityKind": "person" | "organization"; readonly "entityCountry": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled" | "not_checked"; readonly "profile": (({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }) | null); readonly "profileStatus": "missing" | "complete"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "principalId": string; readonly "externalReference"?: string | null; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
82
82
|
export type customer_loginInput = { readonly "productId": string; readonly "email": string; readonly "password": string; };
|
|
@@ -84,7 +84,7 @@ export type customer_loginOutput = { readonly "tenantId": string; readonly "prod
|
|
|
84
84
|
export type customer_logoutInput = Record<string, never>;
|
|
85
85
|
export type customer_logoutOutput = { readonly "customerSessionId": string; readonly "status": "revoked"; readonly "revokedAt": string; };
|
|
86
86
|
export type customer_me_retrieveInput = { readonly "productId": string; };
|
|
87
|
-
export type customer_me_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": "tenant_billing" | "tenant_credit" | "tenant_settlement" | "customer_balance" | "customer_investment" | "product_pool" | "product_credit" | "product_revenue"; readonly "currency":
|
|
87
|
+
export type customer_me_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": "tenant_billing" | "tenant_credit" | "tenant_settlement" | "customer_balance" | "customer_investment" | "product_pool" | "product_credit" | "product_revenue"; readonly "currency": string; readonly "available": string; readonly "settled": string; readonly "pending": string; readonly "asOf": string; }>; readonly "activity": ReadonlyArray<{ readonly "amount": string; readonly "balanceDelta": string; readonly "counterpartyAccountId": string; readonly "counterpartyDisplayName": string; readonly "currency": string; readonly "direction": "debit" | "credit"; readonly "entryId": string; readonly "ledgerTransferId": string; readonly "memo": string; readonly "occurredAt": string; readonly "operationId": string; readonly "operationName": string; readonly "origin"?: { readonly "instrumentId": string; readonly "instrumentInstanceId": string; readonly "action": string; }; readonly "runningBalance": string; readonly "status": "pending" | "posted" | "voided"; readonly "title"?: string; readonly "transferId": string; readonly "accountId": string; }>; };
|
|
88
88
|
export type customer_profile_updateInput = { readonly "customerId": string; readonly "profile": ({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }); };
|
|
89
89
|
export type customer_profile_updateOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "profile": ({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }); readonly "profileStatus": "complete"; readonly "updatedAt": string; };
|
|
90
90
|
export type customer_retrieveInput = { readonly "productId"?: string; readonly "customerId": string; };
|
|
@@ -97,7 +97,7 @@ export type event_listInput = { readonly "limit"?: number; readonly "cursor"?: s
|
|
|
97
97
|
export type event_listOutput = { readonly "items": ReadonlyArray<{ readonly "id": string; readonly "object": "event"; readonly "apiVersion": "2026-06-04"; readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "event": string; readonly "createdAt": string; readonly "operationId": (string | null); readonly "relatedObject": ({ readonly "id": string; readonly "type": string; } | null); readonly "data": { readonly "object": { readonly [key: string]: unknown }; }; readonly "outbox"?: { readonly "payloadDigest": string; }; }>; readonly "nextCursor"?: string; };
|
|
98
98
|
export type event_retrieveInput = { readonly "productId"?: string; readonly "eventId": string; };
|
|
99
99
|
export type event_retrieveOutput = { readonly "id": string; readonly "object": "event"; readonly "apiVersion": "2026-06-04"; readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "event": string; readonly "createdAt": string; readonly "operationId": (string | null); readonly "relatedObject": ({ readonly "id": string; readonly "type": string; } | null); readonly "data": { readonly "object": { readonly [key: string]: unknown }; }; readonly "outbox"?: { readonly "payloadDigest": string; }; };
|
|
100
|
-
export type internal_transfer_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "accountId"?: string; readonly "customerId"?: string; readonly "book"?: "cash" | "claim"; readonly "currency"?:
|
|
100
|
+
export type internal_transfer_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "accountId"?: string; readonly "customerId"?: string; readonly "book"?: "cash" | "claim"; readonly "currency"?: string; readonly "amountMin"?: string; readonly "amountMax"?: string; readonly "timeBasis"?: "created" | "posted"; readonly "postedFrom"?: string; readonly "postedTo"?: string; readonly "status"?: "settled" | "reversed" | "accepted" | "reserved" | "posted" | "voided" | "failed"; };
|
|
101
101
|
export type internal_transfer_listOutput = { readonly "items": ReadonlyArray<{ readonly "transferId": string; readonly "tenantId": string; readonly "amount"?: string; readonly "postedAmount"?: string; readonly "currency"?: string; readonly "sourceAccountId"?: string; readonly "destinationAccountId"?: string; readonly "status"?: "settled" | "reversed" | "accepted" | "reserved" | "posted" | "voided" | "failed"; readonly "expiresAt"?: string; readonly "expiredAt"?: string; readonly "metadata"?: internal_transfer_listOutput_Metadata; readonly "correctsTransferId"?: string; readonly "operationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "sourceName"?: string; readonly "destinationName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "createdAt"?: string; readonly "postedInRangeAmount"?: string; readonly "recordedAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
102
102
|
type internal_transfer_listOutput_Metadata = { readonly [key: string]: internal_transfer_listOutput_MetadataValue };
|
|
103
103
|
type internal_transfer_listOutput_MetadataValue = (internal_transfer_listOutput_MetadataScalar | ReadonlyArray<internal_transfer_listOutput_MetadataScalar> | { readonly [key: string]: internal_transfer_listOutput_MetadataScalar });
|
|
@@ -112,19 +112,19 @@ export type operation_listOutput = { readonly "items": ReadonlyArray<{ readonly
|
|
|
112
112
|
export type operation_retrieveInput = { readonly "productId"?: string; readonly "operationId": string; };
|
|
113
113
|
export type operation_retrieveOutput = { readonly "operationId": string; readonly "tenantId"?: string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "name": string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "createdAt"?: string; };
|
|
114
114
|
export type payment_reminder_delivery_retrieveInput = { readonly "productId": string; readonly "operationId": string; };
|
|
115
|
-
export type payment_reminder_delivery_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "operationId": string; readonly "deliveries": ReadonlyArray<{ readonly "deliveryId": string; readonly "installmentId": string; readonly "customerId": string; readonly "channel": "email"; readonly "template":
|
|
115
|
+
export type payment_reminder_delivery_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "operationId": string; readonly "deliveries": ReadonlyArray<{ readonly "deliveryId": string; readonly "installmentId": string; readonly "customerId": string; readonly "channel": "email"; readonly "template": string; readonly "state": "prepared" | "unknown" | "accepted" | "delivered" | "failed" | "bounced" | "simulated"; readonly "provider": string; readonly "providerReference": string | null; readonly "providerAccepted": boolean; readonly "delivered": boolean; readonly "updatedAt": string; }>; };
|
|
116
116
|
export type product_actions_listInput = { readonly "productId": string; readonly "instrument"?: string; };
|
|
117
|
-
export type product_actions_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "items": ReadonlyArray<{ readonly "instrument": string; readonly "name": string; readonly "action": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "input": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "instanceIdRequired": boolean; readonly "method": "POST"; readonly "path": string; }>; };
|
|
117
|
+
export type product_actions_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "items": ReadonlyArray<{ readonly "instrument": string; readonly "name": string; readonly "action": string; readonly "actor": ("caller" | "clock" | "observation" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "input": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "currency"?: string; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; readonly "currency"?: string; readonly "normal"?: "debit"; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "instanceIdRequired": boolean; readonly "method": "POST"; readonly "path": string; }>; };
|
|
118
118
|
export type product_activation_retrieveInput = { readonly "productId": string; };
|
|
119
119
|
export type product_activation_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "readiness": product_activation_retrieveOutput_ProductActivationReadiness; readonly "cost": product_activation_retrieveOutput_ProductLiveCostEstimate; };
|
|
120
120
|
type product_activation_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "party"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
|
|
121
|
-
type product_activation_retrieveOutput_ProductLiveCostEstimate = { readonly "currency":
|
|
121
|
+
type product_activation_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": string; readonly "platformMonthly": (string | null); readonly "platformSetup": (string | null); readonly "liveCapableCount": number; readonly "recurringCharges": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostCharge>; readonly "usageCharges": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostCharge>; readonly "estimatedMonthlyFixed": (string | null); readonly "blockers": ReadonlyArray<product_activation_retrieveOutput_ProductLiveCostBlocker>; readonly "complete": boolean; };
|
|
122
122
|
type product_activation_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "kind": "recurring" | "per_event" | "volume_bps"; readonly "unit": string; readonly "amount": (string | null); readonly "bps": string | null; readonly "summary": string; readonly "custom": boolean; };
|
|
123
123
|
type product_activation_retrieveOutput_ProductLiveCostBlocker = { readonly "code": "unpriced_meters" | "custom_pricing"; readonly "meters": ReadonlyArray<"account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
|
|
124
124
|
export type product_blocks_summaryInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "effectiveAt"?: string; };
|
|
125
|
-
export type product_blocks_summaryOutput = { readonly "effectiveAt": string; readonly "asOf": string; readonly "complete": boolean; readonly "items": ReadonlyArray<{ readonly "blockKey": "financing.installments" | "escrow.hold" | "money.hold" | "marketplace.listing" | "marketplace.order" | "marketplace.reservation" | "insurance.cover" | "insurance.claim"; readonly "metrics": { readonly [key: string]: ({ readonly "value": string; readonly "currency"?:
|
|
125
|
+
export type product_blocks_summaryOutput = { readonly "effectiveAt": string; readonly "asOf": string; readonly "complete": boolean; readonly "items": ReadonlyArray<{ readonly "blockKey": "financing.installments" | "escrow.hold" | "money.hold" | "marketplace.listing" | "marketplace.order" | "marketplace.reservation" | "insurance.cover" | "insurance.claim"; readonly "metrics": { readonly [key: string]: ({ readonly "value": string; readonly "currency"?: string; readonly "complete": boolean; } | { readonly "unavailable": true; readonly "reason"?: string; }) }; readonly "nextAt": (string | null); }>; readonly "nextCursor"?: string; };
|
|
126
126
|
export type product_books_retrieveInput = { readonly "productId": string; readonly "fromPeriod"?: string; readonly "toPeriod"?: string; };
|
|
127
|
-
export type product_books_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "observedAt": string; readonly "currency":
|
|
127
|
+
export type product_books_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "observedAt": string; readonly "currency": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<{ readonly "code": string; readonly "message": string; readonly "period"?: string; }>; readonly "position": { readonly "companyAvailable": (string | null); readonly "companyHeld": (string | null); readonly "heldForCustomers": (string | null); readonly "amountsDue": (string | null); readonly "receivables": (string | null); }; readonly "revenueToDate": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "earlier"?: { readonly "fromPeriod": string; readonly "toPeriod": string; }; readonly "months": ReadonlyArray<{ readonly "postedCount": number; readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "grossRevenue": (string | null); readonly "period": string; readonly "complete": boolean; }>; readonly "totals": { readonly "postedCount": number; readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "grossRevenue": (string | null); }; };
|
|
128
128
|
export type product_connections_retrieveInput = { readonly "productId": string; };
|
|
129
129
|
export type product_connections_retrieveOutput = { readonly "productId": string; readonly "items": ReadonlyArray<({ readonly "kind": "business"; readonly "role": string; readonly "assignedBusinessName": string | null; readonly "service": null; readonly "state": "Configured" | "Missing" | "Unavailable"; readonly "reference": string; } | { readonly "kind": "service"; readonly "role": string; readonly "assignedBusinessName": null; readonly "service": string | null; readonly "displayName": string; readonly "serviceLabel": string; readonly "state": "Configured" | "Unavailable"; readonly "reference": string; })>; };
|
|
130
130
|
export type product_earn_rate_listInput = { readonly "productId": string; readonly "limit"?: number; readonly "cursor"?: string; };
|
|
@@ -138,11 +138,11 @@ export type product_guidance_retrieveOutput = { readonly "items": ReadonlyArray<
|
|
|
138
138
|
type product_guidance_retrieveOutput_ProductGuidanceItem = { readonly "predicate": "mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product"; readonly "status": "satisfied" | "actionable" | "blocked"; readonly "title": string; readonly "detail": string; readonly "target": product_guidance_retrieveOutput_ProductGuidanceTarget; readonly "requirement"?: string; };
|
|
139
139
|
type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
|
|
140
140
|
export type product_instruments_listInput = { readonly "productId": string; };
|
|
141
|
-
export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency":
|
|
141
|
+
export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "template"?: string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "currency"?: string; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; readonly "currency"?: string; readonly "normal"?: "debit"; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "ends"?: ReadonlyArray<string>; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
|
|
142
142
|
export type product_margin_retrieveInput = { readonly "productId": string; };
|
|
143
143
|
export type product_margin_retrieveOutput = { readonly "asOf": string; readonly "items": ReadonlyArray<{ readonly "operationName": string; readonly "sell": { readonly "bps"?: string; readonly "flatAmount"?: string; }; readonly "buy": { readonly "volumeBps"?: string; readonly "perEvent"?: string; }; readonly "net": { readonly "bps": string; readonly "perEvent": string; }; }>; };
|
|
144
144
|
export type product_objects_actionsInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "onBehalfOf"?: string; };
|
|
145
|
-
export type product_objects_actionsOutput = { readonly "objectId": string; readonly "revision": number; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fieldsSchema": { readonly [key: string]: unknown }; readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "action": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "requirementConditions"?: { readonly [key: string]: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>> }; readonly "creationRequirements"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "creationOnlyNames"?: ReadonlyArray<string>; readonly "inputSchema": { readonly [key: string]: unknown }; readonly "availability": ({ readonly "status": "available"; } | { readonly "status": "requires_input"; readonly "subjectFields": ReadonlyArray<string>; readonly "actionInputs": ReadonlyArray<string>; readonly "parties": ReadonlyArray<string>; readonly "instances"?: { readonly [key: string]: ReadonlyArray<string> }; readonly "reason": string; } | { readonly "status": "unavailable"; readonly "blockers": ReadonlyArray<{ readonly "code": "permission_required" | "state_changed" | "not_due" | "deadline_passed" | "clock_pending" | "condition_not_met" | "already_used" | "evidence_required" | "account_unavailable" | "insufficient_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); readonly "requiredNow": ReadonlyArray<string>; 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 "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 "nextCursor"?: string; };
|
|
145
|
+
export type product_objects_actionsOutput = { readonly "objectId": string; readonly "revision": number; 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 "requiredNow": ReadonlyArray<string>; 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 "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 "nextCursor"?: string; };
|
|
146
146
|
export type product_objects_agreements_evidence_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "instanceId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
147
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; };
|
|
@@ -152,40 +152,42 @@ type product_objects_agreements_listOutput___schema0 = (string | number | boolea
|
|
|
152
152
|
export type product_objects_createInput = { readonly "productId": string; readonly "kind": string; readonly "externalId"?: string; readonly "fields"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
153
153
|
export type product_objects_createOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; };
|
|
154
154
|
export type product_objects_discoverInput = { readonly "productId": string; };
|
|
155
|
-
export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "parties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "objects": ReadonlyArray<{ readonly "entryActions"?: ReadonlyArray<string>; readonly "id": string; readonly "title": string; readonly "authoredFields": ReadonlyArray<string>; readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title"?: string; readonly "parent"?: string; readonly "instrument": string; readonly "parties": { readonly [key: string]: ({ readonly "role": "owner" | "actor" | "operator"; } | { readonly "party": string; }) }; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "columns": ReadonlyArray<string>; }>; readonly "instruments": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "subject"?: string; readonly "template"?: string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "accounts": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "relationships": ReadonlyArray<{ readonly "kind": "reference" | "child"; readonly "via": "field" | "attachment" | "invocation" | "parent_actor"; readonly "name": string; readonly "targetKind": "instrument" | "object"; readonly "targets": ReadonlyArray<string>; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "invariants": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "initialState": string; readonly "lifecycle": { readonly "initial": string; readonly "states": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "terminal": boolean; }>; readonly "cancellationActions": ReadonlyArray<string>; }; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "alias": string | null; readonly "title": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "roles": ReadonlyArray<(({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }) | { readonly "kind": "caller" | "clock"; } | { readonly "kind": "parent"; readonly "instruments": ReadonlyArray<string>; })>; readonly "from": ReadonlyArray<string>; readonly "to": string | null; readonly "references"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "invokedBy"?: ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "alias": string | null; readonly "invocation": ({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "digest"; readonly "kind": "document" | "message" | "thread" | "note" | "count" | "event" | "judgement" | "extract"; readonly "value"?: string; })>; readonly "subject"?: { readonly "requirements": ReadonlyArray<{ readonly "field": ({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; }); readonly "objectField"?: string; readonly "when"?: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>>; }>; readonly "adapters": ReadonlyArray<{ readonly "binding": string; readonly "snapshot": ({ readonly "onboarding"?: ReadonlyArray<"person" | "organization">; readonly "provider": string; readonly "capability": string; readonly "operation": string; readonly "apiVersion"?: { readonly "header": string; readonly "value": string; }; readonly "declarationDigest": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; } | null); readonly "renames"?: { readonly [key: string]: string }; }>; }; readonly "prerequisites": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "sum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "subtract"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "subtract": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "rate"; readonly "base": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "bps": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "minimum"; readonly "values": ReadonlyArray<({ readonly "literal": (string | number | boolean); } | { readonly "field": string; })>; } | { readonly "target": string; readonly "op": "multiply"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "units": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "divide"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "divisor": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor" | "ceiling" | "half_even"; } | { readonly "target": string; readonly "op": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "boundary"?: { readonly "adapter": string; readonly "operation"?: "authorize" | "refund"; readonly "refundOf"?: string; }; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; readonly "capture": string; } | { readonly "key": string; readonly "operation": "internal_transfer.post"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "capture"; readonly "amount"?: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "key": string; readonly "operation": "internal_transfer.void"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; readonly "taxOn"?: string; }; readonly "capture"?: string; readonly "transfer": string; readonly "boundary"?: { readonly "adapter": string; readonly "operation": "void"; }; })>; readonly "moneyEffects": ReadonlyArray<{ readonly "key": string; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount": (({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) | null); readonly "from": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "to": ReadonlyArray<{ readonly "path": string; readonly "scope": string; readonly "instrument": string; readonly "field": string; readonly "owner": ({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }); readonly "book": "cash" | "claim"; readonly "key"?: string; readonly "contra": boolean; }>; readonly "disposition": "held" | "paid" | "released" | "claim" | "unresolved"; readonly "transfer": string | null; readonly "reservations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "key": string; }>; readonly "economics": ({ readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf": string | null; } | null); readonly "share": ({ readonly "base": string; readonly "bps": number; readonly "value": string | null; } | null); }>; readonly "invokes": ReadonlyArray<({ readonly "instrument": string; readonly "action": "create"; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "range"?: { readonly "count": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "maximum": number; readonly "bind": string; }; } | { readonly "reference": string; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; } | { readonly "selection": { readonly "family"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "currency": "SAR"; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation" | "posting"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "selection"?: string; }>; readonly "selection": { readonly "dataset": string; readonly "predicate"?: string; }; readonly "calculation": { readonly "joins": ReadonlyArray<{ readonly "dataset": string; readonly "local": string; readonly "foreign": string; readonly "cardinality": "one" | "many"; readonly "missing": "refuse" | "allow"; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; readonly "groupBy": ReadonlyArray<string>; readonly "aggregates": ReadonlyArray<{ readonly "name": string; readonly "op": "sum" | "average" | "count" | "minimum" | "maximum"; readonly "rounding"?: "floor" | "halfUp"; readonly "value"?: string; }>; readonly "resultExpressions": ReadonlyArray<({ readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "choose"; readonly "condition": string; readonly "yes": string; readonly "no": string; } | { readonly "id": string; readonly "op": "ratio"; readonly "numerator": string; readonly "denominator": string; readonly "scale": number; readonly "rounding": "floor" | "halfUp"; readonly "zero": "refuse" | "null"; })>; }; readonly "validation": { readonly "empty": "refuse" | "noEligibleFacilities"; readonly "required": ReadonlyArray<string>; readonly "rowReconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "reconcile": ReadonlyArray<{ readonly "left": string; readonly "right": string; }>; readonly "unavailableFacts": ReadonlyArray<string>; }; readonly "output": { readonly "formats": ReadonlyArray<"json" | "csv">; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); }>; readonly "sort": ReadonlyArray<string>; }; readonly "authority": { readonly "request": ReadonlyArray<string>; readonly "read": ReadonlyArray<string>; readonly "retention": { readonly "years": number; }; }; }>; readonly "structures": ReadonlyArray<"stage_and_decisions" | "payment_review" | "held_funds" | "reserved_payment" | "payment_calendar" | "funding_progress" | "cancellation_review" | "external_checks" | "report_view">; }>; }; readonly "navigation": ReadonlyArray<{ readonly "kind": string; readonly "title": string; readonly "creation": boolean; }>; readonly "productBuildId": string; readonly "digest": string; readonly "kinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "productBuildId": string; readonly "digest": string; readonly "creation": true; readonly "kind": string; readonly "title": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "createSchema": { readonly [key: string]: unknown }; readonly "actions": ReadonlyArray<{ readonly "summary": string; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fieldsSchema": { readonly [key: string]: unknown }; readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "action": string; readonly "requirements": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "requirementConditions"?: { readonly [key: string]: ReadonlyArray<ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "guard": { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "valueType"?: "money" | "date"; }>> }; readonly "creationRequirements"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "creationOnlyNames"?: ReadonlyArray<string>; readonly "inputSchema": { readonly [key: string]: unknown }; readonly "availability": ({ readonly "status": "available"; } | { readonly "status": "requires_input"; readonly "subjectFields": ReadonlyArray<string>; readonly "actionInputs": ReadonlyArray<string>; readonly "parties": ReadonlyArray<string>; readonly "instances"?: { readonly [key: string]: ReadonlyArray<string> }; readonly "reason": string; } | { readonly "status": "unavailable"; readonly "blockers": ReadonlyArray<{ readonly "code": "permission_required" | "state_changed" | "not_due" | "deadline_passed" | "clock_pending" | "condition_not_met" | "already_used" | "evidence_required" | "account_unavailable" | "insufficient_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": (({ readonly "key": string; readonly "recordPath": string; readonly "digest": string; } | { readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; }) | null); }>; readonly "kind": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: ({ readonly "module": string; readonly "exportPath": string; readonly "digest": string; } | { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }); readonly "target"?: string; readonly "maxItems": number; })>; readonly "authoredFields": ReadonlyArray<string>; readonly "columns": ReadonlyArray<string>; readonly "filters": ReadonlyArray<{ readonly "field": string; readonly "type": "text" | "enum" | "date" | "boolean" | "integer"; }>; readonly "creation": false; }>; };
|
|
155
|
+
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
|
+
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
|
+
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; });
|
|
156
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; };
|
|
157
|
-
export type product_objects_executeOutput = { readonly "object": { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "status": "posted" | "reserved" | "released" | "voided"; }>; readonly "trace"?: product_objects_executeOutput_ActionTrace; } | null); readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; };
|
|
158
|
-
type product_objects_executeOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
|
|
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
|
+
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; };
|
|
159
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; };
|
|
160
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 } }; };
|
|
161
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; };
|
|
162
|
-
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":
|
|
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; };
|
|
163
165
|
export type product_objects_retrieveInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
|
|
164
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; };
|
|
165
167
|
export type product_objects_timeline_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
166
168
|
export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; readonly "participantId"?: string; readonly "displayName"?: string; readonly "customerId"?: string; readonly "onBehalfOf"?: ({ readonly "kind": "member"; readonly "userId": string; readonly "displayName": string; } | { readonly "kind": "api_key"; readonly "apiKeyId": string; readonly "displayName": string; }); }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; } | null); readonly "source": { readonly "kind": "audit_event" | "receipt" | "external_confirmation"; readonly "id": string; readonly "operationId": (string | null); readonly "sequence"?: number; }; readonly "state"?: string; readonly "requested"?: true; readonly "reason"?: string; readonly "trace"?: product_objects_timeline_listOutput_ActionTrace; readonly "money"?: { readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }; readonly "evidence"?: { readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }; }>; readonly "nextCursor"?: string; };
|
|
167
|
-
type product_objects_timeline_listOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
|
|
169
|
+
type product_objects_timeline_listOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence" | "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; };
|
|
168
170
|
export type product_operation_set_retrieveInput = { readonly "productId": string; };
|
|
169
171
|
export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "productBuildId": string; readonly "buildDigest": string; readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "operations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "kind": "read" | "setup" | "action"; readonly "readKind": "list" | "retrieve" | "none"; readonly "resourceKind": string | null; readonly "idField": string | null; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema0 }; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema1 }; readonly "recordSchema": ({ readonly [key: string]: product_operation_set_retrieveOutput___schema2 } | null); readonly "displayTitle": string; readonly "actionExposure": ({ readonly "name": string; readonly "target": string; } | null); readonly "scopes": ReadonlyArray<string>; }>; readonly "tenantSurfaceVersion": 3; readonly "tenantOperationSetDigest": string; readonly "publicActions": ReadonlyArray<product_operation_set_retrieveOutput_ProductPublicAction>; readonly "tenantReadOperationSetDigest": string; readonly "tenantSetupOperationSetDigest": string; readonly "readOperationIds": ReadonlyArray<string>; readonly "readOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "setupOperationIds": ReadonlyArray<string>; readonly "setupOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "unresolvedSetupOperationIds": ReadonlyArray<string>; };
|
|
170
172
|
type product_operation_set_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema0> | { readonly [key: string]: product_operation_set_retrieveOutput___schema0 });
|
|
171
173
|
type product_operation_set_retrieveOutput___schema1 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema1> | { readonly [key: string]: product_operation_set_retrieveOutput___schema1 });
|
|
172
174
|
type product_operation_set_retrieveOutput___schema2 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema2> | { readonly [key: string]: product_operation_set_retrieveOutput___schema2 });
|
|
173
|
-
type product_operation_set_retrieveOutput_ProductPublicAction = { readonly "name": string; readonly "instrument": string; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "actorPolicy": { readonly "principal": "api_key" | "customer_session" | "user_session"; readonly "staffAuthority"?: { readonly "party": string; readonly "role":
|
|
175
|
+
type product_operation_set_retrieveOutput_ProductPublicAction = { readonly "name": string; readonly "instrument": string; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "actorPolicy": { readonly "principal": "api_key" | "customer_session" | "user_session"; readonly "staffAuthority"?: { readonly "party": string; readonly "role": string; }; }; readonly "portPolicy": ({ readonly "kind": "none"; } | { readonly "kind": "tenant_decision"; readonly "allowedParties": ReadonlyArray<string>; }); readonly "idempotencyPolicy": { readonly "mode": "not_required" | "optional" | "required"; }; readonly "receiptPolicy": { readonly "type": string; readonly "includeEvidence": boolean; }; readonly "receiptEvidence": { readonly "required": ReadonlyArray<"ledger" | "local" | "external">; readonly "optional"?: ReadonlyArray<"ledger" | "local" | "external">; }; };
|
|
174
176
|
type product_operation_set_retrieveOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput_JsonValue> | { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue });
|
|
175
177
|
export type product_schedule_listInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "objectId"?: string; };
|
|
176
|
-
export type product_schedule_listOutput = { readonly "effectiveAt": string; readonly "nextCursor"?: string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement": { readonly "instanceId": string; }; readonly "action": string; readonly "title": string; readonly "status": "upcoming" | "waiting" | "due" | "completed" | "refused" | "waived" | "cancelled" | "ended"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "payer"?: { readonly "name": string; readonly "customerId"?: string; readonly "collection": "automatic" | "on_action"; }; readonly "amount"?: { readonly "value": string; readonly "currency":
|
|
178
|
+
export type product_schedule_listOutput = { readonly "effectiveAt": string; readonly "nextCursor"?: string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement": { readonly "instanceId": string; }; readonly "action": string; readonly "title": string; readonly "status": "upcoming" | "waiting" | "due" | "completed" | "refused" | "waived" | "cancelled" | "ended"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "payer"?: { readonly "name": string; readonly "customerId"?: string; readonly "collection": "automatic" | "on_action"; }; readonly "amount"?: { readonly "value": string; readonly "currency": string; }; readonly "refusedAt"?: string; readonly "retries"?: boolean; readonly "reason": string; }>; };
|
|
177
179
|
export type product_treasury_retrieveInput = { readonly "productId": string; };
|
|
178
|
-
export type product_treasury_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "credit": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "earnRateFees": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "revenue": ReadonlyArray<{ readonly "currency":
|
|
180
|
+
export type product_treasury_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "credit": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "earnRateFees": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "revenue": ReadonlyArray<{ readonly "currency": string; readonly "amount": string; }>; };
|
|
179
181
|
export type product_work_listInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
180
|
-
export type product_work_listOutput = { readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "recordTitle": string; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "staffRole"?:
|
|
182
|
+
export type product_work_listOutput = { readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "recordTitle": string; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "staffRole"?: string; readonly "customer"?: { readonly "name": string; readonly "customerId"?: string; }; readonly "amount"?: { readonly "value": string; readonly "currency": string; }; readonly "requestedAt"?: string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; }>; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<"work_counts_incomplete">; readonly "counts": { readonly "needsHuman": (number | null); readonly "waitingCustomer": (number | null); readonly "waitingProvider": (number | null); readonly "waitingClock": (number | null); }; readonly "nextCursor"?: string; };
|
|
181
183
|
export type receipt_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
182
|
-
export type receipt_listOutput = { readonly "items": ReadonlyArray<{ readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency":
|
|
184
|
+
export type receipt_listOutput = { readonly "items": ReadonlyArray<{ readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "phase": "post" | "reserve" | "post_pending" | "void_pending"; }>; readonly "status"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
183
185
|
export type receipt_retrieveInput = { readonly "productId"?: string; readonly "receiptId": string; };
|
|
184
|
-
export type receipt_retrieveOutput = { readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency":
|
|
185
|
-
export type sandbox_account_fundInput = { readonly "transferId"?: string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency":
|
|
186
|
-
export type sandbox_account_fundOutput = { readonly "transferId": string; readonly "tenantId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency":
|
|
186
|
+
export type receipt_retrieveOutput = { readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "phase": "post" | "reserve" | "post_pending" | "void_pending"; }>; readonly "status"?: string; readonly "createdAt"?: string; };
|
|
187
|
+
export type sandbox_account_fundInput = { readonly "transferId"?: string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; };
|
|
188
|
+
export type sandbox_account_fundOutput = { readonly "transferId": string; readonly "tenantId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "transferStatus": "posted"; };
|
|
187
189
|
export type sandbox_clock_advanceInput = { readonly "productId"?: string; readonly "at"?: string; readonly "release"?: true; };
|
|
188
|
-
export type sandbox_clock_advanceOutput = { readonly "tenantId": string; readonly "productId": string; readonly "previousAt": string; readonly "at": string; readonly "ran"?: ReadonlyArray<{ readonly "instanceId": string; readonly "objectId"?: string; readonly "instrument": string; readonly "action": string; readonly "line"?: string; readonly "record"?: { readonly "kind": string; readonly "title": string; }; readonly "customer"?: { readonly "id": string; readonly "name": string; }; readonly "dueAt": string; readonly "status": "succeeded" | "refused"; readonly "amount"?: { readonly "value": string; readonly "currency":
|
|
190
|
+
export type sandbox_clock_advanceOutput = { readonly "tenantId": string; readonly "productId": string; readonly "previousAt": string; readonly "at": string; readonly "ran"?: ReadonlyArray<{ readonly "instanceId": string; readonly "objectId"?: string; readonly "instrument": string; readonly "action": string; readonly "line"?: string; readonly "record"?: { readonly "kind": string; readonly "title": string; }; readonly "customer"?: { readonly "id": string; readonly "name": string; }; readonly "dueAt": string; readonly "rolledFrom"?: string; readonly "status": "succeeded" | "refused"; readonly "amount"?: { readonly "value": string; readonly "currency": string; }; readonly "reason"?: string; readonly "retries"?: true; readonly "accountId"?: string; readonly "required"?: { readonly "value": string; readonly "currency": string; }; readonly "shortfall"?: { readonly "value": string; readonly "currency": string; }; }>; readonly "ranCount"?: number; };
|
|
189
191
|
export type sandbox_clock_retrieveInput = { readonly "productId": string; };
|
|
190
192
|
export type sandbox_clock_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "effectiveAt": string; readonly "mode": "host" | "frozen"; readonly "observedAt": string; };
|
|
191
193
|
export type sandbox_customer_access_activateInput = { readonly "customerAccessId": string; };
|
|
@@ -221,92 +223,92 @@ export type webhook_event_catalogOutput = { readonly "productBuildId": string; r
|
|
|
221
223
|
/** Error codes every operation can return. */
|
|
222
224
|
export type SharedErrorCode = "internal_error" | "invalid_request" | "not_found" | "rate_limited" | "resource_not_found" | "state_conflict" | "tenant_not_found" | "unauthorized";
|
|
223
225
|
export interface Operations {
|
|
224
|
-
readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/balance"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "
|
|
225
|
-
readonly "account.close": { input: account_closeInput; output: account_closeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/close"; credentialTenant: true; rehearsable: true; errorCode: "account_close_balance_nonzero" | "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "
|
|
226
|
-
readonly "account.create": { input: account_createInput; output: account_createOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_already_provisioned" | "account_role_owner_mismatch" | "
|
|
227
|
-
readonly "account.deposit": { input: account_depositInput; output: account_depositOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/account-deposits"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "
|
|
228
|
-
readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/freeze"; credentialTenant: true; rehearsable: true; errorCode: "account_not_found" | "account_status_forbidden" | "
|
|
229
|
-
readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds"; credentialTenant: true; errorCode: "
|
|
230
|
-
readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds/{transferId}"; credentialTenant: true; errorCode: "
|
|
231
|
-
readonly "account.list": { input: account_listInput; output: account_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/accounts"; credentialTenant: true; errorCode: "
|
|
232
|
-
readonly "account.retrieve": { input: account_retrieveInput; output: account_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/accounts/{accountId}"; credentialTenant: true; errorCode: "
|
|
233
|
-
readonly "account.statement.export": { input: account_statement_exportInput; output: account_statement_exportOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/statements/{period}/export"; credentialTenant: true; errorCode: "account_ledger_unprovisioned" | "
|
|
234
|
-
readonly "account.statement.retrieve": { input: account_statement_retrieveInput; output: account_statement_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/statements/{period}"; credentialTenant: true; errorCode: "account_ledger_unprovisioned" | "
|
|
235
|
-
readonly "account.unfreeze": { input: account_unfreezeInput; output: account_unfreezeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/unfreeze"; credentialTenant: true; rehearsable: true; errorCode: "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "
|
|
236
|
-
readonly "activity.list": { input: activity_listInput; output: activity_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/activity"; credentialTenant: true; errorCode: "
|
|
237
|
-
readonly "activity.retrieve": { input: activity_retrieveInput; output: activity_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/activity/{activityId}"; credentialTenant: true; errorCode: "
|
|
238
|
-
readonly "audit_event.list": { input: audit_event_listInput; output: audit_event_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/audit-events"; credentialTenant: true; errorCode: "
|
|
239
|
-
readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: audit_event_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/audit-events/{auditEventId}"; credentialTenant: true; errorCode: "
|
|
240
|
-
readonly "consent.list": { input: consent_listInput; output: consent_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/consents"; credentialTenant: true; errorCode: "
|
|
241
|
-
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/consents/{consentId}"; credentialTenant: true; errorCode: "
|
|
242
|
-
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/consents/{consentId}/revoke"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
243
|
-
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/close"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_unprovisioned" | "
|
|
244
|
-
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customer-access"; credentialTenant: true; errorCode: "
|
|
245
|
-
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/reactivate"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
246
|
-
readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customer-access/{customerAccessId}"; credentialTenant: true; errorCode: "
|
|
247
|
-
readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/suspend"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
248
|
-
readonly "customer.create": { input: customer_createInput; output: customer_createOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/customers"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
226
|
+
readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/balance"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
227
|
+
readonly "account.close": { input: account_closeInput; output: account_closeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/close"; credentialTenant: true; rehearsable: true; errorCode: "account_close_balance_nonzero" | "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
228
|
+
readonly "account.create": { input: account_createInput; output: account_createOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_already_provisioned" | "account_role_owner_mismatch" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "owner_unsupported" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
|
|
229
|
+
readonly "account.deposit": { input: account_depositInput; output: account_depositOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/account-deposits"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "capability_not_configured" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
230
|
+
readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/freeze"; credentialTenant: true; rehearsable: true; errorCode: "account_not_found" | "account_status_forbidden" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
231
|
+
readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
232
|
+
readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/holds/{transferId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
233
|
+
readonly "account.list": { input: account_listInput; output: account_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/accounts"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
234
|
+
readonly "account.retrieve": { input: account_retrieveInput; output: account_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/accounts/{accountId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
235
|
+
readonly "account.statement.export": { input: account_statement_exportInput; output: account_statement_exportOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/statements/{period}/export"; credentialTenant: true; errorCode: "account_ledger_unprovisioned" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
236
|
+
readonly "account.statement.retrieve": { input: account_statement_retrieveInput; output: account_statement_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/accounts/{accountId}/statements/{period}"; credentialTenant: true; errorCode: "account_ledger_unprovisioned" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
237
|
+
readonly "account.unfreeze": { input: account_unfreezeInput; output: account_unfreezeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/accounts/{accountId}/unfreeze"; credentialTenant: true; rehearsable: true; errorCode: "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
238
|
+
readonly "activity.list": { input: activity_listInput; output: activity_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/activity"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
239
|
+
readonly "activity.retrieve": { input: activity_retrieveInput; output: activity_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/activity/{activityId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
240
|
+
readonly "audit_event.list": { input: audit_event_listInput; output: audit_event_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/audit-events"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
241
|
+
readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: audit_event_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/audit-events/{auditEventId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
242
|
+
readonly "consent.list": { input: consent_listInput; output: consent_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/consents"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
243
|
+
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/consents/{consentId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
244
|
+
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/consents/{consentId}/revoke"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "consent_expired" | "consent_not_active" | "consent_not_found" | "consent_revoked" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
245
|
+
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/close"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_unprovisioned" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_access_close_open_activity" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
246
|
+
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customer-access"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
247
|
+
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/reactivate"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
248
|
+
readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customer-access/{customerAccessId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
249
|
+
readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/customer-access/{customerAccessId}/suspend"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
250
|
+
readonly "customer.create": { input: customer_createInput; output: customer_createOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/customers"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
249
251
|
readonly "customer.join": { input: customer_joinInput; output: customer_joinOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/join"; rehearsable: true; errorCode: "company_period_closed" | "cross_tenant_transfer_forbidden" | "currency_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "join_link_expired" | "join_link_full" | "join_link_not_found" | "ledger_transfer_rejected" | "ledger_unavailable" | "operation_not_finalized" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
|
|
250
|
-
readonly "customer.list": { input: customer_listInput; output: customer_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customers"; credentialTenant: true; errorCode: "
|
|
252
|
+
readonly "customer.list": { input: customer_listInput; output: customer_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customers"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
251
253
|
readonly "customer.login": { input: customer_loginInput; output: customer_loginOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/login"; rehearsable: true; errorCode: "customer_access_required" | "customer_access_status_forbidden" | "customer_not_found" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
|
|
252
254
|
readonly "customer.logout": { input: customer_logoutInput; output: customer_logoutOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/logout"; rehearsable: true; errorCode: "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "missing_required_scope" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_required" | "state_constraint_failed" | "tenant_mismatch" };
|
|
253
255
|
readonly "customer.me.retrieve": { input: customer_me_retrieveInput; output: customer_me_retrieveOutput; principals: "customer_session"; method: "GET"; path: "/v1/customer-identity/me"; credentialTenant: true; errorCode: "environment_mismatch" | "ledger_unavailable" | "missing_required_scope" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
254
|
-
readonly "customer.profile.update": { input: customer_profile_updateInput; output: customer_profile_updateOutput; principals: "api_key" | "user_session"; method: "PATCH"; path: "/v1/customers/{customerId}/profile"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
255
|
-
readonly "customer.retrieve": { input: customer_retrieveInput; output: customer_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customers/{customerId}"; credentialTenant: true; errorCode: "
|
|
256
|
+
readonly "customer.profile.update": { input: customer_profile_updateInput; output: customer_profile_updateOutput; principals: "api_key" | "user_session"; method: "PATCH"; path: "/v1/customers/{customerId}/profile"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_erased" | "customer_not_found" | "device_login_expired" | "entity_lifecycle_status_forbidden" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
257
|
+
readonly "customer.retrieve": { input: customer_retrieveInput; output: customer_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/customers/{customerId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
256
258
|
readonly "customer.session.revoke": { input: customer_session_revokeInput; output: customer_session_revokeOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/sessions/{customerSessionId}/revoke"; rehearsable: true; errorCode: "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "missing_required_scope" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_not_found" | "session_required" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
257
259
|
readonly "customer.signup": { input: customer_signupInput; output: customer_signupOutput; principals: "customer_session"; method: "POST"; path: "/v1/customer-identity/signup"; rehearsable: true; errorCode: "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "state_constraint_failed" | "tenant_status_forbidden" };
|
|
258
|
-
readonly "event.list": { input: event_listInput; output: event_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/events"; credentialTenant: true; errorCode: "
|
|
259
|
-
readonly "event.retrieve": { input: event_retrieveInput; output: event_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/events/{eventId}"; credentialTenant: true; errorCode: "
|
|
260
|
-
readonly "internal_transfer.list": { input: internal_transfer_listInput; output: internal_transfer_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/internal-transfers"; credentialTenant: true; errorCode: "
|
|
261
|
-
readonly "internal_transfer.retrieve": { input: internal_transfer_retrieveInput; output: internal_transfer_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/internal-transfers/{transferId}"; credentialTenant: true; errorCode: "
|
|
262
|
-
readonly "operation.list": { input: operation_listInput; output: operation_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/operations"; credentialTenant: true; errorCode: "
|
|
263
|
-
readonly "operation.retrieve": { input: operation_retrieveInput; output: operation_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/operations/{operationId}"; credentialTenant: true; errorCode: "
|
|
264
|
-
readonly "payment_reminder.delivery.retrieve": { input: payment_reminder_delivery_retrieveInput; output: payment_reminder_delivery_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/payment-reminders/{operationId}"; credentialTenant: true; errorCode: "
|
|
265
|
-
readonly "product.actions.list": { input: product_actions_listInput; output: product_actions_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/actions"; credentialTenant: true; errorCode: "
|
|
266
|
-
readonly "product.activation.retrieve": { input: product_activation_retrieveInput; output: product_activation_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/activation"; credentialTenant: true; errorCode: "
|
|
267
|
-
readonly "product.blocks.summary": { input: product_blocks_summaryInput; output: product_blocks_summaryOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/blocks/summary"; credentialTenant: true; errorCode: "
|
|
268
|
-
readonly "product.books.retrieve": { input: product_books_retrieveInput; output: product_books_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/books"; credentialTenant: true; errorCode: "
|
|
269
|
-
readonly "product.connections.retrieve": { input: product_connections_retrieveInput; output: product_connections_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/connections"; credentialTenant: true; errorCode: "
|
|
270
|
-
readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/earn-rates"; credentialTenant: true; errorCode: "
|
|
271
|
-
readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/products/{productId}/earnings/settlements"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
272
|
-
readonly "product.economic_snapshot.retrieve": { input: product_economic_snapshot_retrieveInput; output: product_economic_snapshot_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/economic-snapshot"; credentialTenant: true; errorCode: "
|
|
273
|
-
readonly "product.guidance.retrieve": { input: product_guidance_retrieveInput; output: product_guidance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/guidance"; credentialTenant: true; errorCode: "
|
|
274
|
-
readonly "product.instruments.list": { input: product_instruments_listInput; output: product_instruments_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/instruments"; credentialTenant: true; errorCode: "
|
|
275
|
-
readonly "product.margin.retrieve": { input: product_margin_retrieveInput; output: product_margin_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/margin"; credentialTenant: true; errorCode: "
|
|
276
|
-
readonly "product.objects.actions": { input: product_objects_actionsInput; output: product_objects_actionsOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions"; credentialTenant: true; errorCode: "
|
|
277
|
-
readonly "product.objects.agreements.evidence.list": { input: product_objects_agreements_evidence_listInput; output: product_objects_agreements_evidence_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/agreements/{instanceId}/evidence"; credentialTenant: true; errorCode: "
|
|
278
|
-
readonly "product.objects.agreements.list": { input: product_objects_agreements_listInput; output: product_objects_agreements_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/agreements"; credentialTenant: true; errorCode: "
|
|
279
|
-
readonly "product.objects.create": { input: product_objects_createInput; output: product_objects_createOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
280
|
-
readonly "product.objects.discover": { input: product_objects_discoverInput; output: product_objects_discoverOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects"; credentialTenant: true; errorCode: "
|
|
281
|
-
readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
282
|
-
readonly "product.objects.list": { input: product_objects_listInput; output: product_objects_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; errorCode: "
|
|
283
|
-
readonly "product.objects.preview": { input: product_objects_previewInput; output: product_objects_previewOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}/preview"; credentialTenant: true; errorCode: "
|
|
284
|
-
readonly "product.objects.retrieve": { input: product_objects_retrieveInput; output: product_objects_retrieveOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}"; credentialTenant: true; errorCode: "
|
|
285
|
-
readonly "product.objects.timeline.list": { input: product_objects_timeline_listInput; output: product_objects_timeline_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/timeline"; credentialTenant: true; errorCode: "
|
|
286
|
-
readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/operation-set"; credentialTenant: true; errorCode: "
|
|
287
|
-
readonly "product.schedule.list": { input: product_schedule_listInput; output: product_schedule_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/schedule"; credentialTenant: true; errorCode: "
|
|
288
|
-
readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; output: product_treasury_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/treasury"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "
|
|
289
|
-
readonly "product.work.list": { input: product_work_listInput; output: product_work_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/work"; credentialTenant: true; errorCode: "
|
|
290
|
-
readonly "receipt.list": { input: receipt_listInput; output: receipt_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts"; credentialTenant: true; errorCode: "
|
|
291
|
-
readonly "receipt.retrieve": { input: receipt_retrieveInput; output: receipt_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts/{receiptId}"; credentialTenant: true; errorCode: "
|
|
292
|
-
readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/account-funding"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "
|
|
293
|
-
readonly "sandbox.clock.advance": { input: sandbox_clock_advanceInput; output: sandbox_clock_advanceOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/clock/advance"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
294
|
-
readonly "sandbox.clock.retrieve": { input: sandbox_clock_retrieveInput; output: sandbox_clock_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/sandbox-clock"; credentialTenant: true; errorCode: "
|
|
295
|
-
readonly "sandbox.customer_access.activate": { input: sandbox_customer_access_activateInput; output: sandbox_customer_access_activateOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/customer-access/{customerAccessId}/activate"; credentialTenant: true; rehearsable: true; errorCode: "
|
|
296
|
-
readonly "usage_record.list": { input: usage_record_listInput; output: usage_record_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/usage-records"; credentialTenant: true; errorCode: "
|
|
297
|
-
readonly "usage_record.retrieve": { input: usage_record_retrieveInput; output: usage_record_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/usage-records/{usageRecordId}"; credentialTenant: true; errorCode: "
|
|
298
|
-
readonly "webhook.delivery.list": { input: webhook_delivery_listInput; output: webhook_delivery_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries"; credentialTenant: true; errorCode: "
|
|
260
|
+
readonly "event.list": { input: event_listInput; output: event_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/events"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
261
|
+
readonly "event.retrieve": { input: event_retrieveInput; output: event_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/events/{eventId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
262
|
+
readonly "internal_transfer.list": { input: internal_transfer_listInput; output: internal_transfer_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/internal-transfers"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
263
|
+
readonly "internal_transfer.retrieve": { input: internal_transfer_retrieveInput; output: internal_transfer_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/internal-transfers/{transferId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
264
|
+
readonly "operation.list": { input: operation_listInput; output: operation_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/operations"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
265
|
+
readonly "operation.retrieve": { input: operation_retrieveInput; output: operation_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/operations/{operationId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
266
|
+
readonly "payment_reminder.delivery.retrieve": { input: payment_reminder_delivery_retrieveInput; output: payment_reminder_delivery_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/payment-reminders/{operationId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
267
|
+
readonly "product.actions.list": { input: product_actions_listInput; output: product_actions_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/actions"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
268
|
+
readonly "product.activation.retrieve": { input: product_activation_retrieveInput; output: product_activation_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/activation"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
269
|
+
readonly "product.blocks.summary": { input: product_blocks_summaryInput; output: product_blocks_summaryOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/blocks/summary"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
270
|
+
readonly "product.books.retrieve": { input: product_books_retrieveInput; output: product_books_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/books"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
271
|
+
readonly "product.connections.retrieve": { input: product_connections_retrieveInput; output: product_connections_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/connections"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
272
|
+
readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/earn-rates"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
273
|
+
readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; principals: "api_key" | "user_session" | "admin_session"; method: "POST"; path: "/v1/products/{productId}/earnings/settlements"; credentialTenant: true; rehearsable: true; errorCode: "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
274
|
+
readonly "product.economic_snapshot.retrieve": { input: product_economic_snapshot_retrieveInput; output: product_economic_snapshot_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/economic-snapshot"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "economic_snapshot_unstable" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
275
|
+
readonly "product.guidance.retrieve": { input: product_guidance_retrieveInput; output: product_guidance_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/guidance"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
276
|
+
readonly "product.instruments.list": { input: product_instruments_listInput; output: product_instruments_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/instruments"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
277
|
+
readonly "product.margin.retrieve": { input: product_margin_retrieveInput; output: product_margin_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/margin"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
278
|
+
readonly "product.objects.actions": { input: product_objects_actionsInput; output: product_objects_actionsOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
279
|
+
readonly "product.objects.agreements.evidence.list": { input: product_objects_agreements_evidence_listInput; output: product_objects_agreements_evidence_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/agreements/{instanceId}/evidence"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
280
|
+
readonly "product.objects.agreements.list": { input: product_objects_agreements_listInput; output: product_objects_agreements_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/agreements"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
281
|
+
readonly "product.objects.create": { input: product_objects_createInput; output: product_objects_createOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "external_id_in_use" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
282
|
+
readonly "product.objects.discover": { input: product_objects_discoverInput; output: product_objects_discoverOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
283
|
+
readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}"; credentialTenant: true; rehearsable: true; errorCode: "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "external_confirmation_conflict" | "external_confirmation_not_found" | "external_confirmation_resource_conflict" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_credential_missing" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "tenant_status_forbidden" | "usage_source_conflict" };
|
|
284
|
+
readonly "product.objects.list": { input: product_objects_listInput; output: product_objects_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
285
|
+
readonly "product.objects.preview": { input: product_objects_previewInput; output: product_objects_previewOutput; principals: "api_key" | "user_session" | "customer_session"; method: "POST"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/actions/{action}/preview"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
286
|
+
readonly "product.objects.retrieve": { input: product_objects_retrieveInput; output: product_objects_retrieveOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
287
|
+
readonly "product.objects.timeline.list": { input: product_objects_timeline_listInput; output: product_objects_timeline_listOutput; principals: "api_key" | "user_session" | "customer_session"; method: "GET"; path: "/v1/products/{productId}/objects/{kind}/{objectId}/timeline"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "customer_access_pending" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
288
|
+
readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/operation-set"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
289
|
+
readonly "product.schedule.list": { input: product_schedule_listInput; output: product_schedule_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/schedule"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
290
|
+
readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; output: product_treasury_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/treasury"; credentialTenant: true; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
291
|
+
readonly "product.work.list": { input: product_work_listInput; output: product_work_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/products/{productId}/work"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
292
|
+
readonly "receipt.list": { input: receipt_listInput; output: receipt_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
293
|
+
readonly "receipt.retrieve": { input: receipt_retrieveInput; output: receipt_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/receipts/{receiptId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
294
|
+
readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/account-funding"; credentialTenant: true; rehearsable: true; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_cap_exceeded" | "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "company_period_closed" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "device_login_expired" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
295
|
+
readonly "sandbox.clock.advance": { input: sandbox_clock_advanceInput; output: sandbox_clock_advanceOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/clock/advance"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_context_mismatch" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
296
|
+
readonly "sandbox.clock.retrieve": { input: sandbox_clock_retrieveInput; output: sandbox_clock_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/sandbox-clock"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
297
|
+
readonly "sandbox.customer_access.activate": { input: sandbox_customer_access_activateInput; output: sandbox_customer_access_activateOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/sandbox/customer-access/{customerAccessId}/activate"; credentialTenant: true; rehearsable: true; errorCode: "agent_reason_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "capability_not_configured" | "csrf_token_invalid" | "customer_access_compliance_forbidden" | "customer_profile_incomplete" | "device_login_expired" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
298
|
+
readonly "usage_record.list": { input: usage_record_listInput; output: usage_record_listOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/usage-records"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
299
|
+
readonly "usage_record.retrieve": { input: usage_record_retrieveInput; output: usage_record_retrieveOutput; principals: "api_key" | "user_session"; method: "GET"; path: "/v1/usage-records/{usageRecordId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
300
|
+
readonly "webhook.delivery.list": { input: webhook_delivery_listInput; output: webhook_delivery_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
299
301
|
readonly "webhook.delivery.resend": { input: webhook_delivery_resendInput; output: webhook_delivery_resendOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries/{webhookDeliveryId}/resend"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "webhook_endpoint_url_mismatch" };
|
|
300
302
|
readonly "webhook.endpoint.create": { input: webhook_endpoint_createInput; output: webhook_endpoint_createOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints"; credentialTenant: true; rehearsable: true; errorCode: "account_not_found" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
301
303
|
readonly "webhook.endpoint.delete": { input: webhook_endpoint_deleteInput; output: webhook_endpoint_deleteOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/delete"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
302
304
|
readonly "webhook.endpoint.disable": { input: webhook_endpoint_disableInput; output: webhook_endpoint_disableOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/disable"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
303
305
|
readonly "webhook.endpoint.enable": { input: webhook_endpoint_enableInput; output: webhook_endpoint_enableOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/enable"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
304
|
-
readonly "webhook.endpoint.list": { input: webhook_endpoint_listInput; output: webhook_endpoint_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints"; credentialTenant: true; errorCode: "
|
|
306
|
+
readonly "webhook.endpoint.list": { input: webhook_endpoint_listInput; output: webhook_endpoint_listOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
305
307
|
readonly "webhook.endpoint.recover": { input: webhook_endpoint_recoverInput; output: webhook_endpoint_recoverOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/recover"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
306
|
-
readonly "webhook.endpoint.retrieve": { input: webhook_endpoint_retrieveInput; output: webhook_endpoint_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints/{webhookEndpointId}"; credentialTenant: true; errorCode: "
|
|
308
|
+
readonly "webhook.endpoint.retrieve": { input: webhook_endpoint_retrieveInput; output: webhook_endpoint_retrieveOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/webhook-endpoints/{webhookEndpointId}"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
307
309
|
readonly "webhook.endpoint.secret.rotate": { input: webhook_endpoint_secret_rotateInput; output: webhook_endpoint_secret_rotateOutput; principals: "api_key" | "user_session"; method: "POST"; path: "/v1/webhook-endpoints/{webhookEndpointId}/secret/rotate"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
308
310
|
readonly "webhook.endpoint.update": { input: webhook_endpoint_updateInput; output: webhook_endpoint_updateOutput; principals: "api_key" | "user_session"; method: "PATCH"; path: "/v1/webhook-endpoints/{webhookEndpointId}"; credentialTenant: true; rehearsable: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "device_login_expired" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "tenant_status_forbidden" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
309
|
-
readonly "webhook.event.catalog": { input: webhook_event_catalogInput; output: webhook_event_catalogOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/webhook-event-catalog"; credentialTenant: true; errorCode: "
|
|
311
|
+
readonly "webhook.event.catalog": { input: webhook_event_catalogInput; output: webhook_event_catalogOutput; principals: "api_key" | "user_session" | "admin_session"; method: "GET"; path: "/v1/products/{productId}/webhook-event-catalog"; credentialTenant: true; errorCode: "agent_token_expired" | "agent_token_replaced" | "approval_rejected" | "approval_required" | "device_login_expired" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" | "tenant_status_forbidden" };
|
|
310
312
|
}
|
|
311
313
|
/** Cursor lists and the field that holds each page's records. */
|
|
312
314
|
export interface ListOperations {
|