zendesk_apps_support 4.44.0.alpha.4 → 4.44.0.alpha.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4e4c5b527f55ef2196a4ca7ae93ea4f7936f4e675a95fa09cb2a041dca32440
4
- data.tar.gz: 4c3fedc8899ce36e76033fbe3b1c5fd3c50065e2b04f8b3c4ce547fbadff0f3d
3
+ metadata.gz: 819e620049b981005127f9ebf2f8beb2eda7869af04dfbf9beb48d5600527371
4
+ data.tar.gz: 3e19f3ed1983ee0acfb4b321ad4534f4f86ab50c156722b9d8fd12951f8b7eca
5
5
  SHA512:
6
- metadata.gz: 51ad85fa9da996911de164bf7571499af15fe9040f162814bd3d6ac4d8b173b7e7773f0bdda8662afa9e30c4a58db96600a5aea1c921d83f740642745a9e0152
7
- data.tar.gz: ffca3dbb9cffd56bc6bbdc9655add3c04a8a583c399eeaea34d9ced8d7e953862840928919ecc1c561b43b120f0a4bc62d8d06a2c140ac02e5a6b6bf78b0ce3b
6
+ metadata.gz: df1ff143120996fb43f41e6aefd6438519c5a89b27c16a9c60870f963243b9c1d07681cb8b2c9e3dab68a917b1c43c58b17a492f74b760a43fa4c81b003ad35e
7
+ data.tar.gz: cbe74096f6e394d03fad114b625635af807f194a251ebec7b21b9e58cd80d0fd51475958c1dae62f06488e7363496b48a822c81638e68edbad3e10701838b888
@@ -132,6 +132,49 @@ en:
132
132
  contains an invalid object reference in object_triggers. Trigger \"%{item_identifier}\"
133
133
  references object \"%{object_key}\" which does not exist in the objects
134
134
  array.
135
+ excessive_custom_objects_v2_trigger_conditions_v2: The requirements.json
136
+ file contains too many custom object trigger conditions. The current
137
+ limit is %{max} conditions per trigger. This app has %{count} conditions
138
+ for trigger %{trigger_key}.
139
+ excessive_custom_objects_v2_trigger_actions_v2: The requirements.json
140
+ file contains too many custom object trigger actions. The current limit
141
+ is %{max} actions per trigger. This app has %{count} actions for trigger
142
+ %{trigger_key}.
143
+ missing_cov2_trigger_schema_key_v2: 'The requirements.json file is missing
144
+ custom object trigger schema key for trigger %{trigger_key} in object
145
+ %{object_key}. The following key is required: %{missing_key}.'
146
+ empty_cov2_trigger_conditions_v2: The requirements.json file contains
147
+ an empty conditions array for custom object trigger %{trigger_key} in
148
+ object %{object_key}.
149
+ invalid_cov2_requirements_structure_v2: The requirements.json file contains
150
+ an invalid custom_objects_v2 structure. The custom_objects_v2 requirements
151
+ must be an object.
152
+ invalid_cov2_trigger_actions_structure_v2: The requirements.json file
153
+ contains an invalid custom object trigger actions structure. The actions
154
+ field must be an array for trigger %{trigger_key}.
155
+ empty_cov2_trigger_actions_v2: The requirements.json file contains empty
156
+ custom object trigger actions. At least one action must be specified
157
+ for trigger %{trigger_key}.
158
+ invalid_objects_structure_in_cov2_requirements_v2: The requirements.json
159
+ file contains an invalid objects structure. The objects field must be
160
+ an array.
161
+ invalid_object_fields_structure_in_cov2_requirements_v2: The requirements.json
162
+ file contains an invalid object_fields structure. The object_fields
163
+ field must be an array.
164
+ invalid_object_triggers_structure_in_cov2_requirements_v2: The requirements.json
165
+ file contains an invalid object_triggers structure. The object_triggers
166
+ field must be an array.
167
+ invalid_cov2_object_reference_in_fields_v2: The requirements.json file
168
+ contains an invalid object reference in object_fields. Field %{item_identifier}
169
+ references object %{object_key} which does not exist in the objects
170
+ array.
171
+ invalid_cov2_object_reference_in_triggers_v2: The requirements.json file
172
+ contains an invalid object reference in object_triggers. Trigger %{item_identifier}
173
+ references object %{object_key} which does not exist in the objects
174
+ array.
175
+ invalid_cov2_trigger_conditions_structure_v2: The requirements.json file
176
+ contains an invalid custom object trigger conditions structure. Conditions
177
+ must be a hash with all and any arrays for trigger %{trigger_key}.
135
178
  missing_required_fields: 'Missing required fields in requirements.json:
