@arbium/enterprise-agent-connect 0.1.2-dev.d2aa5ca → 0.2.1-dev.fd7a648

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.
Files changed (127) hide show
  1. package/README.md +15 -5
  2. package/dist/connectors/dynamics-365/connector.json +16 -1
  3. package/dist/connectors/dynamics-365/index.d.ts +1 -4
  4. package/dist/connectors/dynamics-365/index.js.map +1 -1
  5. package/dist/connectors/entra/index.d.ts +1 -1
  6. package/dist/connectors/gong/vendor.d.ts +1 -1
  7. package/dist/connectors/gong/vendor.js +24 -32
  8. package/dist/connectors/gong/vendor.js.map +1 -1
  9. package/dist/connectors/http/index.d.ts +2 -6
  10. package/dist/connectors/http/index.js +4 -1
  11. package/dist/connectors/http/index.js.map +1 -1
  12. package/dist/connectors/http/openapi.d.ts +62 -0
  13. package/dist/connectors/http/openapi.js +342 -0
  14. package/dist/connectors/http/openapi.js.map +1 -0
  15. package/dist/connectors/intune/index.d.ts +1 -1
  16. package/dist/connectors/jamf/vendor.js +5 -1
  17. package/dist/connectors/jamf/vendor.js.map +1 -1
  18. package/dist/connectors/jira/connector.json +3 -3
  19. package/dist/connectors/jira/vendor.d.ts +1 -1
  20. package/dist/connectors/jira/vendor.js +8 -2
  21. package/dist/connectors/jira/vendor.js.map +1 -1
  22. package/dist/connectors/microsoft/client.d.ts +11 -3
  23. package/dist/connectors/microsoft/client.js +62 -8
  24. package/dist/connectors/microsoft/client.js.map +1 -1
  25. package/dist/connectors/netsuite/connector.json +4 -2
  26. package/dist/connectors/netsuite/vendor.d.ts +1 -1
  27. package/dist/connectors/netsuite/vendor.js +5 -6
  28. package/dist/connectors/netsuite/vendor.js.map +1 -1
  29. package/dist/connectors/odata/index.d.ts +1 -4
  30. package/dist/connectors/odata/index.js.map +1 -1
  31. package/dist/connectors/okta/connector.json +3 -2
  32. package/dist/connectors/okta/vendor.d.ts +1 -1
  33. package/dist/connectors/okta/vendor.js +7 -6
  34. package/dist/connectors/okta/vendor.js.map +1 -1
  35. package/dist/connectors/outlook-calendar/index.d.ts +1 -1
  36. package/dist/connectors/outlook-mail/index.d.ts +1 -1
  37. package/dist/connectors/salesforce/vendor.d.ts +1 -1
  38. package/dist/connectors/salesforce/vendor.js +9 -3
  39. package/dist/connectors/salesforce/vendor.js.map +1 -1
  40. package/dist/connectors/sap-s4hana/connector.json +1 -0
  41. package/dist/connectors/servicenow/vendor.d.ts +0 -1
  42. package/dist/connectors/servicenow/vendor.js +7 -10
  43. package/dist/connectors/servicenow/vendor.js.map +1 -1
  44. package/dist/connectors/sharepoint-files/connector.json +34 -3
  45. package/dist/connectors/sharepoint-files/documents.d.ts +7 -0
  46. package/dist/connectors/sharepoint-files/documents.js +212 -0
  47. package/dist/connectors/sharepoint-files/documents.js.map +1 -0
  48. package/dist/connectors/sharepoint-files/docx-worker.d.ts +7 -0
  49. package/dist/connectors/sharepoint-files/docx-worker.js +41 -0
  50. package/dist/connectors/sharepoint-files/docx-worker.js.map +1 -0
  51. package/dist/connectors/sharepoint-files/docx.d.ts +96 -0
  52. package/dist/connectors/sharepoint-files/docx.js +823 -0
  53. package/dist/connectors/sharepoint-files/docx.js.map +1 -0
  54. package/dist/connectors/sharepoint-files/index.d.ts +1 -4
  55. package/dist/connectors/sharepoint-files/index.js +2 -1
  56. package/dist/connectors/sharepoint-files/index.js.map +1 -1
  57. package/dist/connectors/sharepoint-files/ooxml.d.ts +19 -0
  58. package/dist/connectors/sharepoint-files/ooxml.js +179 -0
  59. package/dist/connectors/sharepoint-files/ooxml.js.map +1 -0
  60. package/dist/connectors/sharepoint-files/paging.d.ts +15 -0
  61. package/dist/connectors/sharepoint-files/paging.js +87 -0
  62. package/dist/connectors/sharepoint-files/paging.js.map +1 -0
  63. package/dist/connectors/sharepoint-files/parse-host.mjs +78 -0
  64. package/dist/connectors/sharepoint-files/pdf-worker.mjs +108 -0
  65. package/dist/connectors/sharepoint-files/pdf.d.ts +16 -0
  66. package/dist/connectors/sharepoint-files/pdf.js +19 -0
  67. package/dist/connectors/sharepoint-files/pdf.js.map +1 -0
  68. package/dist/connectors/sharepoint-files/sandbox.d.ts +19 -0
  69. package/dist/connectors/sharepoint-files/sandbox.js +176 -0
  70. package/dist/connectors/sharepoint-files/sandbox.js.map +1 -0
  71. package/dist/connectors/sharepoint-files/tools.d.ts +6 -0
  72. package/dist/connectors/sharepoint-files/tools.js +79 -4
  73. package/dist/connectors/sharepoint-files/tools.js.map +1 -1
  74. package/dist/connectors/slack/vendor.d.ts +1 -1
  75. package/dist/connectors/slack/vendor.js +32 -38
  76. package/dist/connectors/slack/vendor.js.map +1 -1
  77. package/dist/connectors/soap/index.d.ts +1 -4
  78. package/dist/connectors/sql/index.d.ts +1 -4
  79. package/dist/connectors/sql/index.js +2 -0
  80. package/dist/connectors/sql/index.js.map +1 -1
  81. package/dist/connectors/teams/index.d.ts +1 -1
  82. package/dist/connectors/teams/tools.d.ts +6 -1
  83. package/dist/connectors/teams/tools.js +3 -2
  84. package/dist/connectors/teams/tools.js.map +1 -1
  85. package/dist/connectors/workday/connector.json +6 -4
  86. package/dist/connectors/workday/vendor.d.ts +1 -1
  87. package/dist/connectors/workday/vendor.js +8 -4
  88. package/dist/connectors/workday/vendor.js.map +1 -1
  89. package/dist/packages/connector-kit/src/common.d.ts +4 -5
  90. package/dist/packages/connector-kit/src/common.js +4 -1
  91. package/dist/packages/connector-kit/src/common.js.map +1 -1
  92. package/dist/packages/connector-kit/src/connector.d.ts +37 -27
  93. package/dist/packages/connector-kit/src/connector.js +50 -11
  94. package/dist/packages/connector-kit/src/connector.js.map +1 -1
  95. package/dist/packages/connector-kit/src/fetch.d.ts +6 -0
  96. package/dist/packages/connector-kit/src/fetch.js +44 -0
  97. package/dist/packages/connector-kit/src/fetch.js.map +1 -0
  98. package/dist/packages/connector-kit/src/index.d.ts +3 -3
  99. package/dist/packages/connector-kit/src/index.js +1 -0
  100. package/dist/packages/connector-kit/src/index.js.map +1 -1
  101. package/dist/packages/connector-kit/src/oauth.d.ts +1 -1
  102. package/dist/packages/connector-kit/src/oauth.js +4 -2
  103. package/dist/packages/connector-kit/src/oauth.js.map +1 -1
  104. package/dist/packages/connector-kit/src/types.d.ts +4 -1
  105. package/dist/packages/connector-kit/src/types.js.map +1 -1
  106. package/dist/packages/server/migrations/0008_internal_apps.sql +16 -0
  107. package/dist/packages/server/migrations/rollback/to-legacy.sql +2 -0
  108. package/dist/packages/server/src/api.d.ts +2417 -253
  109. package/dist/packages/server/src/api.js +84 -1
  110. package/dist/packages/server/src/api.js.map +1 -1
  111. package/dist/packages/server/src/app.js +26 -1
  112. package/dist/packages/server/src/app.js.map +1 -1
  113. package/dist/packages/server/src/builtin.d.ts +4 -3
  114. package/dist/packages/server/src/builtin.js.map +1 -1
  115. package/dist/packages/server/src/events/runtime.js +17 -10
  116. package/dist/packages/server/src/events/runtime.js.map +1 -1
  117. package/dist/packages/server/src/events/store.d.ts +2 -2
  118. package/dist/packages/server/src/index.d.ts +3 -3
  119. package/dist/packages/server/src/index.js +32 -22
  120. package/dist/packages/server/src/index.js.map +1 -1
  121. package/dist/packages/server/src/service.d.ts +1113 -14
  122. package/dist/packages/server/src/service.js +266 -21
  123. package/dist/packages/server/src/service.js.map +1 -1
  124. package/dist/packages/server/src/store.d.ts +43 -4
  125. package/dist/packages/server/src/store.js +79 -0
  126. package/dist/packages/server/src/store.js.map +1 -1
  127. package/package.json +4 -1
@@ -41,8 +41,8 @@ export declare const schemas: {
41
41
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
42
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
43
43
  siteRole: z.ZodOptional<z.ZodEnum<{
44
- write: "write";
45
44
  read: "read";
45
+ write: "write";
46
46
  }>>;
47
47
  agentCheck: z.ZodOptional<z.ZodBoolean>;
48
48
  confirm: z.ZodOptional<z.ZodString>;
@@ -58,6 +58,7 @@ export declare const schemas: {
58
58
  field: z.ZodString;
59
59
  value: z.ZodString;
60
60
  }, z.core.$strict>>;
61
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
62
  }, z.core.$strict>>;
