@channel.io/app-sdk-core 0.15.0 → 0.15.2

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 (83) hide show
  1. package/dist/extensions/alftask.d.ts +7 -4
  2. package/dist/extensions/alftask.d.ts.map +1 -1
  3. package/dist/extensions/alftask.js.map +1 -1
  4. package/dist/extensions/apikey.d.ts +6 -3
  5. package/dist/extensions/apikey.d.ts.map +1 -1
  6. package/dist/extensions/apikey.js.map +1 -1
  7. package/dist/extensions/calendar.d.ts +8 -5
  8. package/dist/extensions/calendar.d.ts.map +1 -1
  9. package/dist/extensions/calendar.js.map +1 -1
  10. package/dist/extensions/command.d.ts +11 -28
  11. package/dist/extensions/command.d.ts.map +1 -1
  12. package/dist/extensions/command.js +0 -9
  13. package/dist/extensions/command.js.map +1 -1
  14. package/dist/extensions/config.d.ts +19 -17
  15. package/dist/extensions/config.d.ts.map +1 -1
  16. package/dist/extensions/config.js.map +1 -1
  17. package/dist/extensions/customtab.d.ts +7 -4
  18. package/dist/extensions/customtab.d.ts.map +1 -1
  19. package/dist/extensions/customtab.js.map +1 -1
  20. package/dist/extensions/function-schemas.d.ts +807 -523
  21. package/dist/extensions/function-schemas.d.ts.map +1 -1
  22. package/dist/extensions/hook.d.ts +5 -2
  23. package/dist/extensions/hook.d.ts.map +1 -1
  24. package/dist/extensions/hook.js.map +1 -1
  25. package/dist/extensions/index.d.ts +3 -3
  26. package/dist/extensions/index.d.ts.map +1 -1
  27. package/dist/extensions/index.js +3 -3
  28. package/dist/extensions/index.js.map +1 -1
  29. package/dist/extensions/interfaces/alftask.d.ts +2 -4
  30. package/dist/extensions/interfaces/alftask.d.ts.map +1 -1
  31. package/dist/extensions/interfaces/alftask.js.map +1 -1
  32. package/dist/extensions/interfaces/calendar.d.ts +11 -58
  33. package/dist/extensions/interfaces/calendar.d.ts.map +1 -1
  34. package/dist/extensions/interfaces/calendar.js.map +1 -1
  35. package/dist/extensions/interfaces/command.d.ts +9 -48
  36. package/dist/extensions/interfaces/command.d.ts.map +1 -1
  37. package/dist/extensions/interfaces/command.js.map +1 -1
  38. package/dist/extensions/interfaces/customtab.d.ts +3 -7
  39. package/dist/extensions/interfaces/customtab.d.ts.map +1 -1
  40. package/dist/extensions/interfaces/customtab.js.map +1 -1
  41. package/dist/extensions/interfaces/hook.d.ts +2 -1
  42. package/dist/extensions/interfaces/hook.d.ts.map +1 -1
  43. package/dist/extensions/interfaces/hook.js.map +1 -1
  44. package/dist/extensions/interfaces/order.d.ts +15 -65
  45. package/dist/extensions/interfaces/order.d.ts.map +1 -1
  46. package/dist/extensions/interfaces/order.js.map +1 -1
  47. package/dist/extensions/interfaces/polling.d.ts +2 -1
  48. package/dist/extensions/interfaces/polling.d.ts.map +1 -1
  49. package/dist/extensions/interfaces/polling.js.map +1 -1
  50. package/dist/extensions/interfaces/widget.d.ts +3 -10
  51. package/dist/extensions/interfaces/widget.d.ts.map +1 -1
  52. package/dist/extensions/interfaces/widget.js.map +1 -1
  53. package/dist/extensions/messaging.d.ts.map +1 -1
  54. package/dist/extensions/messaging.js +1 -7
  55. package/dist/extensions/messaging.js.map +1 -1
  56. package/dist/extensions/oauth.d.ts +7 -4
  57. package/dist/extensions/oauth.d.ts.map +1 -1
  58. package/dist/extensions/oauth.js.map +1 -1
  59. package/dist/extensions/order.d.ts +16 -13
  60. package/dist/extensions/order.d.ts.map +1 -1
  61. package/dist/extensions/order.js.map +1 -1
  62. package/dist/extensions/polling.d.ts +7 -4
  63. package/dist/extensions/polling.d.ts.map +1 -1
  64. package/dist/extensions/polling.js.map +1 -1
  65. package/dist/extensions/proto-contracts.d.ts +6 -3
  66. package/dist/extensions/proto-contracts.d.ts.map +1 -1
  67. package/dist/extensions/store.d.ts +598 -378
  68. package/dist/extensions/store.d.ts.map +1 -1
  69. package/dist/extensions/store.js +8 -3
  70. package/dist/extensions/store.js.map +1 -1
  71. package/dist/extensions/widget.d.ts +7 -4
  72. package/dist/extensions/widget.d.ts.map +1 -1
  73. package/dist/extensions/widget.js.map +1 -1
  74. package/dist/extensions/wms.d.ts +251 -180
  75. package/dist/extensions/wms.d.ts.map +1 -1
  76. package/dist/extensions/wms.js +3 -1
  77. package/dist/extensions/wms.js.map +1 -1
  78. package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +4 -4
  79. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +6 -6
  80. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +32 -32
  81. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +6 -6
  82. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +6 -6
  83. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import { z } from "zod";
2
+ import type { StoreCapability as ProtoStoreCapability, StoreCaseStudy as ProtoStoreCaseStudy, StoreFaq as ProtoStoreFaq, StoreGetProfileInput as ProtoGetStoreProfileInput, StoreGetProfileOutput as ProtoGetStoreProfileOutput, StoreGuideSection as ProtoStoreGuideSection, StoreMedia as ProtoStoreMedia, StoreProfile as ProtoStoreProfile, StoreProfileI18n as ProtoStoreProfileI18n, StoreRelationship as ProtoStoreRelationship, StoreSetupField as ProtoStoreSetupField, StoreSetupOverview as ProtoStoreSetupOverview, StoreSetupStep as ProtoStoreSetupStep, StoreSurface as ProtoStoreSurface, StoreTargetUser as ProtoStoreTargetUser, StoreUseCase as ProtoStoreUseCase } from "../gen/channel/app/sdk/v1/extension.js";
2
3
  import type { Context } from "../types/context.js";
3
4
  import type { ExtensionDefinition } from "../types/extension.js";
5
+ type ProtoBacked<T, Proto> = T & Proto;
4
6
  export declare const StoreMediaTypeSchema: z.ZodEnum<["image", "video"]>;
5
7
  export type StoreMediaType = z.infer<typeof StoreMediaTypeSchema>;
