@channel.io/app-sdk-core 0.15.1 → 0.15.3

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.
@@ -11,14 +11,14 @@ export declare const CalendarSchema: z.ZodObject<{
11
11
  timezone: z.ZodOptional<z.ZodString>;
12
12
  isPrimary: z.ZodOptional<z.ZodBoolean>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- id: string;
15
14
  name: string;
15
+ id: string;
16
16
  description?: string | undefined;
17
17
  timezone?: string | undefined;
18
18
  isPrimary?: boolean | undefined;
19
19
  }, {
20
- id: string;
21
20
  name: string;
21
+ id: string;
22
22
  description?: string | undefined;
23
23
  timezone?: string | undefined;
24
24
  isPrimary?: boolean | undefined;
@@ -34,14 +34,14 @@ export declare const EventTypeSchema: z.ZodObject<{
34
34
  description: z.ZodOptional<z.ZodString>;
35
35
  color: z.ZodOptional<z.ZodString>;
36
36
  }, "strip", z.ZodTypeAny, {
37
- id: string;
38
37
  name: string;
38
+ id: string;
39
39
  duration: number;
40
40
  description?: string | undefined;
41
41
  color?: string | undefined;
42
42
  }, {
43
- id: string;
44
43
  name: string;
44
+ id: string;
45
45
  duration: number;
46
46
  description?: string | undefined;
47
47
  color?: string | undefined;
@@ -295,6 +295,7 @@ export declare const CommandConfigSchema: z.ZodObject<{
295
295
  scope: "front" | "desk";
296
296
  actionFunctionName: string;
297
297
  alfMode: "disable" | "recommend";
298
+ systemVersion?: string | undefined;
298
299
  description?: string | undefined;
299
300
  nameDescI18nMap?: Record<string, {
300
301
  name: string;
@@ -306,7 +307,6 @@ export declare const CommandConfigSchema: z.ZodObject<{
306
307
  name: string;
307
308
  }> | undefined;
308
309
  autoCompleteFunctionName?: string | undefined;
309
- systemVersion?: string | undefined;
310
310
  paramDefinitions?: {
311
311
  type: "string" | "float" | "int" | "bool";
312
312
  name: string;
@@ -333,6 +333,7 @@ export declare const CommandConfigSchema: z.ZodObject<{
333
333
  scope: "front" | "desk";
334
334
  actionFunctionName: string;
335
335
  alfMode: "disable" | "recommend";
336
+ systemVersion?: string | undefined;
336
337
  description?: string | undefined;
337
338
  nameDescI18nMap?: Record<string, {
338
339
  name: string;
@@ -344,7 +345,6 @@ export declare const CommandConfigSchema: z.ZodObject<{
344
345
  name: string;
345
346
  }> | undefined;
346
347
  autoCompleteFunctionName?: string | undefined;
347
- systemVersion?: string | undefined;
348
348
  paramDefinitions?: {
349
349
  type: "string" | "float" | "int" | "bool";
350
350
  name: string;
@@ -489,6 +489,7 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
489
489
  scope: "front" | "desk";
490
490
  actionFunctionName: string;
491
491
  alfMode: "disable" | "recommend";
492
+ systemVersion?: string | undefined;
492
493
  description?: string | undefined;
493
494
  nameDescI18nMap?: Record<string, {
494
495
  name: string;
@@ -500,7 +501,6 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
500
501
  name: string;
501
502
  }> | undefined;
502
503
  autoCompleteFunctionName?: string | undefined;
503
- systemVersion?: string | undefined;
504
504
  paramDefinitions?: {
505
505
  type: "string" | "float" | "int" | "bool";
506
506
  name: string;
@@ -527,6 +527,7 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
527
527
  scope: "front" | "desk";
528
528
  actionFunctionName: string;
529
529
  alfMode: "disable" | "recommend";
530
+ systemVersion?: string | undefined;
530
531
  description?: string | undefined;
531
532
  nameDescI18nMap?: Record<string, {
532
533
  name: string;
@@ -538,7 +539,6 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
538
539
  name: string;
539
540
  }> | undefined;
540
541
  autoCompleteFunctionName?: string | undefined;
541
- systemVersion?: string | undefined;
542
542
  paramDefinitions?: {
543
543
  type: "string" | "float" | "int" | "bool";
544
544
  name: string;
@@ -567,6 +567,7 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
567
567
  scope: "front" | "desk";
568
568
  actionFunctionName: string;
569
569
  alfMode: "disable" | "recommend";
570
+ systemVersion?: string | undefined;
570
571
  description?: string | undefined;
571
572
  nameDescI18nMap?: Record<string, {
572
573
  name: string;
@@ -578,7 +579,6 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
578
579
  name: string;
579
580
  }> | undefined;
580
581
  autoCompleteFunctionName?: string | undefined;
581
- systemVersion?: string | undefined;
582
582
  paramDefinitions?: {
583
583
  type: "string" | "float" | "int" | "bool";
584
584
  name: string;
@@ -607,6 +607,7 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
607
607
  scope: "front" | "desk";
608
608
  actionFunctionName: string;
609
609
  alfMode: "disable" | "recommend";
610
+ systemVersion?: string | undefined;
610
611
  description?: string | undefined;
611
612
  nameDescI18nMap?: Record<string, {
612
613
  name: string;
@@ -618,7 +619,6 @@ export declare const GetCommandsOutputSchema: z.ZodObject<{
618
619
  name: string;
619
620
  }> | undefined;
620
621
  autoCompleteFunctionName?: string | undefined;
621
- systemVersion?: string | undefined;
622
622
  paramDefinitions?: {
623
623
  type: "string" | "float" | "int" | "bool";
624
624
  name: string;
@@ -64,14 +64,14 @@ export declare const ConfigValidationNoticeSchema: z.ZodObject<{
64
64
  blockId: z.ZodOptional<z.ZodString>;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  message: string;
67
- tone: "info" | "success" | "warning" | "danger";
67
+ tone: "success" | "info" | "warning" | "danger";
68
68
  title?: string | undefined;
69
69
  placement?: "top" | "block" | undefined;
70
70
  blockId?: string | undefined;
71
71
  }, {
72
72
  message: string;
73
73
  title?: string | undefined;
74
- tone?: "info" | "success" | "warning" | "danger" | undefined;
74
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
75
75
  placement?: "top" | "block" | undefined;
76
76
  blockId?: string | undefined;
77
77
  }>;
@@ -3062,8 +3062,8 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
3062
3062
  }, "strip", z.ZodTypeAny, {
3063
3063
  type: "section";
3064
3064
  title: string;
3065
- id?: string | undefined;
3066
3065
  description?: string | undefined;
3066
+ id?: string | undefined;
3067
3067
  visibleWhen?: {
3068
3068
  fieldKey: string;
3069
3069
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -3072,8 +3072,8 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
3072
3072
  }, {
3073
3073
  type: "section";
3074
3074
  title: string;
3075
- id?: string | undefined;
3076
3075
  description?: string | undefined;
3076
+ id?: string | undefined;
3077
3077
  visibleWhen?: {
3078
3078
  fieldKey: string;
3079
3079
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -3191,7 +3191,7 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
3191
3191
  }, "strip", z.ZodTypeAny, {
3192
3192
  type: "banner";
3193
3193
  description: string;
3194
- tone: "info" | "success" | "warning" | "danger";
3194
+ tone: "success" | "info" | "warning" | "danger";
3195
3195
  id?: string | undefined;
3196
3196
  title?: string | undefined;
3197
3197
  visibleWhen?: {
@@ -3204,7 +3204,7 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
3204
3204
  description: string;
3205
3205
  id?: string | undefined;
3206
3206
  title?: string | undefined;
3207
- tone?: "info" | "success" | "warning" | "danger" | undefined;
3207
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
3208
3208
  visibleWhen?: {
3209
3209
  fieldKey: string;
3210
3210
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -6712,9 +6712,9 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
6712
6712
  multiple?: boolean | undefined;
6713
6713
  })[];
6714
6714
  layout: "column" | "row" | "grid";
6715
+ description?: string | undefined;
6715
6716
  id?: string | undefined;
6716
6717
  title?: string | undefined;
6717
- description?: string | undefined;
6718
6718
  visibleWhen?: {
6719
6719
  fieldKey: string;
6720
6720
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -7374,9 +7374,9 @@ export declare const ConfigBlockSchema: z.ZodUnion<[z.ZodObject<{
7374
7374
  maxFileSizeMb?: number | undefined;
7375
7375
  multiple?: boolean | undefined;
7376
7376
  })[];
7377
+ description?: string | undefined;
7377
7378
  id?: string | undefined;
7378
7379
  title?: string | undefined;
7379
- description?: string | undefined;
7380
7380
  visibleWhen?: {
7381
7381
  fieldKey: string;
7382
7382
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -10287,8 +10287,8 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
10287
10287
  }, "strip", z.ZodTypeAny, {
10288
10288
  type: "section";
10289
10289
  title: string;
10290
- id?: string | undefined;
10291
10290
  description?: string | undefined;
10291
+ id?: string | undefined;
10292
10292
  visibleWhen?: {
10293
10293
  fieldKey: string;
10294
10294
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -10297,8 +10297,8 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
10297
10297
  }, {
10298
10298
  type: "section";
10299
10299
  title: string;
10300
- id?: string | undefined;
10301
10300
  description?: string | undefined;
10301
+ id?: string | undefined;
10302
10302
  visibleWhen?: {
10303
10303
  fieldKey: string;
10304
10304
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -10416,7 +10416,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
10416
10416
  }, "strip", z.ZodTypeAny, {
10417
10417
  type: "banner";
10418
10418
  description: string;
10419
- tone: "info" | "success" | "warning" | "danger";
10419
+ tone: "success" | "info" | "warning" | "danger";
10420
10420
  id?: string | undefined;
10421
10421
  title?: string | undefined;
10422
10422
  visibleWhen?: {
@@ -10429,7 +10429,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
10429
10429
  description: string;
10430
10430
  id?: string | undefined;
10431
10431
  title?: string | undefined;
10432
- tone?: "info" | "success" | "warning" | "danger" | undefined;
10432
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
10433
10433
  visibleWhen?: {
10434
10434
  fieldKey: string;
10435
10435
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -13937,9 +13937,9 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
13937
13937
  multiple?: boolean | undefined;
13938
13938
  })[];
13939
13939
  layout: "column" | "row" | "grid";
13940
+ description?: string | undefined;
13940
13941
  id?: string | undefined;
13941
13942
  title?: string | undefined;
13942
- description?: string | undefined;
13943
13943
  visibleWhen?: {
13944
13944
  fieldKey: string;
13945
13945
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -14599,9 +14599,9 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
14599
14599
  maxFileSizeMb?: number | undefined;
14600
14600
  multiple?: boolean | undefined;
14601
14601
  })[];
14602
+ description?: string | undefined;
14602
14603
  id?: string | undefined;
14603
14604
  title?: string | undefined;
14604
- description?: string | undefined;
14605
14605
  visibleWhen?: {
14606
14606
  fieldKey: string;
14607
14607
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -18109,8 +18109,8 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
18109
18109
  } | {
18110
18110
  type: "section";
18111
18111
  title: string;
18112
- id?: string | undefined;
18113
18112
  description?: string | undefined;
18113
+ id?: string | undefined;
18114
18114
  visibleWhen?: {
18115
18115
  fieldKey: string;
18116
18116
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -18141,7 +18141,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
18141
18141
  } | {
18142
18142
  type: "banner";
18143
18143
  description: string;
18144
- tone: "info" | "success" | "warning" | "danger";
18144
+ tone: "success" | "info" | "warning" | "danger";
18145
18145
  id?: string | undefined;
18146
18146
  title?: string | undefined;
18147
18147
  visibleWhen?: {
@@ -18804,9 +18804,9 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
18804
18804
  multiple?: boolean | undefined;
18805
18805
  })[];
18806
18806
  layout: "column" | "row" | "grid";
18807
+ description?: string | undefined;
18807
18808
  id?: string | undefined;
18808
18809
  title?: string | undefined;
18809
- description?: string | undefined;
18810
18810
  visibleWhen?: {
18811
18811
  fieldKey: string;
18812
18812
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -18818,6 +18818,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
18818
18818
  id?: string | undefined;
18819
18819
  props?: Record<string, unknown> | undefined;
18820
18820
  })[];
18821
+ description?: string | undefined;
18821
18822
  oauth?: {
18822
18823
  additionalParams?: {
18823
18824
  name: string;
@@ -18825,7 +18826,6 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
18825
18826
  }[] | undefined;
18826
18827
  } | undefined;
18827
18828
  title?: string | undefined;
18828
- description?: string | undefined;
18829
18829
  legacyCredentialFallback?: "apikey" | undefined;
18830
18830
  hooks?: {
18831
18831
  draftResolverFunctionName?: string | undefined;
@@ -19488,8 +19488,8 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
19488
19488
  } | {
19489
19489
  type: "section";
19490
19490
  title: string;
19491
- id?: string | undefined;
19492
19491
  description?: string | undefined;
19492
+ id?: string | undefined;
19493
19493
  visibleWhen?: {
19494
19494
  fieldKey: string;
19495
19495
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -19522,7 +19522,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
19522
19522
  description: string;
19523
19523
  id?: string | undefined;
19524
19524
  title?: string | undefined;
19525
- tone?: "info" | "success" | "warning" | "danger" | undefined;
19525
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
19526
19526
  visibleWhen?: {
19527
19527
  fieldKey: string;
19528
19528
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -20182,9 +20182,9 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
20182
20182
  maxFileSizeMb?: number | undefined;
20183
20183
  multiple?: boolean | undefined;
20184
20184
  })[];
20185
+ description?: string | undefined;
20185
20186
  id?: string | undefined;
20186
20187
  title?: string | undefined;
20187
- description?: string | undefined;
20188
20188
  visibleWhen?: {
20189
20189
  fieldKey: string;
20190
20190
  operator: "eq" | "ne" | "in" | "notIn" | "exists" | "notExists";
@@ -20197,6 +20197,7 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
20197
20197
  id?: string | undefined;
20198
20198
  props?: Record<string, unknown> | undefined;
20199
20199
  })[];
20200
+ description?: string | undefined;
20200
20201
  oauth?: {
20201
20202
  additionalParams?: {
20202
20203
  name: string;
@@ -20204,7 +20205,6 @@ export declare const GetConfigSchemaOutputSchema: z.ZodObject<{
20204
20205
  }[] | undefined;
20205
20206
  } | undefined;
20206
20207
  title?: string | undefined;
20207
- description?: string | undefined;
20208
20208
  schemaVersion?: "v1" | undefined;
20209
20209
  legacyCredentialFallback?: "apikey" | undefined;
20210
20210
  hooks?: {
@@ -20253,14 +20253,14 @@ export declare const ValidateStoredConfigOutputSchema: z.ZodObject<{
20253
20253
  blockId: z.ZodOptional<z.ZodString>;
20254
20254
  }, "strip", z.ZodTypeAny, {
20255
20255
  message: string;
20256
- tone: "info" | "success" | "warning" | "danger";
20256
+ tone: "success" | "info" | "warning" | "danger";
20257
20257
  title?: string | undefined;
20258
20258
  placement?: "top" | "block" | undefined;
20259
20259
  blockId?: string | undefined;
20260
20260
  }, {
20261
20261
  message: string;
20262
20262
  title?: string | undefined;
20263
- tone?: "info" | "success" | "warning" | "danger" | undefined;
20263
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
20264
20264
  placement?: "top" | "block" | undefined;
20265
20265
  blockId?: string | undefined;
20266
20266
  }>, "many">>;
@@ -20276,7 +20276,7 @@ export declare const ValidateStoredConfigOutputSchema: z.ZodObject<{
20276
20276
  }[] | undefined;
20277
20277
  notices?: {
20278
20278
  message: string;
20279
- tone: "info" | "success" | "warning" | "danger";
20279
+ tone: "success" | "info" | "warning" | "danger";
20280
20280
  title?: string | undefined;
20281
20281
  placement?: "top" | "block" | undefined;
20282
20282
  blockId?: string | undefined;
@@ -20294,7 +20294,7 @@ export declare const ValidateStoredConfigOutputSchema: z.ZodObject<{
20294
20294
  notices?: {
20295
20295
  message: string;
20296
20296
  title?: string | undefined;
20297
- tone?: "info" | "success" | "warning" | "danger" | undefined;
20297
+ tone?: "success" | "info" | "warning" | "danger" | undefined;
20298
20298
  placement?: "top" | "block" | undefined;
20299
20299
  blockId?: string | undefined;
20300
20300
  }[] | undefined;