136
179
  "%{field}" is required in "%{identifier}"'
137
180
  duplicate_requirements:
@@ -145,7 +188,6 @@ en:
145
188
  other: Unsupported MIME types detected in %{file_names}.
146
189
  multiple_channel_integrations: Specifying multiple channel integrations
147
190
  in requirements.json is not supported.
148
- oauth_parameter_required: "Please upgrade to our new oauth format. Learn more: %{link}"
149
191
  invalid_cr_schema_keys:
150
192
  one: 'Custom resources schema contains an invalid key: %{invalid_keys}'
151
193
  other: 'Custom resources schema contains invalid keys: %{invalid_keys}'
@@ -161,6 +203,8 @@ en:
161
203
  missing:
162
204
  one: 'Missing required oauth field in manifest: %{missing_keys}'
163
205
  other: 'Missing required oauth fields in manifest: %{missing_keys}'
206
+ oauth_parameter_required: 'Missing parameter of type ''oauth''. Learn
207
+ about oauth property in manifest: %{link}'
164
208
  too_many_oauth_parameters: 'Too many parameters with type ''oauth'': one
165
209
  permitted'
166
210
  missing_source: Could not find app.js
@@ -206,10 +250,11 @@ en:
206
250
  for %{product}: %{missing_key}'
207
251
  products_do_not_match_manifest_products: Products in manifest (%{manifest_products})
208
252
  do not match products in translations (%{translation_products})
209
- password_parameter_deprecated: 'Password parameter type is deprecated and will not
210
- be accepted in the future. Use Basic Access Authentication instead. Learn more: %{link}.'
211
253
  insecure_token_parameter_in_manifest: 'Make sure to set secure to true
212
254
  when using keys in Settings. Learn more: %{link}'
255
+ password_parameter_deprecated: 'Password parameter type is deprecated
256
+ and will not be accepted in the future. Use Basic Access Authentication
257
+ instead. Learn more: %{link}.'
213
258
  default_secure_or_hidden_parameter_in_manifest: Default values for secure
214
259
  or hidden parameters are not stored securely. Be sure to review them
215
260
  and confirm they do not contain sensitive data
@@ -125,11 +125,13 @@ parts:
125
125
  title: "App builder job: requirements file contains too many custom object trigger conditions. The maximum number of conditions allowed per trigger is 50. Leave requirements.json as is (do not translate)"
126
126
  value: "The requirements.json file contains too many custom object trigger conditions. The current limit is %{max} conditions per trigger. This app has %{count} conditions for trigger %{trigger_title}."
127
127
  screenshot: "https://drive.google.com/file/d/1szSaYRTeIcHux5nMJg3Yxyct1Obxa-wv/view?usp=sharing"
128
+ obsolete: "2025-12-31"
128
129
  - translation:
129
130
  key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_actions"
130
131
  title: "App builder job: requirements file contains too many custom object trigger actions. The maximum number of actions allowed per trigger is 25. Leave requirements.json as is (do not translate)"
131
132
  value: "The requirements.json file contains too many custom object trigger actions. The current limit is %{max} actions per trigger. This app has %{count} actions for trigger %{trigger_title}."
132
133
  screenshot: "https://drive.google.com/file/d/18jXaM7_OnPqHAg6jAxJrTrgX1v_H156_/view?usp=sharing"
134
+ obsolete: "2025-12-31"
133
135
  - translation:
134
136
  key: "txt.apps.admin.error.app_build.excessive_cov2_dropdown_fields_per_object"
135
137
  title: "App builder job: requirements file contains too many custom object fields of type dropdown. The maximum number of fields of type dropdown per object is 5. Leave requirements.json as is (do not translate)"
@@ -151,32 +153,35 @@ parts:
151
153
  key: "txt.apps.admin.error.app_build.excessive_cov2_relationship_filter_conditions"
152
154
  title: "App builder job: requirements file contains too many conditions in relationship filter for lookup fields. The maximum number of conditions allowed in the relationship filter per field is 20. Leave requirements.json as is (do not translate)"
153
155
  value: "The requirements.json file contains too many conditions in relationship filter for custom object field %{field_key}. The current limit is %{max} conditions per field. This app has %{count} conditions for field %{field_key} in object %{object_key}."