62
63
  afterConnect: z.ZodArray<z.ZodObject<{
63
64
  title: z.ZodString;
@@ -76,8 +77,8 @@ export declare const schemas: {
76
77
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
77
78
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
78
79
  siteRole: z.ZodOptional<z.ZodEnum<{
79
- write: "write";
80
80
  read: "read";
81
+ write: "write";
81
82
  }>>;
82
83
  agentCheck: z.ZodOptional<z.ZodBoolean>;
83
84
  confirm: z.ZodOptional<z.ZodString>;
@@ -93,6 +94,7 @@ export declare const schemas: {
93
94
  field: z.ZodString;
94
95
  value: z.ZodString;
95
96
  }, z.core.$strict>>;
97
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
96
98
  }, z.core.$strict>>;
97
99
  fields: z.ZodArray<z.ZodObject<{
98
100
  id: z.ZodString;
@@ -110,6 +112,7 @@ export declare const schemas: {
110
112
  field: z.ZodString;
111
113
  value: z.ZodString;
112
114
  }, z.core.$strict>>;
115
+ optional: z.ZodDefault<z.ZodBoolean>;
113
116
  }, z.core.$strict>>;
114
117
  capabilities: z.ZodArray<z.ZodObject<{
115
118
  id: z.ZodString;
@@ -158,8 +161,8 @@ export declare const schemas: {
158
161
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
162
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
160
163
  siteRole: z.ZodOptional<z.ZodEnum<{
161
- write: "write";
162
164
  read: "read";
165
+ write: "write";
163
166
  }>>;
164
167
  agentCheck: z.ZodOptional<z.ZodBoolean>;
165
168
  confirm: z.ZodOptional<z.ZodString>;
@@ -206,6 +209,7 @@ export declare const schemas: {
206
209
  path: z.ZodString;
207
210
  label: z.ZodString;
208
211
  show: z.ZodString;
212
+ name: z.ZodOptional<z.ZodString>;
209
213
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
210
214
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
211
215
  ifEmpty: z.ZodOptional<z.ZodString>;
@@ -222,6 +226,7 @@ export declare const schemas: {
222
226
  path: z.ZodString;
223
227
  label: z.ZodString;
224
228
  show: z.ZodString;
229
+ name: z.ZodOptional<z.ZodString>;
225
230
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
226
231
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
227
232
  ifEmpty: z.ZodOptional<z.ZodString>;
@@ -278,8 +283,8 @@ export declare const schemas: {
278
283
  }>;
279
284
  description: z.ZodString;
280
285
  in: z.ZodEnum<{
281
- path: "path";
282
286
  body: "body";
287
+ path: "path";
283
288
  query: "query";
284
289
  }>;
285
290
  name: z.ZodOptional<z.ZodString>;
@@ -428,9 +433,9 @@ export declare const schemas: {
428
433
  string: "string";
429
434
  number: "number";
430
435
  boolean: "boolean";
436
+ guid: "guid";
431
437
  integer: "integer";
432
438
  decimal: "decimal";
433
- guid: "guid";
434
439
  datetime: "datetime";
435
440
  datetimeoffset: "datetimeoffset";
436
441
  }>;
@@ -444,9 +449,9 @@ export declare const schemas: {
444
449
  string: "string";
445
450
  number: "number";
446
451
  boolean: "boolean";
452
+ guid: "guid";
447
453
  integer: "integer";
448
454
  decimal: "decimal";
449
- guid: "guid";
450
455
  datetime: "datetime";
451
456
  datetimeoffset: "datetimeoffset";
452
457
  }>;
@@ -470,9 +475,9 @@ export declare const schemas: {
470
475
  string: "string";
471
476
  number: "number";
472
477
  boolean: "boolean";
478
+ guid: "guid";
473
479
  integer: "integer";
474
480
  decimal: "decimal";
475
- guid: "guid";
476
481
  datetime: "datetime";
477
482
  datetimeoffset: "datetimeoffset";
478
483
  }>;
@@ -486,9 +491,9 @@ export declare const schemas: {
486
491
  string: "string";
487
492
  number: "number";
488
493
  boolean: "boolean";
494
+ guid: "guid";
489
495
  integer: "integer";
490
496
  decimal: "decimal";
491
- guid: "guid";
492
497
  datetime: "datetime";
493
498
  datetimeoffset: "datetimeoffset";
494
499
  }>;
@@ -611,8 +616,8 @@ export declare const schemas: {
611
616
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
612
617
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
613
618
  siteRole: z.ZodOptional<z.ZodEnum<{
614
- write: "write";
615
619
  read: "read";
620
+ write: "write";
616
621
  }>>;
617
622
  agentCheck: z.ZodOptional<z.ZodBoolean>;
618
623
  confirm: z.ZodOptional<z.ZodString>;
@@ -670,164 +675,866 @@ export declare const schemas: {
670
675
  deliveryId: z.ZodArray<z.ZodString>;
671
676
  types: z.ZodArray<z.ZodObject<{
672
677
  type: z.ZodString;
673
- same: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
678
+ since: z.ZodOptional<z.ZodString>;
674
679
  }, z.core.$strict>>;
675
680
  }, z.core.$strict>>;
676
681
  }, z.core.$strict>>;
677
682
  }, z.core.$strict>;
678
- Branding: z.ZodObject<{
679
- productName: z.ZodDefault<z.ZodString>;
680
- logoUrl: z.ZodOptional<z.ZodURL>;
681
- resourcePrefix: z.ZodDefault<z.ZodString>;
682
- microsoft: z.ZodDefault<z.ZodObject<{
683
- appName: z.ZodDefault<z.ZodString>;
684
- mailboxGroup: z.ZodDefault<z.ZodString>;
685
- mailboxGroupAlias: z.ZodDefault<z.ZodString>;
686
- botRole: z.ZodDefault<z.ZodString>;
687
- }, z.core.$strict>>;
688
- teams: z.ZodDefault<z.ZodObject<{
689
- resourceGroup: z.ZodDefault<z.ZodString>;
690
- developer: z.ZodOptional<z.ZodObject<{
691
- name: z.ZodString;
692
- websiteUrl: z.ZodURL;
693
- privacyUrl: z.ZodURL;
694
- termsOfUseUrl: z.ZodURL;
695
- }, z.core.$strict>>;
696
- }, z.core.$strict>>;
697
- }, z.core.$strict>;
698
- Provider: z.ZodObject<{
683
+ InternalApp: z.ZodObject<{
699
684
  id: z.ZodString;
700
- name: z.ZodString;
701
- logo: z.ZodString;
702
- identity: z.ZodString;
703
- sharedIdentity: z.ZodOptional<z.ZodString>;
704
- accountKey: z.ZodString;
705
- principalKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
706
- certificate: z.ZodBoolean;
707
- setup: z.ZodArray<z.ZodObject<{
708
- title: z.ZodString;
709
- body: z.ZodString;
710
- link: z.ZodOptional<z.ZodObject<{
711
- label: z.ZodString;
712
- href: z.ZodURL;
713
- }, z.core.$strict>>;
714
- copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
715
- shell: z.ZodOptional<z.ZodEnum<{
716
- bash: "bash";
717
- powershell: "powershell";
718
- }>>;
719
- permissions: z.ZodOptional<z.ZodBoolean>;
720
- certificate: z.ZodOptional<z.ZodBoolean>;
721
- click: z.ZodOptional<z.ZodArray<z.ZodString>>;
722
- clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
723
- siteRole: z.ZodOptional<z.ZodEnum<{
724
- write: "write";
725
- read: "read";
685
+ organizationId: z.ZodString;
686
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
687
+ problem: z.ZodNullable<z.ZodString>;
688
+ createdBy: z.ZodString;
689
+ createdAt: z.ZodString;
690
+ updatedBy: z.ZodString;
691
+ updatedAt: z.ZodString;
692
+ }, z.core.$strict>;
693
+ InternalAppSaved: z.ZodObject<{
694
+ app: z.ZodObject<{
695
+ id: z.ZodString;
696
+ organizationId: z.ZodString;
697
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
698
+ problem: z.ZodNullable<z.ZodString>;
699
+ createdBy: z.ZodString;
700
+ createdAt: z.ZodString;
701
+ updatedBy: z.ZodString;
702
+ updatedAt: z.ZodString;
703
+ }, z.core.$strict>;
704
+ connector: z.ZodObject<{
705
+ id: z.ZodString;
706
+ name: z.ZodString;
707
+ description: z.ZodString;
708
+ logo: z.ZodString;
709
+ identity: z.ZodString;
710
+ signsInAs: z.ZodOptional<z.ZodEnum<{
711
+ agentBot: "agentBot";
726
712
  }>>;
727
- agentCheck: z.ZodOptional<z.ZodBoolean>;
728
- confirm: z.ZodOptional<z.ZodString>;
729
- live: z.ZodOptional<z.ZodString>;
730
- settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
+ provider: z.ZodOptional<z.ZodString>;
714
+ order: z.ZodOptional<z.ZodNumber>;
715
+ connectionKind: z.ZodEnum<{
716
+ guided: "guided";
717
+ }>;
718
+ accountKey: z.ZodString;
719
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
720
+ setup: z.ZodArray<z.ZodObject<{
721
+ title: z.ZodString;
722
+ body: z.ZodString;
723
+ link: z.ZodOptional<z.ZodObject<{
724
+ label: z.ZodString;
725
+ href: z.ZodURL;
726
+ }, z.core.$strict>>;
727
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
728
+ shell: z.ZodOptional<z.ZodEnum<{
729
+ bash: "bash";
730
+ powershell: "powershell";
731
+ }>>;
732
+ permissions: z.ZodOptional<z.ZodBoolean>;
733
+ certificate: z.ZodOptional<z.ZodBoolean>;
734
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
735
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
736
+ siteRole: z.ZodOptional<z.ZodEnum<{
737
+ read: "read";
738
+ write: "write";
739
+ }>>;
740
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
741
+ confirm: z.ZodOptional<z.ZodString>;
742
+ live: z.ZodOptional<z.ZodString>;
743
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
+ id: z.ZodString;
745
+ label: z.ZodString;
746
+ help: z.ZodOptional<z.ZodString>;
747
+ placeholder: z.ZodOptional<z.ZodString>;
748
+ pattern: z.ZodString;
749
+ }, z.core.$strict>>>;
750
+ option: z.ZodOptional<z.ZodObject<{
751
+ field: z.ZodString;
752
+ value: z.ZodString;
753
+ }, z.core.$strict>>;
754
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
755
+ }, z.core.$strict>>;
756
+ afterConnect: z.ZodArray<z.ZodObject<{
757
+ title: z.ZodString;
758
+ body: z.ZodString;
759
+ link: z.ZodOptional<z.ZodObject<{
760
+ label: z.ZodString;
761
+ href: z.ZodURL;
762
+ }, z.core.$strict>>;
763
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
764
+ shell: z.ZodOptional<z.ZodEnum<{
765
+ bash: "bash";
766
+ powershell: "powershell";
767
+ }>>;
768
+ permissions: z.ZodOptional<z.ZodBoolean>;
769
+ certificate: z.ZodOptional<z.ZodBoolean>;
770
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
771
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
772
+ siteRole: z.ZodOptional<z.ZodEnum<{
773
+ read: "read";
774
+ write: "write";
775
+ }>>;
776
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
777
+ confirm: z.ZodOptional<z.ZodString>;
778
+ live: z.ZodOptional<z.ZodString>;
779
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
780
+ id: z.ZodString;
781
+ label: z.ZodString;
782
+ help: z.ZodOptional<z.ZodString>;
783
+ placeholder: z.ZodOptional<z.ZodString>;
784
+ pattern: z.ZodString;
785
+ }, z.core.$strict>>>;
786
+ option: z.ZodOptional<z.ZodObject<{
787
+ field: z.ZodString;
788
+ value: z.ZodString;
789
+ }, z.core.$strict>>;
790
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
791
+ }, z.core.$strict>>;
792
+ fields: z.ZodArray<z.ZodObject<{
731
793
  id: z.ZodString;
732
794
  label: z.ZodString;
733
795
  help: z.ZodOptional<z.ZodString>;
734
796
  placeholder: z.ZodOptional<z.ZodString>;
735
- pattern: z.ZodString;
736
- }, z.core.$strict>>>;
737
- option: z.ZodOptional<z.ZodObject<{
738
- field: z.ZodString;
739
- value: z.ZodString;
797
+ secret: z.ZodBoolean;
798
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
799
+ value: z.ZodString;
800
+ label: z.ZodString;
801
+ description: z.ZodString;
802
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
803
+ }, z.core.$strict>>>;
804
+ requires: z.ZodOptional<z.ZodObject<{
805
+ field: z.ZodString;
806
+ value: z.ZodString;
807
+ }, z.core.$strict>>;
808
+ optional: z.ZodDefault<z.ZodBoolean>;
740
809
  }, z.core.$strict>>;
741
- }, z.core.$strict>>;
742
- fields: z.ZodArray<z.ZodObject<{
743
- id: z.ZodString;
744
- label: z.ZodString;
745
- help: z.ZodOptional<z.ZodString>;
746
- placeholder: z.ZodOptional<z.ZodString>;
747
- secret: z.ZodBoolean;
748
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
749
- value: z.ZodString;
810
+ capabilities: z.ZodArray<z.ZodObject<{
811
+ id: z.ZodString;
750
812
  label: z.ZodString;
751
813
  description: z.ZodString;
752
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
753
- }, z.core.$strict>>>;
754
- requires: z.ZodOptional<z.ZodObject<{
755
- field: z.ZodString;
756
- value: z.ZodString;
757
- }, z.core.$strict>>;
758
- optional: z.ZodDefault<z.ZodBoolean>;
759
- }, z.core.$strict>>;
760
- addAgent: z.ZodDefault<z.ZodArray<z.ZodObject<{
761
- title: z.ZodString;
762
- body: z.ZodString;
763
- link: z.ZodOptional<z.ZodObject<{
764
- label: z.ZodString;
765
- href: z.ZodURL;
814
+ required: z.ZodDefault<z.ZodBoolean>;
815
+ destructive: z.ZodDefault<z.ZodBoolean>;
816
+ costs: z.ZodOptional<z.ZodBoolean>;
817
+ scopes: z.ZodArray<z.ZodString>;
818
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
819
+ permissions: z.ZodArray<z.ZodString>;
820
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
821
+ note: z.ZodOptional<z.ZodString>;
822
+ forbidden: z.ZodOptional<z.ZodString>;
823
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
824
+ tools: z.ZodArray<z.ZodString>;
766
825
  }, z.core.$strict>>;
767
- copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
- shell: z.ZodOptional<z.ZodEnum<{
769
- bash: "bash";
770
- powershell: "powershell";
771
- }>>;
772
- permissions: z.ZodOptional<z.ZodBoolean>;
773
- certificate: z.ZodOptional<z.ZodBoolean>;
774
- click: z.ZodOptional<z.ZodArray<z.ZodString>>;
775
- clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
776
- siteRole: z.ZodOptional<z.ZodEnum<{
777
- write: "write";
778
- read: "read";
779
- }>>;
780
- agentCheck: z.ZodOptional<z.ZodBoolean>;
781
- confirm: z.ZodOptional<z.ZodString>;
782
- live: z.ZodOptional<z.ZodString>;
783
- settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
826
+ limits: z.ZodArray<z.ZodObject<{
784
827
  id: z.ZodString;
785
828
  label: z.ZodString;
786
- help: z.ZodOptional<z.ZodString>;
787
- placeholder: z.ZodOptional<z.ZodString>;
788
- pattern: z.ZodString;
789
- }, z.core.$strict>>>;
790
- option: z.ZodOptional<z.ZodObject<{
791
- field: z.ZodString;
792
- value: z.ZodString;
829
+ help: z.ZodString;
830
+ kind: z.ZodEnum<{
831
+ text: "text";
832
+ map: "map";
833
+ list: "list";
834
+ }>;
835
+ required: z.ZodBoolean;
836
+ pattern: z.ZodOptional<z.ZodString>;
837
+ keys: z.ZodOptional<z.ZodString>;
793
838
  }, z.core.$strict>>;
794
- apps: z.ZodArray<z.ZodString>;
795
- }, z.core.$strict>>>;
796
- revoke: z.ZodString;
797
- approval: z.ZodBoolean;
798
- }, z.core.$strict>;
799
- ProviderConnection: z.ZodObject<{
800
- id: z.ZodString;
801
- organizationId: z.ZodString;
802
- provider: z.ZodString;
803
- status: z.ZodEnum<{
804
- connected: "connected";
805
- needs_reconnect: "needs_reconnect";
806
- pending: "pending";
807
- }>;
808
- config: z.ZodRecord<z.ZodString, z.ZodString>;
809
- accountLabel: z.ZodNullable<z.ZodString>;
810
- connectedBy: z.ZodNullable<z.ZodString>;
811
- connectedAt: z.ZodString;
812
- checkedAt: z.ZodString;
813
- certificate: z.ZodNullable<z.ZodObject<{
814
- thumbprint: z.ZodString;
815
- expiresAt: z.ZodString;
816
- }, z.core.$strict>>;
817
- nextCertificate: z.ZodNullable<z.ZodObject<{
818
- thumbprint: z.ZodString;
819
- expiresAt: z.ZodString;
820
- }, z.core.$strict>>;
821
- apps: z.ZodArray<z.ZodString>;
822
- }, z.core.$strict>;
823
- Connection: z.ZodObject<{
824
- id: z.ZodString;
825
- organizationId: z.ZodString;
826
- connectorId: z.ZodString;
827
- providerId: z.ZodNullable<z.ZodString>;
828
- capabilities: z.ZodArray<z.ZodString>;
829
- config: z.ZodRecord<z.ZodString, z.ZodString>;
830
- status: z.ZodEnum<{
839
+ siteAccess: z.ZodOptional<z.ZodObject<{
840
+ grant: z.ZodArray<z.ZodObject<{
841
+ title: z.ZodString;
842
+ body: z.ZodString;
843
+ link: z.ZodOptional<z.ZodObject<{
844
+ label: z.ZodString;
845
+ href: z.ZodURL;
846
+ }, z.core.$strict>>;
847
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
848
+ shell: z.ZodOptional<z.ZodEnum<{
849
+ bash: "bash";
850
+ powershell: "powershell";
851
+ }>>;
852
+ permissions: z.ZodOptional<z.ZodBoolean>;
853
+ certificate: z.ZodOptional<z.ZodBoolean>;
854
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
855
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
856
+ siteRole: z.ZodOptional<z.ZodEnum<{
857
+ read: "read";
858
+ write: "write";
859
+ }>>;
860
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
861
+ confirm: z.ZodOptional<z.ZodString>;
862
+ live: z.ZodOptional<z.ZodString>;
863
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
864
+ id: z.ZodString;
865
+ label: z.ZodString;
866
+ help: z.ZodOptional<z.ZodString>;
867
+ placeholder: z.ZodOptional<z.ZodString>;
868
+ pattern: z.ZodString;
869
+ }, z.core.$strict>>>;
870
+ option: z.ZodOptional<z.ZodObject<{
871
+ field: z.ZodString;
872
+ value: z.ZodString;
873
+ }, z.core.$strict>>;
874
+ }, z.core.$strict>>;
875
+ request: z.ZodString;
876
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
877
+ }, z.core.$strict>>;
878
+ agentAccess: z.ZodOptional<z.ZodObject<{
879
+ limit: z.ZodString;
880
+ label: z.ZodString;
881
+ path: z.ZodString;
882
+ granted: z.ZodString;
883
+ notGranted: z.ZodString;
884
+ notFound: z.ZodString;
885
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
886
+ method: z.ZodEnum<{
887
+ GET: "GET";
888
+ POST: "POST";
889
+ PATCH: "PATCH";
890
+ }>;
891
+ path: z.ZodString;
892
+ body: z.ZodOptional<z.ZodUnknown>;
893
+ allowed: z.ZodArray<z.ZodNumber>;
894
+ }, z.core.$strict>>>;
895
+ missing: z.ZodOptional<z.ZodString>;
896
+ }, z.core.$strict>>;
897
+ verify: z.ZodUnion<readonly [z.ZodObject<{
898
+ method: z.ZodEnum<{
899
+ GET: "GET";
900
+ POST: "POST";
901
+ }>;
902
+ path: z.ZodString;
903
+ label: z.ZodString;
904
+ show: z.ZodString;
905
+ name: z.ZodOptional<z.ZodString>;
906
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
907
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
908
+ ifEmpty: z.ZodOptional<z.ZodString>;
909
+ }, z.core.$strict>, z.ZodObject<{
910
+ label: z.ZodString;
911
+ check: z.ZodString;
912
+ ifEmpty: z.ZodOptional<z.ZodString>;
913
+ }, z.core.$strict>]>;
914
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
915
+ method: z.ZodEnum<{
916
+ GET: "GET";
917
+ POST: "POST";
918
+ }>;
919
+ path: z.ZodString;
920
+ label: z.ZodString;
921
+ show: z.ZodString;
922
+ name: z.ZodOptional<z.ZodString>;
923
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
924
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
925
+ ifEmpty: z.ZodOptional<z.ZodString>;
926
+ }, z.core.$strict>, z.ZodObject<{
927
+ label: z.ZodString;
928
+ check: z.ZodString;
929
+ ifEmpty: z.ZodOptional<z.ZodString>;
930
+ }, z.core.$strict>]>>;
931
+ revoke: z.ZodString;
932
+ http: z.ZodOptional<z.ZodObject<{
933
+ baseUrl: z.ZodURL;
934
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
+ type: z.ZodLiteral<"header">;
936
+ header: z.ZodString;
937
+ value: z.ZodString;
938
+ prefix: z.ZodOptional<z.ZodString>;
939
+ }, z.core.$strict>, z.ZodObject<{
940
+ type: z.ZodLiteral<"bearer">;
941
+ token: z.ZodString;
942
+ }, z.core.$strict>, z.ZodObject<{
943
+ type: z.ZodLiteral<"basic">;
944
+ username: z.ZodString;
945
+ password: z.ZodString;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ type: z.ZodLiteral<"oauth2">;
948
+ tokenUrl: z.ZodURL;
949
+ clientId: z.ZodString;
950
+ clientSecret: z.ZodString;
951
+ scope: z.ZodOptional<z.ZodString>;
952
+ }, z.core.$strict>, z.ZodObject<{
953
+ type: z.ZodLiteral<"query">;
954
+ param: z.ZodString;
955
+ value: z.ZodString;
956
+ }, z.core.$strict>], "type">;
957
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
958
+ tools: z.ZodArray<z.ZodObject<{
959
+ name: z.ZodString;
960
+ description: z.ZodString;
961
+ method: z.ZodEnum<{
962
+ GET: "GET";
963
+ POST: "POST";
964
+ PUT: "PUT";
965
+ PATCH: "PATCH";
966
+ DELETE: "DELETE";
967
+ }>;
968
+ path: z.ZodString;
969
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
970
+ type: z.ZodEnum<{
971
+ string: "string";
972
+ number: "number";
973
+ boolean: "boolean";
974
+ array: "array";
975
+ integer: "integer";
976
+ }>;
977
+ description: z.ZodString;
978
+ in: z.ZodEnum<{
979
+ body: "body";
980
+ path: "path";
981
+ query: "query";
982
+ }>;
983
+ name: z.ZodOptional<z.ZodString>;
984
+ required: z.ZodDefault<z.ZodBoolean>;
985
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
986
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
987
+ items: z.ZodOptional<z.ZodEnum<{
988
+ string: "string";
989
+ number: "number";
990
+ boolean: "boolean";
991
+ integer: "integer";
992
+ }>>;
993
+ join: z.ZodOptional<z.ZodString>;
994
+ limit: z.ZodOptional<z.ZodString>;
995
+ }, z.core.$strict>>>;
996
+ destructive: z.ZodDefault<z.ZodBoolean>;
997
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
998
+ field: z.ZodString;
999
+ limit: z.ZodString;
1000
+ }, z.core.$strict>>>;
1001
+ result: z.ZodOptional<z.ZodObject<{
1002
+ items: z.ZodOptional<z.ZodString>;
1003
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1004
+ }, z.core.$strict>>;
1005
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1006
+ param: z.ZodString;
1007
+ body: z.ZodString;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ param: z.ZodString;
1010
+ header: z.ZodString;
1011
+ }, z.core.$strict>, z.ZodObject<{
1012
+ param: z.ZodString;
1013
+ link: z.ZodLiteral<true>;
1014
+ }, z.core.$strict>]>>;
1015
+ }, z.core.$strict>>;
1016
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1017
+ }, z.core.$strict>>;
1018
+ soap: z.ZodOptional<z.ZodObject<{
1019
+ endpoint: z.ZodURL;
1020
+ version: z.ZodDefault<z.ZodEnum<{
1021
+ 1.1: "1.1";
1022
+ 1.2: "1.2";
1023
+ }>>;
1024
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1025
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1026
+ type: z.ZodLiteral<"header">;
1027
+ header: z.ZodString;
1028
+ value: z.ZodString;
1029
+ prefix: z.ZodOptional<z.ZodString>;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ type: z.ZodLiteral<"bearer">;
1032
+ token: z.ZodString;
1033
+ }, z.core.$strict>, z.ZodObject<{
1034
+ type: z.ZodLiteral<"basic">;
1035
+ username: z.ZodString;
1036
+ password: z.ZodString;
1037
+ }, z.core.$strict>], "type">>;
1038
+ wsSecurity: z.ZodOptional<z.ZodObject<{
1039
+ username: z.ZodString;
1040
+ password: z.ZodString;
1041
+ digest: z.ZodDefault<z.ZodBoolean>;
1042
+ }, z.core.$strict>>;
1043
+ verify: z.ZodOptional<z.ZodObject<{
1044
+ tool: z.ZodString;
1045
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1046
+ show: z.ZodString;
1047
+ }, z.core.$strict>>;
1048
+ tools: z.ZodArray<z.ZodObject<{
1049
+ name: z.ZodString;
1050
+ description: z.ZodString;
1051
+ operation: z.ZodString;
1052
+ soapAction: z.ZodOptional<z.ZodString>;
1053
+ body: z.ZodString;
1054
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1055
+ type: z.ZodEnum<{
1056
+ string: "string";
1057
+ number: "number";
1058
+ boolean: "boolean";
1059
+ integer: "integer";
1060
+ }>;
1061
+ description: z.ZodString;
1062
+ required: z.ZodDefault<z.ZodBoolean>;
1063
+ limit: z.ZodOptional<z.ZodString>;
1064
+ }, z.core.$strict>>>;
1065
+ result: z.ZodOptional<z.ZodString>;
1066
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1067
+ readOnly: z.ZodDefault<z.ZodBoolean>;
1068
+ destructive: z.ZodDefault<z.ZodBoolean>;
1069
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1070
+ field: z.ZodString;
1071
+ limit: z.ZodString;
1072
+ }, z.core.$strict>>>;
1073
+ }, z.core.$strict>>;
1074
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1075
+ }, z.core.$strict>>;
1076
+ odata: z.ZodOptional<z.ZodObject<{
1077
+ serviceRoot: z.ZodURL;
1078
+ version: z.ZodEnum<{
1079
+ 2: "2";
1080
+ 4: "4";
1081
+ }>;
1082
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1083
+ type: z.ZodLiteral<"header">;
1084
+ header: z.ZodString;
1085
+ value: z.ZodString;
1086
+ prefix: z.ZodOptional<z.ZodString>;
1087
+ }, z.core.$strict>, z.ZodObject<{
1088
+ type: z.ZodLiteral<"bearer">;
1089
+ token: z.ZodString;
1090
+ }, z.core.$strict>, z.ZodObject<{
1091
+ type: z.ZodLiteral<"basic">;
1092
+ username: z.ZodString;
1093
+ password: z.ZodString;
1094
+ }, z.core.$strict>, z.ZodObject<{
1095
+ type: z.ZodLiteral<"oauth2">;
1096
+ tokenUrl: z.ZodURL;
1097
+ clientId: z.ZodString;
1098
+ clientSecret: z.ZodString;
1099
+ scope: z.ZodOptional<z.ZodString>;
1100
+ }, z.core.$strict>, z.ZodObject<{
1101
+ type: z.ZodLiteral<"query">;
1102
+ param: z.ZodString;
1103
+ value: z.ZodString;
1104
+ }, z.core.$strict>], "type">;
1105
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1106
+ csrf: z.ZodDefault<z.ZodBoolean>;
1107
+ paging: z.ZodDefault<z.ZodEnum<{
1108
+ skip: "skip";
1109
+ server: "server";
1110
+ }>>;
1111
+ tools: z.ZodArray<z.ZodObject<{
1112
+ name: z.ZodString;
1113
+ description: z.ZodString;
1114
+ kind: z.ZodEnum<{
1115
+ function: "function";
1116
+ list: "list";
1117
+ get: "get";
1118
+ create: "create";
1119
+ update: "update";
1120
+ action: "action";
1121
+ }>;
1122
+ entitySet: z.ZodOptional<z.ZodString>;
1123
+ function: z.ZodOptional<z.ZodString>;
1124
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1125
+ type: z.ZodEnum<{
1126
+ string: "string";
1127
+ number: "number";
1128
+ boolean: "boolean";
1129
+ guid: "guid";
1130
+ integer: "integer";
1131
+ decimal: "decimal";
1132
+ datetime: "datetime";
1133
+ datetimeoffset: "datetimeoffset";
1134
+ }>;
1135
+ description: z.ZodString;
1136
+ property: z.ZodOptional<z.ZodString>;
1137
+ required: z.ZodOptional<z.ZodBoolean>;
1138
+ limit: z.ZodOptional<z.ZodString>;
1139
+ }, z.core.$strict>>>;
1140
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1141
+ type: z.ZodEnum<{
1142
+ string: "string";
1143
+ number: "number";
1144
+ boolean: "boolean";
1145
+ guid: "guid";
1146
+ integer: "integer";
1147
+ decimal: "decimal";
1148
+ datetime: "datetime";
1149
+ datetimeoffset: "datetimeoffset";
1150
+ }>;
1151
+ description: z.ZodString;
1152
+ property: z.ZodOptional<z.ZodString>;
1153
+ required: z.ZodOptional<z.ZodBoolean>;
1154
+ limit: z.ZodOptional<z.ZodString>;
1155
+ op: z.ZodDefault<z.ZodEnum<{
1156
+ eq: "eq";
1157
+ ne: "ne";
1158
+ gt: "gt";
1159
+ ge: "ge";
1160
+ lt: "lt";
1161
+ le: "le";
1162
+ contains: "contains";
1163
+ startswith: "startswith";
1164
+ }>>;
1165
+ }, z.core.$strict>>>;
1166
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1167
+ type: z.ZodEnum<{
1168
+ string: "string";
1169
+ number: "number";
1170
+ boolean: "boolean";
1171
+ guid: "guid";
1172
+ integer: "integer";
1173
+ decimal: "decimal";
1174
+ datetime: "datetime";
1175
+ datetimeoffset: "datetimeoffset";
1176
+ }>;
1177
+ description: z.ZodString;
1178
+ property: z.ZodOptional<z.ZodString>;
1179
+ required: z.ZodOptional<z.ZodBoolean>;
1180
+ limit: z.ZodOptional<z.ZodString>;
1181
+ }, z.core.$strict>>>;
1182
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1183
+ type: z.ZodEnum<{
1184
+ string: "string";
1185
+ number: "number";
1186
+ boolean: "boolean";
1187
+ guid: "guid";
1188
+ integer: "integer";
1189
+ decimal: "decimal";
1190
+ datetime: "datetime";
1191
+ datetimeoffset: "datetimeoffset";
1192
+ }>;
1193
+ description: z.ZodString;
1194
+ property: z.ZodOptional<z.ZodString>;
1195
+ required: z.ZodOptional<z.ZodBoolean>;
1196
+ limit: z.ZodOptional<z.ZodString>;
1197
+ }, z.core.$strict>>>;
1198
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
1199
+ orderBy: z.ZodOptional<z.ZodString>;
1200
+ top: z.ZodDefault<z.ZodNumber>;
1201
+ destructive: z.ZodDefault<z.ZodBoolean>;
1202
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1203
+ field: z.ZodString;
1204
+ limit: z.ZodString;
1205
+ }, z.core.$strict>>>;
1206
+ }, z.core.$strict>>;
1207
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
1208
+ }, z.core.$strict>>;
1209
+ sql: z.ZodOptional<z.ZodObject<{
1210
+ engine: z.ZodEnum<{
1211
+ postgres: "postgres";
1212
+ sqlserver: "sqlserver";
1213
+ mysql: "mysql";
1214
+ oracle: "oracle";
1215
+ }>;
1216
+ host: z.ZodString;
1217
+ port: z.ZodOptional<z.ZodNumber>;
1218
+ database: z.ZodString;
1219
+ auth: z.ZodObject<{
1220
+ user: z.ZodString;
1221
+ password: z.ZodString;
1222
+ }, z.core.$strict>;
1223
+ tls: z.ZodDefault<z.ZodEnum<{
1224
+ verify: "verify";
1225
+ insecure: "insecure";
1226
+ off: "off";
1227
+ }>>;
1228
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1229
+ maxRows: z.ZodDefault<z.ZodNumber>;
1230
+ tools: z.ZodArray<z.ZodObject<{
1231
+ name: z.ZodString;
1232
+ description: z.ZodString;
1233
+ sql: z.ZodString;
1234
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1235
+ type: z.ZodEnum<{
1236
+ string: "string";
1237
+ number: "number";
1238
+ boolean: "boolean";
1239
+ integer: "integer";
1240
+ }>;
1241
+ description: z.ZodString;
1242
+ required: z.ZodDefault<z.ZodBoolean>;
1243
+ limit: z.ZodOptional<z.ZodString>;
1244
+ }, z.core.$strict>>>;
1245
+ write: z.ZodDefault<z.ZodBoolean>;
1246
+ destructive: z.ZodDefault<z.ZodBoolean>;
1247
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1248
+ column: z.ZodString;
1249
+ limit: z.ZodString;
1250
+ }, z.core.$strict>>>;
1251
+ }, z.core.$strict>>;
1252
+ }, z.core.$strict>>;
1253
+ events: z.ZodOptional<z.ZodObject<{
1254
+ types: z.ZodArray<z.ZodObject<{
1255
+ id: z.ZodString;
1256
+ label: z.ZodString;
1257
+ }, z.core.$strict>>;
1258
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
1259
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1260
+ webhook: z.ZodOptional<z.ZodObject<{
1261
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
1262
+ type: z.ZodLiteral<"hmac-sha256">;
1263
+ header: z.ZodString;
1264
+ prefix: z.ZodDefault<z.ZodString>;
1265
+ }, z.core.$strict>, z.ZodObject<{
1266
+ type: z.ZodLiteral<"token">;
1267
+ header: z.ZodString;
1268
+ }, z.core.$strict>, z.ZodObject<{
1269
+ type: z.ZodLiteral<"none">;
1270
+ }, z.core.$strict>], "type">;
1271
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
1272
+ type: z.ZodUnion<readonly [z.ZodObject<{
1273
+ field: z.ZodString;
1274
+ }, z.core.$strict>, z.ZodObject<{
1275
+ header: z.ZodString;
1276
+ }, z.core.$strict>]>;
1277
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1278
+ field: z.ZodString;
1279
+ }, z.core.$strict>, z.ZodObject<{
1280
+ header: z.ZodString;
1281
+ }, z.core.$strict>]>>;
1282
+ timestamp: z.ZodOptional<z.ZodObject<{
1283
+ at: z.ZodUnion<readonly [z.ZodObject<{
1284
+ field: z.ZodString;
1285
+ }, z.core.$strict>, z.ZodObject<{
1286
+ header: z.ZodString;
1287
+ }, z.core.$strict>]>;
1288
+ unit: z.ZodEnum<{
1289
+ s: "s";
1290
+ ms: "ms";
1291
+ iso: "iso";
1292
+ }>;
1293
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
1294
+ }, z.core.$strict>>;
1295
+ setup: z.ZodArray<z.ZodObject<{
1296
+ title: z.ZodString;
1297
+ body: z.ZodString;
1298
+ link: z.ZodOptional<z.ZodObject<{
1299
+ label: z.ZodString;
1300
+ href: z.ZodURL;
1301
+ }, z.core.$strict>>;
1302
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1303
+ shell: z.ZodOptional<z.ZodEnum<{
1304
+ bash: "bash";
1305
+ powershell: "powershell";
1306
+ }>>;
1307
+ permissions: z.ZodOptional<z.ZodBoolean>;
1308
+ certificate: z.ZodOptional<z.ZodBoolean>;
1309
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1310
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1311
+ siteRole: z.ZodOptional<z.ZodEnum<{
1312
+ read: "read";
1313
+ write: "write";
1314
+ }>>;
1315
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1316
+ confirm: z.ZodOptional<z.ZodString>;
1317
+ live: z.ZodOptional<z.ZodString>;
1318
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1319
+ id: z.ZodString;
1320
+ label: z.ZodString;
1321
+ help: z.ZodOptional<z.ZodString>;
1322
+ placeholder: z.ZodOptional<z.ZodString>;
1323
+ pattern: z.ZodString;
1324
+ }, z.core.$strict>>>;
1325
+ option: z.ZodOptional<z.ZodObject<{
1326
+ field: z.ZodString;
1327
+ value: z.ZodString;
1328
+ }, z.core.$strict>>;
1329
+ }, z.core.$strict>>;
1330
+ register: z.ZodOptional<z.ZodObject<{
1331
+ method: z.ZodEnum<{
1332
+ GET: "GET";
1333
+ POST: "POST";
1334
+ PUT: "PUT";
1335
+ }>;
1336
+ path: z.ZodString;
1337
+ body: z.ZodOptional<z.ZodUnknown>;
1338
+ location: z.ZodString;
1339
+ }, z.core.$strict>>;
1340
+ }, z.core.$strict>>;
1341
+ self: z.ZodOptional<z.ZodObject<{
1342
+ request: z.ZodObject<{
1343
+ method: z.ZodEnum<{
1344
+ GET: "GET";
1345
+ POST: "POST";
1346
+ PUT: "PUT";
1347
+ }>;
1348
+ path: z.ZodString;
1349
+ body: z.ZodOptional<z.ZodUnknown>;
1350
+ }, z.core.$strict>;
1351
+ id: z.ZodString;
1352
+ fields: z.ZodArray<z.ZodString>;
1353
+ }, z.core.$strict>>;
1354
+ poll: z.ZodOptional<z.ZodObject<{
1355
+ request: z.ZodObject<{
1356
+ method: z.ZodEnum<{
1357
+ GET: "GET";
1358
+ POST: "POST";
1359
+ PUT: "PUT";
1360
+ }>;
1361
+ path: z.ZodString;
1362
+ body: z.ZodOptional<z.ZodUnknown>;
1363
+ }, z.core.$strict>;
1364
+ filter: z.ZodOptional<z.ZodString>;
1365
+ items: z.ZodString;
1366
+ wrap: z.ZodOptional<z.ZodString>;
1367
+ cursor: z.ZodString;
1368
+ deliveryId: z.ZodArray<z.ZodString>;
1369
+ types: z.ZodArray<z.ZodObject<{
1370
+ type: z.ZodString;
1371
+ since: z.ZodOptional<z.ZodString>;
1372
+ }, z.core.$strict>>;
1373
+ }, z.core.$strict>>;
1374
+ }, z.core.$strict>>;
1375
+ }, z.core.$strict>;
1376
+ created: z.ZodBoolean;
1377
+ disconnected: z.ZodBoolean;
1378
+ grantsRemoved: z.ZodArray<z.ZodString>;
1379
+ }, z.core.$strict>;
1380
+ InternalAppDraft: z.ZodObject<{
1381
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1382
+ notes: z.ZodArray<z.ZodString>;
1383
+ problem: z.ZodNullable<z.ZodString>;
1384
+ }, z.core.$strict>;
1385
+ Branding: z.ZodObject<{
1386
+ productName: z.ZodDefault<z.ZodString>;
1387
+ logoUrl: z.ZodOptional<z.ZodURL>;
1388
+ resourcePrefix: z.ZodDefault<z.ZodString>;
1389
+ microsoft: z.ZodDefault<z.ZodObject<{
1390
+ appName: z.ZodDefault<z.ZodString>;
1391
+ mailboxGroup: z.ZodDefault<z.ZodString>;
1392
+ mailboxGroupAlias: z.ZodDefault<z.ZodString>;
1393
+ botRole: z.ZodDefault<z.ZodString>;
1394
+ }, z.core.$strict>>;
1395
+ teams: z.ZodDefault<z.ZodObject<{
1396
+ resourceGroup: z.ZodDefault<z.ZodString>;
1397
+ developer: z.ZodOptional<z.ZodObject<{
1398
+ name: z.ZodString;
1399
+ websiteUrl: z.ZodURL;
1400
+ privacyUrl: z.ZodURL;
1401
+ termsOfUseUrl: z.ZodURL;
1402
+ }, z.core.$strict>>;
1403
+ }, z.core.$strict>>;
1404
+ }, z.core.$strict>;
1405
+ Provider: z.ZodObject<{
1406
+ id: z.ZodString;
1407
+ name: z.ZodString;
1408
+ logo: z.ZodString;
1409
+ identity: z.ZodString;
1410
+ sharedIdentity: z.ZodOptional<z.ZodString>;
1411
+ accountKey: z.ZodString;
1412
+ principalKeys: z.ZodDefault<z.ZodArray<z.ZodString>>;
1413
+ certificate: z.ZodBoolean;
1414
+ setup: z.ZodArray<z.ZodObject<{
1415
+ title: z.ZodString;
1416
+ body: z.ZodString;
1417
+ link: z.ZodOptional<z.ZodObject<{
1418
+ label: z.ZodString;
1419
+ href: z.ZodURL;
1420
+ }, z.core.$strict>>;
1421
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1422
+ shell: z.ZodOptional<z.ZodEnum<{
1423
+ bash: "bash";
1424
+ powershell: "powershell";
1425
+ }>>;
1426
+ permissions: z.ZodOptional<z.ZodBoolean>;
1427
+ certificate: z.ZodOptional<z.ZodBoolean>;
1428
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1429
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1430
+ siteRole: z.ZodOptional<z.ZodEnum<{
1431
+ read: "read";
1432
+ write: "write";
1433
+ }>>;
1434
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1435
+ confirm: z.ZodOptional<z.ZodString>;
1436
+ live: z.ZodOptional<z.ZodString>;
1437
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1438
+ id: z.ZodString;
1439
+ label: z.ZodString;
1440
+ help: z.ZodOptional<z.ZodString>;
1441
+ placeholder: z.ZodOptional<z.ZodString>;
1442
+ pattern: z.ZodString;
1443
+ }, z.core.$strict>>>;
1444
+ option: z.ZodOptional<z.ZodObject<{
1445
+ field: z.ZodString;
1446
+ value: z.ZodString;
1447
+ }, z.core.$strict>>;
1448
+ }, z.core.$strict>>;
1449
+ fields: z.ZodArray<z.ZodObject<{
1450
+ id: z.ZodString;
1451
+ label: z.ZodString;
1452
+ help: z.ZodOptional<z.ZodString>;
1453
+ placeholder: z.ZodOptional<z.ZodString>;
1454
+ secret: z.ZodBoolean;
1455
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1456
+ value: z.ZodString;
1457
+ label: z.ZodString;
1458
+ description: z.ZodString;
1459
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1460
+ }, z.core.$strict>>>;
1461
+ requires: z.ZodOptional<z.ZodObject<{
1462
+ field: z.ZodString;
1463
+ value: z.ZodString;
1464
+ }, z.core.$strict>>;
1465
+ optional: z.ZodDefault<z.ZodBoolean>;
1466
+ }, z.core.$strict>>;
1467
+ addAgent: z.ZodDefault<z.ZodArray<z.ZodObject<{
1468
+ title: z.ZodString;
1469
+ body: z.ZodString;
1470
+ link: z.ZodOptional<z.ZodObject<{
1471
+ label: z.ZodString;
1472
+ href: z.ZodURL;
1473
+ }, z.core.$strict>>;
1474
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1475
+ shell: z.ZodOptional<z.ZodEnum<{
1476
+ bash: "bash";
1477
+ powershell: "powershell";
1478
+ }>>;
1479
+ permissions: z.ZodOptional<z.ZodBoolean>;
1480
+ certificate: z.ZodOptional<z.ZodBoolean>;
1481
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1482
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1483
+ siteRole: z.ZodOptional<z.ZodEnum<{
1484
+ read: "read";
1485
+ write: "write";
1486
+ }>>;
1487
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
1488
+ confirm: z.ZodOptional<z.ZodString>;
1489
+ live: z.ZodOptional<z.ZodString>;
1490
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1491
+ id: z.ZodString;
1492
+ label: z.ZodString;
1493
+ help: z.ZodOptional<z.ZodString>;
1494
+ placeholder: z.ZodOptional<z.ZodString>;
1495
+ pattern: z.ZodString;
1496
+ }, z.core.$strict>>>;
1497
+ option: z.ZodOptional<z.ZodObject<{
1498
+ field: z.ZodString;
1499
+ value: z.ZodString;
1500
+ }, z.core.$strict>>;
1501
+ apps: z.ZodArray<z.ZodString>;
1502
+ }, z.core.$strict>>>;
1503
+ revoke: z.ZodString;
1504
+ approval: z.ZodBoolean;
1505
+ }, z.core.$strict>;
1506
+ ProviderConnection: z.ZodObject<{
1507
+ id: z.ZodString;
1508
+ organizationId: z.ZodString;
1509
+ provider: z.ZodString;
1510
+ status: z.ZodEnum<{
1511
+ connected: "connected";
1512
+ needs_reconnect: "needs_reconnect";
1513
+ pending: "pending";
1514
+ }>;
1515
+ config: z.ZodRecord<z.ZodString, z.ZodString>;
1516
+ accountLabel: z.ZodNullable<z.ZodString>;
1517
+ connectedBy: z.ZodNullable<z.ZodString>;
1518
+ connectedAt: z.ZodString;
1519
+ checkedAt: z.ZodString;
1520
+ certificate: z.ZodNullable<z.ZodObject<{
1521
+ thumbprint: z.ZodString;
1522
+ expiresAt: z.ZodString;
1523
+ }, z.core.$strict>>;
1524
+ nextCertificate: z.ZodNullable<z.ZodObject<{
1525
+ thumbprint: z.ZodString;
1526
+ expiresAt: z.ZodString;
1527
+ }, z.core.$strict>>;
1528
+ apps: z.ZodArray<z.ZodString>;
1529
+ }, z.core.$strict>;
1530
+ Connection: z.ZodObject<{
1531
+ id: z.ZodString;
1532
+ organizationId: z.ZodString;
1533
+ connectorId: z.ZodString;
1534
+ providerId: z.ZodNullable<z.ZodString>;
1535
+ capabilities: z.ZodArray<z.ZodString>;
1536
+ config: z.ZodRecord<z.ZodString, z.ZodString>;
1537
+ status: z.ZodEnum<{
831
1538
  connected: "connected";
832
1539
  needs_reconnect: "needs_reconnect";
833
1540
  }>;
@@ -840,6 +1547,7 @@ export declare const schemas: {
840
1547
  label: z.ZodString;
841
1548
  values: z.ZodArray<z.ZodString>;
842
1549
  warning: z.ZodOptional<z.ZodString>;
1550
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
843
1551
  }, z.core.$strict>;
844
1552
  CheckOutcome: z.ZodUnion<readonly [z.ZodObject<{
845
1553
  ok: z.ZodLiteral<true>;
@@ -847,6 +1555,7 @@ export declare const schemas: {
847
1555
  label: z.ZodString;
848
1556
  values: z.ZodArray<z.ZodString>;
849
1557
  warning: z.ZodOptional<z.ZodString>;
1558
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
850
1559
  }, z.core.$strict>>;
851
1560
  }, z.core.$strict>, z.ZodObject<{
852
1561
  ok: z.ZodLiteral<false>;
@@ -879,6 +1588,7 @@ export declare const schemas: {
879
1588
  label: z.ZodString;
880
1589
  values: z.ZodArray<z.ZodString>;
881
1590
  warning: z.ZodOptional<z.ZodString>;
1591
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
882
1592
  }, z.core.$strict>>;
883
1593
  }, z.core.$strict>;
884
1594
  SignIn: z.ZodObject<{
@@ -1104,9 +1814,9 @@ export declare const schemas: {
1104
1814
  sessionId: z.ZodNullable<z.ZodString>;
1105
1815
  state: z.ZodEnum<{
1106
1816
  failed: "failed";
1107
- starting: "starting";
1108
1817
  running: "running";
1109
1818
  idle: "idle";
1819
+ starting: "starting";
1110
1820
  ended: "ended";
1111
1821
  no_reply: "no_reply";
1112
1822
  }>;
@@ -1174,8 +1884,8 @@ export declare const schemas: {
1174
1884
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1175
1885
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1176
1886
  siteRole: z.ZodOptional<z.ZodEnum<{
1177
- write: "write";
1178
1887
  read: "read";
1888
+ write: "write";
1179
1889
  }>>;
1180
1890
  agentCheck: z.ZodOptional<z.ZodBoolean>;
1181
1891
  confirm: z.ZodOptional<z.ZodString>;
@@ -1235,8 +1945,8 @@ export declare const schemas: {
1235
1945
  sessionId: z.ZodNullable<z.ZodString>;
1236
1946
  state: z.ZodEnum<{
1237
1947
  failed: "failed";
1238
- starting: "starting";
1239
1948
  running: "running";
1949
+ starting: "starting";
1240
1950
  ended: "ended";
1241
1951
  }>;
1242
1952
  error: z.ZodNullable<z.ZodString>;
@@ -1369,22 +2079,701 @@ export declare const routes: {
1369
2079
  mailboxGroupAlias: z.ZodDefault<z.ZodString>;
1370
2080
  botRole: z.ZodDefault<z.ZodString>;
1371
2081
  }, z.core.$strict>>;
1372
- teams: z.ZodDefault<z.ZodObject<{
1373
- resourceGroup: z.ZodDefault<z.ZodString>;
1374
- developer: z.ZodOptional<z.ZodObject<{
2082
+ teams: z.ZodDefault<z.ZodObject<{
2083
+ resourceGroup: z.ZodDefault<z.ZodString>;
2084
+ developer: z.ZodOptional<z.ZodObject<{
2085
+ name: z.ZodString;
2086
+ websiteUrl: z.ZodURL;
2087
+ privacyUrl: z.ZodURL;
2088
+ termsOfUseUrl: z.ZodURL;
2089
+ }, z.core.$strict>>;
2090
+ }, z.core.$strict>>;
2091
+ }, z.core.$strict>;
2092
+ };
2093
+ };
2094
+ readonly connectors: {
2095
+ readonly method: "GET";
2096
+ readonly path: "/connectors";
2097
+ readonly summary: "The apps agents can use";
2098
+ readonly responses: {
2099
+ readonly 200: z.ZodArray<z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ name: z.ZodString;
2102
+ description: z.ZodString;
2103
+ logo: z.ZodString;
2104
+ identity: z.ZodString;
2105
+ signsInAs: z.ZodOptional<z.ZodEnum<{
2106
+ agentBot: "agentBot";
2107
+ }>>;
2108
+ provider: z.ZodOptional<z.ZodString>;
2109
+ order: z.ZodOptional<z.ZodNumber>;
2110
+ connectionKind: z.ZodEnum<{
2111
+ guided: "guided";
2112
+ }>;
2113
+ accountKey: z.ZodString;
2114
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2115
+ setup: z.ZodArray<z.ZodObject<{
2116
+ title: z.ZodString;
2117
+ body: z.ZodString;
2118
+ link: z.ZodOptional<z.ZodObject<{
2119
+ label: z.ZodString;
2120
+ href: z.ZodURL;
2121
+ }, z.core.$strict>>;
2122
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2123
+ shell: z.ZodOptional<z.ZodEnum<{
2124
+ bash: "bash";
2125
+ powershell: "powershell";
2126
+ }>>;
2127
+ permissions: z.ZodOptional<z.ZodBoolean>;
2128
+ certificate: z.ZodOptional<z.ZodBoolean>;
2129
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2130
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2131
+ siteRole: z.ZodOptional<z.ZodEnum<{
2132
+ read: "read";
2133
+ write: "write";
2134
+ }>>;
2135
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2136
+ confirm: z.ZodOptional<z.ZodString>;
2137
+ live: z.ZodOptional<z.ZodString>;
2138
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2139
+ id: z.ZodString;
2140
+ label: z.ZodString;
2141
+ help: z.ZodOptional<z.ZodString>;
2142
+ placeholder: z.ZodOptional<z.ZodString>;
2143
+ pattern: z.ZodString;
2144
+ }, z.core.$strict>>>;
2145
+ option: z.ZodOptional<z.ZodObject<{
2146
+ field: z.ZodString;
2147
+ value: z.ZodString;
2148
+ }, z.core.$strict>>;
2149
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
2150
+ }, z.core.$strict>>;
2151
+ afterConnect: z.ZodArray<z.ZodObject<{
2152
+ title: z.ZodString;
2153
+ body: z.ZodString;
2154
+ link: z.ZodOptional<z.ZodObject<{
2155
+ label: z.ZodString;
2156
+ href: z.ZodURL;
2157
+ }, z.core.$strict>>;
2158
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2159
+ shell: z.ZodOptional<z.ZodEnum<{
2160
+ bash: "bash";
2161
+ powershell: "powershell";
2162
+ }>>;
2163
+ permissions: z.ZodOptional<z.ZodBoolean>;
2164
+ certificate: z.ZodOptional<z.ZodBoolean>;
2165
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2166
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2167
+ siteRole: z.ZodOptional<z.ZodEnum<{
2168
+ read: "read";
2169
+ write: "write";
2170
+ }>>;
2171
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2172
+ confirm: z.ZodOptional<z.ZodString>;
2173
+ live: z.ZodOptional<z.ZodString>;
2174
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2175
+ id: z.ZodString;
2176
+ label: z.ZodString;
2177
+ help: z.ZodOptional<z.ZodString>;
2178
+ placeholder: z.ZodOptional<z.ZodString>;
2179
+ pattern: z.ZodString;
2180
+ }, z.core.$strict>>>;
2181
+ option: z.ZodOptional<z.ZodObject<{
2182
+ field: z.ZodString;
2183
+ value: z.ZodString;
2184
+ }, z.core.$strict>>;
2185
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
2186
+ }, z.core.$strict>>;
2187
+ fields: z.ZodArray<z.ZodObject<{
2188
+ id: z.ZodString;
2189
+ label: z.ZodString;
2190
+ help: z.ZodOptional<z.ZodString>;
2191
+ placeholder: z.ZodOptional<z.ZodString>;
2192
+ secret: z.ZodBoolean;
2193
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
2194
+ value: z.ZodString;
2195
+ label: z.ZodString;
2196
+ description: z.ZodString;
2197
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2198
+ }, z.core.$strict>>>;
2199
+ requires: z.ZodOptional<z.ZodObject<{
2200
+ field: z.ZodString;
2201
+ value: z.ZodString;
2202
+ }, z.core.$strict>>;
2203
+ optional: z.ZodDefault<z.ZodBoolean>;
2204
+ }, z.core.$strict>>;
2205
+ capabilities: z.ZodArray<z.ZodObject<{
2206
+ id: z.ZodString;
2207
+ label: z.ZodString;
2208
+ description: z.ZodString;
2209
+ required: z.ZodDefault<z.ZodBoolean>;
2210
+ destructive: z.ZodDefault<z.ZodBoolean>;
2211
+ costs: z.ZodOptional<z.ZodBoolean>;
2212
+ scopes: z.ZodArray<z.ZodString>;
2213
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2214
+ permissions: z.ZodArray<z.ZodString>;
2215
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2216
+ note: z.ZodOptional<z.ZodString>;
2217
+ forbidden: z.ZodOptional<z.ZodString>;
2218
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
2219
+ tools: z.ZodArray<z.ZodString>;
2220
+ }, z.core.$strict>>;
2221
+ limits: z.ZodArray<z.ZodObject<{
2222
+ id: z.ZodString;
2223
+ label: z.ZodString;
2224
+ help: z.ZodString;
2225
+ kind: z.ZodEnum<{
2226
+ text: "text";
2227
+ map: "map";
2228
+ list: "list";
2229
+ }>;
2230
+ required: z.ZodBoolean;
2231
+ pattern: z.ZodOptional<z.ZodString>;
2232
+ keys: z.ZodOptional<z.ZodString>;
2233
+ }, z.core.$strict>>;
2234
+ siteAccess: z.ZodOptional<z.ZodObject<{
2235
+ grant: z.ZodArray<z.ZodObject<{
2236
+ title: z.ZodString;
2237
+ body: z.ZodString;
2238
+ link: z.ZodOptional<z.ZodObject<{
2239
+ label: z.ZodString;
2240
+ href: z.ZodURL;
2241
+ }, z.core.$strict>>;
2242
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2243
+ shell: z.ZodOptional<z.ZodEnum<{
2244
+ bash: "bash";
2245
+ powershell: "powershell";
2246
+ }>>;
2247
+ permissions: z.ZodOptional<z.ZodBoolean>;
2248
+ certificate: z.ZodOptional<z.ZodBoolean>;
2249
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2250
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2251
+ siteRole: z.ZodOptional<z.ZodEnum<{
2252
+ read: "read";
2253
+ write: "write";
2254
+ }>>;
2255
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2256
+ confirm: z.ZodOptional<z.ZodString>;
2257
+ live: z.ZodOptional<z.ZodString>;
2258
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2259
+ id: z.ZodString;
2260
+ label: z.ZodString;
2261
+ help: z.ZodOptional<z.ZodString>;
2262
+ placeholder: z.ZodOptional<z.ZodString>;
2263
+ pattern: z.ZodString;
2264
+ }, z.core.$strict>>>;
2265
+ option: z.ZodOptional<z.ZodObject<{
2266
+ field: z.ZodString;
2267
+ value: z.ZodString;
2268
+ }, z.core.$strict>>;
2269
+ }, z.core.$strict>>;
2270
+ request: z.ZodString;
2271
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
2272
+ }, z.core.$strict>>;
2273
+ agentAccess: z.ZodOptional<z.ZodObject<{
2274
+ limit: z.ZodString;
2275
+ label: z.ZodString;
2276
+ path: z.ZodString;
2277
+ granted: z.ZodString;
2278
+ notGranted: z.ZodString;
2279
+ notFound: z.ZodString;
2280
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2281
+ method: z.ZodEnum<{
2282
+ GET: "GET";
2283
+ POST: "POST";
2284
+ PATCH: "PATCH";
2285
+ }>;
2286
+ path: z.ZodString;
2287
+ body: z.ZodOptional<z.ZodUnknown>;
2288
+ allowed: z.ZodArray<z.ZodNumber>;
2289
+ }, z.core.$strict>>>;
2290
+ missing: z.ZodOptional<z.ZodString>;
2291
+ }, z.core.$strict>>;
2292
+ verify: z.ZodUnion<readonly [z.ZodObject<{
2293
+ method: z.ZodEnum<{
2294
+ GET: "GET";
2295
+ POST: "POST";
2296
+ }>;
2297
+ path: z.ZodString;
2298
+ label: z.ZodString;
2299
+ show: z.ZodString;
2300
+ name: z.ZodOptional<z.ZodString>;
2301
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2302
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2303
+ ifEmpty: z.ZodOptional<z.ZodString>;
2304
+ }, z.core.$strict>, z.ZodObject<{
2305
+ label: z.ZodString;
2306
+ check: z.ZodString;
2307
+ ifEmpty: z.ZodOptional<z.ZodString>;
2308
+ }, z.core.$strict>]>;
2309
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2310
+ method: z.ZodEnum<{
2311
+ GET: "GET";
2312
+ POST: "POST";
2313
+ }>;
2314
+ path: z.ZodString;
2315
+ label: z.ZodString;
2316
+ show: z.ZodString;
2317
+ name: z.ZodOptional<z.ZodString>;
2318
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2319
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2320
+ ifEmpty: z.ZodOptional<z.ZodString>;
2321
+ }, z.core.$strict>, z.ZodObject<{
2322
+ label: z.ZodString;
2323
+ check: z.ZodString;
2324
+ ifEmpty: z.ZodOptional<z.ZodString>;
2325
+ }, z.core.$strict>]>>;
2326
+ revoke: z.ZodString;
2327
+ http: z.ZodOptional<z.ZodObject<{
2328
+ baseUrl: z.ZodURL;
2329
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2330
+ type: z.ZodLiteral<"header">;
2331
+ header: z.ZodString;
2332
+ value: z.ZodString;
2333
+ prefix: z.ZodOptional<z.ZodString>;
2334
+ }, z.core.$strict>, z.ZodObject<{
2335
+ type: z.ZodLiteral<"bearer">;
2336
+ token: z.ZodString;
2337
+ }, z.core.$strict>, z.ZodObject<{
2338
+ type: z.ZodLiteral<"basic">;
2339
+ username: z.ZodString;
2340
+ password: z.ZodString;
2341
+ }, z.core.$strict>, z.ZodObject<{
2342
+ type: z.ZodLiteral<"oauth2">;
2343
+ tokenUrl: z.ZodURL;
2344
+ clientId: z.ZodString;
2345
+ clientSecret: z.ZodString;
2346
+ scope: z.ZodOptional<z.ZodString>;
2347
+ }, z.core.$strict>, z.ZodObject<{
2348
+ type: z.ZodLiteral<"query">;
2349
+ param: z.ZodString;
2350
+ value: z.ZodString;
2351
+ }, z.core.$strict>], "type">;
2352
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2353
+ tools: z.ZodArray<z.ZodObject<{
2354
+ name: z.ZodString;
2355
+ description: z.ZodString;
2356
+ method: z.ZodEnum<{
2357
+ GET: "GET";
2358
+ POST: "POST";
2359
+ PUT: "PUT";
2360
+ PATCH: "PATCH";
2361
+ DELETE: "DELETE";
2362
+ }>;
2363
+ path: z.ZodString;
2364
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2365
+ type: z.ZodEnum<{
2366
+ string: "string";
2367
+ number: "number";
2368
+ boolean: "boolean";
2369
+ array: "array";
2370
+ integer: "integer";
2371
+ }>;
2372
+ description: z.ZodString;
2373
+ in: z.ZodEnum<{
2374
+ body: "body";
2375
+ path: "path";
2376
+ query: "query";
2377
+ }>;
2378
+ name: z.ZodOptional<z.ZodString>;
2379
+ required: z.ZodDefault<z.ZodBoolean>;
2380
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
2381
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2382
+ items: z.ZodOptional<z.ZodEnum<{
2383
+ string: "string";
2384
+ number: "number";
2385
+ boolean: "boolean";
2386
+ integer: "integer";
2387
+ }>>;
2388
+ join: z.ZodOptional<z.ZodString>;
2389
+ limit: z.ZodOptional<z.ZodString>;
2390
+ }, z.core.$strict>>>;
2391
+ destructive: z.ZodDefault<z.ZodBoolean>;
2392
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2393
+ field: z.ZodString;
2394
+ limit: z.ZodString;
2395
+ }, z.core.$strict>>>;
2396
+ result: z.ZodOptional<z.ZodObject<{
2397
+ items: z.ZodOptional<z.ZodString>;
2398
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2399
+ }, z.core.$strict>>;
2400
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2401
+ param: z.ZodString;
2402
+ body: z.ZodString;
2403
+ }, z.core.$strict>, z.ZodObject<{
2404
+ param: z.ZodString;
2405
+ header: z.ZodString;
2406
+ }, z.core.$strict>, z.ZodObject<{
2407
+ param: z.ZodString;
2408
+ link: z.ZodLiteral<true>;
2409
+ }, z.core.$strict>]>>;
2410
+ }, z.core.$strict>>;
2411
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2412
+ }, z.core.$strict>>;
2413
+ soap: z.ZodOptional<z.ZodObject<{
2414
+ endpoint: z.ZodURL;
2415
+ version: z.ZodDefault<z.ZodEnum<{
2416
+ 1.1: "1.1";
2417
+ 1.2: "1.2";
2418
+ }>>;
2419
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2420
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2421
+ type: z.ZodLiteral<"header">;
2422
+ header: z.ZodString;
2423
+ value: z.ZodString;
2424
+ prefix: z.ZodOptional<z.ZodString>;
2425
+ }, z.core.$strict>, z.ZodObject<{
2426
+ type: z.ZodLiteral<"bearer">;
2427
+ token: z.ZodString;
2428
+ }, z.core.$strict>, z.ZodObject<{
2429
+ type: z.ZodLiteral<"basic">;
2430
+ username: z.ZodString;
2431
+ password: z.ZodString;
2432
+ }, z.core.$strict>], "type">>;
2433
+ wsSecurity: z.ZodOptional<z.ZodObject<{
2434
+ username: z.ZodString;
2435
+ password: z.ZodString;
2436
+ digest: z.ZodDefault<z.ZodBoolean>;
2437
+ }, z.core.$strict>>;
2438
+ verify: z.ZodOptional<z.ZodObject<{
2439
+ tool: z.ZodString;
2440
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2441
+ show: z.ZodString;
2442
+ }, z.core.$strict>>;
2443
+ tools: z.ZodArray<z.ZodObject<{
2444
+ name: z.ZodString;
2445
+ description: z.ZodString;
2446
+ operation: z.ZodString;
2447
+ soapAction: z.ZodOptional<z.ZodString>;
2448
+ body: z.ZodString;
2449
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2450
+ type: z.ZodEnum<{
2451
+ string: "string";
2452
+ number: "number";
2453
+ boolean: "boolean";
2454
+ integer: "integer";
2455
+ }>;
2456
+ description: z.ZodString;
2457
+ required: z.ZodDefault<z.ZodBoolean>;
2458
+ limit: z.ZodOptional<z.ZodString>;
2459
+ }, z.core.$strict>>>;
2460
+ result: z.ZodOptional<z.ZodString>;
2461
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2462
+ readOnly: z.ZodDefault<z.ZodBoolean>;
2463
+ destructive: z.ZodDefault<z.ZodBoolean>;
2464
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2465
+ field: z.ZodString;
2466
+ limit: z.ZodString;
2467
+ }, z.core.$strict>>>;
2468
+ }, z.core.$strict>>;
2469
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2470
+ }, z.core.$strict>>;
2471
+ odata: z.ZodOptional<z.ZodObject<{
2472
+ serviceRoot: z.ZodURL;
2473
+ version: z.ZodEnum<{
2474
+ 2: "2";
2475
+ 4: "4";
2476
+ }>;
2477
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2478
+ type: z.ZodLiteral<"header">;
2479
+ header: z.ZodString;
2480
+ value: z.ZodString;
2481
+ prefix: z.ZodOptional<z.ZodString>;
2482
+ }, z.core.$strict>, z.ZodObject<{
2483
+ type: z.ZodLiteral<"bearer">;
2484
+ token: z.ZodString;
2485
+ }, z.core.$strict>, z.ZodObject<{
2486
+ type: z.ZodLiteral<"basic">;
2487
+ username: z.ZodString;
2488
+ password: z.ZodString;
2489
+ }, z.core.$strict>, z.ZodObject<{
2490
+ type: z.ZodLiteral<"oauth2">;
2491
+ tokenUrl: z.ZodURL;
2492
+ clientId: z.ZodString;
2493
+ clientSecret: z.ZodString;
2494
+ scope: z.ZodOptional<z.ZodString>;
2495
+ }, z.core.$strict>, z.ZodObject<{
2496
+ type: z.ZodLiteral<"query">;
2497
+ param: z.ZodString;
2498
+ value: z.ZodString;
2499
+ }, z.core.$strict>], "type">;
2500
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2501
+ csrf: z.ZodDefault<z.ZodBoolean>;
2502
+ paging: z.ZodDefault<z.ZodEnum<{
2503
+ skip: "skip";
2504
+ server: "server";
2505
+ }>>;
2506
+ tools: z.ZodArray<z.ZodObject<{
2507
+ name: z.ZodString;
2508
+ description: z.ZodString;
2509
+ kind: z.ZodEnum<{
2510
+ function: "function";
2511
+ list: "list";
2512
+ get: "get";
2513
+ create: "create";
2514
+ update: "update";
2515
+ action: "action";
2516
+ }>;
2517
+ entitySet: z.ZodOptional<z.ZodString>;
2518
+ function: z.ZodOptional<z.ZodString>;
2519
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2520
+ type: z.ZodEnum<{
2521
+ string: "string";
2522
+ number: "number";
2523
+ boolean: "boolean";
2524
+ guid: "guid";
2525
+ integer: "integer";
2526
+ decimal: "decimal";
2527
+ datetime: "datetime";
2528
+ datetimeoffset: "datetimeoffset";
2529
+ }>;
2530
+ description: z.ZodString;
2531
+ property: z.ZodOptional<z.ZodString>;
2532
+ required: z.ZodOptional<z.ZodBoolean>;
2533
+ limit: z.ZodOptional<z.ZodString>;
2534
+ }, z.core.$strict>>>;
2535
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2536
+ type: z.ZodEnum<{
2537
+ string: "string";
2538
+ number: "number";
2539
+ boolean: "boolean";
2540
+ guid: "guid";
2541
+ integer: "integer";
2542
+ decimal: "decimal";
2543
+ datetime: "datetime";
2544
+ datetimeoffset: "datetimeoffset";
2545
+ }>;
2546
+ description: z.ZodString;
2547
+ property: z.ZodOptional<z.ZodString>;
2548
+ required: z.ZodOptional<z.ZodBoolean>;
2549
+ limit: z.ZodOptional<z.ZodString>;
2550
+ op: z.ZodDefault<z.ZodEnum<{
2551
+ eq: "eq";
2552
+ ne: "ne";
2553
+ gt: "gt";
2554
+ ge: "ge";
2555
+ lt: "lt";
2556
+ le: "le";
2557
+ contains: "contains";
2558
+ startswith: "startswith";
2559
+ }>>;
2560
+ }, z.core.$strict>>>;
2561
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2562
+ type: z.ZodEnum<{
2563
+ string: "string";
2564
+ number: "number";
2565
+ boolean: "boolean";
2566
+ guid: "guid";
2567
+ integer: "integer";
2568
+ decimal: "decimal";
2569
+ datetime: "datetime";
2570
+ datetimeoffset: "datetimeoffset";
2571
+ }>;
2572
+ description: z.ZodString;
2573
+ property: z.ZodOptional<z.ZodString>;
2574
+ required: z.ZodOptional<z.ZodBoolean>;
2575
+ limit: z.ZodOptional<z.ZodString>;
2576
+ }, z.core.$strict>>>;
2577
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2578
+ type: z.ZodEnum<{
2579
+ string: "string";
2580
+ number: "number";
2581
+ boolean: "boolean";
2582
+ guid: "guid";
2583
+ integer: "integer";
2584
+ decimal: "decimal";
2585
+ datetime: "datetime";
2586
+ datetimeoffset: "datetimeoffset";
2587
+ }>;
2588
+ description: z.ZodString;
2589
+ property: z.ZodOptional<z.ZodString>;
2590
+ required: z.ZodOptional<z.ZodBoolean>;
2591
+ limit: z.ZodOptional<z.ZodString>;
2592
+ }, z.core.$strict>>>;
2593
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
2594
+ orderBy: z.ZodOptional<z.ZodString>;
2595
+ top: z.ZodDefault<z.ZodNumber>;
2596
+ destructive: z.ZodDefault<z.ZodBoolean>;
2597
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2598
+ field: z.ZodString;
2599
+ limit: z.ZodString;
2600
+ }, z.core.$strict>>>;
2601
+ }, z.core.$strict>>;
2602
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2603
+ }, z.core.$strict>>;
2604
+ sql: z.ZodOptional<z.ZodObject<{
2605
+ engine: z.ZodEnum<{
2606
+ postgres: "postgres";
2607
+ sqlserver: "sqlserver";
2608
+ mysql: "mysql";
2609
+ oracle: "oracle";
2610
+ }>;
2611
+ host: z.ZodString;
2612
+ port: z.ZodOptional<z.ZodNumber>;
2613
+ database: z.ZodString;
2614
+ auth: z.ZodObject<{
2615
+ user: z.ZodString;
2616
+ password: z.ZodString;
2617
+ }, z.core.$strict>;
2618
+ tls: z.ZodDefault<z.ZodEnum<{
2619
+ verify: "verify";
2620
+ insecure: "insecure";
2621
+ off: "off";
2622
+ }>>;
2623
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
2624
+ maxRows: z.ZodDefault<z.ZodNumber>;
2625
+ tools: z.ZodArray<z.ZodObject<{
1375
2626
  name: z.ZodString;
1376
- websiteUrl: z.ZodURL;
1377
- privacyUrl: z.ZodURL;
1378
- termsOfUseUrl: z.ZodURL;
2627
+ description: z.ZodString;
2628
+ sql: z.ZodString;
2629
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2630
+ type: z.ZodEnum<{
2631
+ string: "string";
2632
+ number: "number";
2633
+ boolean: "boolean";
2634
+ integer: "integer";
2635
+ }>;
2636
+ description: z.ZodString;
2637
+ required: z.ZodDefault<z.ZodBoolean>;
2638
+ limit: z.ZodOptional<z.ZodString>;
2639
+ }, z.core.$strict>>>;
2640
+ write: z.ZodDefault<z.ZodBoolean>;
2641
+ destructive: z.ZodDefault<z.ZodBoolean>;
2642
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
2643
+ column: z.ZodString;
2644
+ limit: z.ZodString;
2645
+ }, z.core.$strict>>>;
2646
+ }, z.core.$strict>>;
2647
+ }, z.core.$strict>>;
2648
+ events: z.ZodOptional<z.ZodObject<{
2649
+ types: z.ZodArray<z.ZodObject<{
2650
+ id: z.ZodString;
2651
+ label: z.ZodString;
2652
+ }, z.core.$strict>>;
2653
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
2654
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
2655
+ webhook: z.ZodOptional<z.ZodObject<{
2656
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
2657
+ type: z.ZodLiteral<"hmac-sha256">;
2658
+ header: z.ZodString;
2659
+ prefix: z.ZodDefault<z.ZodString>;
2660
+ }, z.core.$strict>, z.ZodObject<{
2661
+ type: z.ZodLiteral<"token">;
2662
+ header: z.ZodString;
2663
+ }, z.core.$strict>, z.ZodObject<{
2664
+ type: z.ZodLiteral<"none">;
2665
+ }, z.core.$strict>], "type">;
2666
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
2667
+ type: z.ZodUnion<readonly [z.ZodObject<{
2668
+ field: z.ZodString;
2669
+ }, z.core.$strict>, z.ZodObject<{
2670
+ header: z.ZodString;
2671
+ }, z.core.$strict>]>;
2672
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2673
+ field: z.ZodString;
2674
+ }, z.core.$strict>, z.ZodObject<{
2675
+ header: z.ZodString;
2676
+ }, z.core.$strict>]>>;
2677
+ timestamp: z.ZodOptional<z.ZodObject<{
2678
+ at: z.ZodUnion<readonly [z.ZodObject<{
2679
+ field: z.ZodString;
2680
+ }, z.core.$strict>, z.ZodObject<{
2681
+ header: z.ZodString;
2682
+ }, z.core.$strict>]>;
2683
+ unit: z.ZodEnum<{
2684
+ s: "s";
2685
+ ms: "ms";
2686
+ iso: "iso";
2687
+ }>;
2688
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
2689
+ }, z.core.$strict>>;
2690
+ setup: z.ZodArray<z.ZodObject<{
2691
+ title: z.ZodString;
2692
+ body: z.ZodString;
2693
+ link: z.ZodOptional<z.ZodObject<{
2694
+ label: z.ZodString;
2695
+ href: z.ZodURL;
2696
+ }, z.core.$strict>>;
2697
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
2698
+ shell: z.ZodOptional<z.ZodEnum<{
2699
+ bash: "bash";
2700
+ powershell: "powershell";
2701
+ }>>;
2702
+ permissions: z.ZodOptional<z.ZodBoolean>;
2703
+ certificate: z.ZodOptional<z.ZodBoolean>;
2704
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2705
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2706
+ siteRole: z.ZodOptional<z.ZodEnum<{
2707
+ read: "read";
2708
+ write: "write";
2709
+ }>>;
2710
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
2711
+ confirm: z.ZodOptional<z.ZodString>;
2712
+ live: z.ZodOptional<z.ZodString>;
2713
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ label: z.ZodString;
2716
+ help: z.ZodOptional<z.ZodString>;
2717
+ placeholder: z.ZodOptional<z.ZodString>;
2718
+ pattern: z.ZodString;
2719
+ }, z.core.$strict>>>;
2720
+ option: z.ZodOptional<z.ZodObject<{
2721
+ field: z.ZodString;
2722
+ value: z.ZodString;
2723
+ }, z.core.$strict>>;
2724
+ }, z.core.$strict>>;
2725
+ register: z.ZodOptional<z.ZodObject<{
2726
+ method: z.ZodEnum<{
2727
+ GET: "GET";
2728
+ POST: "POST";
2729
+ PUT: "PUT";
2730
+ }>;
2731
+ path: z.ZodString;
2732
+ body: z.ZodOptional<z.ZodUnknown>;
2733
+ location: z.ZodString;
2734
+ }, z.core.$strict>>;
2735
+ }, z.core.$strict>>;
2736
+ self: z.ZodOptional<z.ZodObject<{
2737
+ request: z.ZodObject<{
2738
+ method: z.ZodEnum<{
2739
+ GET: "GET";
2740
+ POST: "POST";
2741
+ PUT: "PUT";
2742
+ }>;
2743
+ path: z.ZodString;
2744
+ body: z.ZodOptional<z.ZodUnknown>;
2745
+ }, z.core.$strict>;
2746
+ id: z.ZodString;
2747
+ fields: z.ZodArray<z.ZodString>;
2748
+ }, z.core.$strict>>;
2749
+ poll: z.ZodOptional<z.ZodObject<{
2750
+ request: z.ZodObject<{
2751
+ method: z.ZodEnum<{
2752
+ GET: "GET";
2753
+ POST: "POST";
2754
+ PUT: "PUT";
2755
+ }>;
2756
+ path: z.ZodString;
2757
+ body: z.ZodOptional<z.ZodUnknown>;
2758
+ }, z.core.$strict>;
2759
+ filter: z.ZodOptional<z.ZodString>;
2760
+ items: z.ZodString;
2761
+ wrap: z.ZodOptional<z.ZodString>;
2762
+ cursor: z.ZodString;
2763
+ deliveryId: z.ZodArray<z.ZodString>;
2764
+ types: z.ZodArray<z.ZodObject<{
2765
+ type: z.ZodString;
2766
+ since: z.ZodOptional<z.ZodString>;
2767
+ }, z.core.$strict>>;
1379
2768
  }, z.core.$strict>>;
