vercel-api-js 1.35.0 → 1.35.1

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.
@@ -753,6 +753,7 @@ const connectConnectorCreateDataSchema = z__namespace.union([
753
753
  idToken: z__namespace.array(z__namespace.string()).optional().describe("ID token claim names that Connect can expose.")
754
754
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
755
755
  defaultAudience: z__namespace.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
756
+ defaultResource: z__namespace.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
756
757
  defaultTokenExpiresIn: z__namespace.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
757
758
  authorizationUrlParams: z__namespace.object({}).catchall(z__namespace.string()).optional().describe("Extra query parameters added to authorization URLs."),
758
759
  jwtBearer: z__namespace.strictObject({
@@ -1039,6 +1040,7 @@ const connectConnectorUpdateDataSchema = z__namespace.union([
1039
1040
  idToken: z__namespace.array(z__namespace.string()).optional().describe("ID token claim names that Connect can expose.")
1040
1041
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
1041
1042
  defaultAudience: z__namespace.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
1043
+ defaultResource: z__namespace.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
1042
1044
  defaultTokenExpiresIn: z__namespace.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
1043
1045
  authorizationUrlParams: z__namespace.object({}).catchall(z__namespace.string()).optional().describe("Extra query parameters added to authorization URLs."),
1044
1046
  jwtBearer: z__namespace.strictObject({
@@ -733,6 +733,7 @@ const connectConnectorCreateDataSchema = z.union([
733
733
  idToken: z.array(z.string()).optional().describe("ID token claim names that Connect can expose.")
734
734
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
735
735
  defaultAudience: z.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
736
+ defaultResource: z.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
736
737
  defaultTokenExpiresIn: z.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
737
738
  authorizationUrlParams: z.object({}).catchall(z.string()).optional().describe("Extra query parameters added to authorization URLs."),
738
739
  jwtBearer: z.strictObject({
@@ -1019,6 +1020,7 @@ const connectConnectorUpdateDataSchema = z.union([
1019
1020
  idToken: z.array(z.string()).optional().describe("ID token claim names that Connect can expose.")
1020
1021
  }).optional().describe("Allow-list of extra claims to propagate, keyed by source (idToken). Only claims named here and present in that source are exposed."),
1021
1022
  defaultAudience: z.string().optional().describe("Default audience used when a token request omits one. An empty string clears the default."),
1023
+ defaultResource: z.string().optional().describe("Default RFC 8707 resource sent on authorization and token requests when a token request omits one. An empty string clears the default."),
1022
1024
  defaultTokenExpiresIn: z.number().min(60).optional().describe("Default token lifetime in seconds to use when the token response omits expires_in."),
1023
1025
  authorizationUrlParams: z.object({}).catchall(z.string()).optional().describe("Extra query parameters added to authorization URLs."),
1024
1026
  jwtBearer: z.strictObject({
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-pmqcawul.cjs');
3
+ var schemas = require('./schemas-acb6ujvq.cjs');
4
4
 
5
5
 
6
6
 
@@ -531,6 +531,7 @@ declare const connectConnectorCreateDataSchema: z.ZodUnion<readonly [z.ZodObject
531
531
  idToken: z.ZodOptional<z.ZodArray<z.ZodString>>;
532
532
  }, z.core.$strict>>;
533
533
  defaultAudience: z.ZodOptional<z.ZodString>;
534
+ defaultResource: z.ZodOptional<z.ZodString>;
534
535
  defaultTokenExpiresIn: z.ZodOptional<z.ZodNumber>;
535
536
  authorizationUrlParams: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
536
537
  jwtBearer: z.ZodOptional<z.ZodObject<{
@@ -794,6 +795,7 @@ declare const connectConnectorUpdateDataSchema: z.ZodUnion<readonly [z.ZodObject
794
795
  idToken: z.ZodOptional<z.ZodArray<z.ZodString>>;
795
796
  }, z.core.$strict>>;
796
797
  defaultAudience: z.ZodOptional<z.ZodString>;
798
+ defaultResource: z.ZodOptional<z.ZodString>;
797
799
  defaultTokenExpiresIn: z.ZodOptional<z.ZodNumber>;
798
800
  authorizationUrlParams: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodString>>>;
799
801
  jwtBearer: z.ZodOptional<z.ZodObject<{