154
- "screenshot": "https://drive.google.com/file/d/13J6GIkq3CXGqRwV5KRHouXulRVuwQnNi/view?usp=sharing"
156
+ screenshot: "https://drive.google.com/file/d/13J6GIkq3CXGqRwV5KRHouXulRVuwQnNi/view?usp=sharing"
155
157
  - translation:
156
158
  key: "txt.apps.admin.error.app_build.missing_cov2_object_schema_key"
157
159
  title: 'App builder job: requirements file is missing a custom object schema key. These are the required keys: (key, title, title_pluralized, include_in_list_view). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
158
160
  value: "The requirements.json file is missing custom object schema key for object %{object_key}. The following key is required: %{missing_key}."
159
- "screenshot": "https://drive.google.com/file/d/15iZemfkt14z96W4zmDHw1kodU70UxMYs/view?usp=sharing"
161
+ screenshot: "https://drive.google.com/file/d/15iZemfkt14z96W4zmDHw1kodU70UxMYs/view?usp=sharing"
160
162
  - translation:
161
163
  key: "txt.apps.admin.error.app_build.missing_cov2_field_schema_key"
162
164
  title: 'App builder job: requirements file is missing a custom object field schema key. These are the required keys: (key, title, type, object_key). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
163
165
  value: "The requirements.json file is missing custom object field schema key for field %{field_key} in object %{object_key}. The following key is required: %{missing_key}."
164
- "screenshot": "https://drive.google.com/file/d/1hYqJ_df8jhjqQjUQHMAC-yrAK7uGaKEH/view?usp=sharing"
166
+ screenshot: "https://drive.google.com/file/d/1hYqJ_df8jhjqQjUQHMAC-yrAK7uGaKEH/view?usp=sharing"
165
167
  - translation:
166
168
  key: "txt.apps.admin.error.app_build.missing_cov2_trigger_schema_key"
167
169
  title: 'App builder job: requirements file is missing a custom object trigger schema key. These are the required keys: (title, actions, conditions, object_key). The term \"schema key\" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
168
170
  value: "The requirements.json file is missing custom object trigger schema key for trigger %{trigger_title} in object %{object_key}. The following key is required: %{missing_key}."
169
- "screenshot": "https://drive.google.com/file/d/1Q_qFDZMoUzfAdL27QehW0q1rrHG3BPcP/view?usp=sharing"
171
+ screenshot: "https://drive.google.com/file/d/1Q_qFDZMoUzfAdL27QehW0q1rrHG3BPcP/view?usp=sharing"
172
+ obsolete: "2025-12-31"
170
173
  - translation:
171
174
  key: "txt.apps.admin.error.app_build.empty_cov2_trigger_conditions"
172
175
  title: "App builder job: requirements file contains an empty conditions array for custom object trigger. Leave requirements.json as is (do not translate)"
173
176
  value: "The requirements.json file contains an empty conditions array for custom object trigger %{trigger_title} in object %{object_key}."
174
- "screenshot": "https://drive.google.com/file/d/1dU534_37__yrqX9lQujjgTJeCV5Y5FIp/view?usp=sharing"
177
+ screenshot: "https://drive.google.com/file/d/1dU534_37__yrqX9lQujjgTJeCV5Y5FIp/view?usp=sharing"
178
+ obsolete: "2025-12-31"
175
179
  - translation:
176
180
  key: "txt.apps.admin.error.app_build.invalid_cov2_requirements_structure"
177
181
  title: 'App builder job: requirements file contains invalid custom objects v2 structure. An "object" here refers to a programming object (a set of key-value pairs), not a custom object in Zendesk. Leave requirements.json, custom_objects_v2 as is (do not translate)'
178
182
  value: 'The requirements.json file contains an invalid custom_objects_v2 structure. \"custom_objects_v2\" requirements must be an object.'
179
183
  screenshot: "https://drive.google.com/file/d/1_P5Vl_QikPs-WgxqgDKJdgQW3jr1pTk2/view?usp=sharing"
184
+ obsolete: "2025-12-31"
180
185
  - translation:
181
186
  key: "txt.apps.admin.error.app_build.excessive_cov2_payload_size"
182
187
  title: "App builder job: requirements file contains custom objects v2 payload that exceeds maximum size limit. The maximum payload size is 1 MB. Leave requirements.json as is (do not translate)"
