@channel.io/app-sdk-core 0.15.6 → 0.16.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 (98) hide show
  1. package/LICENSE +21 -0
  2. package/dist/extensions/alftask.d.ts +18 -1
  3. package/dist/extensions/alftask.d.ts.map +1 -1
  4. package/dist/extensions/alftask.js +25 -0
  5. package/dist/extensions/alftask.js.map +1 -1
  6. package/dist/extensions/apikey.d.ts +6 -6
  7. package/dist/extensions/command.d.ts +1 -1
  8. package/dist/extensions/command.js +1 -1
  9. package/dist/extensions/commerce.d.ts +3079 -0
  10. package/dist/extensions/commerce.d.ts.map +1 -0
  11. package/dist/extensions/commerce.js +115 -0
  12. package/dist/extensions/commerce.js.map +1 -0
  13. package/dist/extensions/config.d.ts +36 -36
  14. package/dist/extensions/datasource.d.ts +22 -22
  15. package/dist/extensions/function-schemas.d.ts +5403 -2060
  16. package/dist/extensions/function-schemas.d.ts.map +1 -1
  17. package/dist/extensions/function-schemas.js +94 -11
  18. package/dist/extensions/function-schemas.js.map +1 -1
  19. package/dist/extensions/hook.d.ts +70 -2
  20. package/dist/extensions/hook.d.ts.map +1 -1
  21. package/dist/extensions/hook.js +9 -1
  22. package/dist/extensions/hook.js.map +1 -1
  23. package/dist/extensions/index.d.ts +7 -5
  24. package/dist/extensions/index.d.ts.map +1 -1
  25. package/dist/extensions/index.js +11 -5
  26. package/dist/extensions/index.js.map +1 -1
  27. package/dist/extensions/interfaces/index.d.ts +1 -0
  28. package/dist/extensions/interfaces/index.d.ts.map +1 -1
  29. package/dist/extensions/interfaces/index.js +1 -0
  30. package/dist/extensions/interfaces/index.js.map +1 -1
  31. package/dist/extensions/interfaces/notebook.d.ts +11 -0
  32. package/dist/extensions/interfaces/notebook.d.ts.map +1 -0
  33. package/dist/extensions/interfaces/notebook.js +4 -0
  34. package/dist/extensions/interfaces/notebook.js.map +1 -0
  35. package/dist/extensions/interfaces/store.d.ts +4 -5
  36. package/dist/extensions/interfaces/store.d.ts.map +1 -1
  37. package/dist/extensions/interfaces/store.js.map +1 -1
  38. package/dist/extensions/notebook.d.ts +742 -0
  39. package/dist/extensions/notebook.d.ts.map +1 -0
  40. package/dist/extensions/notebook.js +71 -0
  41. package/dist/extensions/notebook.js.map +1 -0
  42. package/dist/extensions/oauth.d.ts +38 -0
  43. package/dist/extensions/oauth.d.ts.map +1 -1
  44. package/dist/extensions/oauth.js +16 -0
  45. package/dist/extensions/oauth.js.map +1 -1
  46. package/dist/extensions/order.d.ts +61 -11
  47. package/dist/extensions/order.d.ts.map +1 -1
  48. package/dist/extensions/order.js +18 -1
  49. package/dist/extensions/order.js.map +1 -1
  50. package/dist/extensions/proto-contracts.d.ts +44 -14
  51. package/dist/extensions/proto-contracts.d.ts.map +1 -1
  52. package/dist/extensions/store.d.ts +1143 -1631
  53. package/dist/extensions/store.d.ts.map +1 -1
  54. package/dist/extensions/store.js +48 -114
  55. package/dist/extensions/store.js.map +1 -1
  56. package/dist/extensions/widget.d.ts +1 -1
  57. package/dist/extensions/widget.js +1 -1
  58. package/dist/extensions/wms.d.ts +2359 -57
  59. package/dist/extensions/wms.d.ts.map +1 -1
  60. package/dist/extensions/wms.js +84 -0
  61. package/dist/extensions/wms.js.map +1 -1
  62. package/dist/gen/channel/app/sdk/v1/common.js +1 -1
  63. package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +20 -20
  64. package/dist/gen/channel/app/sdk/v1/context.js +1 -1
  65. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +12 -12
  66. package/dist/gen/channel/app/sdk/v1/error.js +1 -1
  67. package/dist/gen/channel/app/sdk/v1/extension.d.ts +273 -95
  68. package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
  69. package/dist/gen/channel/app/sdk/v1/extension.js +1 -1
  70. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +8071 -3833
  71. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
  72. package/dist/gen/channel/app/sdk/v1/extension.zod.js +249 -87
  73. package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
  74. package/dist/gen/channel/app/sdk/v1/function.js +1 -1
  75. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +12 -12
  76. package/dist/gen/channel/app/sdk/v1/native.d.ts +21 -0
  77. package/dist/gen/channel/app/sdk/v1/native.d.ts.map +1 -1
  78. package/dist/gen/channel/app/sdk/v1/native.js +1 -1
  79. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +99 -14
  80. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -1
  81. package/dist/gen/channel/app/sdk/v1/native.zod.js +21 -0
  82. package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -1
  83. package/dist/gen/google/protobuf/struct.js +1 -1
  84. package/dist/gen/io/channel/datasource/v1/datasource.js +1 -1
  85. package/dist/gen/io/channel/datasource/v1/datasource.zod.d.ts +14 -14
  86. package/dist/schemas/native.d.ts +182 -0
  87. package/dist/schemas/native.d.ts.map +1 -1
  88. package/dist/schemas/native.js +39 -0
  89. package/dist/schemas/native.js.map +1 -1
  90. package/dist/types/extension.d.ts +1 -1
  91. package/dist/types/extension.d.ts.map +1 -1
  92. package/dist/types/message.d.ts +2 -2
  93. package/dist/types/message.d.ts.map +1 -1
  94. package/dist/types/message.js +2 -2
  95. package/dist/types/native.d.ts +35 -0
  96. package/dist/types/native.d.ts.map +1 -1
  97. package/dist/utils/zod-to-json-schema.js.map +1 -1
  98. package/package.json +3 -3
@@ -1,232 +1,34 @@
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
+ import type { StoreFaq as ProtoStoreFaq, StoreGetProfileInput as ProtoGetStoreProfileInput, StoreGetProfileOutput as ProtoGetStoreProfileOutput, StoreProfileImage as ProtoStoreProfileImage, StoreProfileIntro as ProtoStoreProfileIntro, StoreProfileLocalizedContent as ProtoStoreProfileLocalizedContent } from "../gen/channel/app/sdk/v1/extension.js";
3
3
  import type { Context } from "../types/context.js";
4
4
  import type { ExtensionDefinition } from "../types/extension.js";
5
5
  type ProtoBacked<T, Proto> = T & Proto;
