@cargo-ai/api 1.0.33 → 1.0.34
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/build/src/domains/ai.d.ts +1 -1
- package/build/src/domains/orchestration.d.ts +9 -9
- package/build/src/domains/segmentation.d.ts +1 -1
- package/build/src/domains/storage.d.ts +28 -28
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/build/src/api/ignition/index.d.ts +0 -17
- package/build/src/api/ignition/index.d.ts.map +0 -1
- package/build/src/api/ignition/index.js +0 -65
- package/build/src/domains/ignition.d.ts +0 -74
- package/build/src/domains/ignition.d.ts.map +0 -1
- package/build/src/domains/ignition.js +0 -21
- package/build/src/version.d.ts +0 -3
- package/build/src/version.d.ts.map +0 -1
- package/build/src/version.js +0 -3
|
@@ -463,7 +463,7 @@ export declare namespace Ai {
|
|
|
463
463
|
agentUuid?: string | undefined;
|
|
464
464
|
releaseUuid?: string | undefined;
|
|
465
465
|
userUuid?: string | undefined;
|
|
466
|
-
triggerType?: "
|
|
466
|
+
triggerType?: "draft" | "chat" | "connector" | "web_extension" | "app" | "workflow" | "schedule" | undefined;
|
|
467
467
|
messageStatuses?: AiTypes.MessageStatus[] | undefined;
|
|
468
468
|
name?: string | undefined;
|
|
469
469
|
createdAfter?: string | undefined;
|
|
@@ -158,10 +158,10 @@ export declare namespace Orchestration {
|
|
|
158
158
|
play: Play;
|
|
159
159
|
};
|
|
160
160
|
export const zodCreatePlayErrorReason: z.ZodEnum<{
|
|
161
|
-
connectorNotFound: "connectorNotFound";
|
|
162
|
-
integrationNotFound: "integrationNotFound";
|
|
163
161
|
folderNotFound: "folderNotFound";
|
|
164
162
|
modelNotFound: "modelNotFound";
|
|
163
|
+
connectorNotFound: "connectorNotFound";
|
|
164
|
+
integrationNotFound: "integrationNotFound";
|
|
165
165
|
integrationNotCompatible: "integrationNotCompatible";
|
|
166
166
|
failedToSchedule: "failedToSchedule";
|
|
167
167
|
invalidFilter: "invalidFilter";
|
|
@@ -200,10 +200,10 @@ export declare namespace Orchestration {
|
|
|
200
200
|
play: Play;
|
|
201
201
|
};
|
|
202
202
|
export const zodUpdatePlayErrorReason: z.ZodEnum<{
|
|
203
|
-
connectorNotFound: "connectorNotFound";
|
|
204
|
-
integrationNotFound: "integrationNotFound";
|
|
205
203
|
folderNotFound: "folderNotFound";
|
|
206
204
|
modelNotFound: "modelNotFound";
|
|
205
|
+
connectorNotFound: "connectorNotFound";
|
|
206
|
+
integrationNotFound: "integrationNotFound";
|
|
207
207
|
integrationNotCompatible: "integrationNotCompatible";
|
|
208
208
|
failedToSchedule: "failedToSchedule";
|
|
209
209
|
invalidFilter: "invalidFilter";
|
|
@@ -553,9 +553,9 @@ export declare namespace Orchestration {
|
|
|
553
553
|
schema: JsonSchema;
|
|
554
554
|
};
|
|
555
555
|
export const zodGetActionOutputSchemaErrorReason: z.ZodEnum<{
|
|
556
|
+
releaseNotFound: "releaseNotFound";
|
|
556
557
|
connectorNotFound: "connectorNotFound";
|
|
557
558
|
integrationNotFound: "integrationNotFound";
|
|
558
|
-
releaseNotFound: "releaseNotFound";
|
|
559
559
|
actionNotFound: "actionNotFound";
|
|
560
560
|
actionHasNoOutput: "actionHasNoOutput";
|
|
561
561
|
failedToGetSchema: "failedToGetSchema";
|
|
@@ -1021,8 +1021,8 @@ export declare namespace Orchestration {
|
|
|
1021
1021
|
hasRuns?: boolean | undefined;
|
|
1022
1022
|
isSkipped?: boolean | undefined;
|
|
1023
1023
|
isFinished?: boolean | undefined;
|
|
1024
|
-
includedDataKinds?: ("filter" | "
|
|
1025
|
-
excludedDataKinds?: ("filter" | "
|
|
1024
|
+
includedDataKinds?: ("filter" | "schedule" | "runs" | "file" | "records" | "segment" | "change" | "recordIds" | "form" | "group" | "watchedRecords")[] | undefined;
|
|
1025
|
+
excludedDataKinds?: ("filter" | "schedule" | "runs" | "file" | "records" | "segment" | "change" | "recordIds" | "form" | "group" | "watchedRecords")[] | undefined;
|
|
1026
1026
|
limit?: number | undefined;
|
|
1027
1027
|
offset?: number | undefined;
|
|
1028
1028
|
}];
|
|
@@ -1210,7 +1210,7 @@ export declare namespace Orchestration {
|
|
|
1210
1210
|
parentNodeUuid?: string | undefined;
|
|
1211
1211
|
parentAgentUuid?: string | undefined;
|
|
1212
1212
|
nodeUuid?: string | undefined;
|
|
1213
|
-
nodeKind?: "
|
|
1213
|
+
nodeKind?: "agent" | "connector" | "native" | "tool" | undefined;
|
|
1214
1214
|
nodeSlug?: string | undefined;
|
|
1215
1215
|
nodeIntegrationSlug?: string | undefined;
|
|
1216
1216
|
nodeConnectorUuid?: string | undefined;
|
|
@@ -1237,7 +1237,7 @@ export declare namespace Orchestration {
|
|
|
1237
1237
|
parentNodeUuid?: string | undefined;
|
|
1238
1238
|
parentAgentUuid?: string | undefined;
|
|
1239
1239
|
nodeUuid?: string | undefined;
|
|
1240
|
-
nodeKind?: "
|
|
1240
|
+
nodeKind?: "agent" | "connector" | "native" | "tool" | undefined;
|
|
1241
1241
|
nodeSlug?: string | undefined;
|
|
1242
1242
|
nodeIntegrationSlug?: string | undefined;
|
|
1243
1243
|
nodeConnectorUuid?: string | undefined;
|
|
@@ -97,12 +97,12 @@ export declare namespace Storage {
|
|
|
97
97
|
model: Model;
|
|
98
98
|
};
|
|
99
99
|
const zodCreateModelErrorReason: z.ZodEnum<{
|
|
100
|
-
connectorNotFound: "connectorNotFound";
|
|
101
|
-
integrationNotFound: "integrationNotFound";
|
|
102
100
|
folderNotFound: "folderNotFound";
|
|
103
101
|
datasetNotFound: "datasetNotFound";
|
|
104
102
|
duplicateSlug: "duplicateSlug";
|
|
105
103
|
modelNotCompatible: "modelNotCompatible";
|
|
104
|
+
connectorNotFound: "connectorNotFound";
|
|
105
|
+
integrationNotFound: "integrationNotFound";
|
|
106
106
|
integrationNotCompatible: "integrationNotCompatible";
|
|
107
107
|
failedToSchedule: "failedToSchedule";
|
|
108
108
|
folderNotCompatible: "folderNotCompatible";
|
|
@@ -124,11 +124,11 @@ export declare namespace Storage {
|
|
|
124
124
|
model: Model;
|
|
125
125
|
};
|
|
126
126
|
const zodUpdateModelErrorReason: z.ZodEnum<{
|
|
127
|
-
connectorNotFound: "connectorNotFound";
|
|
128
|
-
integrationNotFound: "integrationNotFound";
|
|
129
127
|
folderNotFound: "folderNotFound";
|
|
130
128
|
modelNotFound: "modelNotFound";
|
|
131
129
|
datasetNotFound: "datasetNotFound";
|
|
130
|
+
connectorNotFound: "connectorNotFound";
|
|
131
|
+
integrationNotFound: "integrationNotFound";
|
|
132
132
|
failedToSchedule: "failedToSchedule";
|
|
133
133
|
folderNotCompatible: "folderNotCompatible";
|
|
134
134
|
scheduleNotCompatible: "scheduleNotCompatible";
|
|
@@ -137,19 +137,19 @@ export declare namespace Storage {
|
|
|
137
137
|
model: Model;
|
|
138
138
|
};
|
|
139
139
|
const zodRefreshModelErrorReason: z.ZodEnum<{
|
|
140
|
-
connectorNotFound: "connectorNotFound";
|
|
141
|
-
integrationNotFound: "integrationNotFound";
|
|
142
140
|
modelNotFound: "modelNotFound";
|
|
143
141
|
datasetNotFound: "datasetNotFound";
|
|
142
|
+
connectorNotFound: "connectorNotFound";
|
|
143
|
+
integrationNotFound: "integrationNotFound";
|
|
144
144
|
alreadySyncing: "alreadySyncing";
|
|
145
145
|
failedToSyncFromClient: "failedToSyncFromClient";
|
|
146
146
|
}>;
|
|
147
147
|
const zodRemoveModelErrorReason: z.ZodEnum<{
|
|
148
|
-
connectorNotFound: "connectorNotFound";
|
|
149
|
-
integrationNotFound: "integrationNotFound";
|
|
150
148
|
modelNotFound: "modelNotFound";
|
|
151
149
|
datasetNotFound: "datasetNotFound";
|
|
152
150
|
modelNotCompatible: "modelNotCompatible";
|
|
151
|
+
connectorNotFound: "connectorNotFound";
|
|
152
|
+
integrationNotFound: "integrationNotFound";
|
|
153
153
|
hasSegments: "hasSegments";
|
|
154
154
|
hasWorkflows: "hasWorkflows";
|
|
155
155
|
invalidConfig: "invalidConfig";
|
|
@@ -214,11 +214,11 @@ export declare namespace Storage {
|
|
|
214
214
|
run: Run;
|
|
215
215
|
};
|
|
216
216
|
const zodCreateRunErrorReason: z.ZodEnum<{
|
|
217
|
-
connectorNotFound: "connectorNotFound";
|
|
218
|
-
integrationNotFound: "integrationNotFound";
|
|
219
217
|
modelNotFound: "modelNotFound";
|
|
220
218
|
datasetNotFound: "datasetNotFound";
|
|
221
219
|
modelNotCompatible: "modelNotCompatible";
|
|
220
|
+
connectorNotFound: "connectorNotFound";
|
|
221
|
+
integrationNotFound: "integrationNotFound";
|
|
222
222
|
alreadyRunning: "alreadyRunning";
|
|
223
223
|
modelIsPaused: "modelIsPaused";
|
|
224
224
|
upToDate: "upToDate";
|
|
@@ -248,10 +248,10 @@ export declare namespace Storage {
|
|
|
248
248
|
count?: number;
|
|
249
249
|
};
|
|
250
250
|
const zodPreviewModelErrorReason: z.ZodEnum<{
|
|
251
|
-
connectorNotFound: "connectorNotFound";
|
|
252
|
-
integrationNotFound: "integrationNotFound";
|
|
253
251
|
datasetNotFound: "datasetNotFound";
|
|
254
252
|
modelNotCompatible: "modelNotCompatible";
|
|
253
|
+
connectorNotFound: "connectorNotFound";
|
|
254
|
+
integrationNotFound: "integrationNotFound";
|
|
255
255
|
integrationNotCompatible: "integrationNotCompatible";
|
|
256
256
|
}>;
|
|
257
257
|
type PreviewCountModelPayload = DateToString<{
|
|
@@ -263,10 +263,10 @@ export declare namespace Storage {
|
|
|
263
263
|
count: number;
|
|
264
264
|
};
|
|
265
265
|
const zodPreviewCountModelErrorReason: z.ZodEnum<{
|
|
266
|
-
connectorNotFound: "connectorNotFound";
|
|
267
|
-
integrationNotFound: "integrationNotFound";
|
|
268
266
|
datasetNotFound: "datasetNotFound";
|
|
269
267
|
modelNotCompatible: "modelNotCompatible";
|
|
268
|
+
connectorNotFound: "connectorNotFound";
|
|
269
|
+
integrationNotFound: "integrationNotFound";
|
|
270
270
|
integrationNotCompatible: "integrationNotCompatible";
|
|
271
271
|
}>;
|
|
272
272
|
type ModelColumnAutocompletePayload = DateToString<{
|
|
@@ -298,11 +298,11 @@ export declare namespace Storage {
|
|
|
298
298
|
records: Record<string, unknown>[];
|
|
299
299
|
};
|
|
300
300
|
const zodListRecordsErrorReason: z.ZodEnum<{
|
|
301
|
-
connectorNotFound: "connectorNotFound";
|
|
302
|
-
integrationNotFound: "integrationNotFound";
|
|
303
301
|
modelNotFound: "modelNotFound";
|
|
304
302
|
datasetNotFound: "datasetNotFound";
|
|
305
303
|
modelNotCompatible: "modelNotCompatible";
|
|
304
|
+
connectorNotFound: "connectorNotFound";
|
|
305
|
+
integrationNotFound: "integrationNotFound";
|
|
306
306
|
integrationNotCompatible: "integrationNotCompatible";
|
|
307
307
|
invalidConfig: "invalidConfig";
|
|
308
308
|
failedToRefreshModel: "failedToRefreshModel";
|
|
@@ -365,29 +365,29 @@ export declare namespace Storage {
|
|
|
365
365
|
ids: string[];
|
|
366
366
|
}>;
|
|
367
367
|
const zodRemoveRecordErrorReason: z.ZodEnum<{
|
|
368
|
-
connectorNotFound: "connectorNotFound";
|
|
369
|
-
integrationNotFound: "integrationNotFound";
|
|
370
368
|
modelNotFound: "modelNotFound";
|
|
371
369
|
datasetNotFound: "datasetNotFound";
|
|
370
|
+
connectorNotFound: "connectorNotFound";
|
|
371
|
+
integrationNotFound: "integrationNotFound";
|
|
372
372
|
integrationNotCompatible: "integrationNotCompatible";
|
|
373
373
|
notEnoughCredits: "notEnoughCredits";
|
|
374
374
|
incompatibleWithRecordAction: "incompatibleWithRecordAction";
|
|
375
375
|
}>;
|
|
376
376
|
const zodCreateRecordErrorReason: z.ZodEnum<{
|
|
377
|
-
connectorNotFound: "connectorNotFound";
|
|
378
|
-
integrationNotFound: "integrationNotFound";
|
|
379
377
|
modelNotFound: "modelNotFound";
|
|
380
378
|
datasetNotFound: "datasetNotFound";
|
|
379
|
+
connectorNotFound: "connectorNotFound";
|
|
380
|
+
integrationNotFound: "integrationNotFound";
|
|
381
381
|
integrationNotCompatible: "integrationNotCompatible";
|
|
382
382
|
notEnoughCredits: "notEnoughCredits";
|
|
383
383
|
recordNotFound: "recordNotFound";
|
|
384
384
|
incompatibleWithRecordAction: "incompatibleWithRecordAction";
|
|
385
385
|
}>;
|
|
386
386
|
const zodUpdateRecordErrorReason: z.ZodEnum<{
|
|
387
|
-
connectorNotFound: "connectorNotFound";
|
|
388
|
-
integrationNotFound: "integrationNotFound";
|
|
389
387
|
modelNotFound: "modelNotFound";
|
|
390
388
|
datasetNotFound: "datasetNotFound";
|
|
389
|
+
connectorNotFound: "connectorNotFound";
|
|
390
|
+
integrationNotFound: "integrationNotFound";
|
|
391
391
|
integrationNotCompatible: "integrationNotCompatible";
|
|
392
392
|
notEnoughCredits: "notEnoughCredits";
|
|
393
393
|
recordNotFound: "recordNotFound";
|
|
@@ -413,28 +413,28 @@ export declare namespace Storage {
|
|
|
413
413
|
clientNotFound: "clientNotFound";
|
|
414
414
|
}>;
|
|
415
415
|
const zodCreateRecordsBulkErrorReason: z.ZodEnum<{
|
|
416
|
-
connectorNotFound: "connectorNotFound";
|
|
417
|
-
integrationNotFound: "integrationNotFound";
|
|
418
416
|
modelNotFound: "modelNotFound";
|
|
419
417
|
datasetNotFound: "datasetNotFound";
|
|
418
|
+
connectorNotFound: "connectorNotFound";
|
|
419
|
+
integrationNotFound: "integrationNotFound";
|
|
420
420
|
integrationNotCompatible: "integrationNotCompatible";
|
|
421
421
|
notEnoughCredits: "notEnoughCredits";
|
|
422
422
|
incompatibleWithRecordAction: "incompatibleWithRecordAction";
|
|
423
423
|
}>;
|
|
424
424
|
const zodUpdateRecordsBulkErrorReason: z.ZodEnum<{
|
|
425
|
-
connectorNotFound: "connectorNotFound";
|
|
426
|
-
integrationNotFound: "integrationNotFound";
|
|
427
425
|
modelNotFound: "modelNotFound";
|
|
428
426
|
datasetNotFound: "datasetNotFound";
|
|
427
|
+
connectorNotFound: "connectorNotFound";
|
|
428
|
+
integrationNotFound: "integrationNotFound";
|
|
429
429
|
integrationNotCompatible: "integrationNotCompatible";
|
|
430
430
|
notEnoughCredits: "notEnoughCredits";
|
|
431
431
|
incompatibleWithRecordAction: "incompatibleWithRecordAction";
|
|
432
432
|
}>;
|
|
433
433
|
const zodRemoveRecordsBulkErrorReason: z.ZodEnum<{
|
|
434
|
-
connectorNotFound: "connectorNotFound";
|
|
435
|
-
integrationNotFound: "integrationNotFound";
|
|
436
434
|
modelNotFound: "modelNotFound";
|
|
437
435
|
datasetNotFound: "datasetNotFound";
|
|
436
|
+
connectorNotFound: "connectorNotFound";
|
|
437
|
+
integrationNotFound: "integrationNotFound";
|
|
438
438
|
integrationNotCompatible: "integrationNotCompatible";
|
|
439
439
|
notEnoughCredits: "notEnoughCredits";
|
|
440
440
|
incompatibleWithRecordAction: "incompatibleWithRecordAction";
|