6
8
  export declare const StoreMediaSchema: z.ZodObject<{
@@ -19,7 +21,7 @@ export declare const StoreMediaSchema: z.ZodObject<{
19
21
  thumbnailUrl?: string | undefined;
20
22
  alt?: string | undefined;
21
23
  }>;
22
- export type StoreMedia = z.infer<typeof StoreMediaSchema>;
24
+ export type StoreMedia = ProtoBacked<z.infer<typeof StoreMediaSchema>, ProtoStoreMedia>;
23
25
  export declare const StoreTargetUserSchema: z.ZodObject<{
24
26
  key: z.ZodString;
25
27
  label: z.ZodString;
@@ -33,7 +35,7 @@ export declare const StoreTargetUserSchema: z.ZodObject<{
33
35
  key: string;
34
36
  description?: string | undefined;
35
37
  }>;
36
- export type StoreTargetUser = z.infer<typeof StoreTargetUserSchema>;
38
+ export type StoreTargetUser = ProtoBacked<z.infer<typeof StoreTargetUserSchema>, ProtoStoreTargetUser>;
37
39
  export declare const StoreUseCaseSchema: z.ZodObject<{
38
40
  id: z.ZodString;
39
41
  title: z.ZodString;
@@ -53,7 +55,7 @@ export declare const StoreUseCaseSchema: z.ZodObject<{
53
55
  surfaceKeys?: string[] | undefined;
54
56
  requiredAppIds?: string[] | undefined;
55
57
  }>;
56
- export type StoreUseCase = z.infer<typeof StoreUseCaseSchema>;
58
+ export type StoreUseCase = ProtoBacked<z.infer<typeof StoreUseCaseSchema>, ProtoStoreUseCase>;
57
59
  export declare const StoreCapabilitySchema: z.ZodObject<{
58
60
  key: z.ZodString;
59
61
  label: z.ZodString;
@@ -67,7 +69,7 @@ export declare const StoreCapabilitySchema: z.ZodObject<{
67
69
  key: string;
68
70
  description?: string | undefined;
69
71
  }>;
70
- export type StoreCapability = z.infer<typeof StoreCapabilitySchema>;
72
+ export type StoreCapability = ProtoBacked<z.infer<typeof StoreCapabilitySchema>, ProtoStoreCapability>;
71
73
  export declare const StoreSurfaceSchema: z.ZodObject<{
72
74
  key: z.ZodString;
73
75
  label: z.ZodString;
@@ -81,7 +83,7 @@ export declare const StoreSurfaceSchema: z.ZodObject<{
81
83
  key: string;
82
84
  description?: string | undefined;
83
85
  }>;
84
- export type StoreSurface = z.infer<typeof StoreSurfaceSchema>;
86
+ export type StoreSurface = ProtoBacked<z.infer<typeof StoreSurfaceSchema>, ProtoStoreSurface>;
85
87
  export declare const StoreRelationshipTypeSchema: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
86
88
  export type StoreRelationshipType = z.infer<typeof StoreRelationshipTypeSchema>;
87
89
  export declare const StoreRelationshipSchema: z.ZodObject<{
@@ -100,7 +102,7 @@ export declare const StoreRelationshipSchema: z.ZodObject<{
100
102
  description?: string | undefined;
101
103
  label?: string | undefined;
102
104
  }>;
103
- export type StoreRelationship = z.infer<typeof StoreRelationshipSchema>;
105
+ export type StoreRelationship = ProtoBacked<z.infer<typeof StoreRelationshipSchema>, ProtoStoreRelationship>;
104
106
  export declare const StoreSetupStepSchema: z.ZodObject<{
105
107
  id: z.ZodString;
106
108
  title: z.ZodString;
@@ -117,7 +119,7 @@ export declare const StoreSetupStepSchema: z.ZodObject<{
117
119
  description?: string | undefined;
118
120
  externalUrl?: string | undefined;
119
121
  }>;
120
- export type StoreSetupStep = z.infer<typeof StoreSetupStepSchema>;
122
+ export type StoreSetupStep = ProtoBacked<z.infer<typeof StoreSetupStepSchema>, ProtoStoreSetupStep>;
121
123
  export declare const StoreSetupFieldSchema: z.ZodObject<{
122
124
  key: z.ZodString;
123
125
  label: z.ZodString;
@@ -137,7 +139,7 @@ export declare const StoreSetupFieldSchema: z.ZodObject<{
137
139
  example?: string | undefined;
138
140
  helpUrl?: string | undefined;
139
141
  }>;
140
- export type StoreSetupField = z.infer<typeof StoreSetupFieldSchema>;
142
+ export type StoreSetupField = ProtoBacked<z.infer<typeof StoreSetupFieldSchema>, ProtoStoreSetupField>;
141
143
  export declare const StoreSetupOverviewSchema: z.ZodObject<{
142
144
  steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
145
  id: z.ZodString;
@@ -206,7 +208,7 @@ export declare const StoreSetupOverviewSchema: z.ZodObject<{
206
208
  }[] | undefined;
207
209
  estimatedTimeText?: string | undefined;
208
210
  }>;
209
- export type StoreSetupOverview = z.infer<typeof StoreSetupOverviewSchema>;
211
+ export type StoreSetupOverview = ProtoBacked<z.infer<typeof StoreSetupOverviewSchema>, ProtoStoreSetupOverview>;
210
212
  export declare const StoreGuideSectionSchema: z.ZodObject<{
211
213
  id: z.ZodString;
212
214
  title: z.ZodString;
@@ -220,7 +222,7 @@ export declare const StoreGuideSectionSchema: z.ZodObject<{
220
222
  title: string;
221
223
  blocks?: Record<string, unknown>[] | undefined;
222
224
  }>;
223
- export type StoreGuideSection = z.infer<typeof StoreGuideSectionSchema>;
225
+ export type StoreGuideSection = ProtoBacked<z.infer<typeof StoreGuideSectionSchema>, ProtoStoreGuideSection>;
224
226
  export declare const StoreFaqSchema: z.ZodObject<{
225
227
  question: z.ZodString;
226
228
  answer: z.ZodString;
@@ -231,7 +233,7 @@ export declare const StoreFaqSchema: z.ZodObject<{
231
233
  question: string;
232
234
  answer: string;
233
235
  }>;
234
- export type StoreFaq = z.infer<typeof StoreFaqSchema>;
236
+ export type StoreFaq = ProtoBacked<z.infer<typeof StoreFaqSchema>, ProtoStoreFaq>;
235
237
  export declare const StoreCaseStudySchema: z.ZodObject<{
236
238
  title: z.ZodString;
237
239
  summary: z.ZodOptional<z.ZodString>;
@@ -248,7 +250,7 @@ export declare const StoreCaseStudySchema: z.ZodObject<{
248
250
  summary?: string | undefined;
249
251
  metrics?: string[] | undefined;
250
252
  }>;
251
- export type StoreCaseStudy = z.infer<typeof StoreCaseStudySchema>;
253
+ export type StoreCaseStudy = ProtoBacked<z.infer<typeof StoreCaseStudySchema>, ProtoStoreCaseStudy>;
252
254
  export declare const StoreProfileI18nSchema: z.ZodObject<{
253
255
  headline: z.ZodOptional<z.ZodString>;
254
256
  summary: z.ZodOptional<z.ZodString>;
@@ -387,7 +389,7 @@ export declare const StoreProfileI18nSchema: z.ZodObject<{
387
389
  } | undefined;
388
390
  pricingNote?: string | undefined;
389
391
  }>;
390
- export type StoreProfileI18n = z.infer<typeof StoreProfileI18nSchema>;
392
+ export type StoreProfileI18n = ProtoBacked<z.infer<typeof StoreProfileI18nSchema>, ProtoStoreProfileI18n>;
391
393
  export declare const StoreProfileSchema: z.ZodObject<{
392
394
  providerName: z.ZodOptional<z.ZodString>;
393
395
  categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -942,218 +944,78 @@ export declare const StoreProfileSchema: z.ZodObject<{
942
944
  pricingNote?: string | undefined;
943
945
  }> | undefined;
944
946
  }>;
945
- export type StoreProfile = z.infer<typeof StoreProfileSchema>;
947
+ export type StoreProfile = ProtoBacked<z.infer<typeof StoreProfileSchema>, ProtoStoreProfile>;
946
948
  export declare const GetStoreProfileInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
947
- export type GetStoreProfileInput = z.infer<typeof GetStoreProfileInputSchema>;
949
+ export type GetStoreProfileInput = ProtoBacked<z.infer<typeof GetStoreProfileInputSchema>, ProtoGetStoreProfileInput>;
948
950
  export declare const GetStoreProfileOutputSchema: z.ZodObject<{
949
- providerName: z.ZodOptional<z.ZodString>;
950
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
951
- headline: z.ZodString;
952
- summary: z.ZodString;
953
- primaryScreenshotUrl: z.ZodString;
954
- targetUsers: z.ZodArray<z.ZodObject<{
955
- key: z.ZodString;
956
- label: z.ZodString;
957
- description: z.ZodOptional<z.ZodString>;
958
- }, "strip", z.ZodTypeAny, {
959
- label: string;
960
- key: string;
961
- description?: string | undefined;
962
- }, {
963
- label: string;
964
- key: string;
965
- description?: string | undefined;
966
- }>, "many">;
967
- primaryUseCases: z.ZodArray<z.ZodObject<{
968
- id: z.ZodString;
969
- title: z.ZodString;
970
- description: z.ZodOptional<z.ZodString>;
971
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
972
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
973
- }, "strip", z.ZodTypeAny, {
974
- id: string;
975
- title: string;
976
- description?: string | undefined;
977
- surfaceKeys?: string[] | undefined;
978
- requiredAppIds?: string[] | undefined;
979
- }, {
980
- id: string;
981
- title: string;
982
- description?: string | undefined;
983
- surfaceKeys?: string[] | undefined;
984
- requiredAppIds?: string[] | undefined;
985
- }>, "many">;
986
- media: z.ZodArray<z.ZodObject<{
987
- type: z.ZodEnum<["image", "video"]>;
988
- url: z.ZodString;
989
- thumbnailUrl: z.ZodOptional<z.ZodString>;
990
- alt: z.ZodOptional<z.ZodString>;
991
- }, "strip", z.ZodTypeAny, {
992
- type: "image" | "video";
993
- url: string;
994
- thumbnailUrl?: string | undefined;
995
- alt?: string | undefined;
996
- }, {
997
- type: "image" | "video";
998
- url: string;
999
- thumbnailUrl?: string | undefined;
1000
- alt?: string | undefined;
1001
- }>, "many">;
1002
- capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
1003
- key: z.ZodString;
1004
- label: z.ZodString;
1005
- description: z.ZodOptional<z.ZodString>;
1006
- }, "strip", z.ZodTypeAny, {
1007
- label: string;
1008
- key: string;
1009
- description?: string | undefined;
1010
- }, {
1011
- label: string;
1012
- key: string;
1013
- description?: string | undefined;
1014
- }>, "many">>;
1015
- surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1016
- key: z.ZodString;
1017
- label: z.ZodString;
1018
- description: z.ZodOptional<z.ZodString>;
1019
- }, "strip", z.ZodTypeAny, {
1020
- label: string;
1021
- key: string;
1022
- description?: string | undefined;
1023
- }, {
1024
- label: string;
1025
- key: string;
1026
- description?: string | undefined;
1027
- }>, "many">>;
1028
- relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
1029
- type: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
1030
- appId: z.ZodString;
1031
- label: z.ZodOptional<z.ZodString>;
1032
- description: z.ZodOptional<z.ZodString>;
1033
- }, "strip", z.ZodTypeAny, {
1034
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1035
- appId: string;
1036
- description?: string | undefined;
1037
- label?: string | undefined;
1038
- }, {
1039
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1040
- appId: string;
1041
- description?: string | undefined;
1042
- label?: string | undefined;
1043
- }>, "many">>;
1044
- setupOverview: z.ZodOptional<z.ZodObject<{
1045
- steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
951
+ profile: z.ZodObject<{
952
+ providerName: z.ZodOptional<z.ZodString>;
953
+ categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
954
+ headline: z.ZodString;
955
+ summary: z.ZodString;
956
+ primaryScreenshotUrl: z.ZodString;
957
+ targetUsers: z.ZodArray<z.ZodObject<{
958
+ key: z.ZodString;
959
+ label: z.ZodString;
960
+ description: z.ZodOptional<z.ZodString>;
961
+ }, "strip", z.ZodTypeAny, {
962
+ label: string;
963
+ key: string;
964
+ description?: string | undefined;
965
+ }, {
966
+ label: string;
967
+ key: string;
968
+ description?: string | undefined;
969
+ }>, "many">;
970
+ primaryUseCases: z.ZodArray<z.ZodObject<{
1046
971
  id: z.ZodString;
1047
972
  title: z.ZodString;
1048
973
  description: z.ZodOptional<z.ZodString>;
1049
- externalUrl: z.ZodOptional<z.ZodString>;
974
+ surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
975
+ requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
976
  }, "strip", z.ZodTypeAny, {
1051
977
  id: string;
1052
978
  title: string;
1053
979
  description?: string | undefined;
1054
- externalUrl?: string | undefined;
980
+ surfaceKeys?: string[] | undefined;
981
+ requiredAppIds?: string[] | undefined;
1055
982
  }, {
1056
983
  id: string;
1057
984
  title: string;
1058
985
  description?: string | undefined;
1059
- externalUrl?: string | undefined;
1060
- }>, "many">>;
1061
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
986
+ surfaceKeys?: string[] | undefined;
987
+ requiredAppIds?: string[] | undefined;
988
+ }>, "many">;
989
+ media: z.ZodArray<z.ZodObject<{
990
+ type: z.ZodEnum<["image", "video"]>;
991
+ url: z.ZodString;
992
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
993
+ alt: z.ZodOptional<z.ZodString>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ type: "image" | "video";
996
+ url: string;
997
+ thumbnailUrl?: string | undefined;
998
+ alt?: string | undefined;
999
+ }, {
1000
+ type: "image" | "video";
1001
+ url: string;
1002
+ thumbnailUrl?: string | undefined;
1003
+ alt?: string | undefined;
1004
+ }>, "many">;
1005
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
1062
1006
  key: z.ZodString;
1063
1007
  label: z.ZodString;
1064
1008
  description: z.ZodOptional<z.ZodString>;
1065
- example: z.ZodOptional<z.ZodString>;
1066
- helpUrl: z.ZodOptional<z.ZodString>;
1067
1009
  }, "strip", z.ZodTypeAny, {
1068
1010
  label: string;
1069
1011
  key: string;
1070
1012
  description?: string | undefined;
1071
- example?: string | undefined;
1072
- helpUrl?: string | undefined;
1073
1013
  }, {
1074
1014
  label: string;
1075
1015
  key: string;
1076
1016
  description?: string | undefined;
1077
- example?: string | undefined;
1078
- helpUrl?: string | undefined;
1079
1017
  }>, "many">>;
1080
- estimatedTimeText: z.ZodOptional<z.ZodString>;
1081
- }, "strip", z.ZodTypeAny, {
1082
- fields?: {
1083
- label: string;
1084
- key: string;
1085
- description?: string | undefined;
1086
- example?: string | undefined;
1087
- helpUrl?: string | undefined;
1088
- }[] | undefined;
1089
- steps?: {
1090
- id: string;
1091
- title: string;
1092
- description?: string | undefined;
1093
- externalUrl?: string | undefined;
1094
- }[] | undefined;
1095
- estimatedTimeText?: string | undefined;
1096
- }, {
1097
- fields?: {
1098
- label: string;
1099
- key: string;
1100
- description?: string | undefined;
1101
- example?: string | undefined;
1102
- helpUrl?: string | undefined;
1103
- }[] | undefined;
1104
- steps?: {
1105
- id: string;
1106
- title: string;
1107
- description?: string | undefined;
1108
- externalUrl?: string | undefined;
1109
- }[] | undefined;
1110
- estimatedTimeText?: string | undefined;
1111
- }>>;
1112
- guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1113
- id: z.ZodString;
1114
- title: z.ZodString;
1115
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1116
- }, "strip", z.ZodTypeAny, {
1117
- id: string;
1118
- title: string;
1119
- blocks?: Record<string, unknown>[] | undefined;
1120
- }, {
1121
- id: string;
1122
- title: string;
1123
- blocks?: Record<string, unknown>[] | undefined;
1124
- }>, "many">>;
1125
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1126
- question: z.ZodString;
1127
- answer: z.ZodString;
1128
- }, "strip", z.ZodTypeAny, {
1129
- question: string;
1130
- answer: string;
1131
- }, {
1132
- question: string;
1133
- answer: string;
1134
- }>, "many">>;
1135
- externalGuideUrl: z.ZodOptional<z.ZodString>;
1136
- caseStudy: z.ZodOptional<z.ZodObject<{
1137
- title: z.ZodString;
1138
- summary: z.ZodOptional<z.ZodString>;
1139
- url: z.ZodOptional<z.ZodString>;
1140
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1141
- }, "strip", z.ZodTypeAny, {
1142
- title: string;
1143
- url?: string | undefined;
1144
- summary?: string | undefined;
1145
- metrics?: string[] | undefined;
1146
- }, {
1147
- title: string;
1148
- url?: string | undefined;
1149
- summary?: string | undefined;
1150
- metrics?: string[] | undefined;
1151
- }>>;
1152
- pricingNote: z.ZodOptional<z.ZodString>;
1153
- i18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1154
- headline: z.ZodOptional<z.ZodString>;
1155
- summary: z.ZodOptional<z.ZodString>;
1156
- targetUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1018
+ surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1157
1019
  key: z.ZodString;
1158
1020
  label: z.ZodString;
1159
1021
  description: z.ZodOptional<z.ZodString>;
@@ -1166,25 +1028,90 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1166
1028
  key: string;
1167
1029
  description?: string | undefined;
1168
1030
  }>, "many">>;
1169
- primaryUseCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1170
- id: z.ZodString;
1171
- title: z.ZodString;
1031
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
1032
+ type: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
1033
+ appId: z.ZodString;
1034
+ label: z.ZodOptional<z.ZodString>;
1172
1035
  description: z.ZodOptional<z.ZodString>;
1173
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1174
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1175
1036
  }, "strip", z.ZodTypeAny, {
1176
- id: string;
1177
- title: string;
1037
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1038
+ appId: string;
1178
1039
  description?: string | undefined;
1179
- surfaceKeys?: string[] | undefined;
1180
- requiredAppIds?: string[] | undefined;
1040
+ label?: string | undefined;
1181
1041
  }, {
1182
- id: string;
1183
- title: string;
1042
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1043
+ appId: string;
1184
1044
  description?: string | undefined;
1185
- surfaceKeys?: string[] | undefined;
1186
- requiredAppIds?: string[] | undefined;
1045
+ label?: string | undefined;
1187
1046
  }>, "many">>;
1047
+ setupOverview: z.ZodOptional<z.ZodObject<{
1048
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1049
+ id: z.ZodString;
1050
+ title: z.ZodString;
1051
+ description: z.ZodOptional<z.ZodString>;
1052
+ externalUrl: z.ZodOptional<z.ZodString>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ id: string;
1055
+ title: string;
1056
+ description?: string | undefined;
1057
+ externalUrl?: string | undefined;
1058
+ }, {
1059
+ id: string;
1060
+ title: string;
1061
+ description?: string | undefined;
1062
+ externalUrl?: string | undefined;
1063
+ }>, "many">>;
1064
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1065
+ key: z.ZodString;
1066
+ label: z.ZodString;
1067
+ description: z.ZodOptional<z.ZodString>;
1068
+ example: z.ZodOptional<z.ZodString>;
1069
+ helpUrl: z.ZodOptional<z.ZodString>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ label: string;
1072
+ key: string;
1073
+ description?: string | undefined;
1074
+ example?: string | undefined;
1075
+ helpUrl?: string | undefined;
1076
+ }, {
1077
+ label: string;
1078
+ key: string;
1079
+ description?: string | undefined;
1080
+ example?: string | undefined;
1081
+ helpUrl?: string | undefined;
1082
+ }>, "many">>;
1083
+ estimatedTimeText: z.ZodOptional<z.ZodString>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ fields?: {
1086
+ label: string;
1087
+ key: string;
1088
+ description?: string | undefined;
1089
+ example?: string | undefined;
1090
+ helpUrl?: string | undefined;
1091
+ }[] | undefined;
1092
+ steps?: {
1093
+ id: string;
1094
+ title: string;
1095
+ description?: string | undefined;
1096
+ externalUrl?: string | undefined;
1097
+ }[] | undefined;
1098
+ estimatedTimeText?: string | undefined;
1099
+ }, {
1100
+ fields?: {
1101
+ label: string;
1102
+ key: string;
1103
+ description?: string | undefined;
1104
+ example?: string | undefined;
1105
+ helpUrl?: string | undefined;
1106
+ }[] | undefined;
1107
+ steps?: {
1108
+ id: string;
1109
+ title: string;
1110
+ description?: string | undefined;
1111
+ externalUrl?: string | undefined;
1112
+ }[] | undefined;
1113
+ estimatedTimeText?: string | undefined;
1114
+ }>>;
1188
1115
  guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1189
1116
  id: z.ZodString;
1190
1117
  title: z.ZodString;
@@ -1208,6 +1135,7 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1208
1135
  question: string;
1209
1136
  answer: string;
1210
1137
  }>, "many">>;
1138
+ externalGuideUrl: z.ZodOptional<z.ZodString>;
1211
1139
  caseStudy: z.ZodOptional<z.ZodObject<{
1212
1140
  title: z.ZodString;
1213
1141
  summary: z.ZodOptional<z.ZodString>;
@@ -1225,21 +1153,167 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1225
1153
  metrics?: string[] | undefined;
1226
1154
  }>>;
1227
1155
  pricingNote: z.ZodOptional<z.ZodString>;
1156
+ i18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1157
+ headline: z.ZodOptional<z.ZodString>;
1158
+ summary: z.ZodOptional<z.ZodString>;
1159
+ targetUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1160
+ key: z.ZodString;
1161
+ label: z.ZodString;
1162
+ description: z.ZodOptional<z.ZodString>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ label: string;
1165
+ key: string;
1166
+ description?: string | undefined;
1167
+ }, {
1168
+ label: string;
1169
+ key: string;
1170
+ description?: string | undefined;
1171
+ }>, "many">>;
1172
+ primaryUseCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1173
+ id: z.ZodString;
1174
+ title: z.ZodString;
1175
+ description: z.ZodOptional<z.ZodString>;
1176
+ surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1177
+ requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ id: string;
1180
+ title: string;
1181
+ description?: string | undefined;
1182
+ surfaceKeys?: string[] | undefined;
1183
+ requiredAppIds?: string[] | undefined;
1184
+ }, {
1185
+ id: string;
1186
+ title: string;
1187
+ description?: string | undefined;
1188
+ surfaceKeys?: string[] | undefined;
1189
+ requiredAppIds?: string[] | undefined;
1190
+ }>, "many">>;
1191
+ guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1192
+ id: z.ZodString;
1193
+ title: z.ZodString;
1194
+ blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ id: string;
1197
+ title: string;
1198
+ blocks?: Record<string, unknown>[] | undefined;
1199
+ }, {
1200
+ id: string;
1201
+ title: string;
1202
+ blocks?: Record<string, unknown>[] | undefined;
1203
+ }>, "many">>;
1204
+ faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1205
+ question: z.ZodString;
1206
+ answer: z.ZodString;
1207
+ }, "strip", z.ZodTypeAny, {
1208
+ question: string;
1209
+ answer: string;
1210
+ }, {
1211
+ question: string;
1212
+ answer: string;
1213
+ }>, "many">>;
1214
+ caseStudy: z.ZodOptional<z.ZodObject<{
1215
+ title: z.ZodString;
1216
+ summary: z.ZodOptional<z.ZodString>;
1217
+ url: z.ZodOptional<z.ZodString>;
1218
+ metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1219
+ }, "strip", z.ZodTypeAny, {
1220
+ title: string;
1221
+ url?: string | undefined;
1222
+ summary?: string | undefined;
1223
+ metrics?: string[] | undefined;
1224
+ }, {
1225
+ title: string;
1226
+ url?: string | undefined;
1227
+ summary?: string | undefined;
1228
+ metrics?: string[] | undefined;
1229
+ }>>;
1230
+ pricingNote: z.ZodOptional<z.ZodString>;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ summary?: string | undefined;
1233
+ headline?: string | undefined;
1234
+ targetUsers?: {
1235
+ label: string;
1236
+ key: string;
1237
+ description?: string | undefined;
1238
+ }[] | undefined;
1239
+ primaryUseCases?: {
1240
+ id: string;
1241
+ title: string;
1242
+ description?: string | undefined;
1243
+ surfaceKeys?: string[] | undefined;
1244
+ requiredAppIds?: string[] | undefined;
1245
+ }[] | undefined;
1246
+ guideSections?: {
1247
+ id: string;
1248
+ title: string;
1249
+ blocks?: Record<string, unknown>[] | undefined;
1250
+ }[] | undefined;
1251
+ faqs?: {
1252
+ question: string;
1253
+ answer: string;
1254
+ }[] | undefined;
1255
+ caseStudy?: {
1256
+ title: string;
1257
+ url?: string | undefined;
1258
+ summary?: string | undefined;
1259
+ metrics?: string[] | undefined;
1260
+ } | undefined;
1261
+ pricingNote?: string | undefined;
1262
+ }, {
1263
+ summary?: string | undefined;
1264
+ headline?: string | undefined;
1265
+ targetUsers?: {
1266
+ label: string;
1267
+ key: string;
1268
+ description?: string | undefined;
1269
+ }[] | undefined;
1270
+ primaryUseCases?: {
1271
+ id: string;
1272
+ title: string;
1273
+ description?: string | undefined;
1274
+ surfaceKeys?: string[] | undefined;
1275
+ requiredAppIds?: string[] | undefined;
1276
+ }[] | undefined;
1277
+ guideSections?: {
1278
+ id: string;
1279
+ title: string;
1280
+ blocks?: Record<string, unknown>[] | undefined;
1281
+ }[] | undefined;
1282
+ faqs?: {
1283
+ question: string;
1284
+ answer: string;
1285
+ }[] | undefined;
1286
+ caseStudy?: {
1287
+ title: string;
1288
+ url?: string | undefined;
1289
+ summary?: string | undefined;
1290
+ metrics?: string[] | undefined;
1291
+ } | undefined;
1292
+ pricingNote?: string | undefined;
1293
+ }>>>;
1228
1294
  }, "strip", z.ZodTypeAny, {
1229
- summary?: string | undefined;
1230
- headline?: string | undefined;
1231
- targetUsers?: {
1295
+ media: {
1296
+ type: "image" | "video";
1297
+ url: string;
1298
+ thumbnailUrl?: string | undefined;
1299
+ alt?: string | undefined;
1300
+ }[];
1301
+ summary: string;
1302
+ headline: string;
1303
+ targetUsers: {
1232
1304
  label: string;
1233
1305
  key: string;
1234
1306
  description?: string | undefined;
1235
- }[] | undefined;
1236
- primaryUseCases?: {
1307
+ }[];
1308
+ primaryUseCases: {
1237
1309
  id: string;
1238
1310
  title: string;
1239
1311
  description?: string | undefined;
1240
1312
  surfaceKeys?: string[] | undefined;
1241
1313
  requiredAppIds?: string[] | undefined;
1242
- }[] | undefined;
1314
+ }[];
1315
+ primaryScreenshotUrl: string;
1316
+ providerName?: string | undefined;
1243
1317
  guideSections?: {
1244
1318
  id: string;
1245
1319
  title: string;
@@ -1256,21 +1330,95 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1256
1330
  metrics?: string[] | undefined;
1257
1331
  } | undefined;
1258
1332
  pricingNote?: string | undefined;
1259
- }, {
1260
- summary?: string | undefined;
1261
- headline?: string | undefined;
1262
- targetUsers?: {
1333
+ categories?: string[] | undefined;
1334
+ capabilities?: {
1263
1335
  label: string;
1264
1336
  key: string;
1265
1337
  description?: string | undefined;
1266
1338
  }[] | undefined;
1267
- primaryUseCases?: {
1339
+ surfaces?: {
1340
+ label: string;
1341
+ key: string;
1342
+ description?: string | undefined;
1343
+ }[] | undefined;
1344
+ relationships?: {
1345
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1346
+ appId: string;
1347
+ description?: string | undefined;
1348
+ label?: string | undefined;
1349
+ }[] | undefined;
1350
+ setupOverview?: {
1351
+ fields?: {
1352
+ label: string;
1353
+ key: string;
1354
+ description?: string | undefined;
1355
+ example?: string | undefined;
1356
+ helpUrl?: string | undefined;
1357
+ }[] | undefined;
1358
+ steps?: {
1359
+ id: string;
1360
+ title: string;
1361
+ description?: string | undefined;
1362
+ externalUrl?: string | undefined;
1363
+ }[] | undefined;
1364
+ estimatedTimeText?: string | undefined;
1365
+ } | undefined;
1366
+ externalGuideUrl?: string | undefined;
1367
+ i18nMap?: Record<string, {
1368
+ summary?: string | undefined;
1369
+ headline?: string | undefined;
1370
+ targetUsers?: {
1371
+ label: string;
1372
+ key: string;
1373
+ description?: string | undefined;
1374
+ }[] | undefined;
1375
+ primaryUseCases?: {
1376
+ id: string;
1377
+ title: string;
1378
+ description?: string | undefined;
1379
+ surfaceKeys?: string[] | undefined;
1380
+ requiredAppIds?: string[] | undefined;
1381
+ }[] | undefined;
1382
+ guideSections?: {
1383
+ id: string;
1384
+ title: string;
1385
+ blocks?: Record<string, unknown>[] | undefined;
1386
+ }[] | undefined;
1387
+ faqs?: {
1388
+ question: string;
1389
+ answer: string;
1390
+ }[] | undefined;
1391
+ caseStudy?: {
1392
+ title: string;
1393
+ url?: string | undefined;
1394
+ summary?: string | undefined;
1395
+ metrics?: string[] | undefined;
1396
+ } | undefined;
1397
+ pricingNote?: string | undefined;
1398
+ }> | undefined;
1399
+ }, {
1400
+ media: {
1401
+ type: "image" | "video";
1402
+ url: string;
1403
+ thumbnailUrl?: string | undefined;
1404
+ alt?: string | undefined;
1405
+ }[];
1406
+ summary: string;
1407
+ headline: string;
1408
+ targetUsers: {
1409
+ label: string;
1410
+ key: string;
1411
+ description?: string | undefined;
1412
+ }[];
1413
+ primaryUseCases: {
1268
1414
  id: string;
1269
1415
  title: string;
1270
1416
  description?: string | undefined;
1271
1417
  surfaceKeys?: string[] | undefined;
1272
1418
  requiredAppIds?: string[] | undefined;
1273
- }[] | undefined;
1419
+ }[];
1420
+ primaryScreenshotUrl: string;
1421
+ providerName?: string | undefined;
1274
1422
  guideSections?: {
1275
1423
  id: string;
1276
1424
  title: string;
@@ -1287,95 +1435,97 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1287
1435
  metrics?: string[] | undefined;
1288
1436
  } | undefined;
1289
1437
  pricingNote?: string | undefined;
1290
- }>>>;
1291
- }, "strip", z.ZodTypeAny, {
1292
- media: {
1293
- type: "image" | "video";
1294
- url: string;
1295
- thumbnailUrl?: string | undefined;
1296
- alt?: string | undefined;
1297
- }[];
1298
- summary: string;
1299
- headline: string;
1300
- targetUsers: {
1301
- label: string;
1302
- key: string;
1303
- description?: string | undefined;
1304
- }[];
1305
- primaryUseCases: {
1306
- id: string;
1307
- title: string;
1308
- description?: string | undefined;
1309
- surfaceKeys?: string[] | undefined;
1310
- requiredAppIds?: string[] | undefined;
1311
- }[];
1312
- primaryScreenshotUrl: string;
1313
- providerName?: string | undefined;
1314
- guideSections?: {
1315
- id: string;
1316
- title: string;
1317
- blocks?: Record<string, unknown>[] | undefined;
1318
- }[] | undefined;
1319
- faqs?: {
1320
- question: string;
1321
- answer: string;
1322
- }[] | undefined;
1323
- caseStudy?: {
1324
- title: string;
1325
- url?: string | undefined;
1326
- summary?: string | undefined;
1327
- metrics?: string[] | undefined;
1328
- } | undefined;
1329
- pricingNote?: string | undefined;
1330
- categories?: string[] | undefined;
1331
- capabilities?: {
1332
- label: string;
1333
- key: string;
1334
- description?: string | undefined;
1335
- }[] | undefined;
1336
- surfaces?: {
1337
- label: string;
1338
- key: string;
1339
- description?: string | undefined;
1340
- }[] | undefined;
1341
- relationships?: {
1342
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1343
- appId: string;
1344
- description?: string | undefined;
1345
- label?: string | undefined;
1346
- }[] | undefined;
1347
- setupOverview?: {
1348
- fields?: {
1438
+ categories?: string[] | undefined;
1439
+ capabilities?: {
1349
1440
  label: string;
1350
1441
  key: string;
1351
1442
  description?: string | undefined;
1352
- example?: string | undefined;
1353
- helpUrl?: string | undefined;
1354
1443
  }[] | undefined;
1355
- steps?: {
1356
- id: string;
1357
- title: string;
1444
+ surfaces?: {
1445
+ label: string;
1446
+ key: string;
1358
1447
  description?: string | undefined;
1359
- externalUrl?: string | undefined;
1360
1448
  }[] | undefined;
1361
- estimatedTimeText?: string | undefined;
1362
- } | undefined;
1363
- externalGuideUrl?: string | undefined;
1364
- i18nMap?: Record<string, {
1365
- summary?: string | undefined;
1366
- headline?: string | undefined;
1367
- targetUsers?: {
1449
+ relationships?: {
1450
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1451
+ appId: string;
1452
+ description?: string | undefined;
1453
+ label?: string | undefined;
1454
+ }[] | undefined;
1455
+ setupOverview?: {
1456
+ fields?: {
1457
+ label: string;
1458
+ key: string;
1459
+ description?: string | undefined;
1460
+ example?: string | undefined;
1461
+ helpUrl?: string | undefined;
1462
+ }[] | undefined;
1463
+ steps?: {
1464
+ id: string;
1465
+ title: string;
1466
+ description?: string | undefined;
1467
+ externalUrl?: string | undefined;
1468
+ }[] | undefined;
1469
+ estimatedTimeText?: string | undefined;
1470
+ } | undefined;
1471
+ externalGuideUrl?: string | undefined;
1472
+ i18nMap?: Record<string, {
1473
+ summary?: string | undefined;
1474
+ headline?: string | undefined;
1475
+ targetUsers?: {
1476
+ label: string;
1477
+ key: string;
1478
+ description?: string | undefined;
1479
+ }[] | undefined;
1480
+ primaryUseCases?: {
1481
+ id: string;
1482
+ title: string;
1483
+ description?: string | undefined;
1484
+ surfaceKeys?: string[] | undefined;
1485
+ requiredAppIds?: string[] | undefined;
1486
+ }[] | undefined;
1487
+ guideSections?: {
1488
+ id: string;
1489
+ title: string;
1490
+ blocks?: Record<string, unknown>[] | undefined;
1491
+ }[] | undefined;
1492
+ faqs?: {
1493
+ question: string;
1494
+ answer: string;
1495
+ }[] | undefined;
1496
+ caseStudy?: {
1497
+ title: string;
1498
+ url?: string | undefined;
1499
+ summary?: string | undefined;
1500
+ metrics?: string[] | undefined;
1501
+ } | undefined;
1502
+ pricingNote?: string | undefined;
1503
+ }> | undefined;
1504
+ }>;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ profile: {
1507
+ media: {
1508
+ type: "image" | "video";
1509
+ url: string;
1510
+ thumbnailUrl?: string | undefined;
1511
+ alt?: string | undefined;
1512
+ }[];
1513
+ summary: string;
1514
+ headline: string;
1515
+ targetUsers: {
1368
1516
  label: string;
1369
1517
  key: string;
1370
1518
  description?: string | undefined;
1371
- }[] | undefined;
1372
- primaryUseCases?: {
1519
+ }[];
1520
+ primaryUseCases: {
1373
1521
  id: string;
1374
1522
  title: string;
1375
1523
  description?: string | undefined;
1376
1524
  surfaceKeys?: string[] | undefined;
1377
1525
  requiredAppIds?: string[] | undefined;
1378
- }[] | undefined;
1526
+ }[];
1527
+ primaryScreenshotUrl: string;
1528
+ providerName?: string | undefined;
1379
1529
  guideSections?: {
1380
1530
  id: string;
1381
1531
  title: string;
@@ -1392,95 +1542,97 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1392
1542
  metrics?: string[] | undefined;
1393
1543
  } | undefined;
1394
1544
  pricingNote?: string | undefined;
1395
- }> | undefined;
1396
- }, {
1397
- media: {
1398
- type: "image" | "video";
1399
- url: string;
1400
- thumbnailUrl?: string | undefined;
1401
- alt?: string | undefined;
1402
- }[];
1403
- summary: string;
1404
- headline: string;
1405
- targetUsers: {
1406
- label: string;
1407
- key: string;
1408
- description?: string | undefined;
1409
- }[];
1410
- primaryUseCases: {
1411
- id: string;
1412
- title: string;
1413
- description?: string | undefined;
1414
- surfaceKeys?: string[] | undefined;
1415
- requiredAppIds?: string[] | undefined;
1416
- }[];
1417
- primaryScreenshotUrl: string;
1418
- providerName?: string | undefined;
1419
- guideSections?: {
1420
- id: string;
1421
- title: string;
1422
- blocks?: Record<string, unknown>[] | undefined;
1423
- }[] | undefined;
1424
- faqs?: {
1425
- question: string;
1426
- answer: string;
1427
- }[] | undefined;
1428
- caseStudy?: {
1429
- title: string;
1430
- url?: string | undefined;
1431
- summary?: string | undefined;
1432
- metrics?: string[] | undefined;
1433
- } | undefined;
1434
- pricingNote?: string | undefined;
1435
- categories?: string[] | undefined;
1436
- capabilities?: {
1437
- label: string;
1438
- key: string;
1439
- description?: string | undefined;
1440
- }[] | undefined;
1441
- surfaces?: {
1442
- label: string;
1443
- key: string;
1444
- description?: string | undefined;
1445
- }[] | undefined;
1446
- relationships?: {
1447
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1448
- appId: string;
1449
- description?: string | undefined;
1450
- label?: string | undefined;
1451
- }[] | undefined;
1452
- setupOverview?: {
1453
- fields?: {
1545
+ categories?: string[] | undefined;
1546
+ capabilities?: {
1454
1547
  label: string;
1455
1548
  key: string;
1456
1549
  description?: string | undefined;
1457
- example?: string | undefined;
1458
- helpUrl?: string | undefined;
1459
1550
  }[] | undefined;
1460
- steps?: {
1461
- id: string;
1462
- title: string;
1551
+ surfaces?: {
1552
+ label: string;
1553
+ key: string;
1463
1554
  description?: string | undefined;
1464
- externalUrl?: string | undefined;
1465
1555
  }[] | undefined;
1466
- estimatedTimeText?: string | undefined;
1467
- } | undefined;
1468
- externalGuideUrl?: string | undefined;
1469
- i18nMap?: Record<string, {
1470
- summary?: string | undefined;
1471
- headline?: string | undefined;
1472
- targetUsers?: {
1556
+ relationships?: {
1557
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1558
+ appId: string;
1559
+ description?: string | undefined;
1560
+ label?: string | undefined;
1561
+ }[] | undefined;
1562
+ setupOverview?: {
1563
+ fields?: {
1564
+ label: string;
1565
+ key: string;
1566
+ description?: string | undefined;
1567
+ example?: string | undefined;
1568
+ helpUrl?: string | undefined;
1569
+ }[] | undefined;
1570
+ steps?: {
1571
+ id: string;
1572
+ title: string;
1573
+ description?: string | undefined;
1574
+ externalUrl?: string | undefined;
1575
+ }[] | undefined;
1576
+ estimatedTimeText?: string | undefined;
1577
+ } | undefined;
1578
+ externalGuideUrl?: string | undefined;
1579
+ i18nMap?: Record<string, {
1580
+ summary?: string | undefined;
1581
+ headline?: string | undefined;
1582
+ targetUsers?: {
1583
+ label: string;
1584
+ key: string;
1585
+ description?: string | undefined;
1586
+ }[] | undefined;
1587
+ primaryUseCases?: {
1588
+ id: string;
1589
+ title: string;
1590
+ description?: string | undefined;
1591
+ surfaceKeys?: string[] | undefined;
1592
+ requiredAppIds?: string[] | undefined;
1593
+ }[] | undefined;
1594
+ guideSections?: {
1595
+ id: string;
1596
+ title: string;
1597
+ blocks?: Record<string, unknown>[] | undefined;
1598
+ }[] | undefined;
1599
+ faqs?: {
1600
+ question: string;
1601
+ answer: string;
1602
+ }[] | undefined;
1603
+ caseStudy?: {
1604
+ title: string;
1605
+ url?: string | undefined;
1606
+ summary?: string | undefined;
1607
+ metrics?: string[] | undefined;
1608
+ } | undefined;
1609
+ pricingNote?: string | undefined;
1610
+ }> | undefined;
1611
+ };
1612
+ }, {
1613
+ profile: {
1614
+ media: {
1615
+ type: "image" | "video";
1616
+ url: string;
1617
+ thumbnailUrl?: string | undefined;
1618
+ alt?: string | undefined;
1619
+ }[];
1620
+ summary: string;
1621
+ headline: string;
1622
+ targetUsers: {
1473
1623
  label: string;
1474
1624
  key: string;
1475
1625
  description?: string | undefined;
1476
- }[] | undefined;
1477
- primaryUseCases?: {
1626
+ }[];
1627
+ primaryUseCases: {
1478
1628
  id: string;
1479
1629
  title: string;
1480
1630
  description?: string | undefined;
1481
1631
  surfaceKeys?: string[] | undefined;
1482
1632
  requiredAppIds?: string[] | undefined;
1483
- }[] | undefined;
1633
+ }[];
1634
+ primaryScreenshotUrl: string;
1635
+ providerName?: string | undefined;
1484
1636
  guideSections?: {
1485
1637
  id: string;
1486
1638
  title: string;
@@ -1497,10 +1649,78 @@ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
1497
1649
  metrics?: string[] | undefined;
1498
1650
  } | undefined;
1499
1651
  pricingNote?: string | undefined;
1500
- }> | undefined;
1652
+ categories?: string[] | undefined;
1653
+ capabilities?: {
1654
+ label: string;
1655
+ key: string;
1656
+ description?: string | undefined;
1657
+ }[] | undefined;
1658
+ surfaces?: {
1659
+ label: string;
1660
+ key: string;
1661
+ description?: string | undefined;
1662
+ }[] | undefined;
1663
+ relationships?: {
1664
+ type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1665
+ appId: string;
1666
+ description?: string | undefined;
1667
+ label?: string | undefined;
1668
+ }[] | undefined;
1669
+ setupOverview?: {
1670
+ fields?: {
1671
+ label: string;
1672
+ key: string;
1673
+ description?: string | undefined;
1674
+ example?: string | undefined;
1675
+ helpUrl?: string | undefined;
1676
+ }[] | undefined;
1677
+ steps?: {
1678
+ id: string;
1679
+ title: string;
1680
+ description?: string | undefined;
1681
+ externalUrl?: string | undefined;
1682
+ }[] | undefined;
1683
+ estimatedTimeText?: string | undefined;
1684
+ } | undefined;
1685
+ externalGuideUrl?: string | undefined;
1686
+ i18nMap?: Record<string, {
1687
+ summary?: string | undefined;
1688
+ headline?: string | undefined;
1689
+ targetUsers?: {
1690
+ label: string;
1691
+ key: string;
1692
+ description?: string | undefined;
1693
+ }[] | undefined;
1694
+ primaryUseCases?: {
1695
+ id: string;
1696
+ title: string;
1697
+ description?: string | undefined;
1698
+ surfaceKeys?: string[] | undefined;
1699
+ requiredAppIds?: string[] | undefined;
1700
+ }[] | undefined;
1701
+ guideSections?: {
1702
+ id: string;
1703
+ title: string;
1704
+ blocks?: Record<string, unknown>[] | undefined;
1705
+ }[] | undefined;
1706
+ faqs?: {
1707
+ question: string;
1708
+ answer: string;
1709
+ }[] | undefined;
1710
+ caseStudy?: {
1711
+ title: string;
1712
+ url?: string | undefined;
1713
+ summary?: string | undefined;
1714
+ metrics?: string[] | undefined;
1715
+ } | undefined;
1716
+ pricingNote?: string | undefined;
1717
+ }> | undefined;
1718
+ };
1501
1719
  }>;
1502
- export type GetStoreProfileOutput = z.infer<typeof GetStoreProfileOutputSchema>;
1503
- export type StoreProfileProvider = StoreProfile | ((ctx: Context) => StoreProfile | Promise<StoreProfile>);
1720
+ export type GetStoreProfileOutput = ProtoBacked<z.infer<typeof GetStoreProfileOutputSchema>, ProtoGetStoreProfileOutput>;
1721
+ export type StoreProfileProvider = GetStoreProfileOutput | ((ctx: Context) => GetStoreProfileOutput | Promise<GetStoreProfileOutput>);
1504
1722
  export declare function defineStoreProfile(profile: StoreProfile): StoreProfile;
1723
+ export declare function defineStoreProfileOutput(profile: StoreProfile): GetStoreProfileOutput;
1505
1724
  export declare function createStoreExtension(provider: StoreProfileProvider): ExtensionDefinition;
1725
+ export {};
1506
1726
  //# sourceMappingURL=store.d.ts.map