@workbuddy/piece-workbuddy-edge 1.0.19 → 1.0.21

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 (40) hide show
  1. package/package.json +1 -1
  2. package/src/lib/actions/agents.js +2 -2
  3. package/src/lib/actions/agents.js.map +1 -1
  4. package/src/lib/actions/agents.ts +2 -2
  5. package/src/lib/actions/jobs-activities.js +32 -32
  6. package/src/lib/actions/jobs-activities.js.map +1 -1
  7. package/src/lib/actions/jobs-activities.ts +32 -32
  8. package/src/lib/actions/jobs-contacts.js +4 -4
  9. package/src/lib/actions/jobs-contacts.js.map +1 -1
  10. package/src/lib/actions/jobs-contacts.ts +4 -4
  11. package/src/lib/actions/jobs-files.js +4 -4
  12. package/src/lib/actions/jobs-files.js.map +1 -1
  13. package/src/lib/actions/jobs-files.ts +4 -4
  14. package/src/lib/actions/jobs-tasks.js +27 -27
  15. package/src/lib/actions/jobs-tasks.js.map +1 -1
  16. package/src/lib/actions/jobs-tasks.ts +27 -27
  17. package/src/lib/actions/jobs.js +60 -60
  18. package/src/lib/actions/jobs.js.map +1 -1
  19. package/src/lib/actions/jobs.ts +60 -60
  20. package/src/lib/actions/mcp.js +1 -1
  21. package/src/lib/actions/mcp.js.map +1 -1
  22. package/src/lib/actions/mcp.ts +1 -1
  23. package/src/lib/actions/stages-activities.js +32 -32
  24. package/src/lib/actions/stages-activities.js.map +1 -1
  25. package/src/lib/actions/stages-activities.ts +32 -32
  26. package/src/lib/actions/stages-files.js +4 -4
  27. package/src/lib/actions/stages-files.js.map +1 -1
  28. package/src/lib/actions/stages-files.ts +4 -4
  29. package/src/lib/actions/stages-resources.js +2 -2
  30. package/src/lib/actions/stages-resources.js.map +1 -1
  31. package/src/lib/actions/stages-resources.ts +2 -2
  32. package/src/lib/actions/stages-tasks.js +29 -29
  33. package/src/lib/actions/stages-tasks.js.map +1 -1
  34. package/src/lib/actions/stages-tasks.ts +29 -29
  35. package/src/lib/actions/stages.js +17 -17
  36. package/src/lib/actions/stages.js.map +1 -1
  37. package/src/lib/actions/stages.ts +17 -17
  38. package/src/lib/actions/webhooks-v2.js +6 -6
  39. package/src/lib/actions/webhooks-v2.js.map +1 -1
  40. package/src/lib/actions/webhooks-v2.ts +6 -6