@@ -187,16 +192,19 @@ parts:
187
192
  title: 'App builder job: requirements file contains invalid custom object trigger conditions structure. Conditions must be an object (a set of key-value pairs, like { "all": [], "any": [] } in JSON) with "all" and "any" arrays as keys. Leave requirements.json, "all" and "any" as is (do not translate)'
188
193
  value: 'The requirements.json file contains an invalid custom object trigger conditions structure. Conditions must be a hash with "all" and "any" arrays for trigger %{trigger_title}.'
189
194
  screenshot: "https://drive.google.com/file/d/1c4Hgk8OXscco_cwOfCX5r8Ub3k_-umrr/view?usp=sharing"
195
+ obsolete: "2025-12-31"
190
196
  - translation:
191
197
  key: "txt.apps.admin.error.app_build.invalid_cov2_trigger_actions_structure"
192
198
  title: "App builder job: requirements file contains an invalid custom object trigger actions structure. Actions must be an array. 'actions' is part of requirements file. Leave requirements.json and 'actions' as is (do not translate)"
193
199
  value: 'The requirements.json file contains an invalid custom object trigger actions structure. \"actions\" must be an array for trigger %{trigger_title}.'
194
200
  screenshot: "https://drive.google.com/file/d/12p8LzIcK4-ItJfHqHQiTaKxDxWnIiDni/view?usp=sharing"
201
+ obsolete: "2025-12-31"
195
202
  - translation:
196
203
  key: "txt.apps.admin.error.app_build.empty_cov2_trigger_actions"
197
204
  title: "App builder job: requirements file contains empty custom object trigger actions. At least one action must be specified. Leave requirements.json as is (do not translate)"
198
205
  value: "The requirements.json file contains empty custom object trigger actions. At least one action must be specified for trigger %{trigger_title}."
199
206
  screenshot: "https://drive.google.com/file/d/12XxGTNfRwh0aQM0gJkc_gFxiYSB0Op_r/view?usp=sharing"
207
+ obsolete: "2025-12-31"
200
208
  - translation:
201
209
  key: "txt.apps.admin.error.app_build.excessive_cov2_selection_fields_per_object"
202
210
  title: "App builder job: requirements file contains too many custom object fields of type dropdown or multiselect. The maximum number of fields of type dropdown or multiselect per object is 5. Leave requirements.json as is (do not translate). If your language has concatenation issues, please translate as: The requirements.json file contains too many custom object fields of type %{field_type}. The current limit per object is %{max}. This app has object %{object_key}, which has %{count} fields of type %{field_type}."
@@ -207,16 +215,19 @@ parts:
207
215
  title: "App builder job: requirements file contains invalid objects structure for custom objects v2. Objects must be an array. Leave requirements.json and 'objects' as is (do not translate)"
208
216
  value: 'The requirements.json file contains an invalid objects structure. \"objects\" must be an array.'
209
217
  screenshot: "https://drive.google.com/file/d/1_0TOE9hOP2XeGZNyw9ueiYspvWGLileu/view?usp=sharing"
218
+ obsolete: "2025-12-31"
210
219
  - translation:
211
220
  key: "txt.apps.admin.error.app_build.invalid_object_fields_structure_in_cov2_requirements"
212
221
  title: "App builder job: requirements file contains invalid object_fields structure for custom objects v2. Object_fields must be an array. Leave requirements.json and 'object_fields' as is (do not translate)"
213
222
  value: 'The requirements.json file contains an invalid object_fields structure. \"object_fields\" must be an array.'
214
223
  screenshot: "https://drive.google.com/file/d/1yIHf-no1xXobSxnhmBuZSqzFMbZROzDO/view?usp=sharing"
224
+ obsolete: "2025-12-31"
215
225
  - translation:
216
226
  key: "txt.apps.admin.error.app_build.invalid_object_triggers_structure_in_cov2_requirements"
217
227
  title: "App builder job: requirements file contains invalid object_triggers structure for custom objects v2. Object_triggers must be an array. Leave requirements.json and 'object_triggers' as is (do not translate)"
218
228
  value: 'The requirements.json file contains an invalid object_triggers structure. \"object_triggers\" must be an array.'
219
229
  screenshot: "https://drive.google.com/file/d/14NNUm9R0u45LPbugUNmpA9psEwED1zkB/view?usp=sharing"
230
+ obsolete: "2025-12-31"
220
231
  - translation:
221
232
  key: "txt.apps.admin.error.app_build.empty_cov2_requirements"
