@hyperscale0/sdk 1.0.124 → 1.0.125
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/package.json +2 -2
- package/platform.d.ts +6 -4
- package/portal.d.ts +29 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscale0/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.125",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "LicenseRef-Hyperscale-Proprietary",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "44fcac0bdfa4468cf88215020ab25a407848f68c"
|
|
26
26
|
}
|
package/platform.d.ts
CHANGED
|
@@ -127,7 +127,8 @@ export type product_instruments_listInput = { readonly "productId": string; };
|
|
|
127
127
|
export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
|
|
128
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
129
|
export type product_listOutput = { readonly "items": ReadonlyArray<product_listOutput_ProductListItem>; readonly "nextCursor"?: 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 "status": "pending" | "active" | "disabled" | "closed"; readonly "createdAt": 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";
|
|
131
132
|
export type product_margin_retrieveInput = { readonly "productId": string; };
|
|
132
133
|
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; }; }>; };
|
|
133
134
|
export type product_objects_actionsInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
@@ -149,7 +150,7 @@ export type product_objects_listOutput = { readonly "items": ReadonlyArray<{ rea
|
|
|
149
150
|
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 }; };
|
|
150
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" | "insufficient_money" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); readonly "effects": ReadonlyArray<{ readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "outcome": "paid" | "held" | "released"; }>; readonly "stateChange": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "at": string; }>; };
|
|
151
152
|
export type product_objects_retrieveInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
|
|
152
|
-
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; }> }; };
|
|
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; };
|
|
153
154
|
export type product_objects_timeline_listInput = { readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
154
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 "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; };
|
|
155
156
|
export type product_operation_set_retrieveInput = { readonly "productId": string; };
|
|
@@ -157,7 +158,8 @@ export type product_operation_set_retrieveOutput = { readonly "status": "frozen"
|
|
|
157
158
|
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">; }; };
|
|
158
159
|
type product_operation_set_retrieveOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<product_operation_set_retrieveOutput_JsonValue> | { readonly [key: string]: product_operation_set_retrieveOutput_JsonValue });
|
|
159
160
|
export type product_retrieveInput = { readonly "productId": string; };
|
|
160
|
-
export type product_retrieveOutput = { readonly "productId": string; readonly "tenantId": string; readonly "environment": "sandbox" | "live"; readonly "displayName": string; readonly "businessDescription"?: string; readonly "rehearsalOriginProductId"?: string; readonly "slug": string; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "instrumentIds": ReadonlyArray<string>; readonly "pricing": product_retrieveOutput_ProductPricingSchedule; readonly "readiness": product_retrieveOutput_ProductActivationReadiness; readonly "capabilities": ReadonlyArray<product_retrieveOutput_ProductCapability>; readonly "cost": product_retrieveOutput_ProductLiveCostEstimate; };
|
|
161
|
+
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; };
|
|
162
|
+
type product_retrieveOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
161
163
|
type product_retrieveOutput_ProductPricingSchedule = { readonly "current": product_retrieveOutput_ProductPricingCurrent; };
|
|
162
164
|
type product_retrieveOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_retrieveOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
|
|
163
165
|
type product_retrieveOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
|
|
@@ -236,7 +238,7 @@ readonly "audit_event.retrieve": { input: audit_event_retrieveInput; output: aud
|
|
|
236
238
|
readonly "consent.list": { input: consent_listInput; output: consent_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
237
239
|
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
238
240
|
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "consent_expired" | "consent_not_active" | "consent_not_found" | "consent_revoked" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
239
|
-
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
241
|
+
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "customer_access_close_open_activity" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
240
242
|
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
241
243
|
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
242
244
|
readonly "customer_access.retrieve": { input: customer_access_retrieveInput; output: customer_access_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
package/portal.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ export type catalog_authorInput = { readonly "tenantId": string; readonly "sourc
|
|
|
57
57
|
export type catalog_authorOutput = { readonly "tenantId": string; readonly "catalogRevisionId": string; readonly "parentCatalogRevisionId"?: string; readonly "programName": string; readonly "sourceDigest": string; readonly "documentDigest": string; readonly "overlayDigest": string; readonly "instrumentIds": ReadonlyArray<string>; readonly "publicActions": ReadonlyArray<catalog_authorOutput_ProductPublicAction>; readonly "warnings": ReadonlyArray<{ readonly "code": string; readonly "stage": "parse" | "check" | "lower" | "udl" | "law" | "projection"; readonly "severity": "error" | "warning"; readonly "message": string; readonly "law"?: string; readonly "path"?: string; readonly "span"?: { readonly "start": number; readonly "end": number; readonly "line": number; readonly "column": number; }; }>; readonly "status": "published"; };
|
|
58
58
|
type catalog_authorOutput_ProductPublicAction = { readonly "name": string; readonly "instrument": string; readonly "inputSchema": { readonly [key: string]: catalog_authorOutput_JsonValue }; readonly "outputSchema": { readonly [key: string]: catalog_authorOutput_JsonValue }; readonly "actorPolicy": { readonly "principal": "api_key" | "customer_session" | "user_session"; readonly "staffAuthority"?: { readonly "party": string; readonly "role": "credit_underwriter"; readonly "permission": "credit:underwrite"; }; }; readonly "portPolicy": ({ readonly "kind": "none"; } | { readonly "kind": "tenant_decision"; readonly "allowedParties": ReadonlyArray<string>; }); readonly "idempotencyPolicy": { readonly "mode": "not_required" | "optional" | "required"; }; readonly "receiptPolicy": { readonly "type": string; readonly "includeEvidence": boolean; }; readonly "receiptEvidence": { readonly "required": ReadonlyArray<"ledger" | "local" | "external">; readonly "optional"?: ReadonlyArray<"ledger" | "local" | "external">; }; };
|
|
59
59
|
type catalog_authorOutput_JsonValue = (string | number | boolean | null | ReadonlyArray<catalog_authorOutput_JsonValue> | { readonly [key: string]: catalog_authorOutput_JsonValue });
|
|
60
|
-
export type composer_authorInput = { readonly "tenantId": string; readonly "turnId": string; readonly "intent": "author" | "explain" | "guide"; readonly "baseSourceDigest": string; readonly "history"?: ReadonlyArray<{ readonly "role": "user" | "model"; readonly "text": string; }>; readonly "catalogRevisionId"?: string; readonly "productId"?: string; readonly "brief": string; readonly "source"?: string; readonly "diagnostics"?: string; };
|
|
61
|
-
export type composer_authorOutput = ({ readonly "turnId": string; readonly "sequence": number; readonly "event": "accepted"; readonly "model": string; readonly "corpusDigest": string; readonly "sourceDigest": string; readonly "deadline": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "text"; readonly "delta": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "tool"; readonly "callId": string; readonly "name": "propose_source" | "read_header"; readonly "state": "started" | "finished"; readonly "summary": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "proposal"; readonly "source": string; readonly "sourceDigest": string; readonly "baseSourceDigest": string; readonly "compilerVersion": string; readonly "catalogRevisionId": (string | null); readonly "check": composer_authorOutput_ComposerCheckResult; readonly "limitations"?: ReadonlyArray<{ readonly "requirement": string; readonly "explanation": string; }>; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "usage"; readonly "requests": number; readonly "requestsDetail"?: ReadonlyArray<{ readonly "durationMs": number; readonly "thinkingLevel": "LOW" | "MEDIUM"; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "complete": boolean; readonly "estimatedUsd"?: number; }>; readonly "uncachedInput": number; readonly "cachedInput": number; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "estimatedUsd": number; readonly "priceVersion": string; readonly "complete": boolean; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "done"; readonly "outcome": "complete" | "invalid" | "cancelled" | "failed"; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "error"; readonly "failure"?: { readonly "originalCode": string; readonly "proposalSaved": boolean; readonly "proposalValid": boolean | null; }; readonly "code": string; readonly "message": string; readonly "retryable": boolean; });
|
|
60
|
+
export type composer_authorInput = { readonly "tenantId": string; readonly "turnId": string; readonly "intent": "author" | "explain" | "guide"; readonly "baseSourceDigest": string; readonly "history"?: ReadonlyArray<{ readonly "role": "user" | "model"; readonly "text": string; }>; readonly "catalogRevisionId"?: string; readonly "productId"?: string; readonly "brief": string; readonly "source"?: string; readonly "diagnostics"?: string; readonly "screen"?: { readonly "portal": "run" | "dev" | "admin"; readonly "route": string; readonly "title": string; readonly "summary"?: string; }; };
|
|
61
|
+
export type composer_authorOutput = ({ readonly "turnId": string; readonly "sequence": number; readonly "event": "accepted"; readonly "model": string; readonly "corpusDigest": string; readonly "sourceDigest": string; readonly "deadline": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "text"; readonly "delta": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "thought"; readonly "delta": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "tool"; readonly "callId": string; readonly "name": "propose_source" | "read_header"; readonly "state": "started" | "finished"; readonly "summary": string; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "proposal"; readonly "source": string; readonly "sourceDigest": string; readonly "baseSourceDigest": string; readonly "compilerVersion": string; readonly "catalogRevisionId": (string | null); readonly "check": composer_authorOutput_ComposerCheckResult; readonly "limitations"?: ReadonlyArray<{ readonly "requirement": string; readonly "explanation": string; }>; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "usage"; readonly "requests": number; readonly "requestsDetail"?: ReadonlyArray<{ readonly "durationMs": number; readonly "thinkingLevel": "LOW" | "MEDIUM"; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "complete": boolean; readonly "estimatedUsd"?: number; }>; readonly "uncachedInput": number; readonly "cachedInput": number; readonly "candidateOutput": number; readonly "thoughtOutput": number; readonly "estimatedUsd": number; readonly "priceVersion": string; readonly "complete": boolean; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "done"; readonly "outcome": "complete" | "invalid" | "cancelled" | "failed"; } | { readonly "turnId": string; readonly "sequence": number; readonly "event": "error"; readonly "failure"?: { readonly "originalCode": string; readonly "proposalSaved": boolean; readonly "proposalValid": boolean | null; }; readonly "code": string; readonly "message": string; readonly "retryable": boolean; });
|
|
62
62
|
type composer_authorOutput_ComposerCheckResult = { readonly "ok": boolean; readonly "issues": ReadonlyArray<composer_authorOutput_ComposerIssue>; readonly "declaredParties": ({ readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } } | null); readonly "requiredPartyBindings": (ReadonlyArray<string> | null); };
|
|
63
63
|
type composer_authorOutput_ComposerIssue = { readonly "code": string; readonly "message": string; readonly "path": string; readonly "fix"?: string; };
|
|
64
64
|
export type composer_catalogInput = { readonly "tenantId": string; };
|
|
@@ -99,7 +99,7 @@ export type customer_access_suspendOutput = { readonly "tenantId": string; reado
|
|
|
99
99
|
export type customer_createInput = { readonly "tenantId": string; readonly "productId": string; readonly "entity": { readonly "kind": "person" | "organization"; readonly "displayName": string; readonly "country": string; }; };
|
|
100
100
|
export type customer_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "customerId": string; readonly "partyId": string; readonly "customerStatus": "active"; readonly "entityId": string; readonly "entityStatus": "pending" | "verified" | "rejected" | "disabled"; readonly "customerAccessId": string; };
|
|
101
101
|
export type customer_data_exportInput = { readonly "tenantId": string; readonly "customerId": string; };
|
|
102
|
-
export type customer_data_exportOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "customerId": string; readonly "generatedAt": string; readonly "customer": { readonly "customerId": string; readonly "externalReference": string | null; readonly "status": "pending" | "active" | "disabled" | "erased"; readonly "createdAt": string; }; readonly "entity": { readonly "entityId": string; readonly "kind": "person" | "organization"; readonly "displayName": string; readonly "country": string; readonly "status": "pending" | "verified" | "rejected" | "disabled"; }; readonly "accessBindings": ReadonlyArray<{ readonly "customerAccessId": string; readonly "productId": string; readonly "status": "pending" | "active" | "suspended" | "closed"; readonly "amlStatus": "not_screened" | "clear" | "review" | "blocked"; readonly "metadata": { readonly [key: string]: unknown }; readonly "evidence": { readonly [key: string]: unknown }; readonly "createdAt": string; }>; };
|
|
102
|
+
export type customer_data_exportOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "customerId": string; readonly "generatedAt": string; readonly "customer": { readonly "customerId": string; readonly "externalReference": string | null; readonly "status": "pending" | "active" | "disabled" | "erased"; readonly "createdAt": string; }; readonly "entity": { readonly "entityId": string; readonly "kind": "person" | "organization"; readonly "displayName": string; readonly "country": string; readonly "status": "pending" | "verified" | "rejected" | "disabled"; }; readonly "accessBindings": ReadonlyArray<{ readonly "customerAccessId": string; readonly "productId": string; readonly "status": "pending" | "active" | "suspended" | "closed"; readonly "amlStatus": "not_screened" | "clear" | "review" | "blocked"; readonly "metadata": { readonly [key: string]: unknown }; readonly "evidence": { readonly [key: string]: unknown }; readonly "createdAt": string; }>; readonly "consents": ReadonlyArray<{ readonly "consentId": string; readonly "productId": string; readonly "subjectKind": "customer" | "customer_access" | "entity"; readonly "subjectId": string; readonly "providers": ReadonlyArray<string>; readonly "dataCategories": ReadonlyArray<string>; readonly "version": string; readonly "status": "active" | "expired" | "revoked"; readonly "grantedAt": string; readonly "expiresAt": string; readonly "revokedAt": (string | null); readonly "revokeReason": string | null; readonly "metadata": { readonly [key: string]: unknown }; }>; };
|
|
103
103
|
export type customer_disableInput = { readonly "tenantId": string; readonly "customerId": string; readonly "reason": string; };
|
|
104
104
|
export type customer_disableOutput = { readonly "tenantId": string; readonly "customerId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active"; readonly "status": "disabled"; };
|
|
105
105
|
export type customer_eraseInput = { readonly "tenantId": string; readonly "customerId": string; readonly "reason": string; };
|
|
@@ -180,19 +180,23 @@ export type product_build_listInput = { readonly "tenantId": string; readonly "p
|
|
|
180
180
|
export type product_build_listOutput = { readonly "items": ReadonlyArray<product_build_listOutput_ProductBuildListItem>; readonly "nextCursor"?: string; };
|
|
181
181
|
type product_build_listOutput_ProductBuildListItem = { readonly "productBuildId": string; readonly "productId": string; readonly "number": number; readonly "createdAt": string; readonly "catalogRevisionId"?: string; readonly "isCurrent": boolean; readonly "sourceByteLength": number; };
|
|
182
182
|
export type product_build_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId"?: string; };
|
|
183
|
-
export type product_build_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "1"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "environment": "sandbox" | "live"; readonly "capabilities": ReadonlyArray<{ readonly "capabilityId": "identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "status": "composed" | "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; }>; readonly "program": { readonly "source": string; }; readonly "configuration": { readonly "partyBindings": { readonly [key: string]: string }; }; readonly "declaredParties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "customerTerms": { readonly "complete": boolean; readonly "items": ReadonlyArray<{ readonly "category": "fee" | "rate" | "price" | "schedule" | "refund" | "retention"; readonly "instrumentId": string; readonly "label": string; readonly "value": string; readonly "unit"?: "basis_points" | "milliseconds" | "date"; readonly "currency"?: string; }>; readonly "unavailable": ReadonlyArray<"fee" | "rate" | "price" | "schedule" | "refund" | "retention">; }; readonly "actionExposures": ReadonlyArray<{ readonly "name": string; readonly "target": string; }>; readonly "createdAt": string; };
|
|
183
|
+
export type product_build_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "1"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "environment": "sandbox" | "live"; readonly "capabilities": ReadonlyArray<{ readonly "capabilityId": "identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "status": "composed" | "enabled" | "live_enabled" | "retired" | "restricted" | "revoked"; }>; readonly "program": { readonly "source": string; }; readonly "configuration": { readonly "partyBindings": { readonly [key: string]: string }; }; readonly "declaredParties": { readonly [key: string]: { readonly "kind": "person" | "business" | "staff"; readonly "role"?: string; } }; readonly "customerTerms": { readonly "complete": boolean; readonly "items": ReadonlyArray<{ readonly "category": "fee" | "rate" | "price" | "schedule" | "refund" | "retention"; readonly "instrumentId": string; readonly "label": string; readonly "value": string; readonly "unit"?: "basis_points" | "milliseconds" | "date"; readonly "display"?: string; readonly "currency"?: string; }>; readonly "unavailable": ReadonlyArray<"fee" | "rate" | "price" | "schedule" | "refund" | "retention">; }; readonly "actionExposures": ReadonlyArray<{ readonly "name": string; readonly "target": string; }>; readonly "createdAt": string; };
|
|
184
184
|
export type product_capability_retireInput = { readonly "tenantId": string; readonly "productId": string; readonly "productCapabilityId": string; readonly "reason": string; };
|
|
185
185
|
export type product_capability_retireOutput = { readonly "productCapabilityId": string; readonly "tenantId": string; readonly "productId": string; readonly "capability": "identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "previousStatus": "enabled" | "live_enabled"; readonly "status": "retired"; readonly "updatedAt": string; readonly "reason": string; };
|
|
186
186
|
export type product_capability_unretireInput = { readonly "tenantId": string; readonly "productId": string; readonly "productCapabilityId": string; readonly "reason": string; };
|
|
187
187
|
export type product_capability_unretireOutput = { readonly "productCapabilityId": string; readonly "tenantId": string; readonly "productId": string; readonly "capability": "identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification"; readonly "previousStatus": "retired"; readonly "status": "enabled" | "live_enabled"; readonly "enabledAt": string; readonly "updatedAt": string; readonly "reason": string; };
|
|
188
188
|
export type product_closeInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; };
|
|
189
189
|
export type product_closeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active" | "disabled"; readonly "status": "closed"; };
|
|
190
|
+
export type product_closure_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
191
|
+
export type product_closure_retrieveOutput = { readonly "tenantId": string; readonly "productId": string; readonly "blockers": ReadonlyArray<product_closure_retrieveOutput_ProductClosureBlocker>; };
|
|
192
|
+
type product_closure_retrieveOutput_ProductClosureBlocker = { readonly "code": "customer_access" | "api_key" | "open_record" | "transfer" | "balance"; readonly "count": number; readonly "recordKind"?: string; };
|
|
190
193
|
export type product_connections_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
191
194
|
export type product_connections_retrieveOutput = { readonly "productId": string; readonly "items": ReadonlyArray<{ readonly "role": string; readonly "assignedBusinessName": string | null; readonly "service": string | null; readonly "state": "Configured" | "Missing" | "Unavailable"; readonly "reference": string; }>; };
|
|
192
|
-
export type product_createInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_createInput_Metadata; };
|
|
195
|
+
export type product_createInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_createInput_Metadata; readonly "icon"?: product_createInput_ProductIcon; };
|
|
193
196
|
type product_createInput_Metadata = { readonly [key: string]: product_createInput_MetadataValue };
|
|
194
197
|
type product_createInput_MetadataValue = (product_createInput_MetadataScalar | ReadonlyArray<product_createInput_MetadataScalar> | { readonly [key: string]: product_createInput_MetadataScalar });
|
|
195
198
|
type product_createInput_MetadataScalar = (string | number | boolean | null);
|
|
199
|
+
type product_createInput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
196
200
|
export type product_createOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "1"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "key_delivery": "minted" | "unavailable"; readonly "startKeyId"?: string; readonly "shown_once"?: string; readonly "shown_once_unavailable_reason"?: "missing_key_mint_authority"; };
|
|
197
201
|
export type product_disableInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; };
|
|
198
202
|
export type product_disableOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "previousStatus": "active"; readonly "status": "disabled"; };
|
|
@@ -208,16 +212,18 @@ export type product_guidance_retrieveInput = { readonly "tenantId": string; read
|
|
|
208
212
|
export type product_guidance_retrieveOutput = { readonly "items": ReadonlyArray<product_guidance_retrieveOutput_ProductGuidanceItem>; readonly "nextPredicate": ("mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product" | null); };
|
|
209
213
|
type product_guidance_retrieveOutput_ProductGuidanceItem = { readonly "predicate": "mint_api_key" | "make_first_call" | "resolve_unpriced_meters" | "contact_sales_custom_pricing" | "promote_product"; readonly "status": "satisfied" | "actionable" | "blocked"; readonly "title": string; readonly "detail": string; readonly "target": product_guidance_retrieveOutput_ProductGuidanceTarget; readonly "requirement"?: string; };
|
|
210
214
|
type product_guidance_retrieveOutput_ProductGuidanceTarget = { readonly "kind": "operation" | "view"; readonly "ref": string; };
|
|
211
|
-
export type product_instruments_composeInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_instruments_composeInput_Metadata; };
|
|
215
|
+
export type product_instruments_composeInput = { readonly "tenantId": string; readonly "name": string; readonly "program": { readonly "source": string; }; readonly "partyBindings": { readonly [key: string]: string }; readonly "catalogRevisionId"?: string; readonly "metadata"?: product_instruments_composeInput_Metadata; readonly "icon"?: product_instruments_composeInput_ProductIcon; };
|
|
212
216
|
type product_instruments_composeInput_Metadata = { readonly [key: string]: product_instruments_composeInput_MetadataValue };
|
|
213
217
|
type product_instruments_composeInput_MetadataValue = (product_instruments_composeInput_MetadataScalar | ReadonlyArray<product_instruments_composeInput_MetadataScalar> | { readonly [key: string]: product_instruments_composeInput_MetadataScalar });
|
|
214
218
|
type product_instruments_composeInput_MetadataScalar = (string | number | boolean | null);
|
|
219
|
+
type product_instruments_composeInput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
215
220
|
export type product_instruments_composeOutput = { readonly "tenantId": string; readonly "productId": string; readonly "productBuildId": string; readonly "buildDigest": string; readonly "manifestSchemaVersion": "1"; readonly "instrumentIds": ReadonlyArray<string>; readonly "capabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "excludedCapabilityIds": ReadonlyArray<"identity" | "accounts" | "internal_transfers" | "products" | "activity" | "usage" | "billing" | "webhooks" | "verification">; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "key_delivery": "minted" | "unavailable"; readonly "startKeyId"?: string; readonly "shown_once"?: string; readonly "shown_once_unavailable_reason"?: "missing_key_mint_authority"; };
|
|
216
221
|
export type product_instruments_listInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
217
222
|
export type product_instruments_listOutput = { readonly "productBuildId": string; readonly "buildDigest": string; readonly "currency": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "title": string; readonly "summary": string; readonly "fields": ReadonlyArray<({ readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "money"; readonly "value"?: string; readonly "minimum"?: string; readonly "maximum"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "account"; readonly "owner": (string | { readonly "adapter": string; }); readonly "key"?: string; readonly "book": "cash" | "claim"; readonly "contra"?: true; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "ref"; readonly "targetKind": "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "target": (string | ReadonlyArray<string>); } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "date"; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "duration"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "text"; readonly "value"?: string; readonly "minLength"?: number; readonly "maxLength"?: number; readonly "pattern"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "integer"; readonly "value"?: number; readonly "minimum"?: number; readonly "maximum"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "percent"; readonly "value"?: number; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "boolean"; readonly "value"?: boolean; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "enum"; readonly "values": ReadonlyArray<string>; readonly "value"?: string; } | { readonly "name": string; readonly "label"?: string; readonly "optional"?: true; readonly "description"?: string; readonly "sensitive"?: true; readonly "type": "list"; readonly "item": "money" | "date" | "text" | "integer" | "ref"; readonly "targetKind"?: "instrument" | "object"; readonly "targetFamily"?: { readonly "module": string; readonly "exportPath": string; readonly "revision": number; }; readonly "target"?: string; readonly "maxItems": number; })>; readonly "lifecycle": { readonly "states": ReadonlyArray<string>; readonly "labels"?: { readonly [key: string]: string }; readonly "initial": string; readonly "transitions": { readonly [key: string]: { readonly "from": ReadonlyArray<string>; readonly "to": string; } }; }; }>; };
|
|
218
223
|
export type product_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "status"?: "pending" | "active" | "disabled" | "closed"; };
|
|
219
224
|
export type product_listOutput = { readonly "items": ReadonlyArray<product_listOutput_ProductListItem>; readonly "nextCursor"?: string; };
|
|
220
|
-
type product_listOutput_ProductListItem = { readonly "productId": string; readonly "tenantId": string; readonly "environment": "sandbox" | "live"; readonly "displayName": string; readonly "businessDescription"?: string; readonly "rehearsalOriginProductId"?: string; readonly "slug": string; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "createdAt": string; };
|
|
225
|
+
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; };
|
|
226
|
+
type product_listOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
221
227
|
export type product_margin_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
222
228
|
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; }; }>; };
|
|
223
229
|
export type product_objects_actionsInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
@@ -241,7 +247,7 @@ export type product_objects_listOutput = { readonly "items": ReadonlyArray<{ rea
|
|
|
241
247
|
export type product_objects_previewInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "action": string; readonly "expectedRevision": number; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "fields"?: { readonly [key: string]: unknown }; readonly "input"?: { readonly [key: string]: unknown }; };
|
|
242
248
|
export type product_objects_previewOutput = { readonly "objectId": string; readonly "revision": number; readonly "productBuildId": string; readonly "digest": string; readonly "target": ({ readonly "kind": "attachment"; readonly "attachment": string; } | { readonly "kind": "instance"; readonly "attachment": string; readonly "instanceId": string; }); readonly "evaluatedAt": string; readonly "effectiveAt": string; readonly "availability": ({ readonly "status": "available"; } | { readonly "status": "requires_input"; readonly "subjectFields": ReadonlyArray<string>; readonly "actionInputs": ReadonlyArray<string>; readonly "parties": ReadonlyArray<string>; readonly "reason": string; } | { readonly "status": "unavailable"; readonly "blockers": ReadonlyArray<{ readonly "code": "permission_required" | "state_changed" | "not_due" | "deadline_passed" | "clock_pending" | "condition_not_met" | "already_used" | "evidence_required" | "account_unavailable" | "insufficient_money" | "setup_required" | "invalid_input" | "operation_pending"; readonly "reason": string; readonly "recheckAt"?: string; }>; } | { readonly "status": "unknown"; readonly "reason": string; }); readonly "effects": ReadonlyArray<{ readonly "sourceAccountId": string; readonly "destinationAccountId": string; readonly "amount": string; readonly "currency": string; readonly "book": "cash" | "claim"; readonly "outcome": "paid" | "held" | "released"; }>; readonly "stateChange": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "at": string; }>; };
|
|
243
249
|
export type product_objects_retrieveInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; };
|
|
244
|
-
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; }> }; };
|
|
250
|
+
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; };
|
|
245
251
|
export type product_objects_timeline_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "kind": string; readonly "objectId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
246
252
|
export type product_objects_timeline_listOutput = { readonly "objectId": string; readonly "items": ReadonlyArray<{ readonly "id": string; readonly "kind": "action_accepted" | "action_refused" | "state_changed" | "money_moved" | "hold_placed" | "hold_released" | "clock" | "evidence" | "provider"; readonly "line": string; readonly "actor": { readonly "role": string; readonly "title": string; }; readonly "occurredAt": string; readonly "timeBasis": "effective" | "recorded"; readonly "agreement": ({ readonly "instanceId": string; readonly "instrument": string; readonly "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; };
|
|
247
253
|
export type product_operation_set_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
@@ -259,7 +265,8 @@ type product_recomposeOutput_ProductPricingSchedule = { readonly "current": prod
|
|
|
259
265
|
type product_recomposeOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_recomposeOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
|
|
260
266
|
type product_recomposeOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
|
|
261
267
|
export type product_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
262
|
-
export type product_retrieveOutput = { readonly "productId": string; readonly "tenantId": string; readonly "environment": "sandbox" | "live"; readonly "displayName": string; readonly "businessDescription"?: string; readonly "rehearsalOriginProductId"?: string; readonly "slug": string; readonly "kind": "app" | "offering" | "listing" | "booking" | "pool"; readonly "status": "pending" | "active" | "disabled" | "closed"; readonly "instrumentIds": ReadonlyArray<string>; readonly "pricing": product_retrieveOutput_ProductPricingSchedule; readonly "readiness": product_retrieveOutput_ProductActivationReadiness; readonly "capabilities": ReadonlyArray<product_retrieveOutput_ProductCapability>; readonly "cost": product_retrieveOutput_ProductLiveCostEstimate; };
|
|
268
|
+
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; };
|
|
269
|
+
type product_retrieveOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
263
270
|
type product_retrieveOutput_ProductPricingSchedule = { readonly "current": product_retrieveOutput_ProductPricingCurrent; };
|
|
264
271
|
type product_retrieveOutput_ProductPricingCurrent = { readonly "monthly": string; readonly "setup": string; readonly "complexityScore": number | null; readonly "rates": ReadonlyArray<product_retrieveOutput_ProductPlanRate>; readonly "currency": string; readonly "pricingIdentity": string; readonly "priceBasisIdentity": string; };
|
|
265
272
|
type product_retrieveOutput_ProductPlanRate = { readonly "id": string; readonly "kind": string; readonly "meter": "account.active_month" | "account.created.count" | "transfer.internal.count" | "transfer.internal.volume_sar" | "transfer.internal.volume_usd" | "transfer.internal.volume_eur" | "transfer.internal.volume_gbp" | "instrument.event.count" | "operation.executed.count" | "billing.plan.recurring_month"; readonly "signature": string; readonly "unit": string; readonly "amount"?: string; readonly "bps"?: string; readonly "includedQuantity"?: string; readonly "summary": string; readonly "currency": string; };
|
|
@@ -272,8 +279,10 @@ export type product_schedule_listInput = { readonly "tenantId": string; readonly
|
|
|
272
279
|
export type product_schedule_listOutput = { readonly "effectiveAt": string; readonly "nextCursor"?: string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "agreement": { readonly "instanceId": string; }; readonly "action": string; readonly "title": string; readonly "status": "upcoming" | "due" | "completed" | "refused"; readonly "dueAt": string; readonly "responsibleRole": string; readonly "amount"?: { readonly "value": string; readonly "currency": string; }; readonly "refusedAt"?: string; readonly "reason": string; }>; };
|
|
273
280
|
export type product_treasury_retrieveInput = { readonly "tenantId": string; readonly "productId": string; };
|
|
274
281
|
export type product_treasury_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "productId": string; readonly "asOf": string; readonly "credit": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; readonly "revenue": { readonly "accountId": string; readonly "available": string; readonly "pending": string; readonly "settled": string; readonly "currency": string; }; };
|
|
275
|
-
export type product_updateInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; readonly "displayName"?: string; readonly "businessDescription"?: (string | null); };
|
|
276
|
-
|
|
282
|
+
export type product_updateInput = { readonly "tenantId": string; readonly "productId": string; readonly "reason": string; readonly "displayName"?: string; readonly "businessDescription"?: (string | null); readonly "icon"?: product_updateInput_ProductIcon; };
|
|
283
|
+
type product_updateInput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
284
|
+
export type product_updateOutput = { readonly "tenantId": string; readonly "productId": string; readonly "updatedAt": string; readonly "reason": string; readonly "displayName": string; readonly "businessDescription"?: string; readonly "icon": product_updateOutput_ProductIcon; };
|
|
285
|
+
type product_updateOutput_ProductIcon = "generic" | "deposit" | "wallet" | "card" | "pay_later" | "lending" | "marketplace" | "escrow" | "holiday" | "insurance";
|
|
277
286
|
export type product_work_listInput = { readonly "tenantId": string; readonly "productId": string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
278
287
|
export type product_work_listOutput = { readonly "effectiveAt": string; readonly "items": ReadonlyArray<{ readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "recordTitle": string; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; }>; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<"work_counts_incomplete">; readonly "counts": { readonly "needsHuman": (number | null); readonly "waitingCustomer": (number | null); readonly "waitingProvider": (number | null); readonly "waitingClock": (number | null); }; readonly "nextCursor"?: string; };
|
|
279
288
|
export type receipt_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
@@ -341,7 +350,7 @@ export type tenant_parties_listOutput = { readonly "items": ReadonlyArray<{ read
|
|
|
341
350
|
export type tenant_parties_retrieveInput = { readonly "tenantId": string; readonly "partyId": string; readonly "productId"?: string; readonly "relationshipsCursor"?: string; };
|
|
342
351
|
export type tenant_parties_retrieveOutput = { readonly "partyId": string; readonly "type": "person" | "organization" | "external"; readonly "displayName": string; readonly "status": string | null; readonly "contactSummary": string | null; readonly "email": (string | null); readonly "createdAt": string; readonly "customerIds": ReadonlyArray<string>; readonly "productRelationships": ReadonlyArray<{ readonly "productId": (string | null); readonly "productName": string | null; readonly "relationship": "customer" | "customer_access" | "record_role" | "participant"; readonly "role": string | null; }>; readonly "relationshipCount": number; readonly "relationshipsNextCursor"?: string; };
|
|
343
352
|
export type tenant_party_records_listInput = { readonly "tenantId": string; readonly "partyId": string; readonly "productId"?: string; readonly "kind"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
344
|
-
export type tenant_party_records_listOutput = { readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "kind": string; readonly "kindTitle": string; readonly "objectId": string; readonly "displayTitle": string; readonly "roles": ReadonlyArray<string>; readonly "standing": string; 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 "url": string; }>; readonly "total": number; readonly "asOf": string; readonly "complete": boolean; readonly "nextCursor"?: string; };
|
|
353
|
+
export type tenant_party_records_listOutput = { readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "kind": string; readonly "kindTitle": string; readonly "objectId": string; readonly "displayTitle": string; readonly "roles": ReadonlyArray<string>; readonly "open": boolean; 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 "url": string; }>; readonly "total": number; readonly "openTotal": number; readonly "asOf": string; readonly "complete": boolean; readonly "nextCursor"?: string; };
|
|
345
354
|
export type tenant_retrieveInput = { readonly "tenantId": string; };
|
|
346
355
|
export type tenant_retrieveOutput = { readonly "item": { readonly "tenantId": string; readonly "legalName": string; readonly "tenantCode"?: string; readonly "entityId"?: string; readonly "status"?: "pending" | "active" | "suspended" | "closed"; readonly "createdAt"?: string; }; };
|
|
347
356
|
export type tenant_safeguarding_retrieveInput = { readonly "tenantId": string; };
|
|
@@ -364,8 +373,8 @@ export type tenant_treasury_statements_retrieveInput = { readonly "tenantId": st
|
|
|
364
373
|
export type tenant_treasury_statements_retrieveOutput = { readonly "environment": "sandbox" | "live"; readonly "tenantId": string; readonly "asOf": string; readonly "fromPeriod": string; readonly "toPeriod": string; readonly "periods": ReadonlyArray<string>; readonly "accounts": ReadonlyArray<{ readonly "accountId": string; readonly "role": "tenant_credit" | "tenant_settlement" | "product_revenue"; readonly "displayName": string; readonly "currency": string; readonly "productId"?: string; readonly "months": ReadonlyArray<{ readonly "period": string; readonly "periodStart": string; readonly "periodEndExclusive": string; readonly "finalized": boolean; readonly "openingBalance"?: string; readonly "closingBalance"?: string; readonly "lines": ReadonlyArray<{ readonly "amount": string; readonly "balanceDelta": string; readonly "counterpartyAccountId": string; readonly "counterpartyDisplayName": string; readonly "currency": string; readonly "direction": "debit" | "credit"; readonly "entryId": string; readonly "ledgerTransferId": string; readonly "memo": string; readonly "occurredAt": string; readonly "operationId": string; readonly "operationName": string; readonly "origin"?: { readonly "instrumentId": string; readonly "instrumentInstanceId": string; readonly "action": string; }; readonly "runningBalance": string; readonly "status": "pending" | "posted" | "voided"; readonly "title"?: string; readonly "transferId": string; }>; readonly "unavailable"?: { readonly "code": string; readonly "message": string; }; }>; }>; };
|
|
365
374
|
export type tenant_updateInput = { readonly "tenantId": string; readonly "legalName": string; readonly "reason": string; };
|
|
366
375
|
export type tenant_updateOutput = { readonly "tenantId": string; readonly "legalName": string; readonly "updatedAt": string; readonly "reason": string; };
|
|
367
|
-
export type tenant_work_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "lane"?: "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "dueFrom"?: string; readonly "dueTo"?: string; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
368
|
-
export type tenant_work_listOutput = { readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<string>; readonly "counts": { readonly "needsHuman": (number | null); readonly "waitingCustomer": (number | null); readonly "waitingProvider": (number | null); readonly "waitingClock": (number | null); }; readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "effectiveAt": string; readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "recordTitle": string; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; readonly "title": string; readonly "actionTarget": string; }>; readonly "nextCursor"?: string; };
|
|
376
|
+
export type tenant_work_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "lane"?: "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "dueFrom"?: string; readonly "dueTo"?: string; readonly "due"?: "now"; readonly "cursor"?: string; readonly "limit"?: number; };
|
|
377
|
+
export type tenant_work_listOutput = { readonly "asOf": string; readonly "complete": boolean; readonly "unavailable": ReadonlyArray<string>; readonly "counts": { readonly "needsHuman": (number | null); readonly "waitingCustomer": (number | null); readonly "waitingProvider": (number | null); readonly "waitingClock": (number | null); readonly "due": (number | null); }; readonly "items": ReadonlyArray<{ readonly "productId": string; readonly "productName": string; readonly "effectiveAt": string; readonly "object": { readonly "kind": string; readonly "objectId": string; }; readonly "recordTitle": string; readonly "agreement"?: { readonly "instanceId": string; }; readonly "lane": "needs_human" | "waiting_customer" | "waiting_provider" | "waiting_clock"; readonly "reason": string; readonly "responsibleRole": string; readonly "dueAt"?: string; readonly "evidenceReference"?: string; readonly "action"?: { readonly "name": string; readonly "title": string; readonly "attachment": string; readonly "instanceId": string; }; readonly "title": string; readonly "actionTarget": string; }>; readonly "nextCursor"?: string; };
|
|
369
378
|
export type transfer_return_createInput = { readonly "tenantId": string; readonly "returnId"?: string; readonly "originalTransferId": string; readonly "reason": "insufficient_funds" | "account_closed" | "no_account" | "invalid_account" | "balance_cap_exceeded" | "unauthorized" | "other"; };
|
|
370
379
|
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"; };
|
|
371
380
|
export type usage_record_listInput = { readonly "tenantId": string; readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
|
|
@@ -473,6 +482,7 @@ export async function* readEventStream<
|
|
|
473
482
|
value.event !== eventName ||
|
|
474
483
|
![
|
|
475
484
|
"accepted",
|
|
485
|
+
"thought",
|
|
476
486
|
"text",
|
|
477
487
|
"tool",
|
|
478
488
|
"proposal",
|
|
@@ -596,7 +606,7 @@ readonly "consent.grant": { input: consent_grantInput; output: consent_grantOutp
|
|
|
596
606
|
readonly "consent.list": { input: consent_listInput; output: consent_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
597
607
|
readonly "consent.retrieve": { input: consent_retrieveInput; output: consent_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
598
608
|
readonly "consent.revoke": { input: consent_revokeInput; output: consent_revokeOutput; error: ErrorResponse & { readonly error: { readonly code: "consent_expired" | "consent_not_active" | "consent_not_found" | "consent_revoked" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
599
|
-
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
609
|
+
readonly "customer_access.close": { input: customer_access_closeInput; output: customer_access_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "customer_access_close_open_activity" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
600
610
|
readonly "customer_access.create": { input: customer_access_createInput; output: customer_access_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_exists" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
601
611
|
readonly "customer_access.list": { input: customer_access_listInput; output: customer_access_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
602
612
|
readonly "customer_access.reactivate": { input: customer_access_reactivateInput; output: customer_access_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
@@ -604,7 +614,7 @@ readonly "customer_access.retrieve": { input: customer_access_retrieveInput; out
|
|
|
604
614
|
readonly "customer_access.suspend": { input: customer_access_suspendInput; output: customer_access_suspendOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_access_lifecycle_status_forbidden" | "customer_access_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
605
615
|
readonly "customer.create": { input: customer_createInput; output: customer_createOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_not_found" | "customer_status_forbidden" | "economic_snapshot_unstable" | "entity_not_found" | "entity_status_forbidden" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
606
616
|
readonly "customer.data.export": { input: customer_data_exportInput; output: customer_data_exportOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_erased" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
607
|
-
readonly "customer.disable": { input: customer_disableInput; output: customer_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_disable_open_activity" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
617
|
+
readonly "customer.disable": { input: customer_disableInput; output: customer_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "customer_disable_open_activity" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
608
618
|
readonly "customer.erase": { input: customer_eraseInput; output: customer_eraseOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
609
619
|
readonly "customer.list": { input: customer_listInput; output: customer_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
610
620
|
readonly "customer.reactivate": { input: customer_reactivateInput; output: customer_reactivateOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "customer_lifecycle_status_forbidden" | "customer_not_found" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
@@ -640,10 +650,11 @@ readonly "product.build.list": { input: product_build_listInput; output: product
|
|
|
640
650
|
readonly "product.build.retrieve": { input: product_build_retrieveInput; output: product_build_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_build_not_found" | "product_build_stale" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
641
651
|
readonly "product.capability.retire": { input: product_capability_retireInput; output: product_capability_retireOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_capability_not_found" | "product_capability_status_forbidden" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
642
652
|
readonly "product.capability.unretire": { input: product_capability_unretireInput; output: product_capability_unretireOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_capability_not_found" | "product_capability_status_forbidden" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
643
|
-
readonly "product.close": { input: product_closeInput; output: product_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_close_open_activity" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
653
|
+
readonly "product.close": { input: product_closeInput; output: product_closeOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_close_open_activity" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
654
|
+
readonly "product.closure.retrieve": { input: product_closure_retrieveInput; output: product_closure_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
644
655
|
readonly "product.connections.retrieve": { input: product_connections_retrieveInput; output: product_connections_retrieveOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_not_found" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
645
656
|
readonly "product.create": { input: product_createInput; output: product_createOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_not_allowed" | "operation_not_finalized" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
646
|
-
readonly "product.disable": { input: product_disableInput; output: product_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_disable_open_activity" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
657
|
+
readonly "product.disable": { input: product_disableInput; output: product_disableOutput; error: ErrorResponse & { readonly error: { readonly code: "account_ledger_unprovisioned" | "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_disable_open_activity" | "product_lifecycle_status_forbidden" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
647
658
|
readonly "product.earn.rate.list": { input: product_earn_rate_listInput; output: product_earn_rate_listOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
648
659
|
readonly "product.earn.rate.set": { input: product_earn_rate_setInput; output: product_earn_rate_setOutput; error: ErrorResponse & { readonly error: { readonly code: "csrf_token_invalid" | "earn_rate_operation_not_earnable" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "internal_error" | "invalid_credentials" | "invalid_request" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|
|
649
660
|
readonly "product.earnings.settle": { input: product_earnings_settleInput; output: product_earnings_settleOutput; error: ErrorResponse & { readonly error: { readonly code: "cross_tenant_transfer_forbidden" | "csrf_token_invalid" | "currency_mismatch" | "economic_snapshot_unstable" | "idempotency_conflict" | "idempotency_required" | "instrument_instance_not_found" | "insufficient_balance" | "internal_error" | "invalid_credentials" | "invalid_request" | "ledger_transfer_rejected" | "ledger_unavailable" | "missing_required_permission" | "missing_required_product_capability" | "missing_required_scope" | "not_found" | "operation_environment_invalid" | "operation_not_allowed" | "operation_not_finalized" | "product_access_suspended" | "product_activation_required" | "product_context_forbidden" | "product_context_mismatch" | "product_context_owner_mismatch" | "product_context_required" | "product_not_found" | "product_scope_required" | "product_scope_unsupported" | "product_status_forbidden" | "rate_limited" | "request_body_too_large" | "resource_not_found" | "resource_reader_unavailable" | "session_expired" | "session_required" | "session_revoked" | "state_conflict" | "state_constraint_failed" | "subject_adapter_unbound" | "subject_evidence_stale" | "subject_field_unknown" | "subject_party_unbound" | "subject_requirement_missing" | "system_principal_required" | "tenant_mismatch" | "tenant_not_found" | "unauthorized" | "validation_failed" } } };
|