@ogment-ai/cli-contract 0.3.4 → 0.4.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/v1/auth.d.ts +2 -2
- package/dist/v1/auth.js +2 -2
- package/package.json +1 -1
package/dist/v1/auth.d.ts
CHANGED
|
@@ -19,12 +19,12 @@ export declare const oauthClientRegistrationSchema: z.ZodObject<{
|
|
|
19
19
|
client_name: z.ZodString;
|
|
20
20
|
client_secret: z.ZodOptional<z.ZodString>;
|
|
21
21
|
redirect_uris: z.ZodArray<z.ZodString>;
|
|
22
|
-
scope: z.ZodString
|
|
22
|
+
scope: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
23
23
|
}, z.core.$strip>;
|
|
24
24
|
export declare const oauthTokenSchema: z.ZodObject<{
|
|
25
25
|
access_token: z.ZodString;
|
|
26
26
|
expires_in: z.ZodNumber;
|
|
27
|
-
scope: z.ZodString
|
|
27
|
+
scope: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
28
28
|
token_type: z.ZodString;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
export declare const browserAgentCallbackSchema: z.ZodObject<{
|
package/dist/v1/auth.js
CHANGED
|
@@ -20,12 +20,12 @@ export const oauthClientRegistrationSchema = z.object({
|
|
|
20
20
|
client_name: z.string().min(1),
|
|
21
21
|
client_secret: z.string().optional(),
|
|
22
22
|
redirect_uris: z.array(z.string().min(1)),
|
|
23
|
-
scope: z.string().
|
|
23
|
+
scope: z.string().optional().default(""),
|
|
24
24
|
});
|
|
25
25
|
export const oauthTokenSchema = z.object({
|
|
26
26
|
access_token: z.string().min(1),
|
|
27
27
|
expires_in: z.number().int().positive(),
|
|
28
|
-
scope: z.string().
|
|
28
|
+
scope: z.string().optional().default(""),
|
|
29
29
|
token_type: z.string().min(1),
|
|
30
30
|
});
|
|
31
31
|
export const browserAgentCallbackSchema = z.object({
|