222
233
  title: "App builder job: requirements file contains an empty hash for custom objects v2. Leave requirements.json as is (do not translate)"
@@ -227,11 +238,78 @@ parts:
227
238
  title: 'App builder job: requirements file contains an invalid object reference in object_fields for Custom Objects V2. Do not translate "requirements.json", "object_fields", \"%{item_identifier}\", \"%{object_key}\".'
228
239
  value: 'The requirements.json file contains an invalid object reference in object_fields. Field \"%{item_identifier}\" references object \"%{object_key}\" which does not exist in the objects array.'
229
240
  screenshot: "https://drive.google.com/file/d/124uX-MBnEoqt7lDZBqQb4OVT2YN8-qz2/view?usp=sharing"
241
+ obsolete: "2025-12-31"
230
242
  - translation:
231
243
  key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_triggers"
232
244
  title: 'App builder job: requirements file contains an invalid object reference in object_triggers for Custom Objects V2. Do not translate "requirements.json", "object_fields", \"%{item_identifier}\", \"%{object_key}\".'
233
245
  value: 'The requirements.json file contains an invalid object reference in object_triggers. Trigger \"%{item_identifier}\" references object \"%{object_key}\" which does not exist in the objects array.'
234
246
  screenshot: "https://drive.google.com/file/d/11e3x1sEfXQydkE-mRQ_rHqqLCRurHoCN/view?usp=sharing"
