@pageproof/sdk-pr 372.0.1632365476622 → 372.0.1632368824431
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/lib/api/Workflows.d.ts +2 -0
- package/lib/network/endpoints.json +1 -1
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
package/lib/api/Workflows.d.ts
CHANGED
|
@@ -210,12 +210,14 @@ declare class Workflows extends API {
|
|
|
210
210
|
* @param {string} workflowId The workflow template id
|
|
211
211
|
* @param {object} [options]
|
|
212
212
|
* @param {boolean} [options.includeOwners=true] Whether to copy the proof owners permissions along with the workflow
|
|
213
|
+
* @param {boolean} [options.includeStepDueDates=true] Whether to copy the step due dates from current/ previous workflow
|
|
213
214
|
* @param {boolean} [options.includeOwnedByTeam=false] Whether to copy the `ownedByTeam` setting
|
|
214
215
|
* @param {boolean} [options.includeSharedUsers=false] Whether to copy the users the workflow is shared with
|
|
215
216
|
* @returns {Promise<Workflow>}
|
|
216
217
|
*/
|
|
217
218
|
duplicate(workflowId: string, options?: {
|
|
218
219
|
includeOwners?: boolean;
|
|
220
|
+
includeStepDueDates?: boolean;
|
|
219
221
|
includeOwnedByTeam?: boolean;
|
|
220
222
|
includeSharedUsers?: boolean;
|
|
221
223
|
}): Promise<Workflow>;
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
"workflows.duplicate": {
|
|
658
658
|
"method": "POST",
|
|
659
659
|
"path": "/api/workflows/duplicateonly",
|
|
660
|
-
"body": ["workflowId", "noOwners", "includeOwnedByTeam", "includeSharedUsers"]
|
|
660
|
+
"body": ["workflowId", "noOwners", "excludeStepDueDates", "includeOwnedByTeam", "includeSharedUsers"]
|
|
661
661
|
},
|
|
662
662
|
"workflows.set-starting-step": {
|
|
663
663
|
"method": "POST",
|