@permute/sdk 0.9.0 → 0.10.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.
@@ -110,6 +110,24 @@ export interface components {
110
110
  } | {
111
111
  sourceId: string;
112
112
  })[];
113
+ /** @description Author-declared native tool contract, published with the action code. The coding agent must keep descriptions and annotations accurate when changing behavior. Hosts control invocation confirmation; metadata grants no access. */
114
+ tool?: {
115
+ /** @description The coding agent or author must classify actual behavior across all branches and connector/SDK calls, and reassess these hints whenever behavior changes. Permute validates their shape and consistency, not their truthfulness or code semantics. */
116
+ annotations: {
117
+ /** @description Author-declared: true if any branch can delete, overwrite, cancel, revoke access, or cause irreversible effects such as sending a message. An undo path does not make an operation non-destructive. */
118
+ destructiveHint: boolean;
119
+ /** @description Author-declared: true only if repeating identical arguments, including requestId, cannot cause additional effects. Set false when uncertain; this hint does not authorize retrying an uncertain external effect. */
120
+ idempotentHint: boolean;
121
+ /** @description Author-declared: true for public or open-ended external entities and destinations. A bounded private account or workspace is closed-world even when remotely hosted. */
122
+ openWorldHint: boolean;
123
+ /** @description Author-declared: true only if every branch leaves business state unchanged. Set false if any mode writes, sends, or starts stateful work. */
124
+ readOnlyHint: boolean;
125
+ };
126
+ /** @description When to use this operation, what it does, and its consequential effects. */
127
+ description: string;
128
+ /** @description Business operation name for native tools; the MCP adapter adds an exact-release identity. */
129
+ name: string;
130
+ };
113
131
  };
114
132
  revisionId: string;
115
133
  sequence: number;
@@ -148,6 +166,24 @@ export interface components {
148
166
  } | {
149
167
  sourceId: string;
150
168
  })[];
169
+ /** @description Author-declared native tool contract, published with the action code. The coding agent must keep descriptions and annotations accurate when changing behavior. Hosts control invocation confirmation; metadata grants no access. */
170
+ tool?: {
171
+ /** @description The coding agent or author must classify actual behavior across all branches and connector/SDK calls, and reassess these hints whenever behavior changes. Permute validates their shape and consistency, not their truthfulness or code semantics. */
172
+ annotations: {
173
+ /** @description Author-declared: true if any branch can delete, overwrite, cancel, revoke access, or cause irreversible effects such as sending a message. An undo path does not make an operation non-destructive. */
174
+ destructiveHint: boolean;
175
+ /** @description Author-declared: true only if repeating identical arguments, including requestId, cannot cause additional effects. Set false when uncertain; this hint does not authorize retrying an uncertain external effect. */
176
+ idempotentHint: boolean;
177
+ /** @description Author-declared: true for public or open-ended external entities and destinations. A bounded private account or workspace is closed-world even when remotely hosted. */
178
+ openWorldHint: boolean;
179
+ /** @description Author-declared: true only if every branch leaves business state unchanged. Set false if any mode writes, sends, or starts stateful work. */
180
+ readOnlyHint: boolean;
181
+ };
182
+ /** @description When to use this operation, what it does, and its consequential effects. */
183
+ description: string;
184
+ /** @description Business operation name for native tools; the MCP adapter adds an exact-release identity. */
185
+ name: string;
186
+ };
151
187
  };
152
188
  revisionId: string;
153
189
  sequence: number;
@@ -191,6 +227,24 @@ export interface components {
191
227
  } | {
192
228
  sourceId: string;
193
229
  })[];
