@teamkeel/functions-runtime 0.452.1 → 0.454.2

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/dist/index.d.cts CHANGED
@@ -565,55 +565,55 @@ type TraceAPI = {
565
565
  setAttributes(attributes: TraceAttributes): void;
566
566
  };
567
567
 
568
- type ElementDataType$5 = string | number | boolean | Date;
569
- type UiElementSelectOne = <const TValue extends ElementDataType$5, N extends string, O extends boolean = false>(name: N, options?: BaseInputConfig<TValue, O> & {
568
+ type ElementDataType$6 = string | number | boolean | Date;
569
+ type UiElementSelectOne = <const TValue extends ElementDataType$6, N extends string, O extends boolean = false>(name: N, options?: BaseInputConfig<TValue, O> & {
570
570
  options: ({
571
571
  label: string;
572
572
  value: TValue;
573
573
  } | TValue)[];
574
574
  }) => InputElementResponse<N, O extends true ? TValue | undefined : TValue>;
575
- interface UiElementSelectOneApiResponse extends BaseUiInputResponse<"ui.select.one", ElementDataType$5> {
575
+ interface UiElementSelectOneApiResponse extends BaseUiInputResponse<"ui.select.one", ElementDataType$6> {
576
576
  options: ({
577
577
  label: string;
578
- value: ElementDataType$5;
579
- } | ElementDataType$5)[];
578
+ value: ElementDataType$6;
579
+ } | ElementDataType$6)[];
580
580
  }
581
581
 
582
- type ElementDataType$4 = string;
583
- type UiElementInputText = InputElement<ElementDataType$4, {
582
+ type ElementDataType$5 = string;
583
+ type UiElementInputText = InputElement<ElementDataType$5, {
584
584
  placeholder?: string;
585
585
  multiline?: boolean;
586
586
  maxLength?: number;
587
587
  minLength?: number;
588
588
  }>;
589
- interface UiElementInputTextApiResponse extends BaseUiInputResponse<"ui.input.text", ElementDataType$4> {
589
+ interface UiElementInputTextApiResponse extends BaseUiInputResponse<"ui.input.text", ElementDataType$5> {
590
590
  placeholder?: string;
591
591
  multiline?: boolean;
592
592
  maxLength?: number;
593
593
  minLength?: number;
594
594
  }
595
595
 
596
- type ElementDataType$3 = number;
597
- type UiElementInputNumber = InputElement<ElementDataType$3, {
596
+ type ElementDataType$4 = number;
597
+ type UiElementInputNumber = InputElement<ElementDataType$4, {
598
598
  placeholder?: string;
599
599
  min?: number;
600
600
  max?: number;
601
601
  }>;
602
- interface UiElementInputNumberApiResponse extends BaseUiInputResponse<"ui.input.number", ElementDataType$3> {
602
+ interface UiElementInputNumberApiResponse extends BaseUiInputResponse<"ui.input.number", ElementDataType$4> {
603
603
  placeholder?: string;
604
604
  min?: number;
605
605
  max?: number;
606
606
  }
607
607
 
608
- type ElementDataType$2 = boolean;
609
- type UiElementInputBoolean = InputElement<ElementDataType$2, {
608
+ type ElementDataType$3 = boolean;
609
+ type UiElementInputBoolean = InputElement<ElementDataType$3, {
610
610
  mode?: "checkbox" | "switch";
611
611
  }>;
612
- interface UiElementInputBooleanApiResponse extends BaseUiInputResponse<"ui.input.boolean", ElementDataType$2> {
612
+ interface UiElementInputBooleanApiResponse extends BaseUiInputResponse<"ui.input.boolean", ElementDataType$3> {
613
613
  mode: "checkbox" | "switch";
614
614
  }
615
615
 
616
- type ElementDataType$1 = string;
616
+ type ElementDataType$2 = string;
617
617
  /**
618
618
  * Defines what type of datepicker should we use.
619
619
  * @default "dateTime"
@@ -623,22 +623,78 @@ type DatePickerMode =
623
623
  "dateTime"
624
624
  /** Pick only a date */
625
625
  | "date";
626
- type UiElementInputDatePicker = InputElement<ElementDataType$1, {
626
+ type UiElementInputDatePicker = InputElement<ElementDataType$2, {
627
627
  mode?: DatePickerMode;
628
628
  /** Allows selecting only dates/datetimes past this given date. */
629
629
  min?: string;
630
630
  /** Allows selecting only dates/datetimes before this given date. */
631
631
  max?: string;
632
632
  }>;
633
- interface UiElementInputDatePickerApiResponse extends BaseUiInputResponse<"ui.input.datePicker", ElementDataType$1> {
633
+ interface UiElementInputDatePickerApiResponse extends BaseUiInputResponse<"ui.input.datePicker", ElementDataType$2> {
634
634
  mode?: DatePickerMode;
635
635
  min?: string;
636
636
  max?: string;
637
637
  }
638
638
 
639
- type ElementDataType = Partial<FileDbRecord>;
640
- type UiElementInputFile = InputElement<ElementDataType, {}, File>;
641
- interface UiElementInputFileApiResponse extends BaseUiInputResponse<"ui.input.file", ElementDataType> {
639
+ type ElementDataType$1 = Partial<FileDbRecord>;
640
+ type UiElementInputFile = InputElement<ElementDataType$1, {}, File>;
641
+ interface UiElementInputFileApiResponse extends BaseUiInputResponse<"ui.input.file", ElementDataType$1> {
642
+ }
643
+
644
+ /**
645
+ * Data posted by the client for a single image capture entry.
646
+ * `file` carries the upload metadata (the bytes go via the presigned URL).
647
+ */
648
+ type ImageCaptureValue = {
649
+ file: Partial<FileDbRecord>;
650
+ caption?: string;
651
+ };
652
+ /**
653
+ * Hydrated entry handed to the flow function: `file` becomes a real File
654
+ * instance (via transformRichDataTypes).
655
+ */
656
+ type ImageCaptureResult = {
657
+ file: File;
658
+ caption?: string;
659
+ };
660
+ type ImageCaptureMode = "single" | "multi";
661
+ type ImageCaptureValueFor<M> = M extends "multi" ? ImageCaptureValue[] : ImageCaptureValue;
662
+ type ImageCaptureResultFor<M> = M extends "multi" ? ImageCaptureResult[] : ImageCaptureResult;
663
+ type SharedOptions = {
664
+ /** When true, every captured image must have a caption. */
665
+ requireCaption?: boolean;
666
+ };
667
+ type ImageCaptureOptions<M extends ImageCaptureMode> = SharedOptions & {
668
+ /** The mode of the image capture input. Defaults to "single". */
669
+ mode?: M;
670
+ } & (M extends "multi" ? {
671
+ /** Maximum number of photos the user can capture. */
672
+ max?: number;
673
+ /** Minimum number of photos the user must capture. */
674
+ min?: number;
675
+ } : {});
676
+ type UiElementInputImageCapture = <N extends string, const M extends ImageCaptureMode = "single">(name: N, options?: BaseInputConfig<ImageCaptureValueFor<M>> & ImageCaptureOptions<M>) => InputElementResponse<N, ImageCaptureValueFor<M>, ImageCaptureResultFor<M>>;
677
+ interface UiElementInputImageCaptureApiResponse extends BaseUiInputResponse<"ui.input.imageCapture", ImageCaptureValue | ImageCaptureValue[]> {
678
+ mode: ImageCaptureMode;
679
+ requireCaption: boolean;
680
+ /** Multi mode only: maximum number of photos. */
681
+ max?: number;
682
+ /** Multi mode only: minimum number of photos. */
683
+ min?: number;
684
+ }
685
+
686
+ type ElementDataType = {
687
+ svg: string;
688
+ signedAt: string;
689
+ };
690
+ declare class Signature {
691
+ readonly svg: string;
692
+ readonly signedAt: string;
693
+ constructor(data: ElementDataType);
694
+ toPngDataURL(): Promise<string>;
695
+ }
696
+ type UiElementInputSignature = InputElement<ElementDataType, {}, Signature>;
697
+ interface UiElementInputSignatureApiResponse extends BaseUiInputResponse<"ui.input.signature", ElementDataType> {
642
698
  }
643
699
 
644
700
  type UiElementMarkdown = DisplayElement<{
@@ -1146,6 +1202,8 @@ type UiInputsElements = {
1146
1202
  datePicker: UiElementInputDatePicker;
1147
1203
  scan: UiElementScan;
1148
1204
  file: UiElementInputFile;
1205
+ imageCapture: UiElementInputImageCapture;
1206
+ signature: UiElementInputSignature;
1149
1207
  };
1150
1208
  type UiSelectElements = {
1151
1209
  one: UiElementSelectOne;
@@ -1250,6 +1308,8 @@ type UIApiResponses = {
1250
1308
  datePicker: UiElementInputDatePickerApiResponse;
1251
1309
  scan: UiElementInputScanApiResponse;
1252
1310
  file: UiElementInputFileApiResponse;
1311
+ imageCapture: UiElementInputImageCaptureApiResponse;
1312
+ signature: UiElementInputSignatureApiResponse;
1253
1313
  };
1254
1314
  select: {
1255
1315
  one: UiElementSelectOneApiResponse;
@@ -1261,7 +1321,7 @@ type UIApiResponses = {
1261
1321
  pickList: UiElementPickListApiResponse;
1262
1322
  };
1263
1323
  };
1264
- type UiElementApiResponse = UiElementDividerApiResponse | UiElementMarkdownApiResponse | UiElementHeaderApiResponse | UiElementBannerApiResponse | UiElementImageApiResponse | UiElementCodeApiResponse | UiElementGridApiResponse | UiElementListApiResponse | UiElementTableApiResponse | UiElementKeyValueApiResponse | UiElementFileApiResponse | UiElementInputTextApiResponse | UiElementInputNumberApiResponse | UiElementInputBooleanApiResponse | UiElementInputDataGridApiResponse | UiElementInputScanApiResponse | UiElementInputDatePickerApiResponse | UiElementInputFileApiResponse | UiElementSelectOneApiResponse | UiElementSelectTableApiResponse | UiElementIteratorApiResponse | UiElementPrintApiResponse | UiElementPickListApiResponse;
1324
+ type UiElementApiResponse = UiElementDividerApiResponse | UiElementMarkdownApiResponse | UiElementHeaderApiResponse | UiElementBannerApiResponse | UiElementImageApiResponse | UiElementCodeApiResponse | UiElementGridApiResponse | UiElementListApiResponse | UiElementTableApiResponse | UiElementKeyValueApiResponse | UiElementFileApiResponse | UiElementInputTextApiResponse | UiElementInputNumberApiResponse | UiElementInputBooleanApiResponse | UiElementInputDataGridApiResponse | UiElementInputScanApiResponse | UiElementInputDatePickerApiResponse | UiElementInputFileApiResponse | UiElementInputImageCaptureApiResponse | UiElementInputSignatureApiResponse | UiElementSelectOneApiResponse | UiElementSelectTableApiResponse | UiElementIteratorApiResponse | UiElementPrintApiResponse | UiElementPickListApiResponse;
1265
1325
  type UiElementApiResponses = UiElementApiResponse[];
1266
1326
 
1267
1327
  declare class NonRetriableError extends Error {
@@ -1629,4 +1689,4 @@ type FlowListResult = {
1629
1689
  };
1630
1690
  };
1631
1691
 
1632
- export { type BooleanArrayQueryWhereCondition, type BooleanArrayWhereCondition, type BooleanWhereCondition, type ContextAPI, type DateArrayQueryWhereCondition, type DateArrayWhereCondition, type DateQueryInput, type DateWhereCondition, Duration, type DurationString, type DurationWhereCondition, ErrorPresets, type Errors, type ExtractStageKeys, File, type FlowConfig, type FlowConfigAPI, type FlowContext, type FlowFunction, type FlowListOptions, type FlowListResult, type FlowRun, type FlowRunStatus, type FlowRunStep, FlowsAPI, type FuncWithConfig, type FunctionConfig, type Hardware, type IDWhereCondition, InlineFile, type ListResult, ModelAPI, NonRetriableError, type NullableHardware, type NumberArrayQueryWhereCondition, type NumberArrayWhereCondition, type NumberWhereCondition, PERMISSION_STATE, type PageInfo, type PartialPageInfo, Permissions, type Printer, type RelativeDateString, RequestHeaders, type Response, RetryBackoffExponential, RetryBackoffLinear, RetryConstant, STEP_STATUS, STEP_TYPE, type SortDirection, type Step, type StringArrayQueryWhereCondition, type StringArrayWhereCondition, type StringWhereCondition, type Task, TaskAPI, type TaskCreateOptions, type TaskFlowFunction, type TaskStatus, type TimestampQueryInput, type TraceAPI, type TraceAttributeValue, type TraceAttributes, type UI, type UIApiResponses, checkBuiltInPermissions, createFlowContext, createTraceAPI, handleFlow, handleJob, handleRequest, handleRoute, handleSubscriber, ksuid, tracing, useDatabase };
1692
+ export { type BooleanArrayQueryWhereCondition, type BooleanArrayWhereCondition, type BooleanWhereCondition, type ContextAPI, type DateArrayQueryWhereCondition, type DateArrayWhereCondition, type DateQueryInput, type DateWhereCondition, Duration, type DurationString, type DurationWhereCondition, ErrorPresets, type Errors, type ExtractStageKeys, File, type FlowConfig, type FlowConfigAPI, type FlowContext, type FlowFunction, type FlowListOptions, type FlowListResult, type FlowRun, type FlowRunStatus, type FlowRunStep, FlowsAPI, type FuncWithConfig, type FunctionConfig, type Hardware, type IDWhereCondition, InlineFile, type ListResult, ModelAPI, NonRetriableError, type NullableHardware, type NumberArrayQueryWhereCondition, type NumberArrayWhereCondition, type NumberWhereCondition, PERMISSION_STATE, type PageInfo, type PartialPageInfo, Permissions, type Printer, type RelativeDateString, RequestHeaders, type Response, RetryBackoffExponential, RetryBackoffLinear, RetryConstant, STEP_STATUS, STEP_TYPE, Signature, type SortDirection, type Step, type StringArrayQueryWhereCondition, type StringArrayWhereCondition, type StringWhereCondition, type Task, TaskAPI, type TaskCreateOptions, type TaskFlowFunction, type TaskStatus, type TimestampQueryInput, type TraceAPI, type TraceAttributeValue, type TraceAttributes, type UI, type UIApiResponses, checkBuiltInPermissions, createFlowContext, createTraceAPI, handleFlow, handleJob, handleRequest, handleRoute, handleSubscriber, ksuid, tracing, useDatabase };
package/dist/index.d.ts CHANGED
@@ -565,55 +565,55 @@ type TraceAPI = {
565
565
  setAttributes(attributes: TraceAttributes): void;
566
566
  };
567
567
 
568
- type ElementDataType$5 = string | number | boolean | Date;
569
- type UiElementSelectOne = <const TValue extends ElementDataType$5, N extends string, O extends boolean = false>(name: N, options?: BaseInputConfig<TValue, O> & {
568
+ type ElementDataType$6 = string | number | boolean | Date;
569
+ type UiElementSelectOne = <const TValue extends ElementDataType$6, N extends string, O extends boolean = false>(name: N, options?: BaseInputConfig<TValue, O> & {
570
570
  options: ({
571
571
  label: string;
572
572
  value: TValue;
573
573
  } | TValue)[];
574
574
  }) => InputElementResponse<N, O extends true ? TValue | undefined : TValue>;
575
- interface UiElementSelectOneApiResponse extends BaseUiInputResponse<"ui.select.one", ElementDataType$5> {
575
+ interface UiElementSelectOneApiResponse extends BaseUiInputResponse<"ui.select.one", ElementDataType$6> {
576
576
  options: ({
577
577
  label: string;
578
- value: ElementDataType$5;
579
- } | ElementDataType$5)[];
578
+ value: ElementDataType$6;
579
+ } | ElementDataType$6)[];
580
580
  }
581
581
 
582
- type ElementDataType$4 = string;
583
- type UiElementInputText = InputElement<ElementDataType$4, {
582
+ type ElementDataType$5 = string;
583
+ type UiElementInputText = InputElement<ElementDataType$5, {
584
584
  placeholder?: string;
585
585
  multiline?: boolean;
586
586
  maxLength?: number;
587
587
  minLength?: number;
588
588
  }>;
589
- interface UiElementInputTextApiResponse extends BaseUiInputResponse<"ui.input.text", ElementDataType$4> {
589
+ interface UiElementInputTextApiResponse extends BaseUiInputResponse<"ui.input.text", ElementDataType$5> {
590
590
  placeholder?: string;
591
591
  multiline?: boolean;
592
592
  maxLength?: number;
593
593
  minLength?: number;
594
594
  }
595
595
 
596
- type ElementDataType$3 = number;
597
- type UiElementInputNumber = InputElement<ElementDataType$3, {
596
+ type ElementDataType$4 = number;
597
+ type UiElementInputNumber = InputElement<ElementDataType$4, {
598
598
  placeholder?: string;
599
599
  min?: number;
600
600
  max?: number;
601
601
  }>;
602
- interface UiElementInputNumberApiResponse extends BaseUiInputResponse<"ui.input.number", ElementDataType$3> {
602
+ interface UiElementInputNumberApiResponse extends BaseUiInputResponse<"ui.input.number", ElementDataType$4> {
603
603
  placeholder?: string;
604
604
  min?: number;
605
605
  max?: number;
606
606
  }
607
607
 
608
- type ElementDataType$2 = boolean;
609
- type UiElementInputBoolean = InputElement<ElementDataType$2, {
608
+ type ElementDataType$3 = boolean;
609
+ type UiElementInputBoolean = InputElement<ElementDataType$3, {
610
610
  mode?: "checkbox" | "switch";
611
611
  }>;
612
- interface UiElementInputBooleanApiResponse extends BaseUiInputResponse<"ui.input.boolean", ElementDataType$2> {
612
+ interface UiElementInputBooleanApiResponse extends BaseUiInputResponse<"ui.input.boolean", ElementDataType$3> {
613
613
  mode: "checkbox" | "switch";
614
614
  }
615
615
 
616
- type ElementDataType$1 = string;
616
+ type ElementDataType$2 = string;
617
617
  /**
618
618
  * Defines what type of datepicker should we use.
619
619
  * @default "dateTime"
@@ -623,22 +623,78 @@ type DatePickerMode =
623
623
  "dateTime"
624
624
  /** Pick only a date */
625
625
  | "date";
626
- type UiElementInputDatePicker = InputElement<ElementDataType$1, {
626
+ type UiElementInputDatePicker = InputElement<ElementDataType$2, {
627
627
  mode?: DatePickerMode;
628
628
  /** Allows selecting only dates/datetimes past this given date. */
629
629
  min?: string;
630
630
  /** Allows selecting only dates/datetimes before this given date. */
631
631
  max?: string;
632
632
  }>;
633
- interface UiElementInputDatePickerApiResponse extends BaseUiInputResponse<"ui.input.datePicker", ElementDataType$1> {
633
+ interface UiElementInputDatePickerApiResponse extends BaseUiInputResponse<"ui.input.datePicker", ElementDataType$2> {
634
634
  mode?: DatePickerMode;
635
635
  min?: string;
636
636
  max?: string;
637
637
  }
638
638
 
639
- type ElementDataType = Partial<FileDbRecord>;
640
- type UiElementInputFile = InputElement<ElementDataType, {}, File>;
641
- interface UiElementInputFileApiResponse extends BaseUiInputResponse<"ui.input.file", ElementDataType> {
639
+ type ElementDataType$1 = Partial<FileDbRecord>;
640
+ type UiElementInputFile = InputElement<ElementDataType$1, {}, File>;
641
+ interface UiElementInputFileApiResponse extends BaseUiInputResponse<"ui.input.file", ElementDataType$1> {
642
+ }
643
+
644
+ /**
645
+ * Data posted by the client for a single image capture entry.
646
+ * `file` carries the upload metadata (the bytes go via the presigned URL).
647
+ */
648
+ type ImageCaptureValue = {
649
+ file: Partial<FileDbRecord>;
650
+ caption?: string;
651
+ };
652
+ /**
653
+ * Hydrated entry handed to the flow function: `file` becomes a real File
654
+ * instance (via transformRichDataTypes).
655
+ */
656
+ type ImageCaptureResult = {
657
+ file: File;
658
+ caption?: string;
659
+ };
660
+ type ImageCaptureMode = "single" | "multi";
661
+ type ImageCaptureValueFor<M> = M extends "multi" ? ImageCaptureValue[] : ImageCaptureValue;
662
+ type ImageCaptureResultFor<M> = M extends "multi" ? ImageCaptureResult[] : ImageCaptureResult;
663
+ type SharedOptions = {
664
+ /** When true, every captured image must have a caption. */
665
+ requireCaption?: boolean;
666
+ };
667
+ type ImageCaptureOptions<M extends ImageCaptureMode> = SharedOptions & {
668
+ /** The mode of the image capture input. Defaults to "single". */
669
+ mode?: M;
670
+ } & (M extends "multi" ? {
671
+ /** Maximum number of photos the user can capture. */
672
+ max?: number;
673
+ /** Minimum number of photos the user must capture. */
674
+ min?: number;
675
+ } : {});
676
+ type UiElementInputImageCapture = <N extends string, const M extends ImageCaptureMode = "single">(name: N, options?: BaseInputConfig<ImageCaptureValueFor<M>> & ImageCaptureOptions<M>) => InputElementResponse<N, ImageCaptureValueFor<M>, ImageCaptureResultFor<M>>;
677
+ interface UiElementInputImageCaptureApiResponse extends BaseUiInputResponse<"ui.input.imageCapture", ImageCaptureValue | ImageCaptureValue[]> {
678
+ mode: ImageCaptureMode;
679
+ requireCaption: boolean;
680
+ /** Multi mode only: maximum number of photos. */
681
+ max?: number;
682
+ /** Multi mode only: minimum number of photos. */
683
+ min?: number;
684
+ }
685
+
686
+ type ElementDataType = {
687
+ svg: string;
688
+ signedAt: string;
689
+ };
690
+ declare class Signature {
691
+ readonly svg: string;
692
+ readonly signedAt: string;
693
+ constructor(data: ElementDataType);
694
+ toPngDataURL(): Promise<string>;
695
+ }
696
+ type UiElementInputSignature = InputElement<ElementDataType, {}, Signature>;
697
+ interface UiElementInputSignatureApiResponse extends BaseUiInputResponse<"ui.input.signature", ElementDataType> {
642
698
  }
643
699
 
644
700
  type UiElementMarkdown = DisplayElement<{
@@ -1146,6 +1202,8 @@ type UiInputsElements = {
1146
1202
  datePicker: UiElementInputDatePicker;
1147
1203
  scan: UiElementScan;
1148
1204
  file: UiElementInputFile;
1205
+ imageCapture: UiElementInputImageCapture;
1206
+ signature: UiElementInputSignature;
1149
1207
  };
1150
1208
  type UiSelectElements = {
1151
1209
  one: UiElementSelectOne;
@@ -1250,6 +1308,8 @@ type UIApiResponses = {
1250
1308
  datePicker: UiElementInputDatePickerApiResponse;
1251
1309
  scan: UiElementInputScanApiResponse;
1252
1310
  file: UiElementInputFileApiResponse;
1311
+ imageCapture: UiElementInputImageCaptureApiResponse;
1312
+ signature: UiElementInputSignatureApiResponse;
1253
1313
  };
1254
1314
  select: {
1255
1315
  one: UiElementSelectOneApiResponse;
@@ -1261,7 +1321,7 @@ type UIApiResponses = {
1261
1321
  pickList: UiElementPickListApiResponse;
1262
1322
  };
1263
1323
  };
1264
- type UiElementApiResponse = UiElementDividerApiResponse | UiElementMarkdownApiResponse | UiElementHeaderApiResponse | UiElementBannerApiResponse | UiElementImageApiResponse | UiElementCodeApiResponse | UiElementGridApiResponse | UiElementListApiResponse | UiElementTableApiResponse | UiElementKeyValueApiResponse | UiElementFileApiResponse | UiElementInputTextApiResponse | UiElementInputNumberApiResponse | UiElementInputBooleanApiResponse | UiElementInputDataGridApiResponse | UiElementInputScanApiResponse | UiElementInputDatePickerApiResponse | UiElementInputFileApiResponse | UiElementSelectOneApiResponse | UiElementSelectTableApiResponse | UiElementIteratorApiResponse | UiElementPrintApiResponse | UiElementPickListApiResponse;
1324
+ type UiElementApiResponse = UiElementDividerApiResponse | UiElementMarkdownApiResponse | UiElementHeaderApiResponse | UiElementBannerApiResponse | UiElementImageApiResponse | UiElementCodeApiResponse | UiElementGridApiResponse | UiElementListApiResponse | UiElementTableApiResponse | UiElementKeyValueApiResponse | UiElementFileApiResponse | UiElementInputTextApiResponse | UiElementInputNumberApiResponse | UiElementInputBooleanApiResponse | UiElementInputDataGridApiResponse | UiElementInputScanApiResponse | UiElementInputDatePickerApiResponse | UiElementInputFileApiResponse | UiElementInputImageCaptureApiResponse | UiElementInputSignatureApiResponse | UiElementSelectOneApiResponse | UiElementSelectTableApiResponse | UiElementIteratorApiResponse | UiElementPrintApiResponse | UiElementPickListApiResponse;
1265
1325
  type UiElementApiResponses = UiElementApiResponse[];
1266
1326
 
1267
1327
  declare class NonRetriableError extends Error {
@@ -1629,4 +1689,4 @@ type FlowListResult = {
1629
1689
  };
1630
1690
  };
1631
1691
 
1632
- export { type BooleanArrayQueryWhereCondition, type BooleanArrayWhereCondition, type BooleanWhereCondition, type ContextAPI, type DateArrayQueryWhereCondition, type DateArrayWhereCondition, type DateQueryInput, type DateWhereCondition, Duration, type DurationString, type DurationWhereCondition, ErrorPresets, type Errors, type ExtractStageKeys, File, type FlowConfig, type FlowConfigAPI, type FlowContext, type FlowFunction, type FlowListOptions, type FlowListResult, type FlowRun, type FlowRunStatus, type FlowRunStep, FlowsAPI, type FuncWithConfig, type FunctionConfig, type Hardware, type IDWhereCondition, InlineFile, type ListResult, ModelAPI, NonRetriableError, type NullableHardware, type NumberArrayQueryWhereCondition, type NumberArrayWhereCondition, type NumberWhereCondition, PERMISSION_STATE, type PageInfo, type PartialPageInfo, Permissions, type Printer, type RelativeDateString, RequestHeaders, type Response, RetryBackoffExponential, RetryBackoffLinear, RetryConstant, STEP_STATUS, STEP_TYPE, type SortDirection, type Step, type StringArrayQueryWhereCondition, type StringArrayWhereCondition, type StringWhereCondition, type Task, TaskAPI, type TaskCreateOptions, type TaskFlowFunction, type TaskStatus, type TimestampQueryInput, type TraceAPI, type TraceAttributeValue, type TraceAttributes, type UI, type UIApiResponses, checkBuiltInPermissions, createFlowContext, createTraceAPI, handleFlow, handleJob, handleRequest, handleRoute, handleSubscriber, ksuid, tracing, useDatabase };
1692
+ export { type BooleanArrayQueryWhereCondition, type BooleanArrayWhereCondition, type BooleanWhereCondition, type ContextAPI, type DateArrayQueryWhereCondition, type DateArrayWhereCondition, type DateQueryInput, type DateWhereCondition, Duration, type DurationString, type DurationWhereCondition, ErrorPresets, type Errors, type ExtractStageKeys, File, type FlowConfig, type FlowConfigAPI, type FlowContext, type FlowFunction, type FlowListOptions, type FlowListResult, type FlowRun, type FlowRunStatus, type FlowRunStep, FlowsAPI, type FuncWithConfig, type FunctionConfig, type Hardware, type IDWhereCondition, InlineFile, type ListResult, ModelAPI, NonRetriableError, type NullableHardware, type NumberArrayQueryWhereCondition, type NumberArrayWhereCondition, type NumberWhereCondition, PERMISSION_STATE, type PageInfo, type PartialPageInfo, Permissions, type Printer, type RelativeDateString, RequestHeaders, type Response, RetryBackoffExponential, RetryBackoffLinear, RetryConstant, STEP_STATUS, STEP_TYPE, Signature, type SortDirection, type Step, type StringArrayQueryWhereCondition, type StringArrayWhereCondition, type StringWhereCondition, type Task, TaskAPI, type TaskCreateOptions, type TaskFlowFunction, type TaskStatus, type TimestampQueryInput, type TraceAPI, type TraceAttributeValue, type TraceAttributes, type UI, type UIApiResponses, checkBuiltInPermissions, createFlowContext, createTraceAPI, handleFlow, handleJob, handleRequest, handleRoute, handleSubscriber, ksuid, tracing, useDatabase };