@slates/proto 1.0.0-rc.25 → 1.0.0-rc.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -701,6 +701,10 @@ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
701
701
  getProfile: z.ZodOptional<z.ZodObject<{
702
702
  enabled: z.ZodBoolean;
703
703
  }, z.core.$strip>>;
704
+ adminSetup: z.ZodOptional<z.ZodObject<{
705
+ enabled: z.ZodBoolean;
706
+ required: z.ZodOptional<z.ZodBoolean>;
707
+ }, z.core.$strip>>;
704
708
  }, z.core.$strip>;
705
709
  docs: z.ZodArray<z.ZodObject<{
706
710
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"docs.auth.oauth">, z.ZodLiteral<"docs.auth.oauth_scopes">, z.ZodLiteral<"docs.auth.token">, z.ZodLiteral<"docs.auth.service_account">, z.ZodLiteral<"docs.auth.custom">]>>;
@@ -753,6 +757,10 @@ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
753
757
  getProfile: z.ZodOptional<z.ZodObject<{
754
758
  enabled: z.ZodBoolean;
755
759
  }, z.core.$strip>>;
760
+ adminSetup: z.ZodOptional<z.ZodObject<{
761
+ enabled: z.ZodBoolean;
762
+ required: z.ZodOptional<z.ZodBoolean>;
763
+ }, z.core.$strip>>;
756
764
  }, z.core.$strip>;
757
765
  docs: z.ZodArray<z.ZodObject<{
758
766
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"docs.auth.oauth">, z.ZodLiteral<"docs.auth.oauth_scopes">, z.ZodLiteral<"docs.auth.token">, z.ZodLiteral<"docs.auth.service_account">, z.ZodLiteral<"docs.auth.custom">]>>;
@@ -977,6 +985,119 @@ declare let slatesMessageAuthAuthorizationCallbackHandleResponse: z.ZodObject<{
977
985
  }, z.core.$strip>;
978
986
  }, z.core.$strip>;
979
987
  type SlatesMessageAuthAuthorizationCallbackHandleResponse = z.infer<typeof slatesMessageAuthAuthorizationCallbackHandleResponse>;
988
+ /**
989
+ * Get Admin Authorization Url
990
+ */
991
+ declare let slatesMessageAuthAdminAuthorizationUrlGetRequest: z.ZodObject<{
992
+ jsonrpc: z.ZodLiteral<"2.0">;
993
+ method: z.ZodLiteral<"slates/auth.admin_authorization_url.get">;
994
+ id: z.ZodString;
995
+ params: z.ZodObject<{
996
+ authenticationMethodId: z.ZodString;
997
+ redirectUri: z.ZodString;
998
+ state: z.ZodString;
999
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1000
+ clientId: z.ZodString;
1001
+ clientSecret: z.ZodString;
1002
+ scopes: z.ZodArray<z.ZodString>;
1003
+ }, z.core.$strip>;
1004
+ }, z.core.$strip>;
1005
+ type SlatesMessageAuthAdminAuthorizationUrlGetRequest = z.infer<typeof slatesMessageAuthAdminAuthorizationUrlGetRequest>;
1006
+ declare let slatesMessageAuthAdminAuthorizationUrlGetResponse: z.ZodObject<{
1007
+ jsonrpc: z.ZodLiteral<"2.0">;
1008
+ id: z.ZodString;
1009
+ result: z.ZodObject<{
1010
+ authorizationUrl: z.ZodString;
1011
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1012
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1013
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1014
+ startedAt: z.ZodString;
1015
+ durationMs: z.ZodNumber;
1016
+ request: z.ZodObject<{
1017
+ method: z.ZodString;
1018
+ url: z.ZodString;
1019
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1020
+ body: z.ZodOptional<z.ZodObject<{
1021
+ contentType: z.ZodOptional<z.ZodString>;
1022
+ text: z.ZodString;
1023
+ truncated: z.ZodOptional<z.ZodBoolean>;
1024
+ }, z.core.$strip>>;
1025
+ }, z.core.$strip>;
1026
+ response: z.ZodOptional<z.ZodObject<{
1027
+ status: z.ZodNumber;
1028
+ statusText: z.ZodOptional<z.ZodString>;
1029
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1030
+ body: z.ZodOptional<z.ZodObject<{
1031
+ contentType: z.ZodOptional<z.ZodString>;
1032
+ text: z.ZodString;
1033
+ truncated: z.ZodOptional<z.ZodBoolean>;
1034
+ }, z.core.$strip>>;
1035
+ }, z.core.$strip>>;
1036
+ error: z.ZodOptional<z.ZodObject<{
1037
+ code: z.ZodOptional<z.ZodString>;
1038
+ message: z.ZodString;
1039
+ }, z.core.$strip>>;
1040
+ }, z.core.$strip>>>;
1041
+ }, z.core.$strip>;
1042
+ }, z.core.$strip>;
1043
+ type SlatesMessageAuthAdminAuthorizationUrlGetResponse = z.infer<typeof slatesMessageAuthAdminAuthorizationUrlGetResponse>;
1044
+ /**
1045
+ * Handle Admin Callback
1046
+ */
1047
+ declare let slatesMessageAuthAdminCallbackHandleRequest: z.ZodObject<{
1048
+ jsonrpc: z.ZodLiteral<"2.0">;
1049
+ method: z.ZodLiteral<"slates/auth.admin_callback.handle">;
1050
+ id: z.ZodString;
1051
+ params: z.ZodObject<{
1052
+ authenticationMethodId: z.ZodString;
1053
+ code: z.ZodOptional<z.ZodString>;
1054
+ state: z.ZodString;
1055
+ redirectUri: z.ZodString;
1056
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1057
+ clientId: z.ZodString;
1058
+ clientSecret: z.ZodString;
1059
+ scopes: z.ZodArray<z.ZodString>;
1060
+ callbackParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1061
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1062
+ }, z.core.$strip>;
1063
+ }, z.core.$strip>;
1064
+ type SlatesMessageAuthAdminCallbackHandleRequest = z.infer<typeof slatesMessageAuthAdminCallbackHandleRequest>;
1065
+ declare let slatesMessageAuthAdminCallbackHandleResponse: z.ZodObject<{
1066
+ jsonrpc: z.ZodLiteral<"2.0">;
1067
+ id: z.ZodString;
1068
+ result: z.ZodObject<{
1069
+ instructions: z.ZodOptional<z.ZodString>;
1070
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1071
+ startedAt: z.ZodString;
1072
+ durationMs: z.ZodNumber;
1073
+ request: z.ZodObject<{
1074
+ method: z.ZodString;
1075
+ url: z.ZodString;
1076
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1077
+ body: z.ZodOptional<z.ZodObject<{
1078
+ contentType: z.ZodOptional<z.ZodString>;
1079
+ text: z.ZodString;
1080
+ truncated: z.ZodOptional<z.ZodBoolean>;
1081
+ }, z.core.$strip>>;
1082
+ }, z.core.$strip>;
1083
+ response: z.ZodOptional<z.ZodObject<{
1084
+ status: z.ZodNumber;
1085
+ statusText: z.ZodOptional<z.ZodString>;
1086
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1087
+ body: z.ZodOptional<z.ZodObject<{
1088
+ contentType: z.ZodOptional<z.ZodString>;
1089
+ text: z.ZodString;
1090
+ truncated: z.ZodOptional<z.ZodBoolean>;
1091
+ }, z.core.$strip>>;
1092
+ }, z.core.$strip>>;
1093
+ error: z.ZodOptional<z.ZodObject<{
1094
+ code: z.ZodOptional<z.ZodString>;
1095
+ message: z.ZodString;
1096
+ }, z.core.$strip>>;
1097
+ }, z.core.$strip>>>;
1098
+ }, z.core.$strip>;
1099
+ }, z.core.$strip>;
1100
+ type SlatesMessageAuthAdminCallbackHandleResponse = z.infer<typeof slatesMessageAuthAdminCallbackHandleResponse>;
980
1101
  /**
981
1102
  * Handle Token Refresh
982
1103
  */
