ugcinc 3.55.0 → 3.57.0

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.
@@ -550,6 +550,27 @@ function getAllNodes() {
550
550
  // - false-{id} (same type as input, receives value when condition is false)
551
551
  outputs: [],
552
552
  },
553
+ {
554
+ type: "not",
555
+ label: "Not",
556
+ description: "Invert a boolean value",
557
+ category: "Control Flow",
558
+ nodeCategory: "generator",
559
+ inputs: [
560
+ {
561
+ id: "input",
562
+ type: "boolean",
563
+ required: true,
564
+ },
565
+ ],
566
+ outputs: [
567
+ {
568
+ id: "output",
569
+ type: "boolean",
570
+ required: false,
571
+ },
572
+ ],
573
+ },
553
574
  {
554
575
  type: "random-route",
555
576
  label: "Random Branch",
package/dist/types.d.ts CHANGED
@@ -846,7 +846,7 @@ export interface NodeControlConfig {
846
846
  */
847
847
  isInitializer?: boolean;
848
848
  }
849
- export type NodeTypeEnum = 'social-audio' | 'text' | 'media' | 'video-import' | 'image-composer' | 'video-composer' | 'generate-image' | 'generate-video' | 'custom-model' | 'llm' | 'output' | 'manual-trigger' | 'recurrence' | 'compose-workflow' | 'account' | 'auto-post' | 'save-to-media' | 'deduplicate' | 'for-each' | 'random' | 'random-route' | 'if' | 'transcript' | 'auto-caption' | 'screenshot-animation' | 'create-dm';
849
+ export type NodeTypeEnum = 'social-audio' | 'text' | 'media' | 'video-import' | 'image-composer' | 'video-composer' | 'generate-image' | 'generate-video' | 'custom-model' | 'llm' | 'output' | 'manual-trigger' | 'recurrence' | 'compose-workflow' | 'account' | 'auto-post' | 'save-to-media' | 'deduplicate' | 'for-each' | 'random' | 'random-route' | 'if' | 'not' | 'transcript' | 'auto-caption' | 'screenshot-animation' | 'create-dm';
850
850
  export interface OutputSchemaProperty {
851
851
  type: 'string' | 'number' | 'boolean' | 'array' | 'object';
852
852
  items?: 'string' | 'number' | 'boolean';
@@ -872,6 +872,8 @@ export interface LLMOutputField {
872
872
  minLength?: number;
873
873
  /** Maximum array length constraint */
874
874
  maxLength?: number;
875
+ /** Whether this output is optional (can be omitted by the LLM) */
876
+ optional?: boolean;
875
877
  }
876
878
  /**
877
879
  * API Keys configuration for LLM providers (user can bring their own)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.55.0",
3
+ "version": "3.57.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",