1380
2769
  }, z.core.$strict>>;
1381
- }, z.core.$strict>;
2770
+ }, z.core.$strict>>;
1382
2771
  };
1383
2772
  };
1384
- readonly connectors: {
2773
+ readonly orgConnectors: {
1385
2774
  readonly method: "GET";
1386
- readonly path: "/connectors";
1387
- readonly summary: "The apps agents can use";
2775
+ readonly path: "/orgs/{org}/connectors";
2776
+ readonly summary: "The apps the organization can use: the deployment's and its own internal apps";
1388
2777
  readonly responses: {
1389
2778
  readonly 200: z.ZodArray<z.ZodObject<{
1390
2779
  id: z.ZodString;
@@ -1419,8 +2808,8 @@ export declare const routes: {
1419
2808
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1420
2809
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1421
2810
  siteRole: z.ZodOptional<z.ZodEnum<{
1422
- write: "write";
1423
2811
  read: "read";
2812
+ write: "write";
1424
2813
  }>>;
1425
2814
  agentCheck: z.ZodOptional<z.ZodBoolean>;
1426
2815
  confirm: z.ZodOptional<z.ZodString>;
@@ -1436,6 +2825,7 @@ export declare const routes: {
1436
2825
  field: z.ZodString;
1437
2826
  value: z.ZodString;
1438
2827
  }, z.core.$strict>>;
2828
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1439
2829
  }, z.core.$strict>>;
1440
2830
  afterConnect: z.ZodArray<z.ZodObject<{
1441
2831
  title: z.ZodString;
@@ -1454,8 +2844,8 @@ export declare const routes: {
1454
2844
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1455
2845
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1456
2846
  siteRole: z.ZodOptional<z.ZodEnum<{
1457
- write: "write";
1458
2847
  read: "read";
2848
+ write: "write";
1459
2849
  }>>;
1460
2850
  agentCheck: z.ZodOptional<z.ZodBoolean>;
1461
2851
  confirm: z.ZodOptional<z.ZodString>;
@@ -1471,6 +2861,7 @@ export declare const routes: {
1471
2861
  field: z.ZodString;
1472
2862
  value: z.ZodString;
1473
2863
  }, z.core.$strict>>;
2864
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
1474
2865
  }, z.core.$strict>>;
1475
2866
  fields: z.ZodArray<z.ZodObject<{
1476
2867
  id: z.ZodString;
@@ -1488,6 +2879,7 @@ export declare const routes: {
1488
2879
  field: z.ZodString;
1489
2880
  value: z.ZodString;
1490
2881
  }, z.core.$strict>>;
2882
+ optional: z.ZodDefault<z.ZodBoolean>;
1491
2883
  }, z.core.$strict>>;
1492
2884
  capabilities: z.ZodArray<z.ZodObject<{
1493
2885
  id: z.ZodString;
@@ -1536,8 +2928,8 @@ export declare const routes: {
1536
2928
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1537
2929
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1538
2930
  siteRole: z.ZodOptional<z.ZodEnum<{
1539
- write: "write";
1540
2931
  read: "read";
2932
+ write: "write";
1541
2933
  }>>;
1542
2934
  agentCheck: z.ZodOptional<z.ZodBoolean>;
1543
2935
  confirm: z.ZodOptional<z.ZodString>;
@@ -1584,6 +2976,7 @@ export declare const routes: {
1584
2976
  path: z.ZodString;
1585
2977
  label: z.ZodString;
1586
2978
  show: z.ZodString;
2979
+ name: z.ZodOptional<z.ZodString>;
1587
2980
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1588
2981
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1589
2982
  ifEmpty: z.ZodOptional<z.ZodString>;
@@ -1600,6 +2993,7 @@ export declare const routes: {
1600
2993
  path: z.ZodString;
1601
2994
  label: z.ZodString;
1602
2995
  show: z.ZodString;
2996
+ name: z.ZodOptional<z.ZodString>;
1603
2997
  match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1604
2998
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1605
2999
  ifEmpty: z.ZodOptional<z.ZodString>;
@@ -1656,8 +3050,8 @@ export declare const routes: {
1656
3050
  }>;
1657
3051
  description: z.ZodString;
1658
3052
  in: z.ZodEnum<{
1659
- path: "path";
1660
3053
  body: "body";
3054
+ path: "path";
1661
3055
  query: "query";
1662
3056
  }>;
1663
3057
  name: z.ZodOptional<z.ZodString>;
@@ -1806,9 +3200,9 @@ export declare const routes: {
1806
3200
  string: "string";
1807
3201
  number: "number";
1808
3202
  boolean: "boolean";
3203
+ guid: "guid";
1809
3204
  integer: "integer";
1810
3205
  decimal: "decimal";
1811
- guid: "guid";
1812
3206
  datetime: "datetime";
1813
3207
  datetimeoffset: "datetimeoffset";
1814
3208
  }>;
@@ -1822,9 +3216,9 @@ export declare const routes: {
1822
3216
  string: "string";
1823
3217
  number: "number";
1824
3218
  boolean: "boolean";
3219
+ guid: "guid";
1825
3220
  integer: "integer";
1826
3221
  decimal: "decimal";
1827
- guid: "guid";
1828
3222
  datetime: "datetime";
1829
3223
  datetimeoffset: "datetimeoffset";
1830
3224
  }>;
@@ -1848,9 +3242,9 @@ export declare const routes: {
1848
3242
  string: "string";
1849
3243
  number: "number";
1850
3244
  boolean: "boolean";
3245
+ guid: "guid";
1851
3246
  integer: "integer";
1852
3247
  decimal: "decimal";
1853
- guid: "guid";
1854
3248
  datetime: "datetime";
1855
3249
  datetimeoffset: "datetimeoffset";
1856
3250
  }>;
@@ -1864,9 +3258,9 @@ export declare const routes: {
1864
3258
  string: "string";
1865
3259
  number: "number";
1866
3260
  boolean: "boolean";
3261
+ guid: "guid";
1867
3262
  integer: "integer";
1868
3263
  decimal: "decimal";
1869
- guid: "guid";
1870
3264
  datetime: "datetime";
1871
3265
  datetimeoffset: "datetimeoffset";
1872
3266
  }>;
@@ -1919,60 +3313,336 @@ export declare const routes: {
1919
3313
  integer: "integer";
1920
3314
  }>;
1921
3315
  description: z.ZodString;
1922
- required: z.ZodDefault<z.ZodBoolean>;
1923
- limit: z.ZodOptional<z.ZodString>;
3316
+ required: z.ZodDefault<z.ZodBoolean>;
3317
+ limit: z.ZodOptional<z.ZodString>;
3318
+ }, z.core.$strict>>>;
3319
+ write: z.ZodDefault<z.ZodBoolean>;
3320
+ destructive: z.ZodDefault<z.ZodBoolean>;
3321
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3322
+ column: z.ZodString;
3323
+ limit: z.ZodString;
3324
+ }, z.core.$strict>>>;
3325
+ }, z.core.$strict>>;
3326
+ }, z.core.$strict>>;
3327
+ events: z.ZodOptional<z.ZodObject<{
3328
+ types: z.ZodArray<z.ZodObject<{
3329
+ id: z.ZodString;
3330
+ label: z.ZodString;
3331
+ }, z.core.$strict>>;
3332
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
3333
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3334
+ webhook: z.ZodOptional<z.ZodObject<{
3335
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
3336
+ type: z.ZodLiteral<"hmac-sha256">;
3337
+ header: z.ZodString;
3338
+ prefix: z.ZodDefault<z.ZodString>;
3339
+ }, z.core.$strict>, z.ZodObject<{
3340
+ type: z.ZodLiteral<"token">;
3341
+ header: z.ZodString;
3342
+ }, z.core.$strict>, z.ZodObject<{
3343
+ type: z.ZodLiteral<"none">;
3344
+ }, z.core.$strict>], "type">;
3345
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
3346
+ type: z.ZodUnion<readonly [z.ZodObject<{
3347
+ field: z.ZodString;
3348
+ }, z.core.$strict>, z.ZodObject<{
3349
+ header: z.ZodString;
3350
+ }, z.core.$strict>]>;
3351
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3352
+ field: z.ZodString;
3353
+ }, z.core.$strict>, z.ZodObject<{
3354
+ header: z.ZodString;
3355
+ }, z.core.$strict>]>>;
3356
+ timestamp: z.ZodOptional<z.ZodObject<{
3357
+ at: z.ZodUnion<readonly [z.ZodObject<{
3358
+ field: z.ZodString;
3359
+ }, z.core.$strict>, z.ZodObject<{
3360
+ header: z.ZodString;
3361
+ }, z.core.$strict>]>;
3362
+ unit: z.ZodEnum<{
3363
+ s: "s";
3364
+ ms: "ms";
3365
+ iso: "iso";
3366
+ }>;
3367
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
3368
+ }, z.core.$strict>>;
3369
+ setup: z.ZodArray<z.ZodObject<{
3370
+ title: z.ZodString;
3371
+ body: z.ZodString;
3372
+ link: z.ZodOptional<z.ZodObject<{
3373
+ label: z.ZodString;
3374
+ href: z.ZodURL;
3375
+ }, z.core.$strict>>;
3376
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3377
+ shell: z.ZodOptional<z.ZodEnum<{
3378
+ bash: "bash";
3379
+ powershell: "powershell";
3380
+ }>>;
3381
+ permissions: z.ZodOptional<z.ZodBoolean>;
3382
+ certificate: z.ZodOptional<z.ZodBoolean>;
3383
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3384
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3385
+ siteRole: z.ZodOptional<z.ZodEnum<{
3386
+ read: "read";
3387
+ write: "write";
3388
+ }>>;
3389
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3390
+ confirm: z.ZodOptional<z.ZodString>;
3391
+ live: z.ZodOptional<z.ZodString>;
3392
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3393
+ id: z.ZodString;
3394
+ label: z.ZodString;
3395
+ help: z.ZodOptional<z.ZodString>;
3396
+ placeholder: z.ZodOptional<z.ZodString>;
3397
+ pattern: z.ZodString;
3398
+ }, z.core.$strict>>>;
3399
+ option: z.ZodOptional<z.ZodObject<{
3400
+ field: z.ZodString;
3401
+ value: z.ZodString;
3402
+ }, z.core.$strict>>;
3403
+ }, z.core.$strict>>;
3404
+ register: z.ZodOptional<z.ZodObject<{
3405
+ method: z.ZodEnum<{
3406
+ GET: "GET";
3407
+ POST: "POST";
3408
+ PUT: "PUT";
3409
+ }>;
3410
+ path: z.ZodString;
3411
+ body: z.ZodOptional<z.ZodUnknown>;
3412
+ location: z.ZodString;
3413
+ }, z.core.$strict>>;
3414
+ }, z.core.$strict>>;
3415
+ self: z.ZodOptional<z.ZodObject<{
3416
+ request: z.ZodObject<{
3417
+ method: z.ZodEnum<{
3418
+ GET: "GET";
3419
+ POST: "POST";
3420
+ PUT: "PUT";
3421
+ }>;
3422
+ path: z.ZodString;
3423
+ body: z.ZodOptional<z.ZodUnknown>;
3424
+ }, z.core.$strict>;
3425
+ id: z.ZodString;
3426
+ fields: z.ZodArray<z.ZodString>;
3427
+ }, z.core.$strict>>;
3428
+ poll: z.ZodOptional<z.ZodObject<{
3429
+ request: z.ZodObject<{
3430
+ method: z.ZodEnum<{
3431
+ GET: "GET";
3432
+ POST: "POST";
3433
+ PUT: "PUT";
3434
+ }>;
3435
+ path: z.ZodString;
3436
+ body: z.ZodOptional<z.ZodUnknown>;
3437
+ }, z.core.$strict>;
3438
+ filter: z.ZodOptional<z.ZodString>;
3439
+ items: z.ZodString;
3440
+ wrap: z.ZodOptional<z.ZodString>;
3441
+ cursor: z.ZodString;
3442
+ deliveryId: z.ZodArray<z.ZodString>;
3443
+ types: z.ZodArray<z.ZodObject<{
3444
+ type: z.ZodString;
3445
+ since: z.ZodOptional<z.ZodString>;
3446
+ }, z.core.$strict>>;
3447
+ }, z.core.$strict>>;
3448
+ }, z.core.$strict>>;
3449
+ }, z.core.$strict>>;
3450
+ };
3451
+ };
3452
+ readonly internalApps: {
3453
+ readonly method: "GET";
3454
+ readonly path: "/orgs/{org}/internal-apps";
3455
+ readonly summary: "The organization's own apps, as saved";
3456
+ readonly responses: {
3457
+ readonly 200: z.ZodArray<z.ZodObject<{
3458
+ id: z.ZodString;
3459
+ organizationId: z.ZodString;
3460
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3461
+ problem: z.ZodNullable<z.ZodString>;
3462
+ createdBy: z.ZodString;
3463
+ createdAt: z.ZodString;
3464
+ updatedBy: z.ZodString;
3465
+ updatedAt: z.ZodString;
3466
+ }, z.core.$strict>>;
3467
+ };
3468
+ };
3469
+ readonly internalApp: {
3470
+ readonly method: "GET";
3471
+ readonly path: "/orgs/{org}/internal-apps/{app}";
3472
+ readonly summary: "One of the organization's own apps, as saved";
3473
+ readonly responses: {
3474
+ readonly 404: z.ZodObject<{
3475
+ error: z.ZodString;
3476
+ }, z.core.$strict>;
3477
+ readonly 200: z.ZodObject<{
3478
+ id: z.ZodString;
3479
+ organizationId: z.ZodString;
3480
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3481
+ problem: z.ZodNullable<z.ZodString>;
3482
+ createdBy: z.ZodString;
3483
+ createdAt: z.ZodString;
3484
+ updatedBy: z.ZodString;
3485
+ updatedAt: z.ZodString;
3486
+ }, z.core.$strict>;
3487
+ };
3488
+ };
3489
+ readonly saveInternalApp: {
3490
+ readonly method: "PUT";
3491
+ readonly path: "/orgs/{org}/internal-apps/{app}";
3492
+ readonly summary: "Adds or replaces one of the organization's own apps; a replace may cut or remove its connection and agents' access";
3493
+ readonly body: z.ZodObject<{
3494
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3495
+ by: z.ZodString;
3496
+ }, z.core.$strip>;
3497
+ readonly responses: {
3498
+ readonly 200: z.ZodObject<{
3499
+ app: z.ZodObject<{
3500
+ id: z.ZodString;
3501
+ organizationId: z.ZodString;
3502
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3503
+ problem: z.ZodNullable<z.ZodString>;
3504
+ createdBy: z.ZodString;
3505
+ createdAt: z.ZodString;
3506
+ updatedBy: z.ZodString;
3507
+ updatedAt: z.ZodString;
3508
+ }, z.core.$strict>;
3509
+ connector: z.ZodObject<{
3510
+ id: z.ZodString;
3511
+ name: z.ZodString;
3512
+ description: z.ZodString;
3513
+ logo: z.ZodString;
3514
+ identity: z.ZodString;
3515
+ signsInAs: z.ZodOptional<z.ZodEnum<{
3516
+ agentBot: "agentBot";
3517
+ }>>;
3518
+ provider: z.ZodOptional<z.ZodString>;
3519
+ order: z.ZodOptional<z.ZodNumber>;
3520
+ connectionKind: z.ZodEnum<{
3521
+ guided: "guided";
3522
+ }>;
3523
+ accountKey: z.ZodString;
3524
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3525
+ setup: z.ZodArray<z.ZodObject<{
3526
+ title: z.ZodString;
3527
+ body: z.ZodString;
3528
+ link: z.ZodOptional<z.ZodObject<{
3529
+ label: z.ZodString;
3530
+ href: z.ZodURL;
3531
+ }, z.core.$strict>>;
3532
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3533
+ shell: z.ZodOptional<z.ZodEnum<{
3534
+ bash: "bash";
3535
+ powershell: "powershell";
3536
+ }>>;
3537
+ permissions: z.ZodOptional<z.ZodBoolean>;
3538
+ certificate: z.ZodOptional<z.ZodBoolean>;
3539
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3540
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3541
+ siteRole: z.ZodOptional<z.ZodEnum<{
3542
+ read: "read";
3543
+ write: "write";
3544
+ }>>;
3545
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3546
+ confirm: z.ZodOptional<z.ZodString>;
3547
+ live: z.ZodOptional<z.ZodString>;
3548
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3549
+ id: z.ZodString;
3550
+ label: z.ZodString;
3551
+ help: z.ZodOptional<z.ZodString>;
3552
+ placeholder: z.ZodOptional<z.ZodString>;
3553
+ pattern: z.ZodString;
3554
+ }, z.core.$strict>>>;
3555
+ option: z.ZodOptional<z.ZodObject<{
3556
+ field: z.ZodString;
3557
+ value: z.ZodString;
3558
+ }, z.core.$strict>>;
3559
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
3560
+ }, z.core.$strict>>;
3561
+ afterConnect: z.ZodArray<z.ZodObject<{
3562
+ title: z.ZodString;
3563
+ body: z.ZodString;
3564
+ link: z.ZodOptional<z.ZodObject<{
3565
+ label: z.ZodString;
3566
+ href: z.ZodURL;
3567
+ }, z.core.$strict>>;
3568
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3569
+ shell: z.ZodOptional<z.ZodEnum<{
3570
+ bash: "bash";
3571
+ powershell: "powershell";
3572
+ }>>;
3573
+ permissions: z.ZodOptional<z.ZodBoolean>;
3574
+ certificate: z.ZodOptional<z.ZodBoolean>;
3575
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3576
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3577
+ siteRole: z.ZodOptional<z.ZodEnum<{
3578
+ read: "read";
3579
+ write: "write";
3580
+ }>>;
3581
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
3582
+ confirm: z.ZodOptional<z.ZodString>;
3583
+ live: z.ZodOptional<z.ZodString>;
3584
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3585
+ id: z.ZodString;
3586
+ label: z.ZodString;
3587
+ help: z.ZodOptional<z.ZodString>;
3588
+ placeholder: z.ZodOptional<z.ZodString>;
3589
+ pattern: z.ZodString;
3590
+ }, z.core.$strict>>>;
3591
+ option: z.ZodOptional<z.ZodObject<{
3592
+ field: z.ZodString;
3593
+ value: z.ZodString;
3594
+ }, z.core.$strict>>;
3595
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
3596
+ }, z.core.$strict>>;
3597
+ fields: z.ZodArray<z.ZodObject<{
3598
+ id: z.ZodString;
3599
+ label: z.ZodString;
3600
+ help: z.ZodOptional<z.ZodString>;
3601
+ placeholder: z.ZodOptional<z.ZodString>;
3602
+ secret: z.ZodBoolean;
3603
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
3604
+ value: z.ZodString;
3605
+ label: z.ZodString;
3606
+ description: z.ZodString;
3607
+ scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1924
3608
  }, z.core.$strict>>>;
1925
- write: z.ZodDefault<z.ZodBoolean>;
3609
+ requires: z.ZodOptional<z.ZodObject<{
3610
+ field: z.ZodString;
3611
+ value: z.ZodString;
3612
+ }, z.core.$strict>>;
3613
+ optional: z.ZodDefault<z.ZodBoolean>;
3614
+ }, z.core.$strict>>;
3615
+ capabilities: z.ZodArray<z.ZodObject<{
3616
+ id: z.ZodString;
3617
+ label: z.ZodString;
3618
+ description: z.ZodString;
3619
+ required: z.ZodDefault<z.ZodBoolean>;
1926
3620
  destructive: z.ZodDefault<z.ZodBoolean>;
1927
- answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
1928
- column: z.ZodString;
1929
- limit: z.ZodString;
1930
- }, z.core.$strict>>>;
3621
+ costs: z.ZodOptional<z.ZodBoolean>;
3622
+ scopes: z.ZodArray<z.ZodString>;
3623
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
3624
+ permissions: z.ZodArray<z.ZodString>;
3625
+ fill: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3626
+ note: z.ZodOptional<z.ZodString>;
3627
+ forbidden: z.ZodOptional<z.ZodString>;
3628
+ claudeKey: z.ZodOptional<z.ZodBoolean>;
3629
+ tools: z.ZodArray<z.ZodString>;
1931
3630
  }, z.core.$strict>>;
