@automate.ax/api-contract 0.161.0 → 0.163.1
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 +1 -5
- package/dist/account.js +2 -3
- 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/highlevel.d.ts +1 -541
- package/dist/events/highlevel.js +1 -2
- package/dist/events/index.d.ts +5 -544
- package/dist/events/meta-ads.d.ts +3 -2
- package/dist/events/meta-ads.js +1 -1
- package/dist/events/microsoft.d.ts +1 -1
- package/dist/execution-data.d.ts +3 -3
- package/dist/execution-data.js +2 -2
- package/dist/index.d.ts +31 -628
- package/dist/org.d.ts +1 -3
- package/dist/org.js +1 -1
- package/dist/project.d.ts +2 -7
- package/dist/project.js +3 -6
- package/package.json +5 -13
- package/src/account.ts +2 -3
- package/src/authorization.ts +2 -2
- package/src/automation.ts +1 -5
- package/src/deployment.ts +2 -2
- package/src/events/highlevel.ts +1 -7
- package/src/events/meta-ads.ts +2 -1
- package/src/execution-data.ts +2 -2
- package/src/org.ts +1 -1
- package/src/project.ts +3 -7
package/dist/account.d.ts
CHANGED
|
@@ -200,7 +200,6 @@ export declare const accountContract: {
|
|
|
200
200
|
token: z.ZodUUID;
|
|
201
201
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
202
|
accountId: z.ZodString;
|
|
203
|
-
txid: z.ZodNumber;
|
|
204
203
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
205
204
|
beginConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
206
205
|
connectionMethodId: z.ZodString;
|
|
@@ -226,9 +225,7 @@ export declare const accountContract: {
|
|
|
226
225
|
disconnect: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
227
226
|
accountId: z.ZodString;
|
|
228
227
|
organizationId: z.ZodString;
|
|
229
|
-
}, z.core.$strip>, z.
|
|
230
|
-
txid: z.ZodNumber;
|
|
231
|
-
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
228
|
+
}, z.core.$strip>, z.ZodVoid, Record<never, never>, Record<never, never>>;
|
|
232
229
|
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
233
230
|
accountId: z.ZodString;
|
|
234
231
|
organizationId: z.ZodString;
|
|
@@ -450,7 +447,6 @@ export declare const accountContract: {
|
|
|
450
447
|
unsupported: "unsupported";
|
|
451
448
|
}>;
|
|
452
449
|
}, z.core.$strip>;
|
|
453
|
-
txid: z.ZodNumber;
|
|
454
450
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
455
451
|
submitCredentials: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
456
452
|
connectionMethodId: z.ZodString;
|
package/dist/account.js
CHANGED
|
@@ -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
|
};
|