@@ -1133,8 +1254,8 @@ declare let slatesMessageAuthOutputGetResponse: z.ZodObject<{
1133
1254
  }, z.core.$strip>;
1134
1255
  }, z.core.$strip>;
1135
1256
  type SlatesMessageAuthOutputGetResponse = z.infer<typeof slatesMessageAuthOutputGetResponse>;
1136
- type SlatesAuthRequests = SlatesMessageAuthMethodsListRequest | SlatesMessageAuthMethodGetRequest | SlatesMessageAuthInputChangedRequest | SlatesMessageAuthDefaultInputGetRequest | SlatesMessageAuthAuthorizationUrlGetRequest | SlatesMessageAuthAuthorizationCallbackHandleRequest | SlatesMessageAuthTokenRefreshHandleRequest | SlatesMessageAuthProfileGetRequest | SlatesMessageAuthOutputGetRequest;
1137
- type SlatesAuthResponses = SlatesMessageAuthMethodsListResponse | SlatesMessageAuthMethodGetResponse | SlatesMessageAuthInputChangedResponse | SlatesMessageAuthDefaultInputGetResponse | SlatesMessageAuthAuthorizationUrlGetResponse | SlatesMessageAuthAuthorizationCallbackHandleResponse | SlatesMessageAuthTokenRefreshHandleResponse | SlatesMessageAuthProfileGetResponse | SlatesMessageAuthOutputGetResponse;
1257
+ type SlatesAuthRequests = SlatesMessageAuthMethodsListRequest | SlatesMessageAuthMethodGetRequest | SlatesMessageAuthInputChangedRequest | SlatesMessageAuthDefaultInputGetRequest | SlatesMessageAuthAuthorizationUrlGetRequest | SlatesMessageAuthAuthorizationCallbackHandleRequest | SlatesMessageAuthAdminAuthorizationUrlGetRequest | SlatesMessageAuthAdminCallbackHandleRequest | SlatesMessageAuthTokenRefreshHandleRequest | SlatesMessageAuthProfileGetRequest | SlatesMessageAuthOutputGetRequest;
1258
+ type SlatesAuthResponses = SlatesMessageAuthMethodsListResponse | SlatesMessageAuthMethodGetResponse | SlatesMessageAuthInputChangedResponse | SlatesMessageAuthDefaultInputGetResponse | SlatesMessageAuthAuthorizationUrlGetResponse | SlatesMessageAuthAuthorizationCallbackHandleResponse | SlatesMessageAuthAdminAuthorizationUrlGetResponse | SlatesMessageAuthAdminCallbackHandleResponse | SlatesMessageAuthTokenRefreshHandleResponse | SlatesMessageAuthProfileGetResponse | SlatesMessageAuthOutputGetResponse;
1138
1259
  type SlatesAuthNotifications = SlatesMessageSetAuthNotification;
