Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- `taskIsAdhoc` option to `OneBlinkUploader.uploadSubmission()`

## [7.0.0] - 2026-04-23

### Added
Expand Down
2 changes: 2 additions & 0 deletions src/OneBlinkUploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default class OneBlinkUploader {
taskActionId,
taskGroupInstanceId,
taskCompletionTimestamp,
taskIsAdhoc,
formSubmissionDraftId,
completionTimestamp,
recaptchas = [],
Expand Down Expand Up @@ -130,6 +131,7 @@ export default class OneBlinkUploader {
taskActionId,
taskGroupInstanceId,
taskCompletionTimestamp,
taskIsAdhoc,
jobId,
previousFormSubmissionApprovalId,
recaptchas,
Expand Down
5 changes: 5 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export type UploadFormSubmissionOptions = UploadOptions & {
taskGroupInstanceId?: string
/** The date and time (in ISO format) the task was completed */
taskCompletionTimestamp?: string
/**
* `true` if the task is being completed outside of its schedule or `false` if
* the task was scheduled to be completed
*/
taskIsAdhoc?: boolean
}

export type UploadAssetOptions = UploadOptions & {
Expand Down