circuit-json 0.0.296 → 0.0.298

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.mts CHANGED
@@ -3687,6 +3687,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
3687
3687
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3688
3688
  }>;
3689
3689
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3690
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
3690
3691
  is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3691
3692
  has_stroke: z.ZodOptional<z.ZodBoolean>;
3692
3693
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -3704,6 +3705,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
3704
3705
  pcb_silkscreen_rect_id: string;
3705
3706
  subcircuit_id?: string | undefined;
3706
3707
  pcb_group_id?: string | undefined;
3708
+ corner_radius?: number | undefined;
3707
3709
  is_filled?: boolean | undefined;
3708
3710
  has_stroke?: boolean | undefined;
3709
3711
  is_stroke_dashed?: boolean | undefined;
@@ -3721,6 +3723,7 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
3721
3723
  };
3722
3724
  subcircuit_id?: string | undefined;
3723
3725
  pcb_group_id?: string | undefined;
3726
+ corner_radius?: string | number | undefined;
3724
3727
  stroke_width?: string | number | undefined;
3725
3728
  pcb_silkscreen_rect_id?: string | undefined;
3726
3729
  is_filled?: boolean | undefined;
@@ -3742,6 +3745,7 @@ interface PcbSilkscreenRect {
3742
3745
  height: Length;
3743
3746
  layer: LayerRef;
3744
3747
  stroke_width: Length;
3748
+ corner_radius?: Length;
3745
3749
  is_filled?: boolean;
3746
3750
  has_stroke?: boolean;
3747
3751
  is_stroke_dashed?: boolean;
@@ -4049,6 +4053,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
4049
4053
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4050
4054
  layer: z.ZodEnum<["top", "bottom"]>;
4051
4055
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4056
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4052
4057
  is_filled: z.ZodOptional<z.ZodBoolean>;
4053
4058
  has_stroke: z.ZodOptional<z.ZodBoolean>;
4054
4059
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -4067,6 +4072,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
4067
4072
  pcb_fabrication_note_rect_id: string;
4068
4073
  subcircuit_id?: string | undefined;
4069
4074
  pcb_group_id?: string | undefined;
4075
+ corner_radius?: number | undefined;
4070
4076
  is_filled?: boolean | undefined;
4071
4077
  has_stroke?: boolean | undefined;
4072
4078
  is_stroke_dashed?: boolean | undefined;
@@ -4083,6 +4089,7 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
4083
4089
  layer: "top" | "bottom";
4084
4090
  subcircuit_id?: string | undefined;
4085
4091
  pcb_group_id?: string | undefined;
4092
+ corner_radius?: string | number | undefined;
4086
4093
  stroke_width?: string | number | undefined;
4087
4094
  is_filled?: boolean | undefined;
4088
4095
  has_stroke?: boolean | undefined;
@@ -4105,6 +4112,7 @@ interface PcbFabricationNoteRect {
4105
4112
  height: Length;
4106
4113
  layer: VisibleLayer;
4107
4114
  stroke_width: Length;
4115
+ corner_radius?: Length;
4108
4116
  is_filled?: boolean;
4109
4117
  has_stroke?: boolean;
4110
4118
  is_stroke_dashed?: boolean;
@@ -4341,6 +4349,7 @@ declare const pcb_note_rect: z.ZodObject<{
4341
4349
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4342
4350
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4343
4351
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4352
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4344
4353
  is_filled: z.ZodOptional<z.ZodBoolean>;
4345
4354
  has_stroke: z.ZodOptional<z.ZodBoolean>;
4346
4355
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -4359,6 +4368,7 @@ declare const pcb_note_rect: z.ZodObject<{
4359
4368
  pcb_component_id?: string | undefined;
4360
4369
  subcircuit_id?: string | undefined;
4361
4370
  pcb_group_id?: string | undefined;
4371
+ corner_radius?: number | undefined;
4362
4372
  text?: string | undefined;
4363
4373
  is_filled?: boolean | undefined;
4364
4374
  has_stroke?: boolean | undefined;
@@ -4376,6 +4386,7 @@ declare const pcb_note_rect: z.ZodObject<{
4376
4386
  pcb_component_id?: string | undefined;
4377
4387
  subcircuit_id?: string | undefined;
4378
4388
  pcb_group_id?: string | undefined;
4389
+ corner_radius?: string | number | undefined;
4379
4390
  text?: string | undefined;
4380
4391
  stroke_width?: string | number | undefined;
4381
4392
  is_filled?: boolean | undefined;
@@ -4400,6 +4411,7 @@ interface PcbNoteRect {
4400
4411
  width: Length;
4401
4412
  height: Length;
4402
4413
  stroke_width: Length;
4414
+ corner_radius?: Length;
4403
4415
  is_filled?: boolean;
4404
4416
  has_stroke?: boolean;
4405
4417
  is_stroke_dashed?: boolean;
@@ -8616,121 +8628,415 @@ interface SchematicSheet {
8616
8628
  subcircuit_id?: string;
8617
8629
  }
8618
8630
 
8619
- interface SourceComponentBase {
8620
- type: "source_component";
8621
- ftype?: string;
8622
- source_component_id: string;
8623
- name: string;
8624
- manufacturer_part_number?: string;
8625
- supplier_part_numbers?: Partial<Record<SupplierName, string[]>>;
8626
- display_value?: string;
8627
- are_pins_interchangeable?: boolean;
8628
- internally_connected_source_port_ids?: string[][];
8629
- source_group_id?: string;
8630
- subcircuit_id?: string;
8631
- }
8632
- declare const source_component_base: z.ZodObject<{
8633
- type: z.ZodLiteral<"source_component">;
8634
- ftype: z.ZodOptional<z.ZodString>;
8635
- source_component_id: z.ZodString;
8636
- name: z.ZodString;
8637
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
8638
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8639
- display_value: z.ZodOptional<z.ZodString>;
8640
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8641
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8642
- source_group_id: z.ZodOptional<z.ZodString>;
8643
- subcircuit_id: z.ZodOptional<z.ZodString>;
8631
+ declare const wave_shape: z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>;
8632
+ type WaveShape = z.infer<typeof wave_shape>;
8633
+ declare const simulation_dc_voltage_source: z.ZodObject<{
8634
+ type: z.ZodLiteral<"simulation_voltage_source">;
8635
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8636
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
8637
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
8638
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
8639
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
8640
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
8641
+ voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8644
8642
  }, "strip", z.ZodTypeAny, {
8645
- type: "source_component";
8646
- name: string;
8647
- source_component_id: string;
8648
- subcircuit_id?: string | undefined;
8649
- source_group_id?: string | undefined;
8650
- ftype?: string | undefined;
8651
- manufacturer_part_number?: string | undefined;
8652
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8653
- display_value?: string | undefined;
8654
- are_pins_interchangeable?: boolean | undefined;
8655
- internally_connected_source_port_ids?: string[][] | undefined;
8643
+ type: "simulation_voltage_source";
8644
+ voltage: number;
8645
+ simulation_voltage_source_id: string;
8646
+ is_dc_source: true;
8647
+ positive_source_port_id?: string | undefined;
8648
+ negative_source_port_id?: string | undefined;
8649
+ positive_source_net_id?: string | undefined;
8650
+ negative_source_net_id?: string | undefined;
8656
8651
  }, {
8657
- type: "source_component";
8658
- name: string;
8659
- source_component_id: string;
8660
- subcircuit_id?: string | undefined;
8661
- source_group_id?: string | undefined;
8662
- ftype?: string | undefined;
8663
- manufacturer_part_number?: string | undefined;
8664
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8665
- display_value?: string | undefined;
8666
- are_pins_interchangeable?: boolean | undefined;
8667
- internally_connected_source_port_ids?: string[][] | undefined;
8652
+ type: "simulation_voltage_source";
8653
+ voltage: string | number;
8654
+ simulation_voltage_source_id?: string | undefined;
8655
+ is_dc_source?: true | undefined;
8656
+ positive_source_port_id?: string | undefined;
8657
+ negative_source_port_id?: string | undefined;
8658
+ positive_source_net_id?: string | undefined;
8659
+ negative_source_net_id?: string | undefined;
8668
8660
  }>;
8669
-
8670
- declare const source_simple_capacitor: z.ZodObject<{
8671
- type: z.ZodLiteral<"source_component">;
8672
- source_component_id: z.ZodString;
8673
- name: z.ZodString;
8674
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
8675
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8676
- display_value: z.ZodOptional<z.ZodString>;
8677
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8678
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8679
- source_group_id: z.ZodOptional<z.ZodString>;
8680
- subcircuit_id: z.ZodOptional<z.ZodString>;
8681
- } & {
8682
- ftype: z.ZodLiteral<"simple_capacitor">;
8683
- capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
8684
- max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8685
- display_capacitance: z.ZodOptional<z.ZodString>;
8686
- max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8661
+ declare const simulation_ac_voltage_source: z.ZodObject<{
8662
+ type: z.ZodLiteral<"simulation_voltage_source">;
8663
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8664
+ is_dc_source: z.ZodLiteral<false>;
8665
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
8666
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
8667
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
8668
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
8669
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8670
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8671
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8672
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
8673
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8674
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
8687
8675
  }, "strip", z.ZodTypeAny, {
8688
- type: "source_component";
8689
- name: string;
8690
- source_component_id: string;
8691
- ftype: "simple_capacitor";
8692
- capacitance: number;
8693
- subcircuit_id?: string | undefined;
8694
- source_group_id?: string | undefined;
8695
- manufacturer_part_number?: string | undefined;
8696
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8697
- display_value?: string | undefined;
8698
- are_pins_interchangeable?: boolean | undefined;
8699
- internally_connected_source_port_ids?: string[][] | undefined;
8700
- max_voltage_rating?: number | undefined;
8701
- display_capacitance?: string | undefined;
8702
- max_decoupling_trace_length?: number | undefined;
8676
+ type: "simulation_voltage_source";
8677
+ simulation_voltage_source_id: string;
8678
+ is_dc_source: false;
8679
+ voltage?: number | undefined;
8680
+ terminal1_source_port_id?: string | undefined;
8681
+ terminal2_source_port_id?: string | undefined;
8682
+ terminal1_source_net_id?: string | undefined;
8683
+ terminal2_source_net_id?: string | undefined;
8684
+ frequency?: number | undefined;
8685
+ peak_to_peak_voltage?: number | undefined;
8686
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8687
+ phase?: number | undefined;
8688
+ duty_cycle?: number | undefined;
8703
8689
  }, {
8704
- type: "source_component";
8705
- name: string;
8706
- source_component_id: string;
8707
- ftype: "simple_capacitor";
8708
- capacitance: string | number;
8709
- subcircuit_id?: string | undefined;
8710
- source_group_id?: string | undefined;
8711
- manufacturer_part_number?: string | undefined;
8712
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8713
- display_value?: string | undefined;
8714
- are_pins_interchangeable?: boolean | undefined;
8715
- internally_connected_source_port_ids?: string[][] | undefined;
8716
- max_voltage_rating?: string | number | undefined;
8717
- display_capacitance?: string | undefined;
8718
- max_decoupling_trace_length?: string | number | undefined;
8690
+ type: "simulation_voltage_source";
8691
+ is_dc_source: false;
8692
+ voltage?: string | number | undefined;
8693
+ simulation_voltage_source_id?: string | undefined;
8694
+ terminal1_source_port_id?: string | undefined;
8695
+ terminal2_source_port_id?: string | undefined;
8696
+ terminal1_source_net_id?: string | undefined;
8697
+ terminal2_source_net_id?: string | undefined;
8698
+ frequency?: string | number | undefined;
8699
+ peak_to_peak_voltage?: string | number | undefined;
8700
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8701
+ phase?: string | number | undefined;
8702
+ duty_cycle?: string | number | undefined;
8719
8703
  }>;
8720
- type SourceSimpleCapacitorInput = z.input<typeof source_simple_capacitor>;
8704
+ type SimulationAcVoltageSourceInput = z.input<typeof simulation_ac_voltage_source>;
8705
+ declare const simulation_voltage_source: z.ZodUnion<[z.ZodObject<{
8706
+ type: z.ZodLiteral<"simulation_voltage_source">;
8707
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8708
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
8709
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
8710
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
8711
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
8712
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
8713
+ voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8714
+ }, "strip", z.ZodTypeAny, {
8715
+ type: "simulation_voltage_source";
8716
+ voltage: number;
8717
+ simulation_voltage_source_id: string;
8718
+ is_dc_source: true;
8719
+ positive_source_port_id?: string | undefined;
8720
+ negative_source_port_id?: string | undefined;
8721
+ positive_source_net_id?: string | undefined;
8722
+ negative_source_net_id?: string | undefined;
8723
+ }, {
8724
+ type: "simulation_voltage_source";
8725
+ voltage: string | number;
8726
+ simulation_voltage_source_id?: string | undefined;
8727
+ is_dc_source?: true | undefined;
8728
+ positive_source_port_id?: string | undefined;
8729
+ negative_source_port_id?: string | undefined;
8730
+ positive_source_net_id?: string | undefined;
8731
+ negative_source_net_id?: string | undefined;
8732
+ }>, z.ZodObject<{
8733
+ type: z.ZodLiteral<"simulation_voltage_source">;
8734
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8735
+ is_dc_source: z.ZodLiteral<false>;
8736
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
8737
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
8738
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
8739
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
8740
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8741
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8742
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8743
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
8744
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8745
+ duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
8746
+ }, "strip", z.ZodTypeAny, {
8747
+ type: "simulation_voltage_source";
8748
+ simulation_voltage_source_id: string;
8749
+ is_dc_source: false;
8750
+ voltage?: number | undefined;
8751
+ terminal1_source_port_id?: string | undefined;
8752
+ terminal2_source_port_id?: string | undefined;
8753
+ terminal1_source_net_id?: string | undefined;
8754
+ terminal2_source_net_id?: string | undefined;
8755
+ frequency?: number | undefined;
8756
+ peak_to_peak_voltage?: number | undefined;
8757
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8758
+ phase?: number | undefined;
8759
+ duty_cycle?: number | undefined;
8760
+ }, {
8761
+ type: "simulation_voltage_source";
8762
+ is_dc_source: false;
8763
+ voltage?: string | number | undefined;
8764
+ simulation_voltage_source_id?: string | undefined;
8765
+ terminal1_source_port_id?: string | undefined;
8766
+ terminal2_source_port_id?: string | undefined;
8767
+ terminal1_source_net_id?: string | undefined;
8768
+ terminal2_source_net_id?: string | undefined;
8769
+ frequency?: string | number | undefined;
8770
+ peak_to_peak_voltage?: string | number | undefined;
8771
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8772
+ phase?: string | number | undefined;
8773
+ duty_cycle?: string | number | undefined;
8774
+ }>]>;
8775
+ type SimulationVoltageSourceInput = z.input<typeof simulation_voltage_source>;
8721
8776
  /**
8722
- * Defines a simple capacitor component
8777
+ * Defines a DC voltage source for simulation purposes. It applies a voltage
8778
+ * difference between two source ports.
8723
8779
  */
8724
- interface SourceSimpleCapacitor extends SourceComponentBase {
8725
- ftype: "simple_capacitor";
8726
- capacitance: number;
8727
- max_voltage_rating?: number;
8728
- display_capacitance?: string;
8729
- max_decoupling_trace_length?: number;
8780
+ interface SimulationDcVoltageSource {
8781
+ type: "simulation_voltage_source";
8782
+ simulation_voltage_source_id: string;
8783
+ is_dc_source: true;
8784
+ positive_source_port_id?: string;
8785
+ positive_source_net_id?: string;
8786
+ negative_source_port_id?: string;
8787
+ negative_source_net_id?: string;
8788
+ voltage: number;
8730
8789
  }
8790
+ /**
8791
+ * Defines an AC voltage source for simulation purposes.
8792
+ */
8793
+ interface SimulationAcVoltageSource {
8794
+ type: "simulation_voltage_source";
8795
+ simulation_voltage_source_id: string;
8796
+ is_dc_source: false;
8797
+ terminal1_source_port_id?: string;
8798
+ terminal2_source_port_id?: string;
8799
+ terminal1_source_net_id?: string;
8800
+ terminal2_source_net_id?: string;
8801
+ voltage?: number;
8802
+ frequency?: number;
8803
+ peak_to_peak_voltage?: number;
8804
+ wave_shape?: WaveShape;
8805
+ phase?: number;
8806
+ duty_cycle?: number;
8807
+ }
8808
+ type SimulationVoltageSource = SimulationDcVoltageSource | SimulationAcVoltageSource;
8731
8809
 
8732
- declare const source_simple_resistor: z.ZodObject<{
8810
+ declare const experiment_type: z.ZodUnion<[z.ZodLiteral<"spice_dc_sweep">, z.ZodLiteral<"spice_dc_operating_point">, z.ZodLiteral<"spice_transient_analysis">, z.ZodLiteral<"spice_ac_analysis">]>;
8811
+ type ExperimentType = z.infer<typeof experiment_type>;
8812
+ interface SimulationExperiment {
8813
+ type: "simulation_experiment";
8814
+ simulation_experiment_id: string;
8815
+ name: string;
8816
+ experiment_type: ExperimentType;
8817
+ time_per_step?: number;
8818
+ start_time_ms?: number;
8819
+ end_time_ms?: number;
8820
+ }
8821
+ declare const simulation_experiment: z.ZodObject<{
8822
+ type: z.ZodLiteral<"simulation_experiment">;
8823
+ simulation_experiment_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8824
+ name: z.ZodString;
8825
+ experiment_type: z.ZodUnion<[z.ZodLiteral<"spice_dc_sweep">, z.ZodLiteral<"spice_dc_operating_point">, z.ZodLiteral<"spice_transient_analysis">, z.ZodLiteral<"spice_ac_analysis">]>;
8826
+ time_per_step: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8827
+ start_time_ms: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8828
+ end_time_ms: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8829
+ }, "strip", z.ZodTypeAny, {
8830
+ type: "simulation_experiment";
8831
+ name: string;
8832
+ simulation_experiment_id: string;
8833
+ experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
8834
+ time_per_step?: number | undefined;
8835
+ start_time_ms?: number | undefined;
8836
+ end_time_ms?: number | undefined;
8837
+ }, {
8838
+ type: "simulation_experiment";
8839
+ name: string;
8840
+ experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
8841
+ simulation_experiment_id?: string | undefined;
8842
+ time_per_step?: string | number | undefined;
8843
+ start_time_ms?: string | number | undefined;
8844
+ end_time_ms?: string | number | undefined;
8845
+ }>;
8846
+ type SimulationExperimentInput = z.input<typeof simulation_experiment>;
8847
+
8848
+ interface SimulationTransientVoltageGraph {
8849
+ type: "simulation_transient_voltage_graph";
8850
+ simulation_transient_voltage_graph_id: string;
8851
+ simulation_experiment_id: string;
8852
+ timestamps_ms?: number[];
8853
+ voltage_levels: number[];
8854
+ schematic_voltage_probe_id?: string;
8855
+ simulation_voltage_probe_id?: string;
8856
+ subcircuit_connectivity_map_key?: string;
8857
+ time_per_step: number;
8858
+ start_time_ms: number;
8859
+ end_time_ms: number;
8860
+ name?: string;
8861
+ }
8862
+ declare const simulation_transient_voltage_graph: z.ZodObject<{
8863
+ type: z.ZodLiteral<"simulation_transient_voltage_graph">;
8864
+ simulation_transient_voltage_graph_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8865
+ simulation_experiment_id: z.ZodString;
8866
+ timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
8867
+ voltage_levels: z.ZodArray<z.ZodNumber, "many">;
8868
+ schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
8869
+ simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
8870
+ subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
8871
+ time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8872
+ start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8873
+ end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8874
+ name: z.ZodOptional<z.ZodString>;
8875
+ }, "strip", z.ZodTypeAny, {
8876
+ type: "simulation_transient_voltage_graph";
8877
+ simulation_experiment_id: string;
8878
+ time_per_step: number;
8879
+ start_time_ms: number;
8880
+ end_time_ms: number;
8881
+ simulation_transient_voltage_graph_id: string;
8882
+ voltage_levels: number[];
8883
+ name?: string | undefined;
8884
+ subcircuit_connectivity_map_key?: string | undefined;
8885
+ schematic_voltage_probe_id?: string | undefined;
8886
+ timestamps_ms?: number[] | undefined;
8887
+ simulation_voltage_probe_id?: string | undefined;
8888
+ }, {
8889
+ type: "simulation_transient_voltage_graph";
8890
+ simulation_experiment_id: string;
8891
+ time_per_step: string | number;
8892
+ start_time_ms: string | number;
8893
+ end_time_ms: string | number;
8894
+ voltage_levels: number[];
8895
+ name?: string | undefined;
8896
+ subcircuit_connectivity_map_key?: string | undefined;
8897
+ schematic_voltage_probe_id?: string | undefined;
8898
+ simulation_transient_voltage_graph_id?: string | undefined;
8899
+ timestamps_ms?: number[] | undefined;
8900
+ simulation_voltage_probe_id?: string | undefined;
8901
+ }>;
8902
+ type SimulationTransientVoltageGraphInput = z.input<typeof simulation_transient_voltage_graph>;
8903
+
8904
+ declare const simulation_switch: z.ZodObject<{
8905
+ type: z.ZodLiteral<"simulation_switch">;
8906
+ simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8907
+ source_component_id: z.ZodOptional<z.ZodString>;
8908
+ closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8909
+ opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8910
+ starts_closed: z.ZodOptional<z.ZodBoolean>;
8911
+ switching_frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8912
+ }, "strip", z.ZodTypeAny, {
8913
+ type: "simulation_switch";
8914
+ simulation_switch_id: string;
8915
+ source_component_id?: string | undefined;
8916
+ closes_at?: number | undefined;
8917
+ opens_at?: number | undefined;
8918
+ starts_closed?: boolean | undefined;
8919
+ switching_frequency?: number | undefined;
8920
+ }, {
8921
+ type: "simulation_switch";
8922
+ source_component_id?: string | undefined;
8923
+ simulation_switch_id?: string | undefined;
8924
+ closes_at?: string | number | undefined;
8925
+ opens_at?: string | number | undefined;
8926
+ starts_closed?: boolean | undefined;
8927
+ switching_frequency?: string | number | undefined;
8928
+ }>;
8929
+ type SimulationSwitchInput = z.input<typeof simulation_switch>;
8930
+ interface SimulationSwitch {
8931
+ type: "simulation_switch";
8932
+ simulation_switch_id: string;
8933
+ source_component_id?: string;
8934
+ closes_at?: number;
8935
+ opens_at?: number;
8936
+ starts_closed?: boolean;
8937
+ switching_frequency?: number;
8938
+ }
8939
+
8940
+ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
8941
+ type: z.ZodLiteral<"simulation_voltage_probe">;
8942
+ simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8943
+ source_port_id: z.ZodOptional<z.ZodString>;
8944
+ source_net_id: z.ZodOptional<z.ZodString>;
8945
+ name: z.ZodOptional<z.ZodString>;
8946
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8947
+ }, "strip", z.ZodTypeAny, {
8948
+ type: "simulation_voltage_probe";
8949
+ simulation_voltage_probe_id: string;
8950
+ name?: string | undefined;
8951
+ subcircuit_id?: string | undefined;
8952
+ source_port_id?: string | undefined;
8953
+ source_net_id?: string | undefined;
8954
+ }, {
8955
+ type: "simulation_voltage_probe";
8956
+ name?: string | undefined;
8957
+ subcircuit_id?: string | undefined;
8958
+ source_port_id?: string | undefined;
8959
+ source_net_id?: string | undefined;
8960
+ simulation_voltage_probe_id?: string | undefined;
8961
+ }>, {
8962
+ type: "simulation_voltage_probe";
8963
+ simulation_voltage_probe_id: string;
8964
+ name?: string | undefined;
8965
+ subcircuit_id?: string | undefined;
8966
+ source_port_id?: string | undefined;
8967
+ source_net_id?: string | undefined;
8968
+ }, {
8969
+ type: "simulation_voltage_probe";
8970
+ name?: string | undefined;
8971
+ subcircuit_id?: string | undefined;
8972
+ source_port_id?: string | undefined;
8973
+ source_net_id?: string | undefined;
8974
+ simulation_voltage_probe_id?: string | undefined;
8975
+ }>;
8976
+ type SimulationVoltageProbeInput = z.input<typeof simulation_voltage_probe>;
8977
+ /**
8978
+ * Defines a voltage probe for simulation, connected to a port or a net.
8979
+ */
8980
+ interface SimulationVoltageProbe {
8981
+ type: "simulation_voltage_probe";
8982
+ simulation_voltage_probe_id: string;
8983
+ source_port_id?: string;
8984
+ source_net_id?: string;
8985
+ name?: string;
8986
+ subcircuit_id?: string;
8987
+ }
8988
+
8989
+ declare const simulation_unknown_experiment_error: z.ZodObject<{
8990
+ type: z.ZodLiteral<"simulation_unknown_experiment_error">;
8991
+ simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8992
+ error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
8993
+ message: z.ZodString;
8994
+ simulation_experiment_id: z.ZodOptional<z.ZodString>;
8995
+ subcircuit_id: z.ZodOptional<z.ZodString>;
8996
+ }, "strip", z.ZodTypeAny, {
8997
+ message: string;
8998
+ type: "simulation_unknown_experiment_error";
8999
+ error_type: "simulation_unknown_experiment_error";
9000
+ simulation_unknown_experiment_error_id: string;
9001
+ subcircuit_id?: string | undefined;
9002
+ simulation_experiment_id?: string | undefined;
9003
+ }, {
9004
+ message: string;
9005
+ type: "simulation_unknown_experiment_error";
9006
+ subcircuit_id?: string | undefined;
9007
+ error_type?: "simulation_unknown_experiment_error" | undefined;
9008
+ simulation_experiment_id?: string | undefined;
9009
+ simulation_unknown_experiment_error_id?: string | undefined;
9010
+ }>;
9011
+ type SimulationUnknownExperimentErrorInput = z.input<typeof simulation_unknown_experiment_error>;
9012
+ /**
9013
+ * An unknown error occurred during the simulation experiment.
9014
+ */
9015
+ interface SimulationUnknownExperimentError {
9016
+ type: "simulation_unknown_experiment_error";
9017
+ simulation_unknown_experiment_error_id: string;
9018
+ error_type: "simulation_unknown_experiment_error";
9019
+ message: string;
9020
+ simulation_experiment_id?: string;
9021
+ subcircuit_id?: string;
9022
+ }
9023
+
9024
+ interface SourceComponentBase {
9025
+ type: "source_component";
9026
+ ftype?: string;
9027
+ source_component_id: string;
9028
+ name: string;
9029
+ manufacturer_part_number?: string;
9030
+ supplier_part_numbers?: Partial<Record<SupplierName, string[]>>;
9031
+ display_value?: string;
9032
+ are_pins_interchangeable?: boolean;
9033
+ internally_connected_source_port_ids?: string[][];
9034
+ source_group_id?: string;
9035
+ subcircuit_id?: string;
9036
+ }
9037
+ declare const source_component_base: z.ZodObject<{
8733
9038
  type: z.ZodLiteral<"source_component">;
9039
+ ftype: z.ZodOptional<z.ZodString>;
8734
9040
  source_component_id: z.ZodString;
8735
9041
  name: z.ZodString;
8736
9042
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
@@ -8740,50 +9046,33 @@ declare const source_simple_resistor: z.ZodObject<{
8740
9046
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8741
9047
  source_group_id: z.ZodOptional<z.ZodString>;
8742
9048
  subcircuit_id: z.ZodOptional<z.ZodString>;
8743
- } & {
8744
- ftype: z.ZodLiteral<"simple_resistor">;
8745
- resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8746
- display_resistance: z.ZodOptional<z.ZodString>;
8747
9049
  }, "strip", z.ZodTypeAny, {
8748
9050
  type: "source_component";
8749
9051
  name: string;
8750
9052
  source_component_id: string;
8751
- ftype: "simple_resistor";
8752
- resistance: number;
8753
9053
  subcircuit_id?: string | undefined;
8754
9054
  source_group_id?: string | undefined;
9055
+ ftype?: string | undefined;
8755
9056
  manufacturer_part_number?: string | undefined;
8756
9057
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8757
9058
  display_value?: string | undefined;
8758
9059
  are_pins_interchangeable?: boolean | undefined;
8759
9060
  internally_connected_source_port_ids?: string[][] | undefined;
8760
- display_resistance?: string | undefined;
8761
9061
  }, {
8762
9062
  type: "source_component";
8763
9063
  name: string;
8764
9064
  source_component_id: string;
8765
- ftype: "simple_resistor";
8766
- resistance: string | number;
8767
9065
  subcircuit_id?: string | undefined;
8768
9066
  source_group_id?: string | undefined;
9067
+ ftype?: string | undefined;
8769
9068
  manufacturer_part_number?: string | undefined;
8770
9069
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8771
9070
  display_value?: string | undefined;
8772
9071
  are_pins_interchangeable?: boolean | undefined;
8773
9072
  internally_connected_source_port_ids?: string[][] | undefined;
8774
- display_resistance?: string | undefined;
8775
9073
  }>;
8776
- type SourceSimpleResistorInput = z.input<typeof source_simple_resistor>;
8777
- /**
8778
- * Defines a simple resistor component
8779
- */
8780
- interface SourceSimpleResistor extends SourceComponentBase {
8781
- ftype: "simple_resistor";
8782
- resistance: number;
8783
- display_resistance?: string;
8784
- }
8785
9074
 
8786
- declare const source_simple_diode: z.ZodObject<{
9075
+ declare const source_simple_capacitor: z.ZodObject<{
8787
9076
  type: z.ZodLiteral<"source_component">;
8788
9077
  source_component_id: z.ZodString;
8789
9078
  name: z.ZodString;
@@ -8795,8 +9084,124 @@ declare const source_simple_diode: z.ZodObject<{
8795
9084
  source_group_id: z.ZodOptional<z.ZodString>;
8796
9085
  subcircuit_id: z.ZodOptional<z.ZodString>;
8797
9086
  } & {
8798
- ftype: z.ZodLiteral<"simple_diode">;
8799
- }, "strip", z.ZodTypeAny, {
9087
+ ftype: z.ZodLiteral<"simple_capacitor">;
9088
+ capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
9089
+ max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9090
+ display_capacitance: z.ZodOptional<z.ZodString>;
9091
+ max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9092
+ }, "strip", z.ZodTypeAny, {
9093
+ type: "source_component";
9094
+ name: string;
9095
+ source_component_id: string;
9096
+ ftype: "simple_capacitor";
9097
+ capacitance: number;
9098
+ subcircuit_id?: string | undefined;
9099
+ source_group_id?: string | undefined;
9100
+ manufacturer_part_number?: string | undefined;
9101
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9102
+ display_value?: string | undefined;
9103
+ are_pins_interchangeable?: boolean | undefined;
9104
+ internally_connected_source_port_ids?: string[][] | undefined;
9105
+ max_voltage_rating?: number | undefined;
9106
+ display_capacitance?: string | undefined;
9107
+ max_decoupling_trace_length?: number | undefined;
9108
+ }, {
9109
+ type: "source_component";
9110
+ name: string;
9111
+ source_component_id: string;
9112
+ ftype: "simple_capacitor";
9113
+ capacitance: string | number;
9114
+ subcircuit_id?: string | undefined;
9115
+ source_group_id?: string | undefined;
9116
+ manufacturer_part_number?: string | undefined;
9117
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9118
+ display_value?: string | undefined;
9119
+ are_pins_interchangeable?: boolean | undefined;
9120
+ internally_connected_source_port_ids?: string[][] | undefined;
9121
+ max_voltage_rating?: string | number | undefined;
9122
+ display_capacitance?: string | undefined;
9123
+ max_decoupling_trace_length?: string | number | undefined;
9124
+ }>;
9125
+ type SourceSimpleCapacitorInput = z.input<typeof source_simple_capacitor>;
9126
+ /**
9127
+ * Defines a simple capacitor component
9128
+ */
9129
+ interface SourceSimpleCapacitor extends SourceComponentBase {
9130
+ ftype: "simple_capacitor";
9131
+ capacitance: number;
9132
+ max_voltage_rating?: number;
9133
+ display_capacitance?: string;
9134
+ max_decoupling_trace_length?: number;
9135
+ }
9136
+
9137
+ declare const source_simple_resistor: z.ZodObject<{
9138
+ type: z.ZodLiteral<"source_component">;
9139
+ source_component_id: z.ZodString;
9140
+ name: z.ZodString;
9141
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
9142
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
9143
+ display_value: z.ZodOptional<z.ZodString>;
9144
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9145
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9146
+ source_group_id: z.ZodOptional<z.ZodString>;
9147
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9148
+ } & {
9149
+ ftype: z.ZodLiteral<"simple_resistor">;
9150
+ resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9151
+ display_resistance: z.ZodOptional<z.ZodString>;
9152
+ }, "strip", z.ZodTypeAny, {
9153
+ type: "source_component";
9154
+ name: string;
9155
+ source_component_id: string;
9156
+ ftype: "simple_resistor";
9157
+ resistance: number;
9158
+ subcircuit_id?: string | undefined;
9159
+ source_group_id?: string | undefined;
9160
+ manufacturer_part_number?: string | undefined;
9161
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9162
+ display_value?: string | undefined;
9163
+ are_pins_interchangeable?: boolean | undefined;
9164
+ internally_connected_source_port_ids?: string[][] | undefined;
9165
+ display_resistance?: string | undefined;
9166
+ }, {
9167
+ type: "source_component";
9168
+ name: string;
9169
+ source_component_id: string;
9170
+ ftype: "simple_resistor";
9171
+ resistance: string | number;
9172
+ subcircuit_id?: string | undefined;
9173
+ source_group_id?: string | undefined;
9174
+ manufacturer_part_number?: string | undefined;
9175
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9176
+ display_value?: string | undefined;
9177
+ are_pins_interchangeable?: boolean | undefined;
9178
+ internally_connected_source_port_ids?: string[][] | undefined;
9179
+ display_resistance?: string | undefined;
9180
+ }>;
9181
+ type SourceSimpleResistorInput = z.input<typeof source_simple_resistor>;
9182
+ /**
9183
+ * Defines a simple resistor component
9184
+ */
9185
+ interface SourceSimpleResistor extends SourceComponentBase {
9186
+ ftype: "simple_resistor";
9187
+ resistance: number;
9188
+ display_resistance?: string;
9189
+ }
9190
+
9191
+ declare const source_simple_diode: z.ZodObject<{
9192
+ type: z.ZodLiteral<"source_component">;
9193
+ source_component_id: z.ZodString;
9194
+ name: z.ZodString;
9195
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
9196
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
9197
+ display_value: z.ZodOptional<z.ZodString>;
9198
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9199
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9200
+ source_group_id: z.ZodOptional<z.ZodString>;
9201
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9202
+ } & {
9203
+ ftype: z.ZodLiteral<"simple_diode">;
9204
+ }, "strip", z.ZodTypeAny, {
8800
9205
  type: "source_component";
8801
9206
  name: string;
8802
9207
  source_component_id: string;
@@ -9247,8 +9652,8 @@ declare const source_simple_crystal: z.ZodObject<{
9247
9652
  type: "source_component";
9248
9653
  name: string;
9249
9654
  source_component_id: string;
9250
- ftype: "simple_crystal";
9251
9655
  frequency: number;
9656
+ ftype: "simple_crystal";
9252
9657
  subcircuit_id?: string | undefined;
9253
9658
  source_group_id?: string | undefined;
9254
9659
  manufacturer_part_number?: string | undefined;
@@ -9261,8 +9666,8 @@ declare const source_simple_crystal: z.ZodObject<{
9261
9666
  type: "source_component";
9262
9667
  name: string;
9263
9668
  source_component_id: string;
9264
- ftype: "simple_crystal";
9265
9669
  frequency: number;
9670
+ ftype: "simple_crystal";
9266
9671
  subcircuit_id?: string | undefined;
9267
9672
  source_group_id?: string | undefined;
9268
9673
  manufacturer_part_number?: string | undefined;
@@ -9399,8 +9804,8 @@ declare const source_simple_resonator: z.ZodObject<{
9399
9804
  type: "source_component";
9400
9805
  name: string;
9401
9806
  source_component_id: string;
9402
- ftype: "simple_resonator";
9403
9807
  frequency: number;
9808
+ ftype: "simple_resonator";
9404
9809
  load_capacitance: number;
9405
9810
  subcircuit_id?: string | undefined;
9406
9811
  source_group_id?: string | undefined;
@@ -9414,8 +9819,8 @@ declare const source_simple_resonator: z.ZodObject<{
9414
9819
  type: "source_component";
9415
9820
  name: string;
9416
9821
  source_component_id: string;
9417
- ftype: "simple_resonator";
9418
9822
  frequency: string | number;
9823
+ ftype: "simple_resonator";
9419
9824
  load_capacitance: string | number;
9420
9825
  subcircuit_id?: string | undefined;
9421
9826
  source_group_id?: string | undefined;
@@ -10404,8 +10809,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
10404
10809
  type: "source_component";
10405
10810
  name: string;
10406
10811
  source_component_id: string;
10407
- ftype: "simple_crystal";
10408
10812
  frequency: number;
10813
+ ftype: "simple_crystal";
10409
10814
  subcircuit_id?: string | undefined;
10410
10815
  source_group_id?: string | undefined;
10411
10816
  manufacturer_part_number?: string | undefined;
@@ -10418,8 +10823,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
10418
10823
  type: "source_component";
10419
10824
  name: string;
10420
10825
  source_component_id: string;
10421
- ftype: "simple_crystal";
10422
10826
  frequency: number;
10827
+ ftype: "simple_crystal";
10423
10828
  subcircuit_id?: string | undefined;
10424
10829
  source_group_id?: string | undefined;
10425
10830
  manufacturer_part_number?: string | undefined;
@@ -10528,8 +10933,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
10528
10933
  type: "source_component";
10529
10934
  name: string;
10530
10935
  source_component_id: string;
10531
- ftype: "simple_resonator";
10532
10936
  frequency: number;
10937
+ ftype: "simple_resonator";
10533
10938
  load_capacitance: number;
10534
10939
  subcircuit_id?: string | undefined;
10535
10940
  source_group_id?: string | undefined;
@@ -10543,8 +10948,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
10543
10948
  type: "source_component";
10544
10949
  name: string;
10545
10950
  source_component_id: string;
10546
- ftype: "simple_resonator";
10547
10951
  frequency: string | number;
10952
+ ftype: "simple_resonator";
10548
10953
  load_capacitance: string | number;
10549
10954
  subcircuit_id?: string | undefined;
10550
10955
  source_group_id?: string | undefined;
@@ -11270,527 +11675,169 @@ type UnknownErrorFindingPartInput = z.input<typeof unknown_error_finding_part>;
11270
11675
  * This includes cases where the API returns HTML instead of JSON,
11271
11676
  * network failures, or other unexpected responses.
11272
11677
  */
11273
- interface UnknownErrorFindingPart {
11274
- type: "unknown_error_finding_part";
11275
- unknown_error_finding_part_id: string;
11276
- error_type: "unknown_error_finding_part";
11277
- message: string;
11278
- source_component_id?: string;
11279
- subcircuit_id?: string;
11280
- }
11281
-
11282
- type CircuitJsonError = PcbTraceError | PcbPlacementError | PcbPortNotMatchedError | PcbAutoroutingError | PcbFootprintOverlapError | PcbMissingFootprintError | PcbComponentOutsideBoardError | SchematicError | UnknownErrorFindingPart;
11283
-
11284
- declare const cad_component: z.ZodObject<{
11285
- type: z.ZodLiteral<"cad_component">;
11286
- cad_component_id: z.ZodString;
11287
- pcb_component_id: z.ZodString;
11288
- source_component_id: z.ZodString;
11289
- position: z.ZodObject<{
11290
- x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11291
- y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11292
- z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11293
- }, "strip", z.ZodTypeAny, {
11294
- x: number;
11295
- y: number;
11296
- z: number;
11297
- }, {
11298
- x: string | number;
11299
- y: string | number;
11300
- z: string | number;
11301
- }>;
11302
- rotation: z.ZodOptional<z.ZodObject<{
11303
- x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11304
- y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11305
- z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11306
- }, "strip", z.ZodTypeAny, {
11307
- x: number;
11308
- y: number;
11309
- z: number;
11310
- }, {
11311
- x: string | number;
11312
- y: string | number;
11313
- z: string | number;
11314
- }>>;
11315
- size: z.ZodOptional<z.ZodObject<{
11316
- x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11317
- y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11318
- z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11319
- }, "strip", z.ZodTypeAny, {
11320
- x: number;
11321
- y: number;
11322
- z: number;
11323
- }, {
11324
- x: string | number;
11325
- y: string | number;
11326
- z: string | number;
11327
- }>>;
11328
- layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
11329
- name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
11330
- }, "strip", z.ZodTypeAny, {
11331
- name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11332
- }, {
11333
- name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11334
- }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11335
- name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11336
- }>>;
11337
- subcircuit_id: z.ZodOptional<z.ZodString>;
11338
- footprinter_string: z.ZodOptional<z.ZodString>;
11339
- model_obj_url: z.ZodOptional<z.ZodString>;
11340
- model_stl_url: z.ZodOptional<z.ZodString>;
11341
- model_3mf_url: z.ZodOptional<z.ZodString>;
11342
- model_gltf_url: z.ZodOptional<z.ZodString>;
11343
- model_glb_url: z.ZodOptional<z.ZodString>;
11344
- model_step_url: z.ZodOptional<z.ZodString>;
11345
- model_wrl_url: z.ZodOptional<z.ZodString>;
11346
- model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
11347
- model_jscad: z.ZodOptional<z.ZodAny>;
11348
- }, "strip", z.ZodTypeAny, {
11349
- type: "cad_component";
11350
- pcb_component_id: string;
11351
- source_component_id: string;
11352
- position: {
11353
- x: number;
11354
- y: number;
11355
- z: number;
11356
- };
11357
- cad_component_id: string;
11358
- layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
11359
- rotation?: {
11360
- x: number;
11361
- y: number;
11362
- z: number;
11363
- } | undefined;
11364
- subcircuit_id?: string | undefined;
11365
- footprinter_string?: string | undefined;
11366
- size?: {
11367
- x: number;
11368
- y: number;
11369
- z: number;
11370
- } | undefined;
11371
- model_obj_url?: string | undefined;
11372
- model_stl_url?: string | undefined;
11373
- model_3mf_url?: string | undefined;
11374
- model_gltf_url?: string | undefined;
11375
- model_glb_url?: string | undefined;
11376
- model_step_url?: string | undefined;
11377
- model_wrl_url?: string | undefined;
11378
- model_unit_to_mm_scale_factor?: number | undefined;
11379
- model_jscad?: any;
11380
- }, {
11381
- type: "cad_component";
11382
- pcb_component_id: string;
11383
- source_component_id: string;
11384
- position: {
11385
- x: string | number;
11386
- y: string | number;
11387
- z: string | number;
11388
- };
11389
- cad_component_id: string;
11390
- layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11391
- name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11392
- } | undefined;
11393
- rotation?: {
11394
- x: string | number;
11395
- y: string | number;
11396
- z: string | number;
11397
- } | undefined;
11398
- subcircuit_id?: string | undefined;
11399
- footprinter_string?: string | undefined;
11400
- size?: {
11401
- x: string | number;
11402
- y: string | number;
11403
- z: string | number;
11404
- } | undefined;
11405
- model_obj_url?: string | undefined;
11406
- model_stl_url?: string | undefined;
11407
- model_3mf_url?: string | undefined;
11408
- model_gltf_url?: string | undefined;
11409
- model_glb_url?: string | undefined;
11410
- model_step_url?: string | undefined;
11411
- model_wrl_url?: string | undefined;
11412
- model_unit_to_mm_scale_factor?: number | undefined;
11413
- model_jscad?: any;
11414
- }>;
11415
- type CadComponentInput = z.input<typeof cad_component>;
11416
- interface CadComponent {
11417
- type: "cad_component";
11418
- cad_component_id: string;
11419
- pcb_component_id: string;
11420
- source_component_id: string;
11421
- position: Point3;
11422
- rotation?: Point3;
11423
- size?: Point3;
11424
- layer?: LayerRef;
11425
- subcircuit_id?: string;
11426
- footprinter_string?: string;
11427
- model_obj_url?: string;
11428
- model_stl_url?: string;
11429
- model_3mf_url?: string;
11430
- model_gltf_url?: string;
11431
- model_glb_url?: string;
11432
- model_step_url?: string;
11433
- model_wrl_url?: string;
11434
- model_unit_to_mm_scale_factor?: number;
11435
- model_jscad?: any;
11436
- }
11437
-
11438
- declare const wave_shape: z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>;
11439
- type WaveShape = z.infer<typeof wave_shape>;
11440
- declare const simulation_dc_voltage_source: z.ZodObject<{
11441
- type: z.ZodLiteral<"simulation_voltage_source">;
11442
- simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11443
- is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
11444
- positive_source_port_id: z.ZodOptional<z.ZodString>;
11445
- negative_source_port_id: z.ZodOptional<z.ZodString>;
11446
- positive_source_net_id: z.ZodOptional<z.ZodString>;
11447
- negative_source_net_id: z.ZodOptional<z.ZodString>;
11448
- voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11449
- }, "strip", z.ZodTypeAny, {
11450
- type: "simulation_voltage_source";
11451
- voltage: number;
11452
- simulation_voltage_source_id: string;
11453
- is_dc_source: true;
11454
- positive_source_port_id?: string | undefined;
11455
- negative_source_port_id?: string | undefined;
11456
- positive_source_net_id?: string | undefined;
11457
- negative_source_net_id?: string | undefined;
11458
- }, {
11459
- type: "simulation_voltage_source";
11460
- voltage: string | number;
11461
- simulation_voltage_source_id?: string | undefined;
11462
- is_dc_source?: true | undefined;
11463
- positive_source_port_id?: string | undefined;
11464
- negative_source_port_id?: string | undefined;
11465
- positive_source_net_id?: string | undefined;
11466
- negative_source_net_id?: string | undefined;
11467
- }>;
11468
- declare const simulation_ac_voltage_source: z.ZodObject<{
11469
- type: z.ZodLiteral<"simulation_voltage_source">;
11470
- simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11471
- is_dc_source: z.ZodLiteral<false>;
11472
- terminal1_source_port_id: z.ZodOptional<z.ZodString>;
11473
- terminal2_source_port_id: z.ZodOptional<z.ZodString>;
11474
- terminal1_source_net_id: z.ZodOptional<z.ZodString>;
11475
- terminal2_source_net_id: z.ZodOptional<z.ZodString>;
11476
- voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11477
- frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11478
- peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11479
- wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
11480
- phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11481
- duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
11482
- }, "strip", z.ZodTypeAny, {
11483
- type: "simulation_voltage_source";
11484
- simulation_voltage_source_id: string;
11485
- is_dc_source: false;
11486
- voltage?: number | undefined;
11487
- frequency?: number | undefined;
11488
- terminal1_source_port_id?: string | undefined;
11489
- terminal2_source_port_id?: string | undefined;
11490
- terminal1_source_net_id?: string | undefined;
11491
- terminal2_source_net_id?: string | undefined;
11492
- peak_to_peak_voltage?: number | undefined;
11493
- wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
11494
- phase?: number | undefined;
11495
- duty_cycle?: number | undefined;
11496
- }, {
11497
- type: "simulation_voltage_source";
11498
- is_dc_source: false;
11499
- voltage?: string | number | undefined;
11500
- frequency?: string | number | undefined;
11501
- simulation_voltage_source_id?: string | undefined;
11502
- terminal1_source_port_id?: string | undefined;
11503
- terminal2_source_port_id?: string | undefined;
11504
- terminal1_source_net_id?: string | undefined;
11505
- terminal2_source_net_id?: string | undefined;
11506
- peak_to_peak_voltage?: string | number | undefined;
11507
- wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
11508
- phase?: string | number | undefined;
11509
- duty_cycle?: string | number | undefined;
11510
- }>;
11511
- type SimulationAcVoltageSourceInput = z.input<typeof simulation_ac_voltage_source>;
11512
- declare const simulation_voltage_source: z.ZodUnion<[z.ZodObject<{
11513
- type: z.ZodLiteral<"simulation_voltage_source">;
11514
- simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11515
- is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
11516
- positive_source_port_id: z.ZodOptional<z.ZodString>;
11517
- negative_source_port_id: z.ZodOptional<z.ZodString>;
11518
- positive_source_net_id: z.ZodOptional<z.ZodString>;
11519
- negative_source_net_id: z.ZodOptional<z.ZodString>;
11520
- voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11521
- }, "strip", z.ZodTypeAny, {
11522
- type: "simulation_voltage_source";
11523
- voltage: number;
11524
- simulation_voltage_source_id: string;
11525
- is_dc_source: true;
11526
- positive_source_port_id?: string | undefined;
11527
- negative_source_port_id?: string | undefined;
11528
- positive_source_net_id?: string | undefined;
11529
- negative_source_net_id?: string | undefined;
11530
- }, {
11531
- type: "simulation_voltage_source";
11532
- voltage: string | number;
11533
- simulation_voltage_source_id?: string | undefined;
11534
- is_dc_source?: true | undefined;
11535
- positive_source_port_id?: string | undefined;
11536
- negative_source_port_id?: string | undefined;
11537
- positive_source_net_id?: string | undefined;
11538
- negative_source_net_id?: string | undefined;
11539
- }>, z.ZodObject<{
11540
- type: z.ZodLiteral<"simulation_voltage_source">;
11541
- simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11542
- is_dc_source: z.ZodLiteral<false>;
11543
- terminal1_source_port_id: z.ZodOptional<z.ZodString>;
11544
- terminal2_source_port_id: z.ZodOptional<z.ZodString>;
11545
- terminal1_source_net_id: z.ZodOptional<z.ZodString>;
11546
- terminal2_source_net_id: z.ZodOptional<z.ZodString>;
11547
- voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11548
- frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11549
- peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11550
- wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
11551
- phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11552
- duty_cycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
11553
- }, "strip", z.ZodTypeAny, {
11554
- type: "simulation_voltage_source";
11555
- simulation_voltage_source_id: string;
11556
- is_dc_source: false;
11557
- voltage?: number | undefined;
11558
- frequency?: number | undefined;
11559
- terminal1_source_port_id?: string | undefined;
11560
- terminal2_source_port_id?: string | undefined;
11561
- terminal1_source_net_id?: string | undefined;
11562
- terminal2_source_net_id?: string | undefined;
11563
- peak_to_peak_voltage?: number | undefined;
11564
- wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
11565
- phase?: number | undefined;
11566
- duty_cycle?: number | undefined;
11567
- }, {
11568
- type: "simulation_voltage_source";
11569
- is_dc_source: false;
11570
- voltage?: string | number | undefined;
11571
- frequency?: string | number | undefined;
11572
- simulation_voltage_source_id?: string | undefined;
11573
- terminal1_source_port_id?: string | undefined;
11574
- terminal2_source_port_id?: string | undefined;
11575
- terminal1_source_net_id?: string | undefined;
11576
- terminal2_source_net_id?: string | undefined;
11577
- peak_to_peak_voltage?: string | number | undefined;
11578
- wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
11579
- phase?: string | number | undefined;
11580
- duty_cycle?: string | number | undefined;
11581
- }>]>;
11582
- type SimulationVoltageSourceInput = z.input<typeof simulation_voltage_source>;
11583
- /**
11584
- * Defines a DC voltage source for simulation purposes. It applies a voltage
11585
- * difference between two source ports.
11586
- */
11587
- interface SimulationDcVoltageSource {
11588
- type: "simulation_voltage_source";
11589
- simulation_voltage_source_id: string;
11590
- is_dc_source: true;
11591
- positive_source_port_id?: string;
11592
- positive_source_net_id?: string;
11593
- negative_source_port_id?: string;
11594
- negative_source_net_id?: string;
11595
- voltage: number;
11596
- }
11597
- /**
11598
- * Defines an AC voltage source for simulation purposes.
11599
- */
11600
- interface SimulationAcVoltageSource {
11601
- type: "simulation_voltage_source";
11602
- simulation_voltage_source_id: string;
11603
- is_dc_source: false;
11604
- terminal1_source_port_id?: string;
11605
- terminal2_source_port_id?: string;
11606
- terminal1_source_net_id?: string;
11607
- terminal2_source_net_id?: string;
11608
- voltage?: number;
11609
- frequency?: number;
11610
- peak_to_peak_voltage?: number;
11611
- wave_shape?: WaveShape;
11612
- phase?: number;
11613
- duty_cycle?: number;
11614
- }
11615
- type SimulationVoltageSource = SimulationDcVoltageSource | SimulationAcVoltageSource;
11616
-
11617
- declare const experiment_type: z.ZodUnion<[z.ZodLiteral<"spice_dc_sweep">, z.ZodLiteral<"spice_dc_operating_point">, z.ZodLiteral<"spice_transient_analysis">, z.ZodLiteral<"spice_ac_analysis">]>;
11618
- type ExperimentType = z.infer<typeof experiment_type>;
11619
- interface SimulationExperiment {
11620
- type: "simulation_experiment";
11621
- simulation_experiment_id: string;
11622
- name: string;
11623
- experiment_type: ExperimentType;
11624
- time_per_step?: number;
11625
- start_time_ms?: number;
11626
- end_time_ms?: number;
11627
- }
11628
- declare const simulation_experiment: z.ZodObject<{
11629
- type: z.ZodLiteral<"simulation_experiment">;
11630
- simulation_experiment_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11631
- name: z.ZodString;
11632
- experiment_type: z.ZodUnion<[z.ZodLiteral<"spice_dc_sweep">, z.ZodLiteral<"spice_dc_operating_point">, z.ZodLiteral<"spice_transient_analysis">, z.ZodLiteral<"spice_ac_analysis">]>;
11633
- time_per_step: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11634
- start_time_ms: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11635
- end_time_ms: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11636
- }, "strip", z.ZodTypeAny, {
11637
- type: "simulation_experiment";
11638
- name: string;
11639
- simulation_experiment_id: string;
11640
- experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
11641
- time_per_step?: number | undefined;
11642
- start_time_ms?: number | undefined;
11643
- end_time_ms?: number | undefined;
11644
- }, {
11645
- type: "simulation_experiment";
11646
- name: string;
11647
- experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
11648
- simulation_experiment_id?: string | undefined;
11649
- time_per_step?: string | number | undefined;
11650
- start_time_ms?: string | number | undefined;
11651
- end_time_ms?: string | number | undefined;
11652
- }>;
11653
- type SimulationExperimentInput = z.input<typeof simulation_experiment>;
11654
-
11655
- interface SimulationTransientVoltageGraph {
11656
- type: "simulation_transient_voltage_graph";
11657
- simulation_transient_voltage_graph_id: string;
11658
- simulation_experiment_id: string;
11659
- timestamps_ms?: number[];
11660
- voltage_levels: number[];
11661
- schematic_voltage_probe_id?: string;
11662
- simulation_voltage_probe_id?: string;
11663
- subcircuit_connectivity_map_key?: string;
11664
- time_per_step: number;
11665
- start_time_ms: number;
11666
- end_time_ms: number;
11667
- name?: string;
11668
- }
11669
- declare const simulation_transient_voltage_graph: z.ZodObject<{
11670
- type: z.ZodLiteral<"simulation_transient_voltage_graph">;
11671
- simulation_transient_voltage_graph_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11672
- simulation_experiment_id: z.ZodString;
11673
- timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
11674
- voltage_levels: z.ZodArray<z.ZodNumber, "many">;
11675
- schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
11676
- simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
11677
- subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
11678
- time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11679
- start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11680
- end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11681
- name: z.ZodOptional<z.ZodString>;
11682
- }, "strip", z.ZodTypeAny, {
11683
- type: "simulation_transient_voltage_graph";
11684
- simulation_experiment_id: string;
11685
- time_per_step: number;
11686
- start_time_ms: number;
11687
- end_time_ms: number;
11688
- simulation_transient_voltage_graph_id: string;
11689
- voltage_levels: number[];
11690
- name?: string | undefined;
11691
- subcircuit_connectivity_map_key?: string | undefined;
11692
- schematic_voltage_probe_id?: string | undefined;
11693
- timestamps_ms?: number[] | undefined;
11694
- simulation_voltage_probe_id?: string | undefined;
11695
- }, {
11696
- type: "simulation_transient_voltage_graph";
11697
- simulation_experiment_id: string;
11698
- time_per_step: string | number;
11699
- start_time_ms: string | number;
11700
- end_time_ms: string | number;
11701
- voltage_levels: number[];
11702
- name?: string | undefined;
11703
- subcircuit_connectivity_map_key?: string | undefined;
11704
- schematic_voltage_probe_id?: string | undefined;
11705
- simulation_transient_voltage_graph_id?: string | undefined;
11706
- timestamps_ms?: number[] | undefined;
11707
- simulation_voltage_probe_id?: string | undefined;
11708
- }>;
11709
- type SimulationTransientVoltageGraphInput = z.input<typeof simulation_transient_voltage_graph>;
11710
-
11711
- declare const simulation_switch: z.ZodObject<{
11712
- type: z.ZodLiteral<"simulation_switch">;
11713
- simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11714
- source_component_id: z.ZodOptional<z.ZodString>;
11715
- closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11716
- opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11717
- starts_closed: z.ZodOptional<z.ZodBoolean>;
11718
- switching_frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11719
- }, "strip", z.ZodTypeAny, {
11720
- type: "simulation_switch";
11721
- simulation_switch_id: string;
11722
- source_component_id?: string | undefined;
11723
- closes_at?: number | undefined;
11724
- opens_at?: number | undefined;
11725
- starts_closed?: boolean | undefined;
11726
- switching_frequency?: number | undefined;
11727
- }, {
11728
- type: "simulation_switch";
11729
- source_component_id?: string | undefined;
11730
- simulation_switch_id?: string | undefined;
11731
- closes_at?: string | number | undefined;
11732
- opens_at?: string | number | undefined;
11733
- starts_closed?: boolean | undefined;
11734
- switching_frequency?: string | number | undefined;
11735
- }>;
11736
- type SimulationSwitchInput = z.input<typeof simulation_switch>;
11737
- interface SimulationSwitch {
11738
- type: "simulation_switch";
11739
- simulation_switch_id: string;
11678
+ interface UnknownErrorFindingPart {
11679
+ type: "unknown_error_finding_part";
11680
+ unknown_error_finding_part_id: string;
11681
+ error_type: "unknown_error_finding_part";
11682
+ message: string;
11740
11683
  source_component_id?: string;
11741
- closes_at?: number;
11742
- opens_at?: number;
11743
- starts_closed?: boolean;
11744
- switching_frequency?: number;
11684
+ subcircuit_id?: string;
11745
11685
  }
11746
11686
 
11747
- declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
11748
- type: z.ZodLiteral<"simulation_voltage_probe">;
11749
- simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
11750
- source_port_id: z.ZodOptional<z.ZodString>;
11751
- source_net_id: z.ZodOptional<z.ZodString>;
11752
- name: z.ZodOptional<z.ZodString>;
11687
+ type CircuitJsonError = PcbTraceError | PcbPlacementError | PcbPortNotMatchedError | PcbAutoroutingError | PcbFootprintOverlapError | PcbMissingFootprintError | PcbComponentOutsideBoardError | SchematicError | UnknownErrorFindingPart | SimulationUnknownExperimentError;
11688
+
11689
+ declare const cad_component: z.ZodObject<{
11690
+ type: z.ZodLiteral<"cad_component">;
11691
+ cad_component_id: z.ZodString;
11692
+ pcb_component_id: z.ZodString;
11693
+ source_component_id: z.ZodString;
11694
+ position: z.ZodObject<{
11695
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11696
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11697
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11698
+ }, "strip", z.ZodTypeAny, {
11699
+ x: number;
11700
+ y: number;
11701
+ z: number;
11702
+ }, {
11703
+ x: string | number;
11704
+ y: string | number;
11705
+ z: string | number;
11706
+ }>;
11707
+ rotation: z.ZodOptional<z.ZodObject<{
11708
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11709
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11710
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11711
+ }, "strip", z.ZodTypeAny, {
11712
+ x: number;
11713
+ y: number;
11714
+ z: number;
11715
+ }, {
11716
+ x: string | number;
11717
+ y: string | number;
11718
+ z: string | number;
11719
+ }>>;
11720
+ size: z.ZodOptional<z.ZodObject<{
11721
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11722
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11723
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11724
+ }, "strip", z.ZodTypeAny, {
11725
+ x: number;
11726
+ y: number;
11727
+ z: number;
11728
+ }, {
11729
+ x: string | number;
11730
+ y: string | number;
11731
+ z: string | number;
11732
+ }>>;
11733
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
11734
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
11735
+ }, "strip", z.ZodTypeAny, {
11736
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11737
+ }, {
11738
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11739
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11740
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11741
+ }>>;
11753
11742
  subcircuit_id: z.ZodOptional<z.ZodString>;
11743
+ footprinter_string: z.ZodOptional<z.ZodString>;
11744
+ model_obj_url: z.ZodOptional<z.ZodString>;
11745
+ model_stl_url: z.ZodOptional<z.ZodString>;
11746
+ model_3mf_url: z.ZodOptional<z.ZodString>;
11747
+ model_gltf_url: z.ZodOptional<z.ZodString>;
11748
+ model_glb_url: z.ZodOptional<z.ZodString>;
11749
+ model_step_url: z.ZodOptional<z.ZodString>;
11750
+ model_wrl_url: z.ZodOptional<z.ZodString>;
11751
+ model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
11752
+ model_jscad: z.ZodOptional<z.ZodAny>;
11754
11753
  }, "strip", z.ZodTypeAny, {
11755
- type: "simulation_voltage_probe";
11756
- simulation_voltage_probe_id: string;
11757
- name?: string | undefined;
11758
- subcircuit_id?: string | undefined;
11759
- source_port_id?: string | undefined;
11760
- source_net_id?: string | undefined;
11761
- }, {
11762
- type: "simulation_voltage_probe";
11763
- name?: string | undefined;
11764
- subcircuit_id?: string | undefined;
11765
- source_port_id?: string | undefined;
11766
- source_net_id?: string | undefined;
11767
- simulation_voltage_probe_id?: string | undefined;
11768
- }>, {
11769
- type: "simulation_voltage_probe";
11770
- simulation_voltage_probe_id: string;
11771
- name?: string | undefined;
11754
+ type: "cad_component";
11755
+ pcb_component_id: string;
11756
+ source_component_id: string;
11757
+ position: {
11758
+ x: number;
11759
+ y: number;
11760
+ z: number;
11761
+ };
11762
+ cad_component_id: string;
11763
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
11764
+ rotation?: {
11765
+ x: number;
11766
+ y: number;
11767
+ z: number;
11768
+ } | undefined;
11772
11769
  subcircuit_id?: string | undefined;
11773
- source_port_id?: string | undefined;
11774
- source_net_id?: string | undefined;
11770
+ footprinter_string?: string | undefined;
11771
+ size?: {
11772
+ x: number;
11773
+ y: number;
11774
+ z: number;
11775
+ } | undefined;
11776
+ model_obj_url?: string | undefined;
11777
+ model_stl_url?: string | undefined;
11778
+ model_3mf_url?: string | undefined;
11779
+ model_gltf_url?: string | undefined;
11780
+ model_glb_url?: string | undefined;
11781
+ model_step_url?: string | undefined;
11782
+ model_wrl_url?: string | undefined;
11783
+ model_unit_to_mm_scale_factor?: number | undefined;
11784
+ model_jscad?: any;
11775
11785
  }, {
11776
- type: "simulation_voltage_probe";
11777
- name?: string | undefined;
11786
+ type: "cad_component";
11787
+ pcb_component_id: string;
11788
+ source_component_id: string;
11789
+ position: {
11790
+ x: string | number;
11791
+ y: string | number;
11792
+ z: string | number;
11793
+ };
11794
+ cad_component_id: string;
11795
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
11796
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
11797
+ } | undefined;
11798
+ rotation?: {
11799
+ x: string | number;
11800
+ y: string | number;
11801
+ z: string | number;
11802
+ } | undefined;
11778
11803
  subcircuit_id?: string | undefined;
11779
- source_port_id?: string | undefined;
11780
- source_net_id?: string | undefined;
11781
- simulation_voltage_probe_id?: string | undefined;
11804
+ footprinter_string?: string | undefined;
11805
+ size?: {
11806
+ x: string | number;
11807
+ y: string | number;
11808
+ z: string | number;
11809
+ } | undefined;
11810
+ model_obj_url?: string | undefined;
11811
+ model_stl_url?: string | undefined;
11812
+ model_3mf_url?: string | undefined;
11813
+ model_gltf_url?: string | undefined;
11814
+ model_glb_url?: string | undefined;
11815
+ model_step_url?: string | undefined;
11816
+ model_wrl_url?: string | undefined;
11817
+ model_unit_to_mm_scale_factor?: number | undefined;
11818
+ model_jscad?: any;
11782
11819
  }>;
11783
- type SimulationVoltageProbeInput = z.input<typeof simulation_voltage_probe>;
11784
- /**
11785
- * Defines a voltage probe for simulation, connected to a port or a net.
11786
- */
11787
- interface SimulationVoltageProbe {
11788
- type: "simulation_voltage_probe";
11789
- simulation_voltage_probe_id: string;
11790
- source_port_id?: string;
11791
- source_net_id?: string;
11792
- name?: string;
11820
+ type CadComponentInput = z.input<typeof cad_component>;
11821
+ interface CadComponent {
11822
+ type: "cad_component";
11823
+ cad_component_id: string;
11824
+ pcb_component_id: string;
11825
+ source_component_id: string;
11826
+ position: Point3;
11827
+ rotation?: Point3;
11828
+ size?: Point3;
11829
+ layer?: LayerRef;
11793
11830
  subcircuit_id?: string;
11831
+ footprinter_string?: string;
11832
+ model_obj_url?: string;
11833
+ model_stl_url?: string;
11834
+ model_3mf_url?: string;
11835
+ model_gltf_url?: string;
11836
+ model_glb_url?: string;
11837
+ model_step_url?: string;
11838
+ model_wrl_url?: string;
11839
+ model_unit_to_mm_scale_factor?: number;
11840
+ model_jscad?: any;
11794
11841
  }
11795
11842
 
11796
11843
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
@@ -12318,8 +12365,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12318
12365
  type: "source_component";
12319
12366
  name: string;
12320
12367
  source_component_id: string;
12321
- ftype: "simple_crystal";
12322
12368
  frequency: number;
12369
+ ftype: "simple_crystal";
12323
12370
  subcircuit_id?: string | undefined;
12324
12371
  source_group_id?: string | undefined;
12325
12372
  manufacturer_part_number?: string | undefined;
@@ -12332,8 +12379,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12332
12379
  type: "source_component";
12333
12380
  name: string;
12334
12381
  source_component_id: string;
12335
- ftype: "simple_crystal";
12336
12382
  frequency: number;
12383
+ ftype: "simple_crystal";
12337
12384
  subcircuit_id?: string | undefined;
12338
12385
  source_group_id?: string | undefined;
12339
12386
  manufacturer_part_number?: string | undefined;
@@ -12442,8 +12489,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12442
12489
  type: "source_component";
12443
12490
  name: string;
12444
12491
  source_component_id: string;
12445
- ftype: "simple_resonator";
12446
12492
  frequency: number;
12493
+ ftype: "simple_resonator";
12447
12494
  load_capacitance: number;
12448
12495
  subcircuit_id?: string | undefined;
12449
12496
  source_group_id?: string | undefined;
@@ -12457,8 +12504,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
12457
12504
  type: "source_component";
12458
12505
  name: string;
12459
12506
  source_component_id: string;
12460
- ftype: "simple_resonator";
12461
12507
  frequency: string | number;
12508
+ ftype: "simple_resonator";
12462
12509
  load_capacitance: string | number;
12463
12510
  subcircuit_id?: string | undefined;
12464
12511
  source_group_id?: string | undefined;
@@ -13367,8 +13414,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13367
13414
  type: "source_component";
13368
13415
  name: string;
13369
13416
  source_component_id: string;
13370
- ftype: "simple_resonator";
13371
13417
  frequency: number;
13418
+ ftype: "simple_resonator";
13372
13419
  load_capacitance: number;
13373
13420
  subcircuit_id?: string | undefined;
13374
13421
  source_group_id?: string | undefined;
@@ -13382,8 +13429,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13382
13429
  type: "source_component";
13383
13430
  name: string;
13384
13431
  source_component_id: string;
13385
- ftype: "simple_resonator";
13386
13432
  frequency: string | number;
13433
+ ftype: "simple_resonator";
13387
13434
  load_capacitance: string | number;
13388
13435
  subcircuit_id?: string | undefined;
13389
13436
  source_group_id?: string | undefined;
@@ -16000,6 +16047,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16000
16047
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16001
16048
  }>;
16002
16049
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16050
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16003
16051
  is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
16004
16052
  has_stroke: z.ZodOptional<z.ZodBoolean>;
16005
16053
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -16017,6 +16065,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16017
16065
  pcb_silkscreen_rect_id: string;
16018
16066
  subcircuit_id?: string | undefined;
16019
16067
  pcb_group_id?: string | undefined;
16068
+ corner_radius?: number | undefined;
16020
16069
  is_filled?: boolean | undefined;
16021
16070
  has_stroke?: boolean | undefined;
16022
16071
  is_stroke_dashed?: boolean | undefined;
@@ -16034,6 +16083,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16034
16083
  };
16035
16084
  subcircuit_id?: string | undefined;
16036
16085
  pcb_group_id?: string | undefined;
16086
+ corner_radius?: string | number | undefined;
16037
16087
  stroke_width?: string | number | undefined;
16038
16088
  pcb_silkscreen_rect_id?: string | undefined;
16039
16089
  is_filled?: boolean | undefined;
@@ -16456,6 +16506,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16456
16506
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16457
16507
  layer: z.ZodEnum<["top", "bottom"]>;
16458
16508
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16509
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16459
16510
  is_filled: z.ZodOptional<z.ZodBoolean>;
16460
16511
  has_stroke: z.ZodOptional<z.ZodBoolean>;
16461
16512
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -16474,6 +16525,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16474
16525
  pcb_fabrication_note_rect_id: string;
16475
16526
  subcircuit_id?: string | undefined;
16476
16527
  pcb_group_id?: string | undefined;
16528
+ corner_radius?: number | undefined;
16477
16529
  is_filled?: boolean | undefined;
16478
16530
  has_stroke?: boolean | undefined;
16479
16531
  is_stroke_dashed?: boolean | undefined;
@@ -16490,6 +16542,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16490
16542
  layer: "top" | "bottom";
16491
16543
  subcircuit_id?: string | undefined;
16492
16544
  pcb_group_id?: string | undefined;
16545
+ corner_radius?: string | number | undefined;
16493
16546
  stroke_width?: string | number | undefined;
16494
16547
  is_filled?: boolean | undefined;
16495
16548
  has_stroke?: boolean | undefined;
@@ -16670,6 +16723,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16670
16723
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16671
16724
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16672
16725
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16726
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16673
16727
  is_filled: z.ZodOptional<z.ZodBoolean>;
16674
16728
  has_stroke: z.ZodOptional<z.ZodBoolean>;
16675
16729
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -16688,6 +16742,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16688
16742
  pcb_component_id?: string | undefined;
16689
16743
  subcircuit_id?: string | undefined;
16690
16744
  pcb_group_id?: string | undefined;
16745
+ corner_radius?: number | undefined;
16691
16746
  text?: string | undefined;
16692
16747
  is_filled?: boolean | undefined;
16693
16748
  has_stroke?: boolean | undefined;
@@ -16705,6 +16760,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16705
16760
  pcb_component_id?: string | undefined;
16706
16761
  subcircuit_id?: string | undefined;
16707
16762
  pcb_group_id?: string | undefined;
16763
+ corner_radius?: string | number | undefined;
16708
16764
  text?: string | undefined;
16709
16765
  stroke_width?: string | number | undefined;
16710
16766
  is_filled?: boolean | undefined;
@@ -19115,11 +19171,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19115
19171
  simulation_voltage_source_id: string;
19116
19172
  is_dc_source: false;
19117
19173
  voltage?: number | undefined;
19118
- frequency?: number | undefined;
19119
19174
  terminal1_source_port_id?: string | undefined;
19120
19175
  terminal2_source_port_id?: string | undefined;
19121
19176
  terminal1_source_net_id?: string | undefined;
19122
19177
  terminal2_source_net_id?: string | undefined;
19178
+ frequency?: number | undefined;
19123
19179
  peak_to_peak_voltage?: number | undefined;
19124
19180
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
19125
19181
  phase?: number | undefined;
@@ -19128,12 +19184,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19128
19184
  type: "simulation_voltage_source";
19129
19185
  is_dc_source: false;
19130
19186
  voltage?: string | number | undefined;
19131
- frequency?: string | number | undefined;
19132
19187
  simulation_voltage_source_id?: string | undefined;
19133
19188
  terminal1_source_port_id?: string | undefined;
19134
19189
  terminal2_source_port_id?: string | undefined;
19135
19190
  terminal1_source_net_id?: string | undefined;
19136
19191
  terminal2_source_net_id?: string | undefined;
19192
+ frequency?: string | number | undefined;
19137
19193
  peak_to_peak_voltage?: string | number | undefined;
19138
19194
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
19139
19195
  phase?: string | number | undefined;
@@ -19260,6 +19316,27 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19260
19316
  source_port_id?: string | undefined;
19261
19317
  source_net_id?: string | undefined;
19262
19318
  simulation_voltage_probe_id?: string | undefined;
19319
+ }>, z.ZodObject<{
19320
+ type: z.ZodLiteral<"simulation_unknown_experiment_error">;
19321
+ simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19322
+ error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
19323
+ message: z.ZodString;
19324
+ simulation_experiment_id: z.ZodOptional<z.ZodString>;
19325
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19326
+ }, "strip", z.ZodTypeAny, {
19327
+ message: string;
19328
+ type: "simulation_unknown_experiment_error";
19329
+ error_type: "simulation_unknown_experiment_error";
19330
+ simulation_unknown_experiment_error_id: string;
19331
+ subcircuit_id?: string | undefined;
19332
+ simulation_experiment_id?: string | undefined;
19333
+ }, {
19334
+ message: string;
19335
+ type: "simulation_unknown_experiment_error";
19336
+ subcircuit_id?: string | undefined;
19337
+ error_type?: "simulation_unknown_experiment_error" | undefined;
19338
+ simulation_experiment_id?: string | undefined;
19339
+ simulation_unknown_experiment_error_id?: string | undefined;
19263
19340
  }>]>;
19264
19341
  /**
19265
19342
  * @deprecated use any_circuit_element instead
@@ -19789,8 +19866,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19789
19866
  type: "source_component";
19790
19867
  name: string;
19791
19868
  source_component_id: string;
19792
- ftype: "simple_crystal";
19793
19869
  frequency: number;
19870
+ ftype: "simple_crystal";
19794
19871
  subcircuit_id?: string | undefined;
19795
19872
  source_group_id?: string | undefined;
19796
19873
  manufacturer_part_number?: string | undefined;
@@ -19803,8 +19880,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19803
19880
  type: "source_component";
19804
19881
  name: string;
19805
19882
  source_component_id: string;
19806
- ftype: "simple_crystal";
19807
19883
  frequency: number;
19884
+ ftype: "simple_crystal";
19808
19885
  subcircuit_id?: string | undefined;
19809
19886
  source_group_id?: string | undefined;
19810
19887
  manufacturer_part_number?: string | undefined;
@@ -19913,8 +19990,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19913
19990
  type: "source_component";
19914
19991
  name: string;
19915
19992
  source_component_id: string;
19916
- ftype: "simple_resonator";
19917
19993
  frequency: number;
19994
+ ftype: "simple_resonator";
19918
19995
  load_capacitance: number;
19919
19996
  subcircuit_id?: string | undefined;
19920
19997
  source_group_id?: string | undefined;
@@ -19928,8 +20005,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19928
20005
  type: "source_component";
19929
20006
  name: string;
19930
20007
  source_component_id: string;
19931
- ftype: "simple_resonator";
19932
20008
  frequency: string | number;
20009
+ ftype: "simple_resonator";
19933
20010
  load_capacitance: string | number;
19934
20011
  subcircuit_id?: string | undefined;
19935
20012
  source_group_id?: string | undefined;
@@ -20838,8 +20915,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20838
20915
  type: "source_component";
20839
20916
  name: string;
20840
20917
  source_component_id: string;
20841
- ftype: "simple_resonator";
20842
20918
  frequency: number;
20919
+ ftype: "simple_resonator";
20843
20920
  load_capacitance: number;
20844
20921
  subcircuit_id?: string | undefined;
20845
20922
  source_group_id?: string | undefined;
@@ -20853,8 +20930,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
20853
20930
  type: "source_component";
20854
20931
  name: string;
20855
20932
  source_component_id: string;
20856
- ftype: "simple_resonator";
20857
20933
  frequency: string | number;
20934
+ ftype: "simple_resonator";
20858
20935
  load_capacitance: string | number;
20859
20936
  subcircuit_id?: string | undefined;
20860
20937
  source_group_id?: string | undefined;
@@ -23471,6 +23548,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23471
23548
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
23472
23549
  }>;
23473
23550
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23551
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23474
23552
  is_filled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
23475
23553
  has_stroke: z.ZodOptional<z.ZodBoolean>;
23476
23554
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -23488,6 +23566,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23488
23566
  pcb_silkscreen_rect_id: string;
23489
23567
  subcircuit_id?: string | undefined;
23490
23568
  pcb_group_id?: string | undefined;
23569
+ corner_radius?: number | undefined;
23491
23570
  is_filled?: boolean | undefined;
23492
23571
  has_stroke?: boolean | undefined;
23493
23572
  is_stroke_dashed?: boolean | undefined;
@@ -23505,6 +23584,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23505
23584
  };
23506
23585
  subcircuit_id?: string | undefined;
23507
23586
  pcb_group_id?: string | undefined;
23587
+ corner_radius?: string | number | undefined;
23508
23588
  stroke_width?: string | number | undefined;
23509
23589
  pcb_silkscreen_rect_id?: string | undefined;
23510
23590
  is_filled?: boolean | undefined;
@@ -23927,6 +24007,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23927
24007
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
23928
24008
  layer: z.ZodEnum<["top", "bottom"]>;
23929
24009
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24010
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23930
24011
  is_filled: z.ZodOptional<z.ZodBoolean>;
23931
24012
  has_stroke: z.ZodOptional<z.ZodBoolean>;
23932
24013
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -23945,6 +24026,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23945
24026
  pcb_fabrication_note_rect_id: string;
23946
24027
  subcircuit_id?: string | undefined;
23947
24028
  pcb_group_id?: string | undefined;
24029
+ corner_radius?: number | undefined;
23948
24030
  is_filled?: boolean | undefined;
23949
24031
  has_stroke?: boolean | undefined;
23950
24032
  is_stroke_dashed?: boolean | undefined;
@@ -23961,6 +24043,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23961
24043
  layer: "top" | "bottom";
23962
24044
  subcircuit_id?: string | undefined;
23963
24045
  pcb_group_id?: string | undefined;
24046
+ corner_radius?: string | number | undefined;
23964
24047
  stroke_width?: string | number | undefined;
23965
24048
  is_filled?: boolean | undefined;
23966
24049
  has_stroke?: boolean | undefined;
@@ -24141,6 +24224,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24141
24224
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
24142
24225
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
24143
24226
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24227
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
24144
24228
  is_filled: z.ZodOptional<z.ZodBoolean>;
24145
24229
  has_stroke: z.ZodOptional<z.ZodBoolean>;
24146
24230
  is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
@@ -24159,6 +24243,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24159
24243
  pcb_component_id?: string | undefined;
24160
24244
  subcircuit_id?: string | undefined;
24161
24245
  pcb_group_id?: string | undefined;
24246
+ corner_radius?: number | undefined;
24162
24247
  text?: string | undefined;
24163
24248
  is_filled?: boolean | undefined;
24164
24249
  has_stroke?: boolean | undefined;
@@ -24176,6 +24261,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24176
24261
  pcb_component_id?: string | undefined;
24177
24262
  subcircuit_id?: string | undefined;
24178
24263
  pcb_group_id?: string | undefined;
24264
+ corner_radius?: string | number | undefined;
24179
24265
  text?: string | undefined;
24180
24266
  stroke_width?: string | number | undefined;
24181
24267
  is_filled?: boolean | undefined;
@@ -26586,11 +26672,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26586
26672
  simulation_voltage_source_id: string;
26587
26673
  is_dc_source: false;
26588
26674
  voltage?: number | undefined;
26589
- frequency?: number | undefined;
26590
26675
  terminal1_source_port_id?: string | undefined;
26591
26676
  terminal2_source_port_id?: string | undefined;
26592
26677
  terminal1_source_net_id?: string | undefined;
26593
26678
  terminal2_source_net_id?: string | undefined;
26679
+ frequency?: number | undefined;
26594
26680
  peak_to_peak_voltage?: number | undefined;
26595
26681
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
26596
26682
  phase?: number | undefined;
@@ -26599,12 +26685,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26599
26685
  type: "simulation_voltage_source";
26600
26686
  is_dc_source: false;
26601
26687
  voltage?: string | number | undefined;
26602
- frequency?: string | number | undefined;
26603
26688
  simulation_voltage_source_id?: string | undefined;
26604
26689
  terminal1_source_port_id?: string | undefined;
26605
26690
  terminal2_source_port_id?: string | undefined;
26606
26691
  terminal1_source_net_id?: string | undefined;
26607
26692
  terminal2_source_net_id?: string | undefined;
26693
+ frequency?: string | number | undefined;
26608
26694
  peak_to_peak_voltage?: string | number | undefined;
26609
26695
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
26610
26696
  phase?: string | number | undefined;
@@ -26731,6 +26817,27 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26731
26817
  source_port_id?: string | undefined;
26732
26818
  source_net_id?: string | undefined;
26733
26819
  simulation_voltage_probe_id?: string | undefined;
26820
+ }>, z.ZodObject<{
26821
+ type: z.ZodLiteral<"simulation_unknown_experiment_error">;
26822
+ simulation_unknown_experiment_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26823
+ error_type: z.ZodDefault<z.ZodLiteral<"simulation_unknown_experiment_error">>;
26824
+ message: z.ZodString;
26825
+ simulation_experiment_id: z.ZodOptional<z.ZodString>;
26826
+ subcircuit_id: z.ZodOptional<z.ZodString>;
26827
+ }, "strip", z.ZodTypeAny, {
26828
+ message: string;
26829
+ type: "simulation_unknown_experiment_error";
26830
+ error_type: "simulation_unknown_experiment_error";
26831
+ simulation_unknown_experiment_error_id: string;
26832
+ subcircuit_id?: string | undefined;
26833
+ simulation_experiment_id?: string | undefined;
26834
+ }, {
26835
+ message: string;
26836
+ type: "simulation_unknown_experiment_error";
26837
+ subcircuit_id?: string | undefined;
26838
+ error_type?: "simulation_unknown_experiment_error" | undefined;
26839
+ simulation_experiment_id?: string | undefined;
26840
+ simulation_unknown_experiment_error_id?: string | undefined;
26734
26841
  }>]>;
26735
26842
  type AnyCircuitElement = z.infer<typeof any_circuit_element>;
26736
26843
  type AnyCircuitElementInput = z.input<typeof any_circuit_element>;
@@ -26748,4 +26855,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
26748
26855
  */
26749
26856
  type CircuitJson = AnyCircuitElement[];
26750
26857
 
26751
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
26858
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };