@endora-commerce/contracts 0.109.0 → 0.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/dist/actor.d.ts +16 -0
  2. package/dist/actor.d.ts.map +1 -1
  3. package/dist/addresses.d.ts +35 -0
  4. package/dist/addresses.d.ts.map +1 -1
  5. package/dist/addresses.js +8 -1
  6. package/dist/addresses.js.map +1 -1
  7. package/dist/admin-contributions.d.ts +62 -7
  8. package/dist/admin-contributions.d.ts.map +1 -1
  9. package/dist/admin-contributions.js +27 -8
  10. package/dist/admin-contributions.js.map +1 -1
  11. package/dist/admin-roles.d.ts +8 -2
  12. package/dist/admin-roles.d.ts.map +1 -1
  13. package/dist/admin-roles.js.map +1 -1
  14. package/dist/admin-users.d.ts +9 -0
  15. package/dist/admin-users.d.ts.map +1 -1
  16. package/dist/admin.d.ts +77 -4
  17. package/dist/admin.d.ts.map +1 -1
  18. package/dist/admin.js +79 -3
  19. package/dist/admin.js.map +1 -1
  20. package/dist/assets-library.d.ts +26 -0
  21. package/dist/assets-library.d.ts.map +1 -1
  22. package/dist/assets-library.js +6 -3
  23. package/dist/assets-library.js.map +1 -1
  24. package/dist/audit-logs.d.ts +12 -0
  25. package/dist/audit-logs.d.ts.map +1 -1
  26. package/dist/audit-logs.js +12 -0
  27. package/dist/audit-logs.js.map +1 -1
  28. package/dist/blog.d.ts +382 -22
  29. package/dist/blog.d.ts.map +1 -1
  30. package/dist/blog.js +199 -17
  31. package/dist/blog.js.map +1 -1
  32. package/dist/carts.d.ts +394 -36
  33. package/dist/carts.d.ts.map +1 -1
  34. package/dist/carts.js +131 -8
  35. package/dist/carts.js.map +1 -1
  36. package/dist/catalog.d.ts +351 -219
  37. package/dist/catalog.d.ts.map +1 -1
  38. package/dist/catalog.js +209 -157
  39. package/dist/catalog.js.map +1 -1
  40. package/dist/cms-brand.d.ts +14 -14
  41. package/dist/cms.d.ts +41 -16
  42. package/dist/cms.d.ts.map +1 -1
  43. package/dist/cms.js.map +1 -1
  44. package/dist/common.d.ts +23 -6
  45. package/dist/common.d.ts.map +1 -1
  46. package/dist/common.js +25 -2
  47. package/dist/common.js.map +1 -1
  48. package/dist/comparisons.d.ts +28 -21
  49. package/dist/comparisons.d.ts.map +1 -1
  50. package/dist/comparisons.js +2 -1
  51. package/dist/comparisons.js.map +1 -1
  52. package/dist/credit-limits.d.ts +1 -0
  53. package/dist/credit-limits.d.ts.map +1 -1
  54. package/dist/credit-limits.js +14 -0
  55. package/dist/credit-limits.js.map +1 -1
  56. package/dist/crm.d.ts +79 -49
  57. package/dist/crm.d.ts.map +1 -1
  58. package/dist/crm.js +6 -0
  59. package/dist/crm.js.map +1 -1
  60. package/dist/custom-fields.d.ts +27 -13
  61. package/dist/custom-fields.d.ts.map +1 -1
  62. package/dist/custom-fields.js +15 -1
  63. package/dist/custom-fields.js.map +1 -1
  64. package/dist/customer-accounts.d.ts +186 -22
  65. package/dist/customer-accounts.d.ts.map +1 -1
  66. package/dist/customer-accounts.js +39 -0
  67. package/dist/customer-accounts.js.map +1 -1
  68. package/dist/customers.d.ts +40 -73
  69. package/dist/customers.d.ts.map +1 -1
  70. package/dist/customers.js +45 -10
  71. package/dist/customers.js.map +1 -1
  72. package/dist/document-templates.d.ts +12 -12
  73. package/dist/errors.d.ts +119 -1
  74. package/dist/errors.d.ts.map +1 -1
  75. package/dist/errors.js +146 -1
  76. package/dist/errors.js.map +1 -1
  77. package/dist/forms-logic.d.ts +79 -0
  78. package/dist/forms-logic.d.ts.map +1 -0
  79. package/dist/forms-logic.fixtures.d.ts +52 -0
  80. package/dist/forms-logic.fixtures.d.ts.map +1 -0
  81. package/dist/forms-logic.fixtures.js +610 -0
  82. package/dist/forms-logic.fixtures.js.map +1 -0
  83. package/dist/forms-logic.js +699 -0
  84. package/dist/forms-logic.js.map +1 -0
  85. package/dist/forms.d.ts +9833 -0
  86. package/dist/forms.d.ts.map +1 -0
  87. package/dist/forms.js +827 -0
  88. package/dist/forms.js.map +1 -0
  89. package/dist/import-export.d.ts +180 -0
  90. package/dist/import-export.d.ts.map +1 -1
  91. package/dist/import-export.js +60 -0
  92. package/dist/import-export.js.map +1 -1
  93. package/dist/index.d.ts +10 -1
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.js +18 -0
  96. package/dist/index.js.map +1 -1
  97. package/dist/inventory.d.ts +9 -9
  98. package/dist/invoice-ledger.d.ts +7 -7
  99. package/dist/invoices.d.ts.map +1 -1
  100. package/dist/invoices.js +4 -0
  101. package/dist/invoices.js.map +1 -1
  102. package/dist/mfa.d.ts +124 -4
  103. package/dist/mfa.d.ts.map +1 -1
  104. package/dist/mfa.js +46 -0
  105. package/dist/mfa.js.map +1 -1
  106. package/dist/modules.d.ts +36 -4
  107. package/dist/modules.d.ts.map +1 -1
  108. package/dist/modules.js +68 -0
  109. package/dist/modules.js.map +1 -1
  110. package/dist/money-decimal.d.ts +54 -0
  111. package/dist/money-decimal.d.ts.map +1 -1
  112. package/dist/money-decimal.js +95 -0
  113. package/dist/money-decimal.js.map +1 -1
  114. package/dist/newsletter.d.ts +4 -4
  115. package/dist/orders.d.ts +105 -12
  116. package/dist/orders.d.ts.map +1 -1
  117. package/dist/orders.js +60 -4
  118. package/dist/orders.js.map +1 -1
  119. package/dist/organization-registry-lookup.d.ts +362 -0
  120. package/dist/organization-registry-lookup.d.ts.map +1 -0
  121. package/dist/organization-registry-lookup.js +196 -0
  122. package/dist/organization-registry-lookup.js.map +1 -0
  123. package/dist/organization-roles.d.ts +340 -0
  124. package/dist/organization-roles.d.ts.map +1 -0
  125. package/dist/organization-roles.js +211 -0
  126. package/dist/organization-roles.js.map +1 -0
  127. package/dist/organizations.d.ts +123 -89
  128. package/dist/organizations.d.ts.map +1 -1
  129. package/dist/organizations.js +68 -24
  130. package/dist/organizations.js.map +1 -1
  131. package/dist/page-builder-props.d.ts +56 -56
  132. package/dist/pim-connector.d.ts +7 -3
  133. package/dist/pim-connector.d.ts.map +1 -1
  134. package/dist/pim-connector.js +6 -2
  135. package/dist/pim-connector.js.map +1 -1
  136. package/dist/pim-field-path.d.ts +5 -1
  137. package/dist/pim-field-path.d.ts.map +1 -1
  138. package/dist/pim-field-path.js +37 -81
  139. package/dist/pim-field-path.js.map +1 -1
  140. package/dist/pim-locale-mapping.d.ts +131 -0
  141. package/dist/pim-locale-mapping.d.ts.map +1 -0
  142. package/dist/pim-locale-mapping.js +193 -0
  143. package/dist/pim-locale-mapping.js.map +1 -0
  144. package/dist/price-books.d.ts +67 -63
  145. package/dist/price-books.d.ts.map +1 -1
  146. package/dist/price-books.js +6 -2
  147. package/dist/price-books.js.map +1 -1
  148. package/dist/price-lists.d.ts +8 -8
  149. package/dist/product-feeds.d.ts +94 -94
  150. package/dist/product-feeds.d.ts.map +1 -1
  151. package/dist/product-feeds.js +5 -0
  152. package/dist/product-feeds.js.map +1 -1
  153. package/dist/product-scope-model.d.ts +161 -0
  154. package/dist/product-scope-model.d.ts.map +1 -0
  155. package/dist/product-scope-model.js +161 -0
  156. package/dist/product-scope-model.js.map +1 -0
  157. package/dist/product-scope-overrides.d.ts +0 -103
  158. package/dist/product-scope-overrides.d.ts.map +1 -1
  159. package/dist/product-scope-overrides.js +0 -54
  160. package/dist/product-scope-overrides.js.map +1 -1
  161. package/dist/product-scoped-values.d.ts +2610 -0
  162. package/dist/product-scoped-values.d.ts.map +1 -0
  163. package/dist/product-scoped-values.js +425 -0
  164. package/dist/product-scoped-values.js.map +1 -0
  165. package/dist/product-scopes.d.ts +182 -64
  166. package/dist/product-scopes.d.ts.map +1 -1
  167. package/dist/product-scopes.js +89 -18
  168. package/dist/product-scopes.js.map +1 -1
  169. package/dist/product-tax-rates.d.ts +38 -0
  170. package/dist/product-tax-rates.d.ts.map +1 -0
  171. package/dist/product-tax-rates.js +45 -0
  172. package/dist/product-tax-rates.js.map +1 -0
  173. package/dist/product-url-keys.d.ts +51 -45
  174. package/dist/product-url-keys.d.ts.map +1 -1
  175. package/dist/product-url-keys.js +73 -39
  176. package/dist/product-url-keys.js.map +1 -1
  177. package/dist/product-value-resolver.d.ts +37 -60
  178. package/dist/product-value-resolver.d.ts.map +1 -1
  179. package/dist/product-value-resolver.js +36 -96
  180. package/dist/product-value-resolver.js.map +1 -1
  181. package/dist/projects.d.ts +15 -0
  182. package/dist/projects.d.ts.map +1 -1
  183. package/dist/projects.js +6 -0
  184. package/dist/projects.js.map +1 -1
  185. package/dist/promotions.d.ts +10 -10
  186. package/dist/pwa.d.ts +2 -2
  187. package/dist/quick-order.d.ts +150 -6
  188. package/dist/quick-order.d.ts.map +1 -1
  189. package/dist/quick-order.js +75 -1
  190. package/dist/quick-order.js.map +1 -1
  191. package/dist/quote-requests.d.ts +63 -12
  192. package/dist/quote-requests.d.ts.map +1 -1
  193. package/dist/quote-requests.js +42 -1
  194. package/dist/quote-requests.js.map +1 -1
  195. package/dist/record-references.d.ts.map +1 -1
  196. package/dist/record-references.js +2 -3
  197. package/dist/record-references.js.map +1 -1
  198. package/dist/record-rich-text.d.ts.map +1 -1
  199. package/dist/record-rich-text.js +2 -1
  200. package/dist/record-rich-text.js.map +1 -1
  201. package/dist/returns.d.ts +208 -52
  202. package/dist/returns.d.ts.map +1 -1
  203. package/dist/returns.js +139 -26
  204. package/dist/returns.js.map +1 -1
  205. package/dist/saved-list-views.d.ts +28 -0
  206. package/dist/saved-list-views.d.ts.map +1 -1
  207. package/dist/saved-list-views.js +14 -1
  208. package/dist/saved-list-views.js.map +1 -1
  209. package/dist/scoped-write-encoding.d.ts +100 -0
  210. package/dist/scoped-write-encoding.d.ts.map +1 -0
  211. package/dist/scoped-write-encoding.js +135 -0
  212. package/dist/scoped-write-encoding.js.map +1 -0
  213. package/dist/search.d.ts +18 -16
  214. package/dist/search.d.ts.map +1 -1
  215. package/dist/seo.d.ts +81 -28
  216. package/dist/seo.d.ts.map +1 -1
  217. package/dist/seo.js +8 -1
  218. package/dist/seo.js.map +1 -1
  219. package/dist/settings.d.ts +129 -0
  220. package/dist/settings.d.ts.map +1 -1
  221. package/dist/settings.js +36 -0
  222. package/dist/settings.js.map +1 -1
  223. package/dist/shopping-lists.d.ts +24 -3
  224. package/dist/shopping-lists.d.ts.map +1 -1
  225. package/dist/shopping-lists.js +20 -0
  226. package/dist/shopping-lists.js.map +1 -1
  227. package/dist/storefront-cache-tags.d.ts +12 -0
  228. package/dist/storefront-cache-tags.d.ts.map +1 -1
  229. package/dist/storefront-cache-tags.js +12 -0
  230. package/dist/storefront-cache-tags.js.map +1 -1
  231. package/dist/storefront-value-overrides.d.ts +18 -56
  232. package/dist/storefront-value-overrides.d.ts.map +1 -1
  233. package/dist/storefront-value-overrides.js +11 -86
  234. package/dist/storefront-value-overrides.js.map +1 -1
  235. package/dist/tasks.d.ts +6 -6
  236. package/dist/transactional-emails.d.ts +9 -9
  237. package/package.json +2 -2
  238. package/dist/scoped-translations.d.ts +0 -48
  239. package/dist/scoped-translations.d.ts.map +0 -1
  240. package/dist/scoped-translations.js +0 -78
  241. package/dist/scoped-translations.js.map +0 -1