6
- export declare const StoreMediaTypeSchema: z.ZodEnum<["image", "video"]>;
7
- export type StoreMediaType = z.infer<typeof StoreMediaTypeSchema>;
8
- export declare const StoreMediaSchema: z.ZodObject<{
9
- type: z.ZodEnum<["image", "video"]>;
10
- url: z.ZodString;
11
- thumbnailUrl: z.ZodOptional<z.ZodString>;
12
- alt: z.ZodOptional<z.ZodString>;
13
- }, "strip", z.ZodTypeAny, {
14
- type: "image" | "video";
15
- url: string;
16
- thumbnailUrl?: string | undefined;
17
- alt?: string | undefined;
18
- }, {
19
- type: "image" | "video";
20
- url: string;
21
- thumbnailUrl?: string | undefined;
22
- alt?: string | undefined;
23
- }>;
24
- export type StoreMedia = ProtoBacked<z.infer<typeof StoreMediaSchema>, ProtoStoreMedia>;
25
- export declare const StoreTargetUserSchema: z.ZodObject<{
6
+ export declare const StoreProfileImageSchema: z.ZodObject<{
26
7
  key: z.ZodString;
27
- label: z.ZodString;
28
- description: z.ZodOptional<z.ZodString>;
29
- }, "strip", z.ZodTypeAny, {
30
- key: string;
31
- label: string;
32
- description?: string | undefined;
33
- }, {
34
- key: string;
35
- label: string;
36
- description?: string | undefined;
37
- }>;
38
- export type StoreTargetUser = ProtoBacked<z.infer<typeof StoreTargetUserSchema>, ProtoStoreTargetUser>;
39
- export declare const StoreUseCaseSchema: z.ZodObject<{
40
- id: z.ZodString;
41
- title: z.ZodString;
42
- description: z.ZodOptional<z.ZodString>;
43
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
- }, "strip", z.ZodTypeAny, {
46
- id: string;
47
- title: string;
48
- description?: string | undefined;
49
- surfaceKeys?: string[] | undefined;
50
- requiredAppIds?: string[] | undefined;
51
- }, {
52
- id: string;
53
- title: string;
54
- description?: string | undefined;
55
- surfaceKeys?: string[] | undefined;
56
- requiredAppIds?: string[] | undefined;
57
- }>;
58
- export type StoreUseCase = ProtoBacked<z.infer<typeof StoreUseCaseSchema>, ProtoStoreUseCase>;
59
- export declare const StoreCapabilitySchema: z.ZodObject<{
60
- key: z.ZodString;
61
- label: z.ZodString;
62
- description: z.ZodOptional<z.ZodString>;
63
- }, "strip", z.ZodTypeAny, {
64
- key: string;
65
- label: string;
66
- description?: string | undefined;
67
- }, {
68
- key: string;
69
- label: string;
70
- description?: string | undefined;
71
- }>;
72
- export type StoreCapability = ProtoBacked<z.infer<typeof StoreCapabilitySchema>, ProtoStoreCapability>;
73
- export declare const StoreSurfaceSchema: z.ZodObject<{
74
- key: z.ZodString;
75
- label: z.ZodString;
76
- description: z.ZodOptional<z.ZodString>;
77
- }, "strip", z.ZodTypeAny, {
78
- key: string;
79
- label: string;
80
- description?: string | undefined;
81
- }, {
82
- key: string;
83
- label: string;
84
- description?: string | undefined;
85
- }>;
86
- export type StoreSurface = ProtoBacked<z.infer<typeof StoreSurfaceSchema>, ProtoStoreSurface>;
87
- export declare const StoreRelationshipTypeSchema: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
88
- export type StoreRelationshipType = z.infer<typeof StoreRelationshipTypeSchema>;
89
- export declare const StoreRelationshipSchema: z.ZodObject<{
90
- type: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
91
- appId: z.ZodString;
92
- label: z.ZodOptional<z.ZodString>;
93
- description: z.ZodOptional<z.ZodString>;
94
- }, "strip", z.ZodTypeAny, {
95
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
96
- appId: string;
97
- description?: string | undefined;
98
- label?: string | undefined;
99
- }, {
100
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
101
- appId: string;
102
- description?: string | undefined;
103
- label?: string | undefined;
104
- }>;
105
- export type StoreRelationship = ProtoBacked<z.infer<typeof StoreRelationshipSchema>, ProtoStoreRelationship>;
106
- export declare const StoreSetupStepSchema: z.ZodObject<{
107
- id: z.ZodString;
108
- title: z.ZodString;
109
- description: z.ZodOptional<z.ZodString>;
110
- externalUrl: z.ZodOptional<z.ZodString>;
111
- }, "strip", z.ZodTypeAny, {
112
- id: string;
113
- title: string;
114
- description?: string | undefined;
115
- externalUrl?: string | undefined;
116
- }, {
117
- id: string;
118
- title: string;
119
- description?: string | undefined;
120
- externalUrl?: string | undefined;
121
- }>;
122
- export type StoreSetupStep = ProtoBacked<z.infer<typeof StoreSetupStepSchema>, ProtoStoreSetupStep>;
123
- export declare const StoreSetupFieldSchema: z.ZodObject<{
124
- key: z.ZodString;
125
- label: z.ZodString;
126
- description: z.ZodOptional<z.ZodString>;
127
- example: z.ZodOptional<z.ZodString>;
128
- helpUrl: z.ZodOptional<z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
8
+ alt: z.ZodOptional<z.ZodString>;
9
+ }, "strict", z.ZodTypeAny, {
130
10
  key: string;
131
- label: string;
132
- description?: string | undefined;
133
- example?: string | undefined;
134
- helpUrl?: string | undefined;
11
+ alt?: string | undefined;
135
12
  }, {
136
13
  key: string;
137
- label: string;
138
- description?: string | undefined;
139
- example?: string | undefined;
140
- helpUrl?: string | undefined;
141
- }>;
142
- export type StoreSetupField = ProtoBacked<z.infer<typeof StoreSetupFieldSchema>, ProtoStoreSetupField>;
143
- export declare const StoreSetupOverviewSchema: z.ZodObject<{
144
- steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
- id: z.ZodString;
146
- title: z.ZodString;
147
- description: z.ZodOptional<z.ZodString>;
148
- externalUrl: z.ZodOptional<z.ZodString>;
149
- }, "strip", z.ZodTypeAny, {
150
- id: string;
151
- title: string;
152
- description?: string | undefined;
153
- externalUrl?: string | undefined;
154
- }, {
155
- id: string;
156
- title: string;
157
- description?: string | undefined;
158
- externalUrl?: string | undefined;
159
- }>, "many">>;
160
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
161
- key: z.ZodString;
162
- label: z.ZodString;
163
- description: z.ZodOptional<z.ZodString>;
164
- example: z.ZodOptional<z.ZodString>;
165
- helpUrl: z.ZodOptional<z.ZodString>;
166
- }, "strip", z.ZodTypeAny, {
167
- key: string;
168
- label: string;
169
- description?: string | undefined;
170
- example?: string | undefined;
171
- helpUrl?: string | undefined;
172
- }, {
173
- key: string;
174
- label: string;
175
- description?: string | undefined;
176
- example?: string | undefined;
177
- helpUrl?: string | undefined;
178
- }>, "many">>;
179
- estimatedTimeText: z.ZodOptional<z.ZodString>;
180
- }, "strip", z.ZodTypeAny, {
181
- fields?: {
182
- key: string;
183
- label: string;
184
- description?: string | undefined;
185
- example?: string | undefined;
186
- helpUrl?: string | undefined;
187
- }[] | undefined;
188
- steps?: {
189
- id: string;
190
- title: string;
191
- description?: string | undefined;
192
- externalUrl?: string | undefined;
193
- }[] | undefined;
194
- estimatedTimeText?: string | undefined;
195
- }, {
196
- fields?: {
197
- key: string;
198
- label: string;
199
- description?: string | undefined;
200
- example?: string | undefined;
201
- helpUrl?: string | undefined;
202
- }[] | undefined;
203
- steps?: {
204
- id: string;
205
- title: string;
206
- description?: string | undefined;
207
- externalUrl?: string | undefined;
208
- }[] | undefined;
209
- estimatedTimeText?: string | undefined;
14
+ alt?: string | undefined;
210
15
  }>;
211
- export type StoreSetupOverview = ProtoBacked<z.infer<typeof StoreSetupOverviewSchema>, ProtoStoreSetupOverview>;
212
- export declare const StoreGuideSectionSchema: z.ZodObject<{
213
- id: z.ZodString;
214
- title: z.ZodString;
215
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
216
- }, "strip", z.ZodTypeAny, {
217
- id: string;
218
- title: string;
219
- blocks?: Record<string, unknown>[] | undefined;
16
+ export type StoreProfileImage = ProtoBacked<z.infer<typeof StoreProfileImageSchema>, ProtoStoreProfileImage>;
17
+ export declare const StoreProfileIntroSchema: z.ZodObject<{
18
+ helpsWith: z.ZodString;
19
+ recommendedFor: z.ZodString;
20
+ }, "strict", z.ZodTypeAny, {
21
+ helpsWith: string;
22
+ recommendedFor: string;
220
23
  }, {
221
- id: string;
222
- title: string;
223
- blocks?: Record<string, unknown>[] | undefined;
24
+ helpsWith: string;
25
+ recommendedFor: string;
224
26
  }>;
225
- export type StoreGuideSection = ProtoBacked<z.infer<typeof StoreGuideSectionSchema>, ProtoStoreGuideSection>;
27
+ export type StoreProfileIntro = ProtoBacked<z.infer<typeof StoreProfileIntroSchema>, ProtoStoreProfileIntro>;
226
28
  export declare const StoreFaqSchema: z.ZodObject<{
227
29
  question: z.ZodString;
228
30
  answer: z.ZodString;
229
- }, "strip", z.ZodTypeAny, {
31
+ }, "strict", z.ZodTypeAny, {
230
32
  question: string;
231
33
  answer: string;
232
34
  }, {
@@ -234,1493 +36,1203 @@ export declare const StoreFaqSchema: z.ZodObject<{
234
36
  answer: string;
235
37
  }>;
236
38
  export type StoreFaq = ProtoBacked<z.infer<typeof StoreFaqSchema>, ProtoStoreFaq>;
237
- export declare const StoreCaseStudySchema: z.ZodObject<{
238
- title: z.ZodString;
239
- summary: z.ZodOptional<z.ZodString>;
240
- url: z.ZodOptional<z.ZodString>;
241
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
- }, "strip", z.ZodTypeAny, {
243
- title: string;
244
- url?: string | undefined;
245
- summary?: string | undefined;
246
- metrics?: string[] | undefined;
247
- }, {
248
- title: string;
249
- url?: string | undefined;
250
- summary?: string | undefined;
251
- metrics?: string[] | undefined;
252
- }>;
253
- export type StoreCaseStudy = ProtoBacked<z.infer<typeof StoreCaseStudySchema>, ProtoStoreCaseStudy>;
254
- export declare const StoreProfileI18nSchema: z.ZodObject<{
255
- headline: z.ZodOptional<z.ZodString>;
256
- summary: z.ZodOptional<z.ZodString>;
257
- targetUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
39
+ export declare const StoreProfileLocalizedContentSchema: z.ZodObject<{
40
+ images: z.ZodArray<z.ZodObject<{
258
41
  key: z.ZodString;
259
- label: z.ZodString;
260
- description: z.ZodOptional<z.ZodString>;
261
- }, "strip", z.ZodTypeAny, {
42
+ alt: z.ZodOptional<z.ZodString>;
43
+ }, "strict", z.ZodTypeAny, {
262
44
  key: string;
263
- label: string;
264
- description?: string | undefined;
45
+ alt?: string | undefined;
265
46
  }, {
266
47
  key: string;
267
- label: string;
268
- description?: string | undefined;
269
- }>, "many">>;
270
- primaryUseCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
- id: z.ZodString;
272
- title: z.ZodString;
273
- description: z.ZodOptional<z.ZodString>;
274
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
275
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
276
- }, "strip", z.ZodTypeAny, {
277
- id: string;
278
- title: string;
279
- description?: string | undefined;
280
- surfaceKeys?: string[] | undefined;
281
- requiredAppIds?: string[] | undefined;
282
- }, {
283
- id: string;
284
- title: string;
285
- description?: string | undefined;
286
- surfaceKeys?: string[] | undefined;
287
- requiredAppIds?: string[] | undefined;
288
- }>, "many">>;
289
- guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
290
- id: z.ZodString;
291
- title: z.ZodString;
292
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
293
- }, "strip", z.ZodTypeAny, {
294
- id: string;
295
- title: string;
296
- blocks?: Record<string, unknown>[] | undefined;
48
+ alt?: string | undefined;
49
+ }>, "many">;
50
+ intro: z.ZodObject<{
51
+ helpsWith: z.ZodString;
52
+ recommendedFor: z.ZodString;
53
+ }, "strict", z.ZodTypeAny, {
54
+ helpsWith: string;
55
+ recommendedFor: string;
297
56
  }, {
298
- id: string;
299
- title: string;
300
- blocks?: Record<string, unknown>[] | undefined;
301
- }>, "many">>;
302
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
57
+ helpsWith: string;
58
+ recommendedFor: string;
59
+ }>;
60
+ faqs: z.ZodArray<z.ZodObject<{
303
61
  question: z.ZodString;
304
62
  answer: z.ZodString;
305
- }, "strip", z.ZodTypeAny, {
63
+ }, "strict", z.ZodTypeAny, {
306
64
  question: string;
307
65
  answer: string;
308
66
  }, {
309
67
  question: string;
310
68
  answer: string;
311
- }>, "many">>;
312
- caseStudy: z.ZodOptional<z.ZodObject<{
313
- title: z.ZodString;
314
- summary: z.ZodOptional<z.ZodString>;
315
- url: z.ZodOptional<z.ZodString>;
316
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
317
- }, "strip", z.ZodTypeAny, {
318
- title: string;
319
- url?: string | undefined;
320
- summary?: string | undefined;
321
- metrics?: string[] | undefined;
322
- }, {
323
- title: string;
324
- url?: string | undefined;
325
- summary?: string | undefined;
326
- metrics?: string[] | undefined;
327
- }>>;
328
- pricingNote: z.ZodOptional<z.ZodString>;
329
- }, "strip", z.ZodTypeAny, {
330
- summary?: string | undefined;
331
- headline?: string | undefined;
332
- targetUsers?: {
69
+ }>, "many">;
70
+ }, "strict", z.ZodTypeAny, {
71
+ images: {
333
72
  key: string;
334
- label: string;
335
- description?: string | undefined;
336
- }[] | undefined;
337
- primaryUseCases?: {
338
- id: string;
339
- title: string;
340
- description?: string | undefined;
341
- surfaceKeys?: string[] | undefined;
342
- requiredAppIds?: string[] | undefined;
343
- }[] | undefined;
344
- guideSections?: {
345
- id: string;
346
- title: string;
347
- blocks?: Record<string, unknown>[] | undefined;
348
- }[] | undefined;
349
- faqs?: {
73
+ alt?: string | undefined;
74
+ }[];
75
+ intro: {
76
+ helpsWith: string;
77
+ recommendedFor: string;
78
+ };
79
+ faqs: {
350
80
  question: string;
351
81
  answer: string;
352
- }[] | undefined;
353
- caseStudy?: {
354
- title: string;
355
- url?: string | undefined;
356
- summary?: string | undefined;
357
- metrics?: string[] | undefined;
358
- } | undefined;
359
- pricingNote?: string | undefined;
82
+ }[];
360
83
  }, {
361
- summary?: string | undefined;
362
- headline?: string | undefined;
363
- targetUsers?: {
84
+ images: {
364
85
  key: string;
365
- label: string;
366
- description?: string | undefined;
367
- }[] | undefined;
368
- primaryUseCases?: {
369
- id: string;
370
- title: string;
371
- description?: string | undefined;
372
- surfaceKeys?: string[] | undefined;
373
- requiredAppIds?: string[] | undefined;
374
- }[] | undefined;
375
- guideSections?: {
376
- id: string;
377
- title: string;
378
- blocks?: Record<string, unknown>[] | undefined;
379
- }[] | undefined;
380
- faqs?: {
86
+ alt?: string | undefined;
87
+ }[];
88
+ intro: {
89
+ helpsWith: string;
90
+ recommendedFor: string;
91
+ };
92
+ faqs: {
381
93
  question: string;
382
94
  answer: string;
383
- }[] | undefined;
384
- caseStudy?: {
385
- title: string;
386
- url?: string | undefined;
387
- summary?: string | undefined;
388
- metrics?: string[] | undefined;
389
- } | undefined;
390
- pricingNote?: string | undefined;
95
+ }[];
391
96
  }>;