@@ -11,7 +11,7 @@ export const PublicApiJobController_search = createAction({
11
11
  props: {
12
12
  mode: Property.StaticDropdown({
13
13
  displayName: 'Mode',
14
- description: '',
14
+ description: 'Search mode',
15
15
  required: false,
16
16
  options: {
17
17
  options: [
@@ -22,18 +22,18 @@ export const PublicApiJobController_search = createAction({
22
22
  }),
23
23
  limit: Property.Number({
24
24
  displayName: 'Limit',
25
- description: '',
25
+ description: 'Maximum number of results to return',
26
26
  required: false,
27
27
  defaultValue: 50,
28
28
  }),
29
29
  cursor: Property.ShortText({
30
30
  displayName: 'Cursor',
31
- description: '',
31
+ description: 'Pagination cursor from a previous response',
32
32
  required: false,
33
33
  }),
34
34
  sortBy: Property.StaticDropdown({
35
35
  displayName: 'Sort By',
36
- description: '',
36
+ description: 'Field to sort results by',
37
37
  required: false,
38
38
  options: {
39
39
  options: [
@@ -46,7 +46,7 @@ export const PublicApiJobController_search = createAction({
46
46
  }),
47
47
  sortDirection: Property.StaticDropdown({
48
48
  displayName: 'Sort Direction',
49
- description: '',
49
+ description: 'Sort direction: asc or desc',
50
50
  required: false,
51
51
  options: {
52
52
  options: [
@@ -57,7 +57,7 @@ export const PublicApiJobController_search = createAction({
57
57
  }),
58
58
  status: Property.StaticMultiSelectDropdown({
59
59
  displayName: 'Status',
60
- description: '',
60
+ description: 'Status filter',
61
61
  required: false,
62
62
  options: {
63
63
  options: [
@@ -73,12 +73,12 @@ export const PublicApiJobController_search = createAction({
73
73
  }),
74
74
  customer: Property.Array({
75
75
  displayName: 'Customer',
76
- description: '',
76
+ description: 'Inline customer object — alternative to customerId',
77
77
  required: false,
78
78
  }),
79
79
  site: Property.Array({
80
80
  displayName: 'Site',
81
- description: '',
81
+ description: 'Inline site object — alternative to siteId',
82
82
  required: false,
83
83
  }),
84
84
  type: Property.Array({
@@ -149,47 +149,47 @@ export const PublicApiJobController_search = createAction({
149
149
  }),
150
150
  search: Property.ShortText({
151
151
  displayName: 'Search',
152
- description: '',
152
+ description: 'Free-text search query',
153
153
  required: false,
154
154
  }),
155
155
  createdDate: Property.Json({
156
156
  displayName: 'Created Date',
157
- description: '',
157
+ description: 'Date range filter for creation date',
158
158
  required: false,
159
159
  }),
160
160
  dueDate: Property.Json({
161
161
  displayName: 'Due Date',
162
- description: '',
162
+ description: 'Due date (ISO 8601 datetime)',
163
163
  required: false,
164
164
  }),
165
165
  completedDate: Property.Json({
166
166
  displayName: 'Completed Date',
167
- description: '',
167
+ description: 'Completion date (ISO 8601 datetime)',
168
168
  required: false,
169
169
  }),
170
170
  finalisedDate: Property.Json({
171
171
  displayName: 'Finalised Date',
172
- description: '',
172
+ description: 'Finalisation date (ISO 8601 datetime)',
173
173
  required: false,
174
174
  }),
175
175
  stageDueDate: Property.Json({
176
176
  displayName: 'Stage Due Date',
177
- description: '',
177
+ description: 'stage due date (ISO 8601 datetime)',
178
178
  required: false,
179
179
  }),
180
180
  stageCompletedDate: Property.Json({
181
181
  displayName: 'Stage Completed Date',
182
- description: '',
182
+ description: 'stage completed date (ISO 8601 datetime)',
183
183
  required: false,
184
184
  }),
185
185
  fields: Property.Array({
186
186
  displayName: 'Fields',
187
- description: '',
187
+ description: 'Field projection — array of field names to include in the response',
188
188
  required: false,
189
189
  }),
190
190
  include: Property.StaticMultiSelectDropdown({
191
191
  displayName: 'Include',
192
- description: '',
192
+ description: 'Related entities to include in the response',
193
193
  required: false,
194
194
  options: {
195
195
  options: [
@@ -298,7 +298,7 @@ export const PublicApiJobController_delete = createAction({
298
298
  }),
299
299
  reason: Property.ShortText({
300
300
  displayName: 'Reason',
301
- description: '',
301
+ description: 'Reason for the action (e.g. cancellation reason)',
302
302
  required: true,
303
303
  }),
304
304
  },
@@ -330,117 +330,117 @@ export const PublicApiJobController_create = createAction({
330
330
  props: {
331
331
  name: Property.ShortText({
332
332
  displayName: 'Name',
333
- description: '',
333
+ description: 'Display name',
334
334
  required: false,
335
335
  }),
336
336
  description: Property.LongText({
337
337
  displayName: 'Description',
338
- description: '',
338
+ description: 'Detailed description',
339
339
  required: false,
340
340
  }),
341
341
  customerId: Property.ShortText({
342
342
  displayName: 'Customer Id',
343
- description: '',
343
+ description: 'Customer ID — use /crm/customers to look up',
344
344
  required: false,
345
345
  }),
346
346
  customer: Property.Json({
347
347
  displayName: 'Customer',
348
- description: '',
348
+ description: 'Inline customer object — alternative to customerId',
349
349
  required: false,
350
350
  }),
351
351
  siteId: Property.ShortText({
352
352
  displayName: 'Site Id',
353
- description: '',
353
+ description: 'Site ID — use /crm/sites to look up',
354
354
  required: false,
355
355
  }),
356
356
  site: Property.Json({
357
357
  displayName: 'Site',
358
- description: '',
358
+ description: 'Inline site object — alternative to siteId',
359
359
  required: false,
360
360
  }),
361
361
  contactId: Property.ShortText({
362
362
  displayName: 'Contact Id',
363
- description: '',
363
+ description: 'Contact ID — use /crm/contacts to look up',
364
364
  required: false,
365
365
  }),
366
366
  contact: Property.Json({
367
367
  displayName: 'Contact',
368
- description: '',
368
+ description: 'Inline contact object — alternative to contactId',
369
369
  required: false,
370
370
  }),
371
371
  typeId: Property.ShortText({
372
372
  displayName: 'Type Id',
373
- description: '',
373
+ description: 'Job type ID — use /settings/job-types to look up',
374
374
  required: false,
375
375
  }),
376
376
  priorityId: Property.ShortText({
377
377
  displayName: 'Priority Id',
378
- description: '',
378
+ description: 'Priority ID — use /settings/priorities to look up',
379
379
  required: false,
380
380
  }),
381
381
  priceBookId: Property.ShortText({
382
382
  displayName: 'Price Book Id',
383
- description: '',
383
+ description: 'Price book ID for job pricing',
384
384
  required: false,
385
385
  }),
386
386
  ownerId: Property.ShortText({
387
387
  displayName: 'Owner Id',
388
- description: '',
388
+ description: 'Owner (employee) ID — use /crm/employees to look up',
389
389
  required: false,
390
390
  }),
391
391
  fieldSupervisorId: Property.ShortText({
392
392
  displayName: 'Field Supervisor Id',
393
- description: '',
393
+ description: 'Field supervisor (employee) ID — use /crm/employees to look up',
394
394
  required: false,
395
395
  }),
396
396
  zoneId: Property.ShortText({
397
397
  displayName: 'Zone Id',
398
- description: '',
398
+ description: 'Zone ID — use /settings/zones to look up',
399
399
  required: false,
400
400
  }),
401
401
  tagIds: Property.Array({
402
402
  displayName: 'Tag Ids',
403
- description: '',
403
+ description: 'Array of tag IDs (comma-separated, e.g. "id1,id2") — use /settings/tags to look up',
404
404
  required: false,
405
405
  }),
406
406
  notes: Property.LongText({
407
407
  displayName: 'Notes',
408
- description: '',
408
+ description: 'Additional notes or comments',
409
409
  required: false,
410
410
  }),
411
411
  reference: Property.ShortText({
412
412
  displayName: 'Reference',
413
- description: '',
413
+ description: 'External reference number',
414
414
  required: false,
415
415
  }),
416
416
  customerWO: Property.ShortText({
417
417
  displayName: 'Customer W O',
418
- description: '',
418
+ description: 'Customer work order reference',
419
419
  required: false,
420
420
  }),
421
421
  customerPO: Property.ShortText({
422
422
  displayName: 'Customer P O',
423
- description: '',
423
+ description: 'Customer purchase order reference',
424
424
  required: false,
425
425
  }),
426
426
  templateId: Property.ShortText({
427
427
  displayName: 'Template Id',
428
- description: '',
428
+ description: 'Template ID to pre-populate fields from a template',
429
429
  required: false,
430
430
  }),
431
431
  startDate: Property.DateTime({
432
432
  displayName: 'Start Date',
433
- description: '',
433
+ description: 'Start date (ISO 8601 datetime)',
434
434
  required: false,
435
435
  }),
436
436
  dueDate: Property.DateTime({
437
437
  displayName: 'Due Date',
438
- description: '',
438
+ description: 'Due date (ISO 8601 datetime)',
439
439
  required: false,
440
440
  }),
441
441
  customFields: Property.Json({
442
442
  displayName: 'Custom Fields',
443
- description: '',
443
+ description: 'Custom fields as key-value pairs — validated against tenant field definitions',
444
444
  required: false,
445
445
  }),
446
446
  },
@@ -505,97 +505,97 @@ export const PublicApiJobController_update = createAction({
505
505
  }),
506
506
  updatedAt: Property.DateTime({
507
507
  displayName: 'Updated At',
508
- description: '',
508
+ description: 'For optimistic concurrency — update fails if entity was modified after this timestamp',
509
509
  required: false,
510
510
  }),
511
511
  name: Property.ShortText({
512
512
  displayName: 'Name',
513
- description: '',
513
+ description: 'Display name',
514
514
  required: false,
515
515
  }),
516
516
  description: Property.LongText({
517
517
  displayName: 'Description',
518
- description: '',
518
+ description: 'Detailed description',
519
519
  required: false,
520
520
  }),
521
521
  siteId: Property.ShortText({
522
522
  displayName: 'Site Id',
523
- description: '',
523
+ description: 'Site ID — use /crm/sites to look up',
524
524
  required: false,
525
525
  }),
526
526
  contactId: Property.ShortText({
527
527
  displayName: 'Contact Id',
528
- description: '',
528
+ description: 'Contact ID — use /crm/contacts to look up',
529
529
  required: false,
530
530
  }),
531
531
  typeId: Property.ShortText({
532
532
  displayName: 'Type Id',
533
- description: '',
533
+ description: 'Job type ID — use /settings/job-types to look up',
534
534
  required: false,
535
535
  }),
536
536
  priorityId: Property.ShortText({
537
537
  displayName: 'Priority Id',
538
- description: '',
538
+ description: 'Priority ID — use /settings/priorities to look up',
539
539
  required: false,
540
540
  }),
541
541
  priceBookId: Property.ShortText({
542
542
  displayName: 'Price Book Id',
543
- description: '',
543
+ description: 'Price book ID for job pricing',
544
544
  required: false,
545
545
  }),
546
546
  ownerId: Property.ShortText({
547
547
  displayName: 'Owner Id',
548
- description: '',
548
+ description: 'Owner (employee) ID — use /crm/employees to look up',
549
549
  required: false,
550
550
  }),
551
551
  fieldSupervisorId: Property.ShortText({
552
552
  displayName: 'Field Supervisor Id',
553
- description: '',
553
+ description: 'Field supervisor (employee) ID — use /crm/employees to look up',
554
554
  required: false,
555
555
  }),
556
556
  zoneId: Property.ShortText({
557
557
  displayName: 'Zone Id',
558
- description: '',
558
+ description: 'Zone ID — use /settings/zones to look up',
559
559
  required: false,
560
560
  }),
561
561
  tagIds: Property.Array({
562
562
  displayName: 'Tag Ids',
563
- description: '',
563
+ description: 'Array of tag IDs (comma-separated, e.g. "id1,id2") — use /settings/tags to look up',
564
564
  required: false,
565
565
  }),
566
566
  notes: Property.LongText({
567
567
  displayName: 'Notes',
568
- description: '',
568
+ description: 'Additional notes or comments',
569
569
  required: false,
570
570
  }),
571
571
  reference: Property.ShortText({
572
572
  displayName: 'Reference',
573
- description: '',
573
+ description: 'External reference number',
574
574
  required: false,
575
575
  }),
576
576
  customerWO: Property.ShortText({
577
577
  displayName: 'Customer W O',
578
- description: '',
578
+ description: 'Customer work order reference',
579
579
  required: false,
580
580
  }),
581
581
  customerPO: Property.ShortText({
582
582
  displayName: 'Customer P O',
583
- description: '',
583
+ description: 'Customer purchase order reference',
584
584
  required: false,
585
585
  }),
586
586
  startDate: Property.DateTime({
587
587
  displayName: 'Start Date',
588
- description: '',
588
+ description: 'Start date (ISO 8601 datetime)',
589
589
  required: false,
590
590
  }),
591
591
  dueDate: Property.DateTime({
592
592
  displayName: 'Due Date',
593
- description: '',
593
+ description: 'Due date (ISO 8601 datetime)',
594
594
  required: false,
595
595
  }),
596
596
  customFields: Property.Json({
597
597
  displayName: 'Custom Fields',
598
- description: '',
598
+ description: 'Custom fields as key-value pairs — validated against tenant field definitions',
599
599
  required: false,
600
600
  }),
601
601
  },
@@ -47,7 +47,7 @@ exports.McpStreamableController_handlePost = (0, pieces_framework_1.createAction
47
47
  }),
48
48
  id: pieces_framework_1.Property.ShortText({
49
49
  displayName: 'Id',
50
- description: '',
50
+ description: 'Entity ID',
51
51
  required: false,
52
52
  }),
53
53
  params: pieces_framework_1.Property.Json({
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["mcp.ts"],"names":[],"mappings":";;;AAAA,qEAAwE;AACxE,+DAAqE;AACrE,kCAAwD;AAE3C,QAAA,iCAAiC,GAAG,IAAA,+BAAY,EAAC;IAC5D,IAAI,EAAE,mCAAmC;IACzC,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,sDAAsD;IACnE,KAAK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aACjC;SACF,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;CACF,CAAC,CAAC"}
@@ -49,7 +49,7 @@ export const McpStreamableController_handlePost = createAction({
49
49
  }),
50
50
  id: Property.ShortText({
51
51
  displayName: 'Id',
52
- description: '',
52
+ description: 'Entity ID',
53
53
  required: false,
54
54
  }),
55
55
  params: Property.Json({
@@ -12,7 +12,7 @@ exports.PublicStageActivitiesController_list = (0, pieces_framework_1.createActi
12
12
  props: {
13
13
  stageId: pieces_framework_1.Property.ShortText({
14
14
  displayName: 'Stage Id',
15
- description: '',
15
+ description: 'Stage ID or stage number',
16
16
  required: true,
17
17
  }),
18
18
  jobId: pieces_framework_1.Property.ShortText({
@@ -45,7 +45,7 @@ exports.PublicStageActivitiesController_getById = (0, pieces_framework_1.createA
45
45
  props: {
46
46
  stageId: pieces_framework_1.Property.ShortText({
47
47
  displayName: 'Stage Id',
48
- description: '',
48
+ description: 'Stage ID or stage number',
49
49
  required: true,
50
50
  }),
51
51
  id: pieces_framework_1.Property.ShortText({
@@ -83,7 +83,7 @@ exports.PublicStageActivitiesController_delete = (0, pieces_framework_1.createAc
83
83
  props: {
84
84
  stageId: pieces_framework_1.Property.ShortText({
85
85
  displayName: 'Stage Id',
86
- description: '',
86
+ description: 'Stage ID or stage number',
87
87
  required: true,
88
88
  }),
89
89
  id: pieces_framework_1.Property.ShortText({
@@ -121,7 +121,7 @@ exports.PublicStageActivitiesController_createNote = (0, pieces_framework_1.crea
121
121
  props: {
122
122
  stageId: pieces_framework_1.Property.ShortText({
123
123
  displayName: 'Stage Id',
124
- description: '',
124
+ description: 'Stage ID or stage number',
125
125
  required: true,
126
126
  }),
127
127
  jobId: pieces_framework_1.Property.ShortText({
@@ -131,22 +131,22 @@ exports.PublicStageActivitiesController_createNote = (0, pieces_framework_1.crea
131
131
  }),
132
132
  body: pieces_framework_1.Property.ShortText({
133
133
  displayName: 'Body',
134
- description: '',
134
+ description: 'Message body content (HTML supported for email)',
135
135
  required: true,
136
136
  }),
137
137
  labelIds: pieces_framework_1.Property.Array({
138
138
  displayName: 'Label Ids',
139
- description: '',
139
+ description: 'Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")',
140
140
  required: false,
141
141
  }),
142
142
  attachmentIds: pieces_framework_1.Property.Array({
143
143
  displayName: 'Attachment Ids',
144
- description: '',
144
+ description: 'Attachment IDs from the upload endpoint (comma-separated, e.g. "id1,id2")',
145
145
  required: false,
146
146
  }),
147
147
  sharing: pieces_framework_1.Property.Json({
148
148
  displayName: 'Sharing',
149
- description: '',
149
+ description: 'Sharing options — control visibility to customer portal and field app',
150
150
  required: false,
151
151
  }),
152
152
  },
@@ -182,7 +182,7 @@ exports.PublicStageActivitiesController_createEmail = (0, pieces_framework_1.cre
182
182
  props: {
183
183
  stageId: pieces_framework_1.Property.ShortText({
184
184
  displayName: 'Stage Id',
185
- description: '',
185
+ description: 'Stage ID or stage number',
186
186
  required: true,
187
187
  }),
188
188
  jobId: pieces_framework_1.Property.ShortText({
@@ -192,47 +192,47 @@ exports.PublicStageActivitiesController_createEmail = (0, pieces_framework_1.cre
192
192
  }),
193
193
  templateId: pieces_framework_1.Property.ShortText({
194
194
  displayName: 'Template Id',
195
- description: '',
195
+ description: 'Template ID to pre-populate fields from a template',
196
196
  required: false,
197
197
  }),
198
198
  subject: pieces_framework_1.Property.ShortText({
199
199
  displayName: 'Subject',
200
- description: '',
200
+ description: 'Email subject line',
201
201
  required: false,
202
202
  }),
203
203
  body: pieces_framework_1.Property.ShortText({
204
204
  displayName: 'Body',
205
- description: '',
205
+ description: 'Message body content (HTML supported for email)',
206
206
  required: false,
207
207
  }),
208
208
  to: pieces_framework_1.Property.Array({
209
209
  displayName: 'To',
210
- description: 'Enter email values',
210
+ description: 'Recipients',
211
211
  required: false,
212
212
  }),
213
213
  cc: pieces_framework_1.Property.Array({
214
214
  displayName: 'Cc',
215
- description: 'Enter email values',
215
+ description: 'CC recipients',
216
216
  required: false,
217
217
  }),
218
218
  bcc: pieces_framework_1.Property.Array({
219
219
  displayName: 'Bcc',
220
- description: 'Enter email values',
220
+ description: 'BCC recipients',
221
221
  required: false,
222
222
  }),
223
223
  labelIds: pieces_framework_1.Property.Array({
224
224
  displayName: 'Label Ids',
225
- description: '',
225
+ description: 'Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")',
226
226
  required: false,
227
227
  }),
228
228
  attachmentIds: pieces_framework_1.Property.Array({
229
229
  displayName: 'Attachment Ids',
230
- description: '',
230
+ description: 'Attachment IDs from the upload endpoint (comma-separated, e.g. "id1,id2")',
231
231
  required: false,
232
232
  }),
233
233
  sharing: pieces_framework_1.Property.Json({
234
234
  displayName: 'Sharing',
235
- description: '',
235
+ description: 'Sharing options — control visibility to customer portal and field app',
236
236
  required: false,
237
237
  }),
238
238
  },
@@ -273,7 +273,7 @@ exports.PublicStageActivitiesController_createSms = (0, pieces_framework_1.creat
273
273
  props: {
274
274
  stageId: pieces_framework_1.Property.ShortText({
275
275
  displayName: 'Stage Id',
276
- description: '',
276
+ description: 'Stage ID or stage number',
277
277
  required: true,
278
278
  }),
279
279
  jobId: pieces_framework_1.Property.ShortText({
@@ -283,27 +283,27 @@ exports.PublicStageActivitiesController_createSms = (0, pieces_framework_1.creat
283
283
  }),
284
284
  templateId: pieces_framework_1.Property.ShortText({
285
285
  displayName: 'Template Id',
286
- description: '',
286
+ description: 'Template ID to pre-populate fields from a template',
287
287
  required: false,
288
288
  }),
289
289
  body: pieces_framework_1.Property.ShortText({
290
290
  displayName: 'Body',
291
- description: '',
291
+ description: 'Message body content (HTML supported for email)',
292
292
  required: false,
293
293
  }),
294
294
  to: pieces_framework_1.Property.Array({
295
295
  displayName: 'To',
296
- description: 'Enter mobile values',
296
+ description: 'Recipients',
297
297
  required: false,
298
298
  }),
299
299
  labelIds: pieces_framework_1.Property.Array({
300
300
  displayName: 'Label Ids',
301
- description: '',
301
+ description: 'Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")',
302
302
  required: false,
303
303
  }),
304
304
  sharing: pieces_framework_1.Property.Json({
305
305
  displayName: 'Sharing',
306
- description: '',
306
+ description: 'Sharing options — control visibility to customer portal and field app',
307
307
  required: false,
308
308
  }),
309
309
  },
@@ -340,7 +340,7 @@ exports.PublicStageActivitiesController_createPhone = (0, pieces_framework_1.cre
340
340
  props: {
341
341
  stageId: pieces_framework_1.Property.ShortText({
342
342
  displayName: 'Stage Id',
343
- description: '',
343
+ description: 'Stage ID or stage number',
344
344
  required: true,
345
345
  }),
346
346
  jobId: pieces_framework_1.Property.ShortText({
@@ -382,22 +382,22 @@ exports.PublicStageActivitiesController_createPhone = (0, pieces_framework_1.cre
382
382
  }),
383
383
  callDate: pieces_framework_1.Property.DateTime({
384
384
  displayName: 'Call Date',
385
- description: '',
385
+ description: 'call date (ISO 8601 datetime)',
386
386
  required: false,
387
387
  }),
388
388
  body: pieces_framework_1.Property.ShortText({
389
389
  displayName: 'Body',
390
- description: '',
390
+ description: 'Message body content (HTML supported for email)',
391
391
  required: false,
392
392
  }),
393
393
  labelIds: pieces_framework_1.Property.Array({
394
394
  displayName: 'Label Ids',
395
- description: '',
395
+ description: 'Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")',
396
396
  required: false,
397
397
  }),
398
398
  sharing: pieces_framework_1.Property.Json({
399
399
  displayName: 'Sharing',
400
- description: '',
400
+ description: 'Sharing options — control visibility to customer portal and field app',
401
401
  required: false,
402
402
  }),
403
403
  },
@@ -436,7 +436,7 @@ exports.PublicStageActivitiesController_createIntegration = (0, pieces_framework
436
436
  props: {
437
437
  stageId: pieces_framework_1.Property.ShortText({
438
438
  displayName: 'Stage Id',
439
- description: '',
439
+ description: 'Stage ID or stage number',
440
440
  required: true,
441
441
  }),
442
442
  jobId: pieces_framework_1.Property.ShortText({
@@ -446,7 +446,7 @@ exports.PublicStageActivitiesController_createIntegration = (0, pieces_framework
446
446
  }),
447
447
  body: pieces_framework_1.Property.ShortText({
448
448
  displayName: 'Body',
449
- description: '',
449
+ description: 'Message body content (HTML supported for email)',
450
450
  required: true,
451
451
  }),
452
452
  integrationType: pieces_framework_1.Property.ShortText({
@@ -456,7 +456,7 @@ exports.PublicStageActivitiesController_createIntegration = (0, pieces_framework
456
456
  }),
457
457
  sharing: pieces_framework_1.Property.Json({
458
458
  displayName: 'Sharing',
459
- description: '',
459
+ description: 'Sharing options — control visibility to customer portal and field app',
460
460
  required: false,
461
461
  }),
462
462
  },