1932
- }, z.core.$strict>>;
1933
- events: z.ZodOptional<z.ZodObject<{
1934
- types: z.ZodArray<z.ZodObject<{
3631
+ limits: z.ZodArray<z.ZodObject<{
1935
3632
  id: z.ZodString;
1936
3633
  label: z.ZodString;
3634
+ help: z.ZodString;
3635
+ kind: z.ZodEnum<{
3636
+ text: "text";
3637
+ map: "map";
3638
+ list: "list";
3639
+ }>;
3640
+ required: z.ZodBoolean;
3641
+ pattern: z.ZodOptional<z.ZodString>;
3642
+ keys: z.ZodOptional<z.ZodString>;
1937
3643
  }, z.core.$strict>>;
1938
- fields: z.ZodRecord<z.ZodString, z.ZodString>;
1939
- limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1940
- webhook: z.ZodOptional<z.ZodObject<{
1941
- verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
1942
- type: z.ZodLiteral<"hmac-sha256">;
1943
- header: z.ZodString;
1944
- prefix: z.ZodDefault<z.ZodString>;
1945
- }, z.core.$strict>, z.ZodObject<{
1946
- type: z.ZodLiteral<"token">;
1947
- header: z.ZodString;
1948
- }, z.core.$strict>, z.ZodObject<{
1949
- type: z.ZodLiteral<"none">;
1950
- }, z.core.$strict>], "type">;
1951
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
1952
- type: z.ZodUnion<readonly [z.ZodObject<{
1953
- field: z.ZodString;
1954
- }, z.core.$strict>, z.ZodObject<{
1955
- header: z.ZodString;
1956
- }, z.core.$strict>]>;
1957
- deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1958
- field: z.ZodString;
1959
- }, z.core.$strict>, z.ZodObject<{
1960
- header: z.ZodString;
1961
- }, z.core.$strict>]>>;
1962
- timestamp: z.ZodOptional<z.ZodObject<{
1963
- at: z.ZodUnion<readonly [z.ZodObject<{
1964
- field: z.ZodString;
1965
- }, z.core.$strict>, z.ZodObject<{
1966
- header: z.ZodString;
1967
- }, z.core.$strict>]>;
1968
- unit: z.ZodEnum<{
1969
- s: "s";
1970
- ms: "ms";
1971
- iso: "iso";
1972
- }>;
1973
- toleranceSeconds: z.ZodDefault<z.ZodNumber>;
1974
- }, z.core.$strict>>;
1975
- setup: z.ZodArray<z.ZodObject<{
3644
+ siteAccess: z.ZodOptional<z.ZodObject<{
3645
+ grant: z.ZodArray<z.ZodObject<{
1976
3646
  title: z.ZodString;
1977
3647
  body: z.ZodString;
1978
3648
  link: z.ZodOptional<z.ZodObject<{
@@ -1989,8 +3659,8 @@ export declare const routes: {
1989
3659
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
1990
3660
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
1991
3661
  siteRole: z.ZodOptional<z.ZodEnum<{
1992
- write: "write";
1993
3662
  read: "read";
3663
+ write: "write";
1994
3664
  }>>;
1995
3665
  agentCheck: z.ZodOptional<z.ZodBoolean>;
1996
3666
  confirm: z.ZodOptional<z.ZodString>;
@@ -2007,52 +3677,543 @@ export declare const routes: {
2007
3677
  value: z.ZodString;
2008
3678
  }, z.core.$strict>>;
2009
3679
  }, z.core.$strict>>;
2010
- register: z.ZodOptional<z.ZodObject<{
3680
+ request: z.ZodString;
3681
+ write: z.ZodDefault<z.ZodArray<z.ZodString>>;
3682
+ }, z.core.$strict>>;
3683
+ agentAccess: z.ZodOptional<z.ZodObject<{
3684
+ limit: z.ZodString;
3685
+ label: z.ZodString;
3686
+ path: z.ZodString;
3687
+ granted: z.ZodString;
3688
+ notGranted: z.ZodString;
3689
+ notFound: z.ZodString;
3690
+ probes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
2011
3691
  method: z.ZodEnum<{
2012
3692
  GET: "GET";
2013
3693
  POST: "POST";
2014
- PUT: "PUT";
3694
+ PATCH: "PATCH";
2015
3695
  }>;
2016
3696
  path: z.ZodString;
2017
3697
  body: z.ZodOptional<z.ZodUnknown>;
2018
- location: z.ZodString;
2019
- }, z.core.$strict>>;
3698
+ allowed: z.ZodArray<z.ZodNumber>;
3699
+ }, z.core.$strict>>>;
3700
+ missing: z.ZodOptional<z.ZodString>;
2020
3701
  }, z.core.$strict>>;
2021
- self: z.ZodOptional<z.ZodObject<{
2022
- request: z.ZodObject<{
3702
+ verify: z.ZodUnion<readonly [z.ZodObject<{
3703
+ method: z.ZodEnum<{
3704
+ GET: "GET";
3705
+ POST: "POST";
3706
+ }>;
3707
+ path: z.ZodString;
3708
+ label: z.ZodString;
3709
+ show: z.ZodString;
3710
+ name: z.ZodOptional<z.ZodString>;
3711
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3712
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3713
+ ifEmpty: z.ZodOptional<z.ZodString>;
3714
+ }, z.core.$strict>, z.ZodObject<{
3715
+ label: z.ZodString;
3716
+ check: z.ZodString;
3717
+ ifEmpty: z.ZodOptional<z.ZodString>;
3718
+ }, z.core.$strict>]>;
3719
+ discover: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3720
+ method: z.ZodEnum<{
3721
+ GET: "GET";
3722
+ POST: "POST";
3723
+ }>;
3724
+ path: z.ZodString;
3725
+ label: z.ZodString;
3726
+ show: z.ZodString;
3727
+ name: z.ZodOptional<z.ZodString>;
3728
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3729
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3730
+ ifEmpty: z.ZodOptional<z.ZodString>;
3731
+ }, z.core.$strict>, z.ZodObject<{
3732
+ label: z.ZodString;
3733
+ check: z.ZodString;
3734
+ ifEmpty: z.ZodOptional<z.ZodString>;
3735
+ }, z.core.$strict>]>>;
3736
+ revoke: z.ZodString;
3737
+ http: z.ZodOptional<z.ZodObject<{
3738
+ baseUrl: z.ZodURL;
3739
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3740
+ type: z.ZodLiteral<"header">;
3741
+ header: z.ZodString;
3742
+ value: z.ZodString;
3743
+ prefix: z.ZodOptional<z.ZodString>;
3744
+ }, z.core.$strict>, z.ZodObject<{
3745
+ type: z.ZodLiteral<"bearer">;
3746
+ token: z.ZodString;
3747
+ }, z.core.$strict>, z.ZodObject<{
3748
+ type: z.ZodLiteral<"basic">;
3749
+ username: z.ZodString;
3750
+ password: z.ZodString;
3751
+ }, z.core.$strict>, z.ZodObject<{
3752
+ type: z.ZodLiteral<"oauth2">;
3753
+ tokenUrl: z.ZodURL;
3754
+ clientId: z.ZodString;
3755
+ clientSecret: z.ZodString;
3756
+ scope: z.ZodOptional<z.ZodString>;
3757
+ }, z.core.$strict>, z.ZodObject<{
3758
+ type: z.ZodLiteral<"query">;
3759
+ param: z.ZodString;
3760
+ value: z.ZodString;
3761
+ }, z.core.$strict>], "type">;
3762
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3763
+ tools: z.ZodArray<z.ZodObject<{
3764
+ name: z.ZodString;
3765
+ description: z.ZodString;
2023
3766
  method: z.ZodEnum<{
2024
3767
  GET: "GET";
2025
3768
  POST: "POST";
2026
3769
  PUT: "PUT";
3770
+ PATCH: "PATCH";
3771
+ DELETE: "DELETE";
2027
3772
  }>;
2028
3773
  path: z.ZodString;
2029
- body: z.ZodOptional<z.ZodUnknown>;
2030
- }, z.core.$strict>;
2031
- id: z.ZodString;
2032
- fields: z.ZodArray<z.ZodString>;
3774
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3775
+ type: z.ZodEnum<{
3776
+ string: "string";
3777
+ number: "number";
3778
+ boolean: "boolean";
3779
+ array: "array";
3780
+ integer: "integer";
3781
+ }>;
3782
+ description: z.ZodString;
3783
+ in: z.ZodEnum<{
3784
+ body: "body";
3785
+ path: "path";
3786
+ query: "query";
3787
+ }>;
3788
+ name: z.ZodOptional<z.ZodString>;
3789
+ required: z.ZodDefault<z.ZodBoolean>;
3790
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>;
3791
+ enum: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3792
+ items: z.ZodOptional<z.ZodEnum<{
3793
+ string: "string";
3794
+ number: "number";
3795
+ boolean: "boolean";
3796
+ integer: "integer";
3797
+ }>>;
3798
+ join: z.ZodOptional<z.ZodString>;
3799
+ limit: z.ZodOptional<z.ZodString>;
3800
+ }, z.core.$strict>>>;
3801
+ destructive: z.ZodDefault<z.ZodBoolean>;
3802
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3803
+ field: z.ZodString;
3804
+ limit: z.ZodString;
3805
+ }, z.core.$strict>>>;
3806
+ result: z.ZodOptional<z.ZodObject<{
3807
+ items: z.ZodOptional<z.ZodString>;
3808
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3809
+ }, z.core.$strict>>;
3810
+ paging: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3811
+ param: z.ZodString;
3812
+ body: z.ZodString;
3813
+ }, z.core.$strict>, z.ZodObject<{
3814
+ param: z.ZodString;
3815
+ header: z.ZodString;
3816
+ }, z.core.$strict>, z.ZodObject<{
3817
+ param: z.ZodString;
3818
+ link: z.ZodLiteral<true>;
3819
+ }, z.core.$strict>]>>;
3820
+ }, z.core.$strict>>;
3821
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
2033
3822
  }, z.core.$strict>>;
