@workbuddy/sdk-js-vnext 1.0.28 → 1.0.30
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.
- package/index.d.ts +10 -6
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1464,7 +1464,7 @@ export interface WorkBuddyJobsStagesResourcesStatusUpdateStatusParams extends Wo
|
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Status filter
|
|
1466
1466
|
*/
|
|
1467
|
-
status: '
|
|
1467
|
+
status: 'completed' | 'onhold';
|
|
1468
1468
|
|
|
1469
1469
|
location?: { lat: number; lng: number };
|
|
1470
1470
|
}
|
|
@@ -1877,7 +1877,7 @@ export interface WorkBuddyJobsActivitiesNoteCreateNoteParams extends WorkBuddyRe
|
|
|
1877
1877
|
|
|
1878
1878
|
export interface WorkBuddyJobsActivitiesEmailCreateEmailParams extends WorkBuddyRequestParams {
|
|
1879
1879
|
/**
|
|
1880
|
-
* Job ID
|
|
1880
|
+
* Job ID
|
|
1881
1881
|
*/
|
|
1882
1882
|
jobId: string;
|
|
1883
1883
|
/**
|
|
@@ -1934,7 +1934,7 @@ export interface WorkBuddyJobsActivitiesSmsCreateSmsParams extends WorkBuddyRequ
|
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Recipients
|
|
1936
1936
|
*/
|
|
1937
|
-
to?: { mobile: string }[];
|
|
1937
|
+
to?: { name?: string; mobile: string }[];
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")
|
|
1940
1940
|
*/
|
|
@@ -2075,7 +2075,9 @@ export interface WorkBuddyJobsStagesActivitiesEmailCreateEmailParams extends Wor
|
|
|
2075
2075
|
* Stage ID or stage number
|
|
2076
2076
|
*/
|
|
2077
2077
|
stageId: string;
|
|
2078
|
-
|
|
2078
|
+
/**
|
|
2079
|
+
* Job ID
|
|
2080
|
+
*/
|
|
2079
2081
|
jobId: string;
|
|
2080
2082
|
/**
|
|
2081
2083
|
* Template ID to pre-populate fields from a template
|
|
@@ -2133,7 +2135,7 @@ export interface WorkBuddyJobsStagesActivitiesSmsCreateSmsParams extends WorkBud
|
|
|
2133
2135
|
/**
|
|
2134
2136
|
* Recipients
|
|
2135
2137
|
*/
|
|
2136
|
-
to?: { mobile: string }[];
|
|
2138
|
+
to?: { name?: string; mobile: string }[];
|
|
2137
2139
|
/**
|
|
2138
2140
|
* Array of label/tag IDs to attach (comma-separated, e.g. "id1,id2")
|
|
2139
2141
|
*/
|
|
@@ -2336,6 +2338,7 @@ export interface WorkBuddyJobsTasksCreateParams extends WorkBuddyRequestParams {
|
|
|
2336
2338
|
afterPhotoEnabled?: boolean;
|
|
2337
2339
|
commentEnabled?: boolean;
|
|
2338
2340
|
fileEnabled?: boolean;
|
|
2341
|
+
formEnabled?: boolean;
|
|
2339
2342
|
};
|
|
2340
2343
|
/**
|
|
2341
2344
|
* Sharing options — control visibility to customer portal and field app
|
|
@@ -2502,6 +2505,7 @@ export interface WorkBuddyJobsStagesTasksCreateParams extends WorkBuddyRequestPa
|
|
|
2502
2505
|
afterPhotoEnabled?: boolean;
|
|
2503
2506
|
commentEnabled?: boolean;
|
|
2504
2507
|
fileEnabled?: boolean;
|
|
2508
|
+
formEnabled?: boolean;
|
|
2505
2509
|
};
|
|
2506
2510
|
/**
|
|
2507
2511
|
* Sharing options — control visibility to customer portal and field app
|
|
@@ -5726,7 +5730,7 @@ export interface WorkBuddyJobsStagesResourcesReissueResource {
|
|
|
5726
5730
|
|
|
5727
5731
|
export interface WorkBuddyJobsStagesResourcesStatusResource {
|
|
5728
5732
|
/**
|
|
5729
|
-
* Update status (
|
|
5733
|
+
* Update status (completed, onhold).
|
|
5730
5734
|
* Operation: PublicJobStageResourceController_updateStatus
|
|
5731
5735
|
*/
|
|
5732
5736
|
updateStatus<TResponse = WorkBuddyJobsStagesResourcesStatusUpdateStatusResponse>(
|
package/index.js
CHANGED
|
@@ -98,7 +98,7 @@ export class WorkBuddyClient {
|
|
|
98
98
|
},
|
|
99
99
|
status: {
|
|
100
100
|
/**
|
|
101
|
-
* Update status (
|
|
101
|
+
* Update status (completed, onhold).
|
|
102
102
|
* Operation: PublicJobStageResourceController_updateStatus
|
|
103
103
|
*/
|
|
104
104
|
updateStatus: (params = {}, options = {}) =>
|
|
@@ -1668,7 +1668,7 @@ export const operations = [
|
|
|
1668
1668
|
resourcePath: ['jobs', 'stages', 'resources', 'status'],
|
|
1669
1669
|
actionName: 'updateStatus',
|
|
1670
1670
|
displayName: 'Update resource status',
|
|
1671
|
-
description: 'Update status (
|
|
1671
|
+
description: 'Update status (completed, onhold).',
|
|
1672
1672
|
method: 'POST',
|
|
1673
1673
|
path: '/jobs/{jobId}/stages/{stageId}/resources/{resourceId}/status',
|
|
1674
1674
|
pathParams: ['jobId', 'stageId', 'resourceId'],
|