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/index.cjs +1 -1
- package/dist/index.d.ts +51 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-oqtb4s3h.cjs → schemas-dyw450pm.cjs} +15 -4
- package/dist/{schemas-mypb2rqy.js → schemas-jdqje2tv.js} +15 -4
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +256 -245
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.d.mts +39 -2
- package/dist/types.d.mts.map +1 -1
- package/package.json +1 -1
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-fiy60px0.cjs');
|
|
4
|
-
var schemas = require('./schemas-
|
|
4
|
+
var schemas = require('./schemas-dyw450pm.cjs');
|
|
5
5
|
var types = require('./types.cjs');
|
|
6
6
|
|
|
7
7
|
function formEncoded(data) {
|
package/dist/index.d.ts
CHANGED
|
@@ -2277,7 +2277,7 @@ type ConnectCreateConnectorRequest = (unknown | unknown) & {
|
|
|
2277
2277
|
*/
|
|
2278
2278
|
triggerType?: string | undefined;
|
|
2279
2279
|
/**
|
|
2280
|
-
* @description Trigger
|
|
2280
|
+
* @description Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults.
|
|
2281
2281
|
* @type object | undefined
|
|
2282
2282
|
*/
|
|
2283
2283
|
triggerData?: {
|
|
@@ -3330,6 +3330,13 @@ type ConnectUpdateConnectorRequest = {
|
|
|
3330
3330
|
* @type boolean | undefined
|
|
3331
3331
|
*/
|
|
3332
3332
|
triggers?: boolean | undefined;
|
|
3333
|
+
/**
|
|
3334
|
+
* @description Trigger configuration, validated and encrypted by the trigger driver. An empty object applies driver defaults.
|
|
3335
|
+
* @type object | undefined
|
|
3336
|
+
*/
|
|
3337
|
+
triggerData?: {
|
|
3338
|
+
[key: string]: unknown;
|
|
3339
|
+
} | undefined;
|
|
3333
3340
|
/**
|
|
3334
3341
|
* @description Default trigger events for this connector.
|
|
3335
3342
|
* @type array | undefined
|
|
@@ -11637,6 +11644,12 @@ type UserEvent = {
|
|
|
11637
11644
|
webhookNotified?: (false | true) | undefined;
|
|
11638
11645
|
};
|
|
11639
11646
|
};
|
|
11647
|
+
/**
|
|
11648
|
+
* @description Stored for project budgets. Same value as `budget.scopeId`.
|
|
11649
|
+
* @type string | undefined
|
|
11650
|
+
*/
|
|
11651
|
+
projectId?: string | undefined;
|
|
11652
|
+
projectName?: string | undefined;
|
|
11640
11653
|
} | {
|
|
11641
11654
|
/**
|
|
11642
11655
|
* @description Represents a budget for tracking and notifying teams on their spending.
|
|
@@ -11719,6 +11732,13 @@ type UserEvent = {
|
|
|
11719
11732
|
*/
|
|
11720
11733
|
webhookNotified?: (false | true) | undefined;
|
|
11721
11734
|
};
|
|
11735
|
+
/**
|
|
11736
|
+
* @description Stored for project budgets. Same value as `budget.scopeId`.
|
|
11737
|
+
* @type string | undefined
|
|
11738
|
+
*/
|
|
11739
|
+
projectId?: string | undefined;
|
|
11740
|
+
projectName?: string | undefined;
|
|
11741
|
+
webhookUrl?: string | undefined;
|
|
11722
11742
|
} | {
|
|
11723
11743
|
/**
|
|
11724
11744
|
* @description Represents a budget for tracking and notifying teams on their spending.
|
|
@@ -11801,7 +11821,12 @@ type UserEvent = {
|
|
|
11801
11821
|
*/
|
|
11802
11822
|
webhookNotified?: (false | true) | undefined;
|
|
11803
11823
|
};
|
|
11804
|
-
|
|
11824
|
+
/**
|
|
11825
|
+
* @description Stored for project budgets. Same value as `budget.scopeId`.
|
|
11826
|
+
* @type string | undefined
|
|
11827
|
+
*/
|
|
11828
|
+
projectId?: string | undefined;
|
|
11829
|
+
projectName?: string | undefined;
|
|
11805
11830
|
} | {
|
|
11806
11831
|
/**
|
|
11807
11832
|
* @description Represents a budget for tracking and notifying teams on their spending.
|
|
@@ -11966,8 +11991,20 @@ type UserEvent = {
|
|
|
11966
11991
|
webhookNotified?: (false | true) | undefined;
|
|
11967
11992
|
} | undefined;
|
|
11968
11993
|
prevWebhookUrl?: string | undefined;
|
|
11994
|
+
/**
|
|
11995
|
+
* @description Stored for project budgets. Same value as `budget.scopeId`.
|
|
11996
|
+
* @type string | undefined
|
|
11997
|
+
*/
|
|
11998
|
+
projectId?: string | undefined;
|
|
11999
|
+
/**
|
|
12000
|
+
* @description Injected at read time from `payload.projectId`.
|
|
12001
|
+
* @type string | undefined
|
|
12002
|
+
*/
|
|
12003
|
+
projectName?: string | undefined;
|
|
11969
12004
|
webhookUrl?: string | undefined;
|
|
11970
12005
|
} | {
|
|
12006
|
+
projectId?: string | undefined;
|
|
12007
|
+
projectName?: string | undefined;
|
|
11971
12008
|
webhookUrl?: string | undefined;
|
|
11972
12009
|
} | {
|
|
11973
12010
|
storeType: UserEventPayloadStoreTypeEnumKey;
|
|
@@ -47495,6 +47532,7 @@ declare const connectConnectorUpdateDataSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
47495
47532
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>]>;
|
|
47496
47533
|
declare const connectUpdateConnectorRequestSchema: z.ZodObject<{
|
|
47497
47534
|
triggers: z.ZodOptional<z.ZodBoolean>;
|
|
47535
|
+
triggerData: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
47498
47536
|
events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47499
47537
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
47500
47538
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -53294,6 +53332,8 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
53294
53332
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
53295
53333
|
}, z.core.$strip>;
|
|
53296
53334
|
}, z.core.$strip>;
|
|
53335
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
53336
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
53297
53337
|
}, z.core.$strict>, z.ZodObject<{
|
|
53298
53338
|
budget: z.ZodObject<{
|
|
53299
53339
|
createdAt: z.ZodNumber;
|
|
@@ -53324,6 +53364,9 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
53324
53364
|
webhookId: z.ZodOptional<z.ZodString>;
|
|
53325
53365
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
53326
53366
|
}, z.core.$strip>;
|
|
53367
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
53368
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
53369
|
+
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
53327
53370
|
}, z.core.$strict>, z.ZodObject<{
|
|
53328
53371
|
budget: z.ZodObject<{
|
|
53329
53372
|
createdAt: z.ZodNumber;
|
|
@@ -53354,7 +53397,8 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
53354
53397
|
webhookId: z.ZodOptional<z.ZodString>;
|
|
53355
53398
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
53356
53399
|
}, z.core.$strip>;
|
|
53357
|
-
|
|
53400
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
53401
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
53358
53402
|
}, z.core.$strict>, z.ZodObject<{
|
|
53359
53403
|
budget: z.ZodObject<{
|
|
53360
53404
|
createdAt: z.ZodNumber;
|
|
@@ -53415,8 +53459,12 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
53415
53459
|
webhookNotified: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
53416
53460
|
}, z.core.$strip>>;
|
|
53417
53461
|
prevWebhookUrl: z.ZodOptional<z.ZodString>;
|
|
53462
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
53463
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
53418
53464
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
53419
53465
|
}, z.core.$strict>, z.ZodObject<{
|
|
53466
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
53467
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
53420
53468
|
webhookUrl: z.ZodOptional<z.ZodString>;
|
|
53421
53469
|
}, z.core.$strict>, z.ZodObject<{
|
|
53422
53470
|
storeType: z.ZodEnum<{
|