@zinn-digital/sdk 0.1.1890 → 0.1.1893

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.
@@ -63743,6 +63743,8 @@ export interface components {
63743
63743
  /** @enum {string} */
63744
63744
  state: "pending" | "queued" | "installing" | "active" | "failed" | "released";
63745
63745
  } | null;
63746
+ /** @description CLOUDFIX car 2b — why staff gave this server away; null on a bought server. */
63747
+ comp_reason?: string | null;
63746
63748
  deploy_target: string;
63747
63749
  id: components["schemas"]["Uuid"];
63748
63750
  /**
@@ -63756,6 +63758,11 @@ export interface components {
63756
63758
  power_state: string;
63757
63759
  /** @description Our provider id for the machine, as stored on the row. List only. With `vendor_server_id` it names the machine at the supplier — the brand does not: "Zinn® Cloud" and "Zinn® Private Cloud" are two suppliers. */
63758
63760
  provider?: string;
63761
+ /**
63762
+ * Format: date
63763
+ * @description CLOUDFIX car 2b — the day staff look at this free server again; null on a bought server.
63764
+ */
63765
+ review_on?: string | null;
63759
63766
  status: string;
63760
63767
  suspended: boolean;
63761
63768
  suspension_reason: string;
@@ -64060,8 +64067,13 @@ export interface components {
64060
64067
  plan_code?: string;
64061
64068
  /** @description Which platform to place it on. Omitted, the engine resolves the range's default — ⛔ **except on a range priced per data centre** (`ComputeTier.zoned`), where omitting it is refused `422`: every platform there is one data centre with its own price, so "the default" would be picking a price on the customer's behalf. */
64062
64069
  provider?: string;
64063
- /** @description Why staff place this order (for example: complimentary account). Stored in the audit row. */
64070
+ /** @description Why staff place this order (for example: complimentary account). Stored in the audit row and, as `comp_reason`, on the server row (staff-only; never in the customer's view). */
64064
64071
  reason: string;
64072
+ /**
64073
+ * Format: date
64074
+ * @description The day staff look at this free server again: after today and at most 366 days out. Absent means 30 days from today. Stored on the server row; the admin server list's `comp=due` filter returns every free server whose day has come.
64075
+ */
64076
+ review_on?: string;
64065
64077
  /** @description The machine size, as the configurator reported it. ⭐ **Either this or `plan_code`, not both** — and where the provider publishes no sizes the two collapse into one, because the configurator's size ids are our plan codes. */
64066
64078
  spec?: string;
64067
64079
  /**
@@ -65502,6 +65514,8 @@ export interface components {
65502
65514
  AdminOrderPayment: components["schemas"]["Payment"] & {
65503
65515
  /** @description The payments driver that took the attempt. */
65504
65516
  provider: string;
65517
+ /** @description Staff only (P1-024): WHO refused a failed attempt. `bank:<code>` (the card's bank or PayPal's funding source), `payer:<code>` (crypto), `our_rule:postcode` / `our_rule` (one of OUR risk rules stopped it before the bank saw it), `our_error` (our request, account or the gateway) or `unknown`. Empty when it did not fail or predates the field. Never on the customer's `Payment`. */
65518
+ refused_by?: string;
65505
65519
  };
65506
65520
  /** @description One order as the staff order list shows it (#7255). */
65507
65521
  AdminOrderSummary: {
@@ -121779,6 +121793,8 @@ export interface components {
121779
121793
  managed_daily_quota_ses: number;
121780
121794
  /** @description Managed delivery: e-mails our Telnyx ACCOUNT may send per UTC day across every organisation (1,000 on a new account; a granted rise is an edit). */
121781
121795
  managed_daily_quota_telnyx: number;
121796
+ /** @description Zinn® managed delivery (F47) open to every organisation Campaigns is open to; off = pilot organisations only. */
121797
+ managed_delivery_enabled: boolean;
121782
121798
  pause_min_sample: number;
121783
121799
  pilot_org_ids: string[];
121784
121800
  review_approved_org_ids: string[];
@@ -128624,6 +128640,8 @@ export interface operations {
128624
128640
  listAdminComputeServers: {
128625
128641
  parameters: {
128626
128642
  query?: {
128643
+ /** @description CLOUDFIX car 2b: `comped` returns the servers staff gave away (they carry a `review_on`), `due` those whose `review_on` is today or earlier. Anything else is `422 refusal.acquisition.choice`. */
128644
+ comp?: "comped" | "due";
128627
128645
  /** @description Opaque cursor from a previous page's `page.next_cursor`. */
128628
128646
  cursor?: components["parameters"]["Cursor"];
128629
128647
  /** @description Narrow to one compute range by its deploy-target token. */
@@ -148486,6 +148504,8 @@ export interface operations {
148486
148504
  managed_daily_quota_ses?: number;
148487
148505
  /** @description Our Telnyx account's managed sends per UTC day (refusal `managedQuotaInvalid` outside 0..10,000,000). */
148488
148506
  managed_daily_quota_telnyx?: number;
148507
+ /** @description Zinn® managed delivery (F47) for every organisation Campaigns is open to. Off: only pilot organisations are offered a managed sender (refusal `managedNotOpen`). */
148508
+ managed_delivery_enabled?: boolean;
148489
148509
  pilot_org_ids?: string[];
148490
148510
  /** @description Organisations staff approved to send more e-mail in a month than the review line (`review_monthly_emails`). */
148491
148511
  review_approved_org_ids?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1890",
3
+ "version": "0.1.1893",
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>",