2034
- poll: z.ZodOptional<z.ZodObject<{
2035
- request: z.ZodObject<{
2036
- method: z.ZodEnum<{
2037
- GET: "GET";
2038
- POST: "POST";
2039
- PUT: "PUT";
3823
+ soap: z.ZodOptional<z.ZodObject<{
3824
+ endpoint: z.ZodURL;
3825
+ version: z.ZodDefault<z.ZodEnum<{
3826
+ 1.1: "1.1";
3827
+ 1.2: "1.2";
3828
+ }>>;
3829
+ namespaces: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3830
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3831
+ type: z.ZodLiteral<"header">;
3832
+ header: z.ZodString;
3833
+ value: z.ZodString;
3834
+ prefix: z.ZodOptional<z.ZodString>;
3835
+ }, z.core.$strict>, z.ZodObject<{
3836
+ type: z.ZodLiteral<"bearer">;
3837
+ token: z.ZodString;
3838
+ }, z.core.$strict>, z.ZodObject<{
3839
+ type: z.ZodLiteral<"basic">;
3840
+ username: z.ZodString;
3841
+ password: z.ZodString;
3842
+ }, z.core.$strict>], "type">>;
3843
+ wsSecurity: z.ZodOptional<z.ZodObject<{
3844
+ username: z.ZodString;
3845
+ password: z.ZodString;
3846
+ digest: z.ZodDefault<z.ZodBoolean>;
3847
+ }, z.core.$strict>>;
3848
+ verify: z.ZodOptional<z.ZodObject<{
3849
+ tool: z.ZodString;
3850
+ args: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3851
+ show: z.ZodString;
3852
+ }, z.core.$strict>>;
3853
+ tools: z.ZodArray<z.ZodObject<{
3854
+ name: z.ZodString;
3855
+ description: z.ZodString;
3856
+ operation: z.ZodString;
3857
+ soapAction: z.ZodOptional<z.ZodString>;
3858
+ body: z.ZodString;
3859
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3860
+ type: z.ZodEnum<{
3861
+ string: "string";
3862
+ number: "number";
3863
+ boolean: "boolean";
3864
+ integer: "integer";
3865
+ }>;
3866
+ description: z.ZodString;
3867
+ required: z.ZodDefault<z.ZodBoolean>;
3868
+ limit: z.ZodOptional<z.ZodString>;
3869
+ }, z.core.$strict>>>;
3870
+ result: z.ZodOptional<z.ZodString>;
3871
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3872
+ readOnly: z.ZodDefault<z.ZodBoolean>;
3873
+ destructive: z.ZodDefault<z.ZodBoolean>;
3874
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
3875
+ field: z.ZodString;
3876
+ limit: z.ZodString;
3877
+ }, z.core.$strict>>>;
3878
+ }, z.core.$strict>>;
3879
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
3880
+ }, z.core.$strict>>;
3881
+ odata: z.ZodOptional<z.ZodObject<{
3882
+ serviceRoot: z.ZodURL;
3883
+ version: z.ZodEnum<{
3884
+ 2: "2";
3885
+ 4: "4";
3886
+ }>;
3887
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
3888
+ type: z.ZodLiteral<"header">;
3889
+ header: z.ZodString;
3890
+ value: z.ZodString;
3891
+ prefix: z.ZodOptional<z.ZodString>;
3892
+ }, z.core.$strict>, z.ZodObject<{
3893
+ type: z.ZodLiteral<"bearer">;
3894
+ token: z.ZodString;
3895
+ }, z.core.$strict>, z.ZodObject<{
3896
+ type: z.ZodLiteral<"basic">;
3897
+ username: z.ZodString;
3898
+ password: z.ZodString;
3899
+ }, z.core.$strict>, z.ZodObject<{
3900
+ type: z.ZodLiteral<"oauth2">;
3901
+ tokenUrl: z.ZodURL;
3902
+ clientId: z.ZodString;
3903
+ clientSecret: z.ZodString;
3904
+ scope: z.ZodOptional<z.ZodString>;
3905
+ }, z.core.$strict>, z.ZodObject<{
3906
+ type: z.ZodLiteral<"query">;
3907
+ param: z.ZodString;
3908
+ value: z.ZodString;
3909
+ }, z.core.$strict>], "type">;
3910
+ headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
3911
+ csrf: z.ZodDefault<z.ZodBoolean>;
3912
+ paging: z.ZodDefault<z.ZodEnum<{
3913
+ skip: "skip";
3914
+ server: "server";
3915
+ }>>;
3916
+ tools: z.ZodArray<z.ZodObject<{
3917
+ name: z.ZodString;
3918
+ description: z.ZodString;
3919
+ kind: z.ZodEnum<{
3920
+ function: "function";
3921
+ list: "list";
3922
+ get: "get";
3923
+ create: "create";
3924
+ update: "update";
3925
+ action: "action";
2040
3926
  }>;
2041
- path: z.ZodString;
2042
- body: z.ZodOptional<z.ZodUnknown>;
3927
+ entitySet: z.ZodOptional<z.ZodString>;
3928
+ function: z.ZodOptional<z.ZodString>;
3929
+ key: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3930
+ type: z.ZodEnum<{
3931
+ string: "string";
3932
+ number: "number";
3933
+ boolean: "boolean";
3934
+ guid: "guid";
3935
+ integer: "integer";
3936
+ decimal: "decimal";
3937
+ datetime: "datetime";
3938
+ datetimeoffset: "datetimeoffset";
3939
+ }>;
3940
+ description: z.ZodString;
3941
+ property: z.ZodOptional<z.ZodString>;
3942
+ required: z.ZodOptional<z.ZodBoolean>;
3943
+ limit: z.ZodOptional<z.ZodString>;
3944
+ }, z.core.$strict>>>;
3945
+ filters: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3946
+ type: z.ZodEnum<{
3947
+ string: "string";
3948
+ number: "number";
3949
+ boolean: "boolean";
3950
+ guid: "guid";
3951
+ integer: "integer";
3952
+ decimal: "decimal";
3953
+ datetime: "datetime";
3954
+ datetimeoffset: "datetimeoffset";
3955
+ }>;
3956
+ description: z.ZodString;
3957
+ property: z.ZodOptional<z.ZodString>;
3958
+ required: z.ZodOptional<z.ZodBoolean>;
3959
+ limit: z.ZodOptional<z.ZodString>;
3960
+ op: z.ZodDefault<z.ZodEnum<{
3961
+ eq: "eq";
3962
+ ne: "ne";
3963
+ gt: "gt";
3964
+ ge: "ge";
3965
+ lt: "lt";
3966
+ le: "le";
3967
+ contains: "contains";
3968
+ startswith: "startswith";
3969
+ }>>;
3970
+ }, z.core.$strict>>>;
3971
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3972
+ type: z.ZodEnum<{
3973
+ string: "string";
3974
+ number: "number";
3975
+ boolean: "boolean";
3976
+ guid: "guid";
3977
+ integer: "integer";
3978
+ decimal: "decimal";
3979
+ datetime: "datetime";
3980
+ datetimeoffset: "datetimeoffset";
3981
+ }>;
3982
+ description: z.ZodString;
3983
+ property: z.ZodOptional<z.ZodString>;
3984
+ required: z.ZodOptional<z.ZodBoolean>;
3985
+ limit: z.ZodOptional<z.ZodString>;
3986
+ }, z.core.$strict>>>;
3987
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
3988
+ type: z.ZodEnum<{
3989
+ string: "string";
3990
+ number: "number";
3991
+ boolean: "boolean";
3992
+ guid: "guid";
3993
+ integer: "integer";
3994
+ decimal: "decimal";
3995
+ datetime: "datetime";
3996
+ datetimeoffset: "datetimeoffset";
3997
+ }>;
3998
+ description: z.ZodString;
3999
+ property: z.ZodOptional<z.ZodString>;
4000
+ required: z.ZodOptional<z.ZodBoolean>;
4001
+ limit: z.ZodOptional<z.ZodString>;
4002
+ }, z.core.$strict>>>;
4003
+ select: z.ZodDefault<z.ZodArray<z.ZodString>>;
4004
+ orderBy: z.ZodOptional<z.ZodString>;
4005
+ top: z.ZodDefault<z.ZodNumber>;
4006
+ destructive: z.ZodDefault<z.ZodBoolean>;
4007
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
4008
+ field: z.ZodString;
4009
+ limit: z.ZodString;
4010
+ }, z.core.$strict>>>;
4011
+ }, z.core.$strict>>;
4012
+ allowInsecureHttp: z.ZodDefault<z.ZodBoolean>;
4013
+ }, z.core.$strict>>;
4014
+ sql: z.ZodOptional<z.ZodObject<{
4015
+ engine: z.ZodEnum<{
4016
+ postgres: "postgres";
4017
+ sqlserver: "sqlserver";
4018
+ mysql: "mysql";
4019
+ oracle: "oracle";
4020
+ }>;
4021
+ host: z.ZodString;
4022
+ port: z.ZodOptional<z.ZodNumber>;
4023
+ database: z.ZodString;
4024
+ auth: z.ZodObject<{
4025
+ user: z.ZodString;
4026
+ password: z.ZodString;
2043
4027
  }, z.core.$strict>;
2044
- filter: z.ZodOptional<z.ZodString>;
2045
- items: z.ZodString;
2046
- wrap: z.ZodOptional<z.ZodString>;
2047
- cursor: z.ZodString;
2048
- deliveryId: z.ZodArray<z.ZodString>;
4028
+ tls: z.ZodDefault<z.ZodEnum<{
4029
+ verify: "verify";
4030
+ insecure: "insecure";
4031
+ off: "off";
4032
+ }>>;
4033
+ timeoutSeconds: z.ZodDefault<z.ZodNumber>;
4034
+ maxRows: z.ZodDefault<z.ZodNumber>;
4035
+ tools: z.ZodArray<z.ZodObject<{
4036
+ name: z.ZodString;
4037
+ description: z.ZodString;
4038
+ sql: z.ZodString;
4039
+ params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
4040
+ type: z.ZodEnum<{
4041
+ string: "string";
4042
+ number: "number";
4043
+ boolean: "boolean";
4044
+ integer: "integer";
4045
+ }>;
4046
+ description: z.ZodString;
4047
+ required: z.ZodDefault<z.ZodBoolean>;
4048
+ limit: z.ZodOptional<z.ZodString>;
4049
+ }, z.core.$strict>>>;
4050
+ write: z.ZodDefault<z.ZodBoolean>;
4051
+ destructive: z.ZodDefault<z.ZodBoolean>;
4052
+ answerLimits: z.ZodDefault<z.ZodArray<z.ZodObject<{
4053
+ column: z.ZodString;
4054
+ limit: z.ZodString;
4055
+ }, z.core.$strict>>>;
4056
+ }, z.core.$strict>>;
4057
+ }, z.core.$strict>>;
4058
+ events: z.ZodOptional<z.ZodObject<{
2049
4059
  types: z.ZodArray<z.ZodObject<{
2050
- type: z.ZodString;
2051
- same: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
4060
+ id: z.ZodString;
4061
+ label: z.ZodString;
4062
+ }, z.core.$strict>>;
4063
+ fields: z.ZodRecord<z.ZodString, z.ZodString>;
4064
+ limits: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
4065
+ webhook: z.ZodOptional<z.ZodObject<{
4066
+ verify: z.ZodDiscriminatedUnion<[z.ZodObject<{
4067
+ type: z.ZodLiteral<"hmac-sha256">;
4068
+ header: z.ZodString;
4069
+ prefix: z.ZodDefault<z.ZodString>;
4070
+ }, z.core.$strict>, z.ZodObject<{
4071
+ type: z.ZodLiteral<"token">;
4072
+ header: z.ZodString;
4073
+ }, z.core.$strict>, z.ZodObject<{
4074
+ type: z.ZodLiteral<"none">;
4075
+ }, z.core.$strict>], "type">;
4076
+ allowInsecure: z.ZodDefault<z.ZodBoolean>;
4077
+ type: z.ZodUnion<readonly [z.ZodObject<{
4078
+ field: z.ZodString;
4079
+ }, z.core.$strict>, z.ZodObject<{
4080
+ header: z.ZodString;
4081
+ }, z.core.$strict>]>;
4082
+ deliveryId: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4083
+ field: z.ZodString;
4084
+ }, z.core.$strict>, z.ZodObject<{
4085
+ header: z.ZodString;
4086
+ }, z.core.$strict>]>>;
4087
+ timestamp: z.ZodOptional<z.ZodObject<{
4088
+ at: z.ZodUnion<readonly [z.ZodObject<{
4089
+ field: z.ZodString;
4090
+ }, z.core.$strict>, z.ZodObject<{
4091
+ header: z.ZodString;
4092
+ }, z.core.$strict>]>;
4093
+ unit: z.ZodEnum<{
4094
+ s: "s";
4095
+ ms: "ms";
4096
+ iso: "iso";
4097
+ }>;
4098
+ toleranceSeconds: z.ZodDefault<z.ZodNumber>;
4099
+ }, z.core.$strict>>;
4100
+ setup: z.ZodArray<z.ZodObject<{
4101
+ title: z.ZodString;
4102
+ body: z.ZodString;
4103
+ link: z.ZodOptional<z.ZodObject<{
4104
+ label: z.ZodString;
4105
+ href: z.ZodURL;
4106
+ }, z.core.$strict>>;
4107
+ copy: z.ZodOptional<z.ZodArray<z.ZodString>>;
4108
+ shell: z.ZodOptional<z.ZodEnum<{
4109
+ bash: "bash";
4110
+ powershell: "powershell";
4111
+ }>>;
4112
+ permissions: z.ZodOptional<z.ZodBoolean>;
4113
+ certificate: z.ZodOptional<z.ZodBoolean>;
4114
+ click: z.ZodOptional<z.ZodArray<z.ZodString>>;
4115
+ clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
4116
+ siteRole: z.ZodOptional<z.ZodEnum<{
4117
+ read: "read";
4118
+ write: "write";
4119
+ }>>;
4120
+ agentCheck: z.ZodOptional<z.ZodBoolean>;
4121
+ confirm: z.ZodOptional<z.ZodString>;
4122
+ live: z.ZodOptional<z.ZodString>;
4123
+ settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
4124
+ id: z.ZodString;
4125
+ label: z.ZodString;
4126
+ help: z.ZodOptional<z.ZodString>;
4127
+ placeholder: z.ZodOptional<z.ZodString>;
4128
+ pattern: z.ZodString;
4129
+ }, z.core.$strict>>>;
4130
+ option: z.ZodOptional<z.ZodObject<{
4131
+ field: z.ZodString;
4132
+ value: z.ZodString;
4133
+ }, z.core.$strict>>;
4134
+ }, z.core.$strict>>;
4135
+ register: z.ZodOptional<z.ZodObject<{
4136
+ method: z.ZodEnum<{
4137
+ GET: "GET";
4138
+ POST: "POST";
4139
+ PUT: "PUT";
4140
+ }>;
4141
+ path: z.ZodString;
4142
+ body: z.ZodOptional<z.ZodUnknown>;
4143
+ location: z.ZodString;
4144
+ }, z.core.$strict>>;
4145
+ }, z.core.$strict>>;
4146
+ self: z.ZodOptional<z.ZodObject<{
4147
+ request: z.ZodObject<{
4148
+ method: z.ZodEnum<{
4149
+ GET: "GET";
4150
+ POST: "POST";
4151
+ PUT: "PUT";
4152
+ }>;
4153
+ path: z.ZodString;
4154
+ body: z.ZodOptional<z.ZodUnknown>;
4155
+ }, z.core.$strict>;
4156
+ id: z.ZodString;
4157
+ fields: z.ZodArray<z.ZodString>;
4158
+ }, z.core.$strict>>;
4159
+ poll: z.ZodOptional<z.ZodObject<{
4160
+ request: z.ZodObject<{
4161
+ method: z.ZodEnum<{
4162
+ GET: "GET";
4163
+ POST: "POST";
4164
+ PUT: "PUT";
4165
+ }>;
4166
+ path: z.ZodString;
4167
+ body: z.ZodOptional<z.ZodUnknown>;
4168
+ }, z.core.$strict>;
4169
+ filter: z.ZodOptional<z.ZodString>;
4170
+ items: z.ZodString;
4171
+ wrap: z.ZodOptional<z.ZodString>;
4172
+ cursor: z.ZodString;
4173
+ deliveryId: z.ZodArray<z.ZodString>;
4174
+ types: z.ZodArray<z.ZodObject<{
4175
+ type: z.ZodString;
4176
+ since: z.ZodOptional<z.ZodString>;
4177
+ }, z.core.$strict>>;
2052
4178
  }, z.core.$strict>>;
