@channel.io/app-sdk-core 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/extensions/apikey.d.ts +2 -2
  2. package/dist/extensions/commerce.d.ts +8 -0
  3. package/dist/extensions/commerce.d.ts.map +1 -1
  4. package/dist/extensions/commerce.js +14 -3
  5. package/dist/extensions/commerce.js.map +1 -1
  6. package/dist/extensions/config.d.ts +53 -1
  7. package/dist/extensions/config.d.ts.map +1 -1
  8. package/dist/extensions/config.js +14 -0
  9. package/dist/extensions/config.js.map +1 -1
  10. package/dist/extensions/datasource.d.ts +22 -22
  11. package/dist/extensions/hook.d.ts +295 -4
  12. package/dist/extensions/hook.d.ts.map +1 -1
  13. package/dist/extensions/hook.js +48 -1
  14. package/dist/extensions/hook.js.map +1 -1
  15. package/dist/extensions/index.d.ts +2 -2
  16. package/dist/extensions/index.d.ts.map +1 -1
  17. package/dist/extensions/index.js +2 -2
  18. package/dist/extensions/index.js.map +1 -1
  19. package/dist/extensions/oauth.d.ts +2 -2
  20. package/dist/extensions/proto-contracts.d.ts +3 -1
  21. package/dist/extensions/proto-contracts.d.ts.map +1 -1
  22. package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +6 -6
  23. package/dist/gen/channel/app/sdk/v1/context.d.ts +12 -0
  24. package/dist/gen/channel/app/sdk/v1/context.d.ts.map +1 -1
  25. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +67 -6
  26. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts.map +1 -1
  27. package/dist/gen/channel/app/sdk/v1/context.zod.js +9 -0
  28. package/dist/gen/channel/app/sdk/v1/context.zod.js.map +1 -1
  29. package/dist/gen/channel/app/sdk/v1/extension.d.ts +64 -2
  30. package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
  31. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +119 -22
  32. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
  33. package/dist/gen/channel/app/sdk/v1/extension.zod.js +22 -0
  34. package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
  35. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +66 -12
  36. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts.map +1 -1
  37. package/dist/gen/channel/app/sdk/v1/native.d.ts +25 -0
  38. package/dist/gen/channel/app/sdk/v1/native.d.ts.map +1 -1
  39. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +167 -12
  40. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -1
  41. package/dist/gen/channel/app/sdk/v1/native.zod.js +22 -0
  42. package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -1
  43. package/dist/schemas/context.d.ts +25 -0
  44. package/dist/schemas/context.d.ts.map +1 -0
  45. package/dist/schemas/context.js +13 -0
  46. package/dist/schemas/context.js.map +1 -0
  47. package/dist/schemas/index.d.ts +1 -0
  48. package/dist/schemas/index.d.ts.map +1 -1
  49. package/dist/schemas/index.js +1 -0
  50. package/dist/schemas/index.js.map +1 -1
  51. package/dist/schemas/native.d.ts +153 -0
  52. package/dist/schemas/native.d.ts.map +1 -1
  53. package/dist/schemas/native.js +42 -0
  54. package/dist/schemas/native.js.map +1 -1
  55. package/dist/schemas/redirect.d.ts +4 -0
  56. package/dist/schemas/redirect.d.ts.map +1 -0
  57. package/dist/schemas/redirect.js +18 -0
  58. package/dist/schemas/redirect.js.map +1 -0
  59. package/dist/types/context.d.ts +11 -2
  60. package/dist/types/context.d.ts.map +1 -1
  61. package/dist/types/native.d.ts +34 -0
  62. package/dist/types/native.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -61,7 +61,7 @@ export declare const DataSourceTableSchema: z.ZodObject<{
61
61
  updatedAt?: number | undefined;
62
62
  localCatalogAlias?: string | undefined;
63
63
  estimatedRowCount?: number | undefined;
64
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
64
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
65
65
  managerAccess?: "all" | "owner" | undefined;
66
66
  permissions?: {
67
67
  action: string;
@@ -73,7 +73,7 @@ export declare const DataSourceTableSchema: z.ZodObject<{
73
73
  updatedAt?: number | undefined;
74
74
  localCatalogAlias?: string | undefined;
75
75
  estimatedRowCount?: number | undefined;
76
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
76
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
77
77
  managerAccess?: "all" | "owner" | undefined;
78
78
  permissions?: {
79
79
  action: string;
@@ -132,7 +132,7 @@ export declare const DataSourceTableDefinitionSchema: z.ZodObject<{
132
132
  updatedAt?: number | undefined;
133
133
  localCatalogAlias?: string | undefined;
134
134
  estimatedRowCount?: number | undefined;
135
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
135
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
136
136
  managerAccess?: "all" | "owner" | undefined;
137
137
  permissions?: {
138
138
  action: string;
@@ -144,7 +144,7 @@ export declare const DataSourceTableDefinitionSchema: z.ZodObject<{
144
144
  updatedAt?: number | undefined;
145
145
  localCatalogAlias?: string | undefined;
146
146
  estimatedRowCount?: number | undefined;
147
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
147
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
148
148
  managerAccess?: "all" | "owner" | undefined;
149
149
  permissions?: {
150
150
  action: string;
@@ -193,7 +193,7 @@ export declare const DataSourceTableDefinitionSchema: z.ZodObject<{
193
193
  updatedAt?: number | undefined;
194
194
  localCatalogAlias?: string | undefined;
195
195
  estimatedRowCount?: number | undefined;
196
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
196
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
197
197
  managerAccess?: "all" | "owner" | undefined;
198
198
  permissions?: {
199
199
  action: string;
@@ -217,7 +217,7 @@ export declare const DataSourceTableDefinitionSchema: z.ZodObject<{
217
217
  updatedAt?: number | undefined;
218
218
  localCatalogAlias?: string | undefined;
219
219
  estimatedRowCount?: number | undefined;
220
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
220
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
221
221
  managerAccess?: "all" | "owner" | undefined;
222
222
  permissions?: {
223
223
  action: string;
@@ -252,7 +252,7 @@ export declare const DataSourceTableListingSchema: z.ZodObject<{
252
252
  updatedAt?: number | undefined;
253
253
  localCatalogAlias?: string | undefined;
254
254
  estimatedRowCount?: number | undefined;
255
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
255
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
256
256
  managerAccess?: "all" | "owner" | undefined;
257
257
  permissions?: {
258
258
  action: string;
@@ -264,7 +264,7 @@ export declare const DataSourceTableListingSchema: z.ZodObject<{
264
264
  updatedAt?: number | undefined;
265
265
  localCatalogAlias?: string | undefined;
266
266
  estimatedRowCount?: number | undefined;
267
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
267
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
268
268
  managerAccess?: "all" | "owner" | undefined;
269
269
  permissions?: {
270
270
  action: string;
@@ -280,7 +280,7 @@ export declare const DataSourceTableListingSchema: z.ZodObject<{
280
280
  updatedAt?: number | undefined;
281
281
  localCatalogAlias?: string | undefined;
282
282
  estimatedRowCount?: number | undefined;
283
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
283
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
284
284
  managerAccess?: "all" | "owner" | undefined;
285
285
  permissions?: {
286
286
  action: string;
@@ -296,7 +296,7 @@ export declare const DataSourceTableListingSchema: z.ZodObject<{
296
296
  updatedAt?: number | undefined;
297
297
  localCatalogAlias?: string | undefined;
298
298
  estimatedRowCount?: number | undefined;
299
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
299
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
300
300
  managerAccess?: "all" | "owner" | undefined;
301
301
  permissions?: {
302
302
  action: string;
@@ -386,7 +386,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
386
386
  updatedAt?: number | undefined;
387
387
  localCatalogAlias?: string | undefined;
388
388
  estimatedRowCount?: number | undefined;
389
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
389
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
390
390
  managerAccess?: "all" | "owner" | undefined;
391
391
  permissions?: {
392
392
  action: string;
@@ -398,7 +398,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
398
398
  updatedAt?: number | undefined;
399
399
  localCatalogAlias?: string | undefined;
400
400
  estimatedRowCount?: number | undefined;
401
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
401
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
402
402
  managerAccess?: "all" | "owner" | undefined;
403
403
  permissions?: {
404
404
  action: string;
@@ -414,7 +414,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
414
414
  updatedAt?: number | undefined;
415
415
  localCatalogAlias?: string | undefined;
416
416
  estimatedRowCount?: number | undefined;
417
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
417
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
418
418
  managerAccess?: "all" | "owner" | undefined;
419
419
  permissions?: {
420
420
  action: string;
@@ -430,7 +430,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
430
430
  updatedAt?: number | undefined;
431
431
  localCatalogAlias?: string | undefined;
432
432
  estimatedRowCount?: number | undefined;
433
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
433
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
434
434
  managerAccess?: "all" | "owner" | undefined;
435
435
  permissions?: {
436
436
  action: string;
@@ -450,7 +450,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
450
450
  updatedAt?: number | undefined;
451
451
  localCatalogAlias?: string | undefined;
452
452
  estimatedRowCount?: number | undefined;
453
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
453
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
454
454
  managerAccess?: "all" | "owner" | undefined;
455
455
  permissions?: {
456
456
  action: string;
@@ -470,7 +470,7 @@ export declare const ListTablesOutputSchema: z.ZodObject<{
470
470
  updatedAt?: number | undefined;
471
471
  localCatalogAlias?: string | undefined;
472
472
  estimatedRowCount?: number | undefined;
473
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
473
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
474
474
  managerAccess?: "all" | "owner" | undefined;
475
475
  permissions?: {
476
476
  action: string;
@@ -524,7 +524,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
524
524
  updatedAt?: number | undefined;
525
525
  localCatalogAlias?: string | undefined;
526
526
  estimatedRowCount?: number | undefined;
527
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
527
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
528
528
  managerAccess?: "all" | "owner" | undefined;
529
529
  permissions?: {
530
530
  action: string;
@@ -536,7 +536,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
536
536
  updatedAt?: number | undefined;
537
537
  localCatalogAlias?: string | undefined;
538
538
  estimatedRowCount?: number | undefined;
539
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
539
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
540
540
  managerAccess?: "all" | "owner" | undefined;
541
541
  permissions?: {
542
542
  action: string;
@@ -585,7 +585,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
585
585
  updatedAt?: number | undefined;
586
586
  localCatalogAlias?: string | undefined;
587
587
  estimatedRowCount?: number | undefined;
588
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
588
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
589
589
  managerAccess?: "all" | "owner" | undefined;
590
590
  permissions?: {
591
591
  action: string;
@@ -609,7 +609,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
609
609
  updatedAt?: number | undefined;
610
610
  localCatalogAlias?: string | undefined;
611
611
  estimatedRowCount?: number | undefined;
612
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
612
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
613
613
  managerAccess?: "all" | "owner" | undefined;
614
614
  permissions?: {
615
615
  action: string;
@@ -637,7 +637,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
637
637
  updatedAt?: number | undefined;
638
638
  localCatalogAlias?: string | undefined;
639
639
  estimatedRowCount?: number | undefined;
640
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
640
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
641
641
  managerAccess?: "all" | "owner" | undefined;
642
642
  permissions?: {
643
643
  action: string;
@@ -665,7 +665,7 @@ export declare const DescribeTableOutputSchema: z.ZodObject<{
665
665
  updatedAt?: number | undefined;
666
666
  localCatalogAlias?: string | undefined;
667
667
  estimatedRowCount?: number | undefined;
668
- tableType?: "table" | "view" | "materialized_view" | "external" | undefined;
668
+ tableType?: "external" | "table" | "view" | "materialized_view" | undefined;
669
669
  managerAccess?: "all" | "owner" | undefined;
670
670
  permissions?: {
671
671
  action: string;
@@ -1,11 +1,44 @@
1
1
  import { z } from "zod";
2
- import type { HookConfig as ProtoHookConfig, HookGetHooksOutput as ProtoGetHooksOutput, HookTeamChatMessageCreatedInput as ProtoTeamChatMessageCreatedHookInput, HookTeamChatMessageCreatedResult as ProtoTeamChatMessageCreatedHookResult, HookUserChatOpenedInput as ProtoUserChatOpenedHookInput, HookUserChatOpenedResult as ProtoUserChatOpenedHookResult, HookWebhookConfig as ProtoWebhookConfig } from "../gen/channel/app/sdk/v1/extension.js";
2
+ import type { HookConfig as ProtoHookConfig, HookGetHooksOutput as ProtoGetHooksOutput, HookTeamChatMessageCreatedInput as ProtoTeamChatMessageCreatedHookInput, HookTeamChatMessageCreatedResult as ProtoTeamChatMessageCreatedHookResult, HookUserChatOpenedInput as ProtoUserChatOpenedHookInput, HookUserChatOpenedResult as ProtoUserChatOpenedHookResult, HookWebhookConfig as ProtoWebhookConfig, OAuthFlowHookInput as ProtoOAuthFlowHookInput, OAuthFlowHookResult as ProtoOAuthFlowHookResult } from "../gen/channel/app/sdk/v1/extension.js";
3
3
  type ProtoBacked<T extends Proto, Proto> = T;
4
4
  /**
5
5
  * Hook type returned from extension.hook.metadata.getHooks.
6
6
  */
7
- export declare const HookTypeSchema: z.ZodEnum<["app.installed", "app.uninstalled", "command.toggle", "config.saved", "config.deleted", "widget.installed", "widget.uninstalled", "webhook.received", "oauth.connected", "oauth.disconnected", "userChat.opened", "teamChat.messageCreated"]>;
7
+ export declare const HookTypeSchema: z.ZodEnum<["app.installed", "app.uninstalled", "command.toggle", "config.saved", "config.deleted", "widget.installed", "widget.uninstalled", "webhook.received", "oauth.connected", "oauth.disconnected", "oauth.beforeAuthorization", "oauth.afterAuthorization", "userChat.opened", "teamChat.messageCreated"]>;
8
8
  export type HookType = z.infer<typeof HookTypeSchema>;
9
+ /** Opaque flow reference and server-owned resume URL. Neither grants manager authority. */
10
+ export declare const OAuthFlowHookInputSchema: z.ZodObject<{
11
+ flowId: z.ZodString;
12
+ resumeUrl: z.ZodString;
13
+ expiresAt: z.ZodString;
14
+ }, "strict", z.ZodTypeAny, {
15
+ expiresAt: string;
16
+ flowId: string;
17
+ resumeUrl: string;
18
+ }, {
19
+ expiresAt: string;
20
+ flowId: string;
21
+ resumeUrl: string;
22
+ }>;
23
+ export type OAuthFlowHookInput = ProtoBacked<z.infer<typeof OAuthFlowHookInputSchema>, ProtoOAuthFlowHookInput>;
24
+ /** A redirect must also match the hook's registered redirectOrigins on the platform. */
25
+ export declare const OAuthFlowHookResultSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
26
+ type: z.ZodLiteral<"continue">;
27
+ }, "strict", z.ZodTypeAny, {
28
+ type: "continue";
29
+ }, {
30
+ type: "continue";
31
+ }>, z.ZodObject<{
32
+ type: z.ZodLiteral<"redirect">;
33
+ url: z.ZodString;
34
+ }, "strict", z.ZodTypeAny, {
35
+ type: "redirect";
36
+ url: string;
37
+ }, {
38
+ type: "redirect";
39
+ url: string;
40
+ }>]>;
41
+ export type OAuthFlowHookResult = ProtoBacked<z.infer<typeof OAuthFlowHookResultSchema>, ProtoOAuthFlowHookResult>;
9
42
  export declare const WebhookExecutionScopeSchema: z.ZodEnum<["app", "manager"]>;
10
43
  export declare const UserChatOpenKindSchema: z.ZodEnum<["first_open", "reopen"]>;
11
44
  export type UserChatOpenKind = ProtoBacked<z.infer<typeof UserChatOpenKindSchema>, ProtoUserChatOpenedHookInput["openKind"]>;
@@ -391,27 +424,71 @@ export declare const HookConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
391
424
  systemVersion: z.ZodOptional<z.ZodString>;
392
425
  } & {
393
426
  type: z.ZodLiteral<"oauth.connected">;
427
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
394
428
  }, "strict", z.ZodTypeAny, {
395
429
  type: "oauth.connected";
396
430
  actionFunctionName: string;
397
431
  systemVersion?: string | undefined;
432
+ authScope?: "manager" | "channel" | undefined;
398
433
  }, {
399
434
  type: "oauth.connected";
400
435
  actionFunctionName: string;
401
436
  systemVersion?: string | undefined;
437
+ authScope?: "manager" | "channel" | undefined;
402
438
  }>, z.ZodObject<{
403
439
  actionFunctionName: z.ZodString;
404
440
  systemVersion: z.ZodOptional<z.ZodString>;
405
441
  } & {
406
442
  type: z.ZodLiteral<"oauth.disconnected">;
443
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
407
444
  }, "strict", z.ZodTypeAny, {
408
445
  type: "oauth.disconnected";
409
446
  actionFunctionName: string;
410
447
  systemVersion?: string | undefined;
448
+ authScope?: "manager" | "channel" | undefined;
411
449
  }, {
412
450
  type: "oauth.disconnected";
413
451
  actionFunctionName: string;
414
452
  systemVersion?: string | undefined;
453
+ authScope?: "manager" | "channel" | undefined;
454
+ }>, z.ZodObject<{
455
+ actionFunctionName: z.ZodString;
456
+ systemVersion: z.ZodOptional<z.ZodString>;
457
+ } & {
458
+ type: z.ZodLiteral<"oauth.beforeAuthorization">;
459
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
460
+ redirectOrigins: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
461
+ }, "strict", z.ZodTypeAny, {
462
+ type: "oauth.beforeAuthorization";
463
+ redirectOrigins: string[];
464
+ actionFunctionName: string;
465
+ systemVersion?: string | undefined;
466
+ authScope?: "manager" | "channel" | undefined;
467
+ }, {
468
+ type: "oauth.beforeAuthorization";
469
+ actionFunctionName: string;
470
+ systemVersion?: string | undefined;
471
+ authScope?: "manager" | "channel" | undefined;
472
+ redirectOrigins?: string[] | undefined;
473
+ }>, z.ZodObject<{
474
+ actionFunctionName: z.ZodString;
475
+ systemVersion: z.ZodOptional<z.ZodString>;
476
+ } & {
477
+ type: z.ZodLiteral<"oauth.afterAuthorization">;
478
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
479
+ redirectOrigins: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
480
+ }, "strict", z.ZodTypeAny, {
481
+ type: "oauth.afterAuthorization";
482
+ redirectOrigins: string[];
483
+ actionFunctionName: string;
484
+ systemVersion?: string | undefined;
485
+ authScope?: "manager" | "channel" | undefined;
486
+ }, {
487
+ type: "oauth.afterAuthorization";
488
+ actionFunctionName: string;
489
+ systemVersion?: string | undefined;
490
+ authScope?: "manager" | "channel" | undefined;
491
+ redirectOrigins?: string[] | undefined;
415
492
  }>, z.ZodObject<{
416
493
  actionFunctionName: z.ZodString;
417
494
  systemVersion: z.ZodOptional<z.ZodString>;
@@ -444,7 +521,7 @@ export type HookConfig = ProtoBacked<z.infer<typeof HookConfigSchema>, ProtoHook
444
521
  * Metadata response schema for hook registration.
445
522
  */
446
523
  export declare const GetHooksOutputSchema: z.ZodObject<{
447
- hooks: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
524
+ hooks: z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
448
525
  actionFunctionName: z.ZodString;
449
526
  systemVersion: z.ZodOptional<z.ZodString>;
450
527
  } & {
@@ -590,27 +667,71 @@ export declare const GetHooksOutputSchema: z.ZodObject<{
590
667
  systemVersion: z.ZodOptional<z.ZodString>;
591
668
  } & {
592
669
  type: z.ZodLiteral<"oauth.connected">;
670
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
593
671
  }, "strict", z.ZodTypeAny, {
594
672
  type: "oauth.connected";
595
673
  actionFunctionName: string;
596
674
  systemVersion?: string | undefined;
675
+ authScope?: "manager" | "channel" | undefined;
597
676
  }, {
598
677
  type: "oauth.connected";
599
678
  actionFunctionName: string;
600
679
  systemVersion?: string | undefined;
680
+ authScope?: "manager" | "channel" | undefined;
601
681
  }>, z.ZodObject<{
602
682
  actionFunctionName: z.ZodString;
603
683
  systemVersion: z.ZodOptional<z.ZodString>;
604
684
  } & {
605
685
  type: z.ZodLiteral<"oauth.disconnected">;
686
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
606
687
  }, "strict", z.ZodTypeAny, {
607
688
  type: "oauth.disconnected";
608
689
  actionFunctionName: string;
609
690
  systemVersion?: string | undefined;
691
+ authScope?: "manager" | "channel" | undefined;
610
692
  }, {
611
693
  type: "oauth.disconnected";
612
694
  actionFunctionName: string;
613
695
  systemVersion?: string | undefined;
696
+ authScope?: "manager" | "channel" | undefined;
697
+ }>, z.ZodObject<{
698
+ actionFunctionName: z.ZodString;
699
+ systemVersion: z.ZodOptional<z.ZodString>;
700
+ } & {
701
+ type: z.ZodLiteral<"oauth.beforeAuthorization">;
702
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
703
+ redirectOrigins: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
704
+ }, "strict", z.ZodTypeAny, {
705
+ type: "oauth.beforeAuthorization";
706
+ redirectOrigins: string[];
707
+ actionFunctionName: string;
708
+ systemVersion?: string | undefined;
709
+ authScope?: "manager" | "channel" | undefined;
710
+ }, {
711
+ type: "oauth.beforeAuthorization";
712
+ actionFunctionName: string;
713
+ systemVersion?: string | undefined;
714
+ authScope?: "manager" | "channel" | undefined;
715
+ redirectOrigins?: string[] | undefined;
716
+ }>, z.ZodObject<{
717
+ actionFunctionName: z.ZodString;
718
+ systemVersion: z.ZodOptional<z.ZodString>;
719
+ } & {
720
+ type: z.ZodLiteral<"oauth.afterAuthorization">;
721
+ authScope: z.ZodOptional<z.ZodEnum<["channel", "manager"]>>;
722
+ redirectOrigins: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ type: "oauth.afterAuthorization";
725
+ redirectOrigins: string[];
726
+ actionFunctionName: string;
727
+ systemVersion?: string | undefined;
728
+ authScope?: "manager" | "channel" | undefined;
729
+ }, {
730
+ type: "oauth.afterAuthorization";
731
+ actionFunctionName: string;
732
+ systemVersion?: string | undefined;
733
+ authScope?: "manager" | "channel" | undefined;
734
+ redirectOrigins?: string[] | undefined;
614
735
  }>, z.ZodObject<{
615
736
  actionFunctionName: z.ZodString;
616
737
  systemVersion: z.ZodOptional<z.ZodString>;
@@ -637,7 +758,149 @@ export declare const GetHooksOutputSchema: z.ZodObject<{
637
758
  type: "teamChat.messageCreated";
638
759
  actionFunctionName: string;
639
760
  systemVersion?: string | undefined;
640
- }>]>, "many">;
761
+ }>]>, "many">, ({
762
+ type: "app.installed";
763
+ actionFunctionName: string;
764
+ systemVersion?: string | undefined;
765
+ } | {
766
+ type: "app.uninstalled";
767
+ actionFunctionName: string;
768
+ systemVersion?: string | undefined;
769
+ } | {
770
+ type: "command.toggle";
771
+ actionFunctionName: string;
772
+ systemVersion?: string | undefined;
773
+ } | {
774
+ type: "config.saved";
775
+ actionFunctionName: string;
776
+ systemVersion?: string | undefined;
777
+ } | {
778
+ type: "config.deleted";
779
+ actionFunctionName: string;
780
+ systemVersion?: string | undefined;
781
+ } | {
782
+ type: "widget.installed";
783
+ actionFunctionName: string;
784
+ targetId: string;
785
+ systemVersion?: string | undefined;
786
+ } | {
787
+ type: "widget.uninstalled";
788
+ actionFunctionName: string;
789
+ targetId: string;
790
+ systemVersion?: string | undefined;
791
+ } | {
792
+ type: "webhook.received";
793
+ actionFunctionName: string;
794
+ targetId: string;
795
+ webhook: {
796
+ endpointToken: string;
797
+ executionScope?: "app" | undefined;
798
+ } | {
799
+ executionScope: "manager";
800
+ };
801
+ systemVersion?: string | undefined;
802
+ } | {
803
+ type: "oauth.connected";
804
+ actionFunctionName: string;
805
+ systemVersion?: string | undefined;
806
+ authScope?: "manager" | "channel" | undefined;
807
+ } | {
808
+ type: "oauth.disconnected";
809
+ actionFunctionName: string;
810
+ systemVersion?: string | undefined;
811
+ authScope?: "manager" | "channel" | undefined;
812
+ } | {
813
+ type: "oauth.beforeAuthorization";
814
+ redirectOrigins: string[];
815
+ actionFunctionName: string;
816
+ systemVersion?: string | undefined;
817
+ authScope?: "manager" | "channel" | undefined;
818
+ } | {
819
+ type: "oauth.afterAuthorization";
820
+ redirectOrigins: string[];
821
+ actionFunctionName: string;
822
+ systemVersion?: string | undefined;
823
+ authScope?: "manager" | "channel" | undefined;
824
+ } | {
825
+ type: "userChat.opened";
826
+ actionFunctionName: string;
827
+ systemVersion?: string | undefined;
828
+ } | {
829
+ type: "teamChat.messageCreated";
830
+ actionFunctionName: string;
831
+ systemVersion?: string | undefined;
832
+ })[], ({
833
+ type: "app.installed";
834
+ actionFunctionName: string;
835
+ systemVersion?: string | undefined;
836
+ } | {
837
+ type: "app.uninstalled";
838
+ actionFunctionName: string;
839
+ systemVersion?: string | undefined;
840
+ } | {
841
+ type: "command.toggle";
842
+ actionFunctionName: string;
843
+ systemVersion?: string | undefined;
844
+ } | {
845
+ type: "config.saved";
846
+ actionFunctionName: string;
847
+ systemVersion?: string | undefined;
848
+ } | {
849
+ type: "config.deleted";
850
+ actionFunctionName: string;
851
+ systemVersion?: string | undefined;
852
+ } | {
853
+ type: "widget.installed";
854
+ actionFunctionName: string;
855
+ targetId: string;
856
+ systemVersion?: string | undefined;
857
+ } | {
858
+ type: "widget.uninstalled";
859
+ actionFunctionName: string;
860
+ targetId: string;
861
+ systemVersion?: string | undefined;
862
+ } | {
863
+ type: "webhook.received";
864
+ actionFunctionName: string;
865
+ targetId: string;
866
+ webhook: {
867
+ endpointToken: string;
868
+ executionScope?: "app" | undefined;
869
+ } | {
870
+ executionScope: "manager";
871
+ };
872
+ systemVersion?: string | undefined;
873
+ } | {
874
+ type: "oauth.connected";
875
+ actionFunctionName: string;
876
+ systemVersion?: string | undefined;
877
+ authScope?: "manager" | "channel" | undefined;
878
+ } | {
879
+ type: "oauth.disconnected";
880
+ actionFunctionName: string;
881
+ systemVersion?: string | undefined;
882
+ authScope?: "manager" | "channel" | undefined;
883
+ } | {
884
+ type: "oauth.beforeAuthorization";
885
+ actionFunctionName: string;
886
+ systemVersion?: string | undefined;
887
+ authScope?: "manager" | "channel" | undefined;
888
+ redirectOrigins?: string[] | undefined;
889
+ } | {
890
+ type: "oauth.afterAuthorization";
891
+ actionFunctionName: string;
892
+ systemVersion?: string | undefined;
893
+ authScope?: "manager" | "channel" | undefined;
894
+ redirectOrigins?: string[] | undefined;
895
+ } | {
896
+ type: "userChat.opened";
897
+ actionFunctionName: string;
898
+ systemVersion?: string | undefined;
899
+ } | {
900
+ type: "teamChat.messageCreated";
901
+ actionFunctionName: string;
902
+ systemVersion?: string | undefined;
903
+ })[]>;
641
904
  }, "strip", z.ZodTypeAny, {
642
905
  hooks: ({
643
906
  type: "app.installed";
@@ -684,10 +947,24 @@ export declare const GetHooksOutputSchema: z.ZodObject<{
684
947
  type: "oauth.connected";
685
948
  actionFunctionName: string;
686
949
  systemVersion?: string | undefined;
950
+ authScope?: "manager" | "channel" | undefined;
687
951
  } | {
688
952
  type: "oauth.disconnected";
689
953
  actionFunctionName: string;
690
954
  systemVersion?: string | undefined;
955
+ authScope?: "manager" | "channel" | undefined;
956
+ } | {
957
+ type: "oauth.beforeAuthorization";
958
+ redirectOrigins: string[];
959
+ actionFunctionName: string;
960
+ systemVersion?: string | undefined;
961
+ authScope?: "manager" | "channel" | undefined;
962
+ } | {
963
+ type: "oauth.afterAuthorization";
964
+ redirectOrigins: string[];
965
+ actionFunctionName: string;
966
+ systemVersion?: string | undefined;
967
+ authScope?: "manager" | "channel" | undefined;
691
968
  } | {
692
969
  type: "userChat.opened";
693
970
  actionFunctionName: string;
@@ -743,10 +1020,24 @@ export declare const GetHooksOutputSchema: z.ZodObject<{
743
1020
  type: "oauth.connected";
744
1021
  actionFunctionName: string;
745
1022
  systemVersion?: string | undefined;
1023
+ authScope?: "manager" | "channel" | undefined;
746
1024
  } | {
747
1025
  type: "oauth.disconnected";
748
1026
  actionFunctionName: string;
749
1027
  systemVersion?: string | undefined;
1028
+ authScope?: "manager" | "channel" | undefined;
1029
+ } | {
1030
+ type: "oauth.beforeAuthorization";
1031
+ actionFunctionName: string;
1032
+ systemVersion?: string | undefined;
1033
+ authScope?: "manager" | "channel" | undefined;
1034
+ redirectOrigins?: string[] | undefined;
1035
+ } | {
1036
+ type: "oauth.afterAuthorization";
1037
+ actionFunctionName: string;
1038
+ systemVersion?: string | undefined;
1039
+ authScope?: "manager" | "channel" | undefined;
1040
+ redirectOrigins?: string[] | undefined;
750
1041
  } | {
751
1042
  type: "userChat.opened";
752
1043
  actionFunctionName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"hook.d.ts","sourceRoot":"","sources":["../../src/extensions/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,UAAU,IAAI,eAAe,EAC7B,kBAAkB,IAAI,mBAAmB,EACzC,+BAA+B,IAAI,oCAAoC,EACvE,gCAAgC,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