1139
1260
  declare let slatesAuthResponsesByMethod: {
1140
1261
  'slates/auth.methods.list': z.ZodObject<{
@@ -1167,6 +1288,10 @@ declare let slatesAuthResponsesByMethod: {
1167
1288
  getProfile: z.ZodOptional<z.ZodObject<{
1168
1289
  enabled: z.ZodBoolean;
1169
1290
  }, z.core.$strip>>;
1291
+ adminSetup: z.ZodOptional<z.ZodObject<{
1292
+ enabled: z.ZodBoolean;
1293
+ required: z.ZodOptional<z.ZodBoolean>;
1294
+ }, z.core.$strip>>;
1170
1295
  }, z.core.$strip>;
1171
1296
  docs: z.ZodArray<z.ZodObject<{
1172
1297
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"docs.auth.oauth">, z.ZodLiteral<"docs.auth.oauth_scopes">, z.ZodLiteral<"docs.auth.token">, z.ZodLiteral<"docs.auth.service_account">, z.ZodLiteral<"docs.auth.custom">]>>;
@@ -1206,6 +1331,10 @@ declare let slatesAuthResponsesByMethod: {
1206
1331
  getProfile: z.ZodOptional<z.ZodObject<{
1207
1332
  enabled: z.ZodBoolean;
1208
1333
  }, z.core.$strip>>;
1334
+ adminSetup: z.ZodOptional<z.ZodObject<{
1335
+ enabled: z.ZodBoolean;
1336
+ required: z.ZodOptional<z.ZodBoolean>;
1337
+ }, z.core.$strip>>;
1209
1338
  }, z.core.$strip>;
1210
1339
  docs: z.ZodArray<z.ZodObject<{
1211
1340
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"docs.auth.oauth">, z.ZodLiteral<"docs.auth.oauth_scopes">, z.ZodLiteral<"docs.auth.token">, z.ZodLiteral<"docs.auth.service_account">, z.ZodLiteral<"docs.auth.custom">]>>;
@@ -1360,6 +1489,78 @@ declare let slatesAuthResponsesByMethod: {
1360
1489
  }, z.core.$strip>>>;
1361
1490
  }, z.core.$strip>;
1362
1491
  }, z.core.$strip>;
1492
+ 'slates/auth.admin_authorization_url.get': z.ZodObject<{
1493
+ jsonrpc: z.ZodLiteral<"2.0">;
1494
+ id: z.ZodString;
1495
+ result: z.ZodObject<{
1496
+ authorizationUrl: z.ZodString;
1497
+ input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1498
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1499
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1500
+ startedAt: z.ZodString;
1501
+ durationMs: z.ZodNumber;
1502
+ request: z.ZodObject<{
1503
+ method: z.ZodString;
1504
+ url: z.ZodString;
1505
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1506
+ body: z.ZodOptional<z.ZodObject<{
1507
+ contentType: z.ZodOptional<z.ZodString>;
1508
+ text: z.ZodString;
1509
+ truncated: z.ZodOptional<z.ZodBoolean>;
1510
+ }, z.core.$strip>>;
1511
+ }, z.core.$strip>;
1512
+ response: z.ZodOptional<z.ZodObject<{
1513
+ status: z.ZodNumber;
1514
+ statusText: z.ZodOptional<z.ZodString>;
1515
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1516
+ body: z.ZodOptional<z.ZodObject<{
1517
+ contentType: z.ZodOptional<z.ZodString>;
1518
+ text: z.ZodString;
1519
+ truncated: z.ZodOptional<z.ZodBoolean>;
1520
+ }, z.core.$strip>>;
1521
+ }, z.core.$strip>>;
1522
+ error: z.ZodOptional<z.ZodObject<{
1523
+ code: z.ZodOptional<z.ZodString>;
1524
+ message: z.ZodString;
1525
+ }, z.core.$strip>>;
1526
+ }, z.core.$strip>>>;
1527
+ }, z.core.$strip>;
1528
+ }, z.core.$strip>;
1529
+ 'slates/auth.admin_callback.handle': z.ZodObject<{
1530
+ jsonrpc: z.ZodLiteral<"2.0">;
1531
+ id: z.ZodString;
1532
+ result: z.ZodObject<{
1533
+ instructions: z.ZodOptional<z.ZodString>;
1534
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1535
+ startedAt: z.ZodString;
1536
+ durationMs: z.ZodNumber;
1537
+ request: z.ZodObject<{
1538
+ method: z.ZodString;
1539
+ url: z.ZodString;
1540
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1541
+ body: z.ZodOptional<z.ZodObject<{
1542
+ contentType: z.ZodOptional<z.ZodString>;
1543
+ text: z.ZodString;
1544
+ truncated: z.ZodOptional<z.ZodBoolean>;
1545
+ }, z.core.$strip>>;
1546
+ }, z.core.$strip>;
1547
+ response: z.ZodOptional<z.ZodObject<{
1548
+ status: z.ZodNumber;
1549
+ statusText: z.ZodOptional<z.ZodString>;
1550
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1551
+ body: z.ZodOptional<z.ZodObject<{
1552
+ contentType: z.ZodOptional<z.ZodString>;
1553
+ text: z.ZodString;
1554
+ truncated: z.ZodOptional<z.ZodBoolean>;
1555
+ }, z.core.$strip>>;
1556
+ }, z.core.$strip>>;
1557
+ error: z.ZodOptional<z.ZodObject<{
1558
+ code: z.ZodOptional<z.ZodString>;
1559
+ message: z.ZodString;
1560
+ }, z.core.$strip>>;
1561
+ }, z.core.$strip>>>;
1562
+ }, z.core.$strip>;
1563
+ }, z.core.$strip>;
1363
1564
  'slates/auth.token_refresh.handle': z.ZodObject<{
1364
1565
  jsonrpc: z.ZodLiteral<"2.0">;
1365
1566
  id: z.ZodString;
@@ -1533,6 +1734,37 @@ declare let slatesAuthRequestsByMethod: {
1533
1734
  callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1534
1735
  }, z.core.$strip>;
1535
1736
  }, z.core.$strip>;