2053
4179
  }, z.core.$strict>>;
2054
- }, z.core.$strict>>;
2055
- }, z.core.$strict>>;
4180
+ }, z.core.$strict>;
4181
+ created: z.ZodBoolean;
4182
+ disconnected: z.ZodBoolean;
4183
+ grantsRemoved: z.ZodArray<z.ZodString>;
4184
+ }, z.core.$strict>;
4185
+ };
4186
+ };
4187
+ readonly deleteInternalApp: {
4188
+ readonly method: "DELETE";
4189
+ readonly path: "/orgs/{org}/internal-apps/{app}";
4190
+ readonly summary: "Removes one of the organization's own apps, its connection and every agent's access to it";
4191
+ readonly body: z.ZodObject<{
4192
+ by: z.ZodString;
4193
+ }, z.core.$strip>;
4194
+ readonly responses: {
4195
+ readonly 404: z.ZodObject<{
4196
+ error: z.ZodString;
4197
+ }, z.core.$strict>;
4198
+ readonly 204: null;
4199
+ };
4200
+ };
4201
+ readonly draftInternalApp: {
4202
+ readonly method: "POST";
4203
+ readonly path: "/internal-apps/draft";
4204
+ readonly summary: "Drafts an internal app's definition from an OpenAPI 3.x spec (JSON)";
4205
+ readonly body: z.ZodObject<{
4206
+ spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4207
+ id: z.ZodString;
4208
+ operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
4209
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
4210
+ }, z.core.$strip>;
4211
+ readonly responses: {
4212
+ readonly 200: z.ZodObject<{
4213
+ definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4214
+ notes: z.ZodArray<z.ZodString>;
4215
+ problem: z.ZodNullable<z.ZodString>;
4216
+ }, z.core.$strict>;
2056
4217
  };
2057
4218
  };
