vercel-api-js 1.24.0 → 1.24.2

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/types.d.mts CHANGED
@@ -2240,7 +2240,7 @@ type ConnectCreateConnectorRequest = (unknown | unknown) & {
2240
2240
  */
2241
2241
  triggerType?: string | undefined;
2242
2242
  /**
2243
- * @description Trigger-specific credentials (e.g. webhook signing secret). Validated and encrypted against the trigger type definition.
2243
+ * @description Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults.
2244
2244
  * @type object | undefined
2245
2245
  */
2246
2246
  triggerData?: {
@@ -3293,6 +3293,13 @@ type ConnectUpdateConnectorRequest = {
3293
3293
  * @type boolean | undefined
3294
3294
  */
3295
3295
  triggers?: boolean | undefined;
3296
+ /**
3297
+ * @description Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults.
3298
+ * @type object | undefined
3299
+ */
3300
+ triggerData?: {
3301
+ [key: string]: unknown;
3302
+ } | undefined;
3296
3303
  /**
3297
3304
  * @description Default trigger events for this connector.
3298
3305
  * @type array | undefined
@@ -8573,6 +8580,18 @@ type UserEvent = {
8573
8580
  * @type string | undefined
8574
8581
  */
8575
8582
  lastEditedByDisplayName?: string | undefined;
8583
+ lastEditedByPrincipal?: ({
8584
+ avatar?: string | undefined;
8585
+ id: string;
8586
+ name?: (string | null) | undefined;
8587
+ type: "user";
8588
+ username: string;
8589
+ } | {
8590
+ avatar?: string | undefined;
8591
+ id: string;
8592
+ name: string;
8593
+ type: "app";
8594
+ }) | undefined;
8576
8595
  /**
8577
8596
  * @description The unique identifier of the owner (team) the Shared Env Var was created for.
8578
8597
  * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
@@ -8694,6 +8713,18 @@ type UserEvent = {
8694
8713
  * @type string | undefined
8695
8714
  */
8696
8715
  lastEditedByDisplayName?: string | undefined;
8716
+ lastEditedByPrincipal?: ({
8717
+ avatar?: string | undefined;
8718
+ id: string;
8719
+ name?: (string | null) | undefined;
8720
+ type: "user";
8721
+ username: string;
8722
+ } | {
8723
+ avatar?: string | undefined;
8724
+ id: string;
8725
+ name: string;
8726
+ type: "app";
8727
+ }) | undefined;
8697
8728
  /**
8698
8729
  * @description The unique identifier of the owner (team) the Shared Env Var was created for.
8699
8730
  * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
@@ -8806,6 +8837,18 @@ type UserEvent = {
8806
8837
  * @type string | undefined
8807
8838
  */
8808
8839
  lastEditedByDisplayName?: string | undefined;
8840
+ lastEditedByPrincipal?: ({
8841
+ avatar?: string | undefined;
8842
+ id: string;
8843
+ name?: (string | null) | undefined;
8844
+ type: "user";
8845
+ username: string;
8846
+ } | {
8847
+ avatar?: string | undefined;
8848
+ id: string;
8849
+ name: string;
8850
+ type: "app";
8851
+ }) | undefined;
8809
8852
  /**
8810
8853
  * @description The unique identifier of the owner (team) the Shared Env Var was created for.
8811
8854
  * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
@@ -11564,6 +11607,12 @@ type UserEvent = {
11564
11607
  webhookNotified?: (false | true) | undefined;
11565
11608
  };
11566
11609
  };
11610
+ /**
11611
+ * @description Stored for project budgets. Same value as `budget.scopeId`.
11612
+ * @type string | undefined
11613
+ */
11614
+ projectId?: string | undefined;
11615
+ projectName?: string | undefined;
11567
11616
  } | {
11568
11617
  /**
11569
11618
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11646,6 +11695,13 @@ type UserEvent = {
11646
11695
  */
11647
11696
  webhookNotified?: (false | true) | undefined;
11648
11697
  };
11698
+ /**
11699
+ * @description Stored for project budgets. Same value as `budget.scopeId`.
11700
+ * @type string | undefined
11701
+ */
11702
+ projectId?: string | undefined;
11703
+ projectName?: string | undefined;
11704
+ webhookUrl?: string | undefined;
11649
11705
  } | {
11650
11706
  /**
11651
11707
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11728,7 +11784,12 @@ type UserEvent = {
11728
11784
  */
11729
11785
  webhookNotified?: (false | true) | undefined;
11730
11786
  };
11731
- webhookUrl?: string | undefined;
11787
+ /**
11788
+ * @description Stored for project budgets. Same value as `budget.scopeId`.
11789
+ * @type string | undefined
11790
+ */
11791
+ projectId?: string | undefined;
11792
+ projectName?: string | undefined;
11732
11793
  } | {
11733
11794
  /**
11734
11795
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11893,8 +11954,20 @@ type UserEvent = {
11893
11954
  webhookNotified?: (false | true) | undefined;
11894
11955
  } | undefined;
11895
11956
  prevWebhookUrl?: string | undefined;
11957
+ /**
11958
+ * @description Stored for project budgets. Same value as `budget.scopeId`.
11959
+ * @type string | undefined
11960
+ */
11961
+ projectId?: string | undefined;
11962
+ /**
11963
+ * @description Injected at read time from `payload.projectId`.
11964
+ * @type string | undefined
11965
+ */
11966
+ projectName?: string | undefined;
11896
11967
  webhookUrl?: string | undefined;
11897
11968
  } | {
11969
+ projectId?: string | undefined;
11970
+ projectName?: string | undefined;
11898
11971
  webhookUrl?: string | undefined;
11899
11972
  } | {
11900
11973
  storeType: UserEventPayloadStoreTypeEnumKey;