@zinn-digital/sdk 0.1.1360 → 0.1.1362

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.
@@ -97567,6 +97567,30 @@ export interface components {
97567
97567
  /** @enum {string} */
97568
97568
  xmlrpc?: "limited" | "blocked";
97569
97569
  };
97570
+ /** @description `SiteFormSubmission` as `multipart/form-data`. Each part is ONE string; a question with several answers (e.g. checkboxes) is that part repeated under the same name, which the engine reads as a list exactly as it does a repeated urlencoded key. ⛔ Kept a plain string on purpose: openapi-python-client 0.29.1 emits unparseable Python for a multipart body whose `additionalProperties` is a `oneOf` or an `array` (the zinn-sdk release failed on it, D60130); `scripts/sdk-release.py --check-spec` refuses that shape. */
97571
+ SiteFormParts: {
97572
+ /** @description Same-site path after a refusal. */
97573
+ _back?: string;
97574
+ /**
97575
+ * Format: email
97576
+ * @description The visitor's address — the Reply-To.
97577
+ */
97578
+ _email: string;
97579
+ /** @description Shown in the e-mail subject. */
97580
+ _form?: string;
97581
+ /** @description Language of the two e-mails. */
97582
+ _locale?: string;
97583
+ _name?: string;
97584
+ /** @description Same-site path after success. */
97585
+ _next?: string;
97586
+ /** @description Local part of the site's mailbox, e.g. `coach`. */
97587
+ _to: string;
97588
+ /** @description Honeypot — leave empty. */
97589
+ _website?: string;
97590
+ "cf-turnstile-response"?: string;
97591
+ } & {
97592
+ [key: string]: string;
97593
+ };
97570
97594
  SiteFormResult: {
97571
97595
  /** @enum {string} */
97572
97596
  reason?: "origin" | "recipient" | "invalid" | "email" | "not_enabled" | "verification" | "rate" | "unavailable";
@@ -176949,7 +176973,7 @@ export interface operations {
176949
176973
  content: {
176950
176974
  "application/json": components["schemas"]["SiteFormSubmission"];
176951
176975
  "application/x-www-form-urlencoded": components["schemas"]["SiteFormSubmission"];
176952
- "multipart/form-data": components["schemas"]["SiteFormSubmission"];
176976
+ "multipart/form-data": components["schemas"]["SiteFormParts"];
176953
176977
  };
176954
176978
  };
176955
176979
  responses: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1360",
3
+ "version": "0.1.1362",
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>",