1737
+ 'slates/auth.admin_authorization_url.get': z.ZodObject<{
1738
+ jsonrpc: z.ZodLiteral<"2.0">;
1739
+ method: z.ZodLiteral<"slates/auth.admin_authorization_url.get">;
1740
+ id: z.ZodString;
1741
+ params: z.ZodObject<{
1742
+ authenticationMethodId: z.ZodString;
1743
+ redirectUri: z.ZodString;
1744
+ state: z.ZodString;
1745
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1746
+ clientId: z.ZodString;
1747
+ clientSecret: z.ZodString;
1748
+ scopes: z.ZodArray<z.ZodString>;
1749
+ }, z.core.$strip>;
1750
+ }, z.core.$strip>;
1751
+ 'slates/auth.admin_callback.handle': z.ZodObject<{
1752
+ jsonrpc: z.ZodLiteral<"2.0">;
1753
+ method: z.ZodLiteral<"slates/auth.admin_callback.handle">;
1754
+ id: z.ZodString;
1755
+ params: z.ZodObject<{
1756
+ authenticationMethodId: z.ZodString;
1757
+ code: z.ZodOptional<z.ZodString>;
1758
+ state: z.ZodString;
1759
+ redirectUri: z.ZodString;
1760
+ input: z.ZodRecord<z.ZodString, z.ZodAny>;
1761
+ clientId: z.ZodString;
1762
+ clientSecret: z.ZodString;
1763
+ scopes: z.ZodArray<z.ZodString>;
1764
+ callbackParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1765
+ callbackState: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1766
+ }, z.core.$strip>;
1767
+ }, z.core.$strip>;
1536
1768
  'slates/auth.token_refresh.handle': z.ZodObject<{
1537
1769
  jsonrpc: z.ZodLiteral<"2.0">;
1538
1770
  method: z.ZodLiteral<"slates/auth.token_refresh.handle">;
@@ -4533,6 +4765,10 @@ declare let slatesResponsesByMethod: {
4533
4765
  getProfile: z$1.ZodOptional<z$1.ZodObject<{
4534
4766
  enabled: z$1.ZodBoolean;
4535
4767
  }, z$1.core.$strip>>;
4768
+ adminSetup: z$1.ZodOptional<z$1.ZodObject<{
4769
+ enabled: z$1.ZodBoolean;
4770
+ required: z$1.ZodOptional<z$1.ZodBoolean>;
4771
+ }, z$1.core.$strip>>;
4536
4772
  }, z$1.core.$strip>;
4537
4773
  docs: z$1.ZodArray<z$1.ZodObject<{
4538
4774
  type: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodLiteral<"docs.auth.oauth">, z$1.ZodLiteral<"docs.auth.oauth_scopes">, z$1.ZodLiteral<"docs.auth.token">, z$1.ZodLiteral<"docs.auth.service_account">, z$1.ZodLiteral<"docs.auth.custom">]>>;
@@ -4572,6 +4808,10 @@ declare let slatesResponsesByMethod: {
4572
4808
  getProfile: z$1.ZodOptional<z$1.ZodObject<{
4573
4809
  enabled: z$1.ZodBoolean;
4574
4810
  }, z$1.core.$strip>>;
4811
+ adminSetup: z$1.ZodOptional<z$1.ZodObject<{
4812
+ enabled: z$1.ZodBoolean;
4813
+ required: z$1.ZodOptional<z$1.ZodBoolean>;
4814
+ }, z$1.core.$strip>>;
4575
4815
  }, z$1.core.$strip>;
4576
4816
  docs: z$1.ZodArray<z$1.ZodObject<{
4577
4817
  type: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodLiteral<"docs.auth.oauth">, z$1.ZodLiteral<"docs.auth.oauth_scopes">, z$1.ZodLiteral<"docs.auth.token">, z$1.ZodLiteral<"docs.auth.service_account">, z$1.ZodLiteral<"docs.auth.custom">]>>;
@@ -4726,6 +4966,78 @@ declare let slatesResponsesByMethod: {
4726
4966
  }, z$1.core.$strip>>>;
4727
4967
  }, z$1.core.$strip>;
4728
4968
  }, z$1.core.$strip>;
4969
+ 'slates/auth.admin_authorization_url.get': z$1.ZodObject<{
4970
+ jsonrpc: z$1.ZodLiteral<"2.0">;
4971
+ id: z$1.ZodString;
4972
+ result: z$1.ZodObject<{
4973
+ authorizationUrl: z$1.ZodString;
4974
+ input: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4975
+ callbackState: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4976
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
4977
+ startedAt: z$1.ZodString;
4978
+ durationMs: z$1.ZodNumber;
4979
+ request: z$1.ZodObject<{
4980
+ method: z$1.ZodString;
4981
+ url: z$1.ZodString;
4982
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
4983
+ body: z$1.ZodOptional<z$1.ZodObject<{
4984
+ contentType: z$1.ZodOptional<z$1.ZodString>;
4985
+ text: z$1.ZodString;
4986
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
4987
+ }, z$1.core.$strip>>;
4988
+ }, z$1.core.$strip>;
4989
+ response: z$1.ZodOptional<z$1.ZodObject<{
4990
+ status: z$1.ZodNumber;
4991
+ statusText: z$1.ZodOptional<z$1.ZodString>;
4992
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
4993
+ body: z$1.ZodOptional<z$1.ZodObject<{
4994
+ contentType: z$1.ZodOptional<z$1.ZodString>;
4995
+ text: z$1.ZodString;
4996
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
4997
+ }, z$1.core.$strip>>;
4998
+ }, z$1.core.$strip>>;
4999
+ error: z$1.ZodOptional<z$1.ZodObject<{
5000
+ code: z$1.ZodOptional<z$1.ZodString>;
5001
+ message: z$1.ZodString;
5002
+ }, z$1.core.$strip>>;
5003
+ }, z$1.core.$strip>>>;
5004
+ }, z$1.core.$strip>;
5005
+ }, z$1.core.$strip>;
5006
+ 'slates/auth.admin_callback.handle': z$1.ZodObject<{
5007
+ jsonrpc: z$1.ZodLiteral<"2.0">;
5008
+ id: z$1.ZodString;
5009
+ result: z$1.ZodObject<{
5010
+ instructions: z$1.ZodOptional<z$1.ZodString>;
5011
+ requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
5012
+ startedAt: z$1.ZodString;
5013
+ durationMs: z$1.ZodNumber;
5014
+ request: z$1.ZodObject<{
5015
+ method: z$1.ZodString;
5016
+ url: z$1.ZodString;
5017
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
5018
+ body: z$1.ZodOptional<z$1.ZodObject<{
5019
+ contentType: z$1.ZodOptional<z$1.ZodString>;
5020
+ text: z$1.ZodString;
5021
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
5022
+ }, z$1.core.$strip>>;
5023
+ }, z$1.core.$strip>;
5024
+ response: z$1.ZodOptional<z$1.ZodObject<{
5025
+ status: z$1.ZodNumber;
5026
+ statusText: z$1.ZodOptional<z$1.ZodString>;
5027
+ headers: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
5028
+ body: z$1.ZodOptional<z$1.ZodObject<{
5029
+ contentType: z$1.ZodOptional<z$1.ZodString>;
5030
+ text: z$1.ZodString;
5031
+ truncated: z$1.ZodOptional<z$1.ZodBoolean>;
5032
+ }, z$1.core.$strip>>;
5033
+ }, z$1.core.$strip>>;
5034
+ error: z$1.ZodOptional<z$1.ZodObject<{
5035
+ code: z$1.ZodOptional<z$1.ZodString>;
5036
+ message: z$1.ZodString;
5037
+ }, z$1.core.$strip>>;
5038
+ }, z$1.core.$strip>>>;
5039
+ }, z$1.core.$strip>;
5040
+ }, z$1.core.$strip>;
4729
5041
  'slates/auth.token_refresh.handle': z$1.ZodObject<{
4730
5042
  jsonrpc: z$1.ZodLiteral<"2.0">;
4731
5043
  id: z$1.ZodString;
@@ -5352,6 +5664,37 @@ declare let slatesRequestsByMethod: {
5352
5664
  callbackState: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
5353
5665
  }, z$1.core.$strip>;
5354
5666
  }, z$1.core.$strip>;
