@wix/auto_sdk_staff-time-clock_timecards 1.0.0 → 1.0.1

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.
@@ -230,19 +230,21 @@ interface GetTimeClockDetailsResponse {
230
230
  tasks?: Task[];
231
231
  }
232
232
  /**
233
- * A configurable task (shift segment). A task marked `paid = false` is unpaid
234
- * time (e.g. an unpaid lunch break) and its duration is deducted from net hours.
233
+ * A kind of work a staff member can start during a timecard, such as "Front
234
+ * desk" or "Lunch". Time spent on an unpaid task isn't counted as paid working
235
+ * time.
235
236
  */
236
237
  interface Task {
237
238
  /**
238
- * Task identifier (GUID). Assigned when a task is first created; send it back
239
- * on updates to modify an existing task. Tasks are matched by id, so duplicate
240
- * labels are allowed.
239
+ * Task ID. Leave empty when adding a task, and one is assigned. Pass the
240
+ * existing ID when updating a task. Tasks are identified by ID, so 2 tasks
241
+ * can have the same label.
241
242
  * @format GUID
242
243
  */
243
244
  _id?: string | null;
244
245
  /**
245
- * Human label shown to owners and staff (e.g. "Lunch", "Training").
246
+ * Task name shown to staff members and managers, such as "Lunch" or
247
+ * "Training".
246
248
  * @maxLength 100
247
249
  */
248
250
  label?: string;