vercel-api-js 1.29.0 → 1.29.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.
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var components = require('./components-lk8rhlal.cjs');
4
- var schemas = require('./schemas-li4u0bea.cjs');
4
+ var schemas = require('./schemas-huxjhv22.cjs');
5
5
  var types = require('./types.cjs');
6
6
 
7
7
  function formEncoded(data) {
package/dist/index.d.ts CHANGED
@@ -41,10 +41,10 @@ declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParam
41
41
  */
42
42
  type AiGatewayEvaluationFallbackCondition = {
43
43
  confidenceBelow: number;
44
- question: string;
44
+ question?: string | undefined;
45
45
  } | {
46
46
  probabilityBetween: number[];
47
- question: string;
47
+ question?: string | undefined;
48
48
  } | {
49
49
  any: unknown[];
50
50
  } | {
@@ -6421,6 +6421,8 @@ declare const userEventTypeEnum: {
6421
6421
  readonly "team-default-passport-updated": "team-default-passport-updated";
6422
6422
  readonly "team-delete": "team-delete";
6423
6423
  readonly "team-deployment-policy-updated": "team-deployment-policy-updated";
6424
+ readonly "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
6425
+ readonly "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
6424
6426
  readonly "team-domain-verification-created": "team-domain-verification-created";
6425
6427
  readonly "team-domain-verification-deleted": "team-domain-verification-deleted";
6426
6428
  readonly "team-domain-verification-verified": "team-domain-verification-verified";
@@ -9154,6 +9156,11 @@ type UserEvent = {
9154
9156
  ineligibleForAppeal?: (false | true) | undefined;
9155
9157
  reason: string;
9156
9158
  statusCode?: number | undefined;
9159
+ /**
9160
+ * @description Plain thread ID, recorded separately from `caseId`.
9161
+ * @type string | undefined
9162
+ */
9163
+ threadId?: string | undefined;
9157
9164
  }[] | undefined;
9158
9165
  /**
9159
9166
  * @description Since March 2022. Helps abuse checks by tracking git auths. Format: `<platform>:<detail>:<value>`
@@ -13946,6 +13953,8 @@ declare const listEventTypeNameEnum: {
13946
13953
  readonly "team-default-passport-updated": "team-default-passport-updated";
13947
13954
  readonly "team-delete": "team-delete";
13948
13955
  readonly "team-deployment-policy-updated": "team-deployment-policy-updated";
13956
+ readonly "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
13957
+ readonly "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
13949
13958
  readonly "team-domain-verification-created": "team-domain-verification-created";
13950
13959
  readonly "team-domain-verification-deleted": "team-domain-verification-deleted";
13951
13960
  readonly "team-domain-verification-verified": "team-domain-verification-verified";
@@ -14647,6 +14656,8 @@ declare const listEventTypeReplacedByEnum: {
14647
14656
  readonly "team-default-passport-updated": "team-default-passport-updated";
14648
14657
  readonly "team-delete": "team-delete";
14649
14658
  readonly "team-deployment-policy-updated": "team-deployment-policy-updated";
14659
+ readonly "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
14660
+ readonly "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
14650
14661
  readonly "team-domain-verification-created": "team-domain-verification-created";
14651
14662
  readonly "team-domain-verification-deleted": "team-domain-verification-deleted";
14652
14663
  readonly "team-domain-verification-verified": "team-domain-verification-verified";
@@ -48162,10 +48173,10 @@ type AccessTokenResult = {
48162
48173
 
48163
48174
  declare const aiGatewayEvaluationFallbackConditionSchema: z.ZodUnion<readonly [z.ZodObject<{
48164
48175
  confidenceBelow: z.ZodNumber;
48165
- question: z.ZodString;
48176
+ question: z.ZodOptional<z.ZodString>;
48166
48177
  }, z.core.$strict>, z.ZodObject<{
48167
48178
  probabilityBetween: z.ZodArray<z.ZodNumber>;
48168
- question: z.ZodString;
48179
+ question: z.ZodOptional<z.ZodString>;
48169
48180
  }, z.core.$strict>, z.ZodObject<{
48170
48181
  any: z.ZodArray<z.ZodUnknown>;
48171
48182
  }, z.core.$strict>, z.ZodObject<{
@@ -51962,6 +51973,7 @@ declare const userEventSchema: z.ZodObject<{
51962
51973
  ineligibleForAppeal: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
51963
51974
  reason: z.ZodString;
51964
51975
  statusCode: z.ZodOptional<z.ZodNumber>;
51976
+ threadId: z.ZodOptional<z.ZodString>;
51965
51977
  }, z.core.$strip>>>;
51966
51978
  gitAuthHistory: z.ZodOptional<z.ZodArray<z.ZodString>>;
51967
51979
  gitLineageBlocks: z.ZodOptional<z.ZodNumber>;
@@ -56797,6 +56809,8 @@ declare const userEventSchema: z.ZodObject<{
56797
56809
  "team-default-passport-updated": "team-default-passport-updated";
56798
56810
  "team-delete": "team-delete";
56799
56811
  "team-deployment-policy-updated": "team-deployment-policy-updated";
56812
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
56813
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
56800
56814
  "team-domain-verification-created": "team-domain-verification-created";
56801
56815
  "team-domain-verification-deleted": "team-domain-verification-deleted";
56802
56816
  "team-domain-verification-verified": "team-domain-verification-verified";
@@ -57563,6 +57577,8 @@ declare const listEventTypeSchema: z.ZodObject<{
57563
57577
  "team-default-passport-updated": "team-default-passport-updated";
57564
57578
  "team-delete": "team-delete";
57565
57579
  "team-deployment-policy-updated": "team-deployment-policy-updated";
57580
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
57581
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
57566
57582
  "team-domain-verification-created": "team-domain-verification-created";
57567
57583
  "team-domain-verification-deleted": "team-domain-verification-deleted";
57568
57584
  "team-domain-verification-verified": "team-domain-verification-verified";
@@ -58263,6 +58279,8 @@ declare const listEventTypeSchema: z.ZodObject<{
58263
58279
  "team-default-passport-updated": "team-default-passport-updated";
58264
58280
  "team-delete": "team-delete";
58265
58281
  "team-deployment-policy-updated": "team-deployment-policy-updated";
58282
+ "team-deployment-storage-high-retention-opt-in": "team-deployment-storage-high-retention-opt-in";
58283
+ "team-deployment-storage-retention-opt-out": "team-deployment-storage-retention-opt-out";
58266
58284
  "team-domain-verification-created": "team-domain-verification-created";
58267
58285
  "team-domain-verification-deleted": "team-domain-verification-deleted";
58268
58286
  "team-domain-verification-verified": "team-domain-verification-verified";