vercel-api-js 1.19.3 → 1.20.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/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var components = require('./components-pfe7zbum.cjs');
4
- var schemas = require('./schemas-mrdopgdo.cjs');
4
+ var schemas = require('./schemas-b636kgje.cjs');
5
5
  var types = require('./types.cjs');
6
6
 
7
7
  function formEncoded(data) {
package/dist/index.d.ts CHANGED
@@ -4102,6 +4102,15 @@ declare const userEventPayloadRetentionDefaultModeEnum: {
4102
4102
  readonly "until-requested": "until-requested";
4103
4103
  };
4104
4104
  type UserEventPayloadRetentionDefaultModeEnumKey = (typeof userEventPayloadRetentionDefaultModeEnum)[keyof typeof userEventPayloadRetentionDefaultModeEnum];
4105
+ declare const userEventPayloadChangedFieldsEnum: {
4106
+ readonly address: "address";
4107
+ readonly email: "email";
4108
+ readonly language: "language";
4109
+ readonly name: "name";
4110
+ readonly purchaseOrder: "purchaseOrder";
4111
+ readonly tax: "tax";
4112
+ };
4113
+ type UserEventPayloadChangedFieldsEnumKey = (typeof userEventPayloadChangedFieldsEnum)[keyof typeof userEventPayloadChangedFieldsEnum];
4105
4114
  declare const userEventPayloadNextRoleEnum: {
4106
4115
  readonly ADMIN: "ADMIN";
4107
4116
  readonly PROJECT_DEVELOPER: "PROJECT_DEVELOPER";
@@ -4414,15 +4423,6 @@ declare const userEventPayloadSettlementMethodEnum: {
4414
4423
  readonly "refunded-payment-pending": "refunded-payment-pending";
4415
4424
  };
4416
4425
  type UserEventPayloadSettlementMethodEnumKey = (typeof userEventPayloadSettlementMethodEnum)[keyof typeof userEventPayloadSettlementMethodEnum];
4417
- declare const userEventPayloadChangedFieldsEnum: {
4418
- readonly address: "address";
4419
- readonly email: "email";
4420
- readonly language: "language";
4421
- readonly name: "name";
4422
- readonly purchaseOrder: "purchaseOrder";
4423
- readonly tax: "tax";
4424
- };
4425
- type UserEventPayloadChangedFieldsEnumKey = (typeof userEventPayloadChangedFieldsEnum)[keyof typeof userEventPayloadChangedFieldsEnum];
4426
4426
  declare const userEventPayloadDataPlanSlugEnum: {
4427
4427
  readonly v0_business: "v0_business";
4428
4428
  readonly v0_teams: "v0_teams";
@@ -6872,6 +6872,13 @@ type UserEvent = {
6872
6872
  id: string;
6873
6873
  modelSlug?: string | undefined;
6874
6874
  };
6875
+ } | {
6876
+ changedFields?: UserEventPayloadChangedFieldsEnumKey[] | undefined;
6877
+ virtualModelConfig: {
6878
+ displayName?: string | undefined;
6879
+ id: string;
6880
+ modelSlug?: string | undefined;
6881
+ };
6875
6882
  } | {
6876
6883
  accessGroup: {
6877
6884
  id: string;
@@ -48008,6 +48015,39 @@ declare const userEventSchema: z.ZodObject<{
48008
48015
  id: z.ZodString;
48009
48016
  modelSlug: z.ZodOptional<z.ZodString>;
48010
48017
  }, z.core.$strip>;
48018
+ }, z.core.$strict>, z.ZodObject<{
48019
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
48020
+ baseUrl: "baseUrl";
48021
+ status: "status";
48022
+ sort: "sort";
48023
+ allowFallbackFromFast: "allowFallbackFromFast";
48024
+ byokCredentialIds: "byokCredentialIds";
48025
+ caching: "caching";
48026
+ description: "description";
48027
+ disallowPromptTraining: "disallowPromptTraining";
48028
+ displayName: "displayName";
48029
+ has: "has";
48030
+ hipaaCompliant: "hipaaCompliant";
48031
+ inferenceRegion: "inferenceRegion";
48032
+ models: "models";
48033
+ modelSlug: "modelSlug";
48034
+ observabilityTags: "observabilityTags";
48035
+ providerOnly: "providerOnly";
48036
+ providerOptions: "providerOptions";
48037
+ providerOrder: "providerOrder";
48038
+ providerTimeouts: "providerTimeouts";
48039
+ requires: "requires";
48040
+ selector: "selector";
48041
+ serviceTier: "serviceTier";
48042
+ speed: "speed";
48043
+ visibility: "visibility";
48044
+ zeroDataRetention: "zeroDataRetention";
48045
+ }>>>;
48046
+ virtualModelConfig: z.ZodObject<{
48047
+ displayName: z.ZodOptional<z.ZodString>;
48048
+ id: z.ZodString;
48049
+ modelSlug: z.ZodOptional<z.ZodString>;
48050
+ }, z.core.$strip>;
48011
48051
  }, z.core.$strict>, z.ZodObject<{
48012
48052
  accessGroup: z.ZodObject<{
48013
48053
  id: z.ZodString;