@archastro/sdk 0.17.0 → 0.18.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/dist/types/common.d.ts
CHANGED
|
@@ -7280,6 +7280,8 @@ export interface CurrentUser {
|
|
|
7280
7280
|
notification_settings: Record<string, unknown>;
|
|
7281
7281
|
/** ID of the current organization (`org_...`). */
|
|
7282
7282
|
org?: string | null | undefined;
|
|
7283
|
+
/** Whether the current organization is company-domain or person-owned. */
|
|
7284
|
+
org_kind?: "company" | "personal" | null | undefined;
|
|
7283
7285
|
/** Display name of the current organization. */
|
|
7284
7286
|
org_name?: string | null | undefined;
|
|
7285
7287
|
/** The authenticated user's role in the current organization. */
|
|
@@ -7381,6 +7383,8 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7381
7383
|
notification_settings: z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>;
|
|
7382
7384
|
/** ID of the current organization (`org_...`). */
|
|
7383
7385
|
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7386
|
+
/** Whether the current organization is company-domain or person-owned. */
|
|
7387
|
+
org_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<["company", "personal"]>>>;
|
|
7384
7388
|
/** Display name of the current organization. */
|
|
7385
7389
|
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7386
7390
|
/** The authenticated user's role in the current organization. */
|
|
@@ -7458,6 +7462,7 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7458
7462
|
value?: boolean | null | undefined;
|
|
7459
7463
|
}[];
|
|
7460
7464
|
} | undefined;
|
|
7465
|
+
org_kind?: "personal" | "company" | null | undefined;
|
|
7461
7466
|
}, {
|
|
7462
7467
|
id: string;
|
|
7463
7468
|
is_system_user: boolean;
|
|
@@ -7497,6 +7502,7 @@ export declare const currentUserSchema: z.ZodObject<{
|
|
|
7497
7502
|
value?: boolean | null | undefined;
|
|
7498
7503
|
}[];
|
|
7499
7504
|
} | undefined;
|
|
7505
|
+
org_kind?: "personal" | "company" | null | undefined;
|
|
7500
7506
|
}>;
|
|
7501
7507
|
/** A custom object belonging to an organization. Custom objects store arbitrary structured data defined by a schema type and are scoped to an org, team, or user. */
|
|
7502
7508
|
export interface CustomObject {
|