@hyperscale0/sdk 1.0.392 → 1.0.394

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- `@hyperscale0/sdk` ships as `1.0.N` with Hyperscale release rN, so `1.0.341` is the client for r341. Install `@latest` or pin `^1.0.0`. The `3.x` and `4.x` versions on npm are an old numbering, deprecated, and older than every `1.0.N`.
3
+ `@hyperscale0/sdk` ships as `1.0.N` with Hyperscale release rN, so `1.0.341` is the client for r341. Install `@latest` or pin `^1.0.0`. The `3.x` and `4.x` versions on npm are an earlier numbering, older than every `1.0.N`.
4
4
 
5
5
  Newest first. A release that changed nothing the SDK sees has no entry.
6
6
 
@@ -15,6 +15,8 @@ Newest first. A release that changed nothing the SDK sees has no entry.
15
15
  ### Changed
16
16
 
17
17
  - `bank_statement` joined the `resourceKind` union: `activity.list` takes it as a filter and `activity.retrieve` can answer with it. An exhaustive switch over `resourceKind` needs the new case.
18
+ - `catalog.pricing.retrieve` takes no input: `catalog_pricing_retrieveInput` is `Record<string, never>`, and a call that passes `tenantId` no longer compiles.
19
+ - `company.close.retrieve` answers one document shape: `company_close_retrieveOutput.document` is `hyperscale.company_close.v2` with `vatReturn` and `journal` always set. Code that narrows on `hyperscale.company_close.v1` no longer compiles.
18
20
 
19
21
  ## 1.0.364
20
22
 
package/README.md CHANGED
@@ -116,7 +116,7 @@ Set `environment: "live"` for live money; the default is sandbox.
116
116
 
117
117
  ## Versions
118
118
 
119
- The SDK ships as `1.0.N` with Hyperscale release rN. `CHANGELOG.md`, in the package, lists what each version added, changed and removed. The `3.x` and `4.x` versions on npm are deprecated and older than every `1.0.N`, so pin `^1.0.0`.
119
+ The SDK ships as `1.0.N` with Hyperscale release rN. `CHANGELOG.md`, in the package, lists what each version added, changed and removed. The `3.x` and `4.x` versions on npm are older than every `1.0.N`, so pin `^1.0.0`.
120
120
 
121
121
  Security: https://hyperscale0.ai/security
122
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperscale0/sdk",
3
- "version": "1.0.392",
3
+ "version": "1.0.394",
4
4
  "description": "JavaScript client and TypeScript types for the Hyperscale Product API.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "497269da2f6fc4553de1f8a15d93a1c084960c05"
29
+ "gitHead": "2be5eebcc3982448b3e5ff167477b4a2f8ac00d0"
30
30
  }
package/platform.d.ts CHANGED
@@ -54,9 +54,9 @@ type activity_retrieveOutput_HyperscaleRefusalTrace = { readonly "gate": "reques
54
54
  type activity_retrieveOutput_HyperscaleRefusalRemedy = { readonly "kind": "call" | "change_request" | "retry" | "needs_human" | "none"; readonly "operation"?: string; readonly "fields"?: ReadonlyArray<string>; readonly "who"?: "owner" | "approver" | "staff" | "customer"; readonly "values"?: { readonly [key: string]: string | number | boolean | null }; };
55
55
  type activity_retrieveOutput_ActionTrace = { readonly "udl": number; readonly "buildDigest": string; readonly "productBuildId": string; readonly "currency": string; readonly "origin": ({ readonly "line": number; readonly "column": number; } | null); readonly "invocations": ReadonlyArray<{ readonly "instrument": string; readonly "action": string; readonly "path": string; readonly "invocation": number; readonly "instanceId": string; readonly "at": string; readonly "productRevision"?: string; readonly "requirements": ReadonlyArray<{ readonly "index": number; readonly "kind": "compare" | "hours" | "state" | "unique" | "aggregate" | "evidence"; readonly "path": string; readonly "holds": boolean; readonly "type"?: string; readonly "left"?: (string | number | boolean | ReadonlyArray<string>); readonly "right"?: (string | number | boolean | ReadonlyArray<string>); readonly "withheld"?: true; }>; readonly "set": { readonly [key: string]: ((string | number | boolean | ReadonlyArray<string>) | null) }; readonly "setWithheld"?: ReadonlyArray<string>; readonly "moves": ReadonlyArray<{ readonly "key": string; readonly "index": number; readonly "operation": "internal_transfer.create" | "internal_transfer.reserve" | "internal_transfer.post" | "internal_transfer.void"; readonly "amount"?: string; readonly "from"?: string; readonly "to"?: string; readonly "transferId"?: string; readonly "status": "posted" | "reserved" | "released" | "voided" | "not_run"; }>; readonly "transition": ({ readonly "from": string; readonly "to": string; } | null); readonly "clocks"?: { readonly "due"?: string; readonly "deadline"?: string; }; }>; readonly "trace_truncated"?: true; };
56
56
  export type audit_event_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; };
57
- export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest"?: string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
57
+ export type audit_event_listOutput = { readonly "items": ReadonlyArray<{ readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest": string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
58
58
  export type audit_event_retrieveInput = { readonly "productId"?: string; readonly "auditEventId": string; };
59
- export type audit_event_retrieveOutput = { readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest"?: string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; };
59
+ export type audit_event_retrieveOutput = { readonly "auditEventId": string; readonly "tenantId": string; readonly "title"?: string; readonly "actorName"?: string; readonly "productName"?: string; readonly "event"?: string; readonly "principalId"?: string; readonly "userId"?: string; readonly "operationId"?: string; readonly "requestId"?: string; readonly "resourceKind"?: string; readonly "resourceId"?: string; readonly "digest": string; readonly "prevDigest"?: string; readonly "chainVersion": string; readonly "createdAt"?: string; };
60
60
  export type consent_listInput = { readonly "productId"?: string; readonly "limit"?: number; readonly "cursor"?: string; readonly "query"?: string; readonly "createdFrom"?: string; readonly "createdTo"?: string; readonly "customerId"?: string; readonly "status"?: "active" | "expired" | "revoked"; };
61
61
  export type consent_listOutput = { readonly "items": ReadonlyArray<{ readonly "consentId": string; readonly "tenantId": string; readonly "productId"?: string; readonly "customerId"?: string; readonly "subjectId"?: string; readonly "subjectKind"?: string; readonly "status"?: "active" | "expired" | "revoked"; readonly "version"?: string; readonly "expiresAt"?: string; readonly "createdAt"?: string; }>; readonly "nextCursor"?: string; readonly "statusCounts"?: { readonly [key: string]: number }; };
62
62
  export type consent_retrieveInput = { readonly "productId"?: string; readonly "consentId": string; };