@zinn-digital/sdk 0.1.1515 → 0.1.1516
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/dist/generated/schema.d.ts +11 -0
- package/package.json +1 -1
|
@@ -78848,6 +78848,8 @@ export interface components {
|
|
|
78848
78848
|
required_permissions: string[];
|
|
78849
78849
|
/** @description **Alternative** credential forms — render the first and offer the rest. Cloudflare is the live case: a scoped API token, or the account email plus its Global API Key. */
|
|
78850
78850
|
shapes: components["schemas"]["CredentialField"][][];
|
|
78851
|
+
/** @description The connection targets the customer may pick, default first; `[]` when there is nothing to pick. Cloudflare serves `[cdn, pages]`: `pages` connects the account only to host sites on Cloudflare Pages, so it is judged on `pages_edit` alone and no zone is touched. Send the pick as `ConnectTokenRequest.target`. */
|
|
78852
|
+
targets?: ("cdn" | "pages")[];
|
|
78851
78853
|
vendor: string;
|
|
78852
78854
|
};
|
|
78853
78855
|
ConnectionProviderList: {
|
|
@@ -78913,6 +78915,11 @@ export interface components {
|
|
|
78913
78915
|
credentials?: {
|
|
78914
78916
|
[key: string]: string;
|
|
78915
78917
|
};
|
|
78918
|
+
/**
|
|
78919
|
+
* @description What the credential is connected FOR. Only Cloudflare offers a narrower target: `pages` = host sites on Cloudflare Pages only. The credential is then judged on Cloudflare Pages access alone (`pages_edit`), no zone is listed or written, and `credentials.account_id` is required. Omitted (or `cdn`) = the provider's full check. Cannot be combined with `also_dns`. Other providers ignore it.
|
|
78920
|
+
* @enum {string}
|
|
78921
|
+
*/
|
|
78922
|
+
target?: "cdn" | "pages";
|
|
78916
78923
|
/** @description The provider access token, for the providers whose credential is a single string. Written to Vault, never to a database row, a log line, an audit entry or an error message (CLAUDE.md §2.4). */
|
|
78917
78924
|
token?: string;
|
|
78918
78925
|
/** @description Check the credential and return the result without storing anything. */
|
|
@@ -93564,6 +93571,10 @@ export interface components {
|
|
|
93564
93571
|
detail: string;
|
|
93565
93572
|
/** @description Required permissions the provider **proved** are absent. Not the unknowns. */
|
|
93566
93573
|
missing: string[];
|
|
93574
|
+
/** @description The permission keys this target requires, in catalogue order. Every other row is optional for this connection. */
|
|
93575
|
+
required?: string[];
|
|
93576
|
+
/** @description The connection target this report was judged for (`""` = the provider default, `pages` = Cloudflare Pages only). A retest re-judges for the same target. */
|
|
93577
|
+
target?: string;
|
|
93567
93578
|
/** @description Permissions we could not determine either way. The honest amber set. */
|
|
93568
93579
|
unverified: string[];
|
|
93569
93580
|
/** @description Whether we may store and use this credential: alive, with no **proved** absence of anything required. ⛔ Deliberately not "every row passed" — a brand-new account with no zone on it yet has unknowable zone-scoped rows, and blocking on those would make the very first connection impossible. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1516",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|