vercel-api-js 1.24.1 → 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
@@ -11600,6 +11607,12 @@ type UserEvent = {
11600
11607
  webhookNotified?: (false | true) | undefined;
11601
11608
  };
11602
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;
11603
11616
  } | {
11604
11617
  /**
11605
11618
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11682,6 +11695,13 @@ type UserEvent = {
11682
11695
  */
11683
11696
  webhookNotified?: (false | true) | undefined;
11684
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;
11685
11705
  } | {
11686
11706
  /**
11687
11707
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11764,7 +11784,12 @@ type UserEvent = {
11764
11784
  */
11765
11785
  webhookNotified?: (false | true) | undefined;
11766
11786
  };
11767
- 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;
11768
11793
  } | {
11769
11794
  /**
11770
11795
  * @description Represents a budget for tracking and notifying teams on their spending.
@@ -11929,8 +11954,20 @@ type UserEvent = {
11929
11954
  webhookNotified?: (false | true) | undefined;
11930
11955
  } | undefined;
11931
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;
11932
11967
  webhookUrl?: string | undefined;
11933
11968
  } | {
11969
+ projectId?: string | undefined;
11970
+ projectName?: string | undefined;
11934
11971
  webhookUrl?: string | undefined;
11935
11972
  } | {
11936
11973
  storeType: UserEventPayloadStoreTypeEnumKey;