@@ -0,0 +1,2610 @@
1
+ /**
2
+ * Feature 174 (`specs/174-product-editor-scope-switcher/contracts/scoped-values-api.md`; research
3
+ * R4–R8, R21) — the product editor's one read, one save, copy to channels and the editor scope
4
+ * preference. Owner: `catalog`.
5
+ *
6
+ * Every scoped value is written in the one write encoding (`scoped-write-encoding.ts`): absent or
7
+ * `""` = no change, `null` = empty override, `{ inherit: true }` = inherit, else the value. Field
8
+ * paths and scope sets: `product-scope-model.ts`. Bounds (R21): every object is strict, record
9
+ * keys are validated (and `__proto__` / `constructor` / `prototype` refused), lengths and the
10
+ * changed-cell count are capped; the service reads the records into a `Map`.
11
+ */
12
+ import { z } from 'zod';
13
+ import { type ScopeRef, type ScopedSource } from './product-scope-model.js';
14
+ import { scopeRequestSchema } from './product-scopes.js';
15
+ /** The longest text attribute value at any scope. */
16
+ export declare const SCOPED_TEXT_ATTRIBUTE_MAX = 4000;
17
+ /** The most organisations one audience value names. */
18
+ export declare const SCOPED_AUDIENCE_ORGANIZATIONS_MAX = 500;
19
+ /** The most changed cells one save carries. */
20
+ export declare const SCOPED_SAVE_CELLS_MAX = 500;
21
+ /** Route body limits, in bytes. */
22
+ export declare const SCOPED_VALUES_BODY_LIMIT: number;
23
+ export declare const SCOPED_VALUES_COPY_BODY_LIMIT: number;
24
+ /** A before / after audit cell longer than this is stored `{ truncated, length, sha256 }`. */
25
+ export declare const SCOPED_AUDIT_CELL_MAX_BYTES = 4096;
26
+ /** The most target channels one copy names. */
27
+ export declare const SCOPED_COPY_TARGETS_MAX = 64;
28
+ /** SEO field lengths (`contracts/seo-ports.md` §2). */
29
+ export declare const SEO_PRODUCT_META_MAX: {
30
+ readonly title: 160;
31
+ readonly description: 400;
32
+ readonly ogTitle: 160;
33
+ readonly ogDescription: 400;
34
+ readonly ogImageUrl: 2048;
35
+ };
36
+ export declare const httpUrlSchema: z.ZodString;
37
+ export declare const scopeRefSchema: z.ZodType<ScopeRef>;
38
+ export { scopeRequestSchema };
39
+ export declare const scopedSourceSchema: z.ZodEnum<{
40
+ set: "set";
41
+ set_empty: "set_empty";
42
+ inherited_channel: "inherited_channel";
43
+ inherited_global: "inherited_global";
44
+ absent: "absent";
45
+ }>;
46
+ export declare const scopeLevelShortSchema: z.ZodEnum<{
47
+ G: "G";
48
+ C: "C";
49
+ CL: "CL";
50
+ }>;
51
+ /** The level an inherited value comes from: the channel (`C`) or Global (`G`). */
52
+ export declare const INHERITED_LEVELS: readonly ["G", "C"];
53
+ export type InheritedLevel = (typeof INHERITED_LEVELS)[number];
54
+ /** One field at the read's scope (FR-109). */
55
+ export declare function scopedFieldViewSchema<S extends z.ZodType>(valueSchema: S): z.ZodObject<{
56
+ value: z.ZodNullable<S>;
57
+ source: z.ZodEnum<{
58
+ set: "set";
59
+ set_empty: "set_empty";
60
+ inherited_channel: "inherited_channel";
61
+ inherited_global: "inherited_global";
62
+ absent: "absent";
63
+ }>;
64
+ ownValue: z.ZodOptional<z.ZodNullable<S>>;
65
+ inheritedValue: z.ZodOptional<z.ZodObject<{
66
+ value: z.ZodNullable<S>;
67
+ level: z.ZodEnum<{
68
+ G: "G";
69
+ C: "C";
70
+ }>;
71
+ }, z.core.$strict>>;
72
+ levels: z.ZodArray<z.ZodEnum<{
73
+ G: "G";
74
+ C: "C";
75
+ CL: "CL";
76
+ }>>;
77
+ supportedHere: z.ZodBoolean;
78
+ required: z.ZodBoolean;
79
+ }, z.core.$strip>;
80
+ export type ScopedFieldView<T> = {
81
+ value: T | null;
82
+ source: ScopedSource;
83
+ ownValue?: T | null;
84
+ inheritedValue?: {
85
+ value: T | null;
86
+ level: InheritedLevel;
87
+ } | undefined;
88
+ levels: Array<'G' | 'C' | 'CL'>;
89
+ supportedHere: boolean;
90
+ required: boolean;
91
+ };
92
+ /** §2.1 — what the completeness gate reports at the read's scope (FR-097). */
93
+ export declare const completenessSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
94
+ level: z.ZodLiteral<"channel_language">;
95
+ missing: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ level: z.ZodLiteral<"channel">;
98
+ missing: z.ZodArray<z.ZodObject<{
99
+ field: z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>;
100
+ languages: z.ZodArray<z.ZodString>;
101
+ }, z.core.$strip>>;
102
+ }, z.core.$strip>, z.ZodObject<{
103
+ level: z.ZodLiteral<"global">;
104
+ incompleteScopes: z.ZodNumber;
105
+ }, z.core.$strip>], "level">;
106
+ export type CompletenessSummary = z.infer<typeof completenessSummarySchema>;
107
+ export declare const scopedValuesDataSchema: z.ZodObject<{
108
+ scope: z.ZodType<ScopeRef, unknown, z.core.$ZodTypeInternals<ScopeRef, unknown>>;
109
+ version: z.ZodString;
110
+ validScopes: z.ZodObject<{
111
+ channels: z.ZodArray<z.ZodObject<{
112
+ channelId: z.ZodString;
113
+ name: z.ZodString;
114
+ languages: z.ZodArray<z.ZodObject<{
115
+ code: z.ZodString;
116
+ name: z.ZodString;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
120
+ product: z.ZodObject<{
121
+ sku: z.ZodString;
122
+ type: z.ZodEnum<{
123
+ simple: "simple";
124
+ configurable: "configurable";
125
+ grouped: "grouped";
126
+ bundle: "bundle";
127
+ virtual: "virtual";
128
+ }>;
129
+ attributeSetId: z.ZodString;
130
+ categoryIds: z.ZodArray<z.ZodString>;
131
+ archivedAt: z.ZodNullable<z.ZodString>;
132
+ slugGlobal: z.ZodString;
133
+ manageStock: z.ZodBoolean;
134
+ backorderEnabled: z.ZodBoolean;
135
+ lowStockThreshold: z.ZodNullable<z.ZodNumber>;
136
+ lowStockThresholdMode: z.ZodEnum<{
137
+ cumulative: "cumulative";
138
+ per_warehouse: "per_warehouse";
139
+ }>;
140
+ fulfilmentStrategy: z.ZodNullable<z.ZodString>;
141
+ fulfilmentStrategyWarehouseOrder: z.ZodNullable<z.ZodArray<z.ZodString>>;
142
+ downloadAssetId: z.ZodNullable<z.ZodString>;
143
+ downloadUrl: z.ZodNullable<z.ZodString>;
144
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
145
+ }, z.core.$strip>;
146
+ fields: z.ZodObject<{
147
+ name: z.ZodObject<{
148
+ value: z.ZodNullable<z.ZodString>;
149
+ source: z.ZodEnum<{
150
+ set: "set";
151
+ set_empty: "set_empty";
152
+ inherited_channel: "inherited_channel";
153
+ inherited_global: "inherited_global";
154
+ absent: "absent";
155
+ }>;
156
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ inheritedValue: z.ZodOptional<z.ZodObject<{
158
+ value: z.ZodNullable<z.ZodString>;
159
+ level: z.ZodEnum<{
160
+ G: "G";
161
+ C: "C";
162
+ }>;
163
+ }, z.core.$strict>>;
164
+ levels: z.ZodArray<z.ZodEnum<{
165
+ G: "G";
166
+ C: "C";
167
+ CL: "CL";
168
+ }>>;
169
+ supportedHere: z.ZodBoolean;
170
+ required: z.ZodBoolean;
171
+ }, z.core.$strip>;
172
+ description: z.ZodObject<{
173
+ value: z.ZodNullable<z.ZodString>;
174
+ source: z.ZodEnum<{
175
+ set: "set";
176
+ set_empty: "set_empty";
177
+ inherited_channel: "inherited_channel";
178
+ inherited_global: "inherited_global";
179
+ absent: "absent";
180
+ }>;
181
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ inheritedValue: z.ZodOptional<z.ZodObject<{
183
+ value: z.ZodNullable<z.ZodString>;
184
+ level: z.ZodEnum<{
185
+ G: "G";
186
+ C: "C";
187
+ }>;
188
+ }, z.core.$strict>>;
189
+ levels: z.ZodArray<z.ZodEnum<{
190
+ G: "G";
191
+ C: "C";
192
+ CL: "CL";
193
+ }>>;
194
+ supportedHere: z.ZodBoolean;
195
+ required: z.ZodBoolean;
196
+ }, z.core.$strip>;
197
+ status: z.ZodObject<{
198
+ value: z.ZodNullable<z.ZodEnum<{
199
+ active: "active";
200
+ inactive: "inactive";
201
+ }>>;
202
+ source: z.ZodEnum<{
203
+ set: "set";
204
+ set_empty: "set_empty";
205
+ inherited_channel: "inherited_channel";
206
+ inherited_global: "inherited_global";
207
+ absent: "absent";
208
+ }>;
209
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
210
+ active: "active";
211
+ inactive: "inactive";
212
+ }>>>;
213
+ inheritedValue: z.ZodOptional<z.ZodObject<{
214
+ value: z.ZodNullable<z.ZodEnum<{
215
+ active: "active";
216
+ inactive: "inactive";
217
+ }>>;
218
+ level: z.ZodEnum<{
219
+ G: "G";
220
+ C: "C";
221
+ }>;
222
+ }, z.core.$strict>>;
223
+ levels: z.ZodArray<z.ZodEnum<{
224
+ G: "G";
225
+ C: "C";
226
+ CL: "CL";
227
+ }>>;
228
+ supportedHere: z.ZodBoolean;
229
+ required: z.ZodBoolean;
230
+ }, z.core.$strip>;
231
+ window: z.ZodObject<{
232
+ value: z.ZodNullable<z.ZodObject<{
233
+ from: z.ZodNullable<z.ZodString>;
234
+ until: z.ZodNullable<z.ZodString>;
235
+ }, z.core.$strict>>;
236
+ source: z.ZodEnum<{
237
+ set: "set";
238
+ set_empty: "set_empty";
239
+ inherited_channel: "inherited_channel";
240
+ inherited_global: "inherited_global";
241
+ absent: "absent";
242
+ }>;
243
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
244
+ from: z.ZodNullable<z.ZodString>;
245
+ until: z.ZodNullable<z.ZodString>;
246
+ }, z.core.$strict>>>;
247
+ inheritedValue: z.ZodOptional<z.ZodObject<{
248
+ value: z.ZodNullable<z.ZodObject<{
249
+ from: z.ZodNullable<z.ZodString>;
250
+ until: z.ZodNullable<z.ZodString>;
251
+ }, z.core.$strict>>;
252
+ level: z.ZodEnum<{
253
+ G: "G";
254
+ C: "C";
255
+ }>;
256
+ }, z.core.$strict>>;
257
+ levels: z.ZodArray<z.ZodEnum<{
258
+ G: "G";
259
+ C: "C";
260
+ CL: "CL";
261
+ }>>;
262
+ supportedHere: z.ZodBoolean;
263
+ required: z.ZodBoolean;
264
+ }, z.core.$strip>;
265
+ audience: z.ZodObject<{
266
+ value: z.ZodNullable<z.ZodObject<{
267
+ visibility: z.ZodEnum<{
268
+ public: "public";
269
+ logged_in_only: "logged_in_only";
270
+ organization_restricted: "organization_restricted";
271
+ }>;
272
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
273
+ }, z.core.$strict>>;
274
+ source: z.ZodEnum<{
275
+ set: "set";
276
+ set_empty: "set_empty";
277
+ inherited_channel: "inherited_channel";
278
+ inherited_global: "inherited_global";
279
+ absent: "absent";
280
+ }>;
281
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
282
+ visibility: z.ZodEnum<{
283
+ public: "public";
284
+ logged_in_only: "logged_in_only";
285
+ organization_restricted: "organization_restricted";
286
+ }>;
287
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
288
+ }, z.core.$strict>>>;
289
+ inheritedValue: z.ZodOptional<z.ZodObject<{
290
+ value: z.ZodNullable<z.ZodObject<{
291
+ visibility: z.ZodEnum<{
292
+ public: "public";
293
+ logged_in_only: "logged_in_only";
294
+ organization_restricted: "organization_restricted";
295
+ }>;
296
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
297
+ }, z.core.$strict>>;
298
+ level: z.ZodEnum<{
299
+ G: "G";
300
+ C: "C";
301
+ }>;
302
+ }, z.core.$strict>>;
303
+ levels: z.ZodArray<z.ZodEnum<{
304
+ G: "G";
305
+ C: "C";
306
+ CL: "CL";
307
+ }>>;
308
+ supportedHere: z.ZodBoolean;
309
+ required: z.ZodBoolean;
310
+ }, z.core.$strip>;
311
+ minOrderQuantity: z.ZodObject<{
312
+ value: z.ZodNullable<z.ZodNumber>;
313
+ source: z.ZodEnum<{
314
+ set: "set";
315
+ set_empty: "set_empty";
316
+ inherited_channel: "inherited_channel";
317
+ inherited_global: "inherited_global";
318
+ absent: "absent";
319
+ }>;
320
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
321
+ inheritedValue: z.ZodOptional<z.ZodObject<{
322
+ value: z.ZodNullable<z.ZodNumber>;
323
+ level: z.ZodEnum<{
324
+ G: "G";
325
+ C: "C";
326
+ }>;
327
+ }, z.core.$strict>>;
328
+ levels: z.ZodArray<z.ZodEnum<{
329
+ G: "G";
330
+ C: "C";
331
+ CL: "CL";
332
+ }>>;
333
+ supportedHere: z.ZodBoolean;
334
+ required: z.ZodBoolean;
335
+ }, z.core.$strip>;
336
+ returnable: z.ZodObject<{
337
+ value: z.ZodNullable<z.ZodBoolean>;
338
+ source: z.ZodEnum<{
339
+ set: "set";
340
+ set_empty: "set_empty";
341
+ inherited_channel: "inherited_channel";
342
+ inherited_global: "inherited_global";
343
+ absent: "absent";
344
+ }>;
345
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
346
+ inheritedValue: z.ZodOptional<z.ZodObject<{
347
+ value: z.ZodNullable<z.ZodBoolean>;
348
+ level: z.ZodEnum<{
349
+ G: "G";
350
+ C: "C";
351
+ }>;
352
+ }, z.core.$strict>>;
353
+ levels: z.ZodArray<z.ZodEnum<{
354
+ G: "G";
355
+ C: "C";
356
+ CL: "CL";
357
+ }>>;
358
+ supportedHere: z.ZodBoolean;
359
+ required: z.ZodBoolean;
360
+ }, z.core.$strip>;
361
+ urlKey: z.ZodObject<{
362
+ value: z.ZodNullable<z.ZodString>;
363
+ source: z.ZodEnum<{
364
+ set: "set";
365
+ set_empty: "set_empty";
366
+ inherited_channel: "inherited_channel";
367
+ inherited_global: "inherited_global";
368
+ absent: "absent";
369
+ }>;
370
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
+ inheritedValue: z.ZodOptional<z.ZodObject<{
372
+ value: z.ZodNullable<z.ZodString>;
373
+ level: z.ZodEnum<{
374
+ G: "G";
375
+ C: "C";
376
+ }>;
377
+ }, z.core.$strict>>;
378
+ levels: z.ZodArray<z.ZodEnum<{
379
+ G: "G";
380
+ C: "C";
381
+ CL: "CL";
382
+ }>>;
383
+ supportedHere: z.ZodBoolean;
384
+ required: z.ZodBoolean;
385
+ }, z.core.$strip>;
386
+ }, z.core.$strip>;
387
+ attributes: z.ZodArray<z.ZodObject<{
388
+ key: z.ZodString;
389
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
390
+ valueType: z.ZodString;
391
+ isRequired: z.ZodBoolean;
392
+ view: z.ZodObject<{
393
+ value: z.ZodNullable<z.ZodUnknown>;
394
+ source: z.ZodEnum<{
395
+ set: "set";
396
+ set_empty: "set_empty";
397
+ inherited_channel: "inherited_channel";
398
+ inherited_global: "inherited_global";
399
+ absent: "absent";
400
+ }>;
401
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
402
+ inheritedValue: z.ZodOptional<z.ZodObject<{
403
+ value: z.ZodNullable<z.ZodUnknown>;
404
+ level: z.ZodEnum<{
405
+ G: "G";
406
+ C: "C";
407
+ }>;
408
+ }, z.core.$strict>>;
409
+ levels: z.ZodArray<z.ZodEnum<{
410
+ G: "G";
411
+ C: "C";
412
+ CL: "CL";
413
+ }>>;
414
+ supportedHere: z.ZodBoolean;
415
+ required: z.ZodBoolean;
416
+ }, z.core.$strip>;
417
+ }, z.core.$strip>>;
418
+ gallery: z.ZodObject<{
419
+ items: z.ZodArray<z.ZodObject<{
420
+ id: z.ZodString;
421
+ assetId: z.ZodString;
422
+ url: z.ZodString;
423
+ position: z.ZodNumber;
424
+ altText: z.ZodObject<{
425
+ value: z.ZodNullable<z.ZodString>;
426
+ source: z.ZodEnum<{
427
+ set: "set";
428
+ set_empty: "set_empty";
429
+ inherited_channel: "inherited_channel";
430
+ inherited_global: "inherited_global";
431
+ absent: "absent";
432
+ }>;
433
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
+ inheritedValue: z.ZodOptional<z.ZodObject<{
435
+ value: z.ZodNullable<z.ZodString>;
436
+ level: z.ZodEnum<{
437
+ G: "G";
438
+ C: "C";
439
+ }>;
440
+ }, z.core.$strict>>;
441
+ levels: z.ZodArray<z.ZodEnum<{
442
+ G: "G";
443
+ C: "C";
444
+ CL: "CL";
445
+ }>>;
446
+ supportedHere: z.ZodBoolean;
447
+ required: z.ZodBoolean;
448
+ }, z.core.$strip>;
449
+ hidden: z.ZodObject<{
450
+ value: z.ZodNullable<z.ZodBoolean>;
451
+ source: z.ZodEnum<{
452
+ set: "set";
453
+ set_empty: "set_empty";
454
+ inherited_channel: "inherited_channel";
455
+ inherited_global: "inherited_global";
456
+ absent: "absent";
457
+ }>;
458
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
459
+ inheritedValue: z.ZodOptional<z.ZodObject<{
460
+ value: z.ZodNullable<z.ZodBoolean>;
461
+ level: z.ZodEnum<{
462
+ G: "G";
463
+ C: "C";
464
+ }>;
465
+ }, z.core.$strict>>;
466
+ levels: z.ZodArray<z.ZodEnum<{
467
+ G: "G";
468
+ C: "C";
469
+ CL: "CL";
470
+ }>>;
471
+ supportedHere: z.ZodBoolean;
472
+ required: z.ZodBoolean;
473
+ }, z.core.$strip>;
474
+ assetAltText: z.ZodNullable<z.ZodString>;
475
+ }, z.core.$strip>>;
476
+ roles: z.ZodObject<{
477
+ baseImage: z.ZodObject<{
478
+ value: z.ZodNullable<z.ZodString>;
479
+ source: z.ZodEnum<{
480
+ set: "set";
481
+ set_empty: "set_empty";
482
+ inherited_channel: "inherited_channel";
483
+ inherited_global: "inherited_global";
484
+ absent: "absent";
485
+ }>;
486
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
+ inheritedValue: z.ZodOptional<z.ZodObject<{
488
+ value: z.ZodNullable<z.ZodString>;
489
+ level: z.ZodEnum<{
490
+ G: "G";
491
+ C: "C";
492
+ }>;
493
+ }, z.core.$strict>>;
494
+ levels: z.ZodArray<z.ZodEnum<{
495
+ G: "G";
496
+ C: "C";
497
+ CL: "CL";
498
+ }>>;
499
+ supportedHere: z.ZodBoolean;
500
+ required: z.ZodBoolean;
501
+ }, z.core.$strip>;
502
+ smallImage: z.ZodObject<{
503
+ value: z.ZodNullable<z.ZodString>;
504
+ source: z.ZodEnum<{
505
+ set: "set";
506
+ set_empty: "set_empty";
507
+ inherited_channel: "inherited_channel";
508
+ inherited_global: "inherited_global";
509
+ absent: "absent";
510
+ }>;
511
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
512
+ inheritedValue: z.ZodOptional<z.ZodObject<{
513
+ value: z.ZodNullable<z.ZodString>;
514
+ level: z.ZodEnum<{
515
+ G: "G";
516
+ C: "C";
517
+ }>;
518
+ }, z.core.$strict>>;
519
+ levels: z.ZodArray<z.ZodEnum<{
520
+ G: "G";
521
+ C: "C";
522
+ CL: "CL";
523
+ }>>;
524
+ supportedHere: z.ZodBoolean;
525
+ required: z.ZodBoolean;
526
+ }, z.core.$strip>;
527
+ thumbnail: z.ZodObject<{
528
+ value: z.ZodNullable<z.ZodString>;
529
+ source: z.ZodEnum<{
530
+ set: "set";
531
+ set_empty: "set_empty";
532
+ inherited_channel: "inherited_channel";
533
+ inherited_global: "inherited_global";
534
+ absent: "absent";
535
+ }>;
536
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
537
+ inheritedValue: z.ZodOptional<z.ZodObject<{
538
+ value: z.ZodNullable<z.ZodString>;
539
+ level: z.ZodEnum<{
540
+ G: "G";
541
+ C: "C";
542
+ }>;
543
+ }, z.core.$strict>>;
544
+ levels: z.ZodArray<z.ZodEnum<{
545
+ G: "G";
546
+ C: "C";
547
+ CL: "CL";
548
+ }>>;
549
+ supportedHere: z.ZodBoolean;
550
+ required: z.ZodBoolean;
551
+ }, z.core.$strip>;
552
+ }, z.core.$strip>;
553
+ }, z.core.$strip>;
554
+ attachments: z.ZodArray<z.ZodObject<{
555
+ id: z.ZodString;
556
+ assetId: z.ZodString;
557
+ typeId: z.ZodString;
558
+ position: z.ZodNumber;
559
+ fileName: z.ZodString;
560
+ name: z.ZodObject<{
561
+ value: z.ZodNullable<z.ZodString>;
562
+ source: z.ZodEnum<{
563
+ set: "set";
564
+ set_empty: "set_empty";
565
+ inherited_channel: "inherited_channel";
566
+ inherited_global: "inherited_global";
567
+ absent: "absent";
568
+ }>;
569
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
570
+ inheritedValue: z.ZodOptional<z.ZodObject<{
571
+ value: z.ZodNullable<z.ZodString>;
572
+ level: z.ZodEnum<{
573
+ G: "G";
574
+ C: "C";
575
+ }>;
576
+ }, z.core.$strict>>;
577
+ levels: z.ZodArray<z.ZodEnum<{
578
+ G: "G";
579
+ C: "C";
580
+ CL: "CL";
581
+ }>>;
582
+ supportedHere: z.ZodBoolean;
583
+ required: z.ZodBoolean;
584
+ }, z.core.$strip>;
585
+ description: z.ZodObject<{
586
+ value: z.ZodNullable<z.ZodString>;
587
+ source: z.ZodEnum<{
588
+ set: "set";
589
+ set_empty: "set_empty";
590
+ inherited_channel: "inherited_channel";
591
+ inherited_global: "inherited_global";
592
+ absent: "absent";
593
+ }>;
594
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
595
+ inheritedValue: z.ZodOptional<z.ZodObject<{
596
+ value: z.ZodNullable<z.ZodString>;
597
+ level: z.ZodEnum<{
598
+ G: "G";
599
+ C: "C";
600
+ }>;
601
+ }, z.core.$strict>>;
602
+ levels: z.ZodArray<z.ZodEnum<{
603
+ G: "G";
604
+ C: "C";
605
+ CL: "CL";
606
+ }>>;
607
+ supportedHere: z.ZodBoolean;
608
+ required: z.ZodBoolean;
609
+ }, z.core.$strip>;
610
+ hidden: z.ZodObject<{
611
+ value: z.ZodNullable<z.ZodBoolean>;
612
+ source: z.ZodEnum<{
613
+ set: "set";
614
+ set_empty: "set_empty";
615
+ inherited_channel: "inherited_channel";
616
+ inherited_global: "inherited_global";
617
+ absent: "absent";
618
+ }>;
619
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
620
+ inheritedValue: z.ZodOptional<z.ZodObject<{
621
+ value: z.ZodNullable<z.ZodBoolean>;
622
+ level: z.ZodEnum<{
623
+ G: "G";
624
+ C: "C";
625
+ }>;
626
+ }, z.core.$strict>>;
627
+ levels: z.ZodArray<z.ZodEnum<{
628
+ G: "G";
629
+ C: "C";
630
+ CL: "CL";
631
+ }>>;
632
+ supportedHere: z.ZodBoolean;
633
+ required: z.ZodBoolean;
634
+ }, z.core.$strip>;
635
+ }, z.core.$strip>>;
636
+ packagingUnits: z.ZodArray<z.ZodObject<{
637
+ id: z.ZodString;
638
+ baseQuantity: z.ZodNumber;
639
+ position: z.ZodNumber;
640
+ isDefault: z.ZodBoolean;
641
+ minOrderUnits: z.ZodNullable<z.ZodNumber>;
642
+ name: z.ZodObject<{
643
+ value: z.ZodNullable<z.ZodString>;
644
+ source: z.ZodEnum<{
645
+ set: "set";
646
+ set_empty: "set_empty";
647
+ inherited_channel: "inherited_channel";
648
+ inherited_global: "inherited_global";
649
+ absent: "absent";
650
+ }>;
651
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
+ inheritedValue: z.ZodOptional<z.ZodObject<{
653
+ value: z.ZodNullable<z.ZodString>;
654
+ level: z.ZodEnum<{
655
+ G: "G";
656
+ C: "C";
657
+ }>;
658
+ }, z.core.$strict>>;
659
+ levels: z.ZodArray<z.ZodEnum<{
660
+ G: "G";
661
+ C: "C";
662
+ CL: "CL";
663
+ }>>;
664
+ supportedHere: z.ZodBoolean;
665
+ required: z.ZodBoolean;
666
+ }, z.core.$strip>;
667
+ }, z.core.$strip>>;
668
+ seo: z.ZodNullable<z.ZodObject<{
669
+ title: z.ZodObject<{
670
+ value: z.ZodNullable<z.ZodString>;
671
+ source: z.ZodEnum<{
672
+ set: "set";
673
+ set_empty: "set_empty";
674
+ inherited_channel: "inherited_channel";
675
+ inherited_global: "inherited_global";
676
+ absent: "absent";
677
+ }>;
678
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
+ inheritedValue: z.ZodOptional<z.ZodObject<{
680
+ value: z.ZodNullable<z.ZodString>;
681
+ level: z.ZodEnum<{
682
+ G: "G";
683
+ C: "C";
684
+ }>;
685
+ }, z.core.$strict>>;
686
+ levels: z.ZodArray<z.ZodEnum<{
687
+ G: "G";
688
+ C: "C";
689
+ CL: "CL";
690
+ }>>;
691
+ supportedHere: z.ZodBoolean;
692
+ required: z.ZodBoolean;
693
+ }, z.core.$strip>;
694
+ description: z.ZodObject<{
695
+ value: z.ZodNullable<z.ZodString>;
696
+ source: z.ZodEnum<{
697
+ set: "set";
698
+ set_empty: "set_empty";
699
+ inherited_channel: "inherited_channel";
700
+ inherited_global: "inherited_global";
701
+ absent: "absent";
702
+ }>;
703
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
+ inheritedValue: z.ZodOptional<z.ZodObject<{
705
+ value: z.ZodNullable<z.ZodString>;
706
+ level: z.ZodEnum<{
707
+ G: "G";
708
+ C: "C";
709
+ }>;
710
+ }, z.core.$strict>>;
711
+ levels: z.ZodArray<z.ZodEnum<{
712
+ G: "G";
713
+ C: "C";
714
+ CL: "CL";
715
+ }>>;
716
+ supportedHere: z.ZodBoolean;
717
+ required: z.ZodBoolean;
718
+ }, z.core.$strip>;
719
+ ogTitle: z.ZodObject<{
720
+ value: z.ZodNullable<z.ZodString>;
721
+ source: z.ZodEnum<{
722
+ set: "set";
723
+ set_empty: "set_empty";
724
+ inherited_channel: "inherited_channel";
725
+ inherited_global: "inherited_global";
726
+ absent: "absent";
727
+ }>;
728
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
+ inheritedValue: z.ZodOptional<z.ZodObject<{
730
+ value: z.ZodNullable<z.ZodString>;
731
+ level: z.ZodEnum<{
732
+ G: "G";
733
+ C: "C";
734
+ }>;
735
+ }, z.core.$strict>>;
736
+ levels: z.ZodArray<z.ZodEnum<{
737
+ G: "G";
738
+ C: "C";
739
+ CL: "CL";
740
+ }>>;
741
+ supportedHere: z.ZodBoolean;
742
+ required: z.ZodBoolean;
743
+ }, z.core.$strip>;
744
+ ogDescription: z.ZodObject<{
745
+ value: z.ZodNullable<z.ZodString>;
746
+ source: z.ZodEnum<{
747
+ set: "set";
748
+ set_empty: "set_empty";
749
+ inherited_channel: "inherited_channel";
750
+ inherited_global: "inherited_global";
751
+ absent: "absent";
752
+ }>;
753
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
+ inheritedValue: z.ZodOptional<z.ZodObject<{
755
+ value: z.ZodNullable<z.ZodString>;
756
+ level: z.ZodEnum<{
757
+ G: "G";
758
+ C: "C";
759
+ }>;
760
+ }, z.core.$strict>>;
761
+ levels: z.ZodArray<z.ZodEnum<{
762
+ G: "G";
763
+ C: "C";
764
+ CL: "CL";
765
+ }>>;
766
+ supportedHere: z.ZodBoolean;
767
+ required: z.ZodBoolean;
768
+ }, z.core.$strip>;
769
+ ogImageUrl: z.ZodObject<{
770
+ value: z.ZodNullable<z.ZodString>;
771
+ source: z.ZodEnum<{
772
+ set: "set";
773
+ set_empty: "set_empty";
774
+ inherited_channel: "inherited_channel";
775
+ inherited_global: "inherited_global";
776
+ absent: "absent";
777
+ }>;
778
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ inheritedValue: z.ZodOptional<z.ZodObject<{
780
+ value: z.ZodNullable<z.ZodString>;
781
+ level: z.ZodEnum<{
782
+ G: "G";
783
+ C: "C";
784
+ }>;
785
+ }, z.core.$strict>>;
786
+ levels: z.ZodArray<z.ZodEnum<{
787
+ G: "G";
788
+ C: "C";
789
+ CL: "CL";
790
+ }>>;
791
+ supportedHere: z.ZodBoolean;
792
+ required: z.ZodBoolean;
793
+ }, z.core.$strip>;
794
+ }, z.core.$strip>>;
795
+ completeness: z.ZodDiscriminatedUnion<[z.ZodObject<{
796
+ level: z.ZodLiteral<"channel_language">;
797
+ missing: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>>;
798
+ }, z.core.$strip>, z.ZodObject<{
799
+ level: z.ZodLiteral<"channel">;
800
+ missing: z.ZodArray<z.ZodObject<{
801
+ field: z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>;
802
+ languages: z.ZodArray<z.ZodString>;
803
+ }, z.core.$strip>>;
804
+ }, z.core.$strip>, z.ZodObject<{
805
+ level: z.ZodLiteral<"global">;
806
+ incompleteScopes: z.ZodNumber;
807
+ }, z.core.$strip>], "level">;
808
+ organizations: z.ZodArray<z.ZodObject<{
809
+ id: z.ZodString;
810
+ name: z.ZodString;
811
+ }, z.core.$strip>>;
812
+ }, z.core.$strip>;
813
+ export type ScopedValuesData = z.infer<typeof scopedValuesDataSchema>;
814
+ export declare const scopedValuesResponseSchema: z.ZodObject<{
815
+ data: z.ZodObject<{
816
+ scope: z.ZodType<ScopeRef, unknown, z.core.$ZodTypeInternals<ScopeRef, unknown>>;
817
+ version: z.ZodString;
818
+ validScopes: z.ZodObject<{
819
+ channels: z.ZodArray<z.ZodObject<{
820
+ channelId: z.ZodString;
821
+ name: z.ZodString;
822
+ languages: z.ZodArray<z.ZodObject<{
823
+ code: z.ZodString;
824
+ name: z.ZodString;
825
+ }, z.core.$strip>>;
826
+ }, z.core.$strip>>;
827
+ }, z.core.$strip>;
828
+ product: z.ZodObject<{
829
+ sku: z.ZodString;
830
+ type: z.ZodEnum<{
831
+ simple: "simple";
832
+ configurable: "configurable";
833
+ grouped: "grouped";
834
+ bundle: "bundle";
835
+ virtual: "virtual";
836
+ }>;
837
+ attributeSetId: z.ZodString;
838
+ categoryIds: z.ZodArray<z.ZodString>;
839
+ archivedAt: z.ZodNullable<z.ZodString>;
840
+ slugGlobal: z.ZodString;
841
+ manageStock: z.ZodBoolean;
842
+ backorderEnabled: z.ZodBoolean;
843
+ lowStockThreshold: z.ZodNullable<z.ZodNumber>;
844
+ lowStockThresholdMode: z.ZodEnum<{
845
+ cumulative: "cumulative";
846
+ per_warehouse: "per_warehouse";
847
+ }>;
848
+ fulfilmentStrategy: z.ZodNullable<z.ZodString>;
849
+ fulfilmentStrategyWarehouseOrder: z.ZodNullable<z.ZodArray<z.ZodString>>;
850
+ downloadAssetId: z.ZodNullable<z.ZodString>;
851
+ downloadUrl: z.ZodNullable<z.ZodString>;
852
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
853
+ }, z.core.$strip>;
854
+ fields: z.ZodObject<{
855
+ name: z.ZodObject<{
856
+ value: z.ZodNullable<z.ZodString>;
857
+ source: z.ZodEnum<{
858
+ set: "set";
859
+ set_empty: "set_empty";
860
+ inherited_channel: "inherited_channel";
861
+ inherited_global: "inherited_global";
862
+ absent: "absent";
863
+ }>;
864
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
+ inheritedValue: z.ZodOptional<z.ZodObject<{
866
+ value: z.ZodNullable<z.ZodString>;
867
+ level: z.ZodEnum<{
868
+ G: "G";
869
+ C: "C";
870
+ }>;
871
+ }, z.core.$strict>>;
872
+ levels: z.ZodArray<z.ZodEnum<{
873
+ G: "G";
874
+ C: "C";
875
+ CL: "CL";
876
+ }>>;
877
+ supportedHere: z.ZodBoolean;
878
+ required: z.ZodBoolean;
879
+ }, z.core.$strip>;
880
+ description: z.ZodObject<{
881
+ value: z.ZodNullable<z.ZodString>;
882
+ source: z.ZodEnum<{
883
+ set: "set";
884
+ set_empty: "set_empty";
885
+ inherited_channel: "inherited_channel";
886
+ inherited_global: "inherited_global";
887
+ absent: "absent";
888
+ }>;
889
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
+ inheritedValue: z.ZodOptional<z.ZodObject<{
891
+ value: z.ZodNullable<z.ZodString>;
892
+ level: z.ZodEnum<{
893
+ G: "G";
894
+ C: "C";
895
+ }>;
896
+ }, z.core.$strict>>;
897
+ levels: z.ZodArray<z.ZodEnum<{
898
+ G: "G";
899
+ C: "C";
900
+ CL: "CL";
901
+ }>>;
902
+ supportedHere: z.ZodBoolean;
903
+ required: z.ZodBoolean;
904
+ }, z.core.$strip>;
905
+ status: z.ZodObject<{
906
+ value: z.ZodNullable<z.ZodEnum<{
907
+ active: "active";
908
+ inactive: "inactive";
909
+ }>>;
910
+ source: z.ZodEnum<{
911
+ set: "set";
912
+ set_empty: "set_empty";
913
+ inherited_channel: "inherited_channel";
914
+ inherited_global: "inherited_global";
915
+ absent: "absent";
916
+ }>;
917
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
918
+ active: "active";
919
+ inactive: "inactive";
920
+ }>>>;
921
+ inheritedValue: z.ZodOptional<z.ZodObject<{
922
+ value: z.ZodNullable<z.ZodEnum<{
923
+ active: "active";
924
+ inactive: "inactive";
925
+ }>>;
926
+ level: z.ZodEnum<{
927
+ G: "G";
928
+ C: "C";
929
+ }>;
930
+ }, z.core.$strict>>;
931
+ levels: z.ZodArray<z.ZodEnum<{
932
+ G: "G";
933
+ C: "C";
934
+ CL: "CL";
935
+ }>>;
936
+ supportedHere: z.ZodBoolean;
937
+ required: z.ZodBoolean;
938
+ }, z.core.$strip>;
939
+ window: z.ZodObject<{
940
+ value: z.ZodNullable<z.ZodObject<{
941
+ from: z.ZodNullable<z.ZodString>;
942
+ until: z.ZodNullable<z.ZodString>;
943
+ }, z.core.$strict>>;
944
+ source: z.ZodEnum<{
945
+ set: "set";
946
+ set_empty: "set_empty";
947
+ inherited_channel: "inherited_channel";
948
+ inherited_global: "inherited_global";
949
+ absent: "absent";
950
+ }>;
951
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
952
+ from: z.ZodNullable<z.ZodString>;
953
+ until: z.ZodNullable<z.ZodString>;
954
+ }, z.core.$strict>>>;
955
+ inheritedValue: z.ZodOptional<z.ZodObject<{
956
+ value: z.ZodNullable<z.ZodObject<{
957
+ from: z.ZodNullable<z.ZodString>;
958
+ until: z.ZodNullable<z.ZodString>;
959
+ }, z.core.$strict>>;
960
+ level: z.ZodEnum<{
961
+ G: "G";
962
+ C: "C";
963
+ }>;
964
+ }, z.core.$strict>>;
965
+ levels: z.ZodArray<z.ZodEnum<{
966
+ G: "G";
967
+ C: "C";
968
+ CL: "CL";
969
+ }>>;
970
+ supportedHere: z.ZodBoolean;
971
+ required: z.ZodBoolean;
972
+ }, z.core.$strip>;
973
+ audience: z.ZodObject<{
974
+ value: z.ZodNullable<z.ZodObject<{
975
+ visibility: z.ZodEnum<{
976
+ public: "public";
977
+ logged_in_only: "logged_in_only";
978
+ organization_restricted: "organization_restricted";
979
+ }>;
980
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
981
+ }, z.core.$strict>>;
982
+ source: z.ZodEnum<{
983
+ set: "set";
984
+ set_empty: "set_empty";
985
+ inherited_channel: "inherited_channel";
986
+ inherited_global: "inherited_global";
987
+ absent: "absent";
988
+ }>;
989
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
990
+ visibility: z.ZodEnum<{
991
+ public: "public";
992
+ logged_in_only: "logged_in_only";
993
+ organization_restricted: "organization_restricted";
994
+ }>;
995
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
996
+ }, z.core.$strict>>>;
997
+ inheritedValue: z.ZodOptional<z.ZodObject<{
998
+ value: z.ZodNullable<z.ZodObject<{
999
+ visibility: z.ZodEnum<{
1000
+ public: "public";
1001
+ logged_in_only: "logged_in_only";
1002
+ organization_restricted: "organization_restricted";
1003
+ }>;
1004
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1005
+ }, z.core.$strict>>;
1006
+ level: z.ZodEnum<{
1007
+ G: "G";
1008
+ C: "C";
1009
+ }>;
1010
+ }, z.core.$strict>>;
1011
+ levels: z.ZodArray<z.ZodEnum<{
1012
+ G: "G";
1013
+ C: "C";
1014
+ CL: "CL";
1015
+ }>>;
1016
+ supportedHere: z.ZodBoolean;
1017
+ required: z.ZodBoolean;
1018
+ }, z.core.$strip>;
1019
+ minOrderQuantity: z.ZodObject<{
1020
+ value: z.ZodNullable<z.ZodNumber>;
1021
+ source: z.ZodEnum<{
1022
+ set: "set";
1023
+ set_empty: "set_empty";
1024
+ inherited_channel: "inherited_channel";
1025
+ inherited_global: "inherited_global";
1026
+ absent: "absent";
1027
+ }>;
1028
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1029
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1030
+ value: z.ZodNullable<z.ZodNumber>;
1031
+ level: z.ZodEnum<{
1032
+ G: "G";
1033
+ C: "C";
1034
+ }>;
1035
+ }, z.core.$strict>>;
1036
+ levels: z.ZodArray<z.ZodEnum<{
1037
+ G: "G";
1038
+ C: "C";
1039
+ CL: "CL";
1040
+ }>>;
1041
+ supportedHere: z.ZodBoolean;
1042
+ required: z.ZodBoolean;
1043
+ }, z.core.$strip>;
1044
+ returnable: z.ZodObject<{
1045
+ value: z.ZodNullable<z.ZodBoolean>;
1046
+ source: z.ZodEnum<{
1047
+ set: "set";
1048
+ set_empty: "set_empty";
1049
+ inherited_channel: "inherited_channel";
1050
+ inherited_global: "inherited_global";
1051
+ absent: "absent";
1052
+ }>;
1053
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1054
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1055
+ value: z.ZodNullable<z.ZodBoolean>;
1056
+ level: z.ZodEnum<{
1057
+ G: "G";
1058
+ C: "C";
1059
+ }>;
1060
+ }, z.core.$strict>>;
1061
+ levels: z.ZodArray<z.ZodEnum<{
1062
+ G: "G";
1063
+ C: "C";
1064
+ CL: "CL";
1065
+ }>>;
1066
+ supportedHere: z.ZodBoolean;
1067
+ required: z.ZodBoolean;
1068
+ }, z.core.$strip>;
1069
+ urlKey: z.ZodObject<{
1070
+ value: z.ZodNullable<z.ZodString>;
1071
+ source: z.ZodEnum<{
1072
+ set: "set";
1073
+ set_empty: "set_empty";
1074
+ inherited_channel: "inherited_channel";
1075
+ inherited_global: "inherited_global";
1076
+ absent: "absent";
1077
+ }>;
1078
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1080
+ value: z.ZodNullable<z.ZodString>;
1081
+ level: z.ZodEnum<{
1082
+ G: "G";
1083
+ C: "C";
1084
+ }>;
1085
+ }, z.core.$strict>>;
1086
+ levels: z.ZodArray<z.ZodEnum<{
1087
+ G: "G";
1088
+ C: "C";
1089
+ CL: "CL";
1090
+ }>>;
1091
+ supportedHere: z.ZodBoolean;
1092
+ required: z.ZodBoolean;
1093
+ }, z.core.$strip>;
1094
+ }, z.core.$strip>;
1095
+ attributes: z.ZodArray<z.ZodObject<{
1096
+ key: z.ZodString;
1097
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
1098
+ valueType: z.ZodString;
1099
+ isRequired: z.ZodBoolean;
1100
+ view: z.ZodObject<{
1101
+ value: z.ZodNullable<z.ZodUnknown>;
1102
+ source: z.ZodEnum<{
1103
+ set: "set";
1104
+ set_empty: "set_empty";
1105
+ inherited_channel: "inherited_channel";
1106
+ inherited_global: "inherited_global";
1107
+ absent: "absent";
1108
+ }>;
1109
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
1110
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1111
+ value: z.ZodNullable<z.ZodUnknown>;
1112
+ level: z.ZodEnum<{
1113
+ G: "G";
1114
+ C: "C";
1115
+ }>;
1116
+ }, z.core.$strict>>;
1117
+ levels: z.ZodArray<z.ZodEnum<{
1118
+ G: "G";
1119
+ C: "C";
1120
+ CL: "CL";
1121
+ }>>;
1122
+ supportedHere: z.ZodBoolean;
1123
+ required: z.ZodBoolean;
1124
+ }, z.core.$strip>;
1125
+ }, z.core.$strip>>;
1126
+ gallery: z.ZodObject<{
1127
+ items: z.ZodArray<z.ZodObject<{
1128
+ id: z.ZodString;
1129
+ assetId: z.ZodString;
1130
+ url: z.ZodString;
1131
+ position: z.ZodNumber;
1132
+ altText: z.ZodObject<{
1133
+ value: z.ZodNullable<z.ZodString>;
1134
+ source: z.ZodEnum<{
1135
+ set: "set";
1136
+ set_empty: "set_empty";
1137
+ inherited_channel: "inherited_channel";
1138
+ inherited_global: "inherited_global";
1139
+ absent: "absent";
1140
+ }>;
1141
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1142
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1143
+ value: z.ZodNullable<z.ZodString>;
1144
+ level: z.ZodEnum<{
1145
+ G: "G";
1146
+ C: "C";
1147
+ }>;
1148
+ }, z.core.$strict>>;
1149
+ levels: z.ZodArray<z.ZodEnum<{
1150
+ G: "G";
1151
+ C: "C";
1152
+ CL: "CL";
1153
+ }>>;
1154
+ supportedHere: z.ZodBoolean;
1155
+ required: z.ZodBoolean;
1156
+ }, z.core.$strip>;
1157
+ hidden: z.ZodObject<{
1158
+ value: z.ZodNullable<z.ZodBoolean>;
1159
+ source: z.ZodEnum<{
1160
+ set: "set";
1161
+ set_empty: "set_empty";
1162
+ inherited_channel: "inherited_channel";
1163
+ inherited_global: "inherited_global";
1164
+ absent: "absent";
1165
+ }>;
1166
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1167
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1168
+ value: z.ZodNullable<z.ZodBoolean>;
1169
+ level: z.ZodEnum<{
1170
+ G: "G";
1171
+ C: "C";
1172
+ }>;
1173
+ }, z.core.$strict>>;
1174
+ levels: z.ZodArray<z.ZodEnum<{
1175
+ G: "G";
1176
+ C: "C";
1177
+ CL: "CL";
1178
+ }>>;
1179
+ supportedHere: z.ZodBoolean;
1180
+ required: z.ZodBoolean;
1181
+ }, z.core.$strip>;
1182
+ assetAltText: z.ZodNullable<z.ZodString>;
1183
+ }, z.core.$strip>>;
1184
+ roles: z.ZodObject<{
1185
+ baseImage: z.ZodObject<{
1186
+ value: z.ZodNullable<z.ZodString>;
1187
+ source: z.ZodEnum<{
1188
+ set: "set";
1189
+ set_empty: "set_empty";
1190
+ inherited_channel: "inherited_channel";
1191
+ inherited_global: "inherited_global";
1192
+ absent: "absent";
1193
+ }>;
1194
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1196
+ value: z.ZodNullable<z.ZodString>;
1197
+ level: z.ZodEnum<{
1198
+ G: "G";
1199
+ C: "C";
1200
+ }>;
1201
+ }, z.core.$strict>>;
1202
+ levels: z.ZodArray<z.ZodEnum<{
1203
+ G: "G";
1204
+ C: "C";
1205
+ CL: "CL";
1206
+ }>>;
1207
+ supportedHere: z.ZodBoolean;
1208
+ required: z.ZodBoolean;
1209
+ }, z.core.$strip>;
1210
+ smallImage: z.ZodObject<{
1211
+ value: z.ZodNullable<z.ZodString>;
1212
+ source: z.ZodEnum<{
1213
+ set: "set";
1214
+ set_empty: "set_empty";
1215
+ inherited_channel: "inherited_channel";
1216
+ inherited_global: "inherited_global";
1217
+ absent: "absent";
1218
+ }>;
1219
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1221
+ value: z.ZodNullable<z.ZodString>;
1222
+ level: z.ZodEnum<{
1223
+ G: "G";
1224
+ C: "C";
1225
+ }>;
1226
+ }, z.core.$strict>>;
1227
+ levels: z.ZodArray<z.ZodEnum<{
1228
+ G: "G";
1229
+ C: "C";
1230
+ CL: "CL";
1231
+ }>>;
1232
+ supportedHere: z.ZodBoolean;
1233
+ required: z.ZodBoolean;
1234
+ }, z.core.$strip>;
1235
+ thumbnail: z.ZodObject<{
1236
+ value: z.ZodNullable<z.ZodString>;
1237
+ source: z.ZodEnum<{
1238
+ set: "set";
1239
+ set_empty: "set_empty";
1240
+ inherited_channel: "inherited_channel";
1241
+ inherited_global: "inherited_global";
1242
+ absent: "absent";
1243
+ }>;
1244
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1245
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1246
+ value: z.ZodNullable<z.ZodString>;
1247
+ level: z.ZodEnum<{
1248
+ G: "G";
1249
+ C: "C";
1250
+ }>;
1251
+ }, z.core.$strict>>;
1252
+ levels: z.ZodArray<z.ZodEnum<{
1253
+ G: "G";
1254
+ C: "C";
1255
+ CL: "CL";
1256
+ }>>;
1257
+ supportedHere: z.ZodBoolean;
1258
+ required: z.ZodBoolean;
1259
+ }, z.core.$strip>;
1260
+ }, z.core.$strip>;
1261
+ }, z.core.$strip>;
1262
+ attachments: z.ZodArray<z.ZodObject<{
1263
+ id: z.ZodString;
1264
+ assetId: z.ZodString;
1265
+ typeId: z.ZodString;
1266
+ position: z.ZodNumber;
1267
+ fileName: z.ZodString;
1268
+ name: z.ZodObject<{
1269
+ value: z.ZodNullable<z.ZodString>;
1270
+ source: z.ZodEnum<{
1271
+ set: "set";
1272
+ set_empty: "set_empty";
1273
+ inherited_channel: "inherited_channel";
1274
+ inherited_global: "inherited_global";
1275
+ absent: "absent";
1276
+ }>;
1277
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1278
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1279
+ value: z.ZodNullable<z.ZodString>;
1280
+ level: z.ZodEnum<{
1281
+ G: "G";
1282
+ C: "C";
1283
+ }>;
1284
+ }, z.core.$strict>>;
1285
+ levels: z.ZodArray<z.ZodEnum<{
1286
+ G: "G";
1287
+ C: "C";
1288
+ CL: "CL";
1289
+ }>>;
1290
+ supportedHere: z.ZodBoolean;
1291
+ required: z.ZodBoolean;
1292
+ }, z.core.$strip>;
1293
+ description: z.ZodObject<{
1294
+ value: z.ZodNullable<z.ZodString>;
1295
+ source: z.ZodEnum<{
1296
+ set: "set";
1297
+ set_empty: "set_empty";
1298
+ inherited_channel: "inherited_channel";
1299
+ inherited_global: "inherited_global";
1300
+ absent: "absent";
1301
+ }>;
1302
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1304
+ value: z.ZodNullable<z.ZodString>;
1305
+ level: z.ZodEnum<{
1306
+ G: "G";
1307
+ C: "C";
1308
+ }>;
1309
+ }, z.core.$strict>>;
1310
+ levels: z.ZodArray<z.ZodEnum<{
1311
+ G: "G";
1312
+ C: "C";
1313
+ CL: "CL";
1314
+ }>>;
1315
+ supportedHere: z.ZodBoolean;
1316
+ required: z.ZodBoolean;
1317
+ }, z.core.$strip>;
1318
+ hidden: z.ZodObject<{
1319
+ value: z.ZodNullable<z.ZodBoolean>;
1320
+ source: z.ZodEnum<{
1321
+ set: "set";
1322
+ set_empty: "set_empty";
1323
+ inherited_channel: "inherited_channel";
1324
+ inherited_global: "inherited_global";
1325
+ absent: "absent";
1326
+ }>;
1327
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1328
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1329
+ value: z.ZodNullable<z.ZodBoolean>;
1330
+ level: z.ZodEnum<{
1331
+ G: "G";
1332
+ C: "C";
1333
+ }>;
1334
+ }, z.core.$strict>>;
1335
+ levels: z.ZodArray<z.ZodEnum<{
1336
+ G: "G";
1337
+ C: "C";
1338
+ CL: "CL";
1339
+ }>>;
1340
+ supportedHere: z.ZodBoolean;
1341
+ required: z.ZodBoolean;
1342
+ }, z.core.$strip>;
1343
+ }, z.core.$strip>>;
1344
+ packagingUnits: z.ZodArray<z.ZodObject<{
1345
+ id: z.ZodString;
1346
+ baseQuantity: z.ZodNumber;
1347
+ position: z.ZodNumber;
1348
+ isDefault: z.ZodBoolean;
1349
+ minOrderUnits: z.ZodNullable<z.ZodNumber>;
1350
+ name: z.ZodObject<{
1351
+ value: z.ZodNullable<z.ZodString>;
1352
+ source: z.ZodEnum<{
1353
+ set: "set";
1354
+ set_empty: "set_empty";
1355
+ inherited_channel: "inherited_channel";
1356
+ inherited_global: "inherited_global";
1357
+ absent: "absent";
1358
+ }>;
1359
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1360
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1361
+ value: z.ZodNullable<z.ZodString>;
1362
+ level: z.ZodEnum<{
1363
+ G: "G";
1364
+ C: "C";
1365
+ }>;
1366
+ }, z.core.$strict>>;
1367
+ levels: z.ZodArray<z.ZodEnum<{
1368
+ G: "G";
1369
+ C: "C";
1370
+ CL: "CL";
1371
+ }>>;
1372
+ supportedHere: z.ZodBoolean;
1373
+ required: z.ZodBoolean;
1374
+ }, z.core.$strip>;
1375
+ }, z.core.$strip>>;
1376
+ seo: z.ZodNullable<z.ZodObject<{
1377
+ title: z.ZodObject<{
1378
+ value: z.ZodNullable<z.ZodString>;
1379
+ source: z.ZodEnum<{
1380
+ set: "set";
1381
+ set_empty: "set_empty";
1382
+ inherited_channel: "inherited_channel";
1383
+ inherited_global: "inherited_global";
1384
+ absent: "absent";
1385
+ }>;
1386
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1387
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1388
+ value: z.ZodNullable<z.ZodString>;
1389
+ level: z.ZodEnum<{
1390
+ G: "G";
1391
+ C: "C";
1392
+ }>;
1393
+ }, z.core.$strict>>;
1394
+ levels: z.ZodArray<z.ZodEnum<{
1395
+ G: "G";
1396
+ C: "C";
1397
+ CL: "CL";
1398
+ }>>;
1399
+ supportedHere: z.ZodBoolean;
1400
+ required: z.ZodBoolean;
1401
+ }, z.core.$strip>;
1402
+ description: z.ZodObject<{
1403
+ value: z.ZodNullable<z.ZodString>;
1404
+ source: z.ZodEnum<{
1405
+ set: "set";
1406
+ set_empty: "set_empty";
1407
+ inherited_channel: "inherited_channel";
1408
+ inherited_global: "inherited_global";
1409
+ absent: "absent";
1410
+ }>;
1411
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1413
+ value: z.ZodNullable<z.ZodString>;
1414
+ level: z.ZodEnum<{
1415
+ G: "G";
1416
+ C: "C";
1417
+ }>;
1418
+ }, z.core.$strict>>;
1419
+ levels: z.ZodArray<z.ZodEnum<{
1420
+ G: "G";
1421
+ C: "C";
1422
+ CL: "CL";
1423
+ }>>;
1424
+ supportedHere: z.ZodBoolean;
1425
+ required: z.ZodBoolean;
1426
+ }, z.core.$strip>;
1427
+ ogTitle: z.ZodObject<{
1428
+ value: z.ZodNullable<z.ZodString>;
1429
+ source: z.ZodEnum<{
1430
+ set: "set";
1431
+ set_empty: "set_empty";
1432
+ inherited_channel: "inherited_channel";
1433
+ inherited_global: "inherited_global";
1434
+ absent: "absent";
1435
+ }>;
1436
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1437
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1438
+ value: z.ZodNullable<z.ZodString>;
1439
+ level: z.ZodEnum<{
1440
+ G: "G";
1441
+ C: "C";
1442
+ }>;
1443
+ }, z.core.$strict>>;
1444
+ levels: z.ZodArray<z.ZodEnum<{
1445
+ G: "G";
1446
+ C: "C";
1447
+ CL: "CL";
1448
+ }>>;
1449
+ supportedHere: z.ZodBoolean;
1450
+ required: z.ZodBoolean;
1451
+ }, z.core.$strip>;
1452
+ ogDescription: z.ZodObject<{
1453
+ value: z.ZodNullable<z.ZodString>;
1454
+ source: z.ZodEnum<{
1455
+ set: "set";
1456
+ set_empty: "set_empty";
1457
+ inherited_channel: "inherited_channel";
1458
+ inherited_global: "inherited_global";
1459
+ absent: "absent";
1460
+ }>;
1461
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1463
+ value: z.ZodNullable<z.ZodString>;
1464
+ level: z.ZodEnum<{
1465
+ G: "G";
1466
+ C: "C";
1467
+ }>;
1468
+ }, z.core.$strict>>;
1469
+ levels: z.ZodArray<z.ZodEnum<{
1470
+ G: "G";
1471
+ C: "C";
1472
+ CL: "CL";
1473
+ }>>;
1474
+ supportedHere: z.ZodBoolean;
1475
+ required: z.ZodBoolean;
1476
+ }, z.core.$strip>;
1477
+ ogImageUrl: z.ZodObject<{
1478
+ value: z.ZodNullable<z.ZodString>;
1479
+ source: z.ZodEnum<{
1480
+ set: "set";
1481
+ set_empty: "set_empty";
1482
+ inherited_channel: "inherited_channel";
1483
+ inherited_global: "inherited_global";
1484
+ absent: "absent";
1485
+ }>;
1486
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1487
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1488
+ value: z.ZodNullable<z.ZodString>;
1489
+ level: z.ZodEnum<{
1490
+ G: "G";
1491
+ C: "C";
1492
+ }>;
1493
+ }, z.core.$strict>>;
1494
+ levels: z.ZodArray<z.ZodEnum<{
1495
+ G: "G";
1496
+ C: "C";
1497
+ CL: "CL";
1498
+ }>>;
1499
+ supportedHere: z.ZodBoolean;
1500
+ required: z.ZodBoolean;
1501
+ }, z.core.$strip>;
1502
+ }, z.core.$strip>>;
1503
+ completeness: z.ZodDiscriminatedUnion<[z.ZodObject<{
1504
+ level: z.ZodLiteral<"channel_language">;
1505
+ missing: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>>;
1506
+ }, z.core.$strip>, z.ZodObject<{
1507
+ level: z.ZodLiteral<"channel">;
1508
+ missing: z.ZodArray<z.ZodObject<{
1509
+ field: z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>;
1510
+ languages: z.ZodArray<z.ZodString>;
1511
+ }, z.core.$strip>>;
1512
+ }, z.core.$strip>, z.ZodObject<{
1513
+ level: z.ZodLiteral<"global">;
1514
+ incompleteScopes: z.ZodNumber;
1515
+ }, z.core.$strip>], "level">;
1516
+ organizations: z.ZodArray<z.ZodObject<{
1517
+ id: z.ZodString;
1518
+ name: z.ZodString;
1519
+ }, z.core.$strip>>;
1520
+ }, z.core.$strip>;
1521
+ }, z.core.$strip>;
1522
+ export type ScopedValuesResponse = z.infer<typeof scopedValuesResponseSchema>;
1523
+ /** `GET …/scoped-values` query: the scope (§1). */
1524
+ export declare const scopedValuesQuerySchema: z.ZodObject<{
1525
+ channelId: z.ZodOptional<z.ZodString>;
1526
+ languageCode: z.ZodOptional<z.ZodString>;
1527
+ }, z.core.$strict>;
1528
+ /** The Global-only product fields a save writes at Global (FR-081); elsewhere `GLOBAL_ONLY_FIELD`. */
1529
+ export declare const globalOnlyProductFieldsSchema: z.ZodObject<{
1530
+ sku: z.ZodOptional<z.ZodString>;
1531
+ attributeSetId: z.ZodOptional<z.ZodString>;
1532
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1533
+ manageStock: z.ZodOptional<z.ZodBoolean>;
1534
+ backorderEnabled: z.ZodOptional<z.ZodBoolean>;
1535
+ lowStockThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1536
+ lowStockThresholdMode: z.ZodOptional<z.ZodEnum<{
1537
+ cumulative: "cumulative";
1538
+ per_warehouse: "per_warehouse";
1539
+ }>>;
1540
+ fulfilmentStrategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1541
+ any: "any";
1542
+ default_first: "default_first";
1543
+ lowest_stock_first: "lowest_stock_first";
1544
+ highest_stock_first: "highest_stock_first";
1545
+ defined_order: "defined_order";
1546
+ }>>>;
1547
+ fulfilmentStrategyWarehouseOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1548
+ downloadAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1549
+ downloadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1550
+ }, z.core.$strict>;
1551
+ export type GlobalOnlyProductFields = z.infer<typeof globalOnlyProductFieldsSchema>;
1552
+ export declare const scopedValueChangesSchema: z.ZodObject<{
1553
+ product: z.ZodOptional<z.ZodObject<{
1554
+ sku: z.ZodOptional<z.ZodString>;
1555
+ attributeSetId: z.ZodOptional<z.ZodString>;
1556
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1557
+ manageStock: z.ZodOptional<z.ZodBoolean>;
1558
+ backorderEnabled: z.ZodOptional<z.ZodBoolean>;
1559
+ lowStockThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1560
+ lowStockThresholdMode: z.ZodOptional<z.ZodEnum<{
1561
+ cumulative: "cumulative";
1562
+ per_warehouse: "per_warehouse";
1563
+ }>>;
1564
+ fulfilmentStrategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1565
+ any: "any";
1566
+ default_first: "default_first";
1567
+ lowest_stock_first: "lowest_stock_first";
1568
+ highest_stock_first: "highest_stock_first";
1569
+ defined_order: "defined_order";
1570
+ }>>>;
1571
+ fulfilmentStrategyWarehouseOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1572
+ downloadAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1573
+ downloadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1574
+ }, z.core.$strict>>;
1575
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1576
+ inherit: z.ZodLiteral<true>;
1577
+ }, z.core.$strict>, z.ZodString]>>>;
1578
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1579
+ inherit: z.ZodLiteral<true>;
1580
+ }, z.core.$strict>, z.ZodString]>>>;
1581
+ status: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1582
+ inherit: z.ZodLiteral<true>;
1583
+ }, z.core.$strict>, z.ZodEnum<{
1584
+ active: "active";
1585
+ inactive: "inactive";
1586
+ }>]>>>;
1587
+ window: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1588
+ inherit: z.ZodLiteral<true>;
1589
+ }, z.core.$strict>, z.ZodObject<{
1590
+ from: z.ZodNullable<z.ZodString>;
1591
+ until: z.ZodNullable<z.ZodString>;
1592
+ }, z.core.$strict>]>>>;
1593
+ audience: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1594
+ inherit: z.ZodLiteral<true>;
1595
+ }, z.core.$strict>, z.ZodObject<{
1596
+ visibility: z.ZodEnum<{
1597
+ public: "public";
1598
+ logged_in_only: "logged_in_only";
1599
+ organization_restricted: "organization_restricted";
1600
+ }>;
1601
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1602
+ }, z.core.$strict>]>>>;
1603
+ minOrderQuantity: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1604
+ inherit: z.ZodLiteral<true>;
1605
+ }, z.core.$strict>, z.ZodNumber]>>>;
1606
+ returnable: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1607
+ inherit: z.ZodLiteral<true>;
1608
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1609
+ urlKey: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1610
+ inherit: z.ZodLiteral<true>;
1611
+ }, z.core.$strict>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>]>>>;
1612
+ confirmTakeover: z.ZodOptional<z.ZodArray<z.ZodString>>;
1613
+ attributes: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1614
+ inherit: z.ZodLiteral<true>;
1615
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>]>>>>>>;
1616
+ gallery: z.ZodOptional<z.ZodObject<{
1617
+ items: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1618
+ altText: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1619
+ inherit: z.ZodLiteral<true>;
1620
+ }, z.core.$strict>, z.ZodString]>>>;
1621
+ hidden: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1622
+ inherit: z.ZodLiteral<true>;
1623
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1624
+ }, z.core.$strict>>>>;
1625
+ roles: z.ZodOptional<z.ZodObject<{
1626
+ baseImage: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1627
+ inherit: z.ZodLiteral<true>;
1628
+ }, z.core.$strict>, z.ZodString]>>>;
1629
+ smallImage: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1630
+ inherit: z.ZodLiteral<true>;
1631
+ }, z.core.$strict>, z.ZodString]>>>;
1632
+ thumbnail: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1633
+ inherit: z.ZodLiteral<true>;
1634
+ }, z.core.$strict>, z.ZodString]>>>;
1635
+ }, z.core.$strict>>;
1636
+ }, z.core.$strict>>;
1637
+ attachments: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1638
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1639
+ inherit: z.ZodLiteral<true>;
1640
+ }, z.core.$strict>, z.ZodString]>>>;
1641
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1642
+ inherit: z.ZodLiteral<true>;
1643
+ }, z.core.$strict>, z.ZodString]>>>;
1644
+ hidden: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1645
+ inherit: z.ZodLiteral<true>;
1646
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1647
+ }, z.core.$strict>>>>;
1648
+ packagingUnits: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1649
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1650
+ inherit: z.ZodLiteral<true>;
1651
+ }, z.core.$strict>, z.ZodString]>>>;
1652
+ }, z.core.$strict>>>>;
1653
+ seo: z.ZodOptional<z.ZodObject<{
1654
+ title: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1655
+ inherit: z.ZodLiteral<true>;
1656
+ }, z.core.$strict>, z.ZodString]>>>;
1657
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1658
+ inherit: z.ZodLiteral<true>;
1659
+ }, z.core.$strict>, z.ZodString]>>>;
1660
+ ogTitle: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1661
+ inherit: z.ZodLiteral<true>;
1662
+ }, z.core.$strict>, z.ZodString]>>>;
1663
+ ogDescription: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1664
+ inherit: z.ZodLiteral<true>;
1665
+ }, z.core.$strict>, z.ZodString]>>>;
1666
+ ogImageUrl: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1667
+ inherit: z.ZodLiteral<true>;
1668
+ }, z.core.$strict>, z.ZodString]>>>;
1669
+ }, z.core.$strict>>;
1670
+ }, z.core.$strict>;
1671
+ export type ScopedValueChanges = z.infer<typeof scopedValueChangesSchema>;
1672
+ /** The number of changed cells in a `changes` body — the 500-cell cap counts these. */
1673
+ export declare function countChangedCells(changes: ScopedValueChanges): number;
1674
+ export declare const saveScopedValuesRequestSchema: z.ZodObject<{
1675
+ scope: z.ZodObject<{
1676
+ channelId: z.ZodOptional<z.ZodString>;
1677
+ languageCode: z.ZodOptional<z.ZodString>;
1678
+ }, z.core.$strict>;
1679
+ version: z.ZodString;
1680
+ changes: z.ZodObject<{
1681
+ product: z.ZodOptional<z.ZodObject<{
1682
+ sku: z.ZodOptional<z.ZodString>;
1683
+ attributeSetId: z.ZodOptional<z.ZodString>;
1684
+ categoryIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1685
+ manageStock: z.ZodOptional<z.ZodBoolean>;
1686
+ backorderEnabled: z.ZodOptional<z.ZodBoolean>;
1687
+ lowStockThreshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1688
+ lowStockThresholdMode: z.ZodOptional<z.ZodEnum<{
1689
+ cumulative: "cumulative";
1690
+ per_warehouse: "per_warehouse";
1691
+ }>>;
1692
+ fulfilmentStrategy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1693
+ any: "any";
1694
+ default_first: "default_first";
1695
+ lowest_stock_first: "lowest_stock_first";
1696
+ highest_stock_first: "highest_stock_first";
1697
+ defined_order: "defined_order";
1698
+ }>>>;
1699
+ fulfilmentStrategyWarehouseOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1700
+ downloadAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1701
+ downloadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
+ }, z.core.$strict>>;
1703
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1704
+ inherit: z.ZodLiteral<true>;
1705
+ }, z.core.$strict>, z.ZodString]>>>;
1706
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1707
+ inherit: z.ZodLiteral<true>;
1708
+ }, z.core.$strict>, z.ZodString]>>>;
1709
+ status: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1710
+ inherit: z.ZodLiteral<true>;
1711
+ }, z.core.$strict>, z.ZodEnum<{
1712
+ active: "active";
1713
+ inactive: "inactive";
1714
+ }>]>>>;
1715
+ window: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1716
+ inherit: z.ZodLiteral<true>;
1717
+ }, z.core.$strict>, z.ZodObject<{
1718
+ from: z.ZodNullable<z.ZodString>;
1719
+ until: z.ZodNullable<z.ZodString>;
1720
+ }, z.core.$strict>]>>>;
1721
+ audience: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1722
+ inherit: z.ZodLiteral<true>;
1723
+ }, z.core.$strict>, z.ZodObject<{
1724
+ visibility: z.ZodEnum<{
1725
+ public: "public";
1726
+ logged_in_only: "logged_in_only";
1727
+ organization_restricted: "organization_restricted";
1728
+ }>;
1729
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1730
+ }, z.core.$strict>]>>>;
1731
+ minOrderQuantity: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1732
+ inherit: z.ZodLiteral<true>;
1733
+ }, z.core.$strict>, z.ZodNumber]>>>;
1734
+ returnable: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1735
+ inherit: z.ZodLiteral<true>;
1736
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1737
+ urlKey: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1738
+ inherit: z.ZodLiteral<true>;
1739
+ }, z.core.$strict>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>]>>>;
1740
+ confirmTakeover: z.ZodOptional<z.ZodArray<z.ZodString>>;
1741
+ attributes: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1742
+ inherit: z.ZodLiteral<true>;
1743
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>]>>>>>>;
1744
+ gallery: z.ZodOptional<z.ZodObject<{
1745
+ items: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1746
+ altText: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1747
+ inherit: z.ZodLiteral<true>;
1748
+ }, z.core.$strict>, z.ZodString]>>>;
1749
+ hidden: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1750
+ inherit: z.ZodLiteral<true>;
1751
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1752
+ }, z.core.$strict>>>>;
1753
+ roles: z.ZodOptional<z.ZodObject<{
1754
+ baseImage: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1755
+ inherit: z.ZodLiteral<true>;
1756
+ }, z.core.$strict>, z.ZodString]>>>;
1757
+ smallImage: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1758
+ inherit: z.ZodLiteral<true>;
1759
+ }, z.core.$strict>, z.ZodString]>>>;
1760
+ thumbnail: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1761
+ inherit: z.ZodLiteral<true>;
1762
+ }, z.core.$strict>, z.ZodString]>>>;
1763
+ }, z.core.$strict>>;
1764
+ }, z.core.$strict>>;
1765
+ attachments: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1766
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1767
+ inherit: z.ZodLiteral<true>;
1768
+ }, z.core.$strict>, z.ZodString]>>>;
1769
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1770
+ inherit: z.ZodLiteral<true>;
1771
+ }, z.core.$strict>, z.ZodString]>>>;
1772
+ hidden: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1773
+ inherit: z.ZodLiteral<true>;
1774
+ }, z.core.$strict>, z.ZodBoolean]>>>;
1775
+ }, z.core.$strict>>>>;
1776
+ packagingUnits: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodObject<{
1777
+ name: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1778
+ inherit: z.ZodLiteral<true>;
1779
+ }, z.core.$strict>, z.ZodString]>>>;
1780
+ }, z.core.$strict>>>>;
1781
+ seo: z.ZodOptional<z.ZodObject<{
1782
+ title: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1783
+ inherit: z.ZodLiteral<true>;
1784
+ }, z.core.$strict>, z.ZodString]>>>;
1785
+ description: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1786
+ inherit: z.ZodLiteral<true>;
1787
+ }, z.core.$strict>, z.ZodString]>>>;
1788
+ ogTitle: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1789
+ inherit: z.ZodLiteral<true>;
1790
+ }, z.core.$strict>, z.ZodString]>>>;
1791
+ ogDescription: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1792
+ inherit: z.ZodLiteral<true>;
1793
+ }, z.core.$strict>, z.ZodString]>>>;
1794
+ ogImageUrl: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
1795
+ inherit: z.ZodLiteral<true>;
1796
+ }, z.core.$strict>, z.ZodString]>>>;
1797
+ }, z.core.$strict>>;
1798
+ }, z.core.$strict>;
1799
+ }, z.core.$strict>;
1800
+ export type SaveScopedValuesRequest = z.infer<typeof saveScopedValuesRequestSchema>;
1801
+ export declare const saveScopedValuesResponseSchema: z.ZodObject<{
1802
+ data: z.ZodObject<{
1803
+ scope: z.ZodType<ScopeRef, unknown, z.core.$ZodTypeInternals<ScopeRef, unknown>>;
1804
+ version: z.ZodString;
1805
+ validScopes: z.ZodObject<{
1806
+ channels: z.ZodArray<z.ZodObject<{
1807
+ channelId: z.ZodString;
1808
+ name: z.ZodString;
1809
+ languages: z.ZodArray<z.ZodObject<{
1810
+ code: z.ZodString;
1811
+ name: z.ZodString;
1812
+ }, z.core.$strip>>;
1813
+ }, z.core.$strip>>;
1814
+ }, z.core.$strip>;
1815
+ product: z.ZodObject<{
1816
+ sku: z.ZodString;
1817
+ type: z.ZodEnum<{
1818
+ simple: "simple";
1819
+ configurable: "configurable";
1820
+ grouped: "grouped";
1821
+ bundle: "bundle";
1822
+ virtual: "virtual";
1823
+ }>;
1824
+ attributeSetId: z.ZodString;
1825
+ categoryIds: z.ZodArray<z.ZodString>;
1826
+ archivedAt: z.ZodNullable<z.ZodString>;
1827
+ slugGlobal: z.ZodString;
1828
+ manageStock: z.ZodBoolean;
1829
+ backorderEnabled: z.ZodBoolean;
1830
+ lowStockThreshold: z.ZodNullable<z.ZodNumber>;
1831
+ lowStockThresholdMode: z.ZodEnum<{
1832
+ cumulative: "cumulative";
1833
+ per_warehouse: "per_warehouse";
1834
+ }>;
1835
+ fulfilmentStrategy: z.ZodNullable<z.ZodString>;
1836
+ fulfilmentStrategyWarehouseOrder: z.ZodNullable<z.ZodArray<z.ZodString>>;
1837
+ downloadAssetId: z.ZodNullable<z.ZodString>;
1838
+ downloadUrl: z.ZodNullable<z.ZodString>;
1839
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1840
+ }, z.core.$strip>;
1841
+ fields: z.ZodObject<{
1842
+ name: z.ZodObject<{
1843
+ value: z.ZodNullable<z.ZodString>;
1844
+ source: z.ZodEnum<{
1845
+ set: "set";
1846
+ set_empty: "set_empty";
1847
+ inherited_channel: "inherited_channel";
1848
+ inherited_global: "inherited_global";
1849
+ absent: "absent";
1850
+ }>;
1851
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1852
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1853
+ value: z.ZodNullable<z.ZodString>;
1854
+ level: z.ZodEnum<{
1855
+ G: "G";
1856
+ C: "C";
1857
+ }>;
1858
+ }, z.core.$strict>>;
1859
+ levels: z.ZodArray<z.ZodEnum<{
1860
+ G: "G";
1861
+ C: "C";
1862
+ CL: "CL";
1863
+ }>>;
1864
+ supportedHere: z.ZodBoolean;
1865
+ required: z.ZodBoolean;
1866
+ }, z.core.$strip>;
1867
+ description: z.ZodObject<{
1868
+ value: z.ZodNullable<z.ZodString>;
1869
+ source: z.ZodEnum<{
1870
+ set: "set";
1871
+ set_empty: "set_empty";
1872
+ inherited_channel: "inherited_channel";
1873
+ inherited_global: "inherited_global";
1874
+ absent: "absent";
1875
+ }>;
1876
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1877
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1878
+ value: z.ZodNullable<z.ZodString>;
1879
+ level: z.ZodEnum<{
1880
+ G: "G";
1881
+ C: "C";
1882
+ }>;
1883
+ }, z.core.$strict>>;
1884
+ levels: z.ZodArray<z.ZodEnum<{
1885
+ G: "G";
1886
+ C: "C";
1887
+ CL: "CL";
1888
+ }>>;
1889
+ supportedHere: z.ZodBoolean;
1890
+ required: z.ZodBoolean;
1891
+ }, z.core.$strip>;
1892
+ status: z.ZodObject<{
1893
+ value: z.ZodNullable<z.ZodEnum<{
1894
+ active: "active";
1895
+ inactive: "inactive";
1896
+ }>>;
1897
+ source: z.ZodEnum<{
1898
+ set: "set";
1899
+ set_empty: "set_empty";
1900
+ inherited_channel: "inherited_channel";
1901
+ inherited_global: "inherited_global";
1902
+ absent: "absent";
1903
+ }>;
1904
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1905
+ active: "active";
1906
+ inactive: "inactive";
1907
+ }>>>;
1908
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1909
+ value: z.ZodNullable<z.ZodEnum<{
1910
+ active: "active";
1911
+ inactive: "inactive";
1912
+ }>>;
1913
+ level: z.ZodEnum<{
1914
+ G: "G";
1915
+ C: "C";
1916
+ }>;
1917
+ }, z.core.$strict>>;
1918
+ levels: z.ZodArray<z.ZodEnum<{
1919
+ G: "G";
1920
+ C: "C";
1921
+ CL: "CL";
1922
+ }>>;
1923
+ supportedHere: z.ZodBoolean;
1924
+ required: z.ZodBoolean;
1925
+ }, z.core.$strip>;
1926
+ window: z.ZodObject<{
1927
+ value: z.ZodNullable<z.ZodObject<{
1928
+ from: z.ZodNullable<z.ZodString>;
1929
+ until: z.ZodNullable<z.ZodString>;
1930
+ }, z.core.$strict>>;
1931
+ source: z.ZodEnum<{
1932
+ set: "set";
1933
+ set_empty: "set_empty";
1934
+ inherited_channel: "inherited_channel";
1935
+ inherited_global: "inherited_global";
1936
+ absent: "absent";
1937
+ }>;
1938
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1939
+ from: z.ZodNullable<z.ZodString>;
1940
+ until: z.ZodNullable<z.ZodString>;
1941
+ }, z.core.$strict>>>;
1942
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1943
+ value: z.ZodNullable<z.ZodObject<{
1944
+ from: z.ZodNullable<z.ZodString>;
1945
+ until: z.ZodNullable<z.ZodString>;
1946
+ }, z.core.$strict>>;
1947
+ level: z.ZodEnum<{
1948
+ G: "G";
1949
+ C: "C";
1950
+ }>;
1951
+ }, z.core.$strict>>;
1952
+ levels: z.ZodArray<z.ZodEnum<{
1953
+ G: "G";
1954
+ C: "C";
1955
+ CL: "CL";
1956
+ }>>;
1957
+ supportedHere: z.ZodBoolean;
1958
+ required: z.ZodBoolean;
1959
+ }, z.core.$strip>;
1960
+ audience: z.ZodObject<{
1961
+ value: z.ZodNullable<z.ZodObject<{
1962
+ visibility: z.ZodEnum<{
1963
+ public: "public";
1964
+ logged_in_only: "logged_in_only";
1965
+ organization_restricted: "organization_restricted";
1966
+ }>;
1967
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1968
+ }, z.core.$strict>>;
1969
+ source: z.ZodEnum<{
1970
+ set: "set";
1971
+ set_empty: "set_empty";
1972
+ inherited_channel: "inherited_channel";
1973
+ inherited_global: "inherited_global";
1974
+ absent: "absent";
1975
+ }>;
1976
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1977
+ visibility: z.ZodEnum<{
1978
+ public: "public";
1979
+ logged_in_only: "logged_in_only";
1980
+ organization_restricted: "organization_restricted";
1981
+ }>;
1982
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1983
+ }, z.core.$strict>>>;
1984
+ inheritedValue: z.ZodOptional<z.ZodObject<{
1985
+ value: z.ZodNullable<z.ZodObject<{
1986
+ visibility: z.ZodEnum<{
1987
+ public: "public";
1988
+ logged_in_only: "logged_in_only";
1989
+ organization_restricted: "organization_restricted";
1990
+ }>;
1991
+ allowedOrganizationIds: z.ZodArray<z.ZodString>;
1992
+ }, z.core.$strict>>;
1993
+ level: z.ZodEnum<{
1994
+ G: "G";
1995
+ C: "C";
1996
+ }>;
1997
+ }, z.core.$strict>>;
1998
+ levels: z.ZodArray<z.ZodEnum<{
1999
+ G: "G";
2000
+ C: "C";
2001
+ CL: "CL";
2002
+ }>>;
2003
+ supportedHere: z.ZodBoolean;
2004
+ required: z.ZodBoolean;
2005
+ }, z.core.$strip>;
2006
+ minOrderQuantity: z.ZodObject<{
2007
+ value: z.ZodNullable<z.ZodNumber>;
2008
+ source: z.ZodEnum<{
2009
+ set: "set";
2010
+ set_empty: "set_empty";
2011
+ inherited_channel: "inherited_channel";
2012
+ inherited_global: "inherited_global";
2013
+ absent: "absent";
2014
+ }>;
2015
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2016
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2017
+ value: z.ZodNullable<z.ZodNumber>;
2018
+ level: z.ZodEnum<{
2019
+ G: "G";
2020
+ C: "C";
2021
+ }>;
2022
+ }, z.core.$strict>>;
2023
+ levels: z.ZodArray<z.ZodEnum<{
2024
+ G: "G";
2025
+ C: "C";
2026
+ CL: "CL";
2027
+ }>>;
2028
+ supportedHere: z.ZodBoolean;
2029
+ required: z.ZodBoolean;
2030
+ }, z.core.$strip>;
2031
+ returnable: z.ZodObject<{
2032
+ value: z.ZodNullable<z.ZodBoolean>;
2033
+ source: z.ZodEnum<{
2034
+ set: "set";
2035
+ set_empty: "set_empty";
2036
+ inherited_channel: "inherited_channel";
2037
+ inherited_global: "inherited_global";
2038
+ absent: "absent";
2039
+ }>;
2040
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2041
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2042
+ value: z.ZodNullable<z.ZodBoolean>;
2043
+ level: z.ZodEnum<{
2044
+ G: "G";
2045
+ C: "C";
2046
+ }>;
2047
+ }, z.core.$strict>>;
2048
+ levels: z.ZodArray<z.ZodEnum<{
2049
+ G: "G";
2050
+ C: "C";
2051
+ CL: "CL";
2052
+ }>>;
2053
+ supportedHere: z.ZodBoolean;
2054
+ required: z.ZodBoolean;
2055
+ }, z.core.$strip>;
2056
+ urlKey: z.ZodObject<{
2057
+ value: z.ZodNullable<z.ZodString>;
2058
+ source: z.ZodEnum<{
2059
+ set: "set";
2060
+ set_empty: "set_empty";
2061
+ inherited_channel: "inherited_channel";
2062
+ inherited_global: "inherited_global";
2063
+ absent: "absent";
2064
+ }>;
2065
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2066
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2067
+ value: z.ZodNullable<z.ZodString>;
2068
+ level: z.ZodEnum<{
2069
+ G: "G";
2070
+ C: "C";
2071
+ }>;
2072
+ }, z.core.$strict>>;
2073
+ levels: z.ZodArray<z.ZodEnum<{
2074
+ G: "G";
2075
+ C: "C";
2076
+ CL: "CL";
2077
+ }>>;
2078
+ supportedHere: z.ZodBoolean;
2079
+ required: z.ZodBoolean;
2080
+ }, z.core.$strip>;
2081
+ }, z.core.$strip>;
2082
+ attributes: z.ZodArray<z.ZodObject<{
2083
+ key: z.ZodString;
2084
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
2085
+ valueType: z.ZodString;
2086
+ isRequired: z.ZodBoolean;
2087
+ view: z.ZodObject<{
2088
+ value: z.ZodNullable<z.ZodUnknown>;
2089
+ source: z.ZodEnum<{
2090
+ set: "set";
2091
+ set_empty: "set_empty";
2092
+ inherited_channel: "inherited_channel";
2093
+ inherited_global: "inherited_global";
2094
+ absent: "absent";
2095
+ }>;
2096
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
2097
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2098
+ value: z.ZodNullable<z.ZodUnknown>;
2099
+ level: z.ZodEnum<{
2100
+ G: "G";
2101
+ C: "C";
2102
+ }>;
2103
+ }, z.core.$strict>>;
2104
+ levels: z.ZodArray<z.ZodEnum<{
2105
+ G: "G";
2106
+ C: "C";
2107
+ CL: "CL";
2108
+ }>>;
2109
+ supportedHere: z.ZodBoolean;
2110
+ required: z.ZodBoolean;
2111
+ }, z.core.$strip>;
2112
+ }, z.core.$strip>>;
2113
+ gallery: z.ZodObject<{
2114
+ items: z.ZodArray<z.ZodObject<{
2115
+ id: z.ZodString;
2116
+ assetId: z.ZodString;
2117
+ url: z.ZodString;
2118
+ position: z.ZodNumber;
2119
+ altText: z.ZodObject<{
2120
+ value: z.ZodNullable<z.ZodString>;
2121
+ source: z.ZodEnum<{
2122
+ set: "set";
2123
+ set_empty: "set_empty";
2124
+ inherited_channel: "inherited_channel";
2125
+ inherited_global: "inherited_global";
2126
+ absent: "absent";
2127
+ }>;
2128
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2129
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2130
+ value: z.ZodNullable<z.ZodString>;
2131
+ level: z.ZodEnum<{
2132
+ G: "G";
2133
+ C: "C";
2134
+ }>;
2135
+ }, z.core.$strict>>;
2136
+ levels: z.ZodArray<z.ZodEnum<{
2137
+ G: "G";
2138
+ C: "C";
2139
+ CL: "CL";
2140
+ }>>;
2141
+ supportedHere: z.ZodBoolean;
2142
+ required: z.ZodBoolean;
2143
+ }, z.core.$strip>;
2144
+ hidden: z.ZodObject<{
2145
+ value: z.ZodNullable<z.ZodBoolean>;
2146
+ source: z.ZodEnum<{
2147
+ set: "set";
2148
+ set_empty: "set_empty";
2149
+ inherited_channel: "inherited_channel";
2150
+ inherited_global: "inherited_global";
2151
+ absent: "absent";
2152
+ }>;
2153
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2154
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2155
+ value: z.ZodNullable<z.ZodBoolean>;
2156
+ level: z.ZodEnum<{
2157
+ G: "G";
2158
+ C: "C";
2159
+ }>;
2160
+ }, z.core.$strict>>;
2161
+ levels: z.ZodArray<z.ZodEnum<{
2162
+ G: "G";
2163
+ C: "C";
2164
+ CL: "CL";
2165
+ }>>;
2166
+ supportedHere: z.ZodBoolean;
2167
+ required: z.ZodBoolean;
2168
+ }, z.core.$strip>;
2169
+ assetAltText: z.ZodNullable<z.ZodString>;
2170
+ }, z.core.$strip>>;
2171
+ roles: z.ZodObject<{
2172
+ baseImage: z.ZodObject<{
2173
+ value: z.ZodNullable<z.ZodString>;
2174
+ source: z.ZodEnum<{
2175
+ set: "set";
2176
+ set_empty: "set_empty";
2177
+ inherited_channel: "inherited_channel";
2178
+ inherited_global: "inherited_global";
2179
+ absent: "absent";
2180
+ }>;
2181
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2182
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2183
+ value: z.ZodNullable<z.ZodString>;
2184
+ level: z.ZodEnum<{
2185
+ G: "G";
2186
+ C: "C";
2187
+ }>;
2188
+ }, z.core.$strict>>;
2189
+ levels: z.ZodArray<z.ZodEnum<{
2190
+ G: "G";
2191
+ C: "C";
2192
+ CL: "CL";
2193
+ }>>;
2194
+ supportedHere: z.ZodBoolean;
2195
+ required: z.ZodBoolean;
2196
+ }, z.core.$strip>;
2197
+ smallImage: z.ZodObject<{
2198
+ value: z.ZodNullable<z.ZodString>;
2199
+ source: z.ZodEnum<{
2200
+ set: "set";
2201
+ set_empty: "set_empty";
2202
+ inherited_channel: "inherited_channel";
2203
+ inherited_global: "inherited_global";
2204
+ absent: "absent";
2205
+ }>;
2206
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2207
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2208
+ value: z.ZodNullable<z.ZodString>;
2209
+ level: z.ZodEnum<{
2210
+ G: "G";
2211
+ C: "C";
2212
+ }>;
2213
+ }, z.core.$strict>>;
2214
+ levels: z.ZodArray<z.ZodEnum<{
2215
+ G: "G";
2216
+ C: "C";
2217
+ CL: "CL";
2218
+ }>>;
2219
+ supportedHere: z.ZodBoolean;
2220
+ required: z.ZodBoolean;
2221
+ }, z.core.$strip>;
2222
+ thumbnail: z.ZodObject<{
2223
+ value: z.ZodNullable<z.ZodString>;
2224
+ source: z.ZodEnum<{
2225
+ set: "set";
2226
+ set_empty: "set_empty";
2227
+ inherited_channel: "inherited_channel";
2228
+ inherited_global: "inherited_global";
2229
+ absent: "absent";
2230
+ }>;
2231
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2232
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2233
+ value: z.ZodNullable<z.ZodString>;
2234
+ level: z.ZodEnum<{
2235
+ G: "G";
2236
+ C: "C";
2237
+ }>;
2238
+ }, z.core.$strict>>;
2239
+ levels: z.ZodArray<z.ZodEnum<{
2240
+ G: "G";
2241
+ C: "C";
2242
+ CL: "CL";
2243
+ }>>;
2244
+ supportedHere: z.ZodBoolean;
2245
+ required: z.ZodBoolean;
2246
+ }, z.core.$strip>;
2247
+ }, z.core.$strip>;
2248
+ }, z.core.$strip>;
2249
+ attachments: z.ZodArray<z.ZodObject<{
2250
+ id: z.ZodString;
2251
+ assetId: z.ZodString;
2252
+ typeId: z.ZodString;
2253
+ position: z.ZodNumber;
2254
+ fileName: z.ZodString;
2255
+ name: z.ZodObject<{
2256
+ value: z.ZodNullable<z.ZodString>;
2257
+ source: z.ZodEnum<{
2258
+ set: "set";
2259
+ set_empty: "set_empty";
2260
+ inherited_channel: "inherited_channel";
2261
+ inherited_global: "inherited_global";
2262
+ absent: "absent";
2263
+ }>;
2264
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2265
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2266
+ value: z.ZodNullable<z.ZodString>;
2267
+ level: z.ZodEnum<{
2268
+ G: "G";
2269
+ C: "C";
2270
+ }>;
2271
+ }, z.core.$strict>>;
2272
+ levels: z.ZodArray<z.ZodEnum<{
2273
+ G: "G";
2274
+ C: "C";
2275
+ CL: "CL";
2276
+ }>>;
2277
+ supportedHere: z.ZodBoolean;
2278
+ required: z.ZodBoolean;
2279
+ }, z.core.$strip>;
2280
+ description: z.ZodObject<{
2281
+ value: z.ZodNullable<z.ZodString>;
2282
+ source: z.ZodEnum<{
2283
+ set: "set";
2284
+ set_empty: "set_empty";
2285
+ inherited_channel: "inherited_channel";
2286
+ inherited_global: "inherited_global";
2287
+ absent: "absent";
2288
+ }>;
2289
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2290
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2291
+ value: z.ZodNullable<z.ZodString>;
2292
+ level: z.ZodEnum<{
2293
+ G: "G";
2294
+ C: "C";
2295
+ }>;
2296
+ }, z.core.$strict>>;
2297
+ levels: z.ZodArray<z.ZodEnum<{
2298
+ G: "G";
2299
+ C: "C";
2300
+ CL: "CL";
2301
+ }>>;
2302
+ supportedHere: z.ZodBoolean;
2303
+ required: z.ZodBoolean;
2304
+ }, z.core.$strip>;
2305
+ hidden: z.ZodObject<{
2306
+ value: z.ZodNullable<z.ZodBoolean>;
2307
+ source: z.ZodEnum<{
2308
+ set: "set";
2309
+ set_empty: "set_empty";
2310
+ inherited_channel: "inherited_channel";
2311
+ inherited_global: "inherited_global";
2312
+ absent: "absent";
2313
+ }>;
2314
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2315
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2316
+ value: z.ZodNullable<z.ZodBoolean>;
2317
+ level: z.ZodEnum<{
2318
+ G: "G";
2319
+ C: "C";
2320
+ }>;
2321
+ }, z.core.$strict>>;
2322
+ levels: z.ZodArray<z.ZodEnum<{
2323
+ G: "G";
2324
+ C: "C";
2325
+ CL: "CL";
2326
+ }>>;
2327
+ supportedHere: z.ZodBoolean;
2328
+ required: z.ZodBoolean;
2329
+ }, z.core.$strip>;
2330
+ }, z.core.$strip>>;
2331
+ packagingUnits: z.ZodArray<z.ZodObject<{
2332
+ id: z.ZodString;
2333
+ baseQuantity: z.ZodNumber;
2334
+ position: z.ZodNumber;
2335
+ isDefault: z.ZodBoolean;
2336
+ minOrderUnits: z.ZodNullable<z.ZodNumber>;
2337
+ name: z.ZodObject<{
2338
+ value: z.ZodNullable<z.ZodString>;
2339
+ source: z.ZodEnum<{
2340
+ set: "set";
2341
+ set_empty: "set_empty";
2342
+ inherited_channel: "inherited_channel";
2343
+ inherited_global: "inherited_global";
2344
+ absent: "absent";
2345
+ }>;
2346
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2347
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2348
+ value: z.ZodNullable<z.ZodString>;
2349
+ level: z.ZodEnum<{
2350
+ G: "G";
2351
+ C: "C";
2352
+ }>;
2353
+ }, z.core.$strict>>;
2354
+ levels: z.ZodArray<z.ZodEnum<{
2355
+ G: "G";
2356
+ C: "C";
2357
+ CL: "CL";
2358
+ }>>;
2359
+ supportedHere: z.ZodBoolean;
2360
+ required: z.ZodBoolean;
2361
+ }, z.core.$strip>;
2362
+ }, z.core.$strip>>;
2363
+ seo: z.ZodNullable<z.ZodObject<{
2364
+ title: z.ZodObject<{
2365
+ value: z.ZodNullable<z.ZodString>;
2366
+ source: z.ZodEnum<{
2367
+ set: "set";
2368
+ set_empty: "set_empty";
2369
+ inherited_channel: "inherited_channel";
2370
+ inherited_global: "inherited_global";
2371
+ absent: "absent";
2372
+ }>;
2373
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2374
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2375
+ value: z.ZodNullable<z.ZodString>;
2376
+ level: z.ZodEnum<{
2377
+ G: "G";
2378
+ C: "C";
2379
+ }>;
2380
+ }, z.core.$strict>>;
2381
+ levels: z.ZodArray<z.ZodEnum<{
2382
+ G: "G";
2383
+ C: "C";
2384
+ CL: "CL";
2385
+ }>>;
2386
+ supportedHere: z.ZodBoolean;
2387
+ required: z.ZodBoolean;
2388
+ }, z.core.$strip>;
2389
+ description: z.ZodObject<{
2390
+ value: z.ZodNullable<z.ZodString>;
2391
+ source: z.ZodEnum<{
2392
+ set: "set";
2393
+ set_empty: "set_empty";
2394
+ inherited_channel: "inherited_channel";
2395
+ inherited_global: "inherited_global";
2396
+ absent: "absent";
2397
+ }>;
2398
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2399
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2400
+ value: z.ZodNullable<z.ZodString>;
2401
+ level: z.ZodEnum<{
2402
+ G: "G";
2403
+ C: "C";
2404
+ }>;
2405
+ }, z.core.$strict>>;
2406
+ levels: z.ZodArray<z.ZodEnum<{
2407
+ G: "G";
2408
+ C: "C";
2409
+ CL: "CL";
2410
+ }>>;
2411
+ supportedHere: z.ZodBoolean;
2412
+ required: z.ZodBoolean;
2413
+ }, z.core.$strip>;
2414
+ ogTitle: z.ZodObject<{
2415
+ value: z.ZodNullable<z.ZodString>;
2416
+ source: z.ZodEnum<{
2417
+ set: "set";
2418
+ set_empty: "set_empty";
2419
+ inherited_channel: "inherited_channel";
2420
+ inherited_global: "inherited_global";
2421
+ absent: "absent";
2422
+ }>;
2423
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2424
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2425
+ value: z.ZodNullable<z.ZodString>;
2426
+ level: z.ZodEnum<{
2427
+ G: "G";
2428
+ C: "C";
2429
+ }>;
2430
+ }, z.core.$strict>>;
2431
+ levels: z.ZodArray<z.ZodEnum<{
2432
+ G: "G";
2433
+ C: "C";
2434
+ CL: "CL";
2435
+ }>>;
2436
+ supportedHere: z.ZodBoolean;
2437
+ required: z.ZodBoolean;
2438
+ }, z.core.$strip>;
2439
+ ogDescription: z.ZodObject<{
2440
+ value: z.ZodNullable<z.ZodString>;
2441
+ source: z.ZodEnum<{
2442
+ set: "set";
2443
+ set_empty: "set_empty";
2444
+ inherited_channel: "inherited_channel";
2445
+ inherited_global: "inherited_global";
2446
+ absent: "absent";
2447
+ }>;
2448
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2449
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2450
+ value: z.ZodNullable<z.ZodString>;
2451
+ level: z.ZodEnum<{
2452
+ G: "G";
2453
+ C: "C";
2454
+ }>;
2455
+ }, z.core.$strict>>;
2456
+ levels: z.ZodArray<z.ZodEnum<{
2457
+ G: "G";
2458
+ C: "C";
2459
+ CL: "CL";
2460
+ }>>;
2461
+ supportedHere: z.ZodBoolean;
2462
+ required: z.ZodBoolean;
2463
+ }, z.core.$strip>;
2464
+ ogImageUrl: z.ZodObject<{
2465
+ value: z.ZodNullable<z.ZodString>;
2466
+ source: z.ZodEnum<{
2467
+ set: "set";
2468
+ set_empty: "set_empty";
2469
+ inherited_channel: "inherited_channel";
2470
+ inherited_global: "inherited_global";
2471
+ absent: "absent";
2472
+ }>;
2473
+ ownValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2474
+ inheritedValue: z.ZodOptional<z.ZodObject<{
2475
+ value: z.ZodNullable<z.ZodString>;
2476
+ level: z.ZodEnum<{
2477
+ G: "G";
2478
+ C: "C";
2479
+ }>;
2480
+ }, z.core.$strict>>;
2481
+ levels: z.ZodArray<z.ZodEnum<{
2482
+ G: "G";
2483
+ C: "C";
2484
+ CL: "CL";
2485
+ }>>;
2486
+ supportedHere: z.ZodBoolean;
2487
+ required: z.ZodBoolean;
2488
+ }, z.core.$strip>;
2489
+ }, z.core.$strip>>;
2490
+ completeness: z.ZodDiscriminatedUnion<[z.ZodObject<{
2491
+ level: z.ZodLiteral<"channel_language">;
2492
+ missing: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>>;
2493
+ }, z.core.$strip>, z.ZodObject<{
2494
+ level: z.ZodLiteral<"channel">;
2495
+ missing: z.ZodArray<z.ZodObject<{
2496
+ field: z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>;
2497
+ languages: z.ZodArray<z.ZodString>;
2498
+ }, z.core.$strip>>;
2499
+ }, z.core.$strip>, z.ZodObject<{
2500
+ level: z.ZodLiteral<"global">;
2501
+ incompleteScopes: z.ZodNumber;
2502
+ }, z.core.$strip>], "level">;
2503
+ organizations: z.ZodArray<z.ZodObject<{
2504
+ id: z.ZodString;
2505
+ name: z.ZodString;
2506
+ }, z.core.$strip>>;
2507
+ }, z.core.$strip>;
2508
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2509
+ kind: z.ZodLiteral<"completeness">;
2510
+ channelId: z.ZodString;
2511
+ languageCode: z.ZodString;
2512
+ missing: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"name">, z.ZodLiteral<"urlKey">, z.ZodTemplateLiteral<`attribute:${string}`>]>>;
2513
+ }, z.core.$strip>, z.ZodObject<{
2514
+ kind: z.ZodLiteral<"audience_non_members">;
2515
+ channelId: z.ZodString;
2516
+ organizationIds: z.ZodArray<z.ZodString>;
2517
+ }, z.core.$strip>], "kind">>;
2518
+ }, z.core.$strip>;
2519
+ export type SaveScopedValuesResponse = z.infer<typeof saveScopedValuesResponseSchema>;
2520
+ export declare const copyScopedValueRequestSchema: z.ZodObject<{
2521
+ field: z.ZodPipe<z.ZodString, z.ZodTransform<"description" | "name" | "status" | "window" | "audience" | "minOrderQuantity" | "returnable" | "urlKey" | "seo:description" | "seo:title" | "seo:ogTitle" | "seo:ogDescription" | "seo:ogImageUrl" | `attribute:${string}` | `gallery:${string}:altText` | `gallery:${string}:hidden` | "galleryRole:base_image" | "galleryRole:small_image" | "galleryRole:thumbnail" | `attachment:${string}:description` | `attachment:${string}:name` | `attachment:${string}:hidden` | `packagingUnit:${string}:name`, string>>;
2522
+ from: z.ZodObject<{
2523
+ channelId: z.ZodString;
2524
+ languageCode: z.ZodString;
2525
+ }, z.core.$strict>;
2526
+ toChannelIds: z.ZodArray<z.ZodString>;
2527
+ version: z.ZodString;
2528
+ dryRun: z.ZodOptional<z.ZodBoolean>;
2529
+ }, z.core.$strict>;
2530
+ export type CopyScopedValueRequest = z.infer<typeof copyScopedValueRequestSchema>;
2531
+ export declare const copyScopedValueResponseSchema: z.ZodObject<{
2532
+ data: z.ZodObject<{
2533
+ overwrites: z.ZodArray<z.ZodObject<{
2534
+ channelId: z.ZodString;
2535
+ currentValue: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2536
+ empty: z.ZodLiteral<true>;
2537
+ }, z.core.$strict>]>;
2538
+ }, z.core.$strip>>;
2539
+ applied: z.ZodNumber;
2540
+ version: z.ZodString;
2541
+ }, z.core.$strip>;
2542
+ }, z.core.$strip>;
2543
+ export type CopyScopedValueResponse = z.infer<typeof copyScopedValueResponseSchema>;
2544
+ /** `422 FIELD_NOT_AT_SCOPE` details. */
2545
+ export declare const fieldNotAtScopeDetailsSchema: z.ZodObject<{
2546
+ fields: z.ZodArray<z.ZodObject<{
2547
+ field: z.ZodString;
2548
+ levels: z.ZodArray<z.ZodEnum<{
2549
+ G: "G";
2550
+ C: "C";
2551
+ CL: "CL";
2552
+ }>>;
2553
+ }, z.core.$strip>>;
2554
+ }, z.core.$strip>;
2555
+ /** `422 SCOPED_VALUE_INVALID` details. */
2556
+ export declare const scopedValueInvalidDetailsSchema: z.ZodObject<{
2557
+ fields: z.ZodArray<z.ZodObject<{
2558
+ field: z.ZodString;
2559
+ scope: z.ZodType<ScopeRef, unknown, z.core.$ZodTypeInternals<ScopeRef, unknown>>;
2560
+ reason: z.ZodEnum<{
2561
+ required_empty: "required_empty";
2562
+ not_emptyable: "not_emptyable";
2563
+ inherit_at_global: "inherit_at_global";
2564
+ not_supported: "not_supported";
2565
+ subject_not_found: "subject_not_found";
2566
+ invalid: "invalid";
2567
+ source_inherits: "source_inherits";
2568
+ }>;
2569
+ }, z.core.$strip>>;
2570
+ }, z.core.$strip>;
2571
+ export type ScopedValueInvalidDetails = z.infer<typeof scopedValueInvalidDetailsSchema>;
2572
+ /** `422 GLOBAL_ONLY_FIELD` details. */
2573
+ export declare const globalOnlyFieldDetailsSchema: z.ZodObject<{
2574
+ fields: z.ZodArray<z.ZodString>;
2575
+ }, z.core.$strip>;
2576
+ /**
2577
+ * The `details` each scoped-values refusal carries (`contracts/error-codes.md`): the one table a
2578
+ * client reads a refusal's shape from.
2579
+ */
2580
+ export declare const scopedValuesErrorDetailsSchemas: {
2581
+ readonly FIELD_NOT_AT_SCOPE: z.ZodObject<{
2582
+ fields: z.ZodArray<z.ZodObject<{
2583
+ field: z.ZodString;
2584
+ levels: z.ZodArray<z.ZodEnum<{
2585
+ G: "G";
2586
+ C: "C";
2587
+ CL: "CL";
2588
+ }>>;
2589
+ }, z.core.$strip>>;
2590
+ }, z.core.$strip>;
2591
+ readonly SCOPED_VALUE_INVALID: z.ZodObject<{
2592
+ fields: z.ZodArray<z.ZodObject<{
2593
+ field: z.ZodString;
2594
+ scope: z.ZodType<ScopeRef, unknown, z.core.$ZodTypeInternals<ScopeRef, unknown>>;
2595
+ reason: z.ZodEnum<{
2596
+ required_empty: "required_empty";
2597
+ not_emptyable: "not_emptyable";
2598
+ inherit_at_global: "inherit_at_global";
2599
+ not_supported: "not_supported";
2600
+ subject_not_found: "subject_not_found";
2601
+ invalid: "invalid";
2602
+ source_inherits: "source_inherits";
2603
+ }>;
2604
+ }, z.core.$strip>>;
2605
+ }, z.core.$strip>;
2606
+ readonly GLOBAL_ONLY_FIELD: z.ZodObject<{
2607
+ fields: z.ZodArray<z.ZodString>;
2608
+ }, z.core.$strip>;
2609
+ };
2610
+ //# sourceMappingURL=product-scoped-values.d.ts.map