@automate.ax/api-contract 0.160.0 → 0.163.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/account.d.ts +7 -8
- package/dist/account.js +4 -5
- package/dist/authorization.d.ts +2 -6
- package/dist/authorization.js +2 -2
- package/dist/automation.d.ts +1 -3
- package/dist/automation.js +1 -3
- package/dist/deployment.d.ts +1 -4
- package/dist/deployment.js +2 -2
- package/dist/events/index.d.ts +3 -2
- package/dist/events/meta-ads.d.ts +3 -2
- package/dist/events/meta-ads.js +1 -1
- package/dist/execution-data.d.ts +3 -3
- package/dist/execution-data.js +2 -2
- package/dist/index.d.ts +64 -93
- package/dist/index.js +1 -1
- package/dist/org.d.ts +21 -5
- package/dist/org.js +7 -4
- package/dist/project.d.ts +2 -7
- package/dist/project.js +3 -6
- package/package.json +5 -13
- package/src/account.ts +4 -5
- package/src/authorization.ts +2 -2
- package/src/automation.ts +1 -5
- package/src/deployment.ts +2 -2
- package/src/events/meta-ads.ts +2 -1
- package/src/execution-data.ts +2 -2
- package/src/index.ts +4 -2
- package/src/org.ts +9 -5
- package/src/project.ts +3 -7
package/dist/account.d.ts
CHANGED
|
@@ -61,7 +61,8 @@ export declare const integrationServiceOutputSchema: z.ZodObject<{
|
|
|
61
61
|
name: z.ZodString;
|
|
62
62
|
requiredPlan: z.ZodEnum<{
|
|
63
63
|
free: "free";
|
|
64
|
-
|
|
64
|
+
starter: "starter";
|
|
65
|
+
growth: "growth";
|
|
65
66
|
}>;
|
|
66
67
|
preferredConnectionMethodId: z.ZodOptional<z.ZodString>;
|
|
67
68
|
}, z.core.$strip>;
|
|
@@ -187,7 +188,8 @@ export declare const accountContract: {
|
|
|
187
188
|
label: z.ZodString;
|
|
188
189
|
requiredPlan: z.ZodEnum<{
|
|
189
190
|
free: "free";
|
|
190
|
-
|
|
191
|
+
starter: "starter";
|
|
192
|
+
growth: "growth";
|
|
191
193
|
}>;
|
|
192
194
|
serviceId: z.ZodString;
|
|
193
195
|
serviceName: z.ZodString;
|
|
@@ -198,7 +200,6 @@ export declare const accountContract: {
|
|
|
198
200
|
token: z.ZodUUID;
|
|
199
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
200
202
|
accountId: z.ZodString;
|
|
201
|
-
txid: z.ZodNumber;
|
|
202
203
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
203
204
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
204
205
|
connectionMethodId: z.ZodString;
|
|
@@ -224,9 +225,7 @@ export declare const accountContract: {
|
|
|
224
225
|
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
225
226
|
accountId: z.ZodString;
|
|
226
227
|
organizationId: z.ZodString;
|
|
227
|
-
}, z.core.$strip>, z.
|
|
228
|
-
txid: z.ZodNumber;
|
|
229
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
228
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
230
229
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
231
230
|
accountId: z.ZodString;
|
|
232
231
|
organizationId: z.ZodString;
|
|
@@ -367,7 +366,8 @@ export declare const accountContract: {
|
|
|
367
366
|
name: z.ZodString;
|
|
368
367
|
requiredPlan: z.ZodEnum<{
|
|
369
368
|
free: "free";
|
|
370
|
-
|
|
369
|
+
starter: "starter";
|
|
370
|
+
growth: "growth";
|
|
371
371
|
}>;
|
|
372
372
|
preferredConnectionMethodId: z.ZodOptional<z.ZodString>;
|
|
373
373
|
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -447,7 +447,6 @@ export declare const accountContract: {
|
|
|
447
447
|
unsupported: "unsupported";
|
|
448
448
|
}>;
|
|
449
449
|
}, z.core.$strip>;
|
|
450
|
-
txid: z.ZodNumber;
|
|
451
450
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
452
451
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
453
452
|
connectionMethodId: z.ZodString;
|
package/dist/account.js
CHANGED
|
@@ -67,7 +67,7 @@ export const integrationServiceOutputSchema = z.object({
|
|
|
67
67
|
icon: z.string().optional(),
|
|
68
68
|
id: z.string(),
|
|
69
69
|
name: z.string(),
|
|
70
|
-
requiredPlan: z.enum(["free", "
|
|
70
|
+
requiredPlan: z.enum(["free", "starter", "growth"]),
|
|
71
71
|
preferredConnectionMethodId: z.string().optional(),
|
|
72
72
|
});
|
|
73
73
|
export const integrationAccountRevocationOutputSchema = z.object({
|
|
@@ -171,7 +171,7 @@ export const accountContract = {
|
|
|
171
171
|
.output(z.object({
|
|
172
172
|
expiresAt: z.date(),
|
|
173
173
|
label: z.string(),
|
|
174
|
-
requiredPlan: z.enum(["free", "
|
|
174
|
+
requiredPlan: z.enum(["free", "starter", "growth"]),
|
|
175
175
|
serviceId: z.string(),
|
|
176
176
|
serviceName: z.string(),
|
|
177
177
|
serviceSub: z.string(),
|
|
@@ -185,7 +185,7 @@ export const accountContract = {
|
|
|
185
185
|
tags: ["Integration Accounts"],
|
|
186
186
|
})
|
|
187
187
|
.input(z.object({ organizationId: z.string(), token: z.uuid() }))
|
|
188
|
-
.output(z.object({ accountId: z.string()
|
|
188
|
+
.output(z.object({ accountId: z.string() })),
|
|
189
189
|
beginConnection: oc
|
|
190
190
|
.route({
|
|
191
191
|
description: "Starts an OAuth-style organization account connection.",
|
|
@@ -234,7 +234,7 @@ export const accountContract = {
|
|
|
234
234
|
tags: ["Integration Accounts"],
|
|
235
235
|
})
|
|
236
236
|
.input(organizationAccountInputSchema)
|
|
237
|
-
.output(z.
|
|
237
|
+
.output(z.void()),
|
|
238
238
|
get: oc
|
|
239
239
|
.route({
|
|
240
240
|
description: "Returns one integration account linked to an organization.",
|
|
@@ -292,7 +292,6 @@ export const accountContract = {
|
|
|
292
292
|
.input(organizationAccountInputSchema)
|
|
293
293
|
.output(z.object({
|
|
294
294
|
revocation: integrationAccountRevocationOutputSchema,
|
|
295
|
-
txid: z.number().int().nonnegative(),
|
|
296
295
|
})),
|
|
297
296
|
submitCredentials: oc
|
|
298
297
|
.route({
|
package/dist/authorization.d.ts
CHANGED
|
@@ -50,18 +50,14 @@ export declare const authorizationContract: {
|
|
|
50
50
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
51
51
|
proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
52
52
|
deploymentId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.
|
|
54
|
-
txid: z.ZodNumber;
|
|
55
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
53
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
56
54
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
57
55
|
binding: z.ZodString;
|
|
58
56
|
connectionMethodId: z.ZodString;
|
|
59
57
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
60
58
|
deploymentId: z.ZodString;
|
|
61
59
|
serviceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.
|
|
63
|
-
txid: z.ZodNumber;
|
|
64
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
60
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
65
61
|
selectAccount: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
66
62
|
accountId: z.ZodString;
|
|
67
63
|
binding: z.ZodString;
|
package/dist/authorization.js
CHANGED
|
@@ -90,7 +90,7 @@ export const authorizationContract = {
|
|
|
90
90
|
tags: ["Deployments"],
|
|
91
91
|
})
|
|
92
92
|
.input(z.object({ deploymentId: z.string() }))
|
|
93
|
-
.output(z.
|
|
93
|
+
.output(z.void()),
|
|
94
94
|
submitCredentials: oc
|
|
95
95
|
.input(z.object({
|
|
96
96
|
binding: z.string().min(1),
|
|
@@ -99,7 +99,7 @@ export const authorizationContract = {
|
|
|
99
99
|
deploymentId: z.string(),
|
|
100
100
|
serviceId: z.string().min(1),
|
|
101
101
|
}))
|
|
102
|
-
.output(z.
|
|
102
|
+
.output(z.void()),
|
|
103
103
|
selectAccount: oc
|
|
104
104
|
.input(z.object({
|
|
105
105
|
accountId: z.string(),
|
package/dist/automation.d.ts
CHANGED
|
@@ -364,7 +364,5 @@ export declare const automationContract: {
|
|
|
364
364
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
365
365
|
automation: z.ZodString;
|
|
366
366
|
enabled: z.ZodBoolean;
|
|
367
|
-
}, z.core.$strip>, z.
|
|
368
|
-
txid: z.ZodNumber;
|
|
369
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
367
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
370
368
|
};
|
package/dist/automation.js
CHANGED
package/dist/deployment.d.ts
CHANGED
|
@@ -358,9 +358,7 @@ export declare const deploymentContract: {
|
|
|
358
358
|
name: z.ZodString;
|
|
359
359
|
value: z.ZodBase64;
|
|
360
360
|
}, z.core.$strip>>;
|
|
361
|
-
}, z.core.$strip>, z.
|
|
362
|
-
txid: z.ZodNumber;
|
|
363
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
361
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
364
362
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
365
363
|
artifact: z.ZodCustom<Blob, Blob>;
|
|
366
364
|
cancelExisting: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1120,7 +1118,6 @@ export declare const deploymentContract: {
|
|
|
1120
1118
|
projectId: z.ZodString;
|
|
1121
1119
|
}, z.core.$strip>, z.ZodObject<{
|
|
1122
1120
|
id: z.ZodString;
|
|
1123
|
-
txid: z.ZodNumber;
|
|
1124
1121
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1125
1122
|
DEPLOYMENT_IN_PROGRESS: {
|
|
1126
1123
|
readonly data: z.ZodObject<{
|
package/dist/deployment.js
CHANGED
|
@@ -132,7 +132,7 @@ export const deploymentContract = {
|
|
|
132
132
|
deploymentId: z.string(),
|
|
133
133
|
values: DEPLOYMENT_PARAMETER_VALUES_SCHEMA,
|
|
134
134
|
}))
|
|
135
|
-
.output(z.
|
|
135
|
+
.output(z.void()),
|
|
136
136
|
create: oc
|
|
137
137
|
.errors({
|
|
138
138
|
DEPLOYMENT_IN_PROGRESS: DEPLOYMENT_IN_PROGRESS_ERROR,
|
|
@@ -245,5 +245,5 @@ export const deploymentContract = {
|
|
|
245
245
|
parameters: DEPLOYMENT_PARAMETER_VALUES_SCHEMA.default([]),
|
|
246
246
|
projectId: z.string(),
|
|
247
247
|
}))
|
|
248
|
-
.output(z.object({ id: z.string()
|
|
248
|
+
.output(z.object({ id: z.string() })),
|
|
249
249
|
};
|
package/dist/events/index.d.ts
CHANGED
|
@@ -3571,11 +3571,12 @@ export declare const eventsContract: {
|
|
|
3571
3571
|
}>>]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3572
3572
|
metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3573
3573
|
entry: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3574
|
-
changes: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3574
|
+
changes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
3575
3575
|
field: import("zod").ZodString;
|
|
3576
3576
|
value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
3577
|
-
}, import("zod/v4/core").$strip
|
|
3577
|
+
}, import("zod/v4/core").$strip>>>;
|
|
3578
3578
|
id: import("zod").ZodString;
|
|
3579
|
+
messaging: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
3579
3580
|
time: import("zod").ZodNumber;
|
|
3580
3581
|
}, import("zod/v4/core").$strip>>;
|
|
3581
3582
|
object: import("zod").ZodString;
|
|
@@ -2,11 +2,12 @@ import * as z from "zod";
|
|
|
2
2
|
export declare const metaAdsEventsContract: {
|
|
3
3
|
metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4
4
|
entry: z.ZodArray<z.ZodObject<{
|
|
5
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
5
|
+
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
6
|
field: z.ZodString;
|
|
7
7
|
value: z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
8
|
-
}, z.core.$strip
|
|
8
|
+
}, z.core.$strip>>>;
|
|
9
9
|
id: z.ZodString;
|
|
10
|
+
messaging: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
10
11
|
time: z.ZodNumber;
|
|
11
12
|
}, z.core.$strip>>;
|
|
12
13
|
object: z.ZodString;
|
package/dist/events/meta-ads.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as z from "zod";
|
|
|
4
4
|
export const metaAdsEventsContract = {
|
|
5
5
|
metaAdsEvent: oc
|
|
6
6
|
.route({
|
|
7
|
-
description: "Receives and authenticates Meta Ads
|
|
7
|
+
description: "Receives and authenticates Meta Ads, Lead Ads, Page, Messenger, and Instagram webhooks.",
|
|
8
8
|
method: "POST",
|
|
9
9
|
operationId: "receiveMetaAdsEvent",
|
|
10
10
|
path: "/events/meta-ads",
|
package/dist/execution-data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const EXECUTION_DATASET_VERSION =
|
|
2
|
+
export declare const EXECUTION_DATASET_VERSION = 12;
|
|
3
3
|
export declare const executionDatasetResourceSchema: z.ZodEnum<{
|
|
4
4
|
automations: "automations";
|
|
5
5
|
projects: "projects";
|
|
@@ -50,7 +50,7 @@ export declare const executionDatasetManifestSchema: z.ZodObject<{
|
|
|
50
50
|
}>;
|
|
51
51
|
url: z.ZodURL;
|
|
52
52
|
}, z.core.$strip>>;
|
|
53
|
-
schemaVersion: z.ZodLiteral<
|
|
53
|
+
schemaVersion: z.ZodLiteral<12>;
|
|
54
54
|
scope: z.ZodObject<{
|
|
55
55
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
56
56
|
projectId: z.ZodNullable<z.ZodString>;
|
|
@@ -90,7 +90,7 @@ export declare const executionDataContract: {
|
|
|
90
90
|
}>;
|
|
91
91
|
url: z.ZodURL;
|
|
92
92
|
}, z.core.$strip>>;
|
|
93
|
-
schemaVersion: z.ZodLiteral<
|
|
93
|
+
schemaVersion: z.ZodLiteral<12>;
|
|
94
94
|
scope: z.ZodObject<{
|
|
95
95
|
organizationId: z.ZodNullable<z.ZodString>;
|
|
96
96
|
projectId: z.ZodNullable<z.ZodString>;
|
package/dist/execution-data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { oc } from "@orpc/contract";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
export const EXECUTION_DATASET_VERSION =
|
|
3
|
+
export const EXECUTION_DATASET_VERSION = 12;
|
|
4
4
|
export const executionDatasetResourceSchema = z.enum([
|
|
5
5
|
"projects",
|
|
6
6
|
"automations",
|
|
@@ -44,7 +44,7 @@ export const executionDataContract = {
|
|
|
44
44
|
path: "/execution-data/manifest",
|
|
45
45
|
operationId: "getExecutionDataManifest",
|
|
46
46
|
summary: "Get execution data manifest",
|
|
47
|
-
description: "Returns authenticated
|
|
47
|
+
description: "Returns authenticated JSON snapshot resources for a validated execution-data scope.",
|
|
48
48
|
tags: ["Execution data"],
|
|
49
49
|
})
|
|
50
50
|
.input(z.object({
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { integrationAccountOutputSchema, integrationAccountRevocationImpactOutpu
|
|
|
7
7
|
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_IMAGE_GENERATION_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, DEFAULT_GATEWAY_EVALUATION_MODEL_ID, DEFAULT_GATEWAY_IMAGE_MODEL_ID, DEFAULT_GATEWAY_MODEL_ID, DEFAULT_ACTION_MAX_ATTEMPTS, MAX_ACTION_ATTEMPTS, actionReplaySafetySchema, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, evaluationInputSchema, evaluationResultSchema, generationInputSchema, generationResultSchema, imageGenerationInputSchema, imageGenerationCompletionSchema, imageGenerationResultSchema, platformImageGenerationInputSchema, platformImageGenerationStartSchema, hashSignalCoordinatorConfiguration, runtimeContract, type GenerationInput, type GenerationResult, type EvaluationInput, type EvaluationResult, type ImageGenerationInput, type ImageGenerationCompletion, type ImageGenerationResult, type PlatformImageGenerationInput, type RuntimeGenerationInput, type RuntimeCoordinationOffer, type ActionReplaySafety, type RuntimeActionAttemptCompletion, type RuntimeActionAttemptStart, } from "./runtime.js";
|
|
8
8
|
export type { GatewayEvaluationModelId, GatewayImageModelId, GatewayModelId, } from "@ai-sdk/gateway";
|
|
9
9
|
export { createdOrganizationApiKeyOutputSchema, organizationApiKeyOutputSchema, } from "./api-key.js";
|
|
10
|
-
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationRoles, organizationSummaryOutputSchema,
|
|
10
|
+
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationRoles, organizationSummaryOutputSchema, billingPeriodSchema, paidBillingPlanSchema, publicOrganizationOutputSchema, type BillingPeriod, type PaidBillingPlan, } from "./org.js";
|
|
11
11
|
export { projectOutputSchema } from "./project.js";
|
|
12
12
|
export { cursorPageInfoSchema, cursorPageOutputSchema, cursorPaginationInputSchema, reasonableNameSchema, } from "./schemas.js";
|
|
13
13
|
export { userOutputSchema } from "./auth.js";
|
|
@@ -22,7 +22,8 @@ export declare const publicContract: {
|
|
|
22
22
|
label: import("zod").ZodString;
|
|
23
23
|
requiredPlan: import("zod").ZodEnum<{
|
|
24
24
|
free: "free";
|
|
25
|
-
|
|
25
|
+
starter: "starter";
|
|
26
|
+
growth: "growth";
|
|
26
27
|
}>;
|
|
27
28
|
serviceId: import("zod").ZodString;
|
|
28
29
|
serviceName: import("zod").ZodString;
|
|
@@ -33,7 +34,6 @@ export declare const publicContract: {
|
|
|
33
34
|
token: import("zod").ZodUUID;
|
|
34
35
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
35
36
|
accountId: import("zod").ZodString;
|
|
36
|
-
txid: import("zod").ZodNumber;
|
|
37
37
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
38
38
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
39
39
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -59,9 +59,7 @@ export declare const publicContract: {
|
|
|
59
59
|
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
60
60
|
accountId: import("zod").ZodString;
|
|
61
61
|
organizationId: import("zod").ZodString;
|
|
62
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
63
|
-
txid: import("zod").ZodNumber;
|
|
64
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
62
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
65
63
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
66
64
|
accountId: import("zod").ZodString;
|
|
67
65
|
organizationId: import("zod").ZodString;
|
|
@@ -202,7 +200,8 @@ export declare const publicContract: {
|
|
|
202
200
|
name: import("zod").ZodString;
|
|
203
201
|
requiredPlan: import("zod").ZodEnum<{
|
|
204
202
|
free: "free";
|
|
205
|
-
|
|
203
|
+
starter: "starter";
|
|
204
|
+
growth: "growth";
|
|
206
205
|
}>;
|
|
207
206
|
preferredConnectionMethodId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
207
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -282,7 +281,6 @@ export declare const publicContract: {
|
|
|
282
281
|
unsupported: "unsupported";
|
|
283
282
|
}>;
|
|
284
283
|
}, import("zod/v4/core").$strip>;
|
|
285
|
-
txid: import("zod").ZodNumber;
|
|
286
284
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
287
285
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
288
286
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -512,9 +510,7 @@ export declare const publicContract: {
|
|
|
512
510
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
513
511
|
automation: import("zod").ZodString;
|
|
514
512
|
enabled: import("zod").ZodBoolean;
|
|
515
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
516
|
-
txid: import("zod").ZodNumber;
|
|
517
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
513
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
518
514
|
};
|
|
519
515
|
apiKey: {
|
|
520
516
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -600,9 +596,7 @@ export declare const publicContract: {
|
|
|
600
596
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
601
597
|
proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
602
598
|
deploymentId: import("zod").ZodString;
|
|
603
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
604
|
-
txid: import("zod").ZodNumber;
|
|
605
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
599
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
606
600
|
};
|
|
607
601
|
deployment: {
|
|
608
602
|
cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -615,9 +609,7 @@ export declare const publicContract: {
|
|
|
615
609
|
name: import("zod").ZodString;
|
|
616
610
|
value: import("zod").ZodBase64;
|
|
617
611
|
}, import("zod/v4/core").$strip>>;
|
|
618
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
619
|
-
txid: import("zod").ZodNumber;
|
|
620
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
612
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
621
613
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
622
614
|
deploymentId: import("zod").ZodString;
|
|
623
615
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1330,7 +1322,6 @@ export declare const publicContract: {
|
|
|
1330
1322
|
projectId: import("zod").ZodString;
|
|
1331
1323
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1332
1324
|
id: import("zod").ZodString;
|
|
1333
|
-
txid: import("zod").ZodNumber;
|
|
1334
1325
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1335
1326
|
DEPLOYMENT_IN_PROGRESS: {
|
|
1336
1327
|
readonly data: import("zod").ZodObject<{
|
|
@@ -1388,7 +1379,7 @@ export declare const publicContract: {
|
|
|
1388
1379
|
}>;
|
|
1389
1380
|
url: import("zod").ZodURL;
|
|
1390
1381
|
}, import("zod/v4/core").$strip>>;
|
|
1391
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
1382
|
+
schemaVersion: import("zod").ZodLiteral<12>;
|
|
1392
1383
|
scope: import("zod").ZodObject<{
|
|
1393
1384
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1394
1385
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1406,9 +1397,7 @@ export declare const publicContract: {
|
|
|
1406
1397
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1407
1398
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1408
1399
|
organizationId: import("zod").ZodString;
|
|
1409
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1410
|
-
txid: import("zod").ZodNumber;
|
|
1411
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1400
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1412
1401
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1413
1402
|
organizationId: import("zod").ZodString;
|
|
1414
1403
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1434,6 +1423,8 @@ export declare const publicContract: {
|
|
|
1434
1423
|
executionRetentionDays: import("zod").ZodNumber;
|
|
1435
1424
|
plan: import("zod").ZodEnum<{
|
|
1436
1425
|
free: "free";
|
|
1426
|
+
starter: "starter";
|
|
1427
|
+
growth: "growth";
|
|
1437
1428
|
pro: "pro";
|
|
1438
1429
|
enterprise: "enterprise";
|
|
1439
1430
|
}>;
|
|
@@ -1529,6 +1520,8 @@ export declare const publicContract: {
|
|
|
1529
1520
|
executionRetentionDays: import("zod").ZodNumber;
|
|
1530
1521
|
plan: import("zod").ZodEnum<{
|
|
1531
1522
|
free: "free";
|
|
1523
|
+
starter: "starter";
|
|
1524
|
+
growth: "growth";
|
|
1532
1525
|
pro: "pro";
|
|
1533
1526
|
enterprise: "enterprise";
|
|
1534
1527
|
}>;
|
|
@@ -1584,13 +1577,10 @@ export declare const publicContract: {
|
|
|
1584
1577
|
id: import("zod").ZodString;
|
|
1585
1578
|
identityKey: import("zod").ZodString;
|
|
1586
1579
|
}, import("zod/v4/core").$strip>>;
|
|
1587
|
-
txid: import("zod").ZodNumber;
|
|
1588
1580
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1589
1581
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1590
1582
|
projectId: import("zod").ZodString;
|
|
1591
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1592
|
-
txid: import("zod").ZodNumber;
|
|
1593
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1583
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1594
1584
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1595
1585
|
projectId: import("zod").ZodString;
|
|
1596
1586
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1641,9 +1631,7 @@ export declare const publicContract: {
|
|
|
1641
1631
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1642
1632
|
projectId: import("zod").ZodString;
|
|
1643
1633
|
name: import("zod").ZodString;
|
|
1644
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1645
|
-
txid: import("zod").ZodNumber;
|
|
1646
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1634
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1647
1635
|
};
|
|
1648
1636
|
session: {
|
|
1649
1637
|
me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
@@ -1679,9 +1667,7 @@ export declare const firstPartyContract: {
|
|
|
1679
1667
|
data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
|
|
1680
1668
|
deploymentId: import("zod").ZodString;
|
|
1681
1669
|
serviceId: import("zod").ZodString;
|
|
1682
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1683
|
-
txid: import("zod").ZodNumber;
|
|
1684
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1670
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1685
1671
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1686
1672
|
deploymentId: import("zod").ZodString;
|
|
1687
1673
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -1719,9 +1705,7 @@ export declare const firstPartyContract: {
|
|
|
1719
1705
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1720
1706
|
proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1721
1707
|
deploymentId: import("zod").ZodString;
|
|
1722
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1723
|
-
txid: import("zod").ZodNumber;
|
|
1724
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1708
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1725
1709
|
};
|
|
1726
1710
|
deployment: {
|
|
1727
1711
|
cancel: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -1734,9 +1718,7 @@ export declare const firstPartyContract: {
|
|
|
1734
1718
|
name: import("zod").ZodString;
|
|
1735
1719
|
value: import("zod").ZodBase64;
|
|
1736
1720
|
}, import("zod/v4/core").$strip>>;
|
|
1737
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
1738
|
-
txid: import("zod").ZodNumber;
|
|
1739
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
1721
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
1740
1722
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
1741
1723
|
artifact: import("zod").ZodCustom<Blob, Blob>;
|
|
1742
1724
|
cancelExisting: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -2496,7 +2478,6 @@ export declare const firstPartyContract: {
|
|
|
2496
2478
|
projectId: import("zod").ZodString;
|
|
2497
2479
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2498
2480
|
id: import("zod").ZodString;
|
|
2499
|
-
txid: import("zod").ZodNumber;
|
|
2500
2481
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2501
2482
|
DEPLOYMENT_IN_PROGRESS: {
|
|
2502
2483
|
readonly data: import("zod").ZodObject<{
|
|
@@ -2539,7 +2520,12 @@ export declare const firstPartyContract: {
|
|
|
2539
2520
|
quarterly: "quarterly";
|
|
2540
2521
|
annual: "annual";
|
|
2541
2522
|
}>>;
|
|
2523
|
+
confirmImmediateChange: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
2542
2524
|
organizationId: import("zod").ZodString;
|
|
2525
|
+
plan: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
2526
|
+
starter: "starter";
|
|
2527
|
+
growth: "growth";
|
|
2528
|
+
}>>;
|
|
2543
2529
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2544
2530
|
url: import("zod").ZodURL;
|
|
2545
2531
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -2552,9 +2538,7 @@ export declare const firstPartyContract: {
|
|
|
2552
2538
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2553
2539
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2554
2540
|
organizationId: import("zod").ZodString;
|
|
2555
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
2556
|
-
txid: import("zod").ZodNumber;
|
|
2557
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2541
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2558
2542
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2559
2543
|
organizationId: import("zod").ZodString;
|
|
2560
2544
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2580,6 +2564,8 @@ export declare const firstPartyContract: {
|
|
|
2580
2564
|
executionRetentionDays: import("zod").ZodNumber;
|
|
2581
2565
|
plan: import("zod").ZodEnum<{
|
|
2582
2566
|
free: "free";
|
|
2567
|
+
starter: "starter";
|
|
2568
|
+
growth: "growth";
|
|
2583
2569
|
pro: "pro";
|
|
2584
2570
|
enterprise: "enterprise";
|
|
2585
2571
|
}>;
|
|
@@ -2675,6 +2661,8 @@ export declare const firstPartyContract: {
|
|
|
2675
2661
|
executionRetentionDays: import("zod").ZodNumber;
|
|
2676
2662
|
plan: import("zod").ZodEnum<{
|
|
2677
2663
|
free: "free";
|
|
2664
|
+
starter: "starter";
|
|
2665
|
+
growth: "growth";
|
|
2678
2666
|
pro: "pro";
|
|
2679
2667
|
enterprise: "enterprise";
|
|
2680
2668
|
}>;
|
|
@@ -2733,13 +2721,10 @@ export declare const firstPartyContract: {
|
|
|
2733
2721
|
id: import("zod").ZodString;
|
|
2734
2722
|
identityKey: import("zod").ZodString;
|
|
2735
2723
|
}, import("zod/v4/core").$strip>>;
|
|
2736
|
-
txid: import("zod").ZodNumber;
|
|
2737
2724
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2738
2725
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2739
2726
|
projectId: import("zod").ZodString;
|
|
2740
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
2741
|
-
txid: import("zod").ZodNumber;
|
|
2742
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2727
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2743
2728
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2744
2729
|
projectId: import("zod").ZodString;
|
|
2745
2730
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -2790,9 +2775,7 @@ export declare const firstPartyContract: {
|
|
|
2790
2775
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2791
2776
|
projectId: import("zod").ZodString;
|
|
2792
2777
|
name: import("zod").ZodString;
|
|
2793
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
2794
|
-
txid: import("zod").ZodNumber;
|
|
2795
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2778
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2796
2779
|
};
|
|
2797
2780
|
session: {
|
|
2798
2781
|
me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
@@ -2813,7 +2796,8 @@ export declare const firstPartyContract: {
|
|
|
2813
2796
|
label: import("zod").ZodString;
|
|
2814
2797
|
requiredPlan: import("zod").ZodEnum<{
|
|
2815
2798
|
free: "free";
|
|
2816
|
-
|
|
2799
|
+
starter: "starter";
|
|
2800
|
+
growth: "growth";
|
|
2817
2801
|
}>;
|
|
2818
2802
|
serviceId: import("zod").ZodString;
|
|
2819
2803
|
serviceName: import("zod").ZodString;
|
|
@@ -2824,7 +2808,6 @@ export declare const firstPartyContract: {
|
|
|
2824
2808
|
token: import("zod").ZodUUID;
|
|
2825
2809
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2826
2810
|
accountId: import("zod").ZodString;
|
|
2827
|
-
txid: import("zod").ZodNumber;
|
|
2828
2811
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2829
2812
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2830
2813
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -2850,9 +2833,7 @@ export declare const firstPartyContract: {
|
|
|
2850
2833
|
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2851
2834
|
accountId: import("zod").ZodString;
|
|
2852
2835
|
organizationId: import("zod").ZodString;
|
|
2853
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
2854
|
-
txid: import("zod").ZodNumber;
|
|
2855
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2836
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
2856
2837
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2857
2838
|
accountId: import("zod").ZodString;
|
|
2858
2839
|
organizationId: import("zod").ZodString;
|
|
@@ -2993,7 +2974,8 @@ export declare const firstPartyContract: {
|
|
|
2993
2974
|
name: import("zod").ZodString;
|
|
2994
2975
|
requiredPlan: import("zod").ZodEnum<{
|
|
2995
2976
|
free: "free";
|
|
2996
|
-
|
|
2977
|
+
starter: "starter";
|
|
2978
|
+
growth: "growth";
|
|
2997
2979
|
}>;
|
|
2998
2980
|
preferredConnectionMethodId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2999
2981
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -3073,7 +3055,6 @@ export declare const firstPartyContract: {
|
|
|
3073
3055
|
unsupported: "unsupported";
|
|
3074
3056
|
}>;
|
|
3075
3057
|
}, import("zod/v4/core").$strip>;
|
|
3076
|
-
txid: import("zod").ZodNumber;
|
|
3077
3058
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3078
3059
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3079
3060
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -3303,9 +3284,7 @@ export declare const firstPartyContract: {
|
|
|
3303
3284
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3304
3285
|
automation: import("zod").ZodString;
|
|
3305
3286
|
enabled: import("zod").ZodBoolean;
|
|
3306
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
3307
|
-
txid: import("zod").ZodNumber;
|
|
3308
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3287
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3309
3288
|
};
|
|
3310
3289
|
apiKey: {
|
|
3311
3290
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -3383,7 +3362,7 @@ export declare const firstPartyContract: {
|
|
|
3383
3362
|
}>;
|
|
3384
3363
|
url: import("zod").ZodURL;
|
|
3385
3364
|
}, import("zod/v4/core").$strip>>;
|
|
3386
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
3365
|
+
schemaVersion: import("zod").ZodLiteral<12>;
|
|
3387
3366
|
scope: import("zod").ZodObject<{
|
|
3388
3367
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3389
3368
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -3421,9 +3400,7 @@ export declare const contract: {
|
|
|
3421
3400
|
data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>;
|
|
3422
3401
|
deploymentId: import("zod").ZodString;
|
|
3423
3402
|
serviceId: import("zod").ZodString;
|
|
3424
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
3425
|
-
txid: import("zod").ZodNumber;
|
|
3426
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3403
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3427
3404
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3428
3405
|
deploymentId: import("zod").ZodString;
|
|
3429
3406
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -3461,9 +3438,7 @@ export declare const contract: {
|
|
|
3461
3438
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3462
3439
|
proceed: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3463
3440
|
deploymentId: import("zod").ZodString;
|
|
3464
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
3465
|
-
txid: import("zod").ZodNumber;
|
|
3466
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
3441
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
3467
3442
|
};
|
|
3468
3443
|
events: {
|
|
3469
3444
|
whatsappEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -7038,11 +7013,12 @@ export declare const contract: {
|
|
|
7038
7013
|
}>>]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
7039
7014
|
metaAdsEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
7040
7015
|
entry: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7041
|
-
changes: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7016
|
+
changes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7042
7017
|
field: import("zod").ZodString;
|
|
7043
7018
|
value: import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>;
|
|
7044
|
-
}, import("zod/v4/core").$strip
|
|
7019
|
+
}, import("zod/v4/core").$strip>>>;
|
|
7045
7020
|
id: import("zod").ZodString;
|
|
7021
|
+
messaging: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodOptional<import("zod").ZodCustom<import("@automate.ax/codec").Encodable, import("@automate.ax/codec").Encodable>>>>;
|
|
7046
7022
|
time: import("zod").ZodNumber;
|
|
7047
7023
|
}, import("zod/v4/core").$strip>>;
|
|
7048
7024
|
object: import("zod").ZodString;
|
|
@@ -9430,9 +9406,7 @@ export declare const contract: {
|
|
|
9430
9406
|
name: import("zod").ZodString;
|
|
9431
9407
|
value: import("zod").ZodBase64;
|
|
9432
9408
|
}, import("zod/v4/core").$strip>>;
|
|
9433
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
9434
|
-
txid: import("zod").ZodNumber;
|
|
9435
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
9409
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
9436
9410
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
9437
9411
|
artifact: import("zod").ZodCustom<Blob, Blob>;
|
|
9438
9412
|
cancelExisting: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
@@ -10192,7 +10166,6 @@ export declare const contract: {
|
|
|
10192
10166
|
projectId: import("zod").ZodString;
|
|
10193
10167
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10194
10168
|
id: import("zod").ZodString;
|
|
10195
|
-
txid: import("zod").ZodNumber;
|
|
10196
10169
|
}, import("zod/v4/core").$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10197
10170
|
DEPLOYMENT_IN_PROGRESS: {
|
|
10198
10171
|
readonly data: import("zod").ZodObject<{
|
|
@@ -10235,7 +10208,12 @@ export declare const contract: {
|
|
|
10235
10208
|
quarterly: "quarterly";
|
|
10236
10209
|
annual: "annual";
|
|
10237
10210
|
}>>;
|
|
10211
|
+
confirmImmediateChange: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
10238
10212
|
organizationId: import("zod").ZodString;
|
|
10213
|
+
plan: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
10214
|
+
starter: "starter";
|
|
10215
|
+
growth: "growth";
|
|
10216
|
+
}>>;
|
|
10239
10217
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10240
10218
|
url: import("zod").ZodURL;
|
|
10241
10219
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -10248,9 +10226,7 @@ export declare const contract: {
|
|
|
10248
10226
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10249
10227
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10250
10228
|
organizationId: import("zod").ZodString;
|
|
10251
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
10252
|
-
txid: import("zod").ZodNumber;
|
|
10253
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10229
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
10254
10230
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10255
10231
|
organizationId: import("zod").ZodString;
|
|
10256
10232
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -10276,6 +10252,8 @@ export declare const contract: {
|
|
|
10276
10252
|
executionRetentionDays: import("zod").ZodNumber;
|
|
10277
10253
|
plan: import("zod").ZodEnum<{
|
|
10278
10254
|
free: "free";
|
|
10255
|
+
starter: "starter";
|
|
10256
|
+
growth: "growth";
|
|
10279
10257
|
pro: "pro";
|
|
10280
10258
|
enterprise: "enterprise";
|
|
10281
10259
|
}>;
|
|
@@ -10371,6 +10349,8 @@ export declare const contract: {
|
|
|
10371
10349
|
executionRetentionDays: import("zod").ZodNumber;
|
|
10372
10350
|
plan: import("zod").ZodEnum<{
|
|
10373
10351
|
free: "free";
|
|
10352
|
+
starter: "starter";
|
|
10353
|
+
growth: "growth";
|
|
10374
10354
|
pro: "pro";
|
|
10375
10355
|
enterprise: "enterprise";
|
|
10376
10356
|
}>;
|
|
@@ -10429,13 +10409,10 @@ export declare const contract: {
|
|
|
10429
10409
|
id: import("zod").ZodString;
|
|
10430
10410
|
identityKey: import("zod").ZodString;
|
|
10431
10411
|
}, import("zod/v4/core").$strip>>;
|
|
10432
|
-
txid: import("zod").ZodNumber;
|
|
10433
10412
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10434
10413
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10435
10414
|
projectId: import("zod").ZodString;
|
|
10436
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
10437
|
-
txid: import("zod").ZodNumber;
|
|
10438
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10415
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
10439
10416
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10440
10417
|
projectId: import("zod").ZodString;
|
|
10441
10418
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
@@ -10486,9 +10463,7 @@ export declare const contract: {
|
|
|
10486
10463
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10487
10464
|
projectId: import("zod").ZodString;
|
|
10488
10465
|
name: import("zod").ZodString;
|
|
10489
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
10490
|
-
txid: import("zod").ZodNumber;
|
|
10491
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10466
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
10492
10467
|
};
|
|
10493
10468
|
session: {
|
|
10494
10469
|
me: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodObject<{
|
|
@@ -10509,7 +10484,8 @@ export declare const contract: {
|
|
|
10509
10484
|
label: import("zod").ZodString;
|
|
10510
10485
|
requiredPlan: import("zod").ZodEnum<{
|
|
10511
10486
|
free: "free";
|
|
10512
|
-
|
|
10487
|
+
starter: "starter";
|
|
10488
|
+
growth: "growth";
|
|
10513
10489
|
}>;
|
|
10514
10490
|
serviceId: import("zod").ZodString;
|
|
10515
10491
|
serviceName: import("zod").ZodString;
|
|
@@ -10520,7 +10496,6 @@ export declare const contract: {
|
|
|
10520
10496
|
token: import("zod").ZodUUID;
|
|
10521
10497
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10522
10498
|
accountId: import("zod").ZodString;
|
|
10523
|
-
txid: import("zod").ZodNumber;
|
|
10524
10499
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10525
10500
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10526
10501
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -10546,9 +10521,7 @@ export declare const contract: {
|
|
|
10546
10521
|
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10547
10522
|
accountId: import("zod").ZodString;
|
|
10548
10523
|
organizationId: import("zod").ZodString;
|
|
10549
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
10550
|
-
txid: import("zod").ZodNumber;
|
|
10551
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10524
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
10552
10525
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10553
10526
|
accountId: import("zod").ZodString;
|
|
10554
10527
|
organizationId: import("zod").ZodString;
|
|
@@ -10689,7 +10662,8 @@ export declare const contract: {
|
|
|
10689
10662
|
name: import("zod").ZodString;
|
|
10690
10663
|
requiredPlan: import("zod").ZodEnum<{
|
|
10691
10664
|
free: "free";
|
|
10692
|
-
|
|
10665
|
+
starter: "starter";
|
|
10666
|
+
growth: "growth";
|
|
10693
10667
|
}>;
|
|
10694
10668
|
preferredConnectionMethodId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10695
10669
|
}, import("zod/v4/core").$strip>>, Record<never, never>, Record<never, never>>;
|
|
@@ -10769,7 +10743,6 @@ export declare const contract: {
|
|
|
10769
10743
|
unsupported: "unsupported";
|
|
10770
10744
|
}>;
|
|
10771
10745
|
}, import("zod/v4/core").$strip>;
|
|
10772
|
-
txid: import("zod").ZodNumber;
|
|
10773
10746
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10774
10747
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
10775
10748
|
connectionMethodId: import("zod").ZodString;
|
|
@@ -10999,9 +10972,7 @@ export declare const contract: {
|
|
|
10999
10972
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
11000
10973
|
automation: import("zod").ZodString;
|
|
11001
10974
|
enabled: import("zod").ZodBoolean;
|
|
11002
|
-
}, import("zod/v4/core").$strip>, import("zod").
|
|
11003
|
-
txid: import("zod").ZodNumber;
|
|
11004
|
-
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
10975
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
|
|
11005
10976
|
};
|
|
11006
10977
|
apiKey: {
|
|
11007
10978
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
@@ -11079,7 +11050,7 @@ export declare const contract: {
|
|
|
11079
11050
|
}>;
|
|
11080
11051
|
url: import("zod").ZodURL;
|
|
11081
11052
|
}, import("zod/v4/core").$strip>>;
|
|
11082
|
-
schemaVersion: import("zod").ZodLiteral<
|
|
11053
|
+
schemaVersion: import("zod").ZodLiteral<12>;
|
|
11083
11054
|
scope: import("zod").ZodObject<{
|
|
11084
11055
|
organizationId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
11085
11056
|
projectId: import("zod").ZodNullable<import("zod").ZodString>;
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ export { AUTOMATION_ERROR_CAUSE_DEPTH, automationErrorSchema, } from "./errors.j
|
|
|
17
17
|
export { integrationAccountOutputSchema, integrationAccountRevocationImpactOutputSchema, integrationAccountRevocationOutputSchema, integrationServiceOutputSchema, } from "./account.js";
|
|
18
18
|
export { AUTOMATION_INVOCATION_DEFAULT_ENTRYPOINT, AUTOMATION_INVOCATION_RESERVED_ENTRYPOINT_PREFIX, AUTOMATION_IMAGE_GENERATION_ENTRYPOINT_PREFIX, AUTOMATION_LOG_MAX_ENTRIES, AUTOMATION_LOG_MAX_MESSAGE_LENGTH, AUTOMATION_OBSERVABILITY_MAX_ENCODED_BYTES, AUTOMATION_OBSERVABILITY_MAX_FIELDS, DEFAULT_GATEWAY_EVALUATION_MODEL_ID, DEFAULT_GATEWAY_IMAGE_MODEL_ID, DEFAULT_GATEWAY_MODEL_ID, DEFAULT_ACTION_MAX_ATTEMPTS, MAX_ACTION_ATTEMPTS, actionReplaySafetySchema, automationInvocationInputSchema, automationInvocationOutputSchema, automationInvocationScheduleSchema, evaluationInputSchema, evaluationResultSchema, generationInputSchema, generationResultSchema, imageGenerationInputSchema, imageGenerationCompletionSchema, imageGenerationResultSchema, platformImageGenerationInputSchema, platformImageGenerationStartSchema, hashSignalCoordinatorConfiguration, runtimeContract, } from "./runtime.js";
|
|
19
19
|
export { createdOrganizationApiKeyOutputSchema, organizationApiKeyOutputSchema, } from "./api-key.js";
|
|
20
|
-
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationRoles, organizationSummaryOutputSchema,
|
|
20
|
+
export { activeSubscriptionOutputSchema, createdInvitationOutputSchema, organizationDetailsOutputSchema, organizationInvitationOutputSchema, organizationMemberOutputSchema, organizationProjectOutputSchema, organizationRoleSchema, organizationRoles, organizationSummaryOutputSchema, billingPeriodSchema, paidBillingPlanSchema, publicOrganizationOutputSchema, } from "./org.js";
|
|
21
21
|
export { projectOutputSchema } from "./project.js";
|
|
22
22
|
export { cursorPageInfoSchema, cursorPageOutputSchema, cursorPaginationInputSchema, reasonableNameSchema, } from "./schemas.js";
|
|
23
23
|
export { userOutputSchema } from "./auth.js";
|
package/dist/org.d.ts
CHANGED
|
@@ -4,12 +4,17 @@ export declare const organizationRoleSchema: z.ZodEnum<{
|
|
|
4
4
|
member: "member";
|
|
5
5
|
admin: "admin";
|
|
6
6
|
}>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const billingPeriodSchema: z.ZodEnum<{
|
|
8
8
|
monthly: "monthly";
|
|
9
9
|
quarterly: "quarterly";
|
|
10
10
|
annual: "annual";
|
|
11
11
|
}>;
|
|
12
|
-
export type
|
|
12
|
+
export type BillingPeriod = z.infer<typeof billingPeriodSchema>;
|
|
13
|
+
export declare const paidBillingPlanSchema: z.ZodEnum<{
|
|
14
|
+
starter: "starter";
|
|
15
|
+
growth: "growth";
|
|
16
|
+
}>;
|
|
17
|
+
export type PaidBillingPlan = z.infer<typeof paidBillingPlanSchema>;
|
|
13
18
|
export { organizationRoles };
|
|
14
19
|
export declare const publicOrganizationOutputSchema: z.ZodObject<{
|
|
15
20
|
id: z.ZodString;
|
|
@@ -45,6 +50,8 @@ export declare const organizationSummaryOutputSchema: z.ZodObject<{
|
|
|
45
50
|
executionRetentionDays: z.ZodNumber;
|
|
46
51
|
plan: z.ZodEnum<{
|
|
47
52
|
free: "free";
|
|
53
|
+
starter: "starter";
|
|
54
|
+
growth: "growth";
|
|
48
55
|
pro: "pro";
|
|
49
56
|
enterprise: "enterprise";
|
|
50
57
|
}>;
|
|
@@ -115,6 +122,8 @@ export declare const organizationDetailsOutputSchema: z.ZodObject<{
|
|
|
115
122
|
executionRetentionDays: z.ZodNumber;
|
|
116
123
|
plan: z.ZodEnum<{
|
|
117
124
|
free: "free";
|
|
125
|
+
starter: "starter";
|
|
126
|
+
growth: "growth";
|
|
118
127
|
pro: "pro";
|
|
119
128
|
enterprise: "enterprise";
|
|
120
129
|
}>;
|
|
@@ -186,7 +195,12 @@ export declare const orgContract: {
|
|
|
186
195
|
quarterly: "quarterly";
|
|
187
196
|
annual: "annual";
|
|
188
197
|
}>>;
|
|
198
|
+
confirmImmediateChange: z.ZodDefault<z.ZodBoolean>;
|
|
189
199
|
organizationId: z.ZodString;
|
|
200
|
+
plan: z.ZodDefault<z.ZodEnum<{
|
|
201
|
+
starter: "starter";
|
|
202
|
+
growth: "growth";
|
|
203
|
+
}>>;
|
|
190
204
|
}, z.core.$strip>, z.ZodObject<{
|
|
191
205
|
url: z.ZodURL;
|
|
192
206
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
@@ -199,9 +213,7 @@ export declare const orgContract: {
|
|
|
199
213
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
200
214
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
201
215
|
organizationId: z.ZodString;
|
|
202
|
-
}, z.core.$strip>, z.
|
|
203
|
-
txid: z.ZodNumber;
|
|
204
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
216
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
205
217
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
206
218
|
organizationId: z.ZodString;
|
|
207
219
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -227,6 +239,8 @@ export declare const orgContract: {
|
|
|
227
239
|
executionRetentionDays: z.ZodNumber;
|
|
228
240
|
plan: z.ZodEnum<{
|
|
229
241
|
free: "free";
|
|
242
|
+
starter: "starter";
|
|
243
|
+
growth: "growth";
|
|
230
244
|
pro: "pro";
|
|
231
245
|
enterprise: "enterprise";
|
|
232
246
|
}>;
|
|
@@ -322,6 +336,8 @@ export declare const orgContract: {
|
|
|
322
336
|
executionRetentionDays: z.ZodNumber;
|
|
323
337
|
plan: z.ZodEnum<{
|
|
324
338
|
free: "free";
|
|
339
|
+
starter: "starter";
|
|
340
|
+
growth: "growth";
|
|
325
341
|
pro: "pro";
|
|
326
342
|
enterprise: "enterprise";
|
|
327
343
|
}>;
|
package/dist/org.js
CHANGED
|
@@ -3,7 +3,8 @@ import * as z from "zod";
|
|
|
3
3
|
import { cursorPageOutputSchema, cursorPaginationInputSchema, reasonableNameSchema, } from "./schemas.js";
|
|
4
4
|
import { organizationRoles } from "./permissions.js";
|
|
5
5
|
export const organizationRoleSchema = z.enum(organizationRoles);
|
|
6
|
-
export const
|
|
6
|
+
export const billingPeriodSchema = z.enum(["monthly", "quarterly", "annual"]);
|
|
7
|
+
export const paidBillingPlanSchema = z.enum(["starter", "growth"]);
|
|
7
8
|
export { organizationRoles };
|
|
8
9
|
export const publicOrganizationOutputSchema = z.object({
|
|
9
10
|
id: z.string(),
|
|
@@ -28,7 +29,7 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
28
29
|
projectCount: z.number(),
|
|
29
30
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
30
31
|
executionRetentionDays: z.number().int().positive(),
|
|
31
|
-
plan: z.enum(["free", "pro", "enterprise"]),
|
|
32
|
+
plan: z.enum(["free", "pro", "starter", "growth", "enterprise"]),
|
|
32
33
|
limits: z.object({
|
|
33
34
|
aiSpendUsd: z.number(),
|
|
34
35
|
automationRuntimeMinutes: z.number(),
|
|
@@ -87,8 +88,10 @@ export const orgContract = {
|
|
|
87
88
|
.output(z.object({ url: z.url() })),
|
|
88
89
|
createCheckout: oc
|
|
89
90
|
.input(z.object({
|
|
90
|
-
billingPeriod:
|
|
91
|
+
billingPeriod: billingPeriodSchema.default("monthly"),
|
|
92
|
+
confirmImmediateChange: z.boolean().default(false),
|
|
91
93
|
organizationId: z.string(),
|
|
94
|
+
plan: paidBillingPlanSchema.default("starter"),
|
|
92
95
|
}))
|
|
93
96
|
.output(z.object({ url: z.url() })),
|
|
94
97
|
create: oc
|
|
@@ -117,7 +120,7 @@ export const orgContract = {
|
|
|
117
120
|
tags: ["Organizations"],
|
|
118
121
|
})
|
|
119
122
|
.input(z.object({ organizationId: z.string() }))
|
|
120
|
-
.output(z.
|
|
123
|
+
.output(z.void()),
|
|
121
124
|
get: oc
|
|
122
125
|
.route({
|
|
123
126
|
method: "GET",
|
package/dist/project.d.ts
CHANGED
|
@@ -40,7 +40,6 @@ export declare const projectContract: {
|
|
|
40
40
|
id: z.ZodString;
|
|
41
41
|
identityKey: z.ZodString;
|
|
42
42
|
}, z.core.$strip>>;
|
|
43
|
-
txid: z.ZodNumber;
|
|
44
43
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
45
44
|
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodPrefault<z.ZodObject<{
|
|
46
45
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -92,12 +91,8 @@ export declare const projectContract: {
|
|
|
92
91
|
update: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
93
92
|
projectId: z.ZodString;
|
|
94
93
|
name: z.ZodString;
|
|
95
|
-
}, z.core.$strip>, z.
|
|
96
|
-
txid: z.ZodNumber;
|
|
97
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
94
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
98
95
|
delete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
99
96
|
projectId: z.ZodString;
|
|
100
|
-
}, z.core.$strip>, z.
|
|
101
|
-
txid: z.ZodNumber;
|
|
102
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
97
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
103
98
|
};
|
package/dist/project.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { oc } from "@orpc/contract";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { cursorPageOutputSchema, cursorPaginationInputSchema, reasonableNameSchema, } from "./schemas.js";
|
|
4
|
-
const TRANSACTION_OUTPUT_SCHEMA = z.object({
|
|
5
|
-
txid: z.number().int().nonnegative(),
|
|
6
|
-
});
|
|
7
4
|
export const projectOutputSchema = z.object({
|
|
8
5
|
activeDeploymentId: z.string().nullable(),
|
|
9
6
|
id: z.string(),
|
|
@@ -43,7 +40,7 @@ export const projectContract = {
|
|
|
43
40
|
organizationId: z.string(),
|
|
44
41
|
name: reasonableNameSchema,
|
|
45
42
|
}))
|
|
46
|
-
.output(projectOutputSchema
|
|
43
|
+
.output(projectOutputSchema),
|
|
47
44
|
list: oc
|
|
48
45
|
.route({
|
|
49
46
|
method: "GET",
|
|
@@ -84,7 +81,7 @@ export const projectContract = {
|
|
|
84
81
|
projectId: z.string(),
|
|
85
82
|
name: reasonableNameSchema,
|
|
86
83
|
}))
|
|
87
|
-
.output(
|
|
84
|
+
.output(z.void()),
|
|
88
85
|
delete: oc
|
|
89
86
|
.route({
|
|
90
87
|
method: "DELETE",
|
|
@@ -95,5 +92,5 @@ export const projectContract = {
|
|
|
95
92
|
tags: ["Projects"],
|
|
96
93
|
})
|
|
97
94
|
.input(z.object({ projectId: z.string() }))
|
|
98
|
-
.output(
|
|
95
|
+
.output(z.void()),
|
|
99
96
|
};
|
package/package.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automate.ax/api-contract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.163.0",
|
|
4
4
|
"description": "Public oRPC contract for the Automate.ax API.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/zachsents/automate.ax.git",
|
|
9
|
-
"directory": "packages/api-contract"
|
|
10
|
-
},
|
|
11
|
-
"homepage": "https://automate.ax",
|
|
12
|
-
"bugs": {
|
|
13
|
-
"url": "https://github.com/zachsents/automate.ax/issues"
|
|
14
|
-
},
|
|
6
|
+
"homepage": "https://docs.automate.ax",
|
|
15
7
|
"type": "module",
|
|
16
8
|
"publishConfig": {
|
|
17
9
|
"access": "public"
|
|
@@ -31,9 +23,9 @@
|
|
|
31
23
|
},
|
|
32
24
|
"dependencies": {
|
|
33
25
|
"@ai-sdk/gateway": "4.0.87",
|
|
34
|
-
"@automate.ax/catalog": "0.
|
|
35
|
-
"@automate.ax/codec": "0.
|
|
36
|
-
"@automate.ax/integration-contracts": "0.
|
|
26
|
+
"@automate.ax/catalog": "0.163.0",
|
|
27
|
+
"@automate.ax/codec": "0.163.0",
|
|
28
|
+
"@automate.ax/integration-contracts": "0.163.0",
|
|
37
29
|
"@orpc/contract": "1.15.0",
|
|
38
30
|
"fast-json-stable-stringify": "^2.1.0",
|
|
39
31
|
"zod": "^4.3.6"
|
package/src/account.ts
CHANGED
|
@@ -69,7 +69,7 @@ export const integrationServiceOutputSchema = z.object({
|
|
|
69
69
|
icon: z.string().optional(),
|
|
70
70
|
id: z.string(),
|
|
71
71
|
name: z.string(),
|
|
72
|
-
requiredPlan: z.enum(["free", "
|
|
72
|
+
requiredPlan: z.enum(["free", "starter", "growth"]),
|
|
73
73
|
preferredConnectionMethodId: z.string().optional(),
|
|
74
74
|
})
|
|
75
75
|
|
|
@@ -181,7 +181,7 @@ export const accountContract = {
|
|
|
181
181
|
z.object({
|
|
182
182
|
expiresAt: z.date(),
|
|
183
183
|
label: z.string(),
|
|
184
|
-
requiredPlan: z.enum(["free", "
|
|
184
|
+
requiredPlan: z.enum(["free", "starter", "growth"]),
|
|
185
185
|
serviceId: z.string(),
|
|
186
186
|
serviceName: z.string(),
|
|
187
187
|
serviceSub: z.string(),
|
|
@@ -196,7 +196,7 @@ export const accountContract = {
|
|
|
196
196
|
tags: ["Integration Accounts"],
|
|
197
197
|
})
|
|
198
198
|
.input(z.object({ organizationId: z.string(), token: z.uuid() }))
|
|
199
|
-
.output(z.object({ accountId: z.string()
|
|
199
|
+
.output(z.object({ accountId: z.string() })),
|
|
200
200
|
beginConnection: oc
|
|
201
201
|
.route({
|
|
202
202
|
description: "Starts an OAuth-style organization account connection.",
|
|
@@ -252,7 +252,7 @@ export const accountContract = {
|
|
|
252
252
|
tags: ["Integration Accounts"],
|
|
253
253
|
})
|
|
254
254
|
.input(organizationAccountInputSchema)
|
|
255
|
-
.output(z.
|
|
255
|
+
.output(z.void()),
|
|
256
256
|
get: oc
|
|
257
257
|
.route({
|
|
258
258
|
description: "Returns one integration account linked to an organization.",
|
|
@@ -318,7 +318,6 @@ export const accountContract = {
|
|
|
318
318
|
.output(
|
|
319
319
|
z.object({
|
|
320
320
|
revocation: integrationAccountRevocationOutputSchema,
|
|
321
|
-
txid: z.number().int().nonnegative(),
|
|
322
321
|
}),
|
|
323
322
|
),
|
|
324
323
|
submitCredentials: oc
|
package/src/authorization.ts
CHANGED
|
@@ -110,7 +110,7 @@ export const authorizationContract = {
|
|
|
110
110
|
tags: ["Deployments"],
|
|
111
111
|
})
|
|
112
112
|
.input(z.object({ deploymentId: z.string() }))
|
|
113
|
-
.output(z.
|
|
113
|
+
.output(z.void()),
|
|
114
114
|
submitCredentials: oc
|
|
115
115
|
.input(
|
|
116
116
|
z.object({
|
|
@@ -124,7 +124,7 @@ export const authorizationContract = {
|
|
|
124
124
|
serviceId: z.string().min(1),
|
|
125
125
|
}),
|
|
126
126
|
)
|
|
127
|
-
.output(z.
|
|
127
|
+
.output(z.void()),
|
|
128
128
|
selectAccount: oc
|
|
129
129
|
.input(
|
|
130
130
|
z.object({
|
package/src/automation.ts
CHANGED
package/src/deployment.ts
CHANGED
|
@@ -150,7 +150,7 @@ export const deploymentContract = {
|
|
|
150
150
|
values: DEPLOYMENT_PARAMETER_VALUES_SCHEMA,
|
|
151
151
|
}),
|
|
152
152
|
)
|
|
153
|
-
.output(z.
|
|
153
|
+
.output(z.void()),
|
|
154
154
|
create: oc
|
|
155
155
|
.errors({
|
|
156
156
|
DEPLOYMENT_IN_PROGRESS: DEPLOYMENT_IN_PROGRESS_ERROR,
|
|
@@ -274,5 +274,5 @@ export const deploymentContract = {
|
|
|
274
274
|
projectId: z.string(),
|
|
275
275
|
}),
|
|
276
276
|
)
|
|
277
|
-
.output(z.object({ id: z.string()
|
|
277
|
+
.output(z.object({ id: z.string() })),
|
|
278
278
|
}
|
package/src/events/meta-ads.ts
CHANGED
|
@@ -5,7 +5,8 @@ import * as z from "zod"
|
|
|
5
5
|
export const metaAdsEventsContract = {
|
|
6
6
|
metaAdsEvent: oc
|
|
7
7
|
.route({
|
|
8
|
-
description:
|
|
8
|
+
description:
|
|
9
|
+
"Receives and authenticates Meta Ads, Lead Ads, Page, Messenger, and Instagram webhooks.",
|
|
9
10
|
method: "POST",
|
|
10
11
|
operationId: "receiveMetaAdsEvent",
|
|
11
12
|
path: "/events/meta-ads",
|
package/src/execution-data.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { oc } from "@orpc/contract"
|
|
2
2
|
import { z } from "zod"
|
|
3
3
|
|
|
4
|
-
export const EXECUTION_DATASET_VERSION =
|
|
4
|
+
export const EXECUTION_DATASET_VERSION = 12
|
|
5
5
|
|
|
6
6
|
export const executionDatasetResourceSchema = z.enum([
|
|
7
7
|
"projects",
|
|
@@ -63,7 +63,7 @@ export const executionDataContract = {
|
|
|
63
63
|
operationId: "getExecutionDataManifest",
|
|
64
64
|
summary: "Get execution data manifest",
|
|
65
65
|
description:
|
|
66
|
-
"Returns authenticated
|
|
66
|
+
"Returns authenticated JSON snapshot resources for a validated execution-data scope.",
|
|
67
67
|
tags: ["Execution data"],
|
|
68
68
|
})
|
|
69
69
|
.input(
|
package/src/index.ts
CHANGED
|
@@ -106,9 +106,11 @@ export {
|
|
|
106
106
|
organizationRoleSchema,
|
|
107
107
|
organizationRoles,
|
|
108
108
|
organizationSummaryOutputSchema,
|
|
109
|
-
|
|
109
|
+
billingPeriodSchema,
|
|
110
|
+
paidBillingPlanSchema,
|
|
110
111
|
publicOrganizationOutputSchema,
|
|
111
|
-
type
|
|
112
|
+
type BillingPeriod,
|
|
113
|
+
type PaidBillingPlan,
|
|
112
114
|
} from "./org"
|
|
113
115
|
export { projectOutputSchema } from "./project"
|
|
114
116
|
export {
|
package/src/org.ts
CHANGED
|
@@ -8,8 +8,10 @@ import {
|
|
|
8
8
|
import { organizationRoles } from "./permissions"
|
|
9
9
|
|
|
10
10
|
export const organizationRoleSchema = z.enum(organizationRoles)
|
|
11
|
-
export const
|
|
12
|
-
export type
|
|
11
|
+
export const billingPeriodSchema = z.enum(["monthly", "quarterly", "annual"])
|
|
12
|
+
export type BillingPeriod = z.infer<typeof billingPeriodSchema>
|
|
13
|
+
export const paidBillingPlanSchema = z.enum(["starter", "growth"])
|
|
14
|
+
export type PaidBillingPlan = z.infer<typeof paidBillingPlanSchema>
|
|
13
15
|
|
|
14
16
|
export { organizationRoles }
|
|
15
17
|
|
|
@@ -38,7 +40,7 @@ export const organizationSummaryOutputSchema = z.object({
|
|
|
38
40
|
projectCount: z.number(),
|
|
39
41
|
activeSubscription: activeSubscriptionOutputSchema.nullable(),
|
|
40
42
|
executionRetentionDays: z.number().int().positive(),
|
|
41
|
-
plan: z.enum(["free", "pro", "enterprise"]),
|
|
43
|
+
plan: z.enum(["free", "pro", "starter", "growth", "enterprise"]),
|
|
42
44
|
limits: z.object({
|
|
43
45
|
aiSpendUsd: z.number(),
|
|
44
46
|
automationRuntimeMinutes: z.number(),
|
|
@@ -105,8 +107,10 @@ export const orgContract = {
|
|
|
105
107
|
createCheckout: oc
|
|
106
108
|
.input(
|
|
107
109
|
z.object({
|
|
108
|
-
billingPeriod:
|
|
110
|
+
billingPeriod: billingPeriodSchema.default("monthly"),
|
|
111
|
+
confirmImmediateChange: z.boolean().default(false),
|
|
109
112
|
organizationId: z.string(),
|
|
113
|
+
plan: paidBillingPlanSchema.default("starter"),
|
|
110
114
|
}),
|
|
111
115
|
)
|
|
112
116
|
.output(z.object({ url: z.url() })),
|
|
@@ -140,7 +144,7 @@ export const orgContract = {
|
|
|
140
144
|
tags: ["Organizations"],
|
|
141
145
|
})
|
|
142
146
|
.input(z.object({ organizationId: z.string() }))
|
|
143
|
-
.output(z.
|
|
147
|
+
.output(z.void()),
|
|
144
148
|
get: oc
|
|
145
149
|
.route({
|
|
146
150
|
method: "GET",
|
package/src/project.ts
CHANGED
|
@@ -6,10 +6,6 @@ import {
|
|
|
6
6
|
reasonableNameSchema,
|
|
7
7
|
} from "./schemas"
|
|
8
8
|
|
|
9
|
-
const TRANSACTION_OUTPUT_SCHEMA = z.object({
|
|
10
|
-
txid: z.number().int().nonnegative(),
|
|
11
|
-
})
|
|
12
|
-
|
|
13
9
|
export const projectOutputSchema = z.object({
|
|
14
10
|
activeDeploymentId: z.string().nullable(),
|
|
15
11
|
id: z.string(),
|
|
@@ -53,7 +49,7 @@ export const projectContract = {
|
|
|
53
49
|
name: reasonableNameSchema,
|
|
54
50
|
}),
|
|
55
51
|
)
|
|
56
|
-
.output(projectOutputSchema
|
|
52
|
+
.output(projectOutputSchema),
|
|
57
53
|
list: oc
|
|
58
54
|
.route({
|
|
59
55
|
method: "GET",
|
|
@@ -100,7 +96,7 @@ export const projectContract = {
|
|
|
100
96
|
name: reasonableNameSchema,
|
|
101
97
|
}),
|
|
102
98
|
)
|
|
103
|
-
.output(
|
|
99
|
+
.output(z.void()),
|
|
104
100
|
delete: oc
|
|
105
101
|
.route({
|
|
106
102
|
method: "DELETE",
|
|
@@ -111,5 +107,5 @@ export const projectContract = {
|
|
|
111
107
|
tags: ["Projects"],
|
|
112
108
|
})
|
|
113
109
|
.input(z.object({ projectId: z.string() }))
|
|
114
|
-
.output(
|
|
110
|
+
.output(z.void()),
|
|
115
111
|
}
|