@wix/crm 1.0.27 → 1.0.29

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 (29) hide show
  1. package/build/cjs/src/contacts-v4-extended-field.http.d.ts +41 -12
  2. package/build/cjs/src/contacts-v4-extended-field.http.js +41 -12
  3. package/build/cjs/src/contacts-v4-extended-field.http.js.map +1 -1
  4. package/build/cjs/src/contacts-v4-extended-field.types.d.ts +1 -1
  5. package/build/cjs/src/contacts-v4-extended-field.universal.d.ts +73 -65
  6. package/build/cjs/src/contacts-v4-extended-field.universal.js +44 -24
  7. package/build/cjs/src/contacts-v4-extended-field.universal.js.map +1 -1
  8. package/build/cjs/src/contacts-v4-label.universal.d.ts +4 -24
  9. package/build/cjs/src/contacts-v4-label.universal.js +0 -4
  10. package/build/cjs/src/contacts-v4-label.universal.js.map +1 -1
  11. package/build/cjs/src/crm-tasks-v1-task.http.d.ts +2 -2
  12. package/build/cjs/src/crm-tasks-v1-task.http.js +2 -2
  13. package/build/cjs/src/crm-tasks-v1-task.universal.d.ts +34 -34
  14. package/build/cjs/src/crm-tasks-v1-task.universal.js +6 -6
  15. package/build/es/src/contacts-v4-extended-field.http.d.ts +41 -12
  16. package/build/es/src/contacts-v4-extended-field.http.js +41 -12
  17. package/build/es/src/contacts-v4-extended-field.http.js.map +1 -1
  18. package/build/es/src/contacts-v4-extended-field.types.d.ts +1 -1
  19. package/build/es/src/contacts-v4-extended-field.universal.d.ts +73 -65
  20. package/build/es/src/contacts-v4-extended-field.universal.js +44 -24
  21. package/build/es/src/contacts-v4-extended-field.universal.js.map +1 -1
  22. package/build/es/src/contacts-v4-label.universal.d.ts +4 -24
  23. package/build/es/src/contacts-v4-label.universal.js +0 -4
  24. package/build/es/src/contacts-v4-label.universal.js.map +1 -1
  25. package/build/es/src/crm-tasks-v1-task.http.d.ts +2 -2
  26. package/build/es/src/crm-tasks-v1-task.http.js +2 -2
  27. package/build/es/src/crm-tasks-v1-task.universal.d.ts +34 -34
  28. package/build/es/src/crm-tasks-v1-task.universal.js +6 -6
  29. package/package.json +2 -2
