@@ -154,6 +154,153 @@ export const NetSuiteBlock: BlockConfig<NetSuiteResponse> = {
154154 integrationType : IntegrationType . Commerce ,
155155 bgColor : '#FFFFFF' ,
156156 icon : NetSuiteIcon ,
157+ canvasPresentation : {
158+ defaultTitle : 'Oracle NetSuite' ,
159+ sentences : {
160+ byOperation : {
161+ netsuite_list_records : [
162+ { text : 'List records from' , field : 'recordType' , core : true } ,
163+ { text : ', matching' , field : 'q' } ,
164+ { text : ', up to' , field : 'limit' , after : 'records' } ,
165+ { text : ', starting at offset' , field : 'offset' } ,
166+ ] ,
167+ netsuite_get_record : [
168+ { text : 'Read' , field : 'recordType' , core : true } ,
169+ { text : 'record' , field : 'recordId' , core : true } ,
170+ { text : ', returning' , field : 'fields' } ,
171+ { text : ', expanding' , field : 'expand' } ,
172+ { text : ', with subresources' , field : 'expandSubResources' } ,
173+ ] ,
174+ netsuite_create_record : [
175+ { text : 'Create' , field : 'recordType' , core : true } ,
176+ { text : 'record with' , field : 'body' } ,
177+ ] ,
178+ netsuite_update_record : [
179+ { text : 'Update' , field : 'recordType' , core : true } ,
180+ { text : 'record' , field : 'recordId' , core : true } ,
181+ { text : ', setting' , field : 'body' } ,
182+ { text : ', replacing sublists' , field : 'replace' } ,
183+ ] ,
184+ netsuite_upsert_record : [
185+ { text : 'Upsert' , field : 'recordType' , core : true } ,
186+ { text : 'record by external ID' , field : 'externalId' , core : true } ,
187+ { text : ', setting' , field : 'body' } ,
188+ { text : ', replacing sublists' , field : 'replace' } ,
189+ ] ,
190+ netsuite_delete_record : [
191+ { text : 'Delete' , field : 'recordType' , core : true } ,
192+ { text : 'record' , field : 'recordId' , core : true } ,
193+ ] ,
194+ netsuite_get_subresource : [
195+ { text : 'Read subresource' , field : 'subresourcePath' , core : true } ,
196+ { text : 'from' , field : 'recordType' } ,
197+ { text : 'record' , field : 'recordId' } ,
198+ ] ,
199+ netsuite_get_record_form : [
200+ { text : 'Get the form for' , field : 'recordType' , core : true } ,
201+ { text : 'record' , field : 'recordId' } ,
202+ { text : ', prefilled with' , field : 'body' } ,
203+ { text : ', returning' , field : 'fields' } ,
204+ { text : ', expanding' , field : 'expand' } ,
205+ { text : ', with subresources' , field : 'expandSubResources' } ,
206+ ] ,
207+ netsuite_get_select_options : [
208+ { text : 'Get select options for' , field : 'fields' , core : true } ,
209+ { text : 'on' , field : 'recordType' } ,
210+ { text : 'record' , field : 'recordId' } ,
211+ { text : ', matching' , field : 'q' } ,
212+ { text : ', using' , field : 'body' } ,
213+ { text : ', up to' , field : 'limit' , after : 'options' } ,
214+ { text : ', starting at offset' , field : 'offset' } ,
215+ ] ,
216+ netsuite_attach_record : [
217+ { text : 'Attach' , field : 'relatedType' , core : true } ,
218+ { text : 'ID' , field : 'relatedId' , core : true } ,
219+ { text : 'to' , field : 'recordType' } ,
220+ { text : 'record' , field : 'recordId' } ,
221+ { text : ', with role ID' , field : 'roleId' } ,
222+ { text : ', or role external ID' , field : 'roleExternalId' } ,
223+ ] ,
224+ netsuite_detach_record : [
225+ { text : 'Detach' , field : 'relatedType' , core : true } ,
226+ { text : 'ID' , field : 'relatedId' , core : true } ,
227+ { text : 'from' , field : 'recordType' } ,
228+ { text : 'record' , field : 'recordId' } ,
229+ ] ,
230+ netsuite_execute_action : [
231+ { text : 'Run action' , field : 'action' , core : true } ,
232+ { text : 'on' , field : 'recordType' } ,
233+ { text : 'record' , field : 'recordId' } ,
234+ { text : ', with' , field : 'body' } ,
235+ ] ,
236+ netsuite_transform_record : [
237+ { text : 'Transform' , field : 'recordType' , core : true } ,
238+ { text : 'record' , field : 'recordId' , core : true } ,
239+ { text : 'into' , field : 'targetRecordType' } ,
240+ { text : ', with' , field : 'body' } ,
241+ ] ,
242+ netsuite_batch_get_records : [
243+ { text : 'Retrieve a batch of' , field : 'recordType' , core : true } ,
244+ { text : 'records' , field : 'ids' , core : true } ,
245+ { text : ', returning' , field : 'fields' } ,
246+ { text : ', expanding' , field : 'expand' } ,
247+ { text : ', with subresources' , field : 'expandSubResources' } ,
248+ { text : ', using idempotency key' , field : 'idempotencyKey' } ,
249+ ] ,
250+ netsuite_batch_create_records : [
251+ { text : 'Create a batch of' , field : 'recordType' , core : true } ,
252+ { text : 'records' , field : 'items' , core : true } ,
253+ { text : ', using idempotency key' , field : 'idempotencyKey' } ,
254+ ] ,
255+ netsuite_batch_update_records : [
256+ { text : 'Update a batch of' , field : 'recordType' , core : true } ,
257+ { text : 'records' , field : 'items' , core : true } ,
258+ { text : ', using idempotency key' , field : 'idempotencyKey' } ,
259+ ] ,
260+ netsuite_batch_upsert_records : [
261+ { text : 'Upsert a batch of' , field : 'recordType' , core : true } ,
262+ { text : 'records' , field : 'items' , core : true } ,
263+ { text : ', using idempotency key' , field : 'idempotencyKey' } ,
264+ ] ,
265+ netsuite_batch_delete_records : [
266+ { text : 'Delete a batch of' , field : 'recordType' , core : true } ,
267+ { text : 'records' , field : 'ids' , core : true } ,
268+ { text : ', using idempotency key' , field : 'idempotencyKey' } ,
269+ ] ,
270+ netsuite_execute_suiteql : [
271+ { text : 'Run SuiteQL' , field : 'query' , core : true } ,
272+ { text : ', up to' , field : 'limit' , after : 'rows' } ,
273+ { text : ', starting at offset' , field : 'offset' } ,
274+ ] ,
275+ netsuite_list_datasets : [
276+ 'List SuiteAnalytics datasets' ,
277+ { text : ', up to' , field : 'limit' , after : 'datasets' } ,
278+ { text : ', starting at offset' , field : 'offset' } ,
279+ ] ,
280+ netsuite_execute_dataset : [
281+ { text : 'Execute SuiteAnalytics dataset' , field : 'datasetId' , core : true } ,
282+ { text : ', up to' , field : 'limit' , after : 'rows' } ,
283+ { text : ', starting at offset' , field : 'offset' } ,
284+ ] ,
285+ netsuite_list_record_types : [ 'List available record types' ] ,
286+ netsuite_get_record_metadata : [
287+ { text : 'Get metadata for' , field : 'recordType' , core : true } ,
288+ { text : ', in format' , field : 'format' } ,
289+ ] ,
290+ netsuite_get_async_status : [
291+ { text : 'Get async job' , field : 'jobId' , core : true } ,
292+ { text : 'view' , field : 'view' } ,
293+ { text : 'for task' , field : 'statusTaskId' } ,
294+ ] ,
295+ netsuite_get_async_result : [
296+ { text : 'Get result from async job' , field : 'jobId' , core : true } ,
297+ { text : 'for task' , field : 'resultTaskId' , core : true } ,
298+ ] ,
299+ netsuite_get_server_time : [ 'Get NetSuite server time' ] ,
300+ netsuite_get_governance_limits : [ 'Get NetSuite governance limits' ] ,
301+ } ,
302+ } ,
303+ } ,
157304 subBlocks : [
158305 {
159306 id : 'operation' ,
0 commit comments