5667
+ 'slates/auth.admin_authorization_url.get': z$1.ZodObject<{
5668
+ jsonrpc: z$1.ZodLiteral<"2.0">;
5669
+ method: z$1.ZodLiteral<"slates/auth.admin_authorization_url.get">;
5670
+ id: z$1.ZodString;
5671
+ params: z$1.ZodObject<{
5672
+ authenticationMethodId: z$1.ZodString;
5673
+ redirectUri: z$1.ZodString;
5674
+ state: z$1.ZodString;
5675
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
5676
+ clientId: z$1.ZodString;
5677
+ clientSecret: z$1.ZodString;
5678
+ scopes: z$1.ZodArray<z$1.ZodString>;
5679
+ }, z$1.core.$strip>;
5680
+ }, z$1.core.$strip>;
5681
+ 'slates/auth.admin_callback.handle': z$1.ZodObject<{
5682
+ jsonrpc: z$1.ZodLiteral<"2.0">;
5683
+ method: z$1.ZodLiteral<"slates/auth.admin_callback.handle">;
5684
+ id: z$1.ZodString;
5685
+ params: z$1.ZodObject<{
5686
+ authenticationMethodId: z$1.ZodString;
5687
+ code: z$1.ZodOptional<z$1.ZodString>;
5688
+ state: z$1.ZodString;
5689
+ redirectUri: z$1.ZodString;
5690
+ input: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
5691
+ clientId: z$1.ZodString;
5692
+ clientSecret: z$1.ZodString;
5693
+ scopes: z$1.ZodArray<z$1.ZodString>;
5694
+ callbackParams: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
5695
+ callbackState: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
5696
+ }, z$1.core.$strip>;
5697
+ }, z$1.core.$strip>;
5355
5698
  'slates/auth.token_refresh.handle': z$1.ZodObject<{
5356
5699
  jsonrpc: z$1.ZodLiteral<"2.0">;
5357
5700
  method: z$1.ZodLiteral<"slates/auth.token_refresh.handle">;
@@ -5522,44 +5865,63 @@ declare class SlatesProviderProtoHandlerManager {
5522
5865
  jsonrpc: "2.0";
5523
5866
  id: any;
5524
5867
  error: {
5525
- [key: string]: unknown;
5526
- code: string;
5527
- message: string;
5528
- kind?: string;
5529
- } | {
5530
- baggage: {
5531
- serviceErrorData?: {
5532
- [k: string]: unknown;
5533
- } | undefined;
5534
- serviceError: {
5535
- code: string;
5536
- status: number;
5537
- hint: string | undefined;
5538
- description: string | undefined;
5539
- reason: string | undefined;
5540
- };
5541
- };
5542
- issues?: ({
5543
- message: string;
5544
- } | {
5545
- path: string[] | undefined;
5546
- code: string | undefined;
5547
- message: string;
5548
- })[] | undefined;
5868
+ [x: string]: unknown;
5549
5869
  code: string;
5550
5870
  kind: string;
5551
5871
  message: string;
5552
- retryable: boolean;
5553
- status: number;
5554
- } | {
5555
- baggage?: {
5556
- originalName: string;
5872
+ retryable?: boolean | undefined;
5873
+ status?: number | undefined;
5874
+ issues?: {
5875
+ [x: string]: unknown;
5876
+ message: string;
5877
+ path?: string[] | undefined;
5878
+ code?: string | undefined;
5879
+ }[] | undefined;
5880
+ provider?: {
5881
+ [x: string]: unknown;
5882
+ key?: string | undefined;
5883
+ service?: string | undefined;
5884
+ operation?: string | undefined;
5557
5885
  } | undefined;
5558
- code: string;
5559
- kind: string;
5560
- message: string;
5561
- retryable: boolean;
5562
- status: number;
5886
+ upstream?: {
5887
+ [x: string]: unknown;
5888
+ status?: number | undefined;
5889
+ code?: string | undefined;
5890
+ type?: string | undefined;
5891
+ requestId?: string | undefined;
5892
+ method?: string | undefined;
5893
+ url?: string | undefined;
5894
+ } | undefined;
5895
+ upstreamCode?: string | undefined;
5896
+ baggage?: Record<string, unknown> | undefined;
5897
+ requestTraces?: {
5898
+ startedAt: string;
5899
+ durationMs: number;
5900
+ request: {
5901
+ method: string;
5902
+ url: string;
5903
+ headers?: Record<string, string> | undefined;
5904
+ body?: {
5905
+ text: string;
5906
+ contentType?: string | undefined;
5907
+ truncated?: boolean | undefined;
5908
+ } | undefined;
5909
+ };
5910
+ response?: {
5911
+ status: number;
5912
+ statusText?: string | undefined;
5913
+ headers?: Record<string, string> | undefined;
5914
+ body?: {
5915
+ text: string;
5916
+ contentType?: string | undefined;
5917
+ truncated?: boolean | undefined;
5918
+ } | undefined;
5919
+ } | undefined;
5920
+ error?: {
5921
+ message: string;
5922
+ code?: string | undefined;
5923
+ } | undefined;
5924
+ }[] | undefined;
5563
5925
  };
5564
5926
  result?: undefined;
5565
5927
  } | {
@@ -5765,6 +6127,10 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
5765
6127
  getProfile: z.ZodOptional<z.ZodObject<{
5766
6128
  enabled: z.ZodBoolean;
5767
6129
  }, z.core.$strip>>;
6130
+ adminSetup: z.ZodOptional<z.ZodObject<{
6131
+ enabled: z.ZodBoolean;
6132
+ required: z.ZodOptional<z.ZodBoolean>;
6133
+ }, z.core.$strip>>;
5768
6134
  }, z.core.$strip>;
5769
6135
  docs: z.ZodArray<z.ZodObject<{
5770
6136
  type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"docs.auth.oauth">, z.ZodLiteral<"docs.auth.oauth_scopes">, z.ZodLiteral<"docs.auth.token">, z.ZodLiteral<"docs.auth.service_account">, z.ZodLiteral<"docs.auth.custom">]>>;
@@ -5774,6 +6140,63 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
5774
6140
  }, z.core.$strip>;
5775
6141
  type SlateAuthenticationMethod = z.infer<typeof slatesAuthenticationMethod>;
5776
6142
 
6143
+ declare let slatesErrorResponse: z.ZodObject<{
6144
+ code: z.ZodString;
6145
+ kind: z.ZodString;
6146
+ message: z.ZodString;
6147
+ retryable: z.ZodOptional<z.ZodBoolean>;
6148
+ status: z.ZodOptional<z.ZodNumber>;
6149
+ issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
6150
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
6151
+ code: z.ZodOptional<z.ZodString>;
6152
+ message: z.ZodString;
6153
+ }, z.core.$loose>>>;
6154
+ provider: z.ZodOptional<z.ZodObject<{
6155
+ key: z.ZodOptional<z.ZodString>;
6156
+ service: z.ZodOptional<z.ZodString>;
6157
+ operation: z.ZodOptional<z.ZodString>;
6158
+ }, z.core.$loose>>;
6159
+ upstream: z.ZodOptional<z.ZodObject<{
6160
+ status: z.ZodOptional<z.ZodNumber>;
6161
+ code: z.ZodOptional<z.ZodString>;
6162
+ type: z.ZodOptional<z.ZodString>;
6163
+ requestId: z.ZodOptional<z.ZodString>;
6164
+ method: z.ZodOptional<z.ZodString>;
6165
+ url: z.ZodOptional<z.ZodString>;
6166
+ }, z.core.$loose>>;
6167
+ upstreamCode: z.ZodOptional<z.ZodString>;
6168
+ baggage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6169
+ requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
6170
+ startedAt: z.ZodString;
6171
+ durationMs: z.ZodNumber;
6172
+ request: z.ZodObject<{
6173
+ method: z.ZodString;
6174
+ url: z.ZodString;
6175
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6176
+ body: z.ZodOptional<z.ZodObject<{
6177
+ contentType: z.ZodOptional<z.ZodString>;
6178
+ text: z.ZodString;
6179
+ truncated: z.ZodOptional<z.ZodBoolean>;
6180
+ }, z.core.$strip>>;
6181
+ }, z.core.$strip>;
6182
+ response: z.ZodOptional<z.ZodObject<{
6183
+ status: z.ZodNumber;
6184
+ statusText: z.ZodOptional<z.ZodString>;
6185
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6186
+ body: z.ZodOptional<z.ZodObject<{
6187
+ contentType: z.ZodOptional<z.ZodString>;
6188
+ text: z.ZodString;
6189
+ truncated: z.ZodOptional<z.ZodBoolean>;
6190
+ }, z.core.$strip>>;
6191
+ }, z.core.$strip>>;
6192
+ error: z.ZodOptional<z.ZodObject<{
6193
+ code: z.ZodOptional<z.ZodString>;
6194
+ message: z.ZodString;
6195
+ }, z.core.$strip>>;
6196
+ }, z.core.$strip>>>;
6197
+ }, z.core.$loose>;
6198
+ type SlatesErrorResponse = z.infer<typeof slatesErrorResponse>;
6199
+
5777
6200
  declare let slatesParticipant: z.ZodObject<{
5778
6201
  type: z.ZodUnion<readonly [z.ZodLiteral<"consumer">, z.ZodLiteral<"hub">]>;
5779
6202
  id: z.ZodString;
@@ -5852,4 +6275,4 @@ type SlatesWebhookTarget = z.infer<typeof slatesWebhookTarget>;
5852
6275
  declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
5853
6276
  type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
5854
6277
 
5855
- export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageHubCapabilitiesSetNotification, type SlatesMessageHubLiveInvocationSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageHubCapabilitiesSetNotification, slatesMessageHubLiveInvocationSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
6278
+ export { SLATES_PROTOCOL_VERSION, SLATES_WEBHOOK_ERROR_CODES, SLATES_WEBHOOK_ERROR_DEFAULTS, type SlateAdapter, type SlateAuthenticationMethod, type SlatesAction, type SlatesActionRequests, type SlatesActionResponses, type SlatesActionScopes, type SlatesActionTool, type SlatesActionTrigger, type SlatesAdapterRequests, type SlatesAdapterResponses, type SlatesAuthNotifications, type SlatesAuthRequests, type SlatesAuthResponses, type SlatesConfigNotifications, type SlatesConfigRequests, type SlatesConfigResponses, type SlatesControlFlowNotifications, type SlatesErrorResponse, type SlatesHubNotifications, type SlatesHubRequests, type SlatesHubResponses, type SlatesIdentifyRequests, type SlatesIdentifyResponses, type SlatesLegacyTriggerRequests, type SlatesLegacyTriggerResponses, type SlatesMessageActionGetRequest, type SlatesMessageActionGetResponse, type SlatesMessageActionInvokeRequest, type SlatesMessageActionInvokeResponse, type SlatesMessageActionTriggerEventMapRequest, type SlatesMessageActionTriggerEventMapResponse, type SlatesMessageActionTriggerEventsPollRequest, type SlatesMessageActionTriggerEventsPollResponse, type SlatesMessageActionTriggerWebhookHandleRequest, type SlatesMessageActionTriggerWebhookHandleResponse, type SlatesMessageActionTriggerWebhookRegisterRequest, type SlatesMessageActionTriggerWebhookRegisterResponse, type SlatesMessageActionTriggerWebhookUnregisterRequest, type SlatesMessageActionTriggerWebhookUnregisterResponse, type SlatesMessageActionsListRequest, type SlatesMessageActionsListResponse, type SlatesMessageAdapterGetRequest, type SlatesMessageAdapterGetResponse, type SlatesMessageAdaptersListRequest, type SlatesMessageAdaptersListResponse, type SlatesMessageAuthAdminAuthorizationUrlGetRequest, type SlatesMessageAuthAdminAuthorizationUrlGetResponse, type SlatesMessageAuthAdminCallbackHandleRequest, type SlatesMessageAuthAdminCallbackHandleResponse, type SlatesMessageAuthAuthorizationCallbackHandleRequest, type SlatesMessageAuthAuthorizationCallbackHandleResponse, type SlatesMessageAuthAuthorizationUrlGetRequest, type SlatesMessageAuthAuthorizationUrlGetResponse, type SlatesMessageAuthDefaultInputGetRequest, type SlatesMessageAuthDefaultInputGetResponse, type SlatesMessageAuthInputChangedRequest, type SlatesMessageAuthInputChangedResponse, type SlatesMessageAuthMethodGetRequest, type SlatesMessageAuthMethodGetResponse, type SlatesMessageAuthMethodsListRequest, type SlatesMessageAuthMethodsListResponse, type SlatesMessageAuthOutputGetRequest, type SlatesMessageAuthOutputGetResponse, type SlatesMessageAuthProfileGetRequest, type SlatesMessageAuthProfileGetResponse, type SlatesMessageAuthTokenRefreshHandleRequest, type SlatesMessageAuthTokenRefreshHandleResponse, type SlatesMessageConfigChangedRequest, type SlatesMessageConfigChangedResponse, type SlatesMessageConfigDefaultGetRequest, type SlatesMessageConfigDefaultGetResponse, type SlatesMessageConfigSchemaGetRequest, type SlatesMessageConfigSchemaGetResponse, type SlatesMessageHelloNotification, type SlatesMessageHubCapabilitiesSetNotification, type SlatesMessageHubLiveInvocationSetNotification, type SlatesMessageProviderCapabilitiesGetRequest, type SlatesMessageProviderCapabilitiesGetResponse, type SlatesMessageProviderIdentifyRequest, type SlatesMessageProviderIdentifyResponse, type SlatesMessageSessionStartNotification, type SlatesMessageSetAuthNotification, type SlatesMessageSetConfigNotification, type SlatesMessageSetParticipantsNotification, type SlatesMessageToolCategoriesListRequest, type SlatesMessageToolCategoriesListResponse, type SlatesMessageTriggerGroupGatewayConnectRequest, type SlatesMessageTriggerGroupGatewayConnectResponse, type SlatesMessageTriggerGroupGatewayReceiveRequest, type SlatesMessageTriggerGroupGatewayReceiveResponse, type SlatesMessageTriggerGroupGetRequest, type SlatesMessageTriggerGroupGetResponse, type SlatesMessageTriggerGroupPollingPollRequest, type SlatesMessageTriggerGroupPollingPollResponse, type SlatesMessageTriggerGroupRoutingMatchersGetRequest, type SlatesMessageTriggerGroupRoutingMatchersGetResponse, type SlatesMessageTriggerGroupWebhookManualFinishRequest, type SlatesMessageTriggerGroupWebhookManualFinishResponse, type SlatesMessageTriggerGroupWebhookManualSetupRequest, type SlatesMessageTriggerGroupWebhookManualSetupResponse, type SlatesMessageTriggerGroupWebhookProcessRequest, type SlatesMessageTriggerGroupWebhookProcessResponse, type SlatesMessageTriggerGroupWebhookRegisterRequest, type SlatesMessageTriggerGroupWebhookRegisterResponse, type SlatesMessageTriggerGroupWebhookTargetsListRequest, type SlatesMessageTriggerGroupWebhookTargetsListResponse, type SlatesMessageTriggerGroupWebhookUnregisterRequest, type SlatesMessageTriggerGroupWebhookUnregisterResponse, type SlatesMessageTriggerGroupsListRequest, type SlatesMessageTriggerGroupsListResponse, type SlatesNotifications, type SlatesParticipant, type SlatesProtocolVersion, SlatesProviderProtoHandlerManager, type SlatesRequests, type SlatesResponses, type SlatesResponsesByMethod, type SlatesToolCategory, type SlatesToolCategoryRequests, type SlatesToolCategoryResponses, type SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, type SlatesTriggerGroupWebhookSkipped, type SlatesTriggerRoutingMatcher, type SlatesWebhookErrorCode, type SlatesWebhookHttpResponse, type SlatesWebhookTarget, type SlatesWebhookTargetOwnership, createSlatesProviderProtoHandler, slatesAction, slatesActionBase, slatesActionRequestsByMethod, slatesActionResponsesByMethod, slatesActionScopeClause, slatesActionScopes, slatesActionTool, slatesActionTrigger, slatesAdapter, slatesAdapterRequestsByMethod, slatesAdapterResponsesByMethod, slatesAuthNotificationsByMethod, slatesAuthRequestsByMethod, slatesAuthResponsesByMethod, slatesAuthenticationMethod, slatesConfigNotificationsByMethod, slatesConfigRequestsByMethod, slatesConfigResponsesByMethod, slatesControlFlowNotificationsByMethod, slatesErrorResponse, slatesHubNotificationsByMethod, slatesHubRequestsByMethod, slatesHubResponsesByMethod, slatesIdentifyRequestsByMethod, slatesIdentifyResponsesByMethod, slatesLegacyTriggerRequestsByMethod, slatesLegacyTriggerResponsesByMethod, slatesMessageActionGetRequest, slatesMessageActionGetResponse, slatesMessageActionInvokeRequest, slatesMessageActionInvokeResponse, slatesMessageActionTriggerEventMapRequest, slatesMessageActionTriggerEventMapResponse, slatesMessageActionTriggerEventsPollRequest, slatesMessageActionTriggerEventsPollResponse, slatesMessageActionTriggerWebhookHandleRequest, slatesMessageActionTriggerWebhookHandleResponse, slatesMessageActionTriggerWebhookRegisterRequest, slatesMessageActionTriggerWebhookRegisterResponse, slatesMessageActionTriggerWebhookUnregisterRequest, slatesMessageActionTriggerWebhookUnregisterResponse, slatesMessageActionsListRequest, slatesMessageActionsListResponse, slatesMessageAdapterGetRequest, slatesMessageAdapterGetResponse, slatesMessageAdaptersListRequest, slatesMessageAdaptersListResponse, slatesMessageAuthAdminAuthorizationUrlGetRequest, slatesMessageAuthAdminAuthorizationUrlGetResponse, slatesMessageAuthAdminCallbackHandleRequest, slatesMessageAuthAdminCallbackHandleResponse, slatesMessageAuthAuthorizationCallbackHandleRequest, slatesMessageAuthAuthorizationCallbackHandleResponse, slatesMessageAuthAuthorizationUrlGetRequest, slatesMessageAuthAuthorizationUrlGetResponse, slatesMessageAuthDefaultInputGetRequest, slatesMessageAuthDefaultInputGetResponse, slatesMessageAuthInputChangedRequest, slatesMessageAuthInputChangedResponse, slatesMessageAuthMethodGetRequest, slatesMessageAuthMethodGetResponse, slatesMessageAuthMethodsListRequest, slatesMessageAuthMethodsListResponse, slatesMessageAuthOutputGetRequest, slatesMessageAuthOutputGetResponse, slatesMessageAuthProfileGetRequest, slatesMessageAuthProfileGetResponse, slatesMessageAuthTokenRefreshHandleRequest, slatesMessageAuthTokenRefreshHandleResponse, slatesMessageConfigChangedRequest, slatesMessageConfigChangedResponse, slatesMessageConfigDefaultGetRequest, slatesMessageConfigDefaultGetResponse, slatesMessageConfigSchemaGetRequest, slatesMessageConfigSchemaGetResponse, slatesMessageHelloNotification, slatesMessageHubCapabilitiesSetNotification, slatesMessageHubLiveInvocationSetNotification, slatesMessageProviderCapabilitiesGetRequest, slatesMessageProviderCapabilitiesGetResponse, slatesMessageProviderIdentifyRequest, slatesMessageProviderIdentifyResponse, slatesMessageSessionStartNotification, slatesMessageSetAuthNotification, slatesMessageSetConfigNotification, slatesMessageSetParticipantsNotification, slatesMessageToolCategoriesListRequest, slatesMessageToolCategoriesListResponse, slatesMessageTriggerGroupGatewayConnectRequest, slatesMessageTriggerGroupGatewayConnectResponse, slatesMessageTriggerGroupGatewayReceiveRequest, slatesMessageTriggerGroupGatewayReceiveResponse, slatesMessageTriggerGroupGetRequest, slatesMessageTriggerGroupGetResponse, slatesMessageTriggerGroupPollingPollRequest, slatesMessageTriggerGroupPollingPollResponse, slatesMessageTriggerGroupRoutingMatchersGetRequest, slatesMessageTriggerGroupRoutingMatchersGetResponse, slatesMessageTriggerGroupWebhookManualFinishRequest, slatesMessageTriggerGroupWebhookManualFinishResponse, slatesMessageTriggerGroupWebhookManualSetupRequest, slatesMessageTriggerGroupWebhookManualSetupResponse, slatesMessageTriggerGroupWebhookProcessRequest, slatesMessageTriggerGroupWebhookProcessResponse, slatesMessageTriggerGroupWebhookRegisterRequest, slatesMessageTriggerGroupWebhookRegisterResponse, slatesMessageTriggerGroupWebhookTargetsListRequest, slatesMessageTriggerGroupWebhookTargetsListResponse, slatesMessageTriggerGroupWebhookUnregisterRequest, slatesMessageTriggerGroupWebhookUnregisterResponse, slatesMessageTriggerGroupsListRequest, slatesMessageTriggerGroupsListResponse, slatesNotificationsByMethod, slatesParticipant, slatesRequestTrace, slatesRequestTraceTextBody, slatesRequestsByMethod, slatesResponsesByMethod, slatesToolCategory, slatesToolCategoryRequestsByMethod, slatesToolCategoryResponsesByMethod, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };