@flashbacktech/tsclient 0.4.66 → 0.4.67
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/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -1
- package/dist/index.d.ts +55 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -321,6 +321,20 @@ var OrganizationClient = class {
|
|
|
321
321
|
});
|
|
322
322
|
return unwrapData(res);
|
|
323
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Platform-admin only: one page of the service-wide org summary — per-org
|
|
326
|
+
* user/project/sandbox counts, trailing 7d/30d metered usage, billed-to-
|
|
327
|
+
* balance, lifetime purchases and current credit balance — searchable by
|
|
328
|
+
* name and pageable. Backs the admin Summary screen. Returns 403 unless the
|
|
329
|
+
* caller's home org is the configured ADMIN_ORGANIZATION.
|
|
330
|
+
*/
|
|
331
|
+
async adminOrgSummary(query = {}) {
|
|
332
|
+
const res = await this.http.get(
|
|
333
|
+
"/admin/orgs/summary",
|
|
334
|
+
{ query }
|
|
335
|
+
);
|
|
336
|
+
return unwrapData(res);
|
|
337
|
+
}
|
|
324
338
|
/**
|
|
325
339
|
* Platform-admin only: provision a new organization + founding owner and
|
|
326
340
|
* email the owner an invite link. The invite-only counterpart to public
|