@hyperscale0/sdk 3.1.0 → 3.2.1

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/portal.d.ts ADDED
@@ -0,0 +1,807 @@
1
+ // Generated from core/contracts operation descriptors. Do not edit.
2
+ export type ErrorResponse = { readonly "error": ErrorResponse_HyperscaleErrorBody; readonly "requestId": string; };
3
+ type ErrorResponse_HyperscaleErrorBody = { readonly "code": string; readonly "details"?: ErrorResponse_HyperscaleErrorDetails; readonly "message": string; };
4
+ type ErrorResponse_HyperscaleErrorDetails = unknown;
5
+ export type account_balance_retrieveInput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; };
6
+ export type account_balance_retrieveOutput = { readonly "accountId": string; readonly "asOf": 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; };
7
+ export type account_closeInput = { readonly "tenantId": string; readonly "accountId": string; readonly "reason": string; };
8
+ 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"; };
9
+ export type account_createInput = { readonly "tenantId": string; 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": string; readonly "metadata"?: account_createInput_Metadata; };
10
+ type account_createInput_AccountOwner = (account_createInput_TenantAccountOwner | account_createInput_CustomerAccountOwner | account_createInput_ProductAccountOwner);
11
+ type account_createInput_TenantAccountOwner = { readonly "type": "tenant"; readonly "id": string; };
12
+ type account_createInput_CustomerAccountOwner = { readonly "type": "customer"; readonly "id": string; };
13
+ type account_createInput_ProductAccountOwner = { readonly "type": "product"; readonly "id": string; };
14
+ type account_createInput_Metadata = { readonly [key: string]: account_createInput_MetadataValue };
15
+ type account_createInput_MetadataValue = (account_createInput_MetadataScalar | ReadonlyArray<account_createInput_MetadataScalar> | { readonly [key: string]: account_createInput_MetadataScalar });
16
+ type account_createInput_MetadataScalar = (string | number | boolean | null);
17
+ export type account_createOutput = { readonly "accountId": string; readonly "tenantId": string; readonly "owner": account_createOutput_AccountOwner; readonly "productId"?: string; readonly "role": "tenant_billing" | "tenant_credit" | "tenant_settlement" | "customer_balance" | "customer_investment" | "product_pool" | "product_credit" | "product_revenue"; readonly "currency": string; readonly "normalBalance": "debit" | "credit"; readonly "status": "open"; };
18
+ type account_createOutput_AccountOwner = (account_createOutput_TenantAccountOwner | account_createOutput_CustomerAccountOwner | account_createOutput_ProductAccountOwner);
19
+ type account_createOutput_TenantAccountOwner = { readonly "type": "tenant"; readonly "id": string; };
20
+ type account_createOutput_CustomerAccountOwner = { readonly "type": "customer"; readonly "id": string; };
21
+ type account_createOutput_ProductAccountOwner = { readonly "type": "product"; readonly "id": string; };
22
+ export type account_freezeInput = { readonly "tenantId": string; readonly "accountId": string; readonly "reason": string; readonly "reasonClass": "customer_request"; };
23
+ 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"; };
24
+ export type account_hold_listInput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
25
+ 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; };
26
+ export type account_hold_retrieveInput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "transferId": string; };
27
+ 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; };
28
+ export type account_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: 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" | "provider_payable" | "platform_suspense"; readonly "status"?: "pending" | "open" | "frozen" | "closed"; };
29
+ 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" | "provider_payable" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "beneficiaryId"?: string; 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 "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 }; };
30
+ export type account_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "accountId": string; };
31
+ export type account_retrieveOutput = { readonly "item": { 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" | "provider_payable" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "beneficiaryId"?: string; 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 "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "updatedAt": string; readonly "createdAt"?: string; }; };
32
+ export type account_statement_exportInput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "period": string; };
33
+ 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; };
34
+ export type account_statement_retrieveInput = { readonly "tenantId": string; readonly "accountId": string; readonly "productId"?: string; readonly "period": string; readonly "cutoff"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
35
+ 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 "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 "transferId": string; }>; };
36
+ export type account_unfreezeInput = { readonly "tenantId": string; readonly "accountId": string; readonly "reason": string; };
37
+ 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"; };
38
+ export type activity_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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"; };
39
+ export type activity_listOutput = { readonly "items": ReadonlyArray<({ 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" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "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" | "deposit" | "expected_payment" | "internal_transfer" | "payout"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "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" | "deposit" | "expected_payment" | "internal_transfer" | "payout"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; })>; readonly "nextCursor"?: string; };
40
+ export type activity_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "activityId": string; };
41
+ 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" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "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" | "deposit" | "expected_payment" | "internal_transfer" | "payout"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; } | { readonly "activityId": string; readonly "occurredAt": string; readonly "receiptId"?: string; readonly "requestId"?: string; readonly "sourceSurface"?: string; readonly "evidence": ReadonlyArray<{ readonly "kind": "ledger" | "local" | "external"; readonly "reference": string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "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" | "deposit" | "expected_payment" | "internal_transfer" | "payout"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "operationId": null; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "auditEventId": string; readonly "auditEvent": string; readonly "auditEventBody"?: { readonly [key: string]: unknown }; });
42
+ export type api_key_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "productId"?: string; readonly "status"?: "active" | "revoked"; };
43
+ export type api_key_listOutput = { readonly "items": ReadonlyArray<{ readonly "apiKeyId": string; readonly "tenantId": string; readonly "name"?: string; readonly "productId"?: string; readonly "capabilityScope"?: ReadonlyArray<string>; readonly "status"?: "active" | "revoked"; readonly "principalId"?: string; readonly "scopes"?: ReadonlyArray<string>; readonly "role"?: string; readonly "decisionAuthority"?: ({ readonly "accountId": string; readonly "role": string; } | null); readonly "createdAt"?: string; readonly "lastUsedAt": (string | null); }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
44
+ export type api_key_live_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "name": string; readonly "expiresAt"?: string; readonly "decisionAuthority"?: unknown; readonly "capabilities"?: ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; };
45
+ export type api_key_live_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "principalId": string; readonly "apiKeyId": string; readonly "secret"?: string; readonly "status": "active"; readonly "expiresAt": string; readonly "scopes": ReadonlyArray<string>; readonly "allowedOperationIds": ReadonlyArray<string>; readonly "capabilityScope": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; };
46
+ export type api_key_retrieveInput = { readonly "tenantId": string; readonly "apiKeyId": string; };
47
+ export type api_key_retrieveOutput = { readonly "item": { readonly "apiKeyId": string; readonly "tenantId": string; readonly "name"?: string; readonly "productId"?: string; readonly "capabilityScope"?: ReadonlyArray<string>; readonly "status"?: "active" | "revoked"; readonly "principalId"?: string; readonly "scopes"?: ReadonlyArray<string>; readonly "role"?: string; readonly "decisionAuthority"?: ({ readonly "accountId": string; readonly "role": string; } | null); readonly "createdAt"?: string; readonly "lastUsedAt": (string | null); }; };
48
+ export type api_key_revokeInput = { readonly "tenantId": string; readonly "productId": string; readonly "apiKeyId": string; };
49
+ export type api_key_revokeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "apiKeyId": string; readonly "updatedAt": string; readonly "status": "revoked" | "already_revoked"; };
50
+ export type api_key_sandbox_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "name": string; readonly "expiresAt"?: string; readonly "decisionAuthority"?: { readonly "accountId": string; readonly "role": string; }; readonly "capabilities"?: ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; };
51
+ export type api_key_sandbox_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "principalId": string; readonly "apiKeyId": string; readonly "secret"?: string; readonly "status": "active"; readonly "expiresAt": string; readonly "scopes": ReadonlyArray<string>; readonly "allowedOperationIds": ReadonlyArray<string>; readonly "capabilityScope": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; };
52
+ export type audit_event_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
53
+ export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": 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 }; };
54
+ export type audit_event_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "auditEventId": string; };
55
+ export type audit_event_retrieveOutput = { readonly "item": { readonly "auditEventId": string; readonly "tenantId": 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; }; };
56
+ export type beneficiary_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled"; };
57
+ export type beneficiary_listOutput = { readonly "items": ReadonlyArray<{ readonly "beneficiaryId": string; readonly "tenantId": string; readonly "name"?: string; readonly "ownerParticipantId"?: string; readonly "accountAddress"?: string; readonly "status"?: "pending" | "active" | "disabled"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
58
+ export type beneficiary_retrieveInput = { readonly "tenantId": string; readonly "beneficiaryId": string; };
59
+ export type beneficiary_retrieveOutput = { readonly "item": { readonly "beneficiaryId": string; readonly "tenantId": string; readonly "name"?: string; readonly "ownerParticipantId"?: string; readonly "accountAddress"?: string; readonly "status"?: "pending" | "active" | "disabled"; readonly "createdAt"?: string; }; };
60
+ export type billing_period_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "open" | "snapshotted" | "finalized" | "voided"; };
61
+ export type billing_period_listOutput = { readonly "items": ReadonlyArray<{ readonly "billingPeriodId": string; readonly "tenantId": string; readonly "id": string; readonly "productId"?: string; readonly "periodStart"?: string; readonly "periodEnd"?: string; readonly "status"?: "open" | "snapshotted" | "finalized" | "voided"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
62
+ export type billing_period_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "billingPeriodId": string; };
63
+ export type billing_period_retrieveOutput = { readonly "item": { readonly "billingPeriodId": string; readonly "tenantId": string; readonly "id": string; readonly "productId"?: string; readonly "periodStart"?: string; readonly "periodEnd"?: string; readonly "status"?: "open" | "snapshotted" | "finalized" | "voided"; readonly "createdAt"?: string; }; };
64
+ export type catalog_authorInput = { readonly "tenantId": string; readonly "source": string; readonly "expectedHeadRevisionId"?: (string | null); readonly "metadata"?: { readonly [key: string]: unknown }; };
65
+ export type catalog_authorOutput = { readonly "tenantId": string; readonly "catalogRevisionId": string; readonly "parentCatalogRevisionId"?: string; readonly "programName": string; readonly "sourceDigest": string; readonly "documentDigest": string; readonly "overlayDigest": string; readonly "instrumentIds": ReadonlyArray<string>; readonly "publicActions": ReadonlyArray<catalog_authorOutput_ProductPublicAction>; readonly "warnings": ReadonlyArray<{ readonly "code": string; readonly "stage": "parse" | "check" | "lower" | "udl" | "law" | "projection"; readonly "severity": "error" | "warning"; readonly "message": string; readonly "law"?: string; readonly "path"?: string; readonly "span"?: { readonly "start": number; readonly "end": number; readonly "line": number; readonly "column": number; }; }>; readonly "status": "published"; };
66
+ type catalog_authorOutput_ProductPublicAction = { readonly "name": string; readonly "instrument": string; readonly "inputSchema": { readonly [key: string]: catalog_authorOutput_JsonValue }; readonly "outputSchema": { readonly [key: string]: catalog_authorOutput_JsonValue }; readonly "actorPolicy": { readonly "principal": "api_key" | "customer_session" | "user_session"; readonly "staffAuthority"?: { readonly "party": string; readonly "role": "credit_underwriter"; readonly "permission": "credit:underwrite"; }; }; 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">; }; };
67
+ type catalog_authorOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<catalog_authorOutput_JsonValue> | { readonly [key: string]: catalog_authorOutput_JsonValue });
68
+ export type charge_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "billingPeriodId"?: string; readonly "status"?: "accepted" | "posted" | "voided" | "failed"; };
69
+ export type charge_listOutput = { readonly "items": ReadonlyArray<{ readonly "chargeId": string; readonly "tenantId": string; readonly "description": string; readonly "billingPeriodId"?: string; readonly "transferId"?: string; readonly "debitAccountId": string; readonly "creditAccountId": string; readonly "amount"?: string; readonly "currency"?: string; readonly "status"?: "accepted" | "posted" | "voided" | "failed"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
70
+ export type charge_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "chargeId": string; };
71
+ export type charge_retrieveOutput = { readonly "item": { readonly "chargeId": string; readonly "tenantId": string; readonly "description": string; readonly "billingPeriodId"?: string; readonly "transferId"?: string; readonly "debitAccountId": string; readonly "creditAccountId": string; readonly "amount"?: string; readonly "currency"?: string; readonly "status"?: "accepted" | "posted" | "voided" | "failed"; readonly "createdAt"?: string; }; };
72
+ export type collection_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
73
+ export type collection_listOutput = { readonly "items": ReadonlyArray<{ readonly "collectionId": string; readonly "tenantId": string; readonly "id": string; readonly "amount"?: string; readonly "currency"?: string; readonly "status"?: "reserved" | "captured" | "cancelled" | "failed"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
74
+ export type collection_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "collectionId": string; };
75
+ export type collection_retrieveOutput = { readonly "item": { readonly "collectionId": string; readonly "tenantId": string; readonly "id": string; readonly "amount"?: string; readonly "currency"?: string; readonly "status"?: "reserved" | "captured" | "cancelled" | "failed"; readonly "createdAt"?: string; }; };
76
+ export type composer_authorInput = { readonly "tenantId": string; readonly "turnId": string; readonly "intent": "author" | "explain" | "guide"; readonly "baseSourceDigest": string; readonly "history"?: ReadonlyArray<{ readonly "role": "user" | "model"; readonly "text": string; }>; readonly "catalogRevisionId"?: string; readonly "productId"?: string; readonly "brief": string; readonly "source"?: string; readonly "diagnostics"?: string; };
77
+ export type composer_authorOutput = ({ readonly "turnId": string; readonly "sequence": number; readonly "event": "accepted"; readonly "model": string; readonly "corpusDigest": string; readonly "sourceDigest": string; readonly "deadline": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "text"; readonly "delta": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "tool"; readonly "callId": string; readonly "name": "propose_source" | "read_header"; readonly "state": "started" | "finished"; readonly "summary": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "proposal"; readonly "source": string; readonly "sourceDigest": string; readonly "baseSourceDigest": string; readonly "compilerVersion": string; readonly "catalogRevisionId": (string | null); readonly "check": composer_authorOutput_ComposerCheckResult; readonly "limitations"?: ReadonlyArray<{ readonly "requirement": string; readonly "explanation": string; }>; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "usage"; readonly "requests": number; readonly "requestsDetail"?: ReadonlyArray<{ readonly "durationMs": number; readonly "thinkingLevel": "LOW" | "MEDIUM"; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "complete": boolean; readonly "estimatedUsd"?: number; }>; readonly "uncachedInput": number; readonly "cachedInput": number; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "estimatedUsd": number; readonly "priceVersion": string; readonly "complete": boolean; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "done"; readonly "outcome": "complete" | "invalid" | "cancelled" | "failed"; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "error"; readonly "failure"?: { readonly "originalCode": string; readonly "proposalSaved": boolean; readonly "proposalValid": boolean | null; }; readonly "code": string; readonly "message": string; readonly "retryable": boolean; });
78
+ type composer_authorOutput_ComposerCheckResult = { readonly "ok": boolean; readonly "issues": ReadonlyArray<composer_authorOutput_ComposerIssue>; readonly "declaredParties": ({ readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } } | null); readonly "requiredPartyBindings": (ReadonlyArray<string> | null); };
79
+ type composer_authorOutput_ComposerIssue = { readonly "code": string; readonly "message": string; readonly "path": string; readonly "fix"?: string; };
80
+ export type composer_catalogInput = { readonly "tenantId": string; };
81
+ export type composer_catalogOutput = { readonly "operationId": string; readonly "receiptId": string; readonly "udl": 4; readonly "headers": ReadonlyArray<{ readonly "name": string; readonly "objects": ReadonlyArray<{ readonly "name": string; readonly "qualifiedName": string; readonly "signature": string; readonly "states": ReadonlyArray<string>; readonly "summary": string; readonly "authoringTemplate": { readonly "source": string; readonly "requiredImport": string; readonly "instancePlaceholder": string; readonly "requiredBindings": ReadonlyArray<{ readonly "name": string; readonly "type": string; readonly "placeholder": string; }>; }; readonly "tunables": ReadonlyArray<{ readonly "name": string; readonly "type": string; readonly "required": boolean; readonly "default"?: string; readonly "values"?: ReadonlyArray<string>; readonly "minimum"?: (number | string); readonly "maximum"?: (number | string); }>; readonly "dependencies": ReadonlyArray<{ readonly "binding": string; readonly "when": string; readonly "is": string; readonly "message": string; readonly "fix": string; }>; readonly "parameterDiagnostics": ReadonlyArray<{ readonly "parameter": string; readonly "accepts": string; readonly "percentage": string; readonly "fix": string; }>; readonly "constraints": ReadonlyArray<{ readonly "tunable": string; readonly "relation": "less_than" | "at_most" | "greater_than"; readonly "other": string; }>; readonly "parties": ReadonlyArray<string>; readonly "subject": ReadonlyArray<{ readonly "name": string; readonly "type": string; }>; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "summary": string; readonly "actor": string; }>; }>; }>; };
82
+ export type composer_checkInput = { readonly "tenantId": string; readonly "catalogRevisionId"?: string; readonly "document": (string | { readonly [key: string]: unknown }); };
83
+ export type composer_checkOutput = { readonly "ok": boolean; readonly "issues": ReadonlyArray<composer_checkOutput_ComposerIssue>; readonly "declaredParties": ({ readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } } | null); readonly "requiredPartyBindings": (ReadonlyArray<string> | null); readonly "operationId": string; readonly "receiptId": string; };
84
+ type composer_checkOutput_ComposerIssue = { readonly "code": string; readonly "message": string; readonly "path": string; readonly "fix"?: string; };
85
+ export type composer_planInput = { readonly "tenantId": string; readonly "catalogRevisionId"?: string; readonly "productId"?: string; readonly "document"?: (string | { readonly [key: string]: unknown }); readonly "partyBindings": { readonly [key: string]: string }; readonly "instrumentIds"?: ReadonlyArray<string>; readonly "extensionIds"?: ReadonlyArray<"money" | "marketplace" | "escrow" | "wallet" | "financing" | "lending" | "insurance" | "collections" | "travel" | "cards" | "savings" | "reporting">; };
86
+ export type composer_planOutput = { readonly "operationId": string; readonly "receiptId": string; readonly "catalogRevisionId": (string | null); readonly "digest": string; readonly "configuration": { readonly "partyBindings": { readonly [key: string]: string }; }; readonly "declaredParties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "summary": string; readonly "actions": ReadonlyArray<composer_planOutput_ComposerPlanAction>; readonly "exposureDelta"?: composer_planOutput_ComposerExposureDelta; readonly "pricing": composer_planOutput_ComposerPlanPricing; readonly "liveBlockedCapabilityIds"?: ReadonlyArray<string>; };
87
+ type composer_planOutput_ComposerPlanAction = { readonly "kind": "configure_product" | "create_instrument" | "extend_instrument"; readonly "target": string; readonly "detail": string; };
88
+ type composer_planOutput_ComposerExposureDelta = { readonly "addedAliases": ReadonlyArray<string>; readonly "removedAliases": ReadonlyArray<string>; };
89
+ type composer_planOutput_ComposerPlanPricing = { readonly "complexityScore": number; readonly "monthly": string; readonly "activation": string; readonly "currency": string; readonly "current"?: (composer_planOutput_ProductPricingCurrent | null); readonly "scheduled"?: (composer_planOutput_ProductPricingScheduled | null); };
90
+ type composer_planOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<composer_planOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
91
+ type composer_planOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
92
+ type composer_planOutput_ProductPricingScheduled = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<composer_planOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; readonly "effectiveAt": string; };
93
+ export type consent_grantInput = { readonly "tenantId": string; readonly "productId": string; readonly "subjectKind": "customer" | "customer_access" | "entity"; readonly "subjectId": string; readonly "customerId"?: string; readonly "providers": ReadonlyArray<string>; readonly "dataCategories": ReadonlyArray<string>; readonly "version": string; readonly "expiresAt": string; readonly "metadata"?: { readonly [key: string]: unknown }; };
94
+ export type consent_grantOutput = { readonly "consentId": string; readonly "tenantId": string; readonly "productId": string; readonly "subjectKind": "customer" | "customer_access" | "entity"; readonly "subjectId": string; readonly "customerId"?: string; readonly "providers": ReadonlyArray<string>; readonly "dataCategories": ReadonlyArray<string>; readonly "version": string; readonly "status": "active" | "expired" | "revoked"; readonly "grantedAt": string; readonly "expiresAt": string; readonly "metadata": { readonly [key: string]: unknown }; };
95
+ export type consent_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "active" | "expired" | "revoked"; };
96
+ export type consent_listOutput = { readonly "items": ReadonlyArray<{ readonly "consentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "subjectId"?: string; readonly "subjectKind"?: string; readonly "status"?: "active" | "expired" | "revoked"; readonly "version"?: string; readonly "expiresAt"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
97
+ export type consent_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "consentId": string; };
98
+ export type consent_retrieveOutput = { readonly "item": { readonly "consentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "subjectId"?: string; readonly "subjectKind"?: string; readonly "status"?: "active" | "expired" | "revoked"; readonly "version"?: string; readonly "expiresAt"?: string; readonly "createdAt"?: string; }; };
99
+ export type consent_revokeInput = { readonly "tenantId": string; readonly "productId": string; readonly "consentId": string; readonly "reason": string; };
100
+ export type consent_revokeOutput = { readonly "consentId": string; readonly "tenantId": string; readonly "productId": string; readonly "subjectKind": "customer" | "customer_access" | "entity"; readonly "subjectId": string; readonly "status": "revoked"; readonly "revokedAt": string; readonly "reason": string; };
101
+ export type customer_access_closeInput = { readonly "tenantId": string; readonly "customerAccessId": string; readonly "reason": string; };
102
+ export type customer_access_closeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "customerAccessId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "pending" | "active" | "suspended"; readonly "status": "closed"; };
103
+ export type customer_access_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "metadata"?: customer_access_createInput_Metadata; };
104
+ type customer_access_createInput_Metadata = { readonly [key: string]: customer_access_createInput_MetadataValue };
105
+ type customer_access_createInput_MetadataValue = (customer_access_createInput_MetadataScalar | ReadonlyArray<customer_access_createInput_MetadataScalar> | { readonly [key: string]: customer_access_createInput_MetadataScalar });
106
+ type customer_access_createInput_MetadataScalar = (string | number | boolean | null);
107
+ export type customer_access_createOutput = { readonly "customerAccessId": string; readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "status": "pending" | "active" | "suspended" | "closed"; readonly "amlStatus": "not_screened" | "clear" | "review" | "blocked"; };
108
+ export type customer_access_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; };
109
+ export type customer_access_listOutput = { readonly "items": ReadonlyArray<{ readonly "customerAccessId": string; readonly "tenantId": string; readonly "id": string; readonly "customerId"?: string; readonly "productId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
110
+ export type customer_access_reactivateInput = { readonly "tenantId": string; readonly "customerAccessId": string; readonly "reason": string; };
111
+ export type customer_access_reactivateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "customerAccessId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "suspended"; readonly "status": "active"; };
112
+ export type customer_access_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "customerAccessId": string; };
113
+ export type customer_access_retrieveOutput = { readonly "item": { readonly "customerAccessId": string; readonly "tenantId": string; readonly "id": string; readonly "customerId"?: string; readonly "productId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; }; };
114
+ export type customer_access_suspendInput = { readonly "tenantId": string; readonly "customerAccessId": string; readonly "reason": string; };
115
+ export type customer_access_suspendOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "customerAccessId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active"; readonly "status": "suspended"; };
116
+ export type customer_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "entity": { readonly "kind": "person" | "organization"; readonly "displayName": string; readonly "country": string; }; };
117
+ 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"; readonly "customerAccessId": string; };
118
+ export type customer_data_exportInput = { readonly "tenantId": string; readonly "customerId": string; };
119
+ export type customer_data_exportOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "customerId": string; readonly "generatedAt": string; readonly "customer": { readonly "customerId": string; readonly "externalReference": string | null; readonly "status": "pending" | "active" | "disabled" | "erased"; readonly "createdAt": string; }; readonly "entity": { readonly "entityId": string; readonly "kind": "person" | "organization"; readonly "displayName": string; readonly "country": string; readonly "status": "pending" | "verified" | "rejected" | "disabled"; }; readonly "accessBindings": ReadonlyArray<{ readonly "customerAccessId": string; readonly "productId": string; readonly "status": "pending" | "active" | "suspended" | "closed"; readonly "amlStatus": "not_screened" | "clear" | "review" | "blocked"; readonly "metadata": { readonly [key: string]: unknown }; readonly "evidence": { readonly [key: string]: unknown }; readonly "createdAt": string; }>; };
120
+ export type customer_disableInput = { readonly "tenantId": string; readonly "customerId": string; readonly "reason": string; };
121
+ export type customer_disableOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active"; readonly "status": "disabled"; };
122
+ export type customer_eraseInput = { readonly "tenantId": string; readonly "customerId": string; readonly "reason": string; };
123
+ export type customer_eraseOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "disabled"; readonly "status": "erased"; };
124
+ export type customer_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "erased"; };
125
+ export type customer_listOutput = { readonly "items": ReadonlyArray<{ readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "principalId": string; readonly "externalReference"?: string; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
126
+ export type customer_reactivateInput = { readonly "tenantId": string; readonly "customerId": string; readonly "reason": string; };
127
+ export type customer_reactivateOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "disabled"; readonly "status": "active"; };
128
+ export type customer_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "customerId": string; };
129
+ export type customer_retrieveOutput = { readonly "item": { readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "principalId": string; readonly "externalReference"?: string; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; }; };
130
+ export type customer_updateInput = { readonly "tenantId": string; readonly "customerId": string; readonly "externalReference": (string | null); };
131
+ export type customer_updateOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "externalReference": (string | null); readonly "status": "pending" | "active" | "disabled" | "erased"; readonly "updatedAt": string; };
132
+ export type deposit_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "received" | "returned"; };
133
+ export type deposit_listOutput = { readonly "items": ReadonlyArray<{ readonly "depositId": string; readonly "tenantId": string; readonly "accountId"?: string; readonly "financialAddressId"?: string; readonly "expectedPaymentId"?: string; readonly "amount"?: string; readonly "currency"?: string; readonly "transferId"?: string; readonly "externalConfirmationId"?: string; readonly "returnExternalConfirmationId"?: string; readonly "operationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "received" | "returned"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
134
+ export type deposit_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "depositId": string; };
135
+ export type deposit_retrieveOutput = { readonly "item": { readonly "depositId": string; readonly "tenantId": string; readonly "accountId"?: string; readonly "financialAddressId"?: string; readonly "expectedPaymentId"?: string; readonly "amount"?: string; readonly "currency"?: string; readonly "transferId"?: string; readonly "externalConfirmationId"?: string; readonly "returnExternalConfirmationId"?: string; readonly "operationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "received" | "returned"; readonly "createdAt"?: string; }; };
136
+ export type developer_log_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "resourceId"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "principalId"?: string; readonly "requestId"?: string; };
137
+ export type developer_log_listOutput = { readonly "items": ReadonlyArray<{ 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" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "audit": ReadonlyArray<{ readonly "auditEventId": string; readonly "event": string; readonly "level"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "body"?: { readonly [key: string]: unknown }; readonly "occurredAt": string; }>; readonly "principalId"?: string; readonly "finalizedAt"?: string; readonly "latencyMs"?: number; }>; readonly "nextCursor"?: string; };
138
+ export type developer_log_retrieveInput = { readonly "tenantId": string; readonly "operationId": string; };
139
+ export type developer_log_retrieveOutput = { readonly "tenantId": string; readonly "log": { 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" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; 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 "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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 "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "audit": ReadonlyArray<{ readonly "auditEventId": string; readonly "event": string; readonly "level"?: string; readonly "resourceKind"?: ("account" | "activity" | "financial_address" | "api_key" | "audit" | "product_capability" | "charge" | "collection" | "consent" | "customer" | "beneficiary" | "deposit" | "entity" | "expected_payment" | "instrument_instance" | "business_object" | "operation" | "payout" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "statement_line" | "reconciliation_run" | "reconciliation_break" | "reporting_artifact" | "wedged_money_repair" | "reconciliation_break_repair" | "attribution_queue" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "billing_period" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "body"?: { readonly [key: string]: unknown }; readonly "occurredAt": string; }>; readonly "principalId"?: string; readonly "finalizedAt"?: string; readonly "latencyMs"?: number; }; };
140
+ export type entity_updateInput = { readonly "tenantId": string; readonly "entityId": string; readonly "reason": string; readonly "displayName"?: string; readonly "country"?: string; };
141
+ export type entity_updateOutput = { readonly "tenantId": string; readonly "entityId": string; readonly "updatedAt": string; readonly "reason": string; readonly "displayName": string; readonly "country": string; readonly "status": "pending"; };
142
+ export type event_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "resourceId"?: string; readonly "event"?: string; };
143
+ 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; };
144
+ export type event_retrieveInput = { readonly "tenantId": string; readonly "eventId": string; };
145
+ 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; }; };
146
+ export type expected_payment_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "expected" | "partially_received" | "received" | "overdue" | "canceled"; };
147
+ export type expected_payment_listOutput = { readonly "items": ReadonlyArray<{ readonly "expectedPaymentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "accountId"?: string; readonly "financialAddressId"?: string; readonly "amountMin"?: string; readonly "amountMax"?: string; readonly "amountReceived"?: string; readonly "currency"?: string; readonly "windowStart"?: string; readonly "windowEnd"?: string; readonly "reference"?: string; readonly "createdOperationId"?: string; readonly "updatedOperationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "expected" | "partially_received" | "received" | "overdue" | "canceled"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
148
+ export type expected_payment_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "expectedPaymentId": string; };
149
+ export type expected_payment_retrieveOutput = { readonly "item": { readonly "expectedPaymentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "accountId"?: string; readonly "financialAddressId"?: string; readonly "amountMin"?: string; readonly "amountMax"?: string; readonly "amountReceived"?: string; readonly "currency"?: string; readonly "windowStart"?: string; readonly "windowEnd"?: string; readonly "reference"?: string; readonly "createdOperationId"?: string; readonly "updatedOperationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "expected" | "partially_received" | "received" | "overdue" | "canceled"; readonly "createdAt"?: string; }; };
150
+ export type extension_listInput = { readonly "limit"?: number; readonly "cursor"?: string; };
151
+ export type extension_listOutput = { readonly "items": ReadonlyArray<{ readonly "id": "money" | "marketplace" | "escrow" | "wallet" | "financing" | "lending" | "insurance" | "collections" | "travel" | "cards" | "savings" | "reporting"; readonly "title": string; readonly "objects": ReadonlyArray<{ readonly "name": string; readonly "qualifiedName": string; readonly "signature": string; readonly "states": ReadonlyArray<string>; readonly "summary": string; readonly "authoringTemplate": { readonly "source": string; readonly "requiredImport": string; readonly "instancePlaceholder": string; readonly "requiredBindings": ReadonlyArray<{ readonly "name": string; readonly "type": string; readonly "placeholder": string; }>; }; readonly "tunables": ReadonlyArray<{ readonly "name": string; readonly "type": string; readonly "required": boolean; readonly "default"?: string; readonly "values"?: ReadonlyArray<string>; readonly "minimum"?: (number | string); readonly "maximum"?: (number | string); }>; readonly "dependencies": ReadonlyArray<{ readonly "binding": string; readonly "when": string; readonly "is": string; readonly "message": string; readonly "fix": string; }>; readonly "parameterDiagnostics": ReadonlyArray<{ readonly "parameter": string; readonly "accepts": string; readonly "percentage": string; readonly "fix": string; }>; readonly "constraints": ReadonlyArray<{ readonly "tunable": string; readonly "relation": "less_than" | "at_most" | "greater_than"; readonly "other": string; }>; readonly "parties": ReadonlyArray<string>; readonly "subject": ReadonlyArray<{ readonly "name": string; readonly "type": string; }>; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "summary": string; readonly "actor": string; }>; }>; }>; readonly "nextCursor"?: string; };
152
+ export type external_confirmation_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
153
+ export type external_confirmation_listOutput = { readonly "items": ReadonlyArray<{ readonly "externalConfirmationId": string; readonly "tenantId": string; readonly "id": string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: string; readonly "operationId"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
154
+ export type external_confirmation_retrieveInput = { readonly "tenantId": string; readonly "externalConfirmationId": string; };
155
+ export type external_confirmation_retrieveOutput = { readonly "item": { readonly "externalConfirmationId": string; readonly "tenantId": string; readonly "id": string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: string; readonly "operationId"?: string; readonly "createdAt"?: string; }; };
156
+ export type financial_address_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "requested" | "active" | "disabled"; };
157
+ export type financial_address_listOutput = { readonly "items": ReadonlyArray<{ readonly "financialAddressId": string; readonly "tenantId": string; readonly "address"?: string; readonly "accountId"?: string; readonly "purpose"?: string; readonly "status"?: "requested" | "active" | "disabled"; readonly "activeAt"?: string; readonly "addressClass"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
158
+ export type financial_address_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "financialAddressId": string; };
159
+ export type financial_address_retrieveOutput = { readonly "item": { readonly "financialAddressId": string; readonly "tenantId": string; readonly "address"?: string; readonly "accountId"?: string; readonly "purpose"?: string; readonly "status"?: "requested" | "active" | "disabled"; readonly "activeAt"?: string; readonly "addressClass"?: string; readonly "createdAt"?: string; }; };
160
+ export type internal_transfer_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "settled" | "reversed" | "accepted" | "reserved" | "posted" | "voided" | "failed"; };
161
+ 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 "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
162
+ type internal_transfer_listOutput_Metadata = { readonly [key: string]: internal_transfer_listOutput_MetadataValue };
163
+ type internal_transfer_listOutput_MetadataValue = (internal_transfer_listOutput_MetadataScalar | ReadonlyArray<internal_transfer_listOutput_MetadataScalar> | { readonly [key: string]: internal_transfer_listOutput_MetadataScalar });
164
+ type internal_transfer_listOutput_MetadataScalar = (string | number | boolean | null);
165
+ export type internal_transfer_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "transferId": string; };
166
+ export type internal_transfer_retrieveOutput = { readonly "item": { 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_retrieveOutput_Metadata; readonly "correctsTransferId"?: string; readonly "operationId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "createdAt"?: string; }; };
167
+ type internal_transfer_retrieveOutput_Metadata = { readonly [key: string]: internal_transfer_retrieveOutput_MetadataValue };
168
+ type internal_transfer_retrieveOutput_MetadataValue = (internal_transfer_retrieveOutput_MetadataScalar | ReadonlyArray<internal_transfer_retrieveOutput_MetadataScalar> | { readonly [key: string]: internal_transfer_retrieveOutput_MetadataScalar });
169
+ type internal_transfer_retrieveOutput_MetadataScalar = (string | number | boolean | null);
170
+ export type operation_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; };
171
+ export type operation_listOutput = { readonly "items": ReadonlyArray<{ readonly "operationId": string; readonly "tenantId"?: string; readonly "name": string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
172
+ export type operation_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "operationId": string; };
173
+ export type operation_retrieveOutput = { readonly "item": { readonly "operationId": string; readonly "tenantId"?: string; readonly "name": string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "createdAt"?: string; }; };
174
+ export type payment_reminder_delivery_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "operationId": string; };
175
+ 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": "payment_reminder"; 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; }>; };
176
+ export type payout_evidence_retrieveInput = { readonly "tenantId": string; readonly "payoutId": string; readonly "limit"?: number; readonly "cursor"?: string; };
177
+ export type payout_evidence_retrieveOutput = { readonly "payoutId": string; readonly "origin": ({ readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "action": string; readonly "instrument": string; readonly "instanceId": string; } | null); readonly "operationId": string; readonly "submissionOperationId": string | null; readonly "receiptIds": ReadonlyArray<string>; readonly "providerEvents": { readonly "items": ReadonlyArray<{ readonly "eventId": string; readonly "providerEventId": string; readonly "provider": string; readonly "eventKind": string; readonly "status": string; readonly "occurredAt": string; readonly "externalConfirmationId": string; readonly "operationId": string | null; readonly "receiptId": string | null; }>; readonly "nextCursor"?: string; }; readonly "confirmations": ReadonlyArray<{ readonly "confirmationId": string; readonly "provider": string; readonly "providerReference": string; readonly "operationId": string; readonly "occurredAt": string; readonly "kind": "execution" | "return"; }>; readonly "statement": ({ readonly "statementLineId": string; readonly "amount": string; readonly "currency": string; readonly "occurredAt": string; readonly "valueDate": string; readonly "source": string; readonly "providerReference": string | null; } | null); };
178
+ export type payout_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "created" | "processing" | "completed" | "failed" | "returned"; };
179
+ export type payout_listOutput = { readonly "items": ReadonlyArray<{ readonly "payoutId": string; readonly "tenantId": string; readonly "originProductId"?: string; readonly "originProductBuildId"?: string; readonly "originBuildDigest"?: string; readonly "originAction"?: string; readonly "owningInstrumentId"?: string; readonly "owningInstrumentInstanceId"?: string; readonly "sourceAccountId"?: string; readonly "beneficiaryId"?: string; readonly "amount"?: string; readonly "currency"?: string; readonly "speed"?: string; readonly "transferId"?: string; readonly "externalConfirmationId"?: string; readonly "returnExternalConfirmationId"?: string; readonly "operationId"?: string; readonly "estimatedCompletionAt"?: string; readonly "failureReason"?: string; readonly "returnReason"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "created" | "processing" | "completed" | "failed" | "returned"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
180
+ export type payout_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "payoutId": string; };
181
+ export type payout_retrieveOutput = { readonly "item": { readonly "payoutId": string; readonly "tenantId": string; readonly "originProductId"?: string; readonly "originProductBuildId"?: string; readonly "originBuildDigest"?: string; readonly "originAction"?: string; readonly "owningInstrumentId"?: string; readonly "owningInstrumentInstanceId"?: string; readonly "sourceAccountId"?: string; readonly "beneficiaryId"?: string; readonly "amount"?: string; readonly "currency"?: string; readonly "speed"?: string; readonly "transferId"?: string; readonly "externalConfirmationId"?: string; readonly "returnExternalConfirmationId"?: string; readonly "operationId"?: string; readonly "estimatedCompletionAt"?: string; readonly "failureReason"?: string; readonly "returnReason"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "ownerName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "status"?: "created" | "processing" | "completed" | "failed" | "returned"; readonly "createdAt"?: string; }; };
182
+ export type personal_access_token_createInput = { readonly "tenantId": string; readonly "name": string; readonly "scopes"?: ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; readonly "expiresAt"?: string; };
183
+ export type personal_access_token_createOutput = { readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "personalAccessTokenId": string; readonly "name": string; readonly "scopes": ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; readonly "expiresAt": string; readonly "status": "active"; readonly "secret"?: string; };
184
+ export type personal_access_token_currentInput = { readonly "tenantId": string; };
185
+ export type personal_access_token_currentOutput = { readonly "userId": string; readonly "email": string; readonly "tenantId": string; readonly "teamId": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "personalAccessTokenId": string; readonly "name": string; readonly "scopes": ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; readonly "expiresAt": string; readonly "status": "active"; };
186
+ export type personal_access_token_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
187
+ export type personal_access_token_listOutput = { readonly "items": ReadonlyArray<{ readonly "personalAccessTokenId": string; readonly "userId": string; readonly "teamId": string; readonly "name": string; readonly "scopes": ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; readonly "status": "active" | "revoked"; readonly "expiresAt": string; readonly "createdAt": string; readonly "revokedAt"?: string; readonly "role"?: ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "decisionAuthority"?: { readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "scopes": ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; }; }>; readonly "nextCursor"?: string; };
188
+ export type personal_access_token_login_grant_createInput = { readonly "tenantId": string; readonly "name": string; readonly "scopes"?: ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; };
189
+ export type personal_access_token_login_grant_createOutput = { readonly "tenantId": string; readonly "loginGrantId": string; readonly "grant"?: string; readonly "expiresAt": string; };
190
+ export type personal_access_token_login_grant_exchangeInput = { readonly "tenantId": string; readonly "grant": string; };
191
+ export type personal_access_token_login_grant_exchangeOutput = { readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "personalAccessTokenId": string; readonly "name": string; readonly "scopes": ReadonlyArray<"activity:read" | "activity:write" | "billing:read" | "billing:write" | "blueprints:read" | "blueprints:write" | "catalog:read" | "catalog:write" | "keys:read" | "keys:write" | "products:read" | "products:write">; readonly "expiresAt": string; readonly "status": "active"; readonly "secret"?: string; };
192
+ export type personal_access_token_revokeInput = { readonly "tenantId": string; readonly "personalAccessTokenId": string; };
193
+ export type personal_access_token_revokeOutput = { readonly "tenantId": string; readonly "personalAccessTokenId": string; readonly "updatedAt": string; readonly "status": "revoked" | "already_revoked"; };
194
+ export type product_capability_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "productId"?: string; readonly "status"?: "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; };
195
+ export type product_capability_listOutput = { readonly "items": ReadonlyArray<{ readonly "productCapabilityId": string; readonly "tenantId": string; readonly "capability": string; readonly "productId"?: string; readonly "status"?: "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
196
+ export type product_capability_retrieveInput = { readonly "tenantId": string; readonly "productCapabilityId": string; };
197
+ export type product_capability_retrieveOutput = { readonly "item": { readonly "productCapabilityId": string; readonly "tenantId": string; readonly "capability": string; readonly "productId"?: string; readonly "status"?: "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; readonly "createdAt"?: string; }; };
198
+ export type product_actions_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "instrument"?: string; };
199
+ 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 "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 "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; readonly "instanceIdRequired": boolean; readonly "method": "POST"; readonly "path": string; }>; };
200
+ export type product_activation_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
201
+ 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; };
202
+ type product_activation_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
203
+ 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; };
204
+ type product_activation_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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; };
205
+ 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" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
206
+ export type product_api_key_rotateInput = { readonly "tenantId": string; readonly "productId": string; readonly "apiKeyId": string; readonly "reason": string; };
207
+ export type product_api_key_rotateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "principalId": string; readonly "apiKeyId": string; readonly "rotatedApiKeyId": string; readonly "secret"?: string; readonly "status": "active"; readonly "rotatedStatus": "revoked"; readonly "updatedAt": string; readonly "scopes": ReadonlyArray<string>; readonly "allowedOperationIds"?: ReadonlyArray<string>; readonly "capabilityScope"?: ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "reason": string; readonly "expiresAt": string; };
208
+ export type product_balance_sheet_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
209
+ export type product_balance_sheet_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "currency": string; readonly "liabilities": product_balance_sheet_retrieveOutput_ProductBalanceSheetSection; readonly "assets": product_balance_sheet_retrieveOutput_ProductBalanceSheetSection; readonly "revenue": product_balance_sheet_retrieveOutput_ProductBalanceSheetSection; };
210
+ type product_balance_sheet_retrieveOutput_ProductBalanceSheetSection = { readonly "total": string; readonly "lines": ReadonlyArray<product_balance_sheet_retrieveOutput_ProductBalanceSheetLine>; };
211
+ type product_balance_sheet_retrieveOutput_ProductBalanceSheetLine = { readonly "role": "customer_balance" | "customer_investment" | "product_escrow" | "product_pool" | "product_revenue"; readonly "accountCount": number; readonly "settled": string; readonly "pending": string; readonly "available": string; };
212
+ export type product_build_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; };
213
+ export type product_build_listOutput = { readonly "items": ReadonlyArray<product_build_listOutput_ProductBuildListItem>; readonly "nextCursor"?: string; };
214
+ type product_build_listOutput_ProductBuildListItem = { readonly "productBuildId": string; readonly "productId": string; readonly "number": number; readonly "createdAt": string; readonly "catalogRevisionId"?: string; readonly "isCurrent": boolean; readonly "sourceByteLength": number; };
215
+ export type product_build_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId"?: string; };
216
+ export type product_build_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "4"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "environment": "sandbox" | "live"; readonly "capabilities": ReadonlyArray<{ readonly "capabilityId": "identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "status": "composed" | "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; }>; readonly "program": { readonly "source": string; }; readonly "configuration": { readonly "partyBindings": { readonly [key: string]: string }; }; readonly "declaredParties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "actionExposures": ReadonlyArray<{ readonly "name": string; readonly "target": string; }>; readonly "createdAt": string; };
217
+ export type product_capability_retireInput = { readonly "tenantId": string; readonly "productId": string; readonly "productCapabilityId": string; readonly "reason": string; };
218
+ export type product_capability_retireOutput = { readonly "productCapabilityId": string; readonly "tenantId": string; readonly "productId": string; readonly "capability": "identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "previousStatus": "enabled" | "live_enabled"; readonly "status": "retired"; readonly "updatedAt": string; readonly "reason": string; };
219
+ export type product_capability_unretireInput = { readonly "tenantId": string; readonly "productId": string; readonly "productCapabilityId": string; readonly "reason": string; };
220
+ export type product_capability_unretireOutput = { readonly "productCapabilityId": string; readonly "tenantId": string; readonly "productId": string; readonly "capability": "identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "previousStatus": "retired"; readonly "status": "enabled" | "live_enabled"; readonly "enabledAt": string; readonly "updatedAt": string; readonly "reason": string; };
221
+ export type product_closeInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; };
222
+ export type product_closeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active" | "disabled"; readonly "status": "closed"; };
223
+ export type product_createInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_createInput_Metadata; };
224
+ type product_createInput_Metadata = { readonly [key: string]: product_createInput_MetadataValue };
225
+ type product_createInput_MetadataValue = (product_createInput_MetadataScalar | ReadonlyArray<product_createInput_MetadataScalar> | { readonly [key: string]: product_createInput_MetadataScalar });
226
+ type product_createInput_MetadataScalar = (string | number | boolean | null);
227
+ export type product_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "4"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "key_delivery": "minted" | "unavailable"; readonly "startKeyId"?: string; readonly "shown_once"?: string; readonly "shown_once_unavailable_reason"?: "missing_key_mint_authority"; };
228
+ export type product_disableInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; };
229
+ export type product_disableOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active"; readonly "status": "disabled"; };
230
+ export type product_earn_rate_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "limit"?: number; readonly "cursor"?: string; };
231
+ export type product_earn_rate_listOutput = { readonly "items": ReadonlyArray<{ readonly "operationName": string; readonly "bps"?: string; readonly "flatAmount"?: string; readonly "updatedAt": string; }>; readonly "nextCursor"?: string; };
232
+ export type product_earn_rate_setInput = { readonly "tenantId": string; readonly "productId": string; readonly "operationName": string; readonly "bps"?: string; readonly "flatAmount"?: string; };
233
+ export type product_earn_rate_setOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "operationName": string; readonly "bps"?: string; readonly "flatAmount"?: string; readonly "status": "active" | "removed"; };
234
+ export type product_earnings_settleInput = { readonly "tenantId": string; readonly "productId": string; readonly "transferId"?: string; readonly "amount": string; readonly "currency": string; };
235
+ export type product_earnings_settleOutput = { readonly "transferId": string; readonly "tenantId": string; readonly "productId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "transferStatus": "posted"; };
236
+ export type product_economic_snapshot_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
237
+ export type product_economic_snapshot_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "revision": string; readonly "buildDigest": string; readonly "effectiveAt": string; readonly "settlement": "confirmed"; readonly "facts": ReadonlyArray<{ readonly "id": string; readonly "instrument": string; readonly "status": string; readonly "createdAt": string; readonly "fields": { readonly [key: string]: unknown }; readonly "parties": { readonly [key: string]: string }; readonly "receipts": { readonly [key: string]: unknown }; }>; readonly "records": ReadonlyArray<{ readonly "id": string; readonly "instrument": string; readonly "status": string; readonly "createdAt": string; readonly "fields": { readonly [key: string]: unknown }; readonly "parties": { readonly [key: string]: string }; readonly "receipts": { readonly [key: string]: unknown }; }>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "posted": string; readonly "reserved": string; }>; };
238
+ export type product_guidance_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
239
+ export type product_guidance_retrieveOutput = { readonly "items": ReadonlyArray<product_guidance_retrieveOutput_ProductGuidanceItem>; readonly "nextPredicate": ("mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product" | null); };
240
+ 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; };
241
+ type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
242
+ export type product_instruments_composeInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_instruments_composeInput_Metadata; };
243
+ type product_instruments_composeInput_Metadata = { readonly [key: string]: product_instruments_composeInput_MetadataValue };
244
+ type product_instruments_composeInput_MetadataValue = (product_instruments_composeInput_MetadataScalar | ReadonlyArray<product_instruments_composeInput_MetadataScalar> | { readonly [key: string]: product_instruments_composeInput_MetadataScalar });
245
+ type product_instruments_composeInput_MetadataScalar = (string | number | boolean | null);
246
+ export type product_instruments_composeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "4"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "key_delivery": "minted" | "unavailable"; readonly "startKeyId"?: string; readonly "shown_once"?: string; readonly "shown_once_unavailable_reason"?: "missing_key_mint_authority"; };
247
+ export type product_instruments_listInput = { readonly "tenantId": string; readonly "productId": string; };
248
+ export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
249
+ export type product_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "closed"; };
250
+ export type product_listOutput = { readonly "items": ReadonlyArray<product_listOutput_ProductListItem>; readonly "nextCursor"?: string; };
251
+ type product_listOutput_ProductListItem = { readonly "productId": string; readonly "tenantId": string; readonly "environment": "sandbox" | "live"; readonly "displayName": string; readonly "businessDescription"?: string; readonly "rehearsalOriginProductId"?: string; readonly "slug": string; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "createdAt": string; };
252
+ export type product_margin_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
253
+ 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; }; }>; };
254
+ export type product_objects_actionsInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
255
+ 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 "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 "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 "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 "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 "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_money" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: 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; };
256
+ export type product_objects_agreements_evidence_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "instanceId": string; readonly "cursor"?: string; readonly "limit"?: number; };
257
+ 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; };
258
+ export type product_objects_agreements_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
259
+ export type product_objects_agreements_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "sourceRevision": product_objects_agreements_listOutput_ArtifactSourceRevision; readonly "instrumentRevision"?: number; readonly "createdAt": string; readonly "updatedAt": string; readonly "state": string; readonly "standing": string; readonly "terms": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "type": "money" | "account" | "ref" | "date" | "duration" | "text" | "integer" | "percent" | "boolean" | "enum" | "list"; readonly "value": product_objects_agreements_listOutput___schema0; readonly "currency"?: string; readonly "redacted": boolean; readonly "public": boolean; }>; readonly "participants": ReadonlyArray<{ readonly "role": string; readonly "title": string; readonly "participantId": string; readonly "displayName": string; readonly "customerId"?: string; }>; readonly "relationships": ReadonlyArray<{ readonly "relation": "reference" | "parent" | "child" | "attachment"; readonly "name": string; readonly "title": string; readonly "target": ({ readonly "kind": "agreement"; readonly "instanceId": string; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "attachment"; readonly "name": string; readonly "instrument": string; }); }>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": string; readonly "title": string; readonly "relation": "owned" | "participant" | "provider" | "movement"; readonly "book": "cash" | "claim"; readonly "currency": string; }>; readonly "boundary": { readonly "expected": ReadonlyArray<{ readonly "action": string; readonly "title": string; readonly "family": string; readonly "check": string; readonly "expectedResult": string; readonly "reason": string; }>; readonly "latest": ReadonlyArray<{ readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }>; }; }>; readonly "nextCursor"?: string; };
260
+ type product_objects_agreements_listOutput_ArtifactSourceRevision = { readonly "commit": string; readonly "dirty": boolean; };
261
+ type product_objects_agreements_listOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_objects_agreements_listOutput___schema0> | { readonly [key: string]: product_objects_agreements_listOutput___schema0 });
262
+ export type product_objects_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "externalId"?: string; readonly "fields"?: { readonly [key: string]: unknown }; readonly "ownerPrincipalId"?: string; };
263
+ export type product_objects_createOutput = { readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; };
264
+ export type product_objects_discoverInput = { readonly "tenantId": string; readonly "productId": string; };
265
+ 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 "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 "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 "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 "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 "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 "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; 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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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"; } | { 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"; } | { 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"; } | { 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 "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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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 "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 "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; 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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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 "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 "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; 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 "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 "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 "provider": string; readonly "capability": string; readonly "operation": 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 "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 "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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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"; } | { 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"; } | { 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"; } | { 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 "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "boundary"?: { readonly "adapter": string; }; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; readonly "capture": string; } | { readonly "key": string; readonly "operation": "internal_transfer.post"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "transfer": string; } | { readonly "key": string; readonly "operation": "internal_transfer.void"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "transfer": string; })>; readonly "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 "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 "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; 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 "classification": "internal" | "personal" | "restricted"; readonly "currency": string; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": string; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "time": { readonly "timezone": "Asia/Riyadh"; readonly "boundary": "startInclusiveEndExclusive"; readonly "observation": "periodEnd"; readonly "history": "retainedOnly"; }; 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "lockTimeoutMs": number; readonly "captureTimeoutMs": number; readonly "maxRows": number; readonly "maxJoinRows": number; readonly "maxBytes": number; }; readonly "output": { readonly "profile": "internal.v1"; 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 "release": ReadonlyArray<string>; readonly "retention": { readonly "policy": string; 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 "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 "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 "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 "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 "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 "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 "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 "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_money" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ 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 "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 "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; }>; };
266
+ export type product_objects_executeInput = { readonly "tenantId": string; 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 }; };
267
+ export type product_objects_executeOutput = { readonly "object": { 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; } | 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; }>; };
268
+ export type product_objects_exportInput = { readonly "tenantId": string; 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; };
269
+ export type product_objects_exportOutput = { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "definitionId": string; readonly "definitionVersion": number; readonly "buildDigest": string; readonly "definitionDigest": string; readonly "inputDigest": string; readonly "manifestDigest": string; readonly "recordedAt": string; readonly "observationAt": string; readonly "periodStart": string; readonly "status": "complete" | "noEligibleFacilities"; readonly "eligible": number; readonly "selected": number; readonly "retainUntil": string; readonly "supersedesArtifactId": (string | null); readonly "filter"?: { 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; }; readonly "schemaDigest"?: string; readonly "productBuildId"?: string; readonly "count"?: number; };
270
+ export type product_objects_listInput = { readonly "tenantId": string; 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
271
+ export type product_objects_listOutput = { readonly "items": ReadonlyArray<{ 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 "nextCursor"?: string; readonly "total": number; readonly "facets": { readonly [key: string]: { readonly [key: string]: number } }; };
272
+ export type product_objects_previewInput = { readonly "tenantId": string; 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 }; };
273
+ 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 "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_money" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: 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; }>; };
274
+ export type product_objects_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
275
+ export type product_objects_retrieveOutput = { 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; }> }; };
276
+ export type product_objects_timeline_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
277
+ 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 "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": 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 "reason"?: string; readonly "money"?: { readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }; readonly "evidence"?: { readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }; }>; readonly "nextCursor"?: string; };
278
+ export type product_operation_set_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
279
+ export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "productBuildId": 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>; };
280
+ 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": "credit_underwriter"; readonly "permission": "credit:underwrite"; }; }; 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">; }; };
281
+ type product_operation_set_retrieveOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput_JsonValue> | { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue });
282
+ export type product_reactivateInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; };
283
+ export type product_reactivateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "disabled"; readonly "status": "active"; };
284
+ export type product_recomposeInput = { readonly "tenantId": string; readonly "productId": string; readonly "expectedBuildDigest": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "extensionIds"?: ReadonlyArray<string>; readonly "pricingIdentity"?: string; readonly "metadata"?: product_recomposeInput_Metadata; };
285
+ type product_recomposeInput_Metadata = { readonly [key: string]: product_recomposeInput_MetadataValue };
286
+ type product_recomposeInput_MetadataValue = (product_recomposeInput_MetadataScalar | ReadonlyArray<product_recomposeInput_MetadataScalar> | { readonly [key: string]: product_recomposeInput_MetadataScalar });
287
+ type product_recomposeInput_MetadataScalar = (string | number | boolean | null);
288
+ export type product_recomposeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "4"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "addedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "revokedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "activationReopened": boolean; readonly "outstandingActivationRequirements": ReadonlyArray<string>; readonly "pricing": product_recomposeOutput_ProductPricingSchedule; };
289
+ type product_recomposeOutput_ProductPricingSchedule = { readonly "current": product_recomposeOutput_ProductPricingCurrent; readonly "scheduled": (product_recomposeOutput_ProductPricingScheduled | null); };
290
+ type product_recomposeOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_recomposeOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
291
+ type product_recomposeOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
292
+ type product_recomposeOutput_ProductPricingScheduled = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_recomposeOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; readonly "effectiveAt": string; };
293
+ export type product_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
294
+ export type product_retrieveOutput = { readonly "productId": string; readonly "tenantId": string; readonly "environment": "sandbox" | "live"; readonly "displayName": string; readonly "businessDescription"?: string; readonly "rehearsalOriginProductId"?: string; readonly "slug": string; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "instrumentIds": ReadonlyArray<string>; readonly "pricing": product_retrieveOutput_ProductPricingSchedule; readonly "billingBoundaryAt"?: string; readonly "readiness": product_retrieveOutput_ProductActivationReadiness; readonly "capabilities": ReadonlyArray<product_retrieveOutput_ProductCapability>; readonly "cost": product_retrieveOutput_ProductLiveCostEstimate; };
295
+ type product_retrieveOutput_ProductPricingSchedule = { readonly "current": product_retrieveOutput_ProductPricingCurrent; readonly "scheduled": (product_retrieveOutput_ProductPricingScheduled | null); };
296
+ type product_retrieveOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_retrieveOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
297
+ type product_retrieveOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
298
+ type product_retrieveOutput_ProductPricingScheduled = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_retrieveOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; readonly "effectiveAt": string; };
299
+ type product_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
300
+ type product_retrieveOutput_ProductCapability = { readonly "capabilityId": "identity" | "accounts" | "deposits" | "internal_transfers" | "payouts" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "name": string | null; };
301
+ type product_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": string; readonly "platformMonthly": string | null; readonly "platformSetup": string | null; readonly "liveCapableCount": number; readonly "recurringCharges": ReadonlyArray<product_retrieveOutput_ProductLiveCostCharge>; readonly "usageCharges": ReadonlyArray<product_retrieveOutput_ProductLiveCostCharge>; readonly "estimatedMonthlyFixed": string | null; readonly "blockers": ReadonlyArray<product_retrieveOutput_ProductLiveCostBlocker>; readonly "complete": boolean; };
302
+ type product_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "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; };
303
+ type product_retrieveOutput_ProductLiveCostBlocker = { readonly "code": "unpriced_meters" | "custom_pricing"; readonly "meters": ReadonlyArray<"account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
304
+ export type product_schedule_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "objectId"?: string; };
305
+ 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" | "due" | "completed" | "refused"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "amount"?: { readonly "value": string; readonly "currency": string; }; readonly "refusedAt"?: string; readonly "reason": string; }>; };
306
+ export type product_treasury_provisionInput = { readonly "tenantId": string; readonly "productId": string; };
307
+ export type product_treasury_provisionOutput = { readonly "tenantId": string; readonly "productId": string; readonly "treasuryStatus": "provisioned" | "existing"; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": "product_credit" | "product_revenue"; readonly "currency": string; }>; };
308
+ export type product_treasury_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
309
+ 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": string; }; readonly "revenue": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; };
310
+ export type product_updateInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; readonly "displayName"?: string; readonly "businessDescription"?: (string | null); };
311
+ export type product_updateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "displayName": string; readonly "businessDescription"?: string; };
312
+ export type product_work_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; };
313
+ export type product_work_listOutput = { readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; }>; readonly "counts": { readonly "needsHuman": number; readonly "waitingCustomer": number; readonly "waitingProvider": number; readonly "waitingClock": number; }; readonly "nextCursor"?: string; };
314
+ export type receipt_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
315
+ 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 "status"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
316
+ export type receipt_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "receiptId": string; };
317
+ export type receipt_retrieveOutput = { readonly "item": { readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "status"?: string; readonly "createdAt"?: string; }; };
318
+ export type report_artifact_downloadInput = { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "format": "json" | "csv"; };
319
+ export type report_artifact_downloadOutput = { readonly "metadata": { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "definitionId": string; readonly "definitionVersion": number; readonly "buildDigest": string; readonly "definitionDigest": string; readonly "inputDigest": string; readonly "manifestDigest": string; readonly "recordedAt": string; readonly "observationAt": string; readonly "periodStart": string; readonly "status": "complete" | "noEligibleFacilities"; readonly "eligible": number; readonly "selected": number; readonly "retainUntil": string; readonly "supersedesArtifactId": (string | null); readonly "filter"?: { 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; }; readonly "schemaDigest"?: string; readonly "productBuildId"?: string; readonly "count"?: number; }; readonly "kind": string; readonly "contentType": "application/json" | "text/csv"; readonly "filename": string; readonly "content": string; readonly "sha256": string; readonly "sizeBytes": number; };
320
+ export type report_artifact_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "after"?: string; readonly "limit"?: number; };
321
+ export type report_artifact_listOutput = { readonly "items": ReadonlyArray<{ readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "definitionId": string; readonly "definitionVersion": number; readonly "buildDigest": string; readonly "definitionDigest": string; readonly "inputDigest": string; readonly "manifestDigest": string; readonly "recordedAt": string; readonly "observationAt": string; readonly "periodStart": string; readonly "status": "complete" | "noEligibleFacilities"; readonly "eligible": number; readonly "selected": number; readonly "retainUntil": string; readonly "supersedesArtifactId": (string | null); readonly "filter"?: { 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; }; readonly "schemaDigest"?: string; readonly "productBuildId"?: string; readonly "count"?: number; }>; readonly "next": (string | null); };
322
+ export type report_artifact_replayInput = { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; };
323
+ export type report_artifact_replayOutput = { readonly "reportingArtifactId": string; readonly "identical": true; readonly "manifestDigest": string; };
324
+ export type report_artifact_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; };
325
+ export type report_artifact_retrieveOutput = { readonly "metadata": { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "definitionId": string; readonly "definitionVersion": number; readonly "buildDigest": string; readonly "definitionDigest": string; readonly "inputDigest": string; readonly "manifestDigest": string; readonly "recordedAt": string; readonly "observationAt": string; readonly "periodStart": string; readonly "status": "complete" | "noEligibleFacilities"; readonly "eligible": number; readonly "selected": number; readonly "retainUntil": string; readonly "supersedesArtifactId": (string | null); readonly "filter"?: { 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; }; readonly "schemaDigest"?: string; readonly "productBuildId"?: string; readonly "count"?: number; }; readonly "definition": ({ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "classification": "internal" | "personal" | "restricted"; readonly "currency": string; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": string; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "time": { readonly "timezone": "Asia/Riyadh"; readonly "boundary": "startInclusiveEndExclusive"; readonly "observation": "periodEnd"; readonly "history": "retainedOnly"; }; 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "lockTimeoutMs": number; readonly "captureTimeoutMs": number; readonly "maxRows": number; readonly "maxJoinRows": number; readonly "maxBytes": number; }; readonly "output": { readonly "profile": "internal.v1"; 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 "release": ReadonlyArray<string>; readonly "retention": { readonly "policy": string; readonly "years": number; }; }; } | null); readonly "manifest": { readonly [key: string]: report_artifact_retrieveOutput___schema0 }; readonly "body": { readonly [key: string]: report_artifact_retrieveOutput___schema1 }; };
326
+ type report_artifact_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<report_artifact_retrieveOutput___schema0> | { readonly [key: string]: report_artifact_retrieveOutput___schema0 });
327
+ type report_artifact_retrieveOutput___schema1 = (string | number | boolean | null | ReadonlyArray<report_artifact_retrieveOutput___schema1> | { readonly [key: string]: report_artifact_retrieveOutput___schema1 });
328
+ export type report_definition_activateInput = { readonly "tenantId": string; readonly "productId": string; readonly "definitionId": string; readonly "definitionDigest": string; readonly "buildDigest": string; };
329
+ export type report_definition_activateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "definitionId": string; readonly "definitionDigest": string; readonly "buildDigest": string; };
330
+ export type report_definition_listInput = { readonly "tenantId": string; readonly "productId": string; };
331
+ export type report_definition_listOutput = { readonly "buildDigest": string; readonly "items": ReadonlyArray<{ readonly "definition": { readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "classification": "internal" | "personal" | "restricted"; readonly "currency": string; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": string; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "time": { readonly "timezone": "Asia/Riyadh"; readonly "boundary": "startInclusiveEndExclusive"; readonly "observation": "periodEnd"; readonly "history": "retainedOnly"; }; 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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": "field"; readonly "path": string; } | { 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": "not"; readonly "value": 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 "unit": "month" | "quarter"; } | { 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 "lockTimeoutMs": number; readonly "captureTimeoutMs": number; readonly "maxRows": number; readonly "maxJoinRows": number; readonly "maxBytes": number; }; readonly "output": { readonly "profile": "internal.v1"; 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 "release": ReadonlyArray<string>; readonly "retention": { readonly "policy": string; readonly "years": number; }; }; }; readonly "definitionDigest": string; readonly "activated": boolean; }>; };
332
+ export type report_requestInput = { readonly "tenantId": string; readonly "productId": string; readonly "definitionId": string; readonly "periodStart": string; readonly "correction"?: { readonly "artifactId": string; readonly "reason": string; }; };
333
+ export type report_requestOutput = { readonly "tenantId": string; readonly "productId": string; readonly "reportingArtifactId": string; readonly "definitionId": string; readonly "definitionVersion": number; readonly "buildDigest": string; readonly "definitionDigest": string; readonly "inputDigest": string; readonly "manifestDigest": string; readonly "recordedAt": string; readonly "observationAt": string; readonly "periodStart": string; readonly "status": "complete" | "noEligibleFacilities"; readonly "eligible": number; readonly "selected": number; readonly "retainUntil": string; readonly "supersedesArtifactId": (string | null); readonly "filter"?: { 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 "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; }; readonly "schemaDigest"?: string; readonly "productBuildId"?: string; readonly "count"?: number; };
334
+ export type sandbox_account_fundInput = { readonly "tenantId": string; readonly "transferId"?: string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; };
335
+ 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"; };
336
+ export type sandbox_clock_advanceInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "at": string; };
337
+ export type sandbox_clock_advanceOutput = { readonly "tenantId": string; readonly "productId": string; readonly "previousAt": string; readonly "at": string; };
338
+ export type sandbox_clock_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
339
+ export type sandbox_clock_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "effectiveAt": string; readonly "mode": "host" | "frozen"; readonly "observedAt": string; };
340
+ export type sandbox_customer_access_activateInput = { readonly "tenantId": string; readonly "customerAccessId": string; };
341
+ export type sandbox_customer_access_activateOutput = { readonly "customerAccessId": string; readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "entityId": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled"; readonly "status": "pending" | "active" | "suspended" | "closed"; readonly "amlStatus": "not_screened" | "clear" | "review" | "blocked"; };
342
+ export type sandbox_platform_fireInput = { readonly "tenantId": string; readonly "operation": string; readonly "input": { readonly [key: string]: unknown }; };
343
+ export type sandbox_platform_fireOutput = { readonly "operation": string; } & { readonly [key: string]: unknown };
344
+ export type sandbox_rehearsal_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "name": string; };
345
+ export type sandbox_rehearsal_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "originProductId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "startKeyId": string; readonly "shown_once"?: string; };
346
+ export type system_healthInput = Record<string, never>;
347
+ export type system_healthOutput = { readonly "status": "ok"; readonly "checkedAt": string; readonly "releaseCommit": string; };
348
+ export type team_invitation_listInput = { readonly "tenantId": string; readonly "cursor"?: string; readonly "limit"?: number; };
349
+ export type team_invitation_listOutput = { readonly "teamId": string; readonly "items": ReadonlyArray<{ readonly "invitationId": string; readonly "email": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "invitedByUserId": string; readonly "expiresAt": string; readonly "createdAt": string; }>; readonly "nextCursor"?: string; };
350
+ export type team_member_inviteInput = { readonly "tenantId": string; readonly "email": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); };
351
+ export type team_member_inviteOutput = { readonly "invitationId": string; readonly "tenantId": string; readonly "teamId": string; readonly "email": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "invitedByUserId": string; readonly "inviteToken"?: string; readonly "expiresAt": string; readonly "status": "pending"; };
352
+ export type team_member_invite_revokeInput = { readonly "tenantId": string; readonly "invitationId": string; };
353
+ export type team_member_invite_revokeOutput = { readonly "invitationId": string; readonly "tenantId": string; readonly "teamId": string; readonly "email": string; readonly "updatedAt": string; readonly "status": "revoked" | "already_revoked"; };
354
+ export type team_member_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; };
355
+ export type team_member_listOutput = { readonly "teamId": string; readonly "members": ReadonlyArray<{ readonly "membershipId": string; readonly "userId": string; readonly "email": string; readonly "displayName": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "status": "active" | "disabled"; readonly "joinedAt": string; }>; readonly "nextCursor"?: string; };
356
+ export type team_member_removeInput = { readonly "tenantId": string; readonly "userId": string; };
357
+ export type team_member_removeOutput = { readonly "membershipId": string; readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "sessionsRevoked": number; readonly "removedAt": string; };
358
+ export type team_member_retrieveInput = { readonly "tenantId": string; readonly "membershipId": string; };
359
+ export type team_member_retrieveOutput = { readonly "membershipId": string; readonly "userId": string; readonly "email": string; readonly "displayName": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "status": "active" | "disabled"; readonly "joinedAt": string; };
360
+ export type team_member_role_updateInput = { readonly "tenantId": string; readonly "userId": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); };
361
+ export type team_member_role_updateOutput = { readonly "membershipId": string; readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "previousRole": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "sessionsRevoked": number; readonly "updatedAt": string; };
362
+ export type team_role_createInput = { readonly "tenantId": string; readonly "name": string; readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; };
363
+ export type team_role_createOutput = { readonly "roleId": string; readonly "tenantId": string; readonly "teamId": string; readonly "name": string; readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "createdAt": string; };
364
+ export type team_role_deleteInput = { readonly "tenantId": string; readonly "roleId": string; };
365
+ export type team_role_deleteOutput = { readonly "roleId": string; readonly "tenantId": string; readonly "teamId": string; readonly "name": string; readonly "deletedAt": string; };
366
+ export type team_role_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; };
367
+ export type team_role_listOutput = { readonly "teamId": string; readonly "roles": ReadonlyArray<{ readonly "roleId": string; readonly "name": string; readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "memberCount": number; readonly "createdAt": string; readonly "updatedAt": string; }>; readonly "nextCursor"?: string; };
368
+ export type team_role_retrieveInput = { readonly "tenantId": string; readonly "roleId": string; };
369
+ export type team_role_retrieveOutput = { readonly "roleId": string; readonly "name": string; readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "memberCount": number; readonly "createdAt": string; readonly "updatedAt": string; };
370
+ export type team_role_updateInput = { readonly "tenantId": string; readonly "roleId": string; readonly "name"?: string; readonly "permissions"?: ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; };
371
+ export type team_role_updateOutput = { readonly "roleId": string; readonly "tenantId": string; readonly "teamId": string; readonly "name": string; readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "sessionsRevoked": number; readonly "updatedAt": string; };
372
+ export type tenant_finance_reportInput = { readonly "tenantId": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "productId"?: string; readonly "currency"?: string; readonly "cutoff"?: string; };
373
+ export type tenant_finance_reportOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "basis": "posted"; readonly "asOf": string; readonly "cutoff": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<{ readonly "code": string; readonly "message": string; }>; readonly "currencies": ReadonlyArray<{ readonly "currency": string; readonly "rows": ReadonlyArray<{ readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "profit": (string | null); readonly "productId": (string | null); readonly "productName": string | null; readonly "period": string; readonly "complete": boolean; }>; readonly "totals": { readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "profit": (string | null); }; }>; };
374
+ export type tenant_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; };
375
+ export type tenant_listOutput = { readonly "items": ReadonlyArray<{ readonly "tenantId": string; readonly "legalName": string; readonly "tenantCode"?: string; readonly "entityId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
376
+ export type tenant_money_summaryInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "receivedFrom": string; readonly "receivedTo": string; };
377
+ export type tenant_money_summaryOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId"?: string; readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<{ readonly "code": string; readonly "message": string; }>; readonly "currencies": ReadonlyArray<{ readonly "currency": string; readonly "stocks": { readonly "asOf": string; readonly "companyAvailable": { readonly "amount": (string | null); readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; readonly "resourceFilters": ReadonlyArray<({ readonly "resource": "account"; readonly "accountIds": ReadonlyArray<string>; } | { readonly "resource": "deposit"; readonly "receivedFrom": string; readonly "receivedTo": string; readonly "productId"?: string; })>; readonly "excludedAccountIds"?: ReadonlyArray<string>; }; readonly "companyHeld": { readonly "amount": (string | null); readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; readonly "resourceFilters": ReadonlyArray<({ readonly "resource": "account"; readonly "accountIds": ReadonlyArray<string>; } | { readonly "resource": "deposit"; readonly "receivedFrom": string; readonly "receivedTo": string; readonly "productId"?: string; })>; readonly "excludedAccountIds"?: ReadonlyArray<string>; }; readonly "heldForCustomers": { readonly "amount": (string | null); readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; readonly "resourceFilters": ReadonlyArray<({ readonly "resource": "account"; readonly "accountIds": ReadonlyArray<string>; } | { readonly "resource": "deposit"; readonly "receivedFrom": string; readonly "receivedTo": string; readonly "productId"?: string; })>; readonly "excludedAccountIds"?: ReadonlyArray<string>; }; readonly "amountsDue": { readonly "amount": (string | null); readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; readonly "resourceFilters": ReadonlyArray<({ readonly "resource": "account"; readonly "accountIds": ReadonlyArray<string>; } | { readonly "resource": "deposit"; readonly "receivedFrom": string; readonly "receivedTo": string; readonly "productId"?: string; })>; readonly "excludedAccountIds"?: ReadonlyArray<string>; }; }; readonly "flows": { readonly "from": string; readonly "to": string; readonly "received": { readonly "amount": (string | null); readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; readonly "resourceFilters": ReadonlyArray<({ readonly "resource": "account"; readonly "accountIds": ReadonlyArray<string>; } | { readonly "resource": "deposit"; readonly "receivedFrom": string; readonly "receivedTo": string; readonly "productId"?: string; })>; readonly "excludedAccountIds"?: ReadonlyArray<string>; }; }; }>; };
378
+ export type tenant_parties_listInput = { readonly "tenantId": string; readonly "query"?: string; readonly "relationship"?: "customer" | "customer_access" | "record_role" | "participant"; readonly "status"?: string; readonly "productId"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
379
+ export type tenant_parties_listOutput = { readonly "items": ReadonlyArray<{ readonly "partyId": string; readonly "type": "person" | "organization" | "external"; readonly "displayName": string; readonly "status": string | null; readonly "contactSummary": string | null; readonly "customerIds": ReadonlyArray<string>; readonly "productRelationships": ReadonlyArray<{ readonly "productId": (string | null); readonly "productName": string | null; readonly "relationship": "customer" | "customer_access" | "record_role" | "participant"; readonly "role": string | null; }>; readonly "relationshipCount": number; readonly "relationshipsNextCursor"?: string; }>; readonly "total": (number | null); readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<string>; readonly "nextCursor"?: string; };
380
+ export type tenant_parties_retrieveInput = { readonly "tenantId": string; readonly "partyId": string; readonly "productId"?: string; readonly "relationshipsCursor"?: string; };
381
+ export type tenant_parties_retrieveOutput = { readonly "partyId": string; readonly "type": "person" | "organization" | "external"; readonly "displayName": string; readonly "status": string | null; readonly "contactSummary": string | null; readonly "customerIds": ReadonlyArray<string>; readonly "productRelationships": ReadonlyArray<{ readonly "productId": (string | null); readonly "productName": string | null; readonly "relationship": "customer" | "customer_access" | "record_role" | "participant"; readonly "role": string | null; }>; readonly "relationshipCount": number; readonly "relationshipsNextCursor"?: string; };
382
+ export type tenant_party_records_listInput = { readonly "tenantId": string; readonly "partyId": string; readonly "productId"?: string; readonly "kind"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
383
+ export type tenant_party_records_listOutput = { readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "kind": string; readonly "kindTitle": string; readonly "objectId": string; readonly "displayTitle": string; readonly "roles": ReadonlyArray<string>; readonly "standing": string | null; readonly "url": string; }>; readonly "total": number; readonly "asOf": string; readonly "complete": boolean; readonly "nextCursor"?: string; };
384
+ export type tenant_retrieveInput = { readonly "tenantId": string; };
385
+ export type tenant_retrieveOutput = { readonly "item": { readonly "tenantId": string; readonly "legalName": string; readonly "tenantCode"?: string; readonly "entityId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; }; };
386
+ export type tenant_safeguarding_retrieveInput = { readonly "tenantId": string; };
387
+ export type tenant_safeguarding_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "asOf": string; readonly "masters": ReadonlyArray<{ readonly "accountId": string; readonly "currency": string; readonly "heldForCustomers": string; readonly "safeguarded": string; readonly "bank": ({ readonly "balance": string; readonly "difference": string; readonly "checkedAt": string; } | null); }>; };
388
+ export type tenant_setup_retrieveInput = { readonly "tenantId": string; readonly "cursor"?: string; readonly "limit"?: number; };
389
+ export type tenant_setup_retrieveOutput = { readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<string>; readonly "requirements": ReadonlyArray<{ readonly "evidenceId": string; readonly "code": string; readonly "status": ("missing" | "pending" | "satisfied" | "refused" | "stale" | null); readonly "required": boolean; readonly "sourceProductId": string; readonly "sourceProductBuildId": string; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; readonly "settingsPathKey"?: string; }>; readonly "products": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "productBuildId": string; readonly "readiness": tenant_setup_retrieveOutput_ProductActivationReadiness; readonly "nextStep": string | null; }>; readonly "nextCursor"?: string; };
390
+ type tenant_setup_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
391
+ export type tenant_statement_export_createInput = { readonly "tenantId": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "kind": "account_statement" | "finance_report"; readonly "accountId"?: string; readonly "productId"?: string; readonly "currency"?: string; readonly "format": "csv" | "pdf"; };
392
+ export type tenant_statement_export_createOutput = { readonly "tenantId": string; readonly "reportingArtifactId": string; readonly "kind": "account_statement" | "finance_report"; readonly "format": "csv"; readonly "state": "complete"; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "accountId"?: string; readonly "productId"?: string; readonly "currency"?: string; readonly "observationAt": string; readonly "cutoff": string; readonly "inputDigest": string; readonly "contentDigest": string; readonly "manifestDigest": string; readonly "rowCount": number; readonly "filename": string; readonly "sizeBytes": number; readonly "complete": true; };
393
+ export type tenant_statement_export_downloadInput = { readonly "tenantId": string; readonly "reportingArtifactId": string; };
394
+ export type tenant_statement_export_downloadOutput = { readonly "metadata": { readonly "tenantId": string; readonly "reportingArtifactId": string; readonly "kind": "account_statement" | "finance_report"; readonly "format": "csv"; readonly "state": "complete"; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "accountId"?: string; readonly "productId"?: string; readonly "currency"?: string; readonly "observationAt": string; readonly "cutoff": string; readonly "inputDigest": string; readonly "contentDigest": string; readonly "manifestDigest": string; readonly "rowCount": number; readonly "filename": string; readonly "sizeBytes": number; readonly "complete": true; }; readonly "contentType": "text/csv"; readonly "filename": string; readonly "content": string; readonly "sha256": string; readonly "sizeBytes": number; };
395
+ export type tenant_statement_export_listInput = { readonly "tenantId": string; readonly "cursor"?: string; readonly "limit"?: number; };
396
+ export type tenant_statement_export_listOutput = { readonly "items": ReadonlyArray<{ readonly "tenantId": string; readonly "reportingArtifactId": string; readonly "kind": "account_statement" | "finance_report"; readonly "format": "csv"; readonly "state": "complete"; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "accountId"?: string; readonly "productId"?: string; readonly "currency"?: string; readonly "observationAt": string; readonly "cutoff": string; readonly "inputDigest": string; readonly "contentDigest": string; readonly "manifestDigest": string; readonly "rowCount": number; readonly "filename": string; readonly "sizeBytes": number; readonly "complete": true; }>; readonly "nextCursor": (string | null); };
397
+ export type tenant_statement_export_retrieveInput = { readonly "tenantId": string; readonly "reportingArtifactId": string; };
398
+ export type tenant_statement_export_retrieveOutput = { readonly "metadata": { readonly "tenantId": string; readonly "reportingArtifactId": string; readonly "kind": "account_statement" | "finance_report"; readonly "format": "csv"; readonly "state": "complete"; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "accountId"?: string; readonly "productId"?: string; readonly "currency"?: string; readonly "observationAt": string; readonly "cutoff": string; readonly "inputDigest": string; readonly "contentDigest": string; readonly "manifestDigest": string; readonly "rowCount": number; readonly "filename": string; readonly "sizeBytes": number; readonly "complete": true; }; readonly "manifest": { readonly [key: string]: tenant_statement_export_retrieveOutput___schema0 }; };
399
+ type tenant_statement_export_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<tenant_statement_export_retrieveOutput___schema0> | { readonly [key: string]: tenant_statement_export_retrieveOutput___schema0 });
400
+ export type tenant_treasury_retrieveInput = { readonly "tenantId": string; };
401
+ export type tenant_treasury_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "asOf": string; readonly "credit": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; readonly "withdrawals": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; readonly "products": ReadonlyArray<{ readonly "productId": string; readonly "displayName": string; readonly "revenue": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; }>; readonly "billingAccount": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; };
402
+ export type tenant_treasury_statements_retrieveInput = { readonly "tenantId": string; readonly "fromPeriod": string; readonly "toPeriod": string; };
403
+ export type tenant_treasury_statements_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "asOf": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "periods": ReadonlyArray<string>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": "tenant_credit" | "tenant_settlement" | "product_revenue"; readonly "displayName": string; readonly "currency": string; readonly "productId"?: string; readonly "months": ReadonlyArray<{ readonly "period": string; readonly "periodStart": string; readonly "periodEndExclusive": string; readonly "finalized": boolean; readonly "openingBalance"?: string; readonly "closingBalance"?: string; 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 "transferId": string; }>; readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; }>; }>; };
404
+ export type tenant_updateInput = { readonly "tenantId": string; readonly "legalName": string; readonly "reason": string; };
405
+ export type tenant_updateOutput = { readonly "tenantId": string; readonly "legalName": string; readonly "updatedAt": string; readonly "reason": string; };
406
+ export type tenant_work_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "lane"?: "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "dueFrom"?: string; readonly "dueTo"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
407
+ export type tenant_work_listOutput = { readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<string>; readonly "counts": { readonly "needsHuman": (number | null); readonly "waitingCustomer": (number | null); readonly "waitingProvider": (number | null); readonly "waitingClock": (number | null); }; readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "effectiveAt": string; readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; readonly "title": string; readonly "actionTarget": string; }>; readonly "nextCursor"?: string; };
408
+ export type transfer_return_createInput = { readonly "tenantId": string; readonly "returnId"?: string; readonly "originalTransferId": string; readonly "reason": "insufficient_funds" | "account_closed" | "no_account" | "invalid_account" | "balance_cap_exceeded" | "unauthorized" | "other"; };
409
+ export type transfer_return_createOutput = { readonly "returnId": string; readonly "tenantId": string; readonly "originalTransferId": string; readonly "reason": "insufficient_funds" | "account_closed" | "no_account" | "invalid_account" | "balance_cap_exceeded" | "unauthorized" | "other"; readonly "windowExpiresAt": string; readonly "returnStatus": "initiated"; };
410
+ export type usage_record_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
411
+ export type usage_record_listOutput = { readonly "items": ReadonlyArray<{ readonly "usageRecordId": string; readonly "tenantId": string; readonly "meter": string; readonly "quantity"?: string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "settledAt": "execution" | "invoice"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
412
+ export type usage_record_retrieveInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "usageRecordId": string; };
413
+ export type usage_record_retrieveOutput = { readonly "item": { readonly "usageRecordId": string; readonly "tenantId": string; readonly "meter": string; readonly "quantity"?: string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "settledAt": "execution" | "invoice"; readonly "createdAt"?: string; }; };
414
+ export type usage_statementInput = { readonly "tenantId": string; readonly "period"?: string; };
415
+ export type usage_statementOutput = { readonly "tenantId": string; readonly "period": string; readonly "currency": string; readonly "totalAmount": string; readonly "collectedAmount": string; readonly "outstandingAmount": string; readonly "meters": ReadonlyArray<{ readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "productId"?: string; readonly "quantity": string; readonly "rate": ({ readonly "kind": "per_event"; readonly "value": string; } | { readonly "kind": "volume_bps"; readonly "value": string; } | { readonly "kind": "recurring"; readonly "value": string; }); readonly "amount": string; readonly "collectedAmount": string; readonly "currency": string; }>; };
416
+ export type user_email_verification_confirmInput = { readonly "verificationToken": string; };
417
+ export type user_email_verification_confirmOutput = { readonly "status": "verified"; readonly "email": string; readonly "verifiedAt": string; };
418
+ export type user_email_verification_requestInput = Record<string, never>;
419
+ export type user_email_verification_requestOutput = { readonly "status": "accepted"; };
420
+ export type user_loginInput = { readonly "email": string; readonly "password": string; readonly "termsAccepted"?: true; };
421
+ export type user_loginOutput = { readonly "status": "authenticated"; readonly "userId": string; readonly "displayName": string; readonly "email": string; readonly "mobile": string; readonly "teamId": string; readonly "tenantId": string; readonly "entityId": (string | null); readonly "environment": "sandbox" | "live"; readonly "emailVerified": boolean; readonly "platformOperator": boolean; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "sessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; };
422
+ export type user_logoutInput = Record<string, never>;
423
+ export type user_logoutOutput = { readonly "sessionId": string; readonly "status": "revoked"; readonly "revokedAt": string; };
424
+ export type user_password_reset_confirmInput = { readonly "resetToken": string; readonly "password": string; };
425
+ export type user_password_reset_confirmOutput = ({ readonly "status": "password_reset"; readonly "sessionsRevoked": number; } | { readonly "status": "denied"; readonly "sessionsRevoked": 0; });
426
+ export type user_password_reset_requestInput = { readonly "email": string; };
427
+ export type user_password_reset_requestOutput = { readonly "status": "accepted"; };
428
+ export type user_session_environment_switchInput = Record<string, never>;
429
+ export type user_session_environment_switchOutput = ({ readonly "status": "switched"; readonly "environment": "sandbox" | "live"; readonly "sourceEnvironment": "sandbox" | "live"; readonly "sourceSessionId": string; readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "displayName": string; readonly "email": string; readonly "sessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "platformOperator": boolean; } | { readonly "status": "readiness_required"; readonly "environment": "sandbox" | "live"; readonly "blockers": ReadonlyArray<{ readonly "code": "tenant_unpromoted" | "activation_required" | "membership_required"; readonly "message": string; readonly "portalPath": string; }>; });
430
+ export type user_session_handoff_createInput = { readonly "tenantId": string; readonly "targetHost": string; };
431
+ export type user_session_handoff_createOutput = { readonly "tenantId": string; readonly "handoffId": string; readonly "code"?: string; readonly "targetHost": string; readonly "expiresAt": string; };
432
+ export type user_session_handoff_exchangeInput = { readonly "tenantId": string; readonly "code": string; };
433
+ export type user_session_handoff_exchangeOutput = { readonly "tenantId": string; readonly "teamId": string; readonly "userId": string; readonly "displayName": string; readonly "email": string; readonly "sessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "targetHost": string; };
434
+ export type user_session_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; };
435
+ export type user_session_listOutput = { readonly "sessions": ReadonlyArray<{ readonly "sessionId": string; readonly "userId": string; readonly "current": boolean; readonly "createdAt": string; readonly "lastActivityAt": string; readonly "expiresAt": string; }>; readonly "nextCursor"?: string; };
436
+ export type user_session_retrieveInput = { readonly "tenantId": string; readonly "sessionId": string; };
437
+ export type user_session_retrieveOutput = { readonly "sessionId": string; readonly "userId": string; readonly "current": boolean; readonly "createdAt": string; readonly "lastActivityAt": string; readonly "expiresAt": string; };
438
+ export type user_session_revokeInput = { readonly "tenantId": string; readonly "sessionId": string; };
439
+ export type user_session_revokeOutput = { readonly "sessionId": string; readonly "status": "revoked" | "already_revoked"; readonly "revokedAt": string; };
440
+ export type user_signupInput = { readonly "email": string; readonly "password": string; readonly "displayName": string; readonly "mobile"?: string; readonly "teamName"?: string; readonly "country"?: string; readonly "defaultCurrency"?: string; readonly "inviteToken"?: string; readonly "termsAccepted": true; };
441
+ export type user_signupOutput = { readonly "userId": string; readonly "email": string; readonly "displayName": string; readonly "mobile": string; readonly "teamId": string; readonly "teamName": string; readonly "tenantId": string; readonly "entityId": string; readonly "environment": "sandbox" | "live"; readonly "emailVerified": boolean; readonly "platformOperator": boolean; readonly "membershipId": string; readonly "role": ("owner" | "admin" | "developer" | "operations" | "finance" | "viewer" | string); readonly "permissions": ReadonlyArray<"desk.activity" | "desk.billing" | "desk.compose" | "desk.discover" | "desk.handbook" | "desk.products" | "desk.security" | "desk.settings" | "desk.team" | "desk.treasury" | "desk.trust" | "desk.usage" | "desk.webhooks" | "desk.compose.create" | "desk.products.keys_mint" | "desk.products.keys_revoke" | "desk.products.manage" | "desk.products.objects_write" | "desk.security.sessions_revoke" | "desk.security.tokens_own" | "desk.settings.manage" | "desk.team.manage" | "desk.treasury.fund_sandbox" | "desk.treasury.settlement_iban_set" | "desk.treasury.withdraw" | "desk.trust.manage" | "desk.webhooks.manage" | "ops.activation" | "ops.activity" | "ops.billing" | "ops.customers" | "ops.margin" | "ops.money" | "ops.objects" | "ops.platform" | "ops.products" | "ops.promotions" | "ops.providers" | "ops.pulse" | "ops.records" | "ops.security" | "ops.team" | "ops.treasury" | "ops.trust" | "ops.billing.manage" | "ops.customers.lifecycle" | "ops.money.reconcile" | "ops.money.repair" | "ops.objects.manage" | "ops.products.capabilities" | "ops.promotions.promote" | "ops.providers.manage" | "ops.security.sessions_revoke" | "ops.team.manage" | "ops.treasury.manage" | "ops.trust.decide" | "ops.credit.underwrite" | "credit:underwrite">; readonly "teamProvisioning": "created" | "joined"; readonly "sessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; readonly "accounts": ReadonlyArray<{ readonly "accountId": 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" | "provider_payable" | "platform_suspense"; readonly "currency": string; }>; readonly "status": "active"; };
442
+ export type webhook_delivery_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "webhookEndpointId": string; readonly "status"?: "exhausted" | "failed" | "pending" | "succeeded"; };
443
+ export type webhook_delivery_listOutput = { readonly "items": ReadonlyArray<{ readonly "webhookDeliveryId": string; readonly "tenantId": string; readonly "id": string; readonly "webhookEndpointId": string; readonly "eventId": string; readonly "eventType": string; readonly "attempt": number; readonly "status": "exhausted" | "failed" | "pending" | "succeeded"; readonly "httpStatus"?: number; readonly "responseSnippet"?: string; readonly "createdAt": string; readonly "deliveredAt"?: string; readonly "nextAttemptAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
444
+ export type webhook_delivery_resendInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "webhookDeliveryId": string; readonly "expectedEndpointUrl"?: string; };
445
+ export type webhook_delivery_resendOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "webhookDeliveryId": string; readonly "eventId": string; readonly "eventType": string; readonly "attempt": number; readonly "status": "exhausted" | "failed" | "pending" | "succeeded"; readonly "httpStatus": (number | null); readonly "responseSnippet": (string | null); readonly "nextAttemptAt": (string | null); readonly "deliveredAt": (string | null); readonly "createdAt": string; };
446
+ export type webhook_endpoint_createInput = { readonly "tenantId": string; readonly "url": string; readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "description"?: string; readonly "productId": string; readonly "entityAccountId"?: string; };
447
+ export type webhook_endpoint_createOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "productId": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId": (string | null); readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description": (string | null); readonly "lastDeliveryStatus": ("exhausted" | "failed" | "pending" | "succeeded" | null); readonly "lastDeliveryAt": (string | null); readonly "createdAt": string; readonly "updatedAt": string; readonly "signingSecret"?: string; };
448
+ export type webhook_endpoint_deleteInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "reason": string; };
449
+ export type webhook_endpoint_deleteOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "disabled" | "enabled"; readonly "status": "deleted"; };
450
+ export type webhook_endpoint_disableInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "reason": string; };
451
+ export type webhook_endpoint_disableOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "enabled"; readonly "status": "disabled"; };
452
+ export type webhook_endpoint_enableInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "reason": string; };
453
+ export type webhook_endpoint_enableOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "disabled"; readonly "status": "enabled"; };
454
+ export type webhook_endpoint_listInput = { readonly "tenantId": string; readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "deleted" | "disabled" | "enabled"; readonly "productId"?: string; };
455
+ export type webhook_endpoint_listOutput = { readonly "items": ReadonlyArray<{ readonly "webhookEndpointId": string; readonly "tenantId": string; readonly "id": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId"?: string; readonly "productId"?: string; readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description"?: string; readonly "lastDeliveryStatus"?: "exhausted" | "failed" | "pending" | "succeeded"; readonly "lastDeliveryAt"?: string; readonly "createdAt": string; readonly "updatedAt": string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
456
+ export type webhook_endpoint_recoverInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "since": string; };
457
+ export type webhook_endpoint_recoverOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "since": string; readonly "recoveredAt": string; readonly "enqueuedCount": number; readonly "eventIds": ReadonlyArray<string>; };
458
+ export type webhook_endpoint_retrieveInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; };
459
+ export type webhook_endpoint_retrieveOutput = { readonly "item": { readonly "webhookEndpointId": string; readonly "tenantId": string; readonly "id": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId"?: string; readonly "productId"?: string; readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description"?: string; readonly "lastDeliveryStatus"?: "exhausted" | "failed" | "pending" | "succeeded"; readonly "lastDeliveryAt"?: string; readonly "createdAt": string; readonly "updatedAt": string; }; };
460
+ export type webhook_endpoint_secret_rotateInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; };
461
+ export type webhook_endpoint_secret_rotateOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "productId": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId": (string | null); readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description": (string | null); readonly "lastDeliveryStatus": ("exhausted" | "failed" | "pending" | "succeeded" | null); readonly "lastDeliveryAt": (string | null); readonly "createdAt": string; readonly "updatedAt": string; readonly "signingSecret"?: string; readonly "previousSecretExpiresAt": string; };
462
+ export type webhook_endpoint_updateInput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "reason": string; readonly "url"?: string; readonly "enabledEvents"?: ReadonlyArray<("*" | string)>; readonly "description"?: (string | null); };
463
+ export type webhook_endpoint_updateOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "productId": string; readonly "url": string; readonly "status": "deleted" | "disabled" | "enabled"; readonly "audience": "entity" | "tenant"; readonly "entityAccountId": (string | null); readonly "enabledEvents": ReadonlyArray<("*" | string)>; readonly "secretLast4": string; readonly "description": (string | null); readonly "lastDeliveryStatus": ("exhausted" | "failed" | "pending" | "succeeded" | null); readonly "lastDeliveryAt": (string | null); readonly "createdAt": string; readonly "updatedAt": string; readonly "reason": string; };
464
+ export type webhook_event_catalogInput = { readonly "tenantId": string; readonly "productId": string; };
465
+ export type webhook_event_catalogOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "wildcard": { readonly "value": "*"; readonly "exclusive": true; }; readonly "items": ReadonlyArray<{ readonly "eventType": string; readonly "operation": string; readonly "summary": string; readonly "outcome"?: string; }>; };
466
+ /** Native fetch transport for descriptor-owned SSE operations. */
467
+ export interface StreamOptions {
468
+ baseUrl: string;
469
+ headers?: HeadersInit;
470
+ credentials?: RequestCredentials;
471
+ signal?: AbortSignal;
472
+ fetch?: typeof globalThis.fetch;
473
+ }
474
+
475
+ export async function* readEventStream<
476
+ T extends { event: string; turnId: string; sequence: number },
477
+ >(response: Response): AsyncGenerator<T> {
478
+ if (!response.body) throw new Error("Missing event stream");
479
+ const reader = response.body.getReader();
480
+ const decoder = new TextDecoder("utf-8", { fatal: true });
481
+ let buffer = "";
482
+ let data: string[] = [];
483
+ let eventName = "";
484
+ let sequence = 0;
485
+ let turnId: string | undefined;
486
+ let terminal = false;
487
+ let bytes = 0;
488
+ let frameLength = 0;
489
+ try {
490
+ for (;;) {
491
+ const chunk = await reader.read();
492
+ bytes += chunk.value?.byteLength ?? 0;
493
+ if (bytes > 4_000_000) throw new Error("Event stream exceeded its limit");
494
+ buffer += decoder.decode(chunk.value, { stream: !chunk.done });
495
+ for (;;) {
496
+ const match = /[\r\n]/.exec(buffer);
497
+ if (!match) break;
498
+ const at = match.index;
499
+ if (buffer[at] === "\r" && at === buffer.length - 1 && !chunk.done)
500
+ break;
501
+ const line = buffer.slice(0, at);
502
+ frameLength += line.length;
503
+ if (frameLength > 512_000)
504
+ throw new Error("Event frame exceeded its limit");
505
+ buffer = buffer.slice(
506
+ at + (buffer.slice(at, at + 2) === "\r\n" ? 2 : 1),
507
+ );
508
+ if (line === "") {
509
+ if (data.length) {
510
+ const value = JSON.parse(data.join("\n")) as T;
511
+ if (
512
+ !value ||
513
+ typeof value !== "object" ||
514
+ value.event !== eventName ||
515
+ ![
516
+ "accepted",
517
+ "text",
518
+ "tool",
519
+ "proposal",
520
+ "usage",
521
+ "error",
522
+ "done",
523
+ ].includes(value.event) ||
524
+ value.sequence !== sequence++ ||
525
+ typeof value.turnId !== "string" ||
526
+ terminal ||
527
+ (turnId !== undefined && value.turnId !== turnId)
528
+ )
529
+ throw new Error("Invalid event sequence");
530
+ turnId = value.turnId;
531
+ terminal = value.event === "done";
532
+ yield value;
533
+ }
534
+ data = [];
535
+ eventName = "";
536
+ frameLength = 0;
537
+ } else if (line.startsWith("data:"))
538
+ data.push(line.slice(5).replace(/^ /, ""));
539
+ else if (line.startsWith("event:")) eventName = line.slice(6).trim();
540
+ }
541
+ if (frameLength + buffer.length > 512_000)
542
+ throw new Error("Event frame exceeded its limit");
543
+ if (chunk.done) {
544
+ if (buffer || data.length || !terminal)
545
+ throw new Error("Event stream was interrupted");
546
+ break;
547
+ }
548
+ }
549
+ } finally {
550
+ await reader.cancel().catch(() => {});
551
+ reader.releaseLock();
552
+ }
553
+ }
554
+
555
+ async function requestEventStream<
556
+ T extends { event: string; turnId: string; sequence: number },
557
+ >(
558
+ path: string,
559
+ input: unknown,
560
+ options: StreamOptions,
561
+ ): Promise<AsyncIterable<T>> {
562
+ const origin = new URL(options.baseUrl);
563
+ if (
564
+ origin.origin !== options.baseUrl ||
565
+ (origin.protocol !== "https:" &&
566
+ !["localhost", "127.0.0.1", "[::1]"].includes(origin.hostname))
567
+ )
568
+ throw new Error("Expected an HTTPS origin or loopback HTTP origin");
569
+ const headers = new Headers(options.headers);
570
+ headers.set("content-type", "application/json");
571
+ headers.set("accept", "text/event-stream");
572
+ const response = await (options.fetch ?? globalThis.fetch)(
573
+ new URL(path, origin),
574
+ {
575
+ method: "POST",
576
+ headers,
577
+ body: JSON.stringify(input),
578
+ redirect: "error",
579
+ credentials: options.credentials ?? "same-origin",
580
+ signal: AbortSignal.any([
581
+ AbortSignal.timeout(450_000),
582
+ ...(options.signal ? [options.signal] : []),
583
+ ]),
584
+ },
585
+ );
586
+ if (!response.ok) {
587
+ const body = (await response.json().catch(() => undefined)) as
588
+ | { error?: { code?: string; message?: string } }
589
+ | undefined;
590
+ throw Object.assign(
591
+ new Error(
592
+ body?.error?.message ?? `Request failed with HTTP ${response.status}`,
593
+ ),
594
+ {
595
+ status: response.status,
596
+ code: body?.error?.code,
597
+ },
598
+ );
599
+ }
600
+ if (!response.headers.get("content-type")?.includes("text/event-stream")) {
601
+ await response.body?.cancel();
602
+ throw new Error("Expected an event stream");
603
+ }
604
+ return readEventStream<T>(response);
605
+ }
606
+
607
+ export { requestEventStream };
608
+
609
+ export function composer_author(input: composer_authorInput, options: StreamOptions): Promise<AsyncIterable<composer_authorOutput>> { return requestEventStream<composer_authorOutput>("/v1/composer/author", input, options); }
610
+ export interface Operations {
611
+ readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
612
+ readonly "account.close": { input: account_closeInput; output: account_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_close_balance_nonzero" | "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
613
+ readonly "account.create": { input: account_createInput; output: account_createOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_owner_mismatch" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "entity_not_found" | "entity_status_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "owner_unsupported" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "usage_source_conflict" | "validation_failed" } } };
614
+ readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_not_found" | "account_status_forbidden" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
615
+ readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
616
+ readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
617
+ readonly "account.list": { input: account_listInput; output: account_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
618
+ readonly "account.retrieve": { input: account_retrieveInput; output: account_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
619
+ readonly "account.statement.export": { input: account_statement_exportInput; output: account_statement_exportOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
620
+ readonly "account.statement.retrieve": { input: account_statement_retrieveInput; output: account_statement_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
621
+ readonly "account.unfreeze": { input: account_unfreezeInput; output: account_unfreezeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
622
+ readonly "activity.list": { input: activity_listInput; output: activity_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
623
+ readonly "activity.retrieve": { input: activity_retrieveInput; output: activity_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
624
+ readonly "api_key.list": { input: api_key_listInput; output: api_key_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
625
+ readonly "api_key.live.create": { input: api_key_live_createInput; output: api_key_live_createOutput; error: ErrorResponse & { readonly error: { readonly code: "capability_not_enabled" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_confirmation_required" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "product_not_promoted" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
626
+ readonly "api_key.retrieve": { input: api_key_retrieveInput; output: api_key_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
627
+ readonly "api_key.revoke": { input: api_key_revokeInput; output: api_key_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "api_key_not_found" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
628
+ readonly "api_key.sandbox.create": { input: api_key_sandbox_createInput; output: api_key_sandbox_createOutput; error: ErrorResponse & { readonly error: { readonly code: "capability_not_enabled" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
629
+ readonly "audit_event.list": { input: audit_event_listInput; output: audit_event_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
630
+ readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: audit_event_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
631
+ readonly "beneficiary.list": { input: beneficiary_listInput; output: beneficiary_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
632
+ readonly "beneficiary.retrieve": { input: beneficiary_retrieveInput; output: beneficiary_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
633
+ readonly "billing_period.list": { input: billing_period_listInput; output: billing_period_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
634
+ readonly "billing_period.retrieve": { input: billing_period_retrieveInput; output: billing_period_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
635
+ readonly "catalog.author": { input: catalog_authorInput; output: catalog_authorOutput; error: ErrorResponse & { readonly error: { readonly code: "catalog_overlay_collision" | "catalog_proof_failed" | "catalog_revision_conflict" | "catalog_source_limit_exceeded" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
636
+ readonly "charge.list": { input: charge_listInput; output: charge_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
637
+ readonly "charge.retrieve": { input: charge_retrieveInput; output: charge_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
638
+ readonly "collection.list": { input: collection_listInput; output: collection_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
639
+ readonly "collection.retrieve": { input: collection_retrieveInput; output: collection_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
640
+ readonly "composer.author": { input: composer_authorInput; output: AsyncIterable<composer_authorOutput>; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
641
+ readonly "composer.catalog": { input: composer_catalogInput; output: composer_catalogOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
642
+ readonly "composer.check": { input: composer_checkInput; output: composer_checkOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
643
+ readonly "composer.plan": { input: composer_planInput; output: composer_planOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
644
+ readonly "consent.grant": { input: consent_grantInput; output: consent_grantOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
645
+ readonly "consent.list": { input: consent_listInput; output: consent_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
646
+ readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
647
+ readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "consent_expired" | "consent_not_active" | "consent_not_found" | "consent_revoked" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
648
+ readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
649
+ readonly "customer_access.create": { input: customer_access_createInput; output: customer_access_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_exists" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
650
+ readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
651
+ readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
652
+ readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
653
+ readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
654
+ readonly "customer.create": { input: customer_createInput; output: customer_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "entity_not_found" | "entity_status_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
655
+ readonly "customer.data.export": { input: customer_data_exportInput; output: customer_data_exportOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_erased" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
656
+ readonly "customer.disable": { input: customer_disableInput; output: customer_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_disable_open_activity" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
657
+ readonly "customer.erase": { input: customer_eraseInput; output: customer_eraseOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
658
+ readonly "customer.list": { input: customer_listInput; output: customer_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
659
+ readonly "customer.reactivate": { input: customer_reactivateInput; output: customer_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
660
+ readonly "customer.retrieve": { input: customer_retrieveInput; output: customer_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
661
+ readonly "customer.update": { input: customer_updateInput; output: customer_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_erased" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
662
+ readonly "deposit.list": { input: deposit_listInput; output: deposit_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
663
+ readonly "deposit.retrieve": { input: deposit_retrieveInput; output: deposit_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
664
+ readonly "developer.log.list": { input: developer_log_listInput; output: developer_log_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
665
+ readonly "developer.log.retrieve": { input: developer_log_retrieveInput; output: developer_log_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "developer_log_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
666
+ readonly "entity.update": { input: entity_updateInput; output: entity_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "entity_lifecycle_status_forbidden" | "entity_not_found" | "entity_tenant_relationship_not_found" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
667
+ readonly "event.list": { input: event_listInput; output: event_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
668
+ readonly "event.retrieve": { input: event_retrieveInput; output: event_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
669
+ readonly "expected_payment.list": { input: expected_payment_listInput; output: expected_payment_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
670
+ readonly "expected_payment.retrieve": { input: expected_payment_retrieveInput; output: expected_payment_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
671
+ readonly "extension.list": { input: extension_listInput; output: extension_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
672
+ readonly "external_confirmation.list": { input: external_confirmation_listInput; output: external_confirmation_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
673
+ readonly "external_confirmation.retrieve": { input: external_confirmation_retrieveInput; output: external_confirmation_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
674
+ readonly "financial_address.list": { input: financial_address_listInput; output: financial_address_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
675
+ readonly "financial_address.retrieve": { input: financial_address_retrieveInput; output: financial_address_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
676
+ readonly "internal_transfer.list": { input: internal_transfer_listInput; output: internal_transfer_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
677
+ readonly "internal_transfer.retrieve": { input: internal_transfer_retrieveInput; output: internal_transfer_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
678
+ readonly "operation.list": { input: operation_listInput; output: operation_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
679
+ readonly "operation.retrieve": { input: operation_retrieveInput; output: operation_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
680
+ readonly "payment_reminder.delivery.retrieve": { input: payment_reminder_delivery_retrieveInput; output: payment_reminder_delivery_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
681
+ readonly "payout.evidence.retrieve": { input: payout_evidence_retrieveInput; output: payout_evidence_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
682
+ readonly "payout.list": { input: payout_listInput; output: payout_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
683
+ readonly "payout.retrieve": { input: payout_retrieveInput; output: payout_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
684
+ readonly "personal_access_token.create": { input: personal_access_token_createInput; output: personal_access_token_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
685
+ readonly "personal_access_token.current": { input: personal_access_token_currentInput; output: personal_access_token_currentOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
686
+ readonly "personal_access_token.list": { input: personal_access_token_listInput; output: personal_access_token_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
687
+ readonly "personal_access_token.login_grant.create": { input: personal_access_token_login_grant_createInput; output: personal_access_token_login_grant_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
688
+ readonly "personal_access_token.login_grant.exchange": { input: personal_access_token_login_grant_exchangeInput; output: personal_access_token_login_grant_exchangeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
689
+ readonly "personal_access_token.revoke": { input: personal_access_token_revokeInput; output: personal_access_token_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
690
+ readonly "product_capability.list": { input: product_capability_listInput; output: product_capability_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
691
+ readonly "product_capability.retrieve": { input: product_capability_retrieveInput; output: product_capability_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
692
+ readonly "product.actions.list": { input: product_actions_listInput; output: product_actions_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
693
+ readonly "product.activation.retrieve": { input: product_activation_retrieveInput; output: product_activation_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
694
+ readonly "product.api_key.rotate": { input: product_api_key_rotateInput; output: product_api_key_rotateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
695
+ readonly "product.balance_sheet.retrieve": { input: product_balance_sheet_retrieveInput; output: product_balance_sheet_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
696
+ readonly "product.build.list": { input: product_build_listInput; output: product_build_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
697
+ readonly "product.build.retrieve": { input: product_build_retrieveInput; output: product_build_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_build_stale" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
698
+ readonly "product.capability.retire": { input: product_capability_retireInput; output: product_capability_retireOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_capability_not_found" | "product_capability_status_forbidden" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
699
+ readonly "product.capability.unretire": { input: product_capability_unretireInput; output: product_capability_unretireOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_capability_not_found" | "product_capability_status_forbidden" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
700
+ readonly "product.close": { input: product_closeInput; output: product_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_close_open_activity" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
701
+ readonly "product.create": { input: product_createInput; output: product_createOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
702
+ readonly "product.disable": { input: product_disableInput; output: product_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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_disable_open_activity" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
703
+ readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
704
+ readonly "product.earn.rate.set": { input: product_earn_rate_setInput; output: product_earn_rate_setOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "earn_rate_operation_not_earnable" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
705
+ readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
706
+ readonly "product.economic_snapshot.retrieve": { input: product_economic_snapshot_retrieveInput; output: product_economic_snapshot_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
707
+ readonly "product.guidance.retrieve": { input: product_guidance_retrieveInput; output: product_guidance_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
708
+ readonly "product.instruments.compose": { input: product_instruments_composeInput; output: product_instruments_composeOutput; error: ErrorResponse & { readonly error: { readonly code: "capability_not_available_in_sandbox" | "capability_not_configured" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "empty_composition" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_capability_already_enabled" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
709
+ readonly "product.instruments.list": { input: product_instruments_listInput; output: product_instruments_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
710
+ readonly "product.list": { input: product_listInput; output: product_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
711
+ readonly "product.margin.retrieve": { input: product_margin_retrieveInput; output: product_margin_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
712
+ readonly "product.objects.actions": { input: product_objects_actionsInput; output: product_objects_actionsOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
713
+ readonly "product.objects.agreements.evidence.list": { input: product_objects_agreements_evidence_listInput; output: product_objects_agreements_evidence_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
714
+ readonly "product.objects.agreements.list": { input: product_objects_agreements_listInput; output: product_objects_agreements_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
715
+ readonly "product.objects.create": { input: product_objects_createInput; output: product_objects_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
716
+ readonly "product.objects.discover": { input: product_objects_discoverInput; output: product_objects_discoverOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
717
+ readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "external_confirmation_conflict" | "external_confirmation_not_found" | "external_confirmation_resource_conflict" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "provider_outcome_unsupported" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
718
+ readonly "product.objects.export": { input: product_objects_exportInput; output: product_objects_exportOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "reporting_artifact_refused" | "reporting_capture_timeout" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
719
+ readonly "product.objects.list": { input: product_objects_listInput; output: product_objects_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
720
+ readonly "product.objects.preview": { input: product_objects_previewInput; output: product_objects_previewOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
721
+ readonly "product.objects.retrieve": { input: product_objects_retrieveInput; output: product_objects_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
722
+ readonly "product.objects.timeline.list": { input: product_objects_timeline_listInput; output: product_objects_timeline_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
723
+ readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
724
+ readonly "product.reactivate": { input: product_reactivateInput; output: product_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
725
+ readonly "product.recompose": { input: product_recomposeInput; output: product_recomposeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_build_stale" | "product_instrument_not_drained" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
726
+ readonly "product.retrieve": { input: product_retrieveInput; output: product_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
727
+ readonly "product.schedule.list": { input: product_schedule_listInput; output: product_schedule_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
728
+ readonly "product.treasury.provision": { input: product_treasury_provisionInput; output: product_treasury_provisionOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
729
+ readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; output: product_treasury_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
730
+ readonly "product.update": { input: product_updateInput; output: product_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "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_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
731
+ readonly "product.work.list": { input: product_work_listInput; output: product_work_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
732
+ readonly "receipt.list": { input: receipt_listInput; output: receipt_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
733
+ readonly "receipt.retrieve": { input: receipt_retrieveInput; output: receipt_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
734
+ readonly "report.artifact.download": { input: report_artifact_downloadInput; output: report_artifact_downloadOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
735
+ readonly "report.artifact.list": { input: report_artifact_listInput; output: report_artifact_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
736
+ readonly "report.artifact.replay": { input: report_artifact_replayInput; output: report_artifact_replayOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
737
+ readonly "report.artifact.retrieve": { input: report_artifact_retrieveInput; output: report_artifact_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
738
+ readonly "report.definition.activate": { input: report_definition_activateInput; output: report_definition_activateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_build_stale" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
739
+ readonly "report.definition.list": { input: report_definition_listInput; output: report_definition_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
740
+ readonly "report.request": { input: report_requestInput; output: report_requestOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_build_stale" | "product_not_found" | "rate_limited" | "reporting_artifact_refused" | "reporting_capture_timeout" | "reporting_period_invalid" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
741
+ readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_conflict" | "account_not_found" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "entity_not_found" | "entity_status_forbidden" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
742
+ readonly "sandbox.clock.advance": { input: sandbox_clock_advanceInput; output: sandbox_clock_advanceOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_context_mismatch" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
743
+ readonly "sandbox.clock.retrieve": { input: sandbox_clock_retrieveInput; output: sandbox_clock_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
744
+ readonly "sandbox.customer_access.activate": { input: sandbox_customer_access_activateInput; output: sandbox_customer_access_activateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
745
+ readonly "sandbox.platform.fire": { input: sandbox_platform_fireInput; output: sandbox_platform_fireOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
746
+ readonly "sandbox.rehearsal.create": { input: sandbox_rehearsal_createInput; output: sandbox_rehearsal_createOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
747
+ readonly "system.health": { input: system_healthInput; output: system_healthOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
748
+ readonly "team.invitation.list": { input: team_invitation_listInput; output: team_invitation_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
749
+ readonly "team.member.invite": { input: team_member_inviteInput; output: team_member_inviteOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "invite_already_pending" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_role_not_found" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
750
+ readonly "team.member.invite.revoke": { input: team_member_invite_revokeInput; output: team_member_invite_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "invite_already_used" | "invite_not_found" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
751
+ readonly "team.member.list": { input: team_member_listInput; output: team_member_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
752
+ readonly "team.member.remove": { input: team_member_removeInput; output: team_member_removeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_last_owner_protected" | "team_member_not_found" | "team_role_not_found" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
753
+ readonly "team.member.retrieve": { input: team_member_retrieveInput; output: team_member_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
754
+ readonly "team.member.role.update": { input: team_member_role_updateInput; output: team_member_role_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_last_owner_protected" | "team_member_not_found" | "team_role_not_found" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
755
+ readonly "team.role.create": { input: team_role_createInput; output: team_role_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_role_name_taken" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
756
+ readonly "team.role.delete": { input: team_role_deleteInput; output: team_role_deleteOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_role_in_use" | "team_role_not_found" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
757
+ readonly "team.role.list": { input: team_role_listInput; output: team_role_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
758
+ readonly "team.role.retrieve": { input: team_role_retrieveInput; output: team_role_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
759
+ readonly "team.role.update": { input: team_role_updateInput; output: team_role_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "team_role_name_taken" | "team_role_not_found" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
760
+ readonly "tenant.finance.report": { input: tenant_finance_reportInput; output: tenant_finance_reportOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
761
+ readonly "tenant.list": { input: tenant_listInput; output: tenant_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
762
+ readonly "tenant.money.summary": { input: tenant_money_summaryInput; output: tenant_money_summaryOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
763
+ readonly "tenant.parties.list": { input: tenant_parties_listInput; output: tenant_parties_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
764
+ readonly "tenant.parties.retrieve": { input: tenant_parties_retrieveInput; output: tenant_parties_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
765
+ readonly "tenant.party.records.list": { input: tenant_party_records_listInput; output: tenant_party_records_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
766
+ readonly "tenant.retrieve": { input: tenant_retrieveInput; output: tenant_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
767
+ readonly "tenant.safeguarding.retrieve": { input: tenant_safeguarding_retrieveInput; output: tenant_safeguarding_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
768
+ readonly "tenant.setup.retrieve": { input: tenant_setup_retrieveInput; output: tenant_setup_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
769
+ readonly "tenant.statement.export.create": { input: tenant_statement_export_createInput; output: tenant_statement_export_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
770
+ readonly "tenant.statement.export.download": { input: tenant_statement_export_downloadInput; output: tenant_statement_export_downloadOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
771
+ readonly "tenant.statement.export.list": { input: tenant_statement_export_listInput; output: tenant_statement_export_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
772
+ readonly "tenant.statement.export.retrieve": { input: tenant_statement_export_retrieveInput; output: tenant_statement_export_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
773
+ readonly "tenant.treasury.retrieve": { input: tenant_treasury_retrieveInput; output: tenant_treasury_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
774
+ readonly "tenant.treasury.statements.retrieve": { input: tenant_treasury_statements_retrieveInput; output: tenant_treasury_statements_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
775
+ readonly "tenant.update": { input: tenant_updateInput; output: tenant_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
776
+ readonly "tenant.work.list": { input: tenant_work_listInput; output: tenant_work_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
777
+ readonly "transfer_return.create": { input: transfer_return_createInput; output: transfer_return_createOutput; error: ErrorResponse & { readonly error: { readonly code: "account_frozen" | "csrf_token_invalid" | "destination_account_status_forbidden" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "source_account_status_forbidden" | "source_operation_not_found" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "transfer_destination_role_forbidden" | "transfer_lineage_conflict" | "transfer_not_found" | "transfer_return_exists" | "transfer_return_target_is_return" | "transfer_return_window_expired" | "transfer_role_pair_forbidden" | "transfer_source_role_forbidden" | "transfer_status_forbidden" | "unauthorized" | "validation_failed" } } };
778
+ readonly "usage_record.list": { input: usage_record_listInput; output: usage_record_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
779
+ readonly "usage_record.retrieve": { input: usage_record_retrieveInput; output: usage_record_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
780
+ readonly "usage.statement": { input: usage_statementInput; output: usage_statementOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
781
+ readonly "user.email.verification.confirm": { input: user_email_verification_confirmInput; output: user_email_verification_confirmOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "email_verification_not_found" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
782
+ readonly "user.email.verification.request": { input: user_email_verification_requestInput; output: user_email_verification_requestOutput; error: ErrorResponse & { readonly error: { readonly code: "capability_not_configured" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
783
+ readonly "user.login": { input: user_loginInput; output: user_loginOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "terms_acceptance_required" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
784
+ readonly "user.logout": { input: user_logoutInput; output: user_logoutOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
785
+ readonly "user.password.reset.confirm": { input: user_password_reset_confirmInput; output: user_password_reset_confirmOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "password_reset_expired" | "password_reset_not_found" | "password_reset_used" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
786
+ readonly "user.password.reset.request": { input: user_password_reset_requestInput; output: user_password_reset_requestOutput; error: ErrorResponse & { readonly error: { readonly code: "capability_not_configured" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
787
+ readonly "user.session.environment.switch": { input: user_session_environment_switchInput; output: user_session_environment_switchOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "tenant_status_forbidden" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
788
+ readonly "user.session.handoff.create": { input: user_session_handoff_createInput; output: user_session_handoff_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
789
+ readonly "user.session.handoff.exchange": { input: user_session_handoff_exchangeInput; output: user_session_handoff_exchangeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "user_status_forbidden" | "validation_failed" } } };
790
+ readonly "user.session.list": { input: user_session_listInput; output: user_session_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
791
+ readonly "user.session.retrieve": { input: user_session_retrieveInput; output: user_session_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
792
+ readonly "user.session.revoke": { input: user_session_revokeInput; output: user_session_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_not_found" | "session_required" | "session_revoke_forbidden" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
793
+ readonly "user.signup": { input: user_signupInput; output: user_signupOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "invite_already_used" | "invite_expired" | "invite_not_found" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "sandbox_environment_required" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_code_exhausted" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
794
+ readonly "webhook.delivery.list": { input: webhook_delivery_listInput; output: webhook_delivery_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
795
+ readonly "webhook.delivery.resend": { input: webhook_delivery_resendInput; output: webhook_delivery_resendOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" | "webhook_endpoint_url_mismatch" } } };
796
+ readonly "webhook.endpoint.create": { input: webhook_endpoint_createInput; output: webhook_endpoint_createOutput; error: ErrorResponse & { readonly error: { readonly code: "account_not_found" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
797
+ readonly "webhook.endpoint.delete": { input: webhook_endpoint_deleteInput; output: webhook_endpoint_deleteOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" | "webhook_endpoint_lifecycle_status_forbidden" } } };
798
+ readonly "webhook.endpoint.disable": { input: webhook_endpoint_disableInput; output: webhook_endpoint_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" | "webhook_endpoint_lifecycle_status_forbidden" } } };
799
+ readonly "webhook.endpoint.enable": { input: webhook_endpoint_enableInput; output: webhook_endpoint_enableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" | "webhook_endpoint_lifecycle_status_forbidden" } } };
800
+ readonly "webhook.endpoint.list": { input: webhook_endpoint_listInput; output: webhook_endpoint_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
801
+ readonly "webhook.endpoint.recover": { input: webhook_endpoint_recoverInput; output: webhook_endpoint_recoverOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
802
+ readonly "webhook.endpoint.retrieve": { input: webhook_endpoint_retrieveInput; output: webhook_endpoint_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
803
+ readonly "webhook.endpoint.secret.rotate": { input: webhook_endpoint_secret_rotateInput; output: webhook_endpoint_secret_rotateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
804
+ readonly "webhook.endpoint.update": { input: webhook_endpoint_updateInput; output: webhook_endpoint_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" | "webhook_endpoint_lifecycle_status_forbidden" } } };
805
+ readonly "webhook.event.catalog": { input: webhook_event_catalogInput; output: webhook_event_catalogOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
806
+ }
807
+ export type ErrorCode = Operations[keyof Operations]["error"]["error"]["code"];