@channel.io/app-sdk-core 0.29.0 → 0.31.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.
@@ -12926,14 +12926,51 @@ export type CustomTabActionResultProto = z.infer<typeof CustomTabActionResultPro
12926
12926
  export declare const HookWebhookConfigProtoSchema: z.ZodObject<{
12927
12927
  endpointToken: z.ZodOptional<z.ZodString>;
12928
12928
  executionScope: z.ZodOptional<z.ZodString>;
12929
+ response: z.ZodOptional<z.ZodLazy<z.ZodObject<{
12930
+ statusCode: z.ZodOptional<z.ZodNumber>;
12931
+ contentType: z.ZodOptional<z.ZodString>;
12932
+ body: z.ZodOptional<z.ZodString>;
12933
+ }, "strip", z.ZodTypeAny, {
12934
+ statusCode?: number | undefined;
12935
+ contentType?: string | undefined;
12936
+ body?: string | undefined;
12937
+ }, {
12938
+ statusCode?: number | undefined;
12939
+ contentType?: string | undefined;
12940
+ body?: string | undefined;
12941
+ }>>>;
12929
12942
  }, "strip", z.ZodTypeAny, {
12930
12943
  endpointToken?: string | undefined;
12944
+ response?: {
12945
+ statusCode?: number | undefined;
12946
+ contentType?: string | undefined;
12947
+ body?: string | undefined;
12948
+ } | undefined;
12931
12949
  executionScope?: string | undefined;
12932
12950
  }, {
12933
12951
  endpointToken?: string | undefined;
12952
+ response?: {
12953
+ statusCode?: number | undefined;
12954
+ contentType?: string | undefined;
12955
+ body?: string | undefined;
12956
+ } | undefined;
12934
12957
  executionScope?: string | undefined;
12935
12958
  }>;
12936
12959
  export type HookWebhookConfigProto = z.infer<typeof HookWebhookConfigProtoSchema>;
