@zinn-digital/sdk 0.1.1804 → 0.1.1805
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 -3
- package/package.json +1 -1
|
@@ -10518,7 +10518,7 @@ export interface paths {
|
|
|
10518
10518
|
};
|
|
10519
10519
|
/**
|
|
10520
10520
|
* Every organization, staff ones included (staff).
|
|
10521
|
-
* @description The directory the merge screen picks from. Unlike `GET /v1/admin/customers` this does **not** filter to customer org types — the platform's own `staff` org is the commonest merge destination, and a directory that hid it would be missing the one entry an operator needs. Requires staff + `org.merge`.
|
|
10521
|
+
* @description The directory the merge screen picks from. Unlike `GET /v1/admin/customers` this does **not** filter to customer org types — the platform's own `staff` org is the commonest merge destination, and a directory that hid it would be missing the one entry an operator needs. Requires staff + `org.merge`. Cursor-paginated (keyset): follow `page.next_cursor` until `has_more` is false and every organization is reachable. It was capped at 500 rows with no cursor until ADMINORGS1114 (2026-11-14), so an organization past row 500 looked like one that did not exist.
|
|
10522
10522
|
*/
|
|
10523
10523
|
get: operations["listAdminOrgs"];
|
|
10524
10524
|
put?: never;
|
|
@@ -127989,7 +127989,7 @@ export interface operations {
|
|
|
127989
127989
|
include_internal?: boolean;
|
|
127990
127990
|
/** @description Maximum items to return (page size). */
|
|
127991
127991
|
limit?: components["parameters"]["Limit"];
|
|
127992
|
-
/** @description Case-insensitive substring over org name
|
|
127992
|
+
/** @description Case-insensitive substring over the org name and the owner's email and name. It does NOT match the org id: fetch one org by id with `GET /v1/admin/customers/{orgId}`. */
|
|
127993
127993
|
search?: string;
|
|
127994
127994
|
/** @description Only customers in this state. `paying` = settled an order and holds something live (plan, domain, site or server); `trial` = on a live trial, never paid; `never_bought` = signed up, never settled an order; `lapsed` = paid once, holds nothing live; `closed` = account closed (the only way to list those). */
|
|
127995
127995
|
state?: "paying" | "trial" | "never_bought" | "lapsed" | "closed";
|
|
@@ -138034,6 +138034,12 @@ export interface operations {
|
|
|
138034
138034
|
listAdminOrgs: {
|
|
138035
138035
|
parameters: {
|
|
138036
138036
|
query?: {
|
|
138037
|
+
/** @description Opaque cursor from a previous page's `page.next_cursor`. */
|
|
138038
|
+
cursor?: components["parameters"]["Cursor"];
|
|
138039
|
+
/** @description Maximum items to return (page size). */
|
|
138040
|
+
limit?: components["parameters"]["Limit"];
|
|
138041
|
+
/** @description Sort key, optionally `-`-prefixed for descending. Defaults to `-created` (newest first). The cursor carries the sort position, so paging a sorted list is exact; a cursor from one ordering is refused in another. An unrecognised key is a 422, never a silent fall back. */
|
|
138042
|
+
ordering?: "created" | "-created" | "name" | "-name";
|
|
138037
138043
|
/** @description Case-insensitive match on the organization name. */
|
|
138038
138044
|
search?: string;
|
|
138039
138045
|
};
|
|
@@ -138043,7 +138049,7 @@ export interface operations {
|
|
|
138043
138049
|
};
|
|
138044
138050
|
requestBody?: never;
|
|
138045
138051
|
responses: {
|
|
138046
|
-
/** @description
|
|
138052
|
+
/** @description A page of organizations. */
|
|
138047
138053
|
200: {
|
|
138048
138054
|
headers: {
|
|
138049
138055
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
@@ -138052,11 +138058,13 @@ export interface operations {
|
|
|
138052
138058
|
content: {
|
|
138053
138059
|
"application/json": {
|
|
138054
138060
|
data: components["schemas"]["AdminOrgSummary"][];
|
|
138061
|
+
page: components["schemas"]["PageMeta"];
|
|
138055
138062
|
};
|
|
138056
138063
|
};
|
|
138057
138064
|
};
|
|
138058
138065
|
401: components["responses"]["Unauthorized"];
|
|
138059
138066
|
403: components["responses"]["Forbidden"];
|
|
138067
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
138060
138068
|
429: components["responses"]["TooManyRequests"];
|
|
138061
138069
|
};
|
|
138062
138070
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1805",
|
|
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>",
|