2058
4219
  readonly providers: {
@@ -2086,8 +4247,8 @@ export declare const routes: {
2086
4247
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2087
4248
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2088
4249
  siteRole: z.ZodOptional<z.ZodEnum<{
2089
- write: "write";
2090
4250
  read: "read";
4251
+ write: "write";
2091
4252
  }>>;
2092
4253
  agentCheck: z.ZodOptional<z.ZodBoolean>;
2093
4254
  confirm: z.ZodOptional<z.ZodString>;
@@ -2139,8 +4300,8 @@ export declare const routes: {
2139
4300
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
2140
4301
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
2141
4302
  siteRole: z.ZodOptional<z.ZodEnum<{
2142
- write: "write";
2143
4303
  read: "read";
4304
+ write: "write";
2144
4305
  }>>;
2145
4306
  agentCheck: z.ZodOptional<z.ZodBoolean>;
2146
4307
  confirm: z.ZodOptional<z.ZodString>;
@@ -2429,6 +4590,7 @@ export declare const routes: {
2429
4590
  label: z.ZodString;
2430
4591
  values: z.ZodArray<z.ZodString>;
2431
4592
  warning: z.ZodOptional<z.ZodString>;
4593
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2432
4594
  }, z.core.$strict>>;
2433
4595
  }, z.core.$strict>;
2434
4596
  };
@@ -2536,6 +4698,7 @@ export declare const routes: {
2536
4698
  label: z.ZodString;
2537
4699
  values: z.ZodArray<z.ZodString>;
2538
4700
  warning: z.ZodOptional<z.ZodString>;
4701
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2539
4702
  }, z.core.$strict>>;
2540
4703
  }, z.core.$strict>]>;