247
+ obsolete: "2025-12-31"
248
+ - translation:
249
+ key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_conditions_v2"
250
+ title: "App builder job: requirements file contains too many custom object trigger conditions. The maximum number of conditions allowed per trigger is 50. Leave requirements.json as is (do not translate)"
251
+ value: "The requirements.json file contains too many custom object trigger conditions. The current limit is %{max} conditions per trigger. This app has %{count} conditions for trigger %{trigger_key}."
252
+ screenshot: "https://drive.google.com/file/d/1UPm_rLhRksRJbfrjy5BJFBn00ceBA_Rx/view?usp=sharing"
253
+ - translation:
254
+ key: "txt.apps.admin.error.app_build.excessive_custom_objects_v2_trigger_actions_v2"
255
+ title: "App builder job: requirements file contains too many custom object trigger actions. The maximum number of actions allowed per trigger is 25. Leave requirements.json as is (do not translate)"
256
+ value: "The requirements.json file contains too many custom object trigger actions. The current limit is %{max} actions per trigger. This app has %{count} actions for trigger %{trigger_key}."
257
+ screenshot: "https://drive.google.com/file/d/1peD9NjuFQ6_dW4ia6Cxz-GimTN0rdjMk/view?usp=sharing"
258
+ - translation:
259
+ key: "txt.apps.admin.error.app_build.missing_cov2_trigger_schema_key_v2"
260
+ title: 'App builder job: requirements file is missing a custom object trigger schema key. These are the required keys: (title, actions, conditions, object_key). The term "schema key" typically refers to an identifier or attribute that defines a specific item within a schema and it should be translated. Leave requirements.json as is (do not translate)'
261
+ value: "The requirements.json file is missing custom object trigger schema key for trigger %{trigger_key} in object %{object_key}. The following key is required: %{missing_key}."
262
+ screenshot: "https://drive.google.com/file/d/1esO2LObXEPGoeEJQSZYy-e2Jaa867vOy/view?usp=sharing"
263
+ - translation:
264
+ key: "txt.apps.admin.error.app_build.empty_cov2_trigger_conditions_v2"
265
+ title: 'App builder job: requirements file contains an empty conditions array for custom object trigger. Leave requirements.json as is (do not translate). Do not translate "conditions" as it is part of schema.'
266
+ value: "The requirements.json file contains an empty conditions array for custom object trigger %{trigger_key} in object %{object_key}."
267
+ screenshot: "https://drive.google.com/file/d/1ishzANlbt4PiyxikwXDTTPKy9drlWWlP/view?usp=sharing"
268
+ - translation:
269
+ key: "txt.apps.admin.error.app_build.invalid_cov2_requirements_structure_v2"
270
+ title: 'App builder job: requirements file contains invalid custom objects v2 structure. An "object" here refers to a programming object (a set of key-value pairs), not a custom object in Zendesk. Leave requirements.json as is (do not translate). Do not translate "custom_objects_v2" as it is part of schema.'
271
+ value: 'The requirements.json file contains an invalid custom_objects_v2 structure. The custom_objects_v2 requirements must be an object.'
272
+ screenshot: "https://drive.google.com/file/d/1hTiBvSHqEXCsoa2YAt1bnGNCs8cXSzlx/view?usp=sharing"
273
+ - translation:
274
+ key: "txt.apps.admin.error.app_build.invalid_cov2_trigger_actions_structure_v2"
275
+ title: "App builder job: requirements file contains an invalid custom object trigger actions structure. Actions must be an array. 'actions' is part of requirements file. Leave requirements.json as is (do not translate). Do not translate 'actions' as it is part of schema."
276
+ value: 'The requirements.json file contains an invalid custom object trigger actions structure. The actions field must be an array for trigger %{trigger_key}.'
277
+ screenshot: "https://drive.google.com/file/d/1UeBrY4GlnHDK19zuUE8xUoHnZl9HQv3y/view?usp=sharing"
278
+ - translation:
279
+ key: "txt.apps.admin.error.app_build.empty_cov2_trigger_actions_v2"
280
+ title: "App builder job: requirements file contains empty custom object trigger actions. At least one action must be specified. Leave requirements.json as is (do not translate). Do not translate 'actions' as it is part of schema."
281
+ value: "The requirements.json file contains empty custom object trigger actions. At least one action must be specified for trigger %{trigger_key}."
282
+ screenshot: "https://drive.google.com/file/d/1MKBwF-OTD18FQPxkjVhwq4GVOCXAgVDs/view?usp=sharing"
283
+ - translation:
284
+ key: "txt.apps.admin.error.app_build.invalid_objects_structure_in_cov2_requirements_v2"
285
+ title: "App builder job: requirements file contains invalid objects structure for custom objects v2. Objects must be an array. Leave requirements.json as is (do not translate). Do not translate 'objects' as it is part of schema."
286
+ value: "The requirements.json file contains an invalid objects structure. The objects field must be an array."
287
+ screenshot: "https://drive.google.com/file/d/1ywYAYOoeVmjUgZ2yfFl3YdJ-xkrBSgUG/view?usp=sharing"
288
+ - translation:
289
+ key: "txt.apps.admin.error.app_build.invalid_object_fields_structure_in_cov2_requirements_v2"
290
+ title: "App builder job: requirements file contains invalid object_fields structure for custom objects v2. Object_fields must be an array. Leave requirements.json as is (do not translate). Do not translate 'object_fields' as it is part of schema."
291
+ value: 'The requirements.json file contains an invalid object_fields structure. The object_fields field must be an array.'
292
+ screenshot: "https://drive.google.com/file/d/1TQSnKbBXxLSYFpcgEBGNceLpo5ARMBAa/view?usp=sharing"
293
+ - translation:
294
+ key: "txt.apps.admin.error.app_build.invalid_object_triggers_structure_in_cov2_requirements_v2"
295
+ title: "App builder job: requirements file contains invalid object_triggers structure for custom objects v2. Object_triggers must be an array. Leave requirements.json as is (do not translate). Do not translate 'object_triggers' as it is part of schema."
296
+ value: 'The requirements.json file contains an invalid object_triggers structure. The object_triggers field must be an array.'
297
+ screenshot: "https://drive.google.com/file/d/19r2xv15OnXtu2-JxU_ioAVMmaP33DiB-/view?usp=sharing"
298
+ - translation:
299
+ key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_fields_v2"
300
+ title: 'App builder job: requirements file contains an invalid object reference in object_fields for Custom Objects V2. Do not translate "requirements.json" %{item_identifier}, %{object_key}. Do not translate "object_fields" as it is part of schema.'
301
+ value: 'The requirements.json file contains an invalid object reference in object_fields. Field %{item_identifier} references object %{object_key} which does not exist in the objects array.'
302
+ screenshot: "https://drive.google.com/file/d/1yHiq5uUyGmQjLgO72ARAVCgFA1tXFUHT/view?usp=sharing"
303
+ - translation:
304
+ key: "txt.apps.admin.error.app_build.invalid_cov2_object_reference_in_triggers_v2"
305
+ title: 'App builder job: requirements file contains an invalid object reference in object_triggers for Custom Objects V2. Do not translate "requirements.json", %{item_identifier}, %{object_key}. Do not translate "object_triggers" as it is part of schema.'
306
+ value: 'The requirements.json file contains an invalid object reference in object_triggers. Trigger %{item_identifier} references object %{object_key} which does not exist in the objects array.'
307
+ screenshot: "https://drive.google.com/file/d/1hwmWbFPd5_XtoY6gpyy7FZ9niHppRe2m/view?usp=sharing"
308
+ - translation:
309
+ key: "txt.apps.admin.error.app_build.invalid_cov2_trigger_conditions_structure_v2"
310
+ title: 'App builder job: requirements file contains invalid custom object trigger conditions structure. Conditions must be an object (a set of key-value pairs, like { "all": [], "any": [] } in JSON) with "all" and "any" arrays as keys. Do not translate "requirements.json". Do not translate "all" and "any" as it is part of schema.'
311
+ value: 'The requirements.json file contains an invalid custom object trigger conditions structure. Conditions must be a hash with all and any arrays for trigger %{trigger_key}.'
312
+ screenshot: "https://drive.google.com/file/d/1q9S42EyNDE1GPk8A32LT0n2ZQiBpuCEW/view?usp=sharing"
235
313
  - translation:
