@tearleads/client-sdk 0.1.92 → 0.1.94
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/client/root/index.d.ts +6 -2
- package/client/root/index.js +3 -1
- package/client/root/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/internal/api-client/ApiClient.d.ts +4 -2
- package/internal/api-client/ApiClient.js +7 -1
- package/internal/api-client/ApiClient.js.map +1 -1
- package/internal/validators/operation/index.d.ts +2 -0
- package/internal/validators/operation/index.js +2 -0
- package/internal/validators/operation/index.js.map +1 -1
- package/internal/validators/operation/registry.d.ts +4 -0
- package/internal/validators/operation/registry.js +4 -0
- package/internal/validators/operation/registry.js.map +1 -1
- package/internal/validators/operation/rootAudit.d.ts +189 -0
- package/internal/validators/operation/rootAudit.js +28 -0
- package/internal/validators/operation/rootAudit.js.map +1 -0
- package/internal/validators/operation/rootOpsHealth.d.ts +287 -0
- package/internal/validators/operation/rootOpsHealth.js +18 -0
- package/internal/validators/operation/rootOpsHealth.js.map +1 -0
- package/internal/validators/response/index.d.ts +2 -0
- package/internal/validators/response/index.js +2 -0
- package/internal/validators/response/index.js.map +1 -1
- package/internal/validators/response/rootAudit.d.ts +106 -0
- package/internal/validators/response/rootAudit.js +53 -0
- package/internal/validators/response/rootAudit.js.map +1 -0
- package/internal/validators/response/rootOpsHealth.d.ts +224 -0
- package/internal/validators/response/rootOpsHealth.js +79 -0
- package/internal/validators/response/rootOpsHealth.js.map +1 -0
- package/package.json +1 -1
- package/workflows/root/audit.d.ts +21 -0
- package/workflows/root/audit.js +5 -0
- package/workflows/root/audit.js.map +1 -0
- package/workflows/root/index.d.ts +2 -0
- package/workflows/root/index.js +2 -0
- package/workflows/root/index.js.map +1 -1
- package/workflows/root/opsHealth.d.ts +9 -0
- package/workflows/root/opsHealth.js +5 -0
- package/workflows/root/opsHealth.js.map +1 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { listRootAuditEvents, type RootAuditApi, type RootAuditEvent, type RootAuditEventsPage, type RootAuditEventsQueryInput, } from "./audit.js";
|
|
1
2
|
export { listRootDataUsageReport, loadRootOrganizationDataUsage, type RootDataUsageApi, type RootDataUsageReportPage, } from "./dataUsage.js";
|
|
2
3
|
export { listRootIdentities, listRootIdentityOrganizations, loadRootIdentity, type RootIdentitiesApi, type RootIdentitiesPage, type RootIdentitiesQueryInput, type RootIdentity, type RootIdentityDetail, type RootIdentityOrganization, type RootIdentitySession, type RootRequestOutcome, } from "./identities.js";
|
|
4
|
+
export { loadRootOpsHealthReport, type RootOpsHealthApi, type RootOpsHealthReport, } from "./opsHealth.js";
|
|
3
5
|
export { listRootOrganizationIdentities, listRootOrganizations, loadRootOrganization, type RootOrganization, type RootOrganizationDetail, type RootOrganizationIdentitiesPage, type RootOrganizationIdentity, type RootOrganizationPageQueryInput, type RootOrganizationsApi, type RootOrganizationsPage, type RootOrganizationsQueryInput, } from "./organizations.js";
|
package/workflows/root/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export { listRootAuditEvents, } from "./audit.js";
|
|
1
2
|
export { listRootDataUsageReport, loadRootOrganizationDataUsage, } from "./dataUsage.js";
|
|
2
3
|
export { listRootIdentities, listRootIdentityOrganizations, loadRootIdentity, } from "./identities.js";
|
|
4
|
+
export { loadRootOpsHealthReport, } from "./opsHealth.js";
|
|
3
5
|
export { listRootOrganizationIdentities, listRootOrganizations, loadRootOrganization, } from "./organizations.js";
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,6BAA6B,GAG9B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,gBAAgB,GASjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oBAAoB,GASrB,MAAM,iBAAiB,CAAC","sourcesContent":["export {\n listRootDataUsageReport,\n loadRootOrganizationDataUsage,\n type RootDataUsageApi,\n type RootDataUsageReportPage,\n} from \"./dataUsage\";\nexport {\n listRootIdentities,\n listRootIdentityOrganizations,\n loadRootIdentity,\n type RootIdentitiesApi,\n type RootIdentitiesPage,\n type RootIdentitiesQueryInput,\n type RootIdentity,\n type RootIdentityDetail,\n type RootIdentityOrganization,\n type RootIdentitySession,\n type RootRequestOutcome,\n} from \"./identities\";\nexport {\n listRootOrganizationIdentities,\n listRootOrganizations,\n loadRootOrganization,\n type RootOrganization,\n type RootOrganizationDetail,\n type RootOrganizationIdentitiesPage,\n type RootOrganizationIdentity,\n type RootOrganizationPageQueryInput,\n type RootOrganizationsApi,\n type RootOrganizationsPage,\n type RootOrganizationsQueryInput,\n} from \"./organizations\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAKpB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,uBAAuB,EACvB,6BAA6B,GAG9B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,gBAAgB,GASjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,uBAAuB,GAGxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oBAAoB,GASrB,MAAM,iBAAiB,CAAC","sourcesContent":["export {\n listRootAuditEvents,\n type RootAuditApi,\n type RootAuditEvent,\n type RootAuditEventsPage,\n type RootAuditEventsQueryInput,\n} from \"./audit\";\nexport {\n listRootDataUsageReport,\n loadRootOrganizationDataUsage,\n type RootDataUsageApi,\n type RootDataUsageReportPage,\n} from \"./dataUsage\";\nexport {\n listRootIdentities,\n listRootIdentityOrganizations,\n loadRootIdentity,\n type RootIdentitiesApi,\n type RootIdentitiesPage,\n type RootIdentitiesQueryInput,\n type RootIdentity,\n type RootIdentityDetail,\n type RootIdentityOrganization,\n type RootIdentitySession,\n type RootRequestOutcome,\n} from \"./identities\";\nexport {\n loadRootOpsHealthReport,\n type RootOpsHealthApi,\n type RootOpsHealthReport,\n} from \"./opsHealth\";\nexport {\n listRootOrganizationIdentities,\n listRootOrganizations,\n loadRootOrganization,\n type RootOrganization,\n type RootOrganizationDetail,\n type RootOrganizationIdentitiesPage,\n type RootOrganizationIdentity,\n type RootOrganizationPageQueryInput,\n type RootOrganizationsApi,\n type RootOrganizationsPage,\n type RootOrganizationsQueryInput,\n} from \"./organizations\";\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RequestResult } from "../../internal/api-client/index.js";
|
|
2
|
+
import type { RootOpsHealthReportResponse } from "../../internal/validators/response/index.js";
|
|
3
|
+
import { type RootRequestOutcome } from "./identities.js";
|
|
4
|
+
/** Cross-organization billing maintenance health (wire shape). */
|
|
5
|
+
export type RootOpsHealthReport = RootOpsHealthReportResponse;
|
|
6
|
+
export interface RootOpsHealthApi {
|
|
7
|
+
getRootOpsHealthReportResult(): Promise<RequestResult<RootOpsHealthReportResponse>>;
|
|
8
|
+
}
|
|
9
|
+
export declare function loadRootOpsHealthReport(api: RootOpsHealthApi): Promise<RootRequestOutcome<RootOpsHealthReport>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opsHealth.js","sourceRoot":"","sources":["opsHealth.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,SAAS,EAAE,MAAM,cAAc,CAAC;AAWlE,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,GAAqB;IAErB,OAAO,SAAS,CAAC,MAAM,GAAG,CAAC,4BAA4B,EAAE,CAAC,CAAC;AAC7D,CAAC","sourcesContent":["import type { RequestResult } from \"@tearleads/api-client\";\nimport type { RootOpsHealthReportResponse } from \"@tearleads/validators/response\";\nimport { type RootRequestOutcome, toOutcome } from \"./identities\";\n\n/** Cross-organization billing maintenance health (wire shape). */\nexport type RootOpsHealthReport = RootOpsHealthReportResponse;\n\nexport interface RootOpsHealthApi {\n getRootOpsHealthReportResult(): Promise<\n RequestResult<RootOpsHealthReportResponse>\n >;\n}\n\nexport async function loadRootOpsHealthReport(\n api: RootOpsHealthApi,\n): Promise<RootRequestOutcome<RootOpsHealthReport>> {\n return toOutcome(await api.getRootOpsHealthReportResult());\n}\n"]}
|