2541
4704
  };
@@ -2560,6 +4723,7 @@ export declare const routes: {
2560
4723
  label: z.ZodString;
2561
4724
  values: z.ZodArray<z.ZodString>;
2562
4725
  warning: z.ZodOptional<z.ZodString>;
4726
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2563
4727
  }, z.core.$strict>>;
2564
4728
  }, z.core.$strict>, z.ZodObject<{
2565
4729
  ok: z.ZodLiteral<false>;
@@ -2855,8 +5019,8 @@ export declare const routes: {
2855
5019
  readonly path: "/orgs/{org}/teams/publish/callback";
2856
5020
  readonly summary: "The publishing sign-in came back: publishes the bot's package";
2857
5021
  readonly body: z.ZodObject<{
2858
- state: z.ZodString;
2859
5022
  params: z.ZodRecord<z.ZodString, z.ZodString>;
5023
+ state: z.ZodString;
2860
5024
  nonce: z.ZodString;
2861
5025
  by: z.ZodString;
2862
5026
  }, z.core.$strip>;
@@ -3334,9 +5498,9 @@ export declare const routes: {
3334
5498
  sessionId: z.ZodNullable<z.ZodString>;
3335
5499
  state: z.ZodEnum<{
3336
5500
  failed: "failed";
3337
- starting: "starting";
3338
5501
  running: "running";
3339
5502
  idle: "idle";
5503
+ starting: "starting";
3340
5504
  ended: "ended";
3341
5505
  no_reply: "no_reply";
3342
5506
  }>;
@@ -3431,8 +5595,8 @@ export declare const routes: {
3431
5595
  click: z.ZodOptional<z.ZodArray<z.ZodString>>;
3432
5596
  clickUnavailable: z.ZodOptional<z.ZodLiteral<true>>;
3433
5597
  siteRole: z.ZodOptional<z.ZodEnum<{
3434
- write: "write";
3435
5598
  read: "read";
5599
+ write: "write";
3436
5600
  }>>;
3437
5601
  agentCheck: z.ZodOptional<z.ZodBoolean>;
3438
5602
  confirm: z.ZodOptional<z.ZodString>;
@@ -3633,8 +5797,8 @@ export declare const routes: {
3633
5797
  sessionId: z.ZodNullable<z.ZodString>;
3634
5798
  state: z.ZodEnum<{
3635
5799
  failed: "failed";
3636
- starting: "starting";
3637
5800
  running: "running";
5801
+ starting: "starting";
3638
5802
  ended: "ended";
3639
5803
  }>;
3640
5804
  error: z.ZodNullable<z.ZodString>;