236
314
  key: "txt.apps.admin.error.app_build.missing_required_fields"
237
315
  title: "App builder job: required key missing in requirements, e.g. \"title\" is required in \"my_custom_email_target\""
@@ -308,6 +386,10 @@ parts:
308
386
  key: "txt.apps.admin.error.app_build.oauth_keys.missing.other"
309
387
  title: "App builder job: missing oauth fields error"
310
388
  value: "Missing required oauth fields in manifest: %{missing_keys}"
389
+ - translation:
390
+ key: "txt.apps.admin.error.app_build.oauth_parameter_required"
391
+ title: "App builder job: missing oauth parameter"
392
+ value: "Missing parameter of type 'oauth'. Learn about oauth property in manifest: %{link}"
311
393
  - translation:
312
394
  key: "txt.apps.admin.error.app_build.too_many_oauth_parameters"
313
395
  title: "App builder job: upload error when there are more than one 'oauth'"
@@ -49,8 +49,8 @@ module ZendeskAppsSupport
49
49
  MAX_PAYLOAD_SIZE_BYTES = 1_048_576 # 1 MB in bytes
50
50
 
51
51
  REFERENCE_VALIDATION_CONFIG = {
52
- SCHEMA_KEYS[:object_fields] => { identifier: KEY, error: :invalid_cov2_object_reference_in_fields },
53
- SCHEMA_KEYS[:object_triggers] => { identifier: TITLE, error: :invalid_cov2_object_reference_in_triggers }
52
+ SCHEMA_KEYS[:object_fields] => { identifier: KEY, error: :invalid_cov2_object_reference_in_fields_v2 },
53
+ SCHEMA_KEYS[:object_triggers] => { identifier: KEY, error: :invalid_cov2_object_reference_in_triggers_v2 }
54
54
  }.freeze
55
55
  end
56
56
  end
@@ -51,14 +51,14 @@ module ZendeskAppsSupport
51
51
  end
52
52
 
53
53
  [
54
- validate_collection_is_array(objects, :invalid_objects_structure_in_cov2_requirements),
55
- validate_collection_is_array(object_fields, :invalid_object_fields_structure_in_cov2_requirements),
56
- validate_collection_is_array(object_triggers, :invalid_object_triggers_structure_in_cov2_requirements)
54
+ validate_collection_is_array(objects, :invalid_objects_structure_in_cov2_requirements_v2),
55
+ validate_collection_is_array(object_fields, :invalid_object_fields_structure_in_cov2_requirements_v2),
56
+ validate_collection_is_array(object_triggers, :invalid_object_triggers_structure_in_cov2_requirements_v2)
57
57
  ].flatten
58
58
  end
59
59
 
60
60
  def validate_structural_requirements(requirements)
61
- return [ValidationError.new(:invalid_cov2_requirements_structure)] unless requirements.is_a?(Hash)
61
+ return [ValidationError.new(:invalid_cov2_requirements_structure_v2)] unless requirements.is_a?(Hash)
62
62
  return [ValidationError.new(:empty_cov2_requirements)] if requirements.empty?
63
63
 
64
64
  []
@@ -140,10 +140,10 @@ module ZendeskAppsSupport
140
140
 
141
141
  return [] unless total_conditions > MAX_CONDITIONS_PER_TRIGGER
142
142
 