230
+ /** @description Author-declared native tool contract, published with the action code. The coding agent must keep descriptions and annotations accurate when changing behavior. Hosts control invocation confirmation; metadata grants no access. */
231
+ tool?: {
232
+ /** @description The coding agent or author must classify actual behavior across all branches and connector/SDK calls, and reassess these hints whenever behavior changes. Permute validates their shape and consistency, not their truthfulness or code semantics. */
233
+ annotations: {
234
+ /** @description Author-declared: true if any branch can delete, overwrite, cancel, revoke access, or cause irreversible effects such as sending a message. An undo path does not make an operation non-destructive. */
235
+ destructiveHint: boolean;
236
+ /** @description Author-declared: true only if repeating identical arguments, including requestId, cannot cause additional effects. Set false when uncertain; this hint does not authorize retrying an uncertain external effect. */
237
+ idempotentHint: boolean;
238
+ /** @description Author-declared: true for public or open-ended external entities and destinations. A bounded private account or workspace is closed-world even when remotely hosted. */
239
+ openWorldHint: boolean;
240
+ /** @description Author-declared: true only if every branch leaves business state unchanged. Set false if any mode writes, sends, or starts stateful work. */
241
+ readOnlyHint: boolean;
242
+ };
243
+ /** @description When to use this operation, what it does, and its consequential effects. */
244
+ description: string;
245
+ /** @description Business operation name for native tools; the MCP adapter adds an exact-release identity. */
246
+ name: string;
247
+ };
194
248
  };
195
249
  expectedDraft: {
196
250
  revisionId: string;
@@ -264,6 +318,295 @@ export interface components {
264
318
  };
265
319
  requestId: string;
266
320
  };
