@oxy.so/contracts 4.13.0 → 4.15.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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/accountGraph.js +23 -4
- package/dist/cjs/index.js +19 -15
- package/dist/cjs/organizations.js +210 -0
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/safety.js +15 -0
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +21 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/organizations.js +207 -0
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/safety.js +12 -0
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +50 -18
- package/dist/types/agency.d.ts +42 -42
- package/dist/types/deviceDirectory.d.ts +56 -56
- package/dist/types/email/messages.d.ts +56 -56
- package/dist/types/externalIdentity.d.ts +56 -23
- package/dist/types/index.d.ts +4 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/priceVersion.d.ts +8 -8
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/organizations.d.ts +1088 -0
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +169 -33
- package/package.json +1 -1
|
@@ -207,7 +207,7 @@ export declare const MAX_ACCOUNT_CATEGORIES = 4;
|
|
|
207
207
|
* property the list exists to carry. A duplicate only ever comes from a client
|
|
208
208
|
* bug, and a 400 naming the index is how that bug gets found.
|
|
209
209
|
*/
|
|
210
|
-
export declare const accountCategoriesSchema: z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
210
|
+
export declare const accountCategoriesSchema: z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>;
|
|
211
211
|
/**
|
|
212
212
|
* Kinds that may carry categories: every kind EXCEPT `personal`.
|
|
213
213
|
*
|
|
@@ -227,6 +227,33 @@ export type AccountCategoryKind = (typeof ACCOUNT_CATEGORY_KINDS)[number];
|
|
|
227
227
|
* {@link ACCOUNT_CATEGORY_KINDS}, so they cannot disagree.
|
|
228
228
|
*/
|
|
229
229
|
export declare function kindAcceptsAccountCategories(kind: AccountKind | null | undefined): boolean;
|
|
230
|
+
/**
|
|
231
|
+
* An account's name on the create/update wire.
|
|
232
|
+
*
|
|
233
|
+
* `displayName` is EXPLICIT and stored, not derived. `first`/`last` model a
|
|
234
|
+
* human name, and composing a display string from them is right for a person —
|
|
235
|
+
* but a non-personal account has a TITLE, not a given and family name. Without
|
|
236
|
+
* this field the only way to name a channel "Notas de Nate" was to put the whole
|
|
237
|
+
* title in `first`, which renders correctly by accident while recording it as
|
|
238
|
+
* somebody's given name.
|
|
239
|
+
*
|
|
240
|
+
* When present it wins over the composed `first`/`last` (see the API's
|
|
241
|
+
* `composeDisplayName`, which already preferred an explicit value — only the
|
|
242
|
+
* storage for one was missing).
|
|
243
|
+
*/
|
|
244
|
+
export declare const accountNameSchema: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
first: z.ZodOptional<z.ZodString>;
|
|
246
|
+
last: z.ZodOptional<z.ZodString>;
|
|
247
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
first?: string | undefined;
|
|
250
|
+
last?: string | undefined;
|
|
251
|
+
displayName?: string | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
first?: string | undefined;
|
|
254
|
+
last?: string | undefined;
|
|
255
|
+
displayName?: string | undefined;
|
|
256
|
+
}>>;
|
|
230
257
|
/**
|
|
231
258
|
* POST /accounts — create a non-personal account under the caller's tree.
|
|
232
259
|
*
|
|
@@ -287,7 +314,8 @@ export declare const createAccountRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
287
314
|
*/
|
|
288
315
|
color: z.ZodOptional<z.ZodString>;
|
|
289
316
|
/** Ordered, PRIMARY FIRST — see rule 2 above {@link ACCOUNT_CATEGORY_IDS}. */
|
|
290
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
317
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
318
|
+
organizationType: z.ZodOptional<z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>>;
|
|
291
319
|
/**
|
|
292
320
|
* Create the account already opted OUT of discovery.
|
|
293
321
|
*
|
|
@@ -337,67 +365,71 @@ export declare const createAccountRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
337
365
|
*/
|
|
338
366
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
339
367
|
}, "strip", z.ZodTypeAny, {
|
|
340
|
-
kind: "
|
|
368
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
341
369
|
username: string;
|
|
342
370
|
color?: string | undefined;
|
|
343
|
-
parentAccountId?: string | undefined;
|
|
344
371
|
name?: {
|
|
345
372
|
first?: string | undefined;
|
|
346
373
|
last?: string | undefined;
|
|
347
374
|
displayName?: string | undefined;
|
|
348
375
|
} | undefined;
|
|
349
|
-
|
|
376
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
350
377
|
avatar?: string | undefined;
|
|
378
|
+
parentAccountId?: string | undefined;
|
|
379
|
+
bio?: string | undefined;
|
|
351
380
|
description?: string | undefined;
|
|
352
|
-
accountCategories?: ("
|
|
381
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
353
382
|
isPrivateAccount?: boolean | undefined;
|
|
354
383
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
355
384
|
}, {
|
|
356
|
-
kind: "
|
|
385
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
357
386
|
username: string;
|
|
358
387
|
color?: string | undefined;
|
|
359
|
-
parentAccountId?: string | undefined;
|
|
360
388
|
name?: {
|
|
361
389
|
first?: string | undefined;
|
|
362
390
|
last?: string | undefined;
|
|
363
391
|
displayName?: string | undefined;
|
|
364
392
|
} | undefined;
|
|
365
|
-
|
|
393
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
366
394
|
avatar?: string | undefined;
|
|
395
|
+
parentAccountId?: string | undefined;
|
|
396
|
+
bio?: string | undefined;
|
|
367
397
|
description?: string | undefined;
|
|
368
|
-
accountCategories?: ("
|
|
398
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
369
399
|
isPrivateAccount?: boolean | undefined;
|
|
370
400
|
character?: unknown;
|
|
371
401
|
}>, {
|
|
372
|
-
kind: "
|
|
402
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
373
403
|
username: string;
|
|
374
404
|
color?: string | undefined;
|
|
375
|
-
parentAccountId?: string | undefined;
|
|
376
405
|
name?: {
|
|
377
406
|
first?: string | undefined;
|
|
378
407
|
last?: string | undefined;
|
|
379
408
|
displayName?: string | undefined;
|
|
380
409
|
} | undefined;
|
|
381
|
-
|
|
410
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
382
411
|
avatar?: string | undefined;
|
|
412
|
+
parentAccountId?: string | undefined;
|
|
413
|
+
bio?: string | undefined;
|
|
383
414
|
description?: string | undefined;
|
|
384
|
-
accountCategories?: ("
|
|
415
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
385
416
|
isPrivateAccount?: boolean | undefined;
|
|
386
417
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
387
418
|
}, {
|
|
388
|
-
kind: "
|
|
419
|
+
kind: "organization" | "bot" | "project" | "channel";
|
|
389
420
|
username: string;
|
|
390
421
|
color?: string | undefined;
|
|
391
|
-
parentAccountId?: string | undefined;
|
|
392
422
|
name?: {
|
|
393
423
|
first?: string | undefined;
|
|
394
424
|
last?: string | undefined;
|
|
395
425
|
displayName?: string | undefined;
|
|
396
426
|
} | undefined;
|
|
397
|
-
|
|
427
|
+
organizationType?: "business" | "nonprofit" | "public_body" | "community" | "other" | undefined;
|
|
398
428
|
avatar?: string | undefined;
|
|
429
|
+
parentAccountId?: string | undefined;
|
|
430
|
+
bio?: string | undefined;
|
|
399
431
|
description?: string | undefined;
|
|
400
|
-
accountCategories?: ("
|
|
432
|
+
accountCategories?: ("business" | "nonprofit" | "community" | "other" | "security" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[] | undefined;
|
|
401
433
|
isPrivateAccount?: boolean | undefined;
|
|
402
434
|
character?: unknown;
|
|
403
435
|
}>;
|
package/dist/types/agency.d.ts
CHANGED
|
@@ -112,11 +112,11 @@ export declare const toolGrantOverrideSchema: z.ZodObject<{
|
|
|
112
112
|
tool: z.ZodString;
|
|
113
113
|
decision: z.ZodEnum<["allow", "deny"]>;
|
|
114
114
|
}, "strict", z.ZodTypeAny, {
|
|
115
|
-
tool: string;
|
|
116
115
|
decision: "allow" | "deny";
|
|
117
|
-
}, {
|
|
118
116
|
tool: string;
|
|
117
|
+
}, {
|
|
119
118
|
decision: "allow" | "deny";
|
|
119
|
+
tool: string;
|
|
120
120
|
}>;
|
|
121
121
|
export declare const grantLimitSchema: z.ZodObject<{
|
|
122
122
|
tool: z.ZodString;
|
|
@@ -270,11 +270,11 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
270
270
|
tool: z.ZodString;
|
|
271
271
|
decision: z.ZodEnum<["allow", "deny"]>;
|
|
272
272
|
}, "strict", z.ZodTypeAny, {
|
|
273
|
-
tool: string;
|
|
274
273
|
decision: "allow" | "deny";
|
|
275
|
-
}, {
|
|
276
274
|
tool: string;
|
|
275
|
+
}, {
|
|
277
276
|
decision: "allow" | "deny";
|
|
277
|
+
tool: string;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
limits: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
280
280
|
tool: z.ZodString;
|
|
@@ -297,6 +297,9 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
297
297
|
updatedAt: z.ZodString;
|
|
298
298
|
}, "strict", z.ZodTypeAny, {
|
|
299
299
|
expiresAt: string | null;
|
|
300
|
+
createdAt: string;
|
|
301
|
+
updatedAt: string;
|
|
302
|
+
id: string;
|
|
300
303
|
actor: {
|
|
301
304
|
type: "alia";
|
|
302
305
|
ownerAccountId: string;
|
|
@@ -305,7 +308,6 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
305
308
|
accountId: string;
|
|
306
309
|
};
|
|
307
310
|
ownerAccountId: string;
|
|
308
|
-
id: string;
|
|
309
311
|
resource: {
|
|
310
312
|
effectiveAccountId: string;
|
|
311
313
|
appId: string;
|
|
@@ -317,11 +319,11 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
317
319
|
version: string;
|
|
318
320
|
digest: string;
|
|
319
321
|
} | null;
|
|
320
|
-
capabilityPackages: ("
|
|
322
|
+
capabilityPackages: ("create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate")[];
|
|
321
323
|
capabilities: string[];
|
|
322
324
|
toolOverrides: {
|
|
323
|
-
tool: string;
|
|
324
325
|
decision: "allow" | "deny";
|
|
326
|
+
tool: string;
|
|
325
327
|
}[];
|
|
326
328
|
limits: {
|
|
327
329
|
value: number | boolean;
|
|
@@ -331,10 +333,11 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
331
333
|
maximumAutonomy: "read_only" | "draft" | "execute_on_request" | "autonomous";
|
|
332
334
|
canRedelegate: boolean;
|
|
333
335
|
revokedAt: string | null;
|
|
334
|
-
createdAt: string;
|
|
335
|
-
updatedAt: string;
|
|
336
336
|
}, {
|
|
337
337
|
expiresAt: string | null;
|
|
338
|
+
createdAt: string;
|
|
339
|
+
updatedAt: string;
|
|
340
|
+
id: string;
|
|
338
341
|
actor: {
|
|
339
342
|
type: "alia";
|
|
340
343
|
ownerAccountId: string;
|
|
@@ -343,7 +346,6 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
343
346
|
accountId: string;
|
|
344
347
|
};
|
|
345
348
|
ownerAccountId: string;
|
|
346
|
-
id: string;
|
|
347
349
|
resource: {
|
|
348
350
|
effectiveAccountId: string;
|
|
349
351
|
appId: string;
|
|
@@ -355,14 +357,12 @@ export declare const delegationGrantSchema: z.ZodObject<{
|
|
|
355
357
|
version: string;
|
|
356
358
|
digest: string;
|
|
357
359
|
} | null;
|
|
358
|
-
capabilityPackages: ("
|
|
360
|
+
capabilityPackages: ("create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate")[];
|
|
359
361
|
capabilities: string[];
|
|
360
362
|
maximumAutonomy: "read_only" | "draft" | "execute_on_request" | "autonomous";
|
|
361
|
-
createdAt: string;
|
|
362
|
-
updatedAt: string;
|
|
363
363
|
toolOverrides?: {
|
|
364
|
-
tool: string;
|
|
365
364
|
decision: "allow" | "deny";
|
|
365
|
+
tool: string;
|
|
366
366
|
}[] | undefined;
|
|
367
367
|
limits?: {
|
|
368
368
|
value: number | boolean;
|
|
@@ -741,6 +741,9 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
741
741
|
createdAt: z.ZodString;
|
|
742
742
|
updatedAt: z.ZodString;
|
|
743
743
|
}, "strict", z.ZodTypeAny, {
|
|
744
|
+
createdAt: string;
|
|
745
|
+
updatedAt: string;
|
|
746
|
+
id: string;
|
|
744
747
|
resources: {
|
|
745
748
|
effectiveAccountId: string;
|
|
746
749
|
appId: string;
|
|
@@ -748,15 +751,12 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
748
751
|
resourceId: string;
|
|
749
752
|
}[];
|
|
750
753
|
ownerAccountId: string;
|
|
751
|
-
id: string;
|
|
752
754
|
limits: {
|
|
753
755
|
value: number | boolean;
|
|
754
756
|
tool: string;
|
|
755
757
|
key: string;
|
|
756
758
|
}[];
|
|
757
759
|
maximumAutonomy: "read_only" | "draft" | "execute_on_request" | "autonomous";
|
|
758
|
-
createdAt: string;
|
|
759
|
-
updatedAt: string;
|
|
760
760
|
objective: string;
|
|
761
761
|
trigger: {
|
|
762
762
|
type: "manual";
|
|
@@ -804,6 +804,9 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
804
804
|
};
|
|
805
805
|
enabled: boolean;
|
|
806
806
|
}, {
|
|
807
|
+
createdAt: string;
|
|
808
|
+
updatedAt: string;
|
|
809
|
+
id: string;
|
|
807
810
|
resources: {
|
|
808
811
|
effectiveAccountId: string;
|
|
809
812
|
appId: string;
|
|
@@ -811,10 +814,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
811
814
|
resourceId: string;
|
|
812
815
|
}[];
|
|
813
816
|
ownerAccountId: string;
|
|
814
|
-
id: string;
|
|
815
817
|
maximumAutonomy: "read_only" | "draft" | "execute_on_request" | "autonomous";
|
|
816
|
-
createdAt: string;
|
|
817
|
-
updatedAt: string;
|
|
818
818
|
objective: string;
|
|
819
819
|
trigger: {
|
|
820
820
|
type: "manual";
|
|
@@ -2077,7 +2077,7 @@ export declare const catalogToolSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2077
2077
|
version: string;
|
|
2078
2078
|
rollback: "none" | "manual" | "supported";
|
|
2079
2079
|
inputSchema: Record<string, unknown>;
|
|
2080
|
-
capabilityPackage: "
|
|
2080
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2081
2081
|
requiredCapabilities: string[];
|
|
2082
2082
|
resourceTypes: string[];
|
|
2083
2083
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2098,7 +2098,7 @@ export declare const catalogToolSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2098
2098
|
version: string;
|
|
2099
2099
|
rollback: "none" | "manual" | "supported";
|
|
2100
2100
|
inputSchema: Record<string, unknown>;
|
|
2101
|
-
capabilityPackage: "
|
|
2101
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2102
2102
|
requiredCapabilities: string[];
|
|
2103
2103
|
resourceTypes: string[];
|
|
2104
2104
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2119,7 +2119,7 @@ export declare const catalogToolSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2119
2119
|
version: string;
|
|
2120
2120
|
rollback: "none" | "manual" | "supported";
|
|
2121
2121
|
inputSchema: Record<string, unknown>;
|
|
2122
|
-
capabilityPackage: "
|
|
2122
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2123
2123
|
requiredCapabilities: string[];
|
|
2124
2124
|
resourceTypes: string[];
|
|
2125
2125
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2140,7 +2140,7 @@ export declare const catalogToolSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2140
2140
|
version: string;
|
|
2141
2141
|
rollback: "none" | "manual" | "supported";
|
|
2142
2142
|
inputSchema: Record<string, unknown>;
|
|
2143
|
-
capabilityPackage: "
|
|
2143
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2144
2144
|
requiredCapabilities: string[];
|
|
2145
2145
|
resourceTypes: string[];
|
|
2146
2146
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2231,7 +2231,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2231
2231
|
version: string;
|
|
2232
2232
|
rollback: "none" | "manual" | "supported";
|
|
2233
2233
|
inputSchema: Record<string, unknown>;
|
|
2234
|
-
capabilityPackage: "
|
|
2234
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2235
2235
|
requiredCapabilities: string[];
|
|
2236
2236
|
resourceTypes: string[];
|
|
2237
2237
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2252,7 +2252,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2252
2252
|
version: string;
|
|
2253
2253
|
rollback: "none" | "manual" | "supported";
|
|
2254
2254
|
inputSchema: Record<string, unknown>;
|
|
2255
|
-
capabilityPackage: "
|
|
2255
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2256
2256
|
requiredCapabilities: string[];
|
|
2257
2257
|
resourceTypes: string[];
|
|
2258
2258
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2273,7 +2273,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2273
2273
|
version: string;
|
|
2274
2274
|
rollback: "none" | "manual" | "supported";
|
|
2275
2275
|
inputSchema: Record<string, unknown>;
|
|
2276
|
-
capabilityPackage: "
|
|
2276
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2277
2277
|
requiredCapabilities: string[];
|
|
2278
2278
|
resourceTypes: string[];
|
|
2279
2279
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2294,7 +2294,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2294
2294
|
version: string;
|
|
2295
2295
|
rollback: "none" | "manual" | "supported";
|
|
2296
2296
|
inputSchema: Record<string, unknown>;
|
|
2297
|
-
capabilityPackage: "
|
|
2297
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2298
2298
|
requiredCapabilities: string[];
|
|
2299
2299
|
resourceTypes: string[];
|
|
2300
2300
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2342,7 +2342,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2342
2342
|
version: string;
|
|
2343
2343
|
rollback: "none" | "manual" | "supported";
|
|
2344
2344
|
inputSchema: Record<string, unknown>;
|
|
2345
|
-
capabilityPackage: "
|
|
2345
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2346
2346
|
requiredCapabilities: string[];
|
|
2347
2347
|
resourceTypes: string[];
|
|
2348
2348
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2381,7 +2381,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2381
2381
|
version: string;
|
|
2382
2382
|
rollback: "none" | "manual" | "supported";
|
|
2383
2383
|
inputSchema: Record<string, unknown>;
|
|
2384
|
-
capabilityPackage: "
|
|
2384
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2385
2385
|
requiredCapabilities: string[];
|
|
2386
2386
|
resourceTypes: string[];
|
|
2387
2387
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2420,7 +2420,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
2420
|
version: string;
|
|
2421
2421
|
rollback: "none" | "manual" | "supported";
|
|
2422
2422
|
inputSchema: Record<string, unknown>;
|
|
2423
|
-
capabilityPackage: "
|
|
2423
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2424
2424
|
requiredCapabilities: string[];
|
|
2425
2425
|
resourceTypes: string[];
|
|
2426
2426
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2459,7 +2459,7 @@ export declare const appCapabilityCatalogSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2459
2459
|
version: string;
|
|
2460
2460
|
rollback: "none" | "manual" | "supported";
|
|
2461
2461
|
inputSchema: Record<string, unknown>;
|
|
2462
|
-
capabilityPackage: "
|
|
2462
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2463
2463
|
requiredCapabilities: string[];
|
|
2464
2464
|
resourceTypes: string[];
|
|
2465
2465
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2543,7 +2543,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2543
2543
|
version: string;
|
|
2544
2544
|
rollback: "none" | "manual" | "supported";
|
|
2545
2545
|
inputSchema: Record<string, unknown>;
|
|
2546
|
-
capabilityPackage: "
|
|
2546
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2547
2547
|
requiredCapabilities: string[];
|
|
2548
2548
|
resourceTypes: string[];
|
|
2549
2549
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2564,7 +2564,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2564
2564
|
version: string;
|
|
2565
2565
|
rollback: "none" | "manual" | "supported";
|
|
2566
2566
|
inputSchema: Record<string, unknown>;
|
|
2567
|
-
capabilityPackage: "
|
|
2567
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2568
2568
|
requiredCapabilities: string[];
|
|
2569
2569
|
resourceTypes: string[];
|
|
2570
2570
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2585,7 +2585,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2585
2585
|
version: string;
|
|
2586
2586
|
rollback: "none" | "manual" | "supported";
|
|
2587
2587
|
inputSchema: Record<string, unknown>;
|
|
2588
|
-
capabilityPackage: "
|
|
2588
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2589
2589
|
requiredCapabilities: string[];
|
|
2590
2590
|
resourceTypes: string[];
|
|
2591
2591
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2606,7 +2606,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2606
2606
|
version: string;
|
|
2607
2607
|
rollback: "none" | "manual" | "supported";
|
|
2608
2608
|
inputSchema: Record<string, unknown>;
|
|
2609
|
-
capabilityPackage: "
|
|
2609
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2610
2610
|
requiredCapabilities: string[];
|
|
2611
2611
|
resourceTypes: string[];
|
|
2612
2612
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2654,7 +2654,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2654
2654
|
version: string;
|
|
2655
2655
|
rollback: "none" | "manual" | "supported";
|
|
2656
2656
|
inputSchema: Record<string, unknown>;
|
|
2657
|
-
capabilityPackage: "
|
|
2657
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2658
2658
|
requiredCapabilities: string[];
|
|
2659
2659
|
resourceTypes: string[];
|
|
2660
2660
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2693,7 +2693,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2693
2693
|
version: string;
|
|
2694
2694
|
rollback: "none" | "manual" | "supported";
|
|
2695
2695
|
inputSchema: Record<string, unknown>;
|
|
2696
|
-
capabilityPackage: "
|
|
2696
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2697
2697
|
requiredCapabilities: string[];
|
|
2698
2698
|
resourceTypes: string[];
|
|
2699
2699
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2732,7 +2732,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2732
2732
|
version: string;
|
|
2733
2733
|
rollback: "none" | "manual" | "supported";
|
|
2734
2734
|
inputSchema: Record<string, unknown>;
|
|
2735
|
-
capabilityPackage: "
|
|
2735
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2736
2736
|
requiredCapabilities: string[];
|
|
2737
2737
|
resourceTypes: string[];
|
|
2738
2738
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2771,7 +2771,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2771
2771
|
version: string;
|
|
2772
2772
|
rollback: "none" | "manual" | "supported";
|
|
2773
2773
|
inputSchema: Record<string, unknown>;
|
|
2774
|
-
capabilityPackage: "
|
|
2774
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2775
2775
|
requiredCapabilities: string[];
|
|
2776
2776
|
resourceTypes: string[];
|
|
2777
2777
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2816,7 +2816,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2816
2816
|
version: string;
|
|
2817
2817
|
rollback: "none" | "manual" | "supported";
|
|
2818
2818
|
inputSchema: Record<string, unknown>;
|
|
2819
|
-
capabilityPackage: "
|
|
2819
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2820
2820
|
requiredCapabilities: string[];
|
|
2821
2821
|
resourceTypes: string[];
|
|
2822
2822
|
idempotency: "none" | "supported" | "required";
|
|
@@ -2860,7 +2860,7 @@ export declare const catalogRegistrationSchema: z.ZodObject<{
|
|
|
2860
2860
|
version: string;
|
|
2861
2861
|
rollback: "none" | "manual" | "supported";
|
|
2862
2862
|
inputSchema: Record<string, unknown>;
|
|
2863
|
-
capabilityPackage: "
|
|
2863
|
+
capabilityPackage: "create" | "security" | "finance" | "read" | "publish" | "communicate" | "administer" | "delegate";
|
|
2864
2864
|
requiredCapabilities: string[];
|
|
2865
2865
|
resourceTypes: string[];
|
|
2866
2866
|
idempotency: "none" | "supported" | "required";
|