You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d05bcc3
Browse filesBrowse the repository at this point in the historyBrowse files
Sync with the Square Cloud API contract changes from the last 3 months.
6
+
7
+
**Breaking**
8
+
9
+
-`RESTPostAPIApplicationUploadResult`: `lang` replaced by `language: { name, version }`; added required `cpu` and optional `description`/`subdomain`.
10
+
-`APINetworkAnalytics`: new required breakdowns `ips`, `status_codes`, `bots` and `content_types`, typed as whole-window `APINetworkAnalyticsTotalBucket` buckets.
11
+
-`APINetworkDNS` is now an array of `APINetworkDNSRecord` (`{ type: "txt" | "cname", name, value, status }`); the previous `ownership`/`ssl` object shape no longer exists in the API.
12
+
-`APIApplication` gained the required nullable `domain` and `custom` fields; `APIWebsiteApplication` now only narrows `domain` to `string`.
13
+
-`APIListedFile.lastModified` is a Unix timestamp in milliseconds (`number`) instead of an ISO string.
14
+
-`RESTGetAPIFilesListQuery.path` is optional (the API defaults it to `/`).
-`RESTGetAPINetworkAnalyticsQuery`: 11 optional drill-down filters (`country`, `ip`, `path`, `status`, `os`, `browser`, `protocol`, `referer`, `provider`, `content_type`, `bot`) applied to every breakdown at once.
21
+
-`APIErrorCode`: constant and union of the standardized error codes (`INVALID_X` / `X_FAILED` / `X_NOT_FOUND` / `X_LIMIT_REACHED`), including `DAILY_SNAPSHOTS_LIMIT_REACHED`, `UPLOAD_ABORTED`, `LOAD_BALANCER_LIMIT_REACHED` and `UPGRADE_REQUIRED`. Pre-standardization names remain available as `@deprecated` aliases resolving to the canonical values, so existing comparisons keep working.
22
+
-`APIApplicationStatus`/`APIDatabaseStatus`: optional `Raw` type parameter mirroring the `?rawData=true` response variant (raw numbers/arrays instead of formatted strings), plus `RESTGetAPIApplicationStatusQuery`.
23
+
-`RESTPostAPIApplicationCommitQuery`: optional `path` destination directory for commits.
24
+
-`ApplicationLanguage`: added `ruby`.
25
+
26
+
**Docs**
27
+
28
+
- JSDoc now documents current rate limits and behavior: logs, snapshots (per-plan daily quota and 30-minute listing cache), realtime SSE connection limits and TTL, custom-domain daily change limit, single-use workspace invite codes, `413 FILE_TOO_LARGE` on large file reads, and the expanded locale list (incl. `it-IT`).
0 commit comments