321
+ ActionTrigger: {
322
+ actionId: string;
323
+ config: {
324
+ input: {
325
+ [key: string]: unknown;
326
+ };
327
+ schedule: {
328
+ minute: number;
329
+ /** @enum {string} */
330
+ type: 'hourly';
331
+ } | {
332
+ hour: number;
333
+ minute: number;
334
+ /** @enum {string} */
335
+ type: 'daily';
336
+ } | {
337
+ dayOfWeek: number;
338
+ hour: number;
339
+ minute: number;
340
+ /** @enum {string} */
341
+ type: 'weekly';
342
+ } | {
343
+ dayOfMonth: number;
344
+ hour: number;
345
+ minute: number;
346
+ /** @enum {string} */
347
+ type: 'monthly';
348
+ };
349
+ };
350
+ createdAt: string;
351
+ disabledReason: {
352
+ /** @enum {string} */
353
+ code: 'validation_failed' | 'record_conflict' | 'invalid_transition' | 'permission_denied' | 'not_found' | 'request_conflict' | 'request_in_progress' | 'outcome_unknown' | 'execution_failed';
354
+ details?: {
355
+ [key: string]: string;
356
+ } | {
357
+ allowedValues?: unknown[];
358
+ allowedValuesTruncated?: boolean;
359
+ constraint?: string | number | boolean;
360
+ issues?: {
361
+ allowedValues?: unknown[];
362
+ allowedValuesTruncated?: boolean;
363
+ constraint?: string | number | boolean;
364
+ path: string;
365
+ rule: string;
366
+ schemaPath: string;
367
+ }[];
368
+ issuesTruncated?: boolean;
369
+ path: string;
370
+ rule: string;
371
+ schemaPath: string;
372
+ };
373
+ message: string;
374
+ } | null;
375
+ id: string;
376
+ isEnabled: boolean;
377
+ lastRun: {
378
+ createdAt: string;
379
+ failure: {
380
+ /** @enum {string} */
381
+ code: 'validation_failed' | 'record_conflict' | 'invalid_transition' | 'permission_denied' | 'not_found' | 'request_conflict' | 'request_in_progress' | 'outcome_unknown' | 'execution_failed';
382
+ details?: {
383
+ [key: string]: string;
384
+ } | {
385
+ allowedValues?: unknown[];
386
+ allowedValuesTruncated?: boolean;
387
+ constraint?: string | number | boolean;
388
+ issues?: {
389
+ allowedValues?: unknown[];
390
+ allowedValuesTruncated?: boolean;
391
+ constraint?: string | number | boolean;
392
+ path: string;
393
+ rule: string;
394
+ schemaPath: string;
395
+ }[];
396
+ issuesTruncated?: boolean;
397
+ path: string;
398
+ rule: string;
399
+ schemaPath: string;
400
+ };
401
+ message: string;
402
+ } | null;
403
+ requestId: string;
404
+ revisionId: string;
405
+ /** @enum {string} */
406
+ status: 'running' | 'succeeded' | 'failed' | 'unknown';
407
+ updatedAt: string;
408
+ } | null;
409
+ nextRunAt: string | null;
410
+ /** @enum {string} */
411
+ type: 'schedule';
412
+ updatedAt: string;
413
+ workspaceId: string;
414
+ };
415
+ ActionTriggerCreateRequest: {
416
+ config: {
417
+ input: {
418
+ [key: string]: unknown;
419
+ };
420
+ schedule: {
421
+ minute: number;
422
+ /** @enum {string} */
423
+ type: 'hourly';
424
+ } | {
425
+ hour: number;
426
+ minute: number;
427
+ /** @enum {string} */
428
+ type: 'daily';
429
+ } | {
430
+ dayOfWeek: number;
431
+ hour: number;
432
+ minute: number;
433
+ /** @enum {string} */
434
+ type: 'weekly';
435
+ } | {
436
+ dayOfMonth: number;
437
+ hour: number;
438
+ minute: number;
439
+ /** @enum {string} */
440
+ type: 'monthly';
441
+ };
442
+ };
443
+ /** @enum {string} */
444
+ type: 'schedule';
445
+ };
446
+ ActionTriggerList: {
447
+ items: {
448
+ actionId: string;
449
+ config: {
450
+ input: {
451
+ [key: string]: unknown;
452
+ };
453
+ schedule: {
454
+ minute: number;
455
+ /** @enum {string} */
456
+ type: 'hourly';
457
+ } | {
458
+ hour: number;
459
+ minute: number;
460
+ /** @enum {string} */
461
+ type: 'daily';
462
+ } | {
463
+ dayOfWeek: number;
464
+ hour: number;
465
+ minute: number;
466
+ /** @enum {string} */
467
+ type: 'weekly';
468
+ } | {
469
+ dayOfMonth: number;
470
+ hour: number;
471
+ minute: number;
472
+ /** @enum {string} */
473
+ type: 'monthly';
474
+ };
475
+ };
476
+ createdAt: string;
477
+ disabledReason: {
478
+ /** @enum {string} */
479
+ code: 'validation_failed' | 'record_conflict' | 'invalid_transition' | 'permission_denied' | 'not_found' | 'request_conflict' | 'request_in_progress' | 'outcome_unknown' | 'execution_failed';
480
+ details?: {
481
+ [key: string]: string;
482
+ } | {
483
+ allowedValues?: unknown[];
484
+ allowedValuesTruncated?: boolean;
485
+ constraint?: string | number | boolean;
486
+ issues?: {
487
+ allowedValues?: unknown[];
488
+ allowedValuesTruncated?: boolean;
489
+ constraint?: string | number | boolean;
490
+ path: string;
491
+ rule: string;
492
+ schemaPath: string;
493
+ }[];
494
+ issuesTruncated?: boolean;
495
+ path: string;
496
+ rule: string;
497
+ schemaPath: string;
498
+ };
499
+ message: string;
500
+ } | null;
501
+ id: string;
502
+ isEnabled: boolean;
503
+ lastRun: {
504
+ createdAt: string;
505
+ failure: {
506
+ /** @enum {string} */
507
+ code: 'validation_failed' | 'record_conflict' | 'invalid_transition' | 'permission_denied' | 'not_found' | 'request_conflict' | 'request_in_progress' | 'outcome_unknown' | 'execution_failed';
508
+ details?: {
509
+ [key: string]: string;
510
+ } | {
511
+ allowedValues?: unknown[];
512
+ allowedValuesTruncated?: boolean;
513
+ constraint?: string | number | boolean;
514
+ issues?: {
515
+ allowedValues?: unknown[];
516
+ allowedValuesTruncated?: boolean;
517
+ constraint?: string | number | boolean;
518
+ path: string;
519
+ rule: string;
520
+ schemaPath: string;
521
+ }[];
522
+ issuesTruncated?: boolean;
523
+ path: string;
524
+ rule: string;
525
+ schemaPath: string;
526
+ };
527
+ message: string;
528
+ } | null;
529
+ requestId: string;
530
+ revisionId: string;
531
+ /** @enum {string} */
532
+ status: 'running' | 'succeeded' | 'failed' | 'unknown';
533
+ updatedAt: string;
534
+ } | null;
535
+ nextRunAt: string | null;
536
+ /** @enum {string} */
537
+ type: 'schedule';
538
+ updatedAt: string;
539
+ workspaceId: string;
540
+ }[];
541
+ };
542
+ ActionTriggerParams: {
543
+ actionId: string;
544
+ triggerId: string;
545
+ };
546
+ ActionTriggerRunList: {
547
+ items: {
548
+ createdAt: string;
549
+ failure: {
550
+ /** @enum {string} */
551
+ code: 'validation_failed' | 'record_conflict' | 'invalid_transition' | 'permission_denied' | 'not_found' | 'request_conflict' | 'request_in_progress' | 'outcome_unknown' | 'execution_failed';
552
+ details?: {
553
+ [key: string]: string;
554
+ } | {
555
+ allowedValues?: unknown[];
556
+ allowedValuesTruncated?: boolean;
557
+ constraint?: string | number | boolean;
558
+ issues?: {
559
+ allowedValues?: unknown[];
560
+ allowedValuesTruncated?: boolean;
561
+ constraint?: string | number | boolean;
562
+ path: string;
563
+ rule: string;
564
+ schemaPath: string;
565
+ }[];
566
+ issuesTruncated?: boolean;
567
+ path: string;
568
+ rule: string;
569
+ schemaPath: string;
570
+ };
571
+ message: string;
572
+ } | null;
573
+ requestId: string;
574
+ revisionId: string;
575
+ /** @enum {string} */
576
+ status: 'running' | 'succeeded' | 'failed' | 'unknown';
577
+ updatedAt: string;
578
+ }[];
579
+ };
580
+ ActionTriggerUpdateRequest: {
581
+ config?: {
582
+ input: {
583
+ [key: string]: unknown;
584
+ };
585
+ schedule: {
586
+ minute: number;
587
+ /** @enum {string} */
588
+ type: 'hourly';
589
+ } | {
590
+ hour: number;
591
+ minute: number;
592
+ /** @enum {string} */
593
+ type: 'daily';
594
+ } | {
595
+ dayOfWeek: number;
596
+ hour: number;
597
+ minute: number;
598
+ /** @enum {string} */
599
+ type: 'weekly';
600
+ } | {
601
+ dayOfMonth: number;
602
+ hour: number;
603
+ minute: number;
604
+ /** @enum {string} */
605
+ type: 'monthly';
606
+ };
607
+ };
608
+ isEnabled?: boolean;
609
+ };
267
610
  AnswerCitation: {
268
611
  metadata?: {
269
612
  [key: string]: unknown;
@@ -694,6 +1037,23 @@ export interface components {
694
1037
  outputSchema: {
695
1038
  [key: string]: unknown;
696
1039
  };
1040
+ tool?: {
1041
+ /** @description The coding agent or author must classify actual behavior across all branches and connector/SDK calls, and reassess these hints whenever behavior changes. Permute validates their shape and consistency, not their truthfulness or code semantics. */
1042
+ annotations: {
1043
+ /** @description Author-declared: true if any branch can delete, overwrite, cancel, revoke access, or cause irreversible effects such as sending a message. An undo path does not make an operation non-destructive. */
1044
+ destructiveHint: boolean;
1045
+ /** @description Author-declared: true only if repeating identical arguments, including requestId, cannot cause additional effects. Set false when uncertain; this hint does not authorize retrying an uncertain external effect. */
1046
+ idempotentHint: boolean;
1047
+ /** @description Author-declared: true for public or open-ended external entities and destinations. A bounded private account or workspace is closed-world even when remotely hosted. */
1048
+ openWorldHint: boolean;
1049
+ /** @description Author-declared: true only if every branch leaves business state unchanged. Set false if any mode writes, sends, or starts stateful work. */
1050
+ readOnlyHint: boolean;
1051
+ };
1052
+ /** @description When to use this operation, what it does, and its consequential effects. */
1053
+ description: string;
1054
+ /** @description Business operation name for native tools; the MCP adapter adds an exact-release identity. */
1055
+ name: string;
1056
+ };
697
1057
  } | null;
698
1058
  createdAt: string;
699
1059
  id: string;
@@ -723,6 +1083,23 @@ export interface components {
723
1083
  outputSchema: {
724
1084
  [key: string]: unknown;
725
1085
  };
1086
+ tool?: {
1087
+ /** @description The coding agent or author must classify actual behavior across all branches and connector/SDK calls, and reassess these hints whenever behavior changes. Permute validates their shape and consistency, not their truthfulness or code semantics. */
1088
+ annotations: {
1089
+ /** @description Author-declared: true if any branch can delete, overwrite, cancel, revoke access, or cause irreversible effects such as sending a message. An undo path does not make an operation non-destructive. */
1090
+ destructiveHint: boolean;
1091
+ /** @description Author-declared: true only if repeating identical arguments, including requestId, cannot cause additional effects. Set false when uncertain; this hint does not authorize retrying an uncertain external effect. */
1092
+ idempotentHint: boolean;
1093
+ /** @description Author-declared: true for public or open-ended external entities and destinations. A bounded private account or workspace is closed-world even when remotely hosted. */
1094
+ openWorldHint: boolean;
1095
+ /** @description Author-declared: true only if every branch leaves business state unchanged. Set false if any mode writes, sends, or starts stateful work. */
1096
+ readOnlyHint: boolean;
1097
+ };
1098
+ /** @description When to use this operation, what it does, and its consequential effects. */
1099
+ description: string;
1100
+ /** @description Business operation name for native tools; the MCP adapter adds an exact-release identity. */
1101
+ name: string;
1102
+ };
726
1103
  } | null;
727
1104
  createdAt: string;
728
1105
  id: string;
@@ -755,7 +1132,6 @@ export interface components {
755
1132
  };
756
1133
  ChatDecisionRequest: {
757
1134
  approve: boolean;
758
- /** Format: uuid */
759
1135
  requestId: string;
760
1136
  };
761
1137
  ChatIdParams: {
@@ -777,7 +1153,6 @@ export interface components {
777
1153
  [key: string]: unknown;
778
1154
  };
779
1155
  name: string;
780
- /** Format: uuid */
781
1156
  requestId: string;
782
1157
  /** @enum {string} */
783
1158
  status: 'pending' | 'dismissed' | 'completed';
@@ -910,7 +1285,7 @@ export interface components {
910
1285
  timeZone?: string;
911
1286
  };
912
1287
  /** @enum {string} */
913
- ConnectorProviderId: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
1288
+ ConnectorProviderId: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'postgres' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
914
1289
  ConnectorSession: {
915
1290
  connectorId: string;
916
1291
  connectorStatus: string;
@@ -940,7 +1315,7 @@ export interface components {
940
1315
  connectorId?: string;
941
1316
  name?: string;
942
1317
  /** @enum {string} */
943
- provider: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
1318
+ provider: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'postgres' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
944
1319
  /** Format: uri */
945
1320
  returnUrl?: string;
946
1321
  } | {
@@ -950,7 +1325,7 @@ export interface components {
950
1325
  connectorId: string;
951
1326
  name?: string;
952
1327
  /** @enum {string} */
953
- provider?: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
1328
+ provider?: 'acumatica' | 'amazon_ads' | 'amazon_seller_central' | 'attio' | 'autodesk' | 'bigquery' | 'billcom' | 'brex' | 'double' | 'fireflies' | 'gmail' | 'googleads' | 'granola' | 'hubspot' | 'instantly' | 'klaviyo' | 'mercury' | 'meta_ads' | 'microsoft_advertising' | 'monday' | 'postgres' | 'procore' | 'pylon' | 'quickbooks' | 'quo' | 's3' | 'salesforce' | 'shopify' | 'stripe' | 'supabase' | 'tiktok_ads' | 'tiktok_shop' | 'xero' | 'yardi';
954
1329
  /** Format: uri */
955
1330
  returnUrl?: string;
956
1331
  };
@@ -1629,6 +2004,47 @@ export interface components {
1629
2004
  message: string;
1630
2005
  success: boolean;
1631
2006
  };
2007
+ MemberInvitation: {
2008
+ email: string;
2009
+ invitationSent: boolean;
2010
+ /** @enum {string|null} */
2011
+ role: 'admin' | 'member' | 'viewer' | 'guest' | null;
2012
+ userId: string;
2013
+ };
2014
+ MemberInvitationDelivery: {
2015
+ invitationSent: boolean;
2016
+ };
2017
+ MemberList: {
2018
+ items: {
2019
+ email: string;
2020
+ name: string;
2021
+ /** @enum {string|null} */
2022
+ organizationRole: 'owner' | 'admin' | 'member' | 'viewer' | 'guest' | null;
2023
+ userId: string;
2024
+ /** @enum {string|null} */
2025
+ workspaceRole: 'owner' | 'admin' | 'member' | 'viewer' | 'guest' | null;
2026
+ }[];
2027
+ };
2028
+ MemberRemoved: {
2029
+ /** @enum {boolean} */
2030
+ removed: true;
2031
+ };
2032
+ MemberRoleUpdated: {
2033
+ /** @enum {string} */
2034
+ role: 'admin' | 'member' | 'viewer' | 'guest';
2035
+ userId: string;
2036
+ };
2037
+ OAuthRequestedAccess: {
2038
+ organizationId?: string;
2039
+ permissions?: {
2040
+ /** @enum {string} */
2041
+ level: 'read' | 'write' | 'admin';
2042
+ operations?: ('application.read_metadata' | 'application.update_metadata' | 'application.read_implementation' | 'application.update_draft' | 'application.publish' | 'application.manage_access' | 'application.manage_hosting' | 'application.delete' | 'business_action.read_metadata' | 'business_action.invoke' | 'business_action.read_implementation' | 'business_action.update_draft' | 'business_action.publish' | 'business_action.manage_access' | 'business_action.delegate_access' | 'business_action.delete')[];
2043
+ resourceId: string;
2044
+ resourceType: string;
2045
+ }[];
2046
+ workspaceId?: string;
2047
+ };
1632
2048
  Operation: {
1633
2049
  codeStale: boolean;
1634
2050
  dataSourceIds: string[];
@@ -1866,6 +2282,37 @@ export interface components {
1866
2282
  type: 'monthly';
1867
2283
  }) | (never | null);
1868
2284
  };
2285
+ Organization: {
2286
+ id: string;
2287
+ name: string;
2288
+ /** @enum {string|null} */
2289
+ signInRequired: 'saml' | 'local' | null;
2290
+ };
2291
+ OrganizationIdParams: {
2292
+ organizationId: string;
2293
+ };
2294
+ OrganizationList: {
2295
+ items: {
2296
+ id: string;
2297
+ name: string;
2298
+ /** @enum {string|null} */
2299
+ signInRequired: 'saml' | 'local' | null;
2300
+ }[];
2301
+ };
2302
+ OrganizationMemberInvite: {
2303
+ /** Format: email */
2304
+ email: string;
2305
+ /** @enum {string} */
2306
+ role: 'admin' | 'member' | 'viewer';
2307
+ };
2308
+ OrganizationMemberParams: {
2309
+ organizationId: string;
2310
+ userId: string;
2311
+ };
2312
+ OrganizationMemberRoleUpdate: {
2313
+ /** @enum {string} */
2314
+ role: 'admin' | 'member' | 'viewer';
2315
+ };
1869
2316
  PermissionGrant: {
1870
2317
  /** Format: date-time */
1871
2318
  createdAt: string;
@@ -2323,6 +2770,20 @@ export interface components {
2323
2770
  visibility: 'private' | 'internal' | 'public' | 'unlisted';
2324
2771
  }[];
2325
2772
  };
2773
+ WorkspaceMemberInvite: {
2774
+ /** Format: email */
2775
+ email: string;
2776
+ /** @enum {string} */
2777
+ role: 'admin' | 'member' | 'viewer' | 'guest';
2778
+ };
2779
+ WorkspaceMemberParams: {
2780
+ userId: string;
2781
+ workspaceId: string;
2782
+ };
2783
+ WorkspaceMemberRoleUpdate: {
2784
+ /** @enum {string} */
2785
+ role: 'admin' | 'member' | 'viewer' | 'guest';
2786
+ };
2326
2787
  WorkspaceUpdateRequest: {
2327
2788
  context?: string;
2328
2789
  name?: string;
@@ -8,8 +8,9 @@ export interface RuntimeRoute {
8
8
  querySchema: JsonSchema | null;
9
9
  responseSchema: JsonSchema;
10
10
  }
11
- export type PublicApiOperationId = 'emailsGet' | 'emailsSend' | 'accessRequestsCreate' | 'accessRequestsList' | 'accessRequestsGet' | 'accessRequestsDecide' | 'permissionsUpdate' | 'permissionsDelete' | 'permissionsList' | 'permissionsCreate' | 'permissionsInspect' | 'connectorSessionsCreate' | 'connectorSessionsGet' | 'resourceRevisionsList' | 'resourceRevisionsGet' | 'resourceRevisionsRestore' | 'resourcesPublish' | 'actionsPublicationRequestsCreate' | 'actionsPublicationRequestsList' | 'actionsPublicationRequestsDecide' | 'actionsList' | 'actionsCreate' | 'actionsGet' | 'actionsDelete' | 'actionDefinitionGet' | 'actionDefinitionSave' | 'actionsInvoke' | 'chatsCreate' | 'chatsGet' | 'chatTurnsCreate' | 'chatsStop' | 'chatDecisionsCreate' | 'usersMe' | 'workspacesList' | 'workspacesCreate' | 'workspacesGet' | 'workspacesUpdate' | 'workspacesDelete' | 'sourcesList' | 'sourcesGet' | 'dashboardsSourceGet' | 'dashboardsSourceUpdate' | 'datasetsCreate' | 'datasetsGetByKey' | 'datasetsGet' | 'datasetsDelete' | 'datasetsDownload' | 'datasetsWriteTables' | 'searchCreate' | 'answerJobsCreate' | 'answerJobsGet' | 'queriesCreate' | 'operationRunsList' | 'operationsList' | 'operationsGet' | 'operationsUpdate' | 'operationsSourceGet' | 'operationsSourceUpdate' | 'operationsRunsList' | 'operationsRun' | 'operationsRunOutput' | 'dataFlowsCreate' | 'dataFlowsGet' | 'dataFlowsCommand' | 'factsList' | 'factsCreate' | 'factsGet' | 'factsUpdate' | 'factsDelete' | 'skillsList' | 'skillsGet' | 'skillsUpdate' | 'skillsDelete' | 'organizationSkillsList' | 'organizationSkillsGet' | 'organizationSkillsUpdate' | 'organizationSkillsDelete' | 'databasesList' | 'databasesCreate' | 'databasesGet' | 'databasesDelete' | 'databaseDefinitionGet' | 'databaseDefinitionSave' | 'databaseTablesList' | 'databaseTablesCreate' | 'databaseRecordsList' | 'databaseTransactionsCreate' | 'appsPublicationRequestsCreate' | 'appsPublicationRequestsList' | 'appsPublicationRequestsDecide' | 'appsSourceFileGet' | 'appsAddressGet' | 'appsAddressSet' | 'appsAccessGet' | 'appsAccessSet' | 'appsGrantsList' | 'appsGrantsSet' | 'appsList' | 'appsCreate' | 'appsGet' | 'appsUpdate' | 'appsDelete' | 'appsUploadsCreate' | 'appsSiteUpdate' | 'writeSyncsList' | 'writeSyncsCreate' | 'writeSyncsDestinations' | 'writeSyncsGet' | 'writeSyncsUpdate' | 'writeSyncsDelete' | 'writeSyncsPreview' | 'writeSyncsPause' | 'writeSyncsListRuns' | 'writeSyncsGetRun' | 'writeSyncsExecute';
11
+ export type PublicApiOperationId = 'emailsGet' | 'emailsSend' | 'accessRequestsCreate' | 'accessRequestsList' | 'accessRequestsGet' | 'accessRequestsDecide' | 'permissionsUpdate' | 'permissionsDelete' | 'permissionsList' | 'permissionsCreate' | 'permissionsInspect' | 'connectorSessionsCreate' | 'connectorSessionsGet' | 'resourceRevisionsList' | 'resourceRevisionsGet' | 'resourceRevisionsRestore' | 'resourcesPublish' | 'actionsPublicationRequestsCreate' | 'actionsPublicationRequestsList' | 'actionsPublicationRequestsDecide' | 'actionsList' | 'actionsCreate' | 'actionsGet' | 'actionsDelete' | 'actionDefinitionGet' | 'actionDefinitionSave' | 'actionsInvoke' | 'actionTriggersList' | 'actionTriggersCreate' | 'actionTriggersGet' | 'actionTriggersUpdate' | 'actionTriggersDelete' | 'actionTriggerRunsList' | 'chatsCreate' | 'chatsGet' | 'chatTurnsCreate' | 'chatsStop' | 'chatDecisionsCreate' | 'usersMe' | 'organizationsList' | 'organizationsGet' | 'organizationMembersList' | 'organizationMembersInvite' | 'workspaceMembersList' | 'workspaceMembersInvite' | 'organizationMembersResendInvitation' | 'organizationMembersUpdateRole' | 'organizationMembersRemove' | 'workspaceMembersResendInvitation' | 'workspaceMembersUpdateRole' | 'workspaceMembersRemove' | 'workspacesList' | 'workspacesCreate' | 'workspacesGet' | 'workspacesUpdate' | 'workspacesDelete' | 'sourcesList' | 'sourcesGet' | 'dashboardsSourceGet' | 'dashboardsSourceUpdate' | 'datasetsCreate' | 'datasetsGetByKey' | 'datasetsGet' | 'datasetsDelete' | 'datasetsDownload' | 'datasetsWriteTables' | 'searchCreate' | 'answerJobsCreate' | 'answerJobsGet' | 'queriesCreate' | 'operationRunsList' | 'operationsList' | 'operationsGet' | 'operationsUpdate' | 'operationsSourceGet' | 'operationsSourceUpdate' | 'operationsRunsList' | 'operationsRun' | 'operationsRunOutput' | 'dataFlowsCreate' | 'dataFlowsGet' | 'dataFlowsCommand' | 'factsList' | 'factsCreate' | 'factsGet' | 'factsUpdate' | 'factsDelete' | 'skillsList' | 'skillsGet' | 'skillsUpdate' | 'skillsDelete' | 'organizationSkillsList' | 'organizationSkillsGet' | 'organizationSkillsUpdate' | 'organizationSkillsDelete' | 'databasesList' | 'databasesCreate' | 'databasesGet' | 'databasesDelete' | 'databaseDefinitionGet' | 'databaseDefinitionSave' | 'databaseTablesList' | 'databaseTablesCreate' | 'databaseRecordsList' | 'databaseTransactionsCreate' | 'appsPublicationRequestsCreate' | 'appsPublicationRequestsList' | 'appsPublicationRequestsDecide' | 'appsSourceFileGet' | 'appsAddressGet' | 'appsAddressSet' | 'appsAccessGet' | 'appsAccessSet' | 'appsGrantsList' | 'appsGrantsSet' | 'appsList' | 'appsCreate' | 'appsGet' | 'appsUpdate' | 'appsDelete' | 'appsUploadsCreate' | 'appsSiteUpdate' | 'writeSyncsList' | 'writeSyncsCreate' | 'writeSyncsDestinations' | 'writeSyncsGet' | 'writeSyncsUpdate' | 'writeSyncsDelete' | 'writeSyncsPreview' | 'writeSyncsPause' | 'writeSyncsListRuns' | 'writeSyncsGetRun' | 'writeSyncsExecute';
12
12
  export declare const publicApiRoutes: Record<PublicApiOperationId, RuntimeRoute>;
13
+ export declare const authorizationRequestSchema: JsonSchema;
13
14
  export declare const Providers: {
14
15
  readonly ACUMATICA: 'acumatica';
15
16
  readonly AMAZON_ADS: 'amazon_ads';
@@ -31,6 +32,7 @@ export declare const Providers: {
31
32
  readonly META_ADS: 'meta_ads';
32
33
  readonly MICROSOFT_ADVERTISING: 'microsoft_advertising';
33
34
  readonly MONDAY: 'monday';
35
+ readonly POSTGRES: 'postgres';
34
36
  readonly PROCORE: 'procore';
35
37
  readonly PYLON: 'pylon';
36
38
  readonly QUICKBOOKS: 'quickbooks';