@hyperscale0/sdk 1.0.338 → 1.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/README.md +106 -69
- package/bin.js +11 -0
- package/client.d.ts +174 -27
- package/client.js +437 -197
- package/package.json +5 -2
- package/platform.d.ts +143 -139
- package/product-types.js +162 -0
package/platform.d.ts
CHANGED
|
@@ -28,11 +28,11 @@ export type account_hold_retrieveOutput = { readonly "transferId": string; reado
|
|
|
28
28
|
export type account_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "record"?: "none"; readonly "recordId"?: string; readonly "ownerCustomerId"?: string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "status"?: "pending" | "open" | "frozen" | "closed"; };
|
|
29
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" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency": "SAR"; }; readonly "ownerName"?: string; readonly "holderLabel"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "updatedAt": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
30
30
|
export type account_retrieveInput = { readonly "productId"?: string; readonly "accountId": string; };
|
|
31
|
-
export type account_retrieveOutput = { readonly "
|
|
31
|
+
export type account_retrieveOutput = { readonly "accountId": string; readonly "tenantId": string; readonly "id": string; readonly "role"?: "tenant_billing" | "tenant_credit" | "tenant_settlement" | "tenant_master_mirror" | "customer_balance" | "customer_investment" | "instrument_account" | "product_escrow" | "product_pool" | "product_credit" | "product_revenue" | "platform_estate_mirror" | "platform_revenue" | "platform_suspense"; readonly "currency"?: string; readonly "status"?: "pending" | "open" | "frozen" | "closed"; readonly "ownerParticipantId"?: string; readonly "book"?: string; readonly "external"?: boolean; readonly "contra"?: boolean; readonly "createdOperationId"?: string; readonly "ownerKind"?: "platform" | "tenant" | "customer" | "product" | "external"; readonly "ownerCustomerId"?: string; readonly "productName"?: string; readonly "accountLabel"?: string; readonly "balance"?: { readonly "settled": string; readonly "pending": string; readonly "available": string; readonly "currency": "SAR"; }; readonly "ownerName"?: string; readonly "holderLabel"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "updatedAt": string; readonly "createdAt"?: string; };
|
|
32
32
|
export type account_statement_exportInput = { readonly "accountId": string; readonly "productId"?: string; readonly "period": string; };
|
|
33
33
|
export type account_statement_exportOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency": "SAR"; 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
34
|
export type account_statement_retrieveInput = { 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": "SAR"; 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": "SAR"; readonly "direction": "debit" | "credit"; readonly "entryId": string; readonly "ledgerTransferId": string; readonly "memo": string; readonly "occurredAt": string; readonly "operationId": string; readonly "operationName": string; readonly "origin"?: { readonly "instrumentId": string; readonly "instrumentInstanceId": string; readonly "action": string; }; readonly "runningBalance": string; readonly "status": "pending" | "posted" | "voided"; readonly "title"?: string; readonly "transferId": string; }>; };
|
|
35
|
+
export type account_statement_retrieveOutput = { readonly "accountId": string; readonly "closingBalance": string; readonly "currency": "SAR"; readonly "environment": "sandbox" | "live"; readonly "finalized": boolean; readonly "openingBalance": string; readonly "period": string; readonly "periodEndExclusive": string; readonly "periodStart": string; readonly "tenantId": string; readonly "productId"?: string; readonly "asOf": string; readonly "cutoff": string; readonly "observedAt"?: string; readonly "totalLines": number; readonly "nextCursor": string | null; readonly "lines": ReadonlyArray<{ readonly "amount": string; readonly "balanceDelta": string; readonly "counterpartyAccountId": string; readonly "counterpartyDisplayName": string; readonly "currency": "SAR"; readonly "direction": "debit" | "credit"; readonly "entryId": string; readonly "ledgerTransferId": string; readonly "memo": string; readonly "occurredAt": string; readonly "operationId": string; readonly "operationName": string; readonly "origin"?: { readonly "instrumentId": string; readonly "instrumentInstanceId": string; readonly "action": string; }; readonly "runningBalance": string; readonly "status": "pending" | "posted" | "voided"; readonly "title"?: string; readonly "transferId": string; }>; };
|
|
36
36
|
export type account_unfreezeInput = { readonly "accountId": string; readonly "reason": string; };
|
|
37
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
38
|
export type activity_listInput = { readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user"; readonly "resourceId"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "type"?: "object" | "money_move" | "company_access"; };
|
|
@@ -42,11 +42,11 @@ export type activity_retrieveOutput = ({ readonly "activityId": string; readonly
|
|
|
42
42
|
export type audit_event_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
43
43
|
export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest"?: string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
44
44
|
export type audit_event_retrieveInput = { readonly "productId"?: string; readonly "auditEventId": string; };
|
|
45
|
-
export type audit_event_retrieveOutput = { readonly "
|
|
45
|
+
export type audit_event_retrieveOutput = { readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest"?: string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; };
|
|
46
46
|
export type consent_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "customerId"?: string; readonly "status"?: "active" | "expired" | "revoked"; };
|
|
47
47
|
export type consent_listOutput = { readonly "items": ReadonlyArray<{ readonly "consentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "customerId"?: 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 }; };
|
|
48
48
|
export type consent_retrieveInput = { readonly "productId"?: string; readonly "consentId": string; };
|
|
49
|
-
export type consent_retrieveOutput = { readonly "
|
|
49
|
+
export type consent_retrieveOutput = { readonly "consentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "customerId"?: string; readonly "subjectId"?: string; readonly "subjectKind"?: string; readonly "status"?: "active" | "expired" | "revoked"; readonly "version"?: string; readonly "expiresAt"?: string; readonly "createdAt"?: string; };
|
|
50
50
|
export type consent_revokeInput = { readonly "productId": string; readonly "consentId": string; readonly "reason": string; };
|
|
51
51
|
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; };
|
|
52
52
|
export type customer_access_closeInput = { readonly "customerAccessId": string; readonly "reason": string; };
|
|
@@ -56,13 +56,13 @@ export type customer_access_listOutput = { readonly "items": ReadonlyArray<{ rea
|
|
|
56
56
|
export type customer_access_reactivateInput = { readonly "customerAccessId": string; readonly "reason": string; };
|
|
57
57
|
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"; };
|
|
58
58
|
export type customer_access_retrieveInput = { readonly "productId"?: string; readonly "customerAccessId": string; };
|
|
59
|
-
export type customer_access_retrieveOutput = { readonly "
|
|
59
|
+
export type customer_access_retrieveOutput = { readonly "customerAccessId": string; readonly "tenantId": string; readonly "id": string; readonly "customerId"?: string; readonly "productId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; };
|
|
60
60
|
export type customer_access_suspendInput = { readonly "customerAccessId": string; readonly "reason": string; };
|
|
61
61
|
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"; };
|
|
62
62
|
export type customer_createInput = { readonly "productId": string; readonly "entity": ({ readonly "kind": "person"; readonly "displayName": string; readonly "country": string; readonly "profile"?: { readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; }; } | { readonly "kind": "organization"; readonly "displayName": string; readonly "country": string; readonly "profile"?: { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }; }); readonly "test"?: true; };
|
|
63
|
-
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 "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "customerAccessId": string; readonly "customerAccessStatus"?: "active"; };
|
|
63
|
+
export type customer_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "partyId": string; readonly "customerStatus": "active"; readonly "entityId": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled" | "not_checked"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "customerAccessId": string; readonly "customerAccessStatus"?: "active"; };
|
|
64
64
|
export type customer_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "erased"; };
|
|
65
|
-
export type customer_listOutput = { readonly "items": ReadonlyArray<{ readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "entityKind": "person" | "organization"; readonly "entityCountry": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled"; readonly "profile": (({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }) | null); readonly "profileStatus": "missing" | "complete"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "principalId": string; readonly "externalReference"?: string | null; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
65
|
+
export type customer_listOutput = { readonly "items": ReadonlyArray<{ readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "entityKind": "person" | "organization"; readonly "entityCountry": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled" | "not_checked"; readonly "profile": (({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }) | null); readonly "profileStatus": "missing" | "complete"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "principalId": string; readonly "externalReference"?: string | null; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
66
66
|
export type customer_loginInput = { readonly "productId": string; readonly "email": string; readonly "password": string; };
|
|
67
67
|
export type customer_loginOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "entityId": string; readonly "email": string; readonly "customerAccessId": string; readonly "customerAccessStatus": "pending" | "active" | "suspended" | "closed"; readonly "customerSessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; };
|
|
68
68
|
export type customer_logoutInput = Record<string, never>;
|
|
@@ -70,15 +70,11 @@ export type customer_logoutOutput = { readonly "customerSessionId": string; read
|
|
|
70
70
|
export type customer_profile_updateInput = { readonly "customerId": string; readonly "profile": ({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }); };
|
|
71
71
|
export type customer_profile_updateOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "profile": ({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }); readonly "profileStatus": "complete"; readonly "updatedAt": string; };
|
|
72
72
|
export type customer_retrieveInput = { readonly "productId"?: string; readonly "customerId": string; };
|
|
73
|
-
export type customer_retrieveOutput = { readonly "
|
|
73
|
+
export type customer_retrieveOutput = { readonly "customerId": string; readonly "tenantId": string; readonly "displayName": string; readonly "entityId"?: string; readonly "entityKind": "person" | "organization"; readonly "entityCountry": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled" | "not_checked"; readonly "profile": (({ readonly "kind": "person"; readonly "nationality": string; readonly "dateOfBirth": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "occupation": string; readonly "sourceOfFunds": "salary" | "business_income" | "investments" | "savings" | "inheritance" | "other"; readonly "politicallyExposed": boolean; } | { readonly "kind": "organization"; readonly "legalForm": "llc" | "sole_establishment" | "joint_stock" | "simplified_joint_stock" | "partnership" | "foreign_branch" | "nonprofit" | "other"; readonly "registrationNumber": string; readonly "incorporatedOn": string; readonly "taxNumber"?: string; readonly "activity": string; readonly "phone": string; readonly "address": { readonly "line1": string; readonly "city": string; readonly "postalCode": string; readonly "country": string; }; readonly "signatory": { readonly "fullName": string; readonly "role": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; }; readonly "beneficialOwners": ReadonlyArray<{ readonly "fullName": string; readonly "nationality": string; readonly "idDocument": { readonly "type": "national_id" | "resident_id" | "passport"; readonly "number": string; readonly "issuingCountry": string; readonly "expiresOn": string; }; readonly "ownershipPercent": number; }>; }) | null); readonly "profileStatus": "missing" | "complete"; readonly "identity": "test" | "pending" | "verified" | "rejected" | "disabled"; readonly "principalId": string; readonly "externalReference"?: string | null; readonly "status"?: "pending" | "active" | "disabled" | "erased"; readonly "createdAt"?: string; };
|
|
74
74
|
export type customer_session_revokeInput = { readonly "customerSessionId": string; };
|
|
75
75
|
export type customer_session_revokeOutput = { readonly "customerSessionId": string; readonly "status": "revoked" | "already_revoked"; readonly "revokedAt": string; };
|
|
76
76
|
export type customer_signupInput = { readonly "productId": string; readonly "email": string; readonly "password": string; readonly "displayName": string; readonly "country"?: string; readonly "termsAccepted": true; };
|
|
77
77
|
export type customer_signupOutput = { readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "customerId": string; readonly "entityId": string; readonly "email": string; readonly "customerAccessId": string; readonly "customerAccessStatus": "pending" | "active" | "suspended" | "closed"; readonly "customerSessionId": string; readonly "sessionToken"?: string; readonly "sessionExpiresAt": string; readonly "displayName": string; readonly "customerStatus": "pending" | "active" | "disabled" | "erased"; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled"; };
|
|
78
|
-
export type developer_log_listInput = { readonly "productId"?: string; readonly "operation"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "principalId"?: string; readonly "requestId"?: string; };
|
|
79
|
-
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" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "recordedAt": string; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "audit": ReadonlyArray<{ readonly "auditEventId": string; readonly "event": string; readonly "level"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "body"?: { readonly [key: string]: unknown }; readonly "occurredAt": string; }>; readonly "principalId"?: string; readonly "finalizedAt"?: string; readonly "latencyMs"?: number; }>; readonly "nextCursor"?: string; };
|
|
80
|
-
export type developer_log_retrieveInput = { readonly "operationId": string; };
|
|
81
|
-
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" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; }>; readonly "errorEnvelope"?: { readonly "code": string; readonly "message": string; readonly "status": number; readonly "details"?: unknown; readonly "fix": (string | null); }; readonly "timeline": ReadonlyArray<{ readonly "kind": string; readonly "reference"?: string; readonly "externalConfirmationId"?: string; readonly "provider"?: string; readonly "providerReference"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "operationId"?: string; readonly "operation"?: { readonly "id": string; readonly "name"?: string; readonly "status"?: string; }; readonly "status"?: string; readonly "occurredAt"?: string; readonly "proof"?: { readonly [key: string]: unknown }; readonly "usageRecordId"?: string; readonly "meter"?: "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "operationName"?: string; readonly "receiptId"?: string; readonly "type"?: string; readonly "finalizedAt"?: (string | null); readonly "auditEventId"?: string; readonly "event"?: string; readonly "level"?: string; readonly "body"?: { readonly [key: string]: unknown }; } & { readonly [key: string]: unknown }>; readonly "usage": ReadonlyArray<{ readonly "usageRecordId": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "occurredAt": string; }>; readonly "title": string; readonly "actor": { readonly "id": (string | null); readonly "name": string; }; readonly "product": ({ readonly "id": string; readonly "name": string; } | null); readonly "subject": ({ readonly "kind": "object"; readonly "productId": string; readonly "objectKind": string; readonly "objectId": string; readonly "title": string; } | { readonly "kind": "money_move"; readonly "resourceKind": "account" | "internal_transfer"; readonly "resourceId": string; } | { readonly "kind": "company_access"; readonly "resourceKind": string; readonly "resourceId": (string | null); }); readonly "moves": ReadonlyArray<{ readonly "transferId": string; readonly "amount": { readonly "value": string; readonly "currency": string; }; readonly "from": string; readonly "to": string; readonly "customer": ({ readonly "id": string; readonly "name": string; } | null); readonly "object": ({ readonly "kind": string; readonly "id": string; readonly "title": string; } | null); readonly "action": (string | null); }>; readonly "moveCount": number; readonly "recordedAt": string; readonly "operationId": string; readonly "operation": string; readonly "status": "accepted" | "pending" | "succeeded" | "failed"; readonly "resource"?: { readonly "kind": "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "id"?: string; }; readonly "resourceKind"?: "account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert"; readonly "resourceId"?: string; readonly "receipt"?: { readonly "id": string; readonly "status": string; readonly "type": string; readonly "finalizedAt": (string | null); }; readonly "auditEvent"?: string; readonly "audit": ReadonlyArray<{ readonly "auditEventId": string; readonly "event": string; readonly "level"?: string; readonly "resourceKind"?: ("account" | "activity" | "api_key" | "audit" | "product_capability" | "consent" | "customer" | "entity" | "instrument_instance" | "business_object" | "operation" | "product" | "customer_access" | "customer_session" | "external_confirmation" | "provider_cost_event" | "provider_webhook_event" | "webhook_endpoint" | "webhook_delivery" | "receipt" | "tenant" | "tenant_catalog_revision" | "reporting_artifact" | "wedged_money_repair" | "user_session" | "internal_transfer" | "usage" | "platform_alert" | "team" | "team_membership" | "user" | null); readonly "resourceId"?: (string | null); readonly "body"?: { readonly [key: string]: unknown }; readonly "occurredAt": string; }>; readonly "principalId"?: string; readonly "finalizedAt"?: string; readonly "latencyMs"?: number; }; };
|
|
82
78
|
export type event_listInput = { readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "productId"?: string; readonly "resourceId"?: string; readonly "event"?: string; };
|
|
83
79
|
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; };
|
|
84
80
|
export type event_retrieveInput = { readonly "productId"?: string; readonly "eventId": string; };
|
|
@@ -91,14 +87,14 @@ type internal_transfer_listOutput_Metadata = { readonly [key: string]: internal_
|
|
|
91
87
|
type internal_transfer_listOutput_MetadataValue = (internal_transfer_listOutput_MetadataScalar | ReadonlyArray<internal_transfer_listOutput_MetadataScalar> | { readonly [key: string]: internal_transfer_listOutput_MetadataScalar });
|
|
92
88
|
type internal_transfer_listOutput_MetadataScalar = (string | number | boolean | null);
|
|
93
89
|
export type internal_transfer_retrieveInput = { readonly "productId"?: string; readonly "transferId": string; };
|
|
94
|
-
export type internal_transfer_retrieveOutput = { readonly "
|
|
90
|
+
export type internal_transfer_retrieveOutput = { 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 "sourceName"?: string; readonly "destinationName"?: string; readonly "record"?: { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "title": string; }; readonly "createdAt"?: string; readonly "postedInRangeAmount"?: string; };
|
|
95
91
|
type internal_transfer_retrieveOutput_Metadata = { readonly [key: string]: internal_transfer_retrieveOutput_MetadataValue };
|
|
96
92
|
type internal_transfer_retrieveOutput_MetadataValue = (internal_transfer_retrieveOutput_MetadataScalar | ReadonlyArray<internal_transfer_retrieveOutput_MetadataScalar> | { readonly [key: string]: internal_transfer_retrieveOutput_MetadataScalar });
|
|
97
93
|
type internal_transfer_retrieveOutput_MetadataScalar = (string | number | boolean | null);
|
|
98
94
|
export type operation_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; };
|
|
99
95
|
export type operation_listOutput = { readonly "items": ReadonlyArray<{ readonly "operationId": string; readonly "tenantId"?: string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "name": string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
100
96
|
export type operation_retrieveInput = { readonly "productId"?: string; readonly "operationId": string; };
|
|
101
|
-
export type operation_retrieveOutput = { readonly "
|
|
97
|
+
export type operation_retrieveOutput = { readonly "operationId": string; readonly "tenantId"?: string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "name": string; readonly "status"?: "accepted" | "pending" | "succeeded" | "failed"; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "createdAt"?: string; };
|
|
102
98
|
export type payment_reminder_delivery_retrieveInput = { readonly "productId": string; readonly "operationId": string; };
|
|
103
99
|
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; }>; };
|
|
104
100
|
export type product_actions_listInput = { readonly "productId": string; readonly "instrument"?: string; };
|
|
@@ -106,11 +102,13 @@ export type product_actions_listOutput = { readonly "productBuildId": string; re
|
|
|
106
102
|
export type product_activation_retrieveInput = { readonly "productId": string; };
|
|
107
103
|
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; };
|
|
108
104
|
type product_activation_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "party"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
|
|
109
|
-
type product_activation_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": "SAR"; 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; };
|
|
110
|
-
type product_activation_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "kind": "recurring" | "per_event" | "volume_bps"; readonly "unit": string; readonly "amount": string | null; readonly "bps": string | null; readonly "summary": string; readonly "custom": boolean; };
|
|
105
|
+
type product_activation_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": "SAR"; 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; };
|
|
106
|
+
type product_activation_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "kind": "recurring" | "per_event" | "volume_bps"; readonly "unit": string; readonly "amount": (string | null); readonly "bps": string | null; readonly "summary": string; readonly "custom": boolean; };
|
|
111
107
|
type product_activation_retrieveOutput_ProductLiveCostBlocker = { readonly "code": "unpriced_meters" | "custom_pricing"; readonly "meters": ReadonlyArray<"account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
|
|
112
108
|
export type product_blocks_summaryInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "effectiveAt"?: string; };
|
|
113
109
|
export type product_blocks_summaryOutput = { readonly "effectiveAt": string; readonly "asOf": string; readonly "complete": boolean; readonly "items": ReadonlyArray<{ readonly "blockKey": "financing.installments" | "escrow.hold" | "money.hold" | "marketplace.listing" | "marketplace.order" | "marketplace.reservation" | "insurance.cover" | "insurance.claim"; readonly "metrics": { readonly [key: string]: ({ readonly "value": string; readonly "currency"?: "SAR"; readonly "complete": boolean; } | { readonly "unavailable": true; readonly "reason"?: string; }) }; readonly "nextAt": (string | null); }>; readonly "nextCursor"?: string; };
|
|
110
|
+
export type product_books_retrieveInput = { readonly "productId": string; readonly "fromPeriod"?: string; readonly "toPeriod"?: string; };
|
|
111
|
+
export type product_books_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "observedAt": string; readonly "currency": "SAR"; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<{ readonly "code": string; readonly "message": string; readonly "period"?: string; }>; readonly "position": { readonly "companyAvailable": (string | null); readonly "companyHeld": (string | null); readonly "heldForCustomers": (string | null); readonly "amountsDue": (string | null); readonly "receivables": (string | null); }; readonly "revenueToDate": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "earlier"?: { readonly "fromPeriod": string; readonly "toPeriod": string; }; readonly "months": ReadonlyArray<{ readonly "postedCount": number; readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "grossRevenue": (string | null); readonly "period": string; readonly "complete": boolean; }>; readonly "totals": { readonly "postedCount": number; readonly "revenue": string; readonly "participantPayouts": string; readonly "hyperscaleFees": string; readonly "totalCosts": string; readonly "grossRevenue": (string | null); }; };
|
|
114
112
|
export type product_connections_retrieveInput = { readonly "productId": string; };
|
|
115
113
|
export type product_connections_retrieveOutput = { readonly "productId": string; readonly "items": ReadonlyArray<({ readonly "kind": "business"; readonly "role": string; readonly "assignedBusinessName": string | null; readonly "service": null; readonly "state": "Configured" | "Missing" | "Unavailable"; readonly "reference": string; } | { readonly "kind": "service"; readonly "role": string; readonly "assignedBusinessName": null; readonly "service": string | null; readonly "displayName": string; readonly "serviceLabel": string; readonly "state": "Configured" | "Unavailable"; readonly "reference": string; })>; };
|
|
116
114
|
export type product_earn_rate_listInput = { readonly "productId": string; readonly "limit"?: number; readonly "cursor"?: string; };
|
|
@@ -125,14 +123,10 @@ type product_guidance_retrieveOutput_ProductGuidanceItem = { readonly "predicate
|
|
|
125
123
|
type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
|
|
126
124
|
export type product_instruments_listInput = { readonly "productId": string; };
|
|
127
125
|
export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": "SAR"; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "template"?: string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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; } }; }; }>; };
|
|
128
|
-
export type product_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "closed"; };
|
|
129
|
-
export type product_listOutput = { readonly "items": ReadonlyArray<product_listOutput_ProductListItem>; readonly "nextCursor"?: string; readonly "nextStep"?: string; };
|
|
130
|
-
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 "icon": product_listOutput_ProductIcon; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "createdAt": string; };
|
|
131
|
-
type product_listOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
132
126
|
export type product_margin_retrieveInput = { readonly "productId": string; };
|
|
133
127
|
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; }; }>; };
|
|
134
128
|
export type product_objects_actionsInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "onBehalfOf"?: string; };
|
|
135
|
-
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" | "
|
|
129
|
+
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_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); readonly "requiredNow": ReadonlyArray<string>; readonly "evidence"?: ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; }>; readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "nextCursor"?: string; };
|
|
136
130
|
export type product_objects_agreements_evidence_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "instanceId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
137
131
|
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; };
|
|
138
132
|
export type product_objects_agreements_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "rootsOnly"?: "true" | "false"; readonly "parentInstanceId"?: string; };
|
|
@@ -142,17 +136,17 @@ type product_objects_agreements_listOutput___schema0 = (string | number | boolea
|
|
|
142
136
|
export type product_objects_createInput = { readonly "productId": string; readonly "kind": string; readonly "externalId"?: string; readonly "fields"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
143
137
|
export type product_objects_createOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; };
|
|
144
138
|
export type product_objects_discoverInput = { readonly "productId": string; };
|
|
145
|
-
export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "parties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "objects": ReadonlyArray<{ readonly "entryActions"?: ReadonlyArray<string>; readonly "id": string; readonly "title": string; readonly "authoredFields": ReadonlyArray<string>; readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title"?: string; readonly "parent"?: string; readonly "instrument": string; readonly "parties": { readonly [key: string]: ({ readonly "role": "owner" | "actor" | "operator"; } | { readonly "party": string; }) }; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "template"?: string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor"; } | { 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": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "invariants": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "initialState": string; readonly "lifecycle": { readonly "initial": string; readonly "states": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "terminal": boolean; }>; readonly "cancellationActions": ReadonlyArray<string>; }; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "alias": string | null; readonly "title": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "roles": ReadonlyArray<(({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }) | { readonly "kind": "caller" | "clock"; } | { readonly "kind": "parent"; readonly "instruments": ReadonlyArray<string>; })>; readonly "from": ReadonlyArray<string>; readonly "to": string | null; readonly "references"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "onboarding"?: ReadonlyArray<"person" | "organization">; 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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor"; } | { 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": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "boundary"?: { readonly "adapter": string; }; readonly "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 "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "classification": "internal" | "personal" | "restricted"; readonly "currency": "SAR"; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "field"; readonly "path": string; } | { readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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 "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": "SAR"; } | { 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 "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); }>; readonly "productBuildId": string; readonly "digest": string; readonly "creation": true; readonly "kind": string; readonly "title": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); }>; readonly "kind": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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; }>; };
|
|
146
|
-
export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"
|
|
147
|
-
export type product_objects_executeOutput = { readonly "object": { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; } | 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; }>; };
|
|
139
|
+
export type product_objects_discoverOutput = { readonly "semantics": { readonly "currency": string; readonly "parties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "objects": ReadonlyArray<{ readonly "entryActions"?: ReadonlyArray<string>; readonly "id": string; readonly "title": string; readonly "authoredFields": ReadonlyArray<string>; readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title"?: string; readonly "parent"?: string; readonly "instrument": string; readonly "parties": { readonly [key: string]: ({ readonly "role": "owner" | "actor" | "operator"; } | { readonly "party": string; }) }; readonly "cardinality": { readonly "min": number; readonly "max": (number | null); }; }>; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "template"?: string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor"; } | { 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": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "invariants": ReadonlyArray<({ readonly "kind": "hours"; readonly "at": string; readonly "start": number; readonly "end": number; readonly "timezone": string; } | { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "state"; readonly "reference": string; readonly "states": ReadonlyArray<string>; } | { readonly "kind": "unique"; readonly "namespace": string; readonly "fields": ReadonlyArray<string>; } | { readonly "kind": "aggregate"; readonly "selection": { readonly "family"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "initialState": string; readonly "lifecycle": { readonly "initial": string; readonly "states": ReadonlyArray<{ readonly "name": string; readonly "label": string; readonly "terminal": boolean; }>; readonly "cancellationActions": ReadonlyArray<string>; }; readonly "actions": ReadonlyArray<{ readonly "name": string; readonly "alias": string | null; readonly "title": string; readonly "actor": ("caller" | "clock" | { readonly "party": string; } | { readonly "parent": (string | ReadonlyArray<string>); }); readonly "roles": ReadonlyArray<(({ readonly "kind": "instrument"; readonly "instrument": string; } | { readonly "kind": "role"; readonly "role": "owner" | "actor" | "operator"; } | { readonly "kind": "party"; readonly "party": string; } | { readonly "kind": "adapter"; readonly "adapter": string; }) | { readonly "kind": "caller" | "clock"; } | { readonly "kind": "parent"; readonly "instruments": ReadonlyArray<string>; })>; readonly "from": ReadonlyArray<string>; readonly "to": string | null; readonly "references"?: ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; }); }>; readonly "inputs": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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 "onboarding"?: ReadonlyArray<"person" | "organization">; 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 "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); readonly "operator": "==" | "<=" | ">=" | "<" | ">"; readonly "value": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "kind": "evidence"; readonly "instruction"?: string; readonly "subject": string; readonly "family": string; readonly "check": string; readonly "result": string; readonly "maxAge": number; })>; readonly "due": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "deadline": ({ readonly "at": string; readonly "offset"?: number; readonly "localDay"?: { readonly "days": number; readonly "direction": "before" | "after"; readonly "hour": number; readonly "timezone": string; }; } | null); readonly "calculations": ReadonlyArray<({ readonly "target": string; readonly "op": "at"; readonly "list": string; readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); } | { readonly "target": string; readonly "op": "aggregate"; readonly "selection": { readonly "family"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "instrument": (string | ReadonlyArray<string>); readonly "reference": string; readonly "anchor": string; readonly "states": ReadonlyArray<string>; readonly "limit": number; readonly "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "measure": ("count" | { readonly "sum": string; }); } | { readonly "target": string; readonly "op": "ratio"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "numerator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "denominator": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rounding": "floor"; } | { 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": "annuity"; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "rate": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "periods": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "position": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "part": "principal" | "interest"; } | { readonly "target": string; readonly "op": "shift"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "milliseconds": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "direction": "before" | "after"; } | { readonly "target": string; readonly "op": "step"; readonly "date": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "period": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "times": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); })>; readonly "assignments": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "moves": ReadonlyArray<({ readonly "key": string; readonly "operation": "internal_transfer.create"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "capture"?: string; readonly "amount": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "from": string; readonly "to": string; } | { readonly "key": string; readonly "operation": "internal_transfer.reserve"; readonly "economics"?: { readonly "purpose": "earning" | "principal" | "participant_payout" | "internal" | "prepaid_credit" | "pass_through"; readonly "sourceParty": string; readonly "reversalOf"?: string; }; readonly "boundary"?: { readonly "adapter": string; }; readonly "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 "batch"?: true; readonly "order"?: ReadonlyArray<string>; readonly "window"?: { readonly "field": string; readonly "milliseconds": number; }; readonly "overlaps"?: { readonly "start": string; readonly "end": string; readonly "from": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "until": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; readonly "where"?: { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; }; readonly "action": string; readonly "input": { readonly [key: string]: ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }) }; readonly "guard"?: { readonly "kind": "compare"; readonly "left": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); readonly "operator": "==" | "!=" | "<" | "<=" | ">" | ">="; readonly "right": ({ readonly "literal": (string | number | boolean); } | { readonly "field": string; }); }; })>; }>; readonly "reports": ReadonlyArray<{ readonly "identity": { readonly "id": string; readonly "version": number; readonly "description": string; }; readonly "scope": { readonly "kind": "product" | "company"; readonly "classification": "internal" | "personal" | "restricted"; readonly "currency": "SAR"; }; readonly "datasets": ReadonlyArray<{ readonly "id": string; readonly "source": "instrument" | "account" | "identity" | "operation"; readonly "instruments": ReadonlyArray<string>; readonly "rowKey": string; readonly "columns": ReadonlyArray<{ readonly "name": string; readonly "field": string; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "required": boolean; }>; readonly "expressions": ReadonlyArray<({ readonly "id": string; readonly "op": "field"; readonly "path": string; } | { readonly "id": string; readonly "op": "literal"; readonly "type": ({ readonly "kind": "money"; readonly "currency": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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": "SAR"; } | { readonly "kind": "text" | "integer" | "boolean" | "date"; }); readonly "value": (string | number | boolean); } | { readonly "id": string; readonly "op": "parameter"; readonly "name": "periodStart" | "periodEnd" | "observationAt"; } | { readonly "id": string; readonly "op": "sum" | "subtract" | "minimum" | "maximum" | "equal" | "less" | "atMost" | "and" | "or" | "daysBetween"; readonly "left": string; readonly "right": string; } | { readonly "id": string; readonly "op": "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 "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": "SAR"; } | { 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 "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); }>; readonly "productBuildId": string; readonly "digest": string; readonly "creation": true; readonly "kind": string; readonly "title": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); }>; }>; readonly "retainedKinds": ReadonlyArray<{ readonly "attachments": ReadonlyArray<{ readonly "name": string; readonly "title": string; readonly "instrument": string; readonly "parentAttachment": (string | null); readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); }>; readonly "kind": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "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; }>; };
|
|
140
|
+
export type product_objects_executeInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
141
|
+
export type product_objects_executeOutput = { readonly "object": { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; }; readonly "outcome": ({ readonly "instrument": string; readonly "instanceId": string; readonly "state": string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "status": "posted" | "reserved" | "released" | "voided"; }>; } | null); readonly "evidence": ReadonlyArray<{ readonly "requirementId": string; readonly "subjectId": string; readonly "protectedInputDigest": string; readonly "adapter": string; readonly "declarationDigest": string; readonly "productBuildId": string; readonly "state": "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "reference"?: string; readonly "observedAt"?: string; readonly "reasonCode"?: string; }>; readonly "receiptId"?: string; };
|
|
148
142
|
export type product_objects_listInput = { readonly "productId": string; readonly "kind": string; readonly "owner"?: string; readonly "externalId"?: string; /** JSON-encode this object in the HTTP query parameter. */ readonly "filters"?: { readonly [key: string]: string }; readonly "agreementState"?: string; readonly "blockKey"?: "financing.installments" | "escrow.hold" | "money.hold" | "marketplace.listing" | "marketplace.order" | "marketplace.reservation" | "insurance.cover" | "insurance.claim"; readonly "blockMetric"?: "overdue_installments" | "overdue_amount" | "held_funds" | "active_listings" | "awaiting_fulfilment" | "active_reservations" | "active_covers" | "submitted_claims"; readonly "dueField"?: string; readonly "dueFrom"?: string; readonly "dueThrough"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
149
143
|
export type product_objects_listOutput = { readonly "items": ReadonlyArray<{ readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); readonly "title": string; readonly "state": string; readonly "standing": string; }>; readonly "agreementsComplete": boolean; readonly "nextSchedule": ({ readonly "instanceId": string; readonly "action": string; readonly "title": string; readonly "dueAt": string; readonly "status": "upcoming" | "due"; } | null); readonly "scheduleComplete": boolean; }>; readonly "nextCursor"?: string; readonly "total": number; readonly "facets": { readonly [key: string]: { readonly [key: string]: number } }; };
|
|
150
|
-
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"
|
|
151
|
-
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" | "
|
|
144
|
+
export type product_objects_previewInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision"?: number; readonly "productBuildId"?: string; readonly "digest"?: string; readonly "target"?: ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; readonly "onBehalfOf"?: string; };
|
|
145
|
+
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_balance" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; readonly "details"?: { readonly "accountId": string; readonly "currency": string; readonly "available": string; readonly "required": string; readonly "shortfall": string; }; readonly "belongsTo"?: { readonly "party": string; readonly "binding"?: "owner" | "actor" | "operator"; readonly "customerId"?: string; }; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); readonly "effects": ReadonlyArray<{ readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; 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; }>; };
|
|
152
146
|
export type product_objects_retrieveInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
|
|
153
|
-
export type product_objects_retrieveOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); readonly "title": string; readonly "state": string; readonly "standing": string; readonly "progress": ({ readonly "done": number; readonly "total": number; readonly "word": string; } | null); readonly "nextDueAt": (string | null); }>; };
|
|
147
|
+
export type product_objects_retrieveOutput = { readonly "createdAt": string; readonly "objectId": string; readonly "kind": string; readonly "revision": number; readonly "externalId"?: string; readonly "fields": { readonly [key: string]: unknown }; readonly "productBuildId": string; readonly "currency": string; readonly "references": { readonly [key: string]: ReadonlyArray<{ readonly "id": string; readonly "displayTitle": string | null; }> }; readonly "standing": string; readonly "agreements": ReadonlyArray<{ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "block": ({ readonly "key": string; readonly "recordPath": string; readonly "headerDigest": string; } | null); readonly "title": string; readonly "state": string; readonly "standing": string; readonly "progress": ({ readonly "done": number; readonly "total": number; readonly "word": string; } | null); readonly "nextDueAt": (string | null); }>; readonly "agreementsNextCursor"?: string; };
|
|
154
148
|
export type product_objects_timeline_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
155
|
-
export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; readonly "participantId"?: string; readonly "displayName"?: string; readonly "customerId"?: string; readonly "onBehalfOf"?: ({ readonly "kind": "member"; readonly "userId": string; readonly "displayName": string; } | { readonly "kind": "api_key"; readonly "apiKeyId": string; readonly "displayName": string; }); }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; } | null); readonly "source": { readonly "kind": "audit_event" | "receipt" | "external_confirmation"; readonly "id": string; readonly "operationId": (string | null); readonly "sequence"?: number; }; readonly "state"?: string; readonly "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; };
|
|
149
|
+
export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; readonly "participantId"?: string; readonly "displayName"?: string; readonly "customerId"?: string; readonly "onBehalfOf"?: ({ readonly "kind": "member"; readonly "userId": string; readonly "displayName": string; } | { readonly "kind": "api_key"; readonly "apiKeyId": string; readonly "displayName": string; }); }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "attachment": string; readonly "title": string; readonly "productBuildId": string; readonly "digest": string; } | null); readonly "source": { readonly "kind": "audit_event" | "receipt" | "external_confirmation"; readonly "id": string; readonly "operationId": (string | null); readonly "sequence"?: number; }; readonly "state"?: string; readonly "requested"?: true; readonly "reason"?: string; readonly "money"?: { readonly "transferId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "sourceAccountId": string; readonly "destinationAccountId": string; }; readonly "evidence"?: { readonly "evidenceId": string; readonly "provider": string; readonly "outcome": string; readonly "observedAt": string; readonly "reason": string; readonly "instructionId"?: string; }; }>; readonly "nextCursor"?: string; };
|
|
156
150
|
export type product_operation_set_retrieveInput = { readonly "productId": string; };
|
|
157
151
|
export type product_operation_set_retrieveOutput = { readonly "status": "frozen"; readonly "productBuildId": string; readonly "buildDigest": string; readonly "tenantId": string; readonly "productId": string; readonly "environment": "sandbox" | "live"; readonly "operations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "kind": "read" | "setup" | "action"; readonly "readKind": "list" | "retrieve" | "none"; readonly "resourceKind": string | null; readonly "idField": string | null; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema0 }; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput___schema1 }; readonly "recordSchema": ({ readonly [key: string]: product_operation_set_retrieveOutput___schema2 } | null); readonly "displayTitle": string; readonly "actionExposure": ({ readonly "name": string; readonly "target": string; } | null); readonly "scopes": ReadonlyArray<string>; }>; readonly "tenantSurfaceVersion": 3; readonly "tenantOperationSetDigest": string; readonly "publicActions": ReadonlyArray<product_operation_set_retrieveOutput_ProductPublicAction>; readonly "tenantReadOperationSetDigest": string; readonly "tenantSetupOperationSetDigest": string; readonly "readOperationIds": ReadonlyArray<string>; readonly "readOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "setupOperationIds": ReadonlyArray<string>; readonly "setupOperations": ReadonlyArray<{ readonly "operationId": string; readonly "operationName": string; readonly "outputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; readonly "inputSchema": { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue }; }>; readonly "unresolvedSetupOperationIds": ReadonlyArray<string>; };
|
|
158
152
|
type product_operation_set_retrieveOutput___schema0 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema0> | { readonly [key: string]: product_operation_set_retrieveOutput___schema0 });
|
|
@@ -160,19 +154,8 @@ type product_operation_set_retrieveOutput___schema1 = (string | number | boolean
|
|
|
160
154
|
type product_operation_set_retrieveOutput___schema2 = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput___schema2> | { readonly [key: string]: product_operation_set_retrieveOutput___schema2 });
|
|
161
155
|
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">; }; };
|
|
162
156
|
type product_operation_set_retrieveOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput_JsonValue> | { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue });
|
|
163
|
-
export type product_retrieveInput = { readonly "productId": string; };
|
|
164
|
-
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 "icon": product_retrieveOutput_ProductIcon; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "instrumentIds": ReadonlyArray<string>; readonly "pricing": product_retrieveOutput_ProductPricingSchedule; readonly "readiness": product_retrieveOutput_ProductActivationReadiness; readonly "capabilities": ReadonlyArray<product_retrieveOutput_ProductCapability>; readonly "cost": product_retrieveOutput_ProductLiveCostEstimate; };
|
|
165
|
-
type product_retrieveOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
166
|
-
type product_retrieveOutput_ProductPricingSchedule = { readonly "current": product_retrieveOutput_ProductPricingCurrent; };
|
|
167
|
-
type product_retrieveOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_retrieveOutput_ProductPlanRate>; readonly "currency": "SAR"; readonly "priceBasisIdentity": string; };
|
|
168
|
-
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" | "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": "SAR"; };
|
|
169
|
-
type product_retrieveOutput_ProductActivationReadiness = { readonly "live": boolean; readonly "blockers": ReadonlyArray<{ readonly "code": string; readonly "requirementId"?: string; readonly "adapter"?: string; readonly "party"?: string; readonly "declarationDigest"?: string; readonly "evidenceState"?: "missing" | "pending" | "satisfied" | "refused" | "stale"; readonly "actionTarget"?: { readonly "kind": string; readonly "objectId": string; readonly "action": string; }; }>; };
|
|
170
|
-
type product_retrieveOutput_ProductCapability = { readonly "capabilityId": "identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "name": string | null; };
|
|
171
|
-
type product_retrieveOutput_ProductLiveCostEstimate = { readonly "currency": "SAR"; 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; };
|
|
172
|
-
type product_retrieveOutput_ProductLiveCostCharge = { readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "kind": "recurring" | "per_event" | "volume_bps"; readonly "unit": string; readonly "amount": string | null; readonly "bps": string | null; readonly "summary": string; readonly "custom": boolean; };
|
|
173
|
-
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" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
|
|
174
157
|
export type product_schedule_listInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; readonly "objectId"?: string; };
|
|
175
|
-
export type product_schedule_listOutput = { readonly "effectiveAt": string; readonly "nextCursor"?: string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement": { readonly "instanceId": string; }; readonly "action": string; readonly "title": string; readonly "status": "upcoming" | "waiting" | "due" | "completed" | "refused" | "cancelled"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "payer"?: { readonly "name": string; readonly "customerId"?: string; readonly "collection": "automatic" | "on_action"; }; readonly "amount"?: { readonly "value": string; readonly "currency": "SAR"; }; readonly "refusedAt"?: string; readonly "retries"?: boolean; readonly "reason": string; }>; };
|
|
158
|
+
export type product_schedule_listOutput = { readonly "effectiveAt": string; readonly "nextCursor"?: string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement": { readonly "instanceId": string; }; readonly "action": string; readonly "title": string; readonly "status": "upcoming" | "waiting" | "due" | "completed" | "refused" | "waived" | "cancelled" | "ended"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "payer"?: { readonly "name": string; readonly "customerId"?: string; readonly "collection": "automatic" | "on_action"; }; readonly "amount"?: { readonly "value": string; readonly "currency": "SAR"; }; readonly "refusedAt"?: string; readonly "retries"?: boolean; readonly "reason": string; }>; };
|
|
176
159
|
export type product_treasury_retrieveInput = { readonly "productId": string; };
|
|
177
160
|
export type product_treasury_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "credit": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "earnRateFees": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": "SAR"; }; readonly "revenue": ReadonlyArray<{ readonly "currency": "SAR"; readonly "amount": string; }>; };
|
|
178
161
|
export type product_work_listInput = { readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
@@ -180,25 +163,21 @@ export type product_work_listOutput = { readonly "effectiveAt": string; readonly
|
|
|
180
163
|
export type receipt_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
181
164
|
export type receipt_listOutput = { readonly "items": ReadonlyArray<{ readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; readonly "phase": "post" | "reserve" | "post_pending" | "void_pending"; }>; readonly "status"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
|
|
182
165
|
export type receipt_retrieveInput = { readonly "productId"?: string; readonly "receiptId": string; };
|
|
183
|
-
export type receipt_retrieveOutput = { readonly "
|
|
166
|
+
export type receipt_retrieveOutput = { readonly "receiptId": string; readonly "tenantId"?: string; readonly "id": string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "errorCode"?: string; readonly "errorMessage"?: string; readonly "moves"?: ReadonlyArray<{ readonly "transferId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; readonly "phase": "post" | "reserve" | "post_pending" | "void_pending"; }>; readonly "status"?: string; readonly "createdAt"?: string; };
|
|
184
167
|
export type sandbox_account_fundInput = { readonly "transferId"?: string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; };
|
|
185
168
|
export type sandbox_account_fundOutput = { readonly "transferId": string; readonly "tenantId": string; readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": "SAR"; readonly "transferStatus": "posted"; };
|
|
186
169
|
export type sandbox_clock_advanceInput = { readonly "productId"?: string; readonly "at"?: string; readonly "release"?: true; };
|
|
187
|
-
export type sandbox_clock_advanceOutput = { readonly "tenantId": string; readonly "productId": string; readonly "previousAt": string; readonly "at": string; readonly "ran"?: ReadonlyArray<{ readonly "instanceId": string; readonly "objectId"?: string; readonly "instrument": string; readonly "action": string; readonly "line"?: string; readonly "record"?: { readonly "kind": string; readonly "title": string; }; readonly "customer"?: { readonly "id": string; readonly "name": string; }; readonly "dueAt": string; readonly "status": "succeeded" | "refused"; readonly "amount"?: { readonly "value": string; readonly "currency": "SAR"; }; readonly "reason"?: string; readonly "retries"?: true; }>; };
|
|
170
|
+
export type sandbox_clock_advanceOutput = { readonly "tenantId": string; readonly "productId": string; readonly "previousAt": string; readonly "at": string; readonly "ran"?: ReadonlyArray<{ readonly "instanceId": string; readonly "objectId"?: string; readonly "instrument": string; readonly "action": string; readonly "line"?: string; readonly "record"?: { readonly "kind": string; readonly "title": string; }; readonly "customer"?: { readonly "id": string; readonly "name": string; }; readonly "dueAt": string; readonly "status": "succeeded" | "refused"; readonly "amount"?: { readonly "value": string; readonly "currency": "SAR"; }; readonly "reason"?: string; readonly "retries"?: true; readonly "accountId"?: string; readonly "required"?: { readonly "value": string; readonly "currency": "SAR"; }; readonly "shortfall"?: { readonly "value": string; readonly "currency": "SAR"; }; }>; };
|
|
188
171
|
export type sandbox_clock_retrieveInput = { readonly "productId": string; };
|
|
189
172
|
export type sandbox_clock_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "effectiveAt": string; readonly "mode": "host" | "frozen"; readonly "observedAt": string; };
|
|
190
173
|
export type sandbox_customer_access_activateInput = { readonly "customerAccessId": string; };
|
|
191
174
|
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"; readonly "onboarding": ReadonlyArray<{ readonly "provider": string; readonly "status": "approved" | "pending" | "rejected"; readonly "reference": string; }>; };
|
|
192
175
|
export type sandbox_platform_fireInput = { readonly "operation": string; readonly "input": { readonly [key: string]: unknown }; };
|
|
193
176
|
export type sandbox_platform_fireOutput = { readonly "operation": string; } & { readonly [key: string]: unknown };
|
|
194
|
-
export type transfer_return_createInput = { readonly "returnId"?: string; readonly "originalTransferId": string; readonly "reason": "insufficient_funds" | "account_closed" | "no_account" | "invalid_account" | "balance_cap_exceeded" | "unauthorized" | "other"; };
|
|
195
|
-
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"; };
|
|
196
177
|
export type usage_record_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "meters"?: ReadonlyArray<"account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month">; };
|
|
197
178
|
export type usage_record_listOutput = { readonly "items": ReadonlyArray<{ readonly "usageRecordId": string; readonly "tenantId": string; readonly "meter": string; readonly "quantity"?: string; readonly "unitPrice"?: string; readonly "amount": string; readonly "currency": string; readonly "previewAmount"?: 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 }; };
|
|
198
179
|
export type usage_record_retrieveInput = { readonly "productId"?: string; readonly "usageRecordId": string; };
|
|
199
|
-
export type usage_record_retrieveOutput = { readonly "
|
|
200
|
-
export type usage_statementInput = { readonly "period"?: string; };
|
|
201
|
-
export type usage_statementOutput = { readonly "tenantId": string; readonly "period": string; readonly "currency": "SAR"; 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" | "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": "SAR"; readonly "previewAmount"?: string; }>; readonly "daily": ReadonlyArray<{ readonly "day": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "quantity": string; }>; readonly "architect": ReadonlyArray<{ readonly "day": string; readonly "turns": number; readonly "amount": string; }>; };
|
|
180
|
+
export type usage_record_retrieveOutput = { readonly "usageRecordId": string; readonly "tenantId": string; readonly "meter": string; readonly "quantity"?: string; readonly "unitPrice"?: string; readonly "amount": string; readonly "currency": string; readonly "previewAmount"?: string; readonly "operationName"?: string; readonly "operationId"?: string; readonly "sourceEventId"?: string; readonly "sourceOperationId"?: string; readonly "productId"?: string; readonly "settledAt": "execution" | "invoice"; readonly "createdAt"?: string; };
|
|
202
181
|
export type webhook_delivery_listInput = { readonly "limit"?: number; readonly "cursor"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "webhookEndpointId": string; readonly "status"?: "exhausted" | "failed" | "pending" | "succeeded"; };
|
|
203
182
|
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 }; };
|
|
204
183
|
export type webhook_delivery_resendInput = { readonly "webhookEndpointId": string; readonly "webhookDeliveryId": string; readonly "expectedEndpointUrl"?: string; };
|
|
@@ -216,103 +195,128 @@ export type webhook_endpoint_listOutput = { readonly "items": ReadonlyArray<{ re
|
|
|
216
195
|
export type webhook_endpoint_recoverInput = { readonly "webhookEndpointId": string; readonly "since": string; };
|
|
217
196
|
export type webhook_endpoint_recoverOutput = { readonly "tenantId": string; readonly "webhookEndpointId": string; readonly "since": string; readonly "recoveredAt": string; readonly "enqueuedCount": number; readonly "eventIds": ReadonlyArray<string>; };
|
|
218
197
|
export type webhook_endpoint_retrieveInput = { readonly "webhookEndpointId": string; };
|
|
219
|
-
export type webhook_endpoint_retrieveOutput = { readonly "
|
|
198
|
+
export type webhook_endpoint_retrieveOutput = { 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; };
|
|
220
199
|
export type webhook_endpoint_secret_rotateInput = { readonly "webhookEndpointId": string; };
|
|
221
200
|
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; };
|
|
222
201
|
export type webhook_endpoint_updateInput = { readonly "webhookEndpointId": string; readonly "reason": string; readonly "url"?: string; readonly "enabledEvents"?: ReadonlyArray<("*" | string)>; readonly "description"?: (string | null); };
|
|
223
202
|
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; };
|
|
224
203
|
export type webhook_event_catalogInput = { readonly "productId": string; };
|
|
225
204
|
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; }>; };
|
|
205
|
+
/** Error codes every operation can return. */
|
|
206
|
+
export type SharedErrorCode = "internal_error" | "invalid_request" | "not_found" | "rate_limited" | "resource_not_found" | "state_conflict" | "tenant_not_found" | "unauthorized";
|
|
226
207
|
export interface Operations {
|
|
227
|
-
readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput;
|
|
228
|
-
readonly "account.close": { input: account_closeInput; output: account_closeOutput;
|
|
229
|
-
readonly "account.create": { input: account_createInput; output: account_createOutput;
|
|
230
|
-
readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput;
|
|
231
|
-
readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput;
|
|
232
|
-
readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput;
|
|
233
|
-
readonly "account.list": { input: account_listInput; output: account_listOutput;
|
|
234
|
-
readonly "account.retrieve": { input: account_retrieveInput; output: account_retrieveOutput;
|
|
235
|
-
readonly "account.statement.export": { input: account_statement_exportInput; output: account_statement_exportOutput;
|
|
236
|
-
readonly "account.statement.retrieve": { input: account_statement_retrieveInput; output: account_statement_retrieveOutput;
|
|
237
|
-
readonly "account.unfreeze": { input: account_unfreezeInput; output: account_unfreezeOutput;
|
|
238
|
-
readonly "activity.list": { input: activity_listInput; output: activity_listOutput;
|
|
239
|
-
readonly "activity.retrieve": { input: activity_retrieveInput; output: activity_retrieveOutput;
|
|
240
|
-
readonly "audit_event.list": { input: audit_event_listInput; output: audit_event_listOutput;
|
|
241
|
-
readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: audit_event_retrieveOutput;
|
|
242
|
-
readonly "consent.list": { input: consent_listInput; output: consent_listOutput;
|
|
243
|
-
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput;
|
|
244
|
-
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput;
|
|
245
|
-
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput;
|
|
246
|
-
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput;
|
|
247
|
-
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput;
|
|
248
|
-
readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput;
|
|
249
|
-
readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput;
|
|
250
|
-
readonly "customer.create": { input: customer_createInput; output: customer_createOutput;
|
|
251
|
-
readonly "customer.list": { input: customer_listInput; output: customer_listOutput;
|
|
252
|
-
readonly "customer.login": { input: customer_loginInput; output: customer_loginOutput;
|
|
253
|
-
readonly "customer.logout": { input: customer_logoutInput; output: customer_logoutOutput;
|
|
254
|
-
readonly "customer.profile.update": { input: customer_profile_updateInput; output: customer_profile_updateOutput;
|
|
255
|
-
readonly "customer.retrieve": { input: customer_retrieveInput; output: customer_retrieveOutput;
|
|
256
|
-
readonly "customer.session.revoke": { input: customer_session_revokeInput; output: customer_session_revokeOutput;
|
|
257
|
-
readonly "customer.signup": { input: customer_signupInput; output: customer_signupOutput;
|
|
258
|
-
readonly "
|
|
259
|
-
readonly "
|
|
260
|
-
readonly "
|
|
261
|
-
readonly "
|
|
262
|
-
readonly "
|
|
263
|
-
readonly "
|
|
264
|
-
readonly "
|
|
265
|
-
readonly "
|
|
266
|
-
readonly "
|
|
267
|
-
readonly "
|
|
268
|
-
readonly "product.
|
|
269
|
-
readonly "product.
|
|
270
|
-
readonly "product.
|
|
271
|
-
readonly "product.
|
|
272
|
-
readonly "product.
|
|
273
|
-
readonly "product.
|
|
274
|
-
readonly "product.
|
|
275
|
-
readonly "product.
|
|
276
|
-
readonly "product.
|
|
277
|
-
readonly "product.
|
|
278
|
-
readonly "product.
|
|
279
|
-
readonly "product.objects.
|
|
280
|
-
readonly "product.objects.
|
|
281
|
-
readonly "product.objects.
|
|
282
|
-
readonly "product.objects.
|
|
283
|
-
readonly "product.objects.
|
|
284
|
-
readonly "product.objects.
|
|
285
|
-
readonly "product.objects.
|
|
286
|
-
readonly "product.objects.
|
|
287
|
-
readonly "product.
|
|
288
|
-
readonly "product.
|
|
289
|
-
readonly "product.
|
|
290
|
-
readonly "product.
|
|
291
|
-
readonly "
|
|
292
|
-
readonly "
|
|
293
|
-
readonly "
|
|
294
|
-
readonly "
|
|
295
|
-
readonly "
|
|
296
|
-
readonly "sandbox.
|
|
297
|
-
readonly "sandbox.
|
|
298
|
-
readonly "
|
|
299
|
-
readonly "
|
|
300
|
-
readonly "
|
|
301
|
-
readonly "
|
|
302
|
-
readonly "
|
|
303
|
-
readonly "
|
|
304
|
-
readonly "
|
|
305
|
-
readonly "webhook.
|
|
306
|
-
readonly "webhook.
|
|
307
|
-
readonly "webhook.endpoint.
|
|
308
|
-
readonly "webhook.endpoint.
|
|
309
|
-
readonly "webhook.endpoint.
|
|
310
|
-
readonly "webhook.endpoint.
|
|
311
|
-
readonly "webhook.
|
|
312
|
-
readonly "webhook.endpoint.recover": { input: webhook_endpoint_recoverInput; output: webhook_endpoint_recoverOutput; error: ErrorResponse & { readonly error: { readonly code: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "csrf_token_invalid" | "customer_access_pending" | "economic_snapshot_unstable" | "environment_mismatch" | "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" } } };
|
|
313
|
-
readonly "webhook.endpoint.retrieve": { input: webhook_endpoint_retrieveInput; output: webhook_endpoint_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "csrf_token_invalid" | "customer_access_pending" | "economic_snapshot_unstable" | "environment_mismatch" | "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" } } };
|
|
314
|
-
readonly "webhook.endpoint.secret.rotate": { input: webhook_endpoint_secret_rotateInput; output: webhook_endpoint_secret_rotateOutput; error: ErrorResponse & { readonly error: { readonly code: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "csrf_token_invalid" | "customer_access_pending" | "economic_snapshot_unstable" | "environment_mismatch" | "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" } } };
|
|
315
|
-
readonly "webhook.endpoint.update": { input: webhook_endpoint_updateInput; output: webhook_endpoint_updateOutput; error: ErrorResponse & { readonly error: { readonly code: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "csrf_token_invalid" | "customer_access_pending" | "economic_snapshot_unstable" | "environment_mismatch" | "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" } } };
|
|
316
|
-
readonly "webhook.event.catalog": { input: webhook_event_catalogInput; output: webhook_event_catalogOutput; error: ErrorResponse & { readonly error: { readonly code: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "csrf_token_invalid" | "customer_access_pending" | "economic_snapshot_unstable" | "environment_mismatch" | "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" } } };
|
|
208
|
+
readonly "account.balance.retrieve": { input: account_balance_retrieveInput; output: account_balance_retrieveOutput; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
209
|
+
readonly "account.close": { input: account_closeInput; output: account_closeOutput; errorCode: "account_close_balance_nonzero" | "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
210
|
+
readonly "account.create": { input: account_createInput; output: account_createOutput; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "account_role_already_provisioned" | "account_role_owner_mismatch" | "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "owner_unsupported" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "usage_source_conflict" };
|
|
211
|
+
readonly "account.freeze": { input: account_freezeInput; output: account_freezeOutput; errorCode: "account_not_found" | "account_status_forbidden" | "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
212
|
+
readonly "account.hold.list": { input: account_hold_listInput; output: account_hold_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
213
|
+
readonly "account.hold.retrieve": { input: account_hold_retrieveInput; output: account_hold_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
214
|
+
readonly "account.list": { input: account_listInput; output: account_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
215
|
+
readonly "account.retrieve": { input: account_retrieveInput; output: account_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
216
|
+
readonly "account.statement.export": { input: account_statement_exportInput; output: account_statement_exportOutput; errorCode: "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "tenant_mismatch" };
|
|
217
|
+
readonly "account.statement.retrieve": { input: account_statement_retrieveInput; output: account_statement_retrieveOutput; errorCode: "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "statement_evidence_incomplete" | "statement_evidence_mismatch" | "statement_line_limit_exceeded" | "tenant_mismatch" };
|
|
218
|
+
readonly "account.unfreeze": { input: account_unfreezeInput; output: account_unfreezeOutput; errorCode: "account_freeze_plane_forbidden" | "account_not_found" | "account_status_forbidden" | "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
219
|
+
readonly "activity.list": { input: activity_listInput; output: activity_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
220
|
+
readonly "activity.retrieve": { input: activity_retrieveInput; output: activity_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
221
|
+
readonly "audit_event.list": { input: audit_event_listInput; output: audit_event_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
222
|
+
readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: audit_event_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
223
|
+
readonly "consent.list": { input: consent_listInput; output: consent_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
224
|
+
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
225
|
+
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "consent_expired" | "consent_not_active" | "consent_not_found" | "consent_revoked" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
226
|
+
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; errorCode: "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_close_open_activity" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
227
|
+
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
228
|
+
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
229
|
+
readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
230
|
+
readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
231
|
+
readonly "customer.create": { input: customer_createInput; output: customer_createOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_not_found" | "customer_status_forbidden" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
232
|
+
readonly "customer.list": { input: customer_listInput; output: customer_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
233
|
+
readonly "customer.login": { input: customer_loginInput; output: customer_loginOutput; errorCode: "customer_access_required" | "customer_access_status_forbidden" | "customer_not_found" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "state_constraint_failed" };
|
|
234
|
+
readonly "customer.logout": { input: customer_logoutInput; output: customer_logoutOutput; errorCode: "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "missing_required_scope" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_required" | "state_constraint_failed" | "tenant_mismatch" };
|
|
235
|
+
readonly "customer.profile.update": { input: customer_profile_updateInput; output: customer_profile_updateOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_erased" | "customer_not_found" | "entity_lifecycle_status_forbidden" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
236
|
+
readonly "customer.retrieve": { input: customer_retrieveInput; output: customer_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
237
|
+
readonly "customer.session.revoke": { input: customer_session_revokeInput; output: customer_session_revokeOutput; errorCode: "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "missing_required_scope" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "request_body_too_large" | "session_not_found" | "session_required" | "state_constraint_failed" | "tenant_mismatch" };
|
|
238
|
+
readonly "customer.signup": { input: customer_signupInput; output: customer_signupOutput; errorCode: "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "state_constraint_failed" };
|
|
239
|
+
readonly "event.list": { input: event_listInput; output: event_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
240
|
+
readonly "event.retrieve": { input: event_retrieveInput; output: event_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
241
|
+
readonly "extension.list": { input: extension_listInput; output: extension_listOutput; errorCode: "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" };
|
|
242
|
+
readonly "internal_transfer.list": { input: internal_transfer_listInput; output: internal_transfer_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
243
|
+
readonly "internal_transfer.retrieve": { input: internal_transfer_retrieveInput; output: internal_transfer_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
244
|
+
readonly "operation.list": { input: operation_listInput; output: operation_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
245
|
+
readonly "operation.retrieve": { input: operation_retrieveInput; output: operation_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
246
|
+
readonly "payment_reminder.delivery.retrieve": { input: payment_reminder_delivery_retrieveInput; output: payment_reminder_delivery_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
247
|
+
readonly "product.actions.list": { input: product_actions_listInput; output: product_actions_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
248
|
+
readonly "product.activation.retrieve": { input: product_activation_retrieveInput; output: product_activation_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
249
|
+
readonly "product.blocks.summary": { input: product_blocks_summaryInput; output: product_blocks_summaryOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
250
|
+
readonly "product.books.retrieve": { input: product_books_retrieveInput; output: product_books_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
251
|
+
readonly "product.connections.retrieve": { input: product_connections_retrieveInput; output: product_connections_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
252
|
+
readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
253
|
+
readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
254
|
+
readonly "product.economic_snapshot.retrieve": { input: product_economic_snapshot_retrieveInput; output: product_economic_snapshot_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "economic_snapshot_unstable" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
255
|
+
readonly "product.guidance.retrieve": { input: product_guidance_retrieveInput; output: product_guidance_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
256
|
+
readonly "product.instruments.list": { input: product_instruments_listInput; output: product_instruments_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
257
|
+
readonly "product.margin.retrieve": { input: product_margin_retrieveInput; output: product_margin_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
258
|
+
readonly "product.objects.actions": { input: product_objects_actionsInput; output: product_objects_actionsOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
259
|
+
readonly "product.objects.agreements.evidence.list": { input: product_objects_agreements_evidence_listInput; output: product_objects_agreements_evidence_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
260
|
+
readonly "product.objects.agreements.list": { input: product_objects_agreements_listInput; output: product_objects_agreements_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
261
|
+
readonly "product.objects.create": { input: product_objects_createInput; output: product_objects_createOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_pending" | "environment_mismatch" | "external_id_in_use" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "tenant_mismatch" };
|
|
262
|
+
readonly "product.objects.discover": { input: product_objects_discoverInput; output: product_objects_discoverOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
263
|
+
readonly "product.objects.execute": { input: product_objects_executeInput; output: product_objects_executeOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_result_already_delivered" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_pending" | "environment_mismatch" | "external_confirmation_conflict" | "external_confirmation_not_found" | "external_confirmation_resource_conflict" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" | "usage_source_conflict" };
|
|
264
|
+
readonly "product.objects.list": { input: product_objects_listInput; output: product_objects_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
265
|
+
readonly "product.objects.preview": { input: product_objects_previewInput; output: product_objects_previewOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "target_needs_instance" | "tenant_mismatch" };
|
|
266
|
+
readonly "product.objects.retrieve": { input: product_objects_retrieveInput; output: product_objects_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
267
|
+
readonly "product.objects.timeline.list": { input: product_objects_timeline_listInput; output: product_objects_timeline_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "customer_access_pending" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
268
|
+
readonly "product.operation_set.retrieve": { input: product_operation_set_retrieveInput; output: product_operation_set_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
269
|
+
readonly "product.schedule.list": { input: product_schedule_listInput; output: product_schedule_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
270
|
+
readonly "product.treasury.retrieve": { input: product_treasury_retrieveInput; output: product_treasury_retrieveOutput; errorCode: "account_ledger_mapping_dangling" | "account_ledger_unprovisioned" | "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
271
|
+
readonly "product.work.list": { input: product_work_listInput; output: product_work_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
272
|
+
readonly "receipt.list": { input: receipt_listInput; output: receipt_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
273
|
+
readonly "receipt.retrieve": { input: receipt_retrieveInput; output: receipt_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
274
|
+
readonly "sandbox.account.fund": { input: sandbox_account_fundInput; output: sandbox_account_fundOutput; errorCode: "account_ledger_mapping_conflict" | "account_not_found" | "agent_token_expired" | "agent_token_replaced" | "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "customer_access_compliance_forbidden" | "customer_access_required" | "customer_not_found" | "customer_status_forbidden" | "entity_not_found" | "entity_status_forbidden" | "environment_mismatch" | "funding_destination_role_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "invalid_credentials" | "key_revoked" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
275
|
+
readonly "sandbox.clock.advance": { input: sandbox_clock_advanceInput; output: sandbox_clock_advanceOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_context_mismatch" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
276
|
+
readonly "sandbox.clock.retrieve": { input: sandbox_clock_retrieveInput; output: sandbox_clock_retrieveOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
277
|
+
readonly "sandbox.customer_access.activate": { input: sandbox_customer_access_activateInput; output: sandbox_customer_access_activateOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "capability_not_configured" | "csrf_token_invalid" | "customer_profile_incomplete" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
278
|
+
readonly "sandbox.platform.fire": { input: sandbox_platform_fireInput; output: sandbox_platform_fireOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
279
|
+
readonly "usage_record.list": { input: usage_record_listInput; output: usage_record_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
280
|
+
readonly "usage_record.retrieve": { input: usage_record_retrieveInput; output: usage_record_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
281
|
+
readonly "webhook.delivery.list": { input: webhook_delivery_listInput; output: webhook_delivery_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
282
|
+
readonly "webhook.delivery.resend": { input: webhook_delivery_resendInput; output: webhook_delivery_resendOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "webhook_endpoint_url_mismatch" };
|
|
283
|
+
readonly "webhook.endpoint.create": { input: webhook_endpoint_createInput; output: webhook_endpoint_createOutput; errorCode: "account_not_found" | "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
284
|
+
readonly "webhook.endpoint.delete": { input: webhook_endpoint_deleteInput; output: webhook_endpoint_deleteOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
285
|
+
readonly "webhook.endpoint.disable": { input: webhook_endpoint_disableInput; output: webhook_endpoint_disableOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
286
|
+
readonly "webhook.endpoint.enable": { input: webhook_endpoint_enableInput; output: webhook_endpoint_enableOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
287
|
+
readonly "webhook.endpoint.list": { input: webhook_endpoint_listInput; output: webhook_endpoint_listOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
288
|
+
readonly "webhook.endpoint.recover": { input: webhook_endpoint_recoverInput; output: webhook_endpoint_recoverOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
289
|
+
readonly "webhook.endpoint.retrieve": { input: webhook_endpoint_retrieveInput; output: webhook_endpoint_retrieveOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
290
|
+
readonly "webhook.endpoint.secret.rotate": { input: webhook_endpoint_secret_rotateInput; output: webhook_endpoint_secret_rotateOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" };
|
|
291
|
+
readonly "webhook.endpoint.update": { input: webhook_endpoint_updateInput; output: webhook_endpoint_updateOutput; errorCode: "agent_token_expired" | "agent_token_replaced" | "csrf_token_invalid" | "environment_mismatch" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "request_body_too_large" | "session_expired" | "session_required" | "session_revoked" | "state_constraint_failed" | "tenant_mismatch" | "webhook_endpoint_lifecycle_status_forbidden" };
|
|
292
|
+
readonly "webhook.event.catalog": { input: webhook_event_catalogInput; output: webhook_event_catalogOutput; errorCode: "agent_approval_denied" | "agent_approval_required" | "agent_token_expired" | "agent_token_replaced" | "environment_mismatch" | "invalid_credentials" | "key_revoked" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "tenant_mismatch" };
|
|
317
293
|
}
|
|
318
|
-
|
|
294
|
+
/** Cursor lists and the field that holds each page's records. */
|
|
295
|
+
export interface ListOperations {
|
|
296
|
+
readonly "account.hold.list": "items";
|
|
297
|
+
readonly "account.list": "items";
|
|
298
|
+
readonly "account.statement.retrieve": "lines";
|
|
299
|
+
readonly "activity.list": "items";
|
|
300
|
+
readonly "audit_event.list": "items";
|
|
301
|
+
readonly "consent.list": "items";
|
|
302
|
+
readonly "customer_access.list": "items";
|
|
303
|
+
readonly "customer.list": "items";
|
|
304
|
+
readonly "event.list": "items";
|
|
305
|
+
readonly "extension.list": "items";
|
|
306
|
+
readonly "internal_transfer.list": "items";
|
|
307
|
+
readonly "operation.list": "items";
|
|
308
|
+
readonly "product.blocks.summary": "items";
|
|
309
|
+
readonly "product.earn.rate.list": "items";
|
|
310
|
+
readonly "product.objects.actions": "actions";
|
|
311
|
+
readonly "product.objects.agreements.evidence.list": "items";
|
|
312
|
+
readonly "product.objects.agreements.list": "items";
|
|
313
|
+
readonly "product.objects.list": "items";
|
|
314
|
+
readonly "product.objects.timeline.list": "items";
|
|
315
|
+
readonly "product.schedule.list": "items";
|
|
316
|
+
readonly "product.work.list": "items";
|
|
317
|
+
readonly "receipt.list": "items";
|
|
318
|
+
readonly "usage_record.list": "items";
|
|
319
|
+
readonly "webhook.delivery.list": "items";
|
|
320
|
+
readonly "webhook.endpoint.list": "items";
|
|
321
|
+
}
|
|
322
|
+
export type ErrorCode = SharedErrorCode | Operations[keyof Operations]["errorCode"];
|