@chainpatrol/sdk 1.0.0 → 1.1.0
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/CHANGELOG.md +11 -0
- package/dist/api/index.d.mts +9 -1
- package/dist/api/index.d.ts +9 -1
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7009,6 +7009,11 @@ var SubscriptionStatus = {
|
|
|
7009
7009
|
INTEGRATION: "INTEGRATION",
|
|
7010
7010
|
INACTIVE: "INACTIVE"
|
|
7011
7011
|
};
|
|
7012
|
+
var OrganizationPortalVisibility = {
|
|
7013
|
+
PUBLIC: "PUBLIC",
|
|
7014
|
+
PRIVATE: "PRIVATE",
|
|
7015
|
+
DISABLED: "DISABLED"
|
|
7016
|
+
};
|
|
7012
7017
|
var AssetType = {
|
|
7013
7018
|
URL: "URL",
|
|
7014
7019
|
PAGE: "PAGE",
|
|
@@ -8020,6 +8025,9 @@ var UserOrgSchema = z.object({
|
|
|
8020
8025
|
avatarUrl: z.string().nullable(),
|
|
8021
8026
|
contactUrl: z.string().nullable(),
|
|
8022
8027
|
subscriptionStatus: z.nativeEnum(SubscriptionStatus),
|
|
8028
|
+
portalVisibility: z.nativeEnum(OrganizationPortalVisibility).describe(
|
|
8029
|
+
"Visibility of the org's public security portal (chainpatrol.io/<slug>). `PUBLIC` is discoverable; `PRIVATE` renders only the report form (no metrics or listings); `DISABLED` returns a 404."
|
|
8030
|
+
),
|
|
8023
8031
|
services: z.object({
|
|
8024
8032
|
reporting: singleServiceSchema,
|
|
8025
8033
|
reviewing: singleServiceSchema,
|