143
- [ValidationError.new(:excessive_custom_objects_v2_trigger_conditions,
143
+ [ValidationError.new(:excessive_custom_objects_v2_trigger_conditions_v2,
144
144
  max: MAX_CONDITIONS_PER_TRIGGER,
145
145
  count: total_conditions,
146
- trigger_title: trigger[TITLE])]
146
+ trigger_key: trigger[KEY])]
147
147
  end
148
148
 
149
149
  def validate_triggers_actions_limit(object_triggers)
@@ -153,10 +153,10 @@ module ZendeskAppsSupport
153
153
  actions = trigger[ACTIONS]
154
154
  next if actions.size <= MAX_ACTIONS_PER_TRIGGER
155
155
 
156
- ValidationError.new(:excessive_custom_objects_v2_trigger_actions,
156
+ ValidationError.new(:excessive_custom_objects_v2_trigger_actions_v2,
157
157
  max: MAX_ACTIONS_PER_TRIGGER,
158
158
  count: actions.size,
159
- trigger_title: trigger[TITLE])
159
+ trigger_key: trigger[KEY])
160
160
  end
161
161
  end
162
162
 
@@ -62,45 +62,45 @@ module ZendeskAppsSupport
62
62
  def validate_trigger_schema(trigger)
63
63
  required_keys = %w[key object_key title actions conditions]
64
64
  missing_keys = required_keys - trigger.keys
65
- trigger_title = safe_value(trigger[TITLE])
65
+ trigger_key = safe_value(trigger[KEY])
66
66
  object_key = safe_value(trigger[OBJECT_KEY])
67
67
 
68
68
  errors = missing_keys.map do |missing_key|
69
- ValidationError.new(:missing_cov2_trigger_schema_key,
69
+ ValidationError.new(:missing_cov2_trigger_schema_key_v2,
70
70
  missing_key: missing_key,
71
- trigger_title: trigger_title,
71
+ trigger_key: trigger_key,
72
72
  object_key: object_key)
73
73
  end
74
74
 
75
- errors.concat(validate_conditions_schema(trigger[CONDITIONS], object_key, trigger_title))
76
- errors.concat(validate_actions_schema(trigger[ACTIONS], object_key, trigger_title))
75
+ errors.concat(validate_conditions_schema(trigger[CONDITIONS], object_key, trigger_key))
76
+ errors.concat(validate_actions_schema(trigger[ACTIONS], object_key, trigger_key))
77
77
  errors
78
78
  end
79
79
 
80
- def validate_conditions_schema(conditions, object_key, title)
81
- error_data = { trigger_title: title, object_key: object_key }
80
+ def validate_conditions_schema(conditions, object_key, trigger_key)
81
+ error_data = { trigger_key:, object_key: }
82
82
 
83
83
  unless valid_conditions_structure?(conditions)
84
- return [ValidationError.new(:invalid_cov2_trigger_conditions_structure, **error_data)]
84
+ return [ValidationError.new(:invalid_cov2_trigger_conditions_structure_v2, **error_data)]
85
85
  end
86
86
 
87
87
  if count_conditions(conditions).zero?
88
- return [ValidationError.new(:empty_cov2_trigger_conditions, **error_data)]
88
+ return [ValidationError.new(:empty_cov2_trigger_conditions_v2, **error_data)]
89
89
  end
90
90
 
91
91
  []
92
92
  end
93
93
 
94
- def validate_actions_schema(actions, object_key, title)
95
- error_data = { trigger_title: title, object_key: object_key }
94
+ def validate_actions_schema(actions, object_key, trigger_key)
95
+ error_data = { trigger_key:, object_key: }
96
96
 
97
97
  unless actions.is_a?(Array)
98
- return [ValidationError.new(:invalid_cov2_trigger_actions_structure, **error_data)]
98
+ return [ValidationError.new(:invalid_cov2_trigger_actions_structure_v2, **error_data)]
99
99
  end
100
100
 
101
101
  return [] unless actions.empty?
102
102
 
103
- [ValidationError.new(:empty_cov2_trigger_actions, **error_data)]
103
+ [ValidationError.new(:empty_cov2_trigger_actions_v2, **error_data)]
104
104
  end
105
105
 
106
106
  def valid_conditions_structure?(conditions)
@@ -1,3 +1,3 @@
1
1
  module ZendeskAppsSupport
2
- VERSION = '4.44.0.alpha.4'
2
+ VERSION = '4.44.0.alpha.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.44.0.alpha.4
4
+ version: 4.44.0.alpha.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2025-10-14 00:00:00.000000000 Z
14
+ date: 2025-10-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n