12960
+ export declare const HookWebhookResponseProtoSchema: z.ZodObject<{
12961
+ statusCode: z.ZodOptional<z.ZodNumber>;
12962
+ contentType: z.ZodOptional<z.ZodString>;
12963
+ body: z.ZodOptional<z.ZodString>;
12964
+ }, "strip", z.ZodTypeAny, {
12965
+ statusCode?: number | undefined;
12966
+ contentType?: string | undefined;
12967
+ body?: string | undefined;
12968
+ }, {
12969
+ statusCode?: number | undefined;
12970
+ contentType?: string | undefined;
12971
+ body?: string | undefined;
12972
+ }>;
12973
+ export type HookWebhookResponseProto = z.infer<typeof HookWebhookResponseProtoSchema>;
12937
12974
  export declare const HookConfigProtoSchema: z.ZodObject<{
12938
12975
  type: z.ZodOptional<z.ZodString>;
12939
12976
  actionFunctionName: z.ZodOptional<z.ZodString>;
@@ -12942,11 +12979,34 @@ export declare const HookConfigProtoSchema: z.ZodObject<{
12942
12979
  webhook: z.ZodOptional<z.ZodLazy<z.ZodObject<{
12943
12980
  endpointToken: z.ZodOptional<z.ZodString>;
12944
12981
  executionScope: z.ZodOptional<z.ZodString>;
12982
+ response: z.ZodOptional<z.ZodLazy<z.ZodObject<{
12983
+ statusCode: z.ZodOptional<z.ZodNumber>;
12984
+ contentType: z.ZodOptional<z.ZodString>;
12985
+ body: z.ZodOptional<z.ZodString>;
12986
+ }, "strip", z.ZodTypeAny, {
12987
+ statusCode?: number | undefined;
12988
+ contentType?: string | undefined;
12989
+ body?: string | undefined;
12990
+ }, {
12991
+ statusCode?: number | undefined;
12992
+ contentType?: string | undefined;
12993
+ body?: string | undefined;
12994
+ }>>>;
12945
12995
  }, "strip", z.ZodTypeAny, {
12946
12996
  endpointToken?: string | undefined;
12997
+ response?: {
12998
+ statusCode?: number | undefined;
12999
+ contentType?: string | undefined;
13000
+ body?: string | undefined;
13001
+ } | undefined;
12947
13002
  executionScope?: string | undefined;
12948
13003
  }, {
12949
13004
  endpointToken?: string | undefined;
13005
+ response?: {
13006
+ statusCode?: number | undefined;
13007
+ contentType?: string | undefined;
13008
+ body?: string | undefined;
13009
+ } | undefined;
12950
13010
  executionScope?: string | undefined;
12951
13011
  }>>>;
12952
13012
  redirectOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -12991,6 +13051,11 @@ export declare const HookConfigProtoSchema: z.ZodObject<{
12991
13051
  targetId?: string | undefined;
12992
13052
  webhook?: {
12993
13053
  endpointToken?: string | undefined;
13054
+ response?: {
13055
+ statusCode?: number | undefined;
13056
+ contentType?: string | undefined;
13057
+ body?: string | undefined;
13058
+ } | undefined;
12994
13059
  executionScope?: string | undefined;
12995
13060
  } | undefined;
12996
13061
  display?: {
@@ -13011,6 +13076,11 @@ export declare const HookConfigProtoSchema: z.ZodObject<{
13011
13076
  targetId?: string | undefined;
13012
13077
  webhook?: {
13013
13078
  endpointToken?: string | undefined;
13079
+ response?: {
13080
+ statusCode?: number | undefined;
13081
+ contentType?: string | undefined;
13082
+ body?: string | undefined;
13083
+ } | undefined;
13014
13084
  executionScope?: string | undefined;
13015
13085
  } | undefined;
13016
13086
  display?: {
@@ -13063,11 +13133,34 @@ export declare const HookGetHooksOutputProtoSchema: z.ZodObject<{
13063
13133
  webhook: z.ZodOptional<z.ZodLazy<z.ZodObject<{
13064
13134
  endpointToken: z.ZodOptional<z.ZodString>;
13065
13135
  executionScope: z.ZodOptional<z.ZodString>;
13136
+ response: z.ZodOptional<z.ZodLazy<z.ZodObject<{
13137
+ statusCode: z.ZodOptional<z.ZodNumber>;
13138
+ contentType: z.ZodOptional<z.ZodString>;
13139
+ body: z.ZodOptional<z.ZodString>;
13140
+ }, "strip", z.ZodTypeAny, {
13141
+ statusCode?: number | undefined;
13142
+ contentType?: string | undefined;
13143
+ body?: string | undefined;
13144
+ }, {
13145
+ statusCode?: number | undefined;
13146
+ contentType?: string | undefined;
13147
+ body?: string | undefined;
13148
+ }>>>;
13066
13149
  }, "strip", z.ZodTypeAny, {
13067
13150
  endpointToken?: string | undefined;
13151
+ response?: {
13152
+ statusCode?: number | undefined;
13153
+ contentType?: string | undefined;
13154
+ body?: string | undefined;
13155
+ } | undefined;
13068
13156
  executionScope?: string | undefined;
13069
13157
  }, {
13070
13158
  endpointToken?: string | undefined;
13159
+ response?: {
13160
+ statusCode?: number | undefined;
13161
+ contentType?: string | undefined;
13162
+ body?: string | undefined;
13163
+ } | undefined;
13071
13164
  executionScope?: string | undefined;
13072
13165
  }>>>;
13073
13166
  redirectOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -13112,6 +13205,11 @@ export declare const HookGetHooksOutputProtoSchema: z.ZodObject<{
13112
13205
  targetId?: string | undefined;
13113
13206
  webhook?: {
13114
13207
  endpointToken?: string | undefined;
13208
+ response?: {
13209
+ statusCode?: number | undefined;
13210
+ contentType?: string | undefined;
13211
+ body?: string | undefined;
13212
+ } | undefined;
13115
13213
  executionScope?: string | undefined;
13116
13214
  } | undefined;
13117
13215
  display?: {
@@ -13132,6 +13230,11 @@ export declare const HookGetHooksOutputProtoSchema: z.ZodObject<{
13132
13230
  targetId?: string | undefined;
13133
13231
  webhook?: {
13134
13232
  endpointToken?: string | undefined;
13233
+ response?: {
13234
+ statusCode?: number | undefined;
13235
+ contentType?: string | undefined;
13236
+ body?: string | undefined;
13237
+ } | undefined;
13135
13238
  executionScope?: string | undefined;
13136
13239
  } | undefined;
13137
13240
  display?: {
@@ -13154,6 +13257,11 @@ export declare const HookGetHooksOutputProtoSchema: z.ZodObject<{
13154
13257
  targetId?: string | undefined;
13155
13258
  webhook?: {
13156
13259
  endpointToken?: string | undefined;
13260
+ response?: {
13261
+ statusCode?: number | undefined;
13262
+ contentType?: string | undefined;
13263
+ body?: string | undefined;
13264
+ } | undefined;
13157
13265
  executionScope?: string | undefined;
13158
13266
  } | undefined;
13159
13267
  display?: {
@@ -13176,6 +13284,11 @@ export declare const HookGetHooksOutputProtoSchema: z.ZodObject<{
13176
13284
  targetId?: string | undefined;
13177
13285
  webhook?: {
13178
13286
  endpointToken?: string | undefined;
13287
+ response?: {
13288
+ statusCode?: number | undefined;
13289
+ contentType?: string | undefined;
13290
+ body?: string | undefined;
13291
+ } | undefined;
13179
13292
  executionScope?: string | undefined;
13180
13293
  } | undefined;
13181
13294
  display?: {
@@ -18534,6 +18647,7 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
18534
18647
  id?: string | undefined;
18535
18648
  imageUrl?: string | undefined;
18536
18649
  state?: string | undefined;
18650
+ statusCode?: string | undefined;
18537
18651
  amount?: number | undefined;
18538
18652
  quantity?: number | undefined;
18539
18653
  option?: string | undefined;
@@ -18573,7 +18687,6 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
18573
18687
  value?: string | undefined;
18574
18688
  key?: string | undefined;
18575
18689
  }[] | undefined;
18576
- statusCode?: string | undefined;
18577
18690
  statusText?: string | undefined;
18578
18691
  claimStatusCode?: string | undefined;
18579
18692
  supplierName?: string | undefined;
@@ -18601,6 +18714,7 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
18601
18714
  id?: string | undefined;
18602
18715
  imageUrl?: string | undefined;
18603
18716
  state?: string | undefined;
18717
+ statusCode?: string | undefined;
18604
18718
  amount?: number | undefined;
18605
18719
  quantity?: number | undefined;
18606
18720
  option?: string | undefined;
@@ -18640,7 +18754,6 @@ export declare const CommerceOrderItemProtoSchema: z.ZodObject<{
18640
18754
  value?: string | undefined;
18641
18755
  key?: string | undefined;
18642
18756
  }[] | undefined;
18643
- statusCode?: string | undefined;
18644
18757
  statusText?: string | undefined;
18645
18758
  claimStatusCode?: string | undefined;
18646
18759
  supplierName?: string | undefined;
@@ -18848,6 +18961,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
18848
18961
  id?: string | undefined;
18849
18962
  imageUrl?: string | undefined;
18850
18963
  state?: string | undefined;
18964
+ statusCode?: string | undefined;
18851
18965
  amount?: number | undefined;
18852
18966
  quantity?: number | undefined;
18853
18967
  option?: string | undefined;
@@ -18887,7 +19001,6 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
18887
19001
  value?: string | undefined;
18888
19002
  key?: string | undefined;
18889
19003
  }[] | undefined;
18890
- statusCode?: string | undefined;
18891
19004
  statusText?: string | undefined;
18892
19005
  claimStatusCode?: string | undefined;
18893
19006
  supplierName?: string | undefined;
@@ -18915,6 +19028,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
18915
19028
  id?: string | undefined;
18916
19029
  imageUrl?: string | undefined;
18917
19030
  state?: string | undefined;
19031
+ statusCode?: string | undefined;
18918
19032
  amount?: number | undefined;
18919
19033
  quantity?: number | undefined;
18920
19034
  option?: string | undefined;
@@ -18954,7 +19068,6 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
18954
19068
  value?: string | undefined;
18955
19069
  key?: string | undefined;
18956
19070
  }[] | undefined;
18957
- statusCode?: string | undefined;
18958
19071
  statusText?: string | undefined;
18959
19072
  claimStatusCode?: string | undefined;
18960
19073
  supplierName?: string | undefined;
@@ -19298,6 +19411,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
19298
19411
  id?: string | undefined;
19299
19412
  imageUrl?: string | undefined;
19300
19413
  state?: string | undefined;
19414
+ statusCode?: string | undefined;
19301
19415
  amount?: number | undefined;
19302
19416
  quantity?: number | undefined;
19303
19417
  option?: string | undefined;
@@ -19337,7 +19451,6 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
19337
19451
  value?: string | undefined;
19338
19452
  key?: string | undefined;
19339
19453
  }[] | undefined;
19340
- statusCode?: string | undefined;
19341
19454
  statusText?: string | undefined;
19342
19455
  claimStatusCode?: string | undefined;
19343
19456
  supplierName?: string | undefined;
@@ -19490,6 +19603,7 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
19490
19603
  id?: string | undefined;
19491
19604
  imageUrl?: string | undefined;
19492
19605
  state?: string | undefined;
19606
+ statusCode?: string | undefined;
19493
19607
  amount?: number | undefined;
19494
19608
  quantity?: number | undefined;
19495
19609
  option?: string | undefined;
@@ -19529,7 +19643,6 @@ export declare const CommerceOrderProtoSchema: z.ZodObject<{
19529
19643
  value?: string | undefined;
19530
19644
  key?: string | undefined;
19531
19645
  }[] | undefined;
19532
- statusCode?: string | undefined;
19533
19646
  statusText?: string | undefined;
19534
19647
  claimStatusCode?: string | undefined;
19535
19648
  supplierName?: string | undefined;
@@ -19857,6 +19970,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
19857
19970
  id?: string | undefined;
19858
19971
  imageUrl?: string | undefined;
19859
19972
  state?: string | undefined;
19973
+ statusCode?: string | undefined;
19860
19974
  amount?: number | undefined;
19861
19975
  quantity?: number | undefined;
19862
19976
  option?: string | undefined;
@@ -19896,7 +20010,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
19896
20010
  value?: string | undefined;
19897
20011
  key?: string | undefined;
19898
20012
  }[] | undefined;
19899
- statusCode?: string | undefined;
19900
20013
  statusText?: string | undefined;
19901
20014
  claimStatusCode?: string | undefined;
19902
20015
  supplierName?: string | undefined;
@@ -19924,6 +20037,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
19924
20037
  id?: string | undefined;
19925
20038
  imageUrl?: string | undefined;
19926
20039
  state?: string | undefined;
20040
+ statusCode?: string | undefined;
19927
20041
  amount?: number | undefined;
19928
20042
  quantity?: number | undefined;
19929
20043
  option?: string | undefined;
@@ -19963,7 +20077,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
19963
20077
  value?: string | undefined;
19964
20078
  key?: string | undefined;
19965
20079
  }[] | undefined;
19966
- statusCode?: string | undefined;
19967
20080
  statusText?: string | undefined;
19968
20081
  claimStatusCode?: string | undefined;
19969
20082
  supplierName?: string | undefined;
@@ -20307,6 +20420,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20307
20420
  id?: string | undefined;
20308
20421
  imageUrl?: string | undefined;
20309
20422
  state?: string | undefined;
20423
+ statusCode?: string | undefined;
20310
20424
  amount?: number | undefined;
20311
20425
  quantity?: number | undefined;
20312
20426
  option?: string | undefined;
@@ -20346,7 +20460,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20346
20460
  value?: string | undefined;
20347
20461
  key?: string | undefined;
20348
20462
  }[] | undefined;
20349
- statusCode?: string | undefined;
20350
20463
  statusText?: string | undefined;
20351
20464
  claimStatusCode?: string | undefined;
20352
20465
  supplierName?: string | undefined;
@@ -20499,6 +20612,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20499
20612
  id?: string | undefined;
20500
20613
  imageUrl?: string | undefined;
20501
20614
  state?: string | undefined;
20615
+ statusCode?: string | undefined;
20502
20616
  amount?: number | undefined;
20503
20617
  quantity?: number | undefined;
20504
20618
  option?: string | undefined;
@@ -20538,7 +20652,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20538
20652
  value?: string | undefined;
20539
20653
  key?: string | undefined;
20540
20654
  }[] | undefined;
20541
- statusCode?: string | undefined;
20542
20655
  statusText?: string | undefined;
20543
20656
  claimStatusCode?: string | undefined;
20544
20657
  supplierName?: string | undefined;
@@ -20695,6 +20808,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20695
20808
  id?: string | undefined;
20696
20809
  imageUrl?: string | undefined;
20697
20810
  state?: string | undefined;
20811
+ statusCode?: string | undefined;
20698
20812
  amount?: number | undefined;
20699
20813
  quantity?: number | undefined;
20700
20814
  option?: string | undefined;
@@ -20734,7 +20848,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20734
20848
  value?: string | undefined;
20735
20849
  key?: string | undefined;
20736
20850
  }[] | undefined;
20737
- statusCode?: string | undefined;
20738
20851
  statusText?: string | undefined;
20739
20852
  claimStatusCode?: string | undefined;
20740
20853
  supplierName?: string | undefined;
@@ -20890,6 +21003,7 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20890
21003
  id?: string | undefined;
20891
21004
  imageUrl?: string | undefined;
20892
21005
  state?: string | undefined;
21006
+ statusCode?: string | undefined;
20893
21007
  amount?: number | undefined;
20894
21008
  quantity?: number | undefined;
20895
21009
  option?: string | undefined;
@@ -20929,7 +21043,6 @@ export declare const CommerceGetOrdersOutputProtoSchema: z.ZodObject<{
20929
21043
  value?: string | undefined;
20930
21044
  key?: string | undefined;
20931
21045
  }[] | undefined;
20932
- statusCode?: string | undefined;
20933
21046
  statusText?: string | undefined;
20934
21047
  claimStatusCode?: string | undefined;
20935
21048
  supplierName?: string | undefined;