@slates/proto 1.0.0-rc.21 → 1.0.0-rc.23
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.cjs +8 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.module.js +7 -1
- package/package.json +1 -1
- package/src/messages/triggerGroup.ts +10 -1
- package/src/types/authMethod.ts +2 -0
package/dist/index.cjs
CHANGED
|
@@ -146,6 +146,7 @@ __export(index_exports, {
|
|
|
146
146
|
slatesTriggerGroupInvocation: () => slatesTriggerGroupInvocation,
|
|
147
147
|
slatesTriggerGroupRequestsByMethod: () => slatesTriggerGroupRequestsByMethod,
|
|
148
148
|
slatesTriggerGroupResponsesByMethod: () => slatesTriggerGroupResponsesByMethod,
|
|
149
|
+
slatesTriggerGroupWebhookSkipped: () => slatesTriggerGroupWebhookSkipped,
|
|
149
150
|
slatesTriggerRoutingMatcher: () => slatesTriggerRoutingMatcher,
|
|
150
151
|
slatesWebhookHttpResponse: () => slatesWebhookHttpResponse,
|
|
151
152
|
slatesWebhookTarget: () => slatesWebhookTarget,
|
|
@@ -236,6 +237,7 @@ var slatesAuthenticationMethod = import_zod3.default.object({
|
|
|
236
237
|
})
|
|
237
238
|
).optional(),
|
|
238
239
|
adapters: import_zod3.default.array(import_zod3.default.string()).optional(),
|
|
240
|
+
syncTokensAcrossConnections: import_zod3.default.boolean().optional(),
|
|
239
241
|
inputSchema: import_zod3.default.record(import_zod3.default.string(), import_zod3.default.any()),
|
|
240
242
|
outputSchema: import_zod3.default.record(import_zod3.default.string(), import_zod3.default.any()),
|
|
241
243
|
capabilities: import_zod3.default.object({
|
|
@@ -1003,6 +1005,9 @@ var slatesTriggerGroupWebhookEvent = import_zod15.default.object({
|
|
|
1003
1005
|
idempotencyKey: import_zod15.default.string().optional(),
|
|
1004
1006
|
triggerIds: import_zod15.default.array(import_zod15.default.string())
|
|
1005
1007
|
});
|
|
1008
|
+
var slatesTriggerGroupWebhookSkipped = import_zod15.default.object({
|
|
1009
|
+
reason: import_zod15.default.string()
|
|
1010
|
+
});
|
|
1006
1011
|
var slatesTriggerGroupPollEvent = import_zod15.default.object({
|
|
1007
1012
|
payload: import_zod15.default.record(import_zod15.default.string(), import_zod15.default.any()),
|
|
1008
1013
|
idempotencyKey: import_zod15.default.string().optional(),
|
|
@@ -1144,7 +1149,8 @@ var slatesMessageTriggerGroupWebhookProcessResponse = import_zod15.default.objec
|
|
|
1144
1149
|
id: import_zod15.default.string(),
|
|
1145
1150
|
result: withRequestTraces({
|
|
1146
1151
|
events: import_zod15.default.array(slatesTriggerGroupWebhookEvent),
|
|
1147
|
-
response: slatesWebhookHttpResponse.nullable().optional()
|
|
1152
|
+
response: slatesWebhookHttpResponse.nullable().optional(),
|
|
1153
|
+
skipped: slatesTriggerGroupWebhookSkipped.nullable().optional()
|
|
1148
1154
|
})
|
|
1149
1155
|
});
|
|
1150
1156
|
var slatesMessageTriggerGroupRoutingMatchersGetRequest = import_zod15.default.object({
|
|
@@ -1624,6 +1630,7 @@ var mapUnknownErrorToSlateErrorResponse = (error, defaults = {}) => ({
|
|
|
1624
1630
|
slatesTriggerGroupInvocation,
|
|
1625
1631
|
slatesTriggerGroupRequestsByMethod,
|
|
1626
1632
|
slatesTriggerGroupResponsesByMethod,
|
|
1633
|
+
slatesTriggerGroupWebhookSkipped,
|
|
1627
1634
|
slatesTriggerRoutingMatcher,
|
|
1628
1635
|
slatesWebhookHttpResponse,
|
|
1629
1636
|
slatesWebhookTarget,
|
package/dist/index.d.cts
CHANGED
|
@@ -681,6 +681,7 @@ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
|
|
|
681
681
|
description: z.ZodOptional<z.ZodString>;
|
|
682
682
|
}, z.core.$strip>>>;
|
|
683
683
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
684
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
684
685
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
685
686
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
686
687
|
capabilities: z.ZodObject<{
|
|
@@ -732,6 +733,7 @@ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
|
|
|
732
733
|
description: z.ZodOptional<z.ZodString>;
|
|
733
734
|
}, z.core.$strip>>>;
|
|
734
735
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
736
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
735
737
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
736
738
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
737
739
|
capabilities: z.ZodObject<{
|
|
@@ -1145,6 +1147,7 @@ declare let slatesAuthResponsesByMethod: {
|
|
|
1145
1147
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1148
|
}, z.core.$strip>>>;
|
|
1147
1149
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1150
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
1148
1151
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1149
1152
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1150
1153
|
capabilities: z.ZodObject<{
|
|
@@ -1183,6 +1186,7 @@ declare let slatesAuthResponsesByMethod: {
|
|
|
1183
1186
|
description: z.ZodOptional<z.ZodString>;
|
|
1184
1187
|
}, z.core.$strip>>>;
|
|
1185
1188
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
1186
1190
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1187
1191
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1188
1192
|
capabilities: z.ZodObject<{
|
|
@@ -2555,6 +2559,10 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
|
|
|
2555
2559
|
}, z.core.$strip>>>;
|
|
2556
2560
|
})[P]; } : never, z.core.$strip>;
|
|
2557
2561
|
|
|
2562
|
+
declare let slatesTriggerGroupWebhookSkipped: z.ZodObject<{
|
|
2563
|
+
reason: z.ZodString;
|
|
2564
|
+
}, z.core.$strip>;
|
|
2565
|
+
type SlatesTriggerGroupWebhookSkipped = z.infer<typeof slatesTriggerGroupWebhookSkipped>;
|
|
2558
2566
|
/**
|
|
2559
2567
|
* List Trigger Groups
|
|
2560
2568
|
*/
|
|
@@ -2902,6 +2910,9 @@ declare let slatesMessageTriggerGroupWebhookProcessResponse: z.ZodObject<{
|
|
|
2902
2910
|
content: z.ZodString;
|
|
2903
2911
|
}, z.core.$strip>>;
|
|
2904
2912
|
}, z.core.$strip>>>;
|
|
2913
|
+
skipped: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2914
|
+
reason: z.ZodString;
|
|
2915
|
+
}, z.core.$strip>>>;
|
|
2905
2916
|
requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2906
2917
|
startedAt: z.ZodString;
|
|
2907
2918
|
durationMs: z.ZodNumber;
|
|
@@ -3266,6 +3277,9 @@ declare let slatesTriggerGroupResponsesByMethod: {
|
|
|
3266
3277
|
content: z.ZodString;
|
|
3267
3278
|
}, z.core.$strip>>;
|
|
3268
3279
|
}, z.core.$strip>>>;
|
|
3280
|
+
skipped: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3281
|
+
reason: z.ZodString;
|
|
3282
|
+
}, z.core.$strip>>>;
|
|
3269
3283
|
requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3270
3284
|
startedAt: z.ZodString;
|
|
3271
3285
|
durationMs: z.ZodNumber;
|
|
@@ -3750,6 +3764,9 @@ declare let slatesResponsesByMethod: {
|
|
|
3750
3764
|
content: z$1.ZodString;
|
|
3751
3765
|
}, z$1.core.$strip>>;
|
|
3752
3766
|
}, z$1.core.$strip>>>;
|
|
3767
|
+
skipped: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
3768
|
+
reason: z$1.ZodString;
|
|
3769
|
+
}, z$1.core.$strip>>>;
|
|
3753
3770
|
requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3754
3771
|
startedAt: z$1.ZodString;
|
|
3755
3772
|
durationMs: z$1.ZodNumber;
|
|
@@ -4107,6 +4124,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4107
4124
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4108
4125
|
}, z$1.core.$strip>>>;
|
|
4109
4126
|
adapters: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4127
|
+
syncTokensAcrossConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4110
4128
|
inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4111
4129
|
outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4112
4130
|
capabilities: z$1.ZodObject<{
|
|
@@ -4145,6 +4163,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4145
4163
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4146
4164
|
}, z$1.core.$strip>>>;
|
|
4147
4165
|
adapters: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4166
|
+
syncTokensAcrossConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4148
4167
|
inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4149
4168
|
outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4150
4169
|
capabilities: z$1.ZodObject<{
|
|
@@ -5304,6 +5323,7 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
|
|
|
5304
5323
|
description: z.ZodOptional<z.ZodString>;
|
|
5305
5324
|
}, z.core.$strip>>>;
|
|
5306
5325
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5326
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
5307
5327
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5308
5328
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5309
5329
|
capabilities: z.ZodObject<{
|
|
@@ -5394,4 +5414,4 @@ type SlatesWebhookTarget = z.infer<typeof slatesWebhookTarget>;
|
|
|
5394
5414
|
declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
|
|
5395
5415
|
type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
|
|
5396
5416
|
|
|
5397
|
-
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 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 SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, 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, 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, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
|
5417
|
+
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 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 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, 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, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
package/dist/index.d.ts
CHANGED
|
@@ -681,6 +681,7 @@ declare let slatesMessageAuthMethodsListResponse: z.ZodObject<{
|
|
|
681
681
|
description: z.ZodOptional<z.ZodString>;
|
|
682
682
|
}, z.core.$strip>>>;
|
|
683
683
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
684
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
684
685
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
685
686
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
686
687
|
capabilities: z.ZodObject<{
|
|
@@ -732,6 +733,7 @@ declare let slatesMessageAuthMethodGetResponse: z.ZodObject<{
|
|
|
732
733
|
description: z.ZodOptional<z.ZodString>;
|
|
733
734
|
}, z.core.$strip>>>;
|
|
734
735
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
736
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
735
737
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
736
738
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
737
739
|
capabilities: z.ZodObject<{
|
|
@@ -1145,6 +1147,7 @@ declare let slatesAuthResponsesByMethod: {
|
|
|
1145
1147
|
description: z.ZodOptional<z.ZodString>;
|
|
1146
1148
|
}, z.core.$strip>>>;
|
|
1147
1149
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1150
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
1148
1151
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1149
1152
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1150
1153
|
capabilities: z.ZodObject<{
|
|
@@ -1183,6 +1186,7 @@ declare let slatesAuthResponsesByMethod: {
|
|
|
1183
1186
|
description: z.ZodOptional<z.ZodString>;
|
|
1184
1187
|
}, z.core.$strip>>>;
|
|
1185
1188
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
1186
1190
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1187
1191
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1188
1192
|
capabilities: z.ZodObject<{
|
|
@@ -2555,6 +2559,10 @@ declare let withRequestTraces: <Shape extends z.ZodRawShape>(shape: Shape) => z.
|
|
|
2555
2559
|
}, z.core.$strip>>>;
|
|
2556
2560
|
})[P]; } : never, z.core.$strip>;
|
|
2557
2561
|
|
|
2562
|
+
declare let slatesTriggerGroupWebhookSkipped: z.ZodObject<{
|
|
2563
|
+
reason: z.ZodString;
|
|
2564
|
+
}, z.core.$strip>;
|
|
2565
|
+
type SlatesTriggerGroupWebhookSkipped = z.infer<typeof slatesTriggerGroupWebhookSkipped>;
|
|
2558
2566
|
/**
|
|
2559
2567
|
* List Trigger Groups
|
|
2560
2568
|
*/
|
|
@@ -2902,6 +2910,9 @@ declare let slatesMessageTriggerGroupWebhookProcessResponse: z.ZodObject<{
|
|
|
2902
2910
|
content: z.ZodString;
|
|
2903
2911
|
}, z.core.$strip>>;
|
|
2904
2912
|
}, z.core.$strip>>>;
|
|
2913
|
+
skipped: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2914
|
+
reason: z.ZodString;
|
|
2915
|
+
}, z.core.$strip>>>;
|
|
2905
2916
|
requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2906
2917
|
startedAt: z.ZodString;
|
|
2907
2918
|
durationMs: z.ZodNumber;
|
|
@@ -3266,6 +3277,9 @@ declare let slatesTriggerGroupResponsesByMethod: {
|
|
|
3266
3277
|
content: z.ZodString;
|
|
3267
3278
|
}, z.core.$strip>>;
|
|
3268
3279
|
}, z.core.$strip>>>;
|
|
3280
|
+
skipped: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3281
|
+
reason: z.ZodString;
|
|
3282
|
+
}, z.core.$strip>>>;
|
|
3269
3283
|
requestTraces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3270
3284
|
startedAt: z.ZodString;
|
|
3271
3285
|
durationMs: z.ZodNumber;
|
|
@@ -3750,6 +3764,9 @@ declare let slatesResponsesByMethod: {
|
|
|
3750
3764
|
content: z$1.ZodString;
|
|
3751
3765
|
}, z$1.core.$strip>>;
|
|
3752
3766
|
}, z$1.core.$strip>>>;
|
|
3767
|
+
skipped: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
3768
|
+
reason: z$1.ZodString;
|
|
3769
|
+
}, z$1.core.$strip>>>;
|
|
3753
3770
|
requestTraces: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3754
3771
|
startedAt: z$1.ZodString;
|
|
3755
3772
|
durationMs: z$1.ZodNumber;
|
|
@@ -4107,6 +4124,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4107
4124
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4108
4125
|
}, z$1.core.$strip>>>;
|
|
4109
4126
|
adapters: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4127
|
+
syncTokensAcrossConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4110
4128
|
inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4111
4129
|
outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4112
4130
|
capabilities: z$1.ZodObject<{
|
|
@@ -4145,6 +4163,7 @@ declare let slatesResponsesByMethod: {
|
|
|
4145
4163
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
4146
4164
|
}, z$1.core.$strip>>>;
|
|
4147
4165
|
adapters: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
4166
|
+
syncTokensAcrossConnections: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4148
4167
|
inputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4149
4168
|
outputSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>;
|
|
4150
4169
|
capabilities: z$1.ZodObject<{
|
|
@@ -5304,6 +5323,7 @@ declare let slatesAuthenticationMethod: z.ZodObject<{
|
|
|
5304
5323
|
description: z.ZodOptional<z.ZodString>;
|
|
5305
5324
|
}, z.core.$strip>>>;
|
|
5306
5325
|
adapters: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5326
|
+
syncTokensAcrossConnections: z.ZodOptional<z.ZodBoolean>;
|
|
5307
5327
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5308
5328
|
outputSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5309
5329
|
capabilities: z.ZodObject<{
|
|
@@ -5394,4 +5414,4 @@ type SlatesWebhookTarget = z.infer<typeof slatesWebhookTarget>;
|
|
|
5394
5414
|
declare const SLATES_PROTOCOL_VERSION: "slates@2026-01-01";
|
|
5395
5415
|
type SlatesProtocolVersion = typeof SLATES_PROTOCOL_VERSION;
|
|
5396
5416
|
|
|
5397
|
-
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 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 SlatesTriggerGroup, type SlatesTriggerGroupInvocation, type SlatesTriggerGroupRequests, type SlatesTriggerGroupResponses, 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, 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, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
|
5417
|
+
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 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 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, 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, slatesTriggerGroup, slatesTriggerGroupInvocation, slatesTriggerGroupRequestsByMethod, slatesTriggerGroupResponsesByMethod, slatesTriggerGroupWebhookSkipped, slatesTriggerRoutingMatcher, slatesWebhookHttpResponse, slatesWebhookTarget, slatesWebhookTargetOwnership, withRequestTraces };
|
package/dist/index.module.js
CHANGED
|
@@ -85,6 +85,7 @@ var slatesAuthenticationMethod = z3.object({
|
|
|
85
85
|
})
|
|
86
86
|
).optional(),
|
|
87
87
|
adapters: z3.array(z3.string()).optional(),
|
|
88
|
+
syncTokensAcrossConnections: z3.boolean().optional(),
|
|
88
89
|
inputSchema: z3.record(z3.string(), z3.any()),
|
|
89
90
|
outputSchema: z3.record(z3.string(), z3.any()),
|
|
90
91
|
capabilities: z3.object({
|
|
@@ -852,6 +853,9 @@ var slatesTriggerGroupWebhookEvent = z15.object({
|
|
|
852
853
|
idempotencyKey: z15.string().optional(),
|
|
853
854
|
triggerIds: z15.array(z15.string())
|
|
854
855
|
});
|
|
856
|
+
var slatesTriggerGroupWebhookSkipped = z15.object({
|
|
857
|
+
reason: z15.string()
|
|
858
|
+
});
|
|
855
859
|
var slatesTriggerGroupPollEvent = z15.object({
|
|
856
860
|
payload: z15.record(z15.string(), z15.any()),
|
|
857
861
|
idempotencyKey: z15.string().optional(),
|
|
@@ -993,7 +997,8 @@ var slatesMessageTriggerGroupWebhookProcessResponse = z15.object({
|
|
|
993
997
|
id: z15.string(),
|
|
994
998
|
result: withRequestTraces({
|
|
995
999
|
events: z15.array(slatesTriggerGroupWebhookEvent),
|
|
996
|
-
response: slatesWebhookHttpResponse.nullable().optional()
|
|
1000
|
+
response: slatesWebhookHttpResponse.nullable().optional(),
|
|
1001
|
+
skipped: slatesTriggerGroupWebhookSkipped.nullable().optional()
|
|
997
1002
|
})
|
|
998
1003
|
});
|
|
999
1004
|
var slatesMessageTriggerGroupRoutingMatchersGetRequest = z15.object({
|
|
@@ -1472,6 +1477,7 @@ export {
|
|
|
1472
1477
|
slatesTriggerGroupInvocation,
|
|
1473
1478
|
slatesTriggerGroupRequestsByMethod,
|
|
1474
1479
|
slatesTriggerGroupResponsesByMethod,
|
|
1480
|
+
slatesTriggerGroupWebhookSkipped,
|
|
1475
1481
|
slatesTriggerRoutingMatcher,
|
|
1476
1482
|
slatesWebhookHttpResponse,
|
|
1477
1483
|
slatesWebhookTarget,
|
package/package.json
CHANGED
|
@@ -14,6 +14,14 @@ let slatesTriggerGroupWebhookEvent = z.object({
|
|
|
14
14
|
triggerIds: z.array(z.string())
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
+
export let slatesTriggerGroupWebhookSkipped = z.object({
|
|
18
|
+
reason: z.string()
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export type SlatesTriggerGroupWebhookSkipped = z.infer<
|
|
22
|
+
typeof slatesTriggerGroupWebhookSkipped
|
|
23
|
+
>;
|
|
24
|
+
|
|
17
25
|
let slatesTriggerGroupPollEvent = z.object({
|
|
18
26
|
payload: z.record(z.string(), z.any()),
|
|
19
27
|
idempotencyKey: z.string().optional(),
|
|
@@ -257,7 +265,8 @@ export let slatesMessageTriggerGroupWebhookProcessResponse = z.object({
|
|
|
257
265
|
id: z.string(),
|
|
258
266
|
result: withRequestTraces({
|
|
259
267
|
events: z.array(slatesTriggerGroupWebhookEvent),
|
|
260
|
-
response: slatesWebhookHttpResponse.nullable().optional()
|
|
268
|
+
response: slatesWebhookHttpResponse.nullable().optional(),
|
|
269
|
+
skipped: slatesTriggerGroupWebhookSkipped.nullable().optional()
|
|
261
270
|
})
|
|
262
271
|
});
|
|
263
272
|
|
package/src/types/authMethod.ts
CHANGED