@@ -278,7 +278,6 @@ export interface QueryLabelsResponse {
278
278
  * the existing label is returned.
279
279
  * If not, a new label is created and returned.
280
280
  * @public
281
- * @documentationMaturity preview
282
281
  * @requiredField displayName
283
282
  * @param options - Language options.
284
283
  * @permissionScope Manage Contact Labels
@@ -304,7 +303,6 @@ export interface FindOrCreateLabelOptions {
304
303
  * `key` is generated when the label is created
305
304
  * and cannot be modified, even if `displayName` changes.
306
305
  * @public
307
- * @documentationMaturity preview
308
306
  * @requiredField key
309
307
  * @requiredField label
310
308
  * @requiredField label.displayName
@@ -377,7 +375,6 @@ export interface RenameLabelOptions {
377
375
  * This function is not a universal function and runs only on the backend.
378
376
  * @param key - Label key to delete.
379
377
  * @public
380
- * @documentationMaturity preview
381
378
  * @requiredField key
382
379
  * @permissionScope Manage Contact Labels
383
380
  * @applicableIdentity APP
@@ -405,7 +402,6 @@ export declare function deleteLabel(key: string): Promise<void>;
405
402
  *
406
403
  * This function is not a universal function and runs only on the backend.
407
404
  * @public
408
- * @documentationMaturity preview
409
405
  * @permissionScope Manage Contact Labels
410
406
  * @applicableIdentity APP
411
407
  */
@@ -432,53 +428,37 @@ export interface LabelsQueryResult extends QueryOffsetResult {
432
428
  export interface LabelsQueryBuilder {
433
429
  /** @param propertyName - Property whose value is compared with `value`.
434
430
  * @param value - Value to compare against.
435
- * @documentationMaturity preview
436
431
  */
437
432
  eq: (propertyName: 'namespace' | 'key' | 'displayName' | 'labelType' | '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
438
433
  /** @param propertyName - Property whose value is compared with `value`.
439
434
  * @param value - Value to compare against.
440
- * @documentationMaturity preview
441
435
  */
442
436
  ne: (propertyName: 'namespace' | 'key' | 'displayName' | '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
443
437
  /** @param propertyName - Property whose value is compared with `value`.
444
438
  * @param value - Value to compare against.
445
- * @documentationMaturity preview
446
439
  */
447
440
  gt: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
448
441
  /** @param propertyName - Property whose value is compared with `value`.
449
442
  * @param value - Value to compare against.
450
- * @documentationMaturity preview
451
443
  */
452
444
  le: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
453
445
  /** @param propertyName - Property whose value is compared with `value`.
454
446
  * @param value - Value to compare against.
455
- * @documentationMaturity preview
456
447
  */
457
448
  lt: (propertyName: '_createdDate' | '_updatedDate', value: any) => LabelsQueryBuilder;
458
449
  /** @param propertyName - Property whose value is compared with `string`.
459
450
  * @param string - String to compare against. Case-insensitive.
460
- * @documentationMaturity preview
461
451
  */
462
452
  startsWith: (propertyName: 'displayName', value: string) => LabelsQueryBuilder;
463
- /** @documentationMaturity preview */
464
453
  in: (propertyName: 'key' | 'displayName', value: any) => LabelsQueryBuilder;
465
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
466
- * @documentationMaturity preview
467
- */
454
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
468
455
  ascending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => LabelsQueryBuilder;
469
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
470
- * @documentationMaturity preview
471
- */
456
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
472
457
  descending: (...propertyNames: Array<'displayName' | '_createdDate' | '_updatedDate'>) => LabelsQueryBuilder;
473
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
474
- * @documentationMaturity preview
475
- */
458
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
476
459
  limit: (limit: number) => LabelsQueryBuilder;
477
- /** @param skip - Number of items to skip in the query results before returning the results.
478
- * @documentationMaturity preview
479
- */
460
+ /** @param skip - Number of items to skip in the query results before returning the results. */
480
461
  skip: (skip: number) => LabelsQueryBuilder;
481
- /** @documentationMaturity preview */
482
462
  find: () => Promise<LabelsQueryResult>;
483
463
  }
484
464
  export {};
@@ -68,7 +68,6 @@ const _updateLabelResponse = {};
68
68
  * the existing label is returned.
69
69
  * If not, a new label is created and returned.
70
70
  * @public
71
- * @documentationMaturity preview
72
71
  * @requiredField displayName
73
72
  * @param options - Language options.
74
73
  * @permissionScope Manage Contact Labels
@@ -131,7 +130,6 @@ export function findOrCreateLabel(displayName, options) {
131
130
  * `key` is generated when the label is created
132
131
  * and cannot be modified, even if `displayName` changes.
133
132
  * @public
134
- * @documentationMaturity preview
135
133
  * @requiredField key
136
134
  * @requiredField label
137
135
  * @requiredField label.displayName
@@ -205,7 +203,6 @@ export function renameLabel(key, label, options) {
205
203
  * This function is not a universal function and runs only on the backend.
206
204
  * @param key - Label key to delete.
207
205
  * @public
208
- * @documentationMaturity preview
209
206
  * @requiredField key
210
207
  * @permissionScope Manage Contact Labels
211
208
  * @applicableIdentity APP
@@ -275,7 +272,6 @@ export function deleteLabel(key) {
275
272
  *
276
273
  * This function is not a universal function and runs only on the backend.
277
274
  * @public
278
- * @documentationMaturity preview
279
275
  * @permissionScope Manage Contact Labels
280
276
  * @applicableIdentity APP
281
277
  */
@@ -1 +1 @@
1
- {"version":3,"file":"contacts-v4-label.universal.js","sourceRoot":"","sources":["../../../src/contacts-v4-label.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,4BAA4B,MAAM,0BAA0B,CAAC;AACzE,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ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B,CAAC;QAC1B,IAAI,EAAE,CAAO,OAAY,EAAE,EAAE;;YAC3B,MAAM,OAAO,GAAG,4BAA4B,CAAC,WAAW,iCACnD,OAAO,GACP,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,CAAC,EAClB,CAAC;YAEH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
@@ -11,7 +11,7 @@ export declare function getTask(payload: GetTaskRequest): RequestOptionsFactory<
11
11
  * Creates a new task.
12
12
  *
13
13
  *
14
- * The `createTask()` function returns a Promise that resolves to the ID of the the newly created task after it has been successfully created.
14
+ * The `createTask()` function returns a Promise that resolves to the ID of the newly created task after it has been successfully created.
15
15
  *
16
16
  * When creating a new task, the specified `task` object must contain a `title` value.
17
17
  */
@@ -38,6 +38,6 @@ export declare function setCompletedStatus(payload: CompleteTaskRequest): Reques
38
38
  * Removes an existing task.
39
39
  *
40
40
  *
41
- * The `removeTask()` function returns a Promise that resolves to the ID of the the removed task after it has been successfully removed.
41
+ * The `removeTask()` function returns a Promise that resolves to the ID of the removed task after it has been successfully removed.
42
42
  */
43
43
  export declare function deleteTask(payload: DeleteTaskRequest): RequestOptionsFactory<DeleteTaskResponse>;
@@ -71,7 +71,7 @@ export function getTask(payload) {
71
71
  * Creates a new task.
72
72
  *
73
73
  *
74
- * The `createTask()` function returns a Promise that resolves to the ID of the the newly created task after it has been successfully created.
74
+ * The `createTask()` function returns a Promise that resolves to the ID of the newly created task after it has been successfully created.
75
75
  *
76
76
  * When creating a new task, the specified `task` object must contain a `title` value.
77
77
  */
@@ -165,7 +165,7 @@ export function setCompletedStatus(payload) {
165
165
  * Removes an existing task.
166
166
  *
167
167
  *
168
- * The `removeTask()` function returns a Promise that resolves to the ID of the the removed task after it has been successfully removed.
168
+ * The `removeTask()` function returns a Promise that resolves to the ID of the removed task after it has been successfully removed.
169
169
  */
170
170
  export function deleteTask(payload) {
171
171
  const { toJSON: toReq, fromJSON: fromReq } = serializer(_deleteTaskRequest, {});
@@ -6,11 +6,11 @@ export declare const __debug: {
6
6
  };
7
7
  export interface Task {
8
8
  /**
9
- * The id of the task. Should not be passed on creation
9
+ * The ID of the task. Should not be passed on creation.
10
10
  * @readonly
11
11
  */
12
12
  taskId?: string;
13
- /** The id of the creator of the task. */
13
+ /** The ID of the creator of the task. */
14
14
  creator?: Creator;
15
15
  /** Task's title. */
16
16
  title?: string;
@@ -18,18 +18,18 @@ export interface Task {
18
18
  isCompleted?: boolean;
19
19
  /** Due Date fot the task. */
20
20
  dueAt?: Date;
21
- /** Assigned contactId to the task */
21
+ /** Assigned contact ID to the task */
22
22
  contactId?: string;
23
23
  /** Task's version. Each change on the task will magnify it. */
24
24
  version?: number;
25
- /** Assigned wix user id to the task */
25
+ /** Assigned Wix user ID to the task. */
26
26
  assigneeId?: string;
27
27
  /** The labels assigned to the task */
28
28
  labels?: Label[];
29
29
  }
30
30
  export interface Creator {
31
31
  /**
32
- * Creator id
32
+ * Creator ID.
33
33
  * @readonly
34
34
  */
35
35
  _id?: string;
@@ -42,7 +42,7 @@ export declare enum CreatorType {
42
42
  }
43
43
  export interface Label {
44
44
  /**
45
- * The id of the label. Should not be passed on creation
45
+ * The ID of the label. Should not be passed on creation.
46
46
  * @readonly
47
47
  */
48
48
  labelId?: string;
@@ -52,7 +52,7 @@ export interface Label {
52
52
  color?: string;
53
53
  }
54
54
  export interface GetTaskRequest {
55
- /** Task id */
55
+ /** Task ID. */
56
56
  _id: string;
57
57
  }
58
58
  export interface GetTaskResponse {
@@ -60,7 +60,7 @@ export interface GetTaskResponse {
60
60
  task?: Task;
61
61
  }
62
62
  export interface GetTasksListRequest {
63
- /** Assigned contact id to the task - Optional. */
63
+ /** Assigned contact ID to the task - Optional. */
64
64
  contactId?: string;
65
65
  /** Sort key. */
66
66
  key?: SortKey;
@@ -99,7 +99,7 @@ export interface ListParams {
99
99
  offset?: number;
100
100
  }
101
101
  export interface FilterBy {
102
- /** List of contact ids */
102
+ /** List of contact IDs. */
103
103
  contactIds?: string[];
104
104
  /** From due date */
105
105
  fromDate?: Date;
@@ -107,15 +107,15 @@ export interface FilterBy {
107
107
  toDate?: Date;
108
108
  /** Is completed status */
109
109
  isCompleted?: boolean | null;
110
- /** Assignee id */
110
+ /** Assignee ID. */
111
111
  assigneeId?: string | null;
112
112
  /** Task title */
113
113
  title?: string | null;
114
114
  /** Task title contains substring */
115
115
  subtitle?: string | null;
116
- /** List of tasks ids */
116
+ /** List of tasks IDs. */
117
117
  tasksIds?: string[];
118
- /** List of labels ids */
118
+ /** List of labels IDs. */
119
119
  labelIds?: string[];
120
120
  }
121
121
  export interface ListTasksResponse {
@@ -159,23 +159,23 @@ export interface TaskData {
159
159
  title?: string;
160
160
  /** Due Date fot the task. */
161
161
  dueAt?: Date;
162
- /** Assigned contactId to the task */
162
+ /** Assigned contact ID to the task. */
163
163
  contactId?: string;
164
- /** Assigned assigneeId to the task */
164
+ /** Assigned assignee ID to the task. */
165
165
  assigneeId?: string;
166
- /** The label ids assigned to the task */
166
+ /** The label IDs assigned to the task. */
167
167
  labelIds?: string[];
168
168
  }
169
169
  export interface CreateTaskResponse {
170
- /** Task id */
170
+ /** Task ID. */
171
171
  _id?: string;
172
172
  /** The task version. Incremented on each change */
173
173
  version?: number;
174
174
  }
175
175
  export interface TaskNotification {
176
- /** InstanceId of the task in Tasks App */
176
+ /** Instance ID of the task in Tasks App. */
177
177
  instanceId?: string;
178
- /** Task id */
178
+ /** Task ID. */
179
179
  taskId?: string;
180
180
  /** The changed task */
181
181
  task?: Task;
@@ -185,7 +185,7 @@ export interface TaskNotification {
185
185
  changes?: string[];
186
186
  }
187
187
  export interface UpdateTaskRequest {
188
- /** Task id */
188
+ /** Task ID. */
189
189
  _id: string;
190
190
  /** Set of desired fields. */
191
191
  fields?: string[];
@@ -193,41 +193,41 @@ export interface UpdateTaskRequest {
193
193
  task?: TaskData;
194
194
  }
195
195
  export interface UpdateTaskResponse {
196
- /** Task id */
196
+ /** Task ID. */
197
197
  _id?: string;
198
198
  /** The task version. Incremented on each change */
199
199
  version?: number;
200
200
  }
201
201
  export interface CompleteTaskRequest {
202
- /** Task id */
202
+ /** Task ID. */
203
203
  _id: string;
204
204
  /** Indication whether the task is completed */
205
205
  isCompleted?: boolean | null;
206
206
  }
207
207
  export interface CompleteTaskResponse {
208
- /** Task id */
208
+ /** Task ID. */
209
209
  _id?: string;
210
210
  /** The task version. Incremented on each change */
211
211
  version?: number;
212
212
  }
213
213
  export interface MoveTaskRequest {
214
- /** Task id */
214
+ /** Task ID. */
215
215
  _id?: string;
216
- /** Task id of the task positioned before */
216
+ /** Task ID of the task positioned before. */
217
217
  taskBeforeId?: string;
218
218
  }
219
219
  export interface MoveTaskResponse {
220
- /** Task id */
220
+ /** Task ID. */
221
221
  _id?: string;
222
222
  /** The task version. Incremented on each change */
223
223
  version?: number;
224
224
  }
225
225
  export interface DeleteTaskRequest {
226
- /** Task id */
226
+ /** Task ID. */
227
227
  _id: string;
228
228
  }
229
229
  export interface DeleteTaskResponse {
230
- /** Task id */
230
+ /** Task ID. */
231
231
  _id?: string;
232
232
  /** The task version. Incremented on each change */
233
233
  version?: number;
@@ -235,7 +235,7 @@ export interface DeleteTaskResponse {
235
235
  export interface DeleteCompletedRequest {
236
236
  }
237
237
  export interface DeleteCompletedResponse {
238
- /** Array of deleted tasks ids */
238
+ /** Array of deleted task IDs. */
239
239
  ids?: string[];
240
240
  }
241
241
  /**
@@ -245,16 +245,16 @@ export interface DeleteCompletedResponse {
245
245
  * The `getTask()` function returns a Promise that resolves to the task with the given ID.
246
246
  *
247
247
  * This function is not a universal function and runs only on the backend.
248
- * @param _id - Task id
249
248
  * @public
250
249
  * @requiredField _id
250
+ * @param _id - Task ID.
251
251
  */
252
252
  export declare function getTask(_id: string): Promise<GetTaskResponse>;
253
253
  /**
254
254
  * Creates a new task.
255
255
  *
256
256
  *
257
- * The `createTask()` function returns a Promise that resolves to the ID of the the newly created task after it has been successfully created.
257
+ * The `createTask()` function returns a Promise that resolves to the ID of the newly created task after it has been successfully created.
258
258
  *
259
259
  * When creating a new task, the specified `task` object must contain a `title` value.
260
260
  *
@@ -275,13 +275,13 @@ export declare function createTask(task: TaskData): Promise<CreateTaskResponse>;
275
275
  * To remove a value from the task, pass its corresponding property with a value of `null`.
276
276
  *
277
277
  * This function is not a universal function and runs only on the backend.
278
- * @param _id - Task id
279
278
  * @param fields - Set of desired fields.
280
279
  * @param task - Task object with the updated data
281
280
  * @public
282
281
  * @requiredField _id
283
282
  * @requiredField fields
284
283
  * @requiredField task
284
+ * @param _id - Task ID.
285
285
  */
286
286
  export declare function updateTaskFields(_id: string, fields: string[], task: TaskData): Promise<UpdateTaskResponse>;
287
287
  /**
@@ -291,23 +291,23 @@ export declare function updateTaskFields(_id: string, fields: string[], task: Ta
291
291
  * The `updateTaskStatus()` function returns a Promise that resolves to the ID of the task whose completed status was updated.
292
292
  *
293
293
  * This function is not a universal function and runs only on the backend.
294
- * @param _id - Task id
295
294
  * @param isCompleted - Indication whether the task is completed
296
295
  * @public
297
296
  * @documentationMaturity preview
298
297
  * @requiredField _id
299
298
  * @requiredField isCompleted
299
+ * @param _id - Task ID.
300
300
  */
301
301
  export declare function updateTaskStatus(_id: string, isCompleted: boolean | null): Promise<CompleteTaskResponse>;
302
302
  /**
303
303
  * Removes an existing task.
304
304
  *
305
305
  *
306
- * The `removeTask()` function returns a Promise that resolves to the ID of the the removed task after it has been successfully removed.
306
+ * The `removeTask()` function returns a Promise that resolves to the ID of the removed task after it has been successfully removed.
307
307
  *
308
308
  * This function is not a universal function and runs only on the backend.
309
- * @param _id - Task id
310
309
  * @public
311
310
  * @requiredField _id
311
+ * @param _id - Task ID.
312
312
  */
313
313
  export declare function removeTask(_id: string): Promise<DeleteTaskResponse>;
@@ -58,9 +58,9 @@ const _updateTaskResponse = {};
58
58
  * The `getTask()` function returns a Promise that resolves to the task with the given ID.
59
59
  *
60
60
  * This function is not a universal function and runs only on the backend.
61
- * @param _id - Task id
62
61
  * @public
63
62
  * @requiredField _id
63
+ * @param _id - Task ID.
64
64
  */
65
65
  export function getTask(_id) {
66
66
  var _a, _b, _c;
@@ -109,7 +109,7 @@ export function getTask(_id) {
109
109
  * Creates a new task.
110
110
  *
111
111
  *
112
- * The `createTask()` function returns a Promise that resolves to the ID of the the newly created task after it has been successfully created.
112
+ * The `createTask()` function returns a Promise that resolves to the ID of the newly created task after it has been successfully created.
113
113
  *
114
114
  * When creating a new task, the specified `task` object must contain a `title` value.
115
115
  *
@@ -172,13 +172,13 @@ export function createTask(task) {
172
172
  * To remove a value from the task, pass its corresponding property with a value of `null`.
173
173
  *
174
174
  * This function is not a universal function and runs only on the backend.
175
- * @param _id - Task id
176
175
  * @param fields - Set of desired fields.
177
176
  * @param task - Task object with the updated data
178
177
  * @public
179
178
  * @requiredField _id
180
179
  * @requiredField fields
181
180
  * @requiredField task
181
+ * @param _id - Task ID.
182
182
  */
183
183
  export function updateTaskFields(_id, fields, task) {
184
184
  var _a, _b, _c;
@@ -232,12 +232,12 @@ export function updateTaskFields(_id, fields, task) {
232
232
  * The `updateTaskStatus()` function returns a Promise that resolves to the ID of the task whose completed status was updated.
233
233
  *
234
234
  * This function is not a universal function and runs only on the backend.
235
- * @param _id - Task id
236
235
  * @param isCompleted - Indication whether the task is completed
237
236
  * @public
238
237
  * @documentationMaturity preview
239
238
  * @requiredField _id
240
239
  * @requiredField isCompleted
240
+ * @param _id - Task ID.
241
241
  */
242
242
  export function updateTaskStatus(_id, isCompleted) {
243
243
  var _a, _b, _c;
@@ -287,12 +287,12 @@ export function updateTaskStatus(_id, isCompleted) {
287
287
  * Removes an existing task.
288
288
  *
289
289
  *
290
- * The `removeTask()` function returns a Promise that resolves to the ID of the the removed task after it has been successfully removed.
290
+ * The `removeTask()` function returns a Promise that resolves to the ID of the removed task after it has been successfully removed.
291
291
  *
292
292
  * This function is not a universal function and runs only on the backend.
293
- * @param _id - Task id
294
293
  * @public
295
294
  * @requiredField _id
295
+ * @param _id - Task ID.
296
296
  */
297
297
  export function removeTask(_id) {
298
298
  var _a, _b, _c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/crm",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "9fda91c159f74975c1d6ca36c4672a5552f19b810aefa299650d6245"
36
+ "falconPackageHash": "e09296323d94281ab559e0e67ca45bf5a662d7e431faeb735ece41f0"
37
37
  }