terse-types 0.15.0 → 0.17.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/ApiRouteBuilder.d.ts +1 -0
- package/dist/ApiRoutes.json +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.js +6 -2
- package/package.json +1 -1
package/dist/ApiRoutes.json
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -15479,6 +15479,7 @@ export declare const organizationCreateRequestSchema: z.ZodObject<{
|
|
|
15479
15479
|
name: z.ZodString;
|
|
15480
15480
|
firstName: z.ZodOptional<z.ZodString>;
|
|
15481
15481
|
lastName: z.ZodOptional<z.ZodString>;
|
|
15482
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
15482
15483
|
}, z.core.$strip>;
|
|
15483
15484
|
export type OrganizationCreateRequest = z.infer<typeof organizationCreateRequestSchema>;
|
|
15484
15485
|
export declare const organizationSwitchRequestSchema: z.ZodObject<{
|
|
@@ -15487,6 +15488,7 @@ export declare const organizationSwitchRequestSchema: z.ZodObject<{
|
|
|
15487
15488
|
export type OrganizationSwitchRequest = z.infer<typeof organizationSwitchRequestSchema>;
|
|
15488
15489
|
export declare const organizationUpdateRequestSchema: z.ZodObject<{
|
|
15489
15490
|
name: z.ZodString;
|
|
15491
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
15490
15492
|
}, z.core.$strip>;
|
|
15491
15493
|
export type OrganizationUpdateRequest = z.infer<typeof organizationUpdateRequestSchema>;
|
|
15492
15494
|
export declare const apiTokenCreateRequestSchema: z.ZodObject<{
|
package/dist/types.js
CHANGED
|
@@ -761,13 +761,17 @@ export const webhookWorkOSTriggerParamsSchema = z.object({
|
|
|
761
761
|
export const organizationCreateRequestSchema = z.object({
|
|
762
762
|
name: z.string(),
|
|
763
763
|
firstName: z.string().optional(),
|
|
764
|
-
lastName: z.string().optional()
|
|
764
|
+
lastName: z.string().optional(),
|
|
765
|
+
// A context.dev logo URL from GET /organizations/suggestion, copied into the new org's logo storage.
|
|
766
|
+
logoUrl: z.string().url().optional()
|
|
765
767
|
});
|
|
766
768
|
export const organizationSwitchRequestSchema = z.object({
|
|
767
769
|
organizationId: z.string()
|
|
768
770
|
});
|
|
769
771
|
export const organizationUpdateRequestSchema = z.object({
|
|
770
|
-
name: z.string()
|
|
772
|
+
name: z.string(),
|
|
773
|
+
// A refreshed context.dev logo URL from GET /organizations/suggestion?refresh=true, copied into the org's logo storage.
|
|
774
|
+
logoUrl: z.string().url().optional()
|
|
771
775
|
});
|
|
772
776
|
export const apiTokenCreateRequestSchema = z.object({
|
|
773
777
|
name: z.string().max(100)
|