392
- export type StoreProfileI18n = ProtoBacked<z.infer<typeof StoreProfileI18nSchema>, ProtoStoreProfileI18n>;
393
- export declare const StoreProfileSchema: z.ZodObject<{
394
- providerName: z.ZodOptional<z.ZodString>;
395
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
396
- headline: z.ZodString;
397
- summary: z.ZodString;
398
- primaryScreenshotUrl: z.ZodString;
399
- targetUsers: z.ZodArray<z.ZodObject<{
400
- key: z.ZodString;
401
- label: z.ZodString;
402
- description: z.ZodOptional<z.ZodString>;
403
- }, "strip", z.ZodTypeAny, {
404
- key: string;
405
- label: string;
406
- description?: string | undefined;
407
- }, {
408
- key: string;
409
- label: string;
410
- description?: string | undefined;
411
- }>, "many">;
412
- primaryUseCases: z.ZodArray<z.ZodObject<{
413
- id: z.ZodString;
414
- title: z.ZodString;
415
- description: z.ZodOptional<z.ZodString>;
416
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
417
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
418
- }, "strip", z.ZodTypeAny, {
419
- id: string;
420
- title: string;
421
- description?: string | undefined;
422
- surfaceKeys?: string[] | undefined;
423
- requiredAppIds?: string[] | undefined;
97
+ export type StoreProfileLocalizedContent = ProtoBacked<z.infer<typeof StoreProfileLocalizedContentSchema>, ProtoStoreProfileLocalizedContent>;
98
+ export declare const StoreProfileMetadataSchema: z.ZodObject<{
99
+ relatedAppIds: z.ZodArray<z.ZodString, "many">;
100
+ i18nMap: z.ZodObject<{
101
+ ko: z.ZodObject<{
102
+ images: z.ZodArray<z.ZodObject<{
103
+ key: z.ZodString;
104
+ alt: z.ZodOptional<z.ZodString>;
105
+ }, "strict", z.ZodTypeAny, {
106
+ key: string;
107
+ alt?: string | undefined;
108
+ }, {
109
+ key: string;
110
+ alt?: string | undefined;
111
+ }>, "many">;
112
+ intro: z.ZodObject<{
113
+ helpsWith: z.ZodString;
114
+ recommendedFor: z.ZodString;
115
+ }, "strict", z.ZodTypeAny, {
116
+ helpsWith: string;
117
+ recommendedFor: string;
118
+ }, {
119
+ helpsWith: string;
120
+ recommendedFor: string;
121
+ }>;
122
+ faqs: z.ZodArray<z.ZodObject<{
123
+ question: z.ZodString;
124
+ answer: z.ZodString;
125
+ }, "strict", z.ZodTypeAny, {
126
+ question: string;
127
+ answer: string;
128
+ }, {
129
+ question: string;
130
+ answer: string;
131
+ }>, "many">;
132
+ }, "strict", z.ZodTypeAny, {
133
+ images: {
134
+ key: string;
135
+ alt?: string | undefined;
136
+ }[];
137
+ intro: {
138
+ helpsWith: string;
139
+ recommendedFor: string;
140
+ };
141
+ faqs: {
142
+ question: string;
143
+ answer: string;
144
+ }[];
145
+ }, {
146
+ images: {
147
+ key: string;
148
+ alt?: string | undefined;
149
+ }[];
150
+ intro: {
151
+ helpsWith: string;
152
+ recommendedFor: string;
153
+ };
154
+ faqs: {
155
+ question: string;
156
+ answer: string;
157
+ }[];
158
+ }>;
159
+ ja: z.ZodObject<{
160
+ images: z.ZodArray<z.ZodObject<{
161
+ key: z.ZodString;
162
+ alt: z.ZodOptional<z.ZodString>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ key: string;
165
+ alt?: string | undefined;
166
+ }, {
167
+ key: string;
168
+ alt?: string | undefined;
169
+ }>, "many">;
170
+ intro: z.ZodObject<{
171
+ helpsWith: z.ZodString;
172
+ recommendedFor: z.ZodString;
173
+ }, "strict", z.ZodTypeAny, {
174
+ helpsWith: string;
175
+ recommendedFor: string;
176
+ }, {
177
+ helpsWith: string;
178
+ recommendedFor: string;
179
+ }>;
180
+ faqs: z.ZodArray<z.ZodObject<{
181
+ question: z.ZodString;
182
+ answer: z.ZodString;
183
+ }, "strict", z.ZodTypeAny, {
184
+ question: string;
185
+ answer: string;
186
+ }, {
187
+ question: string;
188
+ answer: string;
189
+ }>, "many">;
190
+ }, "strict", z.ZodTypeAny, {
191
+ images: {
192
+ key: string;
193
+ alt?: string | undefined;
194
+ }[];
195
+ intro: {
196
+ helpsWith: string;
197
+ recommendedFor: string;
198
+ };
199
+ faqs: {
200
+ question: string;
201
+ answer: string;
202
+ }[];
203
+ }, {
204
+ images: {
205
+ key: string;
206
+ alt?: string | undefined;
207
+ }[];
208
+ intro: {
209
+ helpsWith: string;
210
+ recommendedFor: string;
211
+ };
212
+ faqs: {
213
+ question: string;
214
+ answer: string;
215
+ }[];
216
+ }>;
217
+ en: z.ZodObject<{
218
+ images: z.ZodArray<z.ZodObject<{
219
+ key: z.ZodString;
220
+ alt: z.ZodOptional<z.ZodString>;
221
+ }, "strict", z.ZodTypeAny, {
222
+ key: string;
223
+ alt?: string | undefined;
224
+ }, {
225
+ key: string;
226
+ alt?: string | undefined;
227
+ }>, "many">;
228
+ intro: z.ZodObject<{
229
+ helpsWith: z.ZodString;
230
+ recommendedFor: z.ZodString;
231
+ }, "strict", z.ZodTypeAny, {
232
+ helpsWith: string;
233
+ recommendedFor: string;
234
+ }, {
235
+ helpsWith: string;
236
+ recommendedFor: string;
237
+ }>;
238
+ faqs: z.ZodArray<z.ZodObject<{
239
+ question: z.ZodString;
240
+ answer: z.ZodString;
241
+ }, "strict", z.ZodTypeAny, {
242
+ question: string;
243
+ answer: string;
244
+ }, {
245
+ question: string;
246
+ answer: string;
247
+ }>, "many">;
248
+ }, "strict", z.ZodTypeAny, {
249
+ images: {
250
+ key: string;
251
+ alt?: string | undefined;
252
+ }[];
253
+ intro: {
254
+ helpsWith: string;
255
+ recommendedFor: string;
256
+ };
257
+ faqs: {
258
+ question: string;
259
+ answer: string;
260
+ }[];
261
+ }, {
262
+ images: {
263
+ key: string;
264
+ alt?: string | undefined;
265
+ }[];
266
+ intro: {
267
+ helpsWith: string;
268
+ recommendedFor: string;
269
+ };
270
+ faqs: {
271
+ question: string;
272
+ answer: string;
273
+ }[];
274
+ }>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ ko: {
277
+ images: {
278
+ key: string;
279
+ alt?: string | undefined;
280
+ }[];
281
+ intro: {
282
+ helpsWith: string;
283
+ recommendedFor: string;
284
+ };
285
+ faqs: {
286
+ question: string;
287
+ answer: string;
288
+ }[];
289
+ };
290
+ ja: {
291
+ images: {
292
+ key: string;
293
+ alt?: string | undefined;
294
+ }[];
295
+ intro: {
296
+ helpsWith: string;
297
+ recommendedFor: string;
298
+ };
299
+ faqs: {
300
+ question: string;
301
+ answer: string;
302
+ }[];
303
+ };
304
+ en: {
305
+ images: {
306
+ key: string;
307
+ alt?: string | undefined;
308
+ }[];
309
+ intro: {
310
+ helpsWith: string;
311
+ recommendedFor: string;
312
+ };
313
+ faqs: {
314
+ question: string;
315
+ answer: string;
316
+ }[];
317
+ };
424
318
  }, {
425
- id: string;
426
- title: string;
427
- description?: string | undefined;
428
- surfaceKeys?: string[] | undefined;
429
- requiredAppIds?: string[] | undefined;
430
- }>, "many">;
431
- media: z.ZodArray<z.ZodObject<{
432
- type: z.ZodEnum<["image", "video"]>;
433
- url: z.ZodString;
434
- thumbnailUrl: z.ZodOptional<z.ZodString>;
319
+ ko: {
320
+ images: {
321
+ key: string;
322
+ alt?: string | undefined;
323
+ }[];
324
+ intro: {
325
+ helpsWith: string;
326
+ recommendedFor: string;
327
+ };
328
+ faqs: {
329
+ question: string;
330
+ answer: string;
331
+ }[];
332
+ };
333
+ ja: {
334
+ images: {
335
+ key: string;
336
+ alt?: string | undefined;
337
+ }[];
338
+ intro: {
339
+ helpsWith: string;
340
+ recommendedFor: string;
341
+ };
342
+ faqs: {
343
+ question: string;
344
+ answer: string;
345
+ }[];
346
+ };
347
+ en: {
348
+ images: {
349
+ key: string;
350
+ alt?: string | undefined;
351
+ }[];
352
+ intro: {
353
+ helpsWith: string;
354
+ recommendedFor: string;
355
+ };
356
+ faqs: {
357
+ question: string;
358
+ answer: string;
359
+ }[];
360
+ };
361
+ }>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ relatedAppIds: string[];
364
+ i18nMap: {
365
+ ko: {
366
+ images: {
367
+ key: string;
368
+ alt?: string | undefined;
369
+ }[];
370
+ intro: {
371
+ helpsWith: string;
372
+ recommendedFor: string;
373
+ };
374
+ faqs: {
375
+ question: string;
376
+ answer: string;
377
+ }[];
378
+ };
379
+ ja: {
380
+ images: {
381
+ key: string;
382
+ alt?: string | undefined;
383
+ }[];
384
+ intro: {
385
+ helpsWith: string;
386
+ recommendedFor: string;
387
+ };
388
+ faqs: {
389
+ question: string;
390
+ answer: string;
391
+ }[];
392
+ };
393
+ en: {
394
+ images: {
395
+ key: string;
396
+ alt?: string | undefined;
397
+ }[];
398
+ intro: {
399
+ helpsWith: string;
400
+ recommendedFor: string;
401
+ };
402
+ faqs: {
403
+ question: string;
404
+ answer: string;
405
+ }[];
406
+ };
407
+ };
408
+ }, {
409
+ relatedAppIds: string[];
410
+ i18nMap: {
411
+ ko: {
412
+ images: {
413
+ key: string;
414
+ alt?: string | undefined;
415
+ }[];
416
+ intro: {
417
+ helpsWith: string;
418
+ recommendedFor: string;
419
+ };
420
+ faqs: {
421
+ question: string;
422
+ answer: string;
423
+ }[];
424
+ };
425
+ ja: {
426
+ images: {
427
+ key: string;
428
+ alt?: string | undefined;
429
+ }[];
430
+ intro: {
431
+ helpsWith: string;
432
+ recommendedFor: string;
433
+ };
434
+ faqs: {
435
+ question: string;
436
+ answer: string;
437
+ }[];
438
+ };
439
+ en: {
440
+ images: {
441
+ key: string;
442
+ alt?: string | undefined;
443
+ }[];
444
+ intro: {
445
+ helpsWith: string;
446
+ recommendedFor: string;
447
+ };
448
+ faqs: {
449
+ question: string;
450
+ answer: string;
451
+ }[];
452
+ };
453
+ };
454
+ }>;
455
+ export type StoreProfileMetadata = ProtoBacked<z.infer<typeof StoreProfileMetadataSchema>, ProtoGetStoreProfileOutput>;
456
+ export declare const StoreProfileI18nSchema: z.ZodObject<{
457
+ images: z.ZodArray<z.ZodObject<{
458
+ key: z.ZodString;
435
459
  alt: z.ZodOptional<z.ZodString>;
436
- }, "strip", z.ZodTypeAny, {
437
- type: "image" | "video";
438
- url: string;
439
- thumbnailUrl?: string | undefined;
460
+ }, "strict", z.ZodTypeAny, {
461
+ key: string;
440
462
  alt?: string | undefined;
441
463
  }, {
442
- type: "image" | "video";
443
- url: string;
444
- thumbnailUrl?: string | undefined;
464
+ key: string;
445
465
  alt?: string | undefined;
446
466
  }>, "many">;
447
- capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
448
- key: z.ZodString;
449
- label: z.ZodString;
450
- description: z.ZodOptional<z.ZodString>;
451
- }, "strip", z.ZodTypeAny, {
452
- key: string;
453
- label: string;
454
- description?: string | undefined;
455
- }, {
456
- key: string;
457
- label: string;
458
- description?: string | undefined;
459
- }>, "many">>;
460
- surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
461
- key: z.ZodString;
462
- label: z.ZodString;
463
- description: z.ZodOptional<z.ZodString>;
464
- }, "strip", z.ZodTypeAny, {
465
- key: string;
466
- label: string;
467
- description?: string | undefined;
468
- }, {
469
- key: string;
470
- label: string;
471
- description?: string | undefined;
472
- }>, "many">>;
473
- relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
474
- type: z.ZodEnum<["dependsOn", "worksBestWith", "alternative", "replaces", "requiredBy"]>;
475
- appId: z.ZodString;
476
- label: z.ZodOptional<z.ZodString>;
477
- description: z.ZodOptional<z.ZodString>;
478
- }, "strip", z.ZodTypeAny, {
479
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
480
- appId: string;
481
- description?: string | undefined;
482
- label?: string | undefined;
483
- }, {
484
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
485
- appId: string;
486
- description?: string | undefined;
487
- label?: string | undefined;
488
- }>, "many">>;
489
- setupOverview: z.ZodOptional<z.ZodObject<{
490
- steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
491
- id: z.ZodString;
492
- title: z.ZodString;
493
- description: z.ZodOptional<z.ZodString>;
494
- externalUrl: z.ZodOptional<z.ZodString>;
495
- }, "strip", z.ZodTypeAny, {
496
- id: string;
497
- title: string;
498
- description?: string | undefined;
499
- externalUrl?: string | undefined;
500
- }, {
501
- id: string;
502
- title: string;
503
- description?: string | undefined;
504
- externalUrl?: string | undefined;
505
- }>, "many">>;
506
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
507
- key: z.ZodString;
508
- label: z.ZodString;
509
- description: z.ZodOptional<z.ZodString>;
510
- example: z.ZodOptional<z.ZodString>;
511
- helpUrl: z.ZodOptional<z.ZodString>;
512
- }, "strip", z.ZodTypeAny, {
513
- key: string;
514
- label: string;
515
- description?: string | undefined;
516
- example?: string | undefined;
517
- helpUrl?: string | undefined;
518
- }, {
519
- key: string;
520
- label: string;
521
- description?: string | undefined;
522
- example?: string | undefined;
523
- helpUrl?: string | undefined;
524
- }>, "many">>;
525
- estimatedTimeText: z.ZodOptional<z.ZodString>;
526
- }, "strip", z.ZodTypeAny, {
527
- fields?: {
528
- key: string;
529
- label: string;
530
- description?: string | undefined;
531
- example?: string | undefined;
532
- helpUrl?: string | undefined;
533
- }[] | undefined;
534
- steps?: {
535
- id: string;
536
- title: string;
537
- description?: string | undefined;
538
- externalUrl?: string | undefined;
539
- }[] | undefined;
540
- estimatedTimeText?: string | undefined;
541
- }, {
542
- fields?: {
543
- key: string;
544
- label: string;
545
- description?: string | undefined;
546
- example?: string | undefined;
547
- helpUrl?: string | undefined;
548
- }[] | undefined;
549
- steps?: {
550
- id: string;
551
- title: string;
552
- description?: string | undefined;
553
- externalUrl?: string | undefined;
554
- }[] | undefined;
555
- estimatedTimeText?: string | undefined;
556
- }>>;
557
- guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
558
- id: z.ZodString;
559
- title: z.ZodString;
560
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
561
- }, "strip", z.ZodTypeAny, {
562
- id: string;
563
- title: string;
564
- blocks?: Record<string, unknown>[] | undefined;
467
+ intro: z.ZodObject<{
468
+ helpsWith: z.ZodString;
469
+ recommendedFor: z.ZodString;
470
+ }, "strict", z.ZodTypeAny, {
471
+ helpsWith: string;
472
+ recommendedFor: string;
565
473
  }, {
566
- id: string;
567
- title: string;
568
- blocks?: Record<string, unknown>[] | undefined;
569
- }>, "many">>;
570
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
474
+ helpsWith: string;
475
+ recommendedFor: string;
476
+ }>;
477
+ faqs: z.ZodArray<z.ZodObject<{
571
478
  question: z.ZodString;
572
479
  answer: z.ZodString;
573
- }, "strip", z.ZodTypeAny, {
480
+ }, "strict", z.ZodTypeAny, {
574
481
  question: string;
575
482
  answer: string;
576
483
  }, {
577
484
  question: string;
578
485
  answer: string;
579
- }>, "many">>;
580
- externalGuideUrl: z.ZodOptional<z.ZodString>;
581
- caseStudy: z.ZodOptional<z.ZodObject<{
582
- title: z.ZodString;
583
- summary: z.ZodOptional<z.ZodString>;
584
- url: z.ZodOptional<z.ZodString>;
585
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
586
- }, "strip", z.ZodTypeAny, {
587
- title: string;
588
- url?: string | undefined;
589
- summary?: string | undefined;
590
- metrics?: string[] | undefined;
591
- }, {
592
- title: string;
593
- url?: string | undefined;
594
- summary?: string | undefined;
595
- metrics?: string[] | undefined;
596
- }>>;
597
- pricingNote: z.ZodOptional<z.ZodString>;
598
- i18nMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
599
- headline: z.ZodOptional<z.ZodString>;
600
- summary: z.ZodOptional<z.ZodString>;
601
- targetUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
602
- key: z.ZodString;
603
- label: z.ZodString;
604
- description: z.ZodOptional<z.ZodString>;
605
- }, "strip", z.ZodTypeAny, {
606
- key: string;
607
- label: string;
608
- description?: string | undefined;
609
- }, {
610
- key: string;
611
- label: string;
612
- description?: string | undefined;
613
- }>, "many">>;
614
- primaryUseCases: z.ZodOptional<z.ZodArray<z.ZodObject<{
615
- id: z.ZodString;
616
- title: z.ZodString;
617
- description: z.ZodOptional<z.ZodString>;
618
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
619
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
620
- }, "strip", z.ZodTypeAny, {
621
- id: string;
622
- title: string;
623
- description?: string | undefined;
624
- surfaceKeys?: string[] | undefined;
625
- requiredAppIds?: string[] | undefined;
626
- }, {
627
- id: string;
628
- title: string;
629
- description?: string | undefined;
630
- surfaceKeys?: string[] | undefined;
631
- requiredAppIds?: string[] | undefined;
632
- }>, "many">>;
633
- guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
634
- id: z.ZodString;
635
- title: z.ZodString;
636
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
637
- }, "strip", z.ZodTypeAny, {
638
- id: string;
639
- title: string;
640
- blocks?: Record<string, unknown>[] | undefined;
641
- }, {
642
- id: string;
643
- title: string;
644
- blocks?: Record<string, unknown>[] | undefined;
645
- }>, "many">>;
646
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
647
- question: z.ZodString;
648
- answer: z.ZodString;
649
- }, "strip", z.ZodTypeAny, {
650
- question: string;
651
- answer: string;
652
- }, {
653
- question: string;
654
- answer: string;
655
- }>, "many">>;
656
- caseStudy: z.ZodOptional<z.ZodObject<{
657
- title: z.ZodString;
658
- summary: z.ZodOptional<z.ZodString>;
659
- url: z.ZodOptional<z.ZodString>;
660
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
661
- }, "strip", z.ZodTypeAny, {
662
- title: string;
663
- url?: string | undefined;
664
- summary?: string | undefined;
665
- metrics?: string[] | undefined;
666
- }, {
667
- title: string;
668
- url?: string | undefined;
669
- summary?: string | undefined;
670
- metrics?: string[] | undefined;
671
- }>>;
672
- pricingNote: z.ZodOptional<z.ZodString>;
673
- }, "strip", z.ZodTypeAny, {
674
- summary?: string | undefined;
675
- headline?: string | undefined;
676
- targetUsers?: {
677
- key: string;
678
- label: string;
679
- description?: string | undefined;
680
- }[] | undefined;
681
- primaryUseCases?: {
682
- id: string;
683
- title: string;
684
- description?: string | undefined;
685
- surfaceKeys?: string[] | undefined;
686
- requiredAppIds?: string[] | undefined;
687
- }[] | undefined;
688
- guideSections?: {
689
- id: string;
690
- title: string;
691
- blocks?: Record<string, unknown>[] | undefined;
692
- }[] | undefined;
693
- faqs?: {
694
- question: string;
695
- answer: string;
696
- }[] | undefined;
697
- caseStudy?: {
698
- title: string;
699
- url?: string | undefined;
700
- summary?: string | undefined;
701
- metrics?: string[] | undefined;
702
- } | undefined;
703
- pricingNote?: string | undefined;
704
- }, {
705
- summary?: string | undefined;
706
- headline?: string | undefined;
707
- targetUsers?: {
708
- key: string;
709
- label: string;
710
- description?: string | undefined;
711
- }[] | undefined;
712
- primaryUseCases?: {
713
- id: string;
714
- title: string;
715
- description?: string | undefined;
716
- surfaceKeys?: string[] | undefined;
717
- requiredAppIds?: string[] | undefined;
718
- }[] | undefined;
719
- guideSections?: {
720
- id: string;
721
- title: string;
722
- blocks?: Record<string, unknown>[] | undefined;
723
- }[] | undefined;
724
- faqs?: {
725
- question: string;
726
- answer: string;
727
- }[] | undefined;
728
- caseStudy?: {
729
- title: string;
730
- url?: string | undefined;
731
- summary?: string | undefined;
732
- metrics?: string[] | undefined;
733
- } | undefined;
734
- pricingNote?: string | undefined;
735
- }>>>;
736
- }, "strip", z.ZodTypeAny, {
737
- media: {
738
- type: "image" | "video";
739
- url: string;
740
- thumbnailUrl?: string | undefined;
741
- alt?: string | undefined;
742
- }[];
743
- summary: string;
744
- headline: string;
745
- targetUsers: {
486
+ }>, "many">;
487
+ }, "strict", z.ZodTypeAny, {
488
+ images: {
746
489
  key: string;
747
- label: string;
748
- description?: string | undefined;
749
- }[];
750
- primaryUseCases: {
751
- id: string;
752
- title: string;
753
- description?: string | undefined;
754
- surfaceKeys?: string[] | undefined;
755
- requiredAppIds?: string[] | undefined;
490
+ alt?: string | undefined;
756
491
  }[];
757
- primaryScreenshotUrl: string;
758
- providerName?: string | undefined;
759
- guideSections?: {
760
- id: string;
761
- title: string;
762
- blocks?: Record<string, unknown>[] | undefined;
763
- }[] | undefined;
764
- faqs?: {
492
+ intro: {
493
+ helpsWith: string;
494
+ recommendedFor: string;
495
+ };
496
+ faqs: {
765
497
  question: string;
766
498
  answer: string;
767
- }[] | undefined;
768
- caseStudy?: {
769
- title: string;
770
- url?: string | undefined;
771
- summary?: string | undefined;
772
- metrics?: string[] | undefined;
773
- } | undefined;
774
- pricingNote?: string | undefined;
775
- categories?: string[] | undefined;
776
- capabilities?: {
777
- key: string;
778
- label: string;
779
- description?: string | undefined;
780
- }[] | undefined;
781
- surfaces?: {
782
- key: string;
783
- label: string;
784
- description?: string | undefined;
785
- }[] | undefined;
786
- relationships?: {
787
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
788
- appId: string;
789
- description?: string | undefined;
790
- label?: string | undefined;
791
- }[] | undefined;
792
- setupOverview?: {
793
- fields?: {
794
- key: string;
795
- label: string;
796
- description?: string | undefined;
797
- example?: string | undefined;
798
- helpUrl?: string | undefined;
799
- }[] | undefined;
800
- steps?: {
801
- id: string;
802
- title: string;
803
- description?: string | undefined;
804
- externalUrl?: string | undefined;
805
- }[] | undefined;
806
- estimatedTimeText?: string | undefined;
807
- } | undefined;
808
- externalGuideUrl?: string | undefined;
809
- i18nMap?: Record<string, {
810
- summary?: string | undefined;
811
- headline?: string | undefined;
812
- targetUsers?: {
813
- key: string;
814
- label: string;
815
- description?: string | undefined;
816
- }[] | undefined;
817
- primaryUseCases?: {
818
- id: string;
819
- title: string;
820
- description?: string | undefined;
821
- surfaceKeys?: string[] | undefined;
822
- requiredAppIds?: string[] | undefined;
823
- }[] | undefined;
824
- guideSections?: {
825
- id: string;
826
- title: string;
827
- blocks?: Record<string, unknown>[] | undefined;
828
- }[] | undefined;
829
- faqs?: {
830
- question: string;
831
- answer: string;
832
- }[] | undefined;
833
- caseStudy?: {
834
- title: string;
835
- url?: string | undefined;
836
- summary?: string | undefined;
837
- metrics?: string[] | undefined;
838
- } | undefined;
839
- pricingNote?: string | undefined;
840
- }> | undefined;
841
- }, {
842
- media: {
843
- type: "image" | "video";
844
- url: string;
845
- thumbnailUrl?: string | undefined;
846
- alt?: string | undefined;
847
499
  }[];
848
- summary: string;
849
- headline: string;
850
- targetUsers: {
500
+ }, {
501
+ images: {
851
502
  key: string;
852
- label: string;
853
- description?: string | undefined;
854
- }[];
855
- primaryUseCases: {
856
- id: string;
857
- title: string;
858
- description?: string | undefined;
859
- surfaceKeys?: string[] | undefined;
860
- requiredAppIds?: string[] | undefined;
503
+ alt?: string | undefined;
861
504
  }[];
862
- primaryScreenshotUrl: string;
863
- providerName?: string | undefined;
864
- guideSections?: {
865
- id: string;
866
- title: string;
867
- blocks?: Record<string, unknown>[] | undefined;
868
- }[] | undefined;
869
- faqs?: {
505
+ intro: {
506
+ helpsWith: string;
507
+ recommendedFor: string;
508
+ };
509
+ faqs: {
870
510
  question: string;
871
511
  answer: string;
872
- }[] | undefined;
873
- caseStudy?: {
874
- title: string;
875
- url?: string | undefined;
876
- summary?: string | undefined;
877
- metrics?: string[] | undefined;
878
- } | undefined;
879
- pricingNote?: string | undefined;
880
- categories?: string[] | undefined;
881
- capabilities?: {
882
- key: string;
883
- label: string;
884
- description?: string | undefined;
885
- }[] | undefined;
886
- surfaces?: {
887
- key: string;
888
- label: string;
889
- description?: string | undefined;
890
- }[] | undefined;
891
- relationships?: {
892
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
893
- appId: string;
894
- description?: string | undefined;
895
- label?: string | undefined;
896
- }[] | undefined;
897
- setupOverview?: {
898
- fields?: {
899
- key: string;
900
- label: string;
901
- description?: string | undefined;
902
- example?: string | undefined;
903
- helpUrl?: string | undefined;
904
- }[] | undefined;
905
- steps?: {
906
- id: string;
907
- title: string;
908
- description?: string | undefined;
909
- externalUrl?: string | undefined;
910
- }[] | undefined;
911
- estimatedTimeText?: string | undefined;
912
- } | undefined;
913
- externalGuideUrl?: string | undefined;
914
- i18nMap?: Record<string, {
915
- summary?: string | undefined;
916
- headline?: string | undefined;
917
- targetUsers?: {
918
- key: string;
919
- label: string;
920
- description?: string | undefined;
921
- }[] | undefined;
922
- primaryUseCases?: {
923
- id: string;
924
- title: string;
925
- description?: string | undefined;
926
- surfaceKeys?: string[] | undefined;
927
- requiredAppIds?: string[] | undefined;
928
- }[] | undefined;
929
- guideSections?: {
930
- id: string;
931
- title: string;
932
- blocks?: Record<string, unknown>[] | undefined;
933
- }[] | undefined;
934
- faqs?: {
935
- question: string;
936
- answer: string;
937
- }[] | undefined;
938
- caseStudy?: {
939
- title: string;
940
- url?: string | undefined;
941
- summary?: string | undefined;
942
- metrics?: string[] | undefined;
943
- } | undefined;
944
- pricingNote?: string | undefined;
945
- }> | undefined;
512
+ }[];
946
513
  }>;
947
- export type StoreProfile = ProtoBacked<z.infer<typeof StoreProfileSchema>, ProtoStoreProfile>;
948
- export declare const GetStoreProfileInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
949
- export type GetStoreProfileInput = ProtoBacked<z.infer<typeof GetStoreProfileInputSchema>, ProtoGetStoreProfileInput>;
950
- export declare const GetStoreProfileOutputSchema: 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
- key: string;
963
- label: string;
964
- description?: string | undefined;
965
- }, {
966
- key: string;
967
- label: string;
968
- description?: string | undefined;
969
- }>, "many">;
970
- primaryUseCases: z.ZodArray<z.ZodObject<{
971
- id: z.ZodString;
972
- title: z.ZodString;
973
- description: z.ZodOptional<z.ZodString>;
974
- surfaceKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
975
- requiredAppIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
976
- }, "strip", z.ZodTypeAny, {
977
- id: string;
978
- title: string;
979
- description?: string | undefined;
980
- surfaceKeys?: string[] | undefined;
981
- requiredAppIds?: string[] | undefined;
982
- }, {
983
- id: string;
984
- title: string;
985
- description?: string | undefined;
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<{
1006
- key: z.ZodString;
1007
- label: z.ZodString;
1008
- description: z.ZodOptional<z.ZodString>;
1009
- }, "strip", z.ZodTypeAny, {
1010
- key: string;
1011
- label: string;
1012
- description?: string | undefined;
1013
- }, {
1014
- key: string;
1015
- label: string;
1016
- description?: string | undefined;
1017
- }>, "many">>;
1018
- surfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1019
- key: z.ZodString;
1020
- label: z.ZodString;
1021
- description: z.ZodOptional<z.ZodString>;
1022
- }, "strip", z.ZodTypeAny, {
1023
- key: string;
1024
- label: string;
1025
- description?: string | undefined;
1026
- }, {
1027
- key: string;
1028
- label: string;
1029
- description?: string | undefined;
1030
- }>, "many">>;
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>;
1035
- description: z.ZodOptional<z.ZodString>;
1036
- }, "strip", z.ZodTypeAny, {
1037
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1038
- appId: string;
1039
- description?: string | undefined;
1040
- label?: string | undefined;
1041
- }, {
1042
- type: "dependsOn" | "worksBestWith" | "alternative" | "replaces" | "requiredBy";
1043
- appId: string;
1044
- description?: string | undefined;
1045
- label?: string | undefined;
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<{
514
+ export type StoreProfileI18n = StoreProfileLocalizedContent;
515
+ export declare const StoreProfileSchema: z.ZodObject<{
516
+ relatedAppIds: z.ZodArray<z.ZodString, "many">;
517
+ i18nMap: z.ZodObject<{
518
+ ko: z.ZodObject<{
519
+ images: z.ZodArray<z.ZodObject<{
1065
520
  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
- key: string;
1072
- label: string;
1073
- description?: string | undefined;
1074
- example?: string | undefined;
1075
- helpUrl?: string | undefined;
521
+ alt: z.ZodOptional<z.ZodString>;
522
+ }, "strict", z.ZodTypeAny, {
523
+ key: string;
524
+ alt?: string | undefined;
1076
525
  }, {
1077
526
  key: string;
1078
- label: 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
- key: string;
1087
- label: 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
- key: string;
1102
- label: 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
- }>>;
1115
- guideSections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1116
- id: z.ZodString;
1117
- title: z.ZodString;
1118
- blocks: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
1119
- }, "strip", z.ZodTypeAny, {
1120
- id: string;
1121
- title: string;
1122
- blocks?: Record<string, unknown>[] | undefined;
527
+ alt?: string | undefined;
528
+ }>, "many">;
529
+ intro: z.ZodObject<{
530
+ helpsWith: z.ZodString;
531
+ recommendedFor: z.ZodString;
532
+ }, "strict", z.ZodTypeAny, {
533
+ helpsWith: string;
534
+ recommendedFor: string;
535
+ }, {
536
+ helpsWith: string;
537
+ recommendedFor: string;
538
+ }>;
539
+ faqs: z.ZodArray<z.ZodObject<{
540
+ question: z.ZodString;
541
+ answer: z.ZodString;
542
+ }, "strict", z.ZodTypeAny, {
543
+ question: string;
544
+ answer: string;
545
+ }, {
546
+ question: string;
547
+ answer: string;
548
+ }>, "many">;
549
+ }, "strict", z.ZodTypeAny, {
550
+ images: {
551
+ key: string;
552
+ alt?: string | undefined;
553
+ }[];
554
+ intro: {
555
+ helpsWith: string;
556
+ recommendedFor: string;
557
+ };
558
+ faqs: {
559
+ question: string;
560
+ answer: string;
561
+ }[];
1123
562
  }, {
1124
- id: string;
1125
- title: string;
1126
- blocks?: Record<string, unknown>[] | undefined;
1127
- }>, "many">>;
1128
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1129
- question: z.ZodString;
1130
- answer: z.ZodString;
1131
- }, "strip", z.ZodTypeAny, {
1132
- question: string;
1133
- answer: string;
563
+ images: {
564
+ key: string;
565
+ alt?: string | undefined;
566
+ }[];
567
+ intro: {
568
+ helpsWith: string;
569
+ recommendedFor: string;
570
+ };
571
+ faqs: {
572
+ question: string;
573
+ answer: string;
574
+ }[];
575
+ }>;
576
+ ja: z.ZodObject<{
577
+ images: z.ZodArray<z.ZodObject<{
578
+ key: z.ZodString;
579
+ alt: z.ZodOptional<z.ZodString>;
580
+ }, "strict", z.ZodTypeAny, {
581
+ key: string;
582
+ alt?: string | undefined;
583
+ }, {
584
+ key: string;
585
+ alt?: string | undefined;
586
+ }>, "many">;
587
+ intro: z.ZodObject<{
588
+ helpsWith: z.ZodString;
589
+ recommendedFor: z.ZodString;
590
+ }, "strict", z.ZodTypeAny, {
591
+ helpsWith: string;
592
+ recommendedFor: string;
593
+ }, {
594
+ helpsWith: string;
595
+ recommendedFor: string;
596
+ }>;
597
+ faqs: z.ZodArray<z.ZodObject<{
598
+ question: z.ZodString;
599
+ answer: z.ZodString;
600
+ }, "strict", z.ZodTypeAny, {
601
+ question: string;
602
+ answer: string;
603
+ }, {
604
+ question: string;
605
+ answer: string;
606
+ }>, "many">;
607
+ }, "strict", z.ZodTypeAny, {
608
+ images: {
609
+ key: string;
610
+ alt?: string | undefined;
611
+ }[];
612
+ intro: {
613
+ helpsWith: string;
614
+ recommendedFor: string;
615
+ };
616
+ faqs: {
617
+ question: string;
618
+ answer: string;
619
+ }[];
1134
620
  }, {
1135
- question: string;
1136
- answer: string;
1137
- }>, "many">>;
1138
- externalGuideUrl: z.ZodOptional<z.ZodString>;
1139
- caseStudy: z.ZodOptional<z.ZodObject<{
1140
- title: z.ZodString;
1141
- summary: z.ZodOptional<z.ZodString>;
1142
- url: z.ZodOptional<z.ZodString>;
1143
- metrics: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1144
- }, "strip", z.ZodTypeAny, {
1145
- title: string;
1146
- url?: string | undefined;
1147
- summary?: string | undefined;
1148
- metrics?: string[] | undefined;
621
+ images: {
622
+ key: string;
623
+ alt?: string | undefined;
624
+ }[];
625
+ intro: {
626
+ helpsWith: string;
627
+ recommendedFor: string;
628
+ };
629
+ faqs: {
630
+ question: string;
631
+ answer: string;
632
+ }[];
633
+ }>;
634
+ en: z.ZodObject<{
635
+ images: z.ZodArray<z.ZodObject<{
636
+ key: z.ZodString;
637
+ alt: z.ZodOptional<z.ZodString>;
638
+ }, "strict", z.ZodTypeAny, {
639
+ key: string;
640
+ alt?: string | undefined;
641
+ }, {
642
+ key: string;
643
+ alt?: string | undefined;
644
+ }>, "many">;
645
+ intro: z.ZodObject<{
646
+ helpsWith: z.ZodString;
647
+ recommendedFor: z.ZodString;
648
+ }, "strict", z.ZodTypeAny, {
649
+ helpsWith: string;
650
+ recommendedFor: string;
651
+ }, {
652
+ helpsWith: string;
653
+ recommendedFor: string;
654
+ }>;
655
+ faqs: z.ZodArray<z.ZodObject<{
656
+ question: z.ZodString;
657
+ answer: z.ZodString;
658
+ }, "strict", z.ZodTypeAny, {
659
+ question: string;
660
+ answer: string;
661
+ }, {
662
+ question: string;
663
+ answer: string;
664
+ }>, "many">;
665
+ }, "strict", z.ZodTypeAny, {
666
+ images: {
667
+ key: string;
668
+ alt?: string | undefined;
669
+ }[];
670
+ intro: {
671
+ helpsWith: string;
672
+ recommendedFor: string;
673
+ };
674
+ faqs: {
675
+ question: string;
676
+ answer: string;
677
+ }[];
1149
678
  }, {
1150
- title: string;
1151
- url?: string | undefined;
1152
- summary?: string | undefined;
1153
- metrics?: string[] | undefined;
1154
- }>>;
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<{
679
+ images: {
680
+ key: string;
681
+ alt?: string | undefined;
682
+ }[];
683
+ intro: {
684
+ helpsWith: string;
685
+ recommendedFor: string;
686
+ };
687
+ faqs: {
688
+ question: string;
689
+ answer: string;
690
+ }[];
691
+ }>;
692
+ }, "strict", z.ZodTypeAny, {
693
+ ko: {
694
+ images: {
695
+ key: string;
696
+ alt?: string | undefined;
697
+ }[];
698
+ intro: {
699
+ helpsWith: string;
700
+ recommendedFor: string;
701
+ };
702
+ faqs: {
703
+ question: string;
704
+ answer: string;
705
+ }[];
706
+ };
707
+ ja: {
708
+ images: {
709
+ key: string;
710
+ alt?: string | undefined;
711
+ }[];
712
+ intro: {
713
+ helpsWith: string;
714
+ recommendedFor: string;
715
+ };
716
+ faqs: {
717
+ question: string;
718
+ answer: string;
719
+ }[];
720
+ };
721
+ en: {
722
+ images: {
723
+ key: string;
724
+ alt?: string | undefined;
725
+ }[];
726
+ intro: {
727
+ helpsWith: string;
728
+ recommendedFor: string;
729
+ };
730
+ faqs: {
731
+ question: string;
732
+ answer: string;
733
+ }[];
734
+ };
735
+ }, {
736
+ ko: {
737
+ images: {
738
+ key: string;
739
+ alt?: string | undefined;
740
+ }[];
741
+ intro: {
742
+ helpsWith: string;
743
+ recommendedFor: string;
744
+ };
745
+ faqs: {
746
+ question: string;
747
+ answer: string;
748
+ }[];
749
+ };
750
+ ja: {
751
+ images: {
752
+ key: string;
753
+ alt?: string | undefined;
754
+ }[];
755
+ intro: {
756
+ helpsWith: string;
757
+ recommendedFor: string;
758
+ };
759
+ faqs: {
760
+ question: string;
761
+ answer: string;
762
+ }[];
763
+ };
764
+ en: {
765
+ images: {
766
+ key: string;
767
+ alt?: string | undefined;
768
+ }[];
769
+ intro: {
770
+ helpsWith: string;
771
+ recommendedFor: string;
772
+ };
773
+ faqs: {
774
+ question: string;
775
+ answer: string;
776
+ }[];
777
+ };
778
+ }>;
779
+ }, "strict", z.ZodTypeAny, {
780
+ relatedAppIds: string[];
781
+ i18nMap: {
782
+ ko: {
783
+ images: {
784
+ key: string;
785
+ alt?: string | undefined;
786
+ }[];
787
+ intro: {
788
+ helpsWith: string;
789
+ recommendedFor: string;
790
+ };
791
+ faqs: {
792
+ question: string;
793
+ answer: string;
794
+ }[];
795
+ };
796
+ ja: {
797
+ images: {
798
+ key: string;
799
+ alt?: string | undefined;
800
+ }[];
801
+ intro: {
802
+ helpsWith: string;
803
+ recommendedFor: string;
804
+ };
805
+ faqs: {
806
+ question: string;
807
+ answer: string;
808
+ }[];
809
+ };
810
+ en: {
811
+ images: {
812
+ key: string;
813
+ alt?: string | undefined;
814
+ }[];
815
+ intro: {
816
+ helpsWith: string;
817
+ recommendedFor: string;
818
+ };
819
+ faqs: {
820
+ question: string;
821
+ answer: string;
822
+ }[];
823
+ };
824
+ };
825
+ }, {
826
+ relatedAppIds: string[];
827
+ i18nMap: {
828
+ ko: {
829
+ images: {
830
+ key: string;
831
+ alt?: string | undefined;
832
+ }[];
833
+ intro: {
834
+ helpsWith: string;
835
+ recommendedFor: string;
836
+ };
837
+ faqs: {
838
+ question: string;
839
+ answer: string;
840
+ }[];
841
+ };
842
+ ja: {
843
+ images: {
844
+ key: string;
845
+ alt?: string | undefined;
846
+ }[];
847
+ intro: {
848
+ helpsWith: string;
849
+ recommendedFor: string;
850
+ };
851
+ faqs: {
852
+ question: string;
853
+ answer: string;
854
+ }[];
855
+ };
856
+ en: {
857
+ images: {
858
+ key: string;
859
+ alt?: string | undefined;
860
+ }[];
861
+ intro: {
862
+ helpsWith: string;
863
+ recommendedFor: string;
864
+ };
865
+ faqs: {
866
+ question: string;
867
+ answer: string;
868
+ }[];
869
+ };
870
+ };
871
+ }>;
872
+ export type StoreProfile = StoreProfileMetadata;
873
+ export declare const GetStoreProfileInputSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
874
+ export type GetStoreProfileInput = ProtoBacked<z.infer<typeof GetStoreProfileInputSchema>, ProtoGetStoreProfileInput>;
875
+ export declare const GetStoreProfileOutputSchema: z.ZodObject<{
876
+ relatedAppIds: z.ZodArray<z.ZodString, "many">;
877
+ i18nMap: z.ZodObject<{
878
+ ko: z.ZodObject<{
879
+ images: z.ZodArray<z.ZodObject<{
1160
880
  key: z.ZodString;
1161
- label: z.ZodString;
1162
- description: z.ZodOptional<z.ZodString>;
1163
- }, "strip", z.ZodTypeAny, {
881
+ alt: z.ZodOptional<z.ZodString>;
882
+ }, "strict", z.ZodTypeAny, {
1164
883
  key: string;
1165
- label: string;
1166
- description?: string | undefined;
884
+ alt?: string | undefined;
885
+ }, {
886
+ key: string;
887
+ alt?: string | undefined;
888
+ }>, "many">;
889
+ intro: z.ZodObject<{
890
+ helpsWith: z.ZodString;
891
+ recommendedFor: z.ZodString;
892
+ }, "strict", z.ZodTypeAny, {
893
+ helpsWith: string;
894
+ recommendedFor: string;
895
+ }, {
896
+ helpsWith: string;
897
+ recommendedFor: string;
898
+ }>;
899
+ faqs: z.ZodArray<z.ZodObject<{
900
+ question: z.ZodString;
901
+ answer: z.ZodString;
902
+ }, "strict", z.ZodTypeAny, {
903
+ question: string;
904
+ answer: string;
1167
905
  }, {
906
+ question: string;
907
+ answer: string;
908
+ }>, "many">;
909
+ }, "strict", z.ZodTypeAny, {
910
+ images: {
911
+ key: string;
912
+ alt?: string | undefined;
913
+ }[];
914
+ intro: {
915
+ helpsWith: string;
916
+ recommendedFor: string;
917
+ };
918
+ faqs: {
919
+ question: string;
920
+ answer: string;
921
+ }[];
922
+ }, {
923
+ images: {
924
+ key: string;
925
+ alt?: string | undefined;
926
+ }[];
927
+ intro: {
928
+ helpsWith: string;
929
+ recommendedFor: string;
930
+ };
931
+ faqs: {
932
+ question: string;
933
+ answer: string;
934
+ }[];
935
+ }>;
936
+ ja: z.ZodObject<{
937
+ images: z.ZodArray<z.ZodObject<{
938
+ key: z.ZodString;
939
+ alt: z.ZodOptional<z.ZodString>;
940
+ }, "strict", z.ZodTypeAny, {
1168
941
  key: string;
1169
- label: 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;
942
+ alt?: string | undefined;
1184
943
  }, {
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;
944
+ key: string;
945
+ alt?: string | undefined;
946
+ }>, "many">;
947
+ intro: z.ZodObject<{
948
+ helpsWith: z.ZodString;
949
+ recommendedFor: z.ZodString;
950
+ }, "strict", z.ZodTypeAny, {
951
+ helpsWith: string;
952
+ recommendedFor: string;
1199
953
  }, {
1200
- id: string;
1201
- title: string;
1202
- blocks?: Record<string, unknown>[] | undefined;
1203
- }>, "many">>;
1204
- faqs: z.ZodOptional<z.ZodArray<z.ZodObject<{
954
+ helpsWith: string;
955
+ recommendedFor: string;
956
+ }>;
957
+ faqs: z.ZodArray<z.ZodObject<{
1205
958
  question: z.ZodString;
1206
959
  answer: z.ZodString;
1207
- }, "strip", z.ZodTypeAny, {
960
+ }, "strict", z.ZodTypeAny, {
1208
961
  question: string;
1209
962
  answer: string;
1210
963
  }, {
1211
964
  question: string;
1212
965
  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;
966
+ }>, "many">;
967
+ }, "strict", z.ZodTypeAny, {
968
+ images: {
969
+ key: string;
970
+ alt?: string | undefined;
971
+ }[];
972
+ intro: {
973
+ helpsWith: string;
974
+ recommendedFor: string;
975
+ };
976
+ faqs: {
977
+ question: string;
978
+ answer: string;
979
+ }[];
980
+ }, {
981
+ images: {
982
+ key: string;
983
+ alt?: string | undefined;
984
+ }[];
985
+ intro: {
986
+ helpsWith: string;
987
+ recommendedFor: string;
988
+ };
989
+ faqs: {
990
+ question: string;
991
+ answer: string;
992
+ }[];
993
+ }>;
994
+ en: z.ZodObject<{
995
+ images: z.ZodArray<z.ZodObject<{
996
+ key: z.ZodString;
997
+ alt: z.ZodOptional<z.ZodString>;
998
+ }, "strict", z.ZodTypeAny, {
999
+ key: string;
1000
+ alt?: string | undefined;
1001
+ }, {
1002
+ key: string;
1003
+ alt?: string | undefined;
1004
+ }>, "many">;
1005
+ intro: z.ZodObject<{
1006
+ helpsWith: z.ZodString;
1007
+ recommendedFor: z.ZodString;
1008
+ }, "strict", z.ZodTypeAny, {
1009
+ helpsWith: string;
1010
+ recommendedFor: string;
1011
+ }, {
1012
+ helpsWith: string;
1013
+ recommendedFor: string;
1014
+ }>;
1015
+ faqs: z.ZodArray<z.ZodObject<{
1016
+ question: z.ZodString;
1017
+ answer: z.ZodString;
1018
+ }, "strict", z.ZodTypeAny, {
1019
+ question: string;
1020
+ answer: string;
1224
1021
  }, {
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
- key: string;
1236
- label: 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;
1022
+ question: string;
1023
+ answer: string;
1024
+ }>, "many">;
1025
+ }, "strict", z.ZodTypeAny, {
1026
+ images: {
1027
+ key: string;
1028
+ alt?: string | undefined;
1029
+ }[];
1030
+ intro: {
1031
+ helpsWith: string;
1032
+ recommendedFor: string;
1033
+ };
1034
+ faqs: {
1035
+ question: string;
1036
+ answer: string;
1037
+ }[];
1262
1038
  }, {
1263
- summary?: string | undefined;
1264
- headline?: string | undefined;
1265
- targetUsers?: {
1266
- key: string;
1267
- label: 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
- }>>>;
1294
- }, "strip", z.ZodTypeAny, {
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: {
1304
- key: string;
1305
- label: string;
1306
- description?: string | undefined;
1307
- }[];
1308
- primaryUseCases: {
1309
- id: string;
1310
- title: string;
1311
- description?: string | undefined;
1312
- surfaceKeys?: string[] | undefined;
1313
- requiredAppIds?: string[] | undefined;
1314
- }[];
1315
- primaryScreenshotUrl: string;
1316
- providerName?: string | undefined;
1317
- guideSections?: {
1318
- id: string;
1319
- title: string;
1320
- blocks?: Record<string, unknown>[] | undefined;
1321
- }[] | undefined;
1322
- faqs?: {
1323
- question: string;
1324
- answer: string;
1325
- }[] | undefined;
1326
- caseStudy?: {
1327
- title: string;
1328
- url?: string | undefined;
1329
- summary?: string | undefined;
1330
- metrics?: string[] | undefined;
1331
- } | undefined;
1332
- pricingNote?: string | undefined;
1333
- categories?: string[] | undefined;
1334
- capabilities?: {
1335
- key: string;
1336
- label: string;
1337
- description?: string | undefined;
1338
- }[] | undefined;
1339
- surfaces?: {
1340
- key: string;
1341
- label: 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
- key: string;
1353
- label: 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
- key: string;
1372
- label: 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;
1039
+ images: {
1040
+ key: string;
1041
+ alt?: string | undefined;
1042
+ }[];
1043
+ intro: {
1044
+ helpsWith: string;
1045
+ recommendedFor: string;
1046
+ };
1047
+ faqs: {
1048
+ question: string;
1049
+ answer: string;
1050
+ }[];
1051
+ }>;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ ko: {
1054
+ images: {
1055
+ key: string;
1056
+ alt?: string | undefined;
1057
+ }[];
1058
+ intro: {
1059
+ helpsWith: string;
1060
+ recommendedFor: string;
1061
+ };
1062
+ faqs: {
1063
+ question: string;
1064
+ answer: string;
1065
+ }[];
1066
+ };
1067
+ ja: {
1068
+ images: {
1069
+ key: string;
1070
+ alt?: string | undefined;
1071
+ }[];
1072
+ intro: {
1073
+ helpsWith: string;
1074
+ recommendedFor: string;
1075
+ };
1076
+ faqs: {
1077
+ question: string;
1078
+ answer: string;
1079
+ }[];
1080
+ };
1081
+ en: {
1082
+ images: {
1083
+ key: string;
1084
+ alt?: string | undefined;
1085
+ }[];
1086
+ intro: {
1087
+ helpsWith: string;
1088
+ recommendedFor: string;
1089
+ };
1090
+ faqs: {
1091
+ question: string;
1092
+ answer: string;
1093
+ }[];
1094
+ };
1399
1095
  }, {
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
- key: string;
1410
- label: string;
1411
- description?: string | undefined;
1412
- }[];
1413
- primaryUseCases: {
1414
- id: string;
1415
- title: string;
1416
- description?: string | undefined;
1417
- surfaceKeys?: string[] | undefined;
1418
- requiredAppIds?: string[] | undefined;
1419
- }[];
1420
- primaryScreenshotUrl: string;
1421
- providerName?: string | undefined;
1422
- guideSections?: {
1423
- id: string;
1424
- title: string;
1425
- blocks?: Record<string, unknown>[] | undefined;
1426
- }[] | undefined;
1427
- faqs?: {
1428
- question: string;
1429
- answer: string;
1430
- }[] | undefined;
1431
- caseStudy?: {
1432
- title: string;
1433
- url?: string | undefined;
1434
- summary?: string | undefined;
1435
- metrics?: string[] | undefined;
1436
- } | undefined;
1437
- pricingNote?: string | undefined;
1438
- categories?: string[] | undefined;
1439
- capabilities?: {
1440
- key: string;
1441
- label: string;
1442
- description?: string | undefined;
1443
- }[] | undefined;
1444
- surfaces?: {
1445
- key: string;
1446
- label: string;
1447
- description?: string | undefined;
1448
- }[] | undefined;
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
- key: string;
1458
- label: 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
- key: string;
1477
- label: 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;
1096
+ ko: {
1097
+ images: {
1098
+ key: string;
1099
+ alt?: string | undefined;
1100
+ }[];
1101
+ intro: {
1102
+ helpsWith: string;
1103
+ recommendedFor: string;
1104
+ };
1105
+ faqs: {
1106
+ question: string;
1107
+ answer: string;
1108
+ }[];
1109
+ };
1110
+ ja: {
1111
+ images: {
1112
+ key: string;
1113
+ alt?: string | undefined;
1114
+ }[];
1115
+ intro: {
1116
+ helpsWith: string;
1117
+ recommendedFor: string;
1118
+ };
1119
+ faqs: {
1120
+ question: string;
1121
+ answer: string;
1122
+ }[];
1123
+ };
1124
+ en: {
1125
+ images: {
1126
+ key: string;
1127
+ alt?: string | undefined;
1128
+ }[];
1129
+ intro: {
1130
+ helpsWith: string;
1131
+ recommendedFor: string;
1132
+ };
1133
+ faqs: {
1134
+ question: string;
1135
+ answer: string;
1136
+ }[];
1137
+ };
1504
1138
  }>;
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: {
1516
- key: string;
1517
- label: string;
1518
- description?: string | undefined;
1519
- }[];
1520
- primaryUseCases: {
1521
- id: string;
1522
- title: string;
1523
- description?: string | undefined;
1524
- surfaceKeys?: string[] | undefined;
1525
- requiredAppIds?: string[] | undefined;
1526
- }[];
1527
- primaryScreenshotUrl: string;
1528
- providerName?: string | undefined;
1529
- guideSections?: {
1530
- id: string;
1531
- title: string;
1532
- blocks?: Record<string, unknown>[] | undefined;
1533
- }[] | undefined;
1534
- faqs?: {
1535
- question: string;
1536
- answer: string;
1537
- }[] | undefined;
1538
- caseStudy?: {
1539
- title: string;
1540
- url?: string | undefined;
1541
- summary?: string | undefined;
1542
- metrics?: string[] | undefined;
1543
- } | undefined;
1544
- pricingNote?: string | undefined;
1545
- categories?: string[] | undefined;
1546
- capabilities?: {
1547
- key: string;
1548
- label: string;
1549
- description?: string | undefined;
1550
- }[] | undefined;
1551
- surfaces?: {
1552
- key: string;
1553
- label: string;
1554
- description?: string | undefined;
1555
- }[] | undefined;
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
- key: string;
1565
- label: 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
- key: string;
1584
- label: 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;
1139
+ }, "strict", z.ZodTypeAny, {
1140
+ relatedAppIds: string[];
1141
+ i18nMap: {
1142
+ ko: {
1143
+ images: {
1144
+ key: string;
1145
+ alt?: string | undefined;
1146
+ }[];
1147
+ intro: {
1148
+ helpsWith: string;
1149
+ recommendedFor: string;
1150
+ };
1151
+ faqs: {
1152
+ question: string;
1153
+ answer: string;
1154
+ }[];
1155
+ };
1156
+ ja: {
1157
+ images: {
1158
+ key: string;
1159
+ alt?: string | undefined;
1160
+ }[];
1161
+ intro: {
1162
+ helpsWith: string;
1163
+ recommendedFor: string;
1164
+ };
1165
+ faqs: {
1166
+ question: string;
1167
+ answer: string;
1168
+ }[];
1169
+ };
1170
+ en: {
1171
+ images: {
1172
+ key: string;
1173
+ alt?: string | undefined;
1174
+ }[];
1175
+ intro: {
1176
+ helpsWith: string;
1177
+ recommendedFor: string;
1178
+ };
1179
+ faqs: {
1180
+ question: string;
1181
+ answer: string;
1182
+ }[];
1183
+ };
1611
1184
  };
1612
1185
  }, {
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: {
1623
- key: string;
1624
- label: string;
1625
- description?: string | undefined;
1626
- }[];
1627
- primaryUseCases: {
1628
- id: string;
1629
- title: string;
1630
- description?: string | undefined;
1631
- surfaceKeys?: string[] | undefined;
1632
- requiredAppIds?: string[] | undefined;
1633
- }[];
1634
- primaryScreenshotUrl: string;
1635
- providerName?: string | undefined;
1636
- guideSections?: {
1637
- id: string;
1638
- title: string;
1639
- blocks?: Record<string, unknown>[] | undefined;
1640
- }[] | undefined;
1641
- faqs?: {
1642
- question: string;
1643
- answer: string;
1644
- }[] | undefined;
1645
- caseStudy?: {
1646
- title: string;
1647
- url?: string | undefined;
1648
- summary?: string | undefined;
1649
- metrics?: string[] | undefined;
1650
- } | undefined;
1651
- pricingNote?: string | undefined;
1652
- categories?: string[] | undefined;
1653
- capabilities?: {
1654
- key: string;
1655
- label: string;
1656
- description?: string | undefined;
1657
- }[] | undefined;
1658
- surfaces?: {
1659
- key: string;
1660
- label: 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
- key: string;
1672
- label: 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
- key: string;
1691
- label: 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;
1186
+ relatedAppIds: string[];
1187
+ i18nMap: {
1188
+ ko: {
1189
+ images: {
1190
+ key: string;
1191
+ alt?: string | undefined;
1192
+ }[];
1193
+ intro: {
1194
+ helpsWith: string;
1195
+ recommendedFor: string;
1196
+ };
1197
+ faqs: {
1198
+ question: string;
1199
+ answer: string;
1200
+ }[];
1201
+ };
1202
+ ja: {
1203
+ images: {
1204
+ key: string;
1205
+ alt?: string | undefined;
1206
+ }[];
1207
+ intro: {
1208
+ helpsWith: string;
1209
+ recommendedFor: string;
1210
+ };
1211
+ faqs: {
1212
+ question: string;
1213
+ answer: string;
1214
+ }[];
1215
+ };
1216
+ en: {
1217
+ images: {
1218
+ key: string;
1219
+ alt?: string | undefined;
1220
+ }[];
1221
+ intro: {
1222
+ helpsWith: string;
1223
+ recommendedFor: string;
1224
+ };
1225
+ faqs: {
1226
+ question: string;
1227
+ answer: string;
1228
+ }[];
1229
+ };
1718
1230
  };
1719
1231
  }>;
1720
- export type GetStoreProfileOutput = ProtoBacked<z.infer<typeof GetStoreProfileOutputSchema>, ProtoGetStoreProfileOutput>;
1721
- export type StoreProfileProvider = GetStoreProfileOutput | ((ctx: Context) => GetStoreProfileOutput | Promise<GetStoreProfileOutput>);
1722
- export declare function defineStoreProfile(profile: StoreProfile): StoreProfile;
1723
- export declare function defineStoreProfileOutput(profile: StoreProfile): GetStoreProfileOutput;
1232
+ export type GetStoreProfileOutput = StoreProfileMetadata;
1233
+ export type StoreProfileProvider = StoreProfileMetadata | ((ctx: Context) => StoreProfileMetadata | Promise<StoreProfileMetadata>);
1234
+ export declare function defineStoreProfile(profile: StoreProfileMetadata): StoreProfileMetadata;
1235
+ export declare function defineStoreProfileOutput(profile: StoreProfileMetadata): GetStoreProfileOutput;
1724
1236
  export declare function createStoreExtension(provider: StoreProfileProvider): ExtensionDefinition;
1725
1237
  export {};
1726
1238
  //# sourceMappingURL=store.d.ts.map