solidworks-mcp-server 3.0.0 → 3.0.1
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.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/resources/design-table.d.ts +28 -28
- package/dist/resources/pdm.d.ts +70 -70
- package/dist/tools/drawing.d.ts +4 -4
- package/dist/tools/export.d.ts +6 -6
- package/dist/tools/native-macro.d.ts +149 -0
- package/dist/tools/native-macro.d.ts.map +1 -0
- package/dist/tools/native-macro.js +654 -0
- package/dist/tools/native-macro.js.map +1 -0
- package/dist/tools/sketch.d.ts +663 -0
- package/dist/tools/sketch.d.ts.map +1 -0
- package/dist/tools/sketch.js +815 -0
- package/dist/tools/sketch.js.map +1 -0
- package/dist/tools/template-manager.d.ts +231 -0
- package/dist/tools/template-manager.d.ts.map +1 -0
- package/dist/tools/template-manager.js +626 -0
- package/dist/tools/template-manager.js.map +1 -0
- package/dist/tools/vba-advanced.d.ts +12 -12
- package/dist/tools/vba-assembly.d.ts +8 -8
- package/dist/tools/vba-drawing.d.ts +14 -14
- package/dist/tools/vba-file-management.d.ts +16 -16
- package/dist/tools/vba-part.d.ts +10 -10
- package/dist/tools/vba.d.ts +67 -67
- package/package.json +1 -1
package/dist/resources/pdm.d.ts
CHANGED
|
@@ -150,26 +150,26 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
150
150
|
type: z.ZodEnum<["counter", "date", "user", "project", "custom"]>;
|
|
151
151
|
format: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
153
154
|
name: string;
|
|
154
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
155
155
|
format?: string | undefined;
|
|
156
156
|
}, {
|
|
157
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
157
158
|
name: string;
|
|
158
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
159
159
|
format?: string | undefined;
|
|
160
160
|
}>, "many">>;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
pattern: string;
|
|
163
163
|
variables?: {
|
|
164
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
164
165
|
name: string;
|
|
165
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
166
166
|
format?: string | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
}, {
|
|
169
169
|
pattern: string;
|
|
170
170
|
variables?: {
|
|
171
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
171
172
|
name: string;
|
|
172
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
173
173
|
format?: string | undefined;
|
|
174
174
|
}[] | undefined;
|
|
175
175
|
}>>;
|
|
@@ -209,8 +209,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
209
209
|
namingConvention?: {
|
|
210
210
|
pattern: string;
|
|
211
211
|
variables?: {
|
|
212
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
212
213
|
name: string;
|
|
213
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
214
214
|
format?: string | undefined;
|
|
215
215
|
}[] | undefined;
|
|
216
216
|
} | undefined;
|
|
@@ -228,8 +228,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
228
228
|
namingConvention?: {
|
|
229
229
|
pattern: string;
|
|
230
230
|
variables?: {
|
|
231
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
231
232
|
name: string;
|
|
232
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
233
233
|
format?: string | undefined;
|
|
234
234
|
}[] | undefined;
|
|
235
235
|
} | undefined;
|
|
@@ -250,16 +250,16 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
250
250
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
251
251
|
listValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
253
254
|
name: string;
|
|
254
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
255
255
|
required: boolean;
|
|
256
256
|
defaultValue?: any;
|
|
257
257
|
listValues?: string[] | undefined;
|
|
258
258
|
}, {
|
|
259
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
259
260
|
name: string;
|
|
260
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
261
|
-
required?: boolean | undefined;
|
|
262
261
|
defaultValue?: any;
|
|
262
|
+
required?: boolean | undefined;
|
|
263
263
|
listValues?: string[] | undefined;
|
|
264
264
|
}>, "many">>;
|
|
265
265
|
dataCards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -332,8 +332,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
332
332
|
}>, "many">>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
334
|
customProperties?: {
|
|
335
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
335
336
|
name: string;
|
|
336
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
337
337
|
required: boolean;
|
|
338
338
|
defaultValue?: any;
|
|
339
339
|
listValues?: string[] | undefined;
|
|
@@ -354,10 +354,10 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
}, {
|
|
356
356
|
customProperties?: {
|
|
357
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
357
358
|
name: string;
|
|
358
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
359
|
-
required?: boolean | undefined;
|
|
360
359
|
defaultValue?: any;
|
|
360
|
+
required?: boolean | undefined;
|
|
361
361
|
listValues?: string[] | undefined;
|
|
362
362
|
}[] | undefined;
|
|
363
363
|
dataCards?: {
|
|
@@ -383,16 +383,16 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
383
383
|
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
384
384
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
|
+
parameters: Record<string, any>;
|
|
386
387
|
name: string;
|
|
387
388
|
enabled: boolean;
|
|
388
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
389
|
-
parameters: Record<string, any>;
|
|
390
389
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
390
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
391
391
|
}, {
|
|
392
|
-
name: string;
|
|
393
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
394
392
|
parameters: Record<string, any>;
|
|
393
|
+
name: string;
|
|
395
394
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
395
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
396
396
|
enabled?: boolean | undefined;
|
|
397
397
|
}>, "many">>;
|
|
398
398
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -400,39 +400,39 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
400
400
|
recipients: z.ZodArray<z.ZodString, "many">;
|
|
401
401
|
template: z.ZodString;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
template: string;
|
|
404
403
|
event: string;
|
|
405
404
|
recipients: string[];
|
|
406
|
-
}, {
|
|
407
405
|
template: string;
|
|
406
|
+
}, {
|
|
408
407
|
event: string;
|
|
409
408
|
recipients: string[];
|
|
409
|
+
template: string;
|
|
410
410
|
}>, "many">>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
tasks?: {
|
|
413
|
+
parameters: Record<string, any>;
|
|
413
414
|
name: string;
|
|
414
415
|
enabled: boolean;
|
|
415
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
416
|
-
parameters: Record<string, any>;
|
|
417
416
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
417
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
418
418
|
}[] | undefined;
|
|
419
419
|
notifications?: {
|
|
420
|
-
template: string;
|
|
421
420
|
event: string;
|
|
422
421
|
recipients: string[];
|
|
422
|
+
template: string;
|
|
423
423
|
}[] | undefined;
|
|
424
424
|
}, {
|
|
425
425
|
tasks?: {
|
|
426
|
-
name: string;
|
|
427
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
428
426
|
parameters: Record<string, any>;
|
|
427
|
+
name: string;
|
|
429
428
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
429
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
430
430
|
enabled?: boolean | undefined;
|
|
431
431
|
}[] | undefined;
|
|
432
432
|
notifications?: {
|
|
433
|
-
template: string;
|
|
434
433
|
event: string;
|
|
435
434
|
recipients: string[];
|
|
435
|
+
template: string;
|
|
436
436
|
}[] | undefined;
|
|
437
437
|
}>>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -470,8 +470,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
470
470
|
namingConvention?: {
|
|
471
471
|
pattern: string;
|
|
472
472
|
variables?: {
|
|
473
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
473
474
|
name: string;
|
|
474
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
475
475
|
format?: string | undefined;
|
|
476
476
|
}[] | undefined;
|
|
477
477
|
} | undefined;
|
|
@@ -486,8 +486,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
486
486
|
};
|
|
487
487
|
metadata?: {
|
|
488
488
|
customProperties?: {
|
|
489
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
489
490
|
name: string;
|
|
490
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
491
491
|
required: boolean;
|
|
492
492
|
defaultValue?: any;
|
|
493
493
|
listValues?: string[] | undefined;
|
|
@@ -511,16 +511,16 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
511
511
|
workflowName?: string | undefined;
|
|
512
512
|
automation?: {
|
|
513
513
|
tasks?: {
|
|
514
|
+
parameters: Record<string, any>;
|
|
514
515
|
name: string;
|
|
515
516
|
enabled: boolean;
|
|
516
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
517
|
-
parameters: Record<string, any>;
|
|
518
517
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
518
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
519
519
|
}[] | undefined;
|
|
520
520
|
notifications?: {
|
|
521
|
-
template: string;
|
|
522
521
|
event: string;
|
|
523
522
|
recipients: string[];
|
|
523
|
+
template: string;
|
|
524
524
|
}[] | undefined;
|
|
525
525
|
} | undefined;
|
|
526
526
|
}, {
|
|
@@ -558,8 +558,8 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
558
558
|
namingConvention?: {
|
|
559
559
|
pattern: string;
|
|
560
560
|
variables?: {
|
|
561
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
561
562
|
name: string;
|
|
562
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
563
563
|
format?: string | undefined;
|
|
564
564
|
}[] | undefined;
|
|
565
565
|
} | undefined;
|
|
@@ -574,10 +574,10 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
574
574
|
};
|
|
575
575
|
metadata?: {
|
|
576
576
|
customProperties?: {
|
|
577
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
577
578
|
name: string;
|
|
578
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
579
|
-
required?: boolean | undefined;
|
|
580
579
|
defaultValue?: any;
|
|
580
|
+
required?: boolean | undefined;
|
|
581
581
|
listValues?: string[] | undefined;
|
|
582
582
|
}[] | undefined;
|
|
583
583
|
dataCards?: {
|
|
@@ -599,16 +599,16 @@ declare const PDMConfigSchema: z.ZodObject<{
|
|
|
599
599
|
workflowName?: string | undefined;
|
|
600
600
|
automation?: {
|
|
601
601
|
tasks?: {
|
|
602
|
-
name: string;
|
|
603
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
604
602
|
parameters: Record<string, any>;
|
|
603
|
+
name: string;
|
|
605
604
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
605
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
606
606
|
enabled?: boolean | undefined;
|
|
607
607
|
}[] | undefined;
|
|
608
608
|
notifications?: {
|
|
609
|
-
template: string;
|
|
610
609
|
event: string;
|
|
611
610
|
recipients: string[];
|
|
611
|
+
template: string;
|
|
612
612
|
}[] | undefined;
|
|
613
613
|
} | undefined;
|
|
614
614
|
}>;
|
|
@@ -760,26 +760,26 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
760
760
|
type: z.ZodEnum<["counter", "date", "user", "project", "custom"]>;
|
|
761
761
|
format: z.ZodOptional<z.ZodString>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
763
764
|
name: string;
|
|
764
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
765
765
|
format?: string | undefined;
|
|
766
766
|
}, {
|
|
767
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
767
768
|
name: string;
|
|
768
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
769
769
|
format?: string | undefined;
|
|
770
770
|
}>, "many">>;
|
|
771
771
|
}, "strip", z.ZodTypeAny, {
|
|
772
772
|
pattern: string;
|
|
773
773
|
variables?: {
|
|
774
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
774
775
|
name: string;
|
|
775
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
776
776
|
format?: string | undefined;
|
|
777
777
|
}[] | undefined;
|
|
778
778
|
}, {
|
|
779
779
|
pattern: string;
|
|
780
780
|
variables?: {
|
|
781
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
781
782
|
name: string;
|
|
782
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
783
783
|
format?: string | undefined;
|
|
784
784
|
}[] | undefined;
|
|
785
785
|
}>>;
|
|
@@ -819,8 +819,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
819
819
|
namingConvention?: {
|
|
820
820
|
pattern: string;
|
|
821
821
|
variables?: {
|
|
822
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
822
823
|
name: string;
|
|
823
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
824
824
|
format?: string | undefined;
|
|
825
825
|
}[] | undefined;
|
|
826
826
|
} | undefined;
|
|
@@ -838,8 +838,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
838
838
|
namingConvention?: {
|
|
839
839
|
pattern: string;
|
|
840
840
|
variables?: {
|
|
841
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
841
842
|
name: string;
|
|
842
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
843
843
|
format?: string | undefined;
|
|
844
844
|
}[] | undefined;
|
|
845
845
|
} | undefined;
|
|
@@ -860,16 +860,16 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
860
860
|
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
861
861
|
listValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
862
862
|
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
863
864
|
name: string;
|
|
864
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
865
865
|
required: boolean;
|
|
866
866
|
defaultValue?: any;
|
|
867
867
|
listValues?: string[] | undefined;
|
|
868
868
|
}, {
|
|
869
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
869
870
|
name: string;
|
|
870
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
871
|
-
required?: boolean | undefined;
|
|
872
871
|
defaultValue?: any;
|
|
872
|
+
required?: boolean | undefined;
|
|
873
873
|
listValues?: string[] | undefined;
|
|
874
874
|
}>, "many">>;
|
|
875
875
|
dataCards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -942,8 +942,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
942
942
|
}>, "many">>;
|
|
943
943
|
}, "strip", z.ZodTypeAny, {
|
|
944
944
|
customProperties?: {
|
|
945
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
945
946
|
name: string;
|
|
946
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
947
947
|
required: boolean;
|
|
948
948
|
defaultValue?: any;
|
|
949
949
|
listValues?: string[] | undefined;
|
|
@@ -964,10 +964,10 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
964
964
|
}[] | undefined;
|
|
965
965
|
}, {
|
|
966
966
|
customProperties?: {
|
|
967
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
967
968
|
name: string;
|
|
968
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
969
|
-
required?: boolean | undefined;
|
|
970
969
|
defaultValue?: any;
|
|
970
|
+
required?: boolean | undefined;
|
|
971
971
|
listValues?: string[] | undefined;
|
|
972
972
|
}[] | undefined;
|
|
973
973
|
dataCards?: {
|
|
@@ -993,16 +993,16 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
993
993
|
parameters: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
994
994
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
995
995
|
}, "strip", z.ZodTypeAny, {
|
|
996
|
+
parameters: Record<string, any>;
|
|
996
997
|
name: string;
|
|
997
998
|
enabled: boolean;
|
|
998
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
999
|
-
parameters: Record<string, any>;
|
|
1000
999
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1000
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1001
1001
|
}, {
|
|
1002
|
-
name: string;
|
|
1003
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1004
1002
|
parameters: Record<string, any>;
|
|
1003
|
+
name: string;
|
|
1005
1004
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1005
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1006
1006
|
enabled?: boolean | undefined;
|
|
1007
1007
|
}>, "many">>;
|
|
1008
1008
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1010,39 +1010,39 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1010
1010
|
recipients: z.ZodArray<z.ZodString, "many">;
|
|
1011
1011
|
template: z.ZodString;
|
|
1012
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
template: string;
|
|
1014
1013
|
event: string;
|
|
1015
1014
|
recipients: string[];
|
|
1016
|
-
}, {
|
|
1017
1015
|
template: string;
|
|
1016
|
+
}, {
|
|
1018
1017
|
event: string;
|
|
1019
1018
|
recipients: string[];
|
|
1019
|
+
template: string;
|
|
1020
1020
|
}>, "many">>;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
1022
|
tasks?: {
|
|
1023
|
+
parameters: Record<string, any>;
|
|
1023
1024
|
name: string;
|
|
1024
1025
|
enabled: boolean;
|
|
1025
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1026
|
-
parameters: Record<string, any>;
|
|
1027
1026
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1027
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1028
1028
|
}[] | undefined;
|
|
1029
1029
|
notifications?: {
|
|
1030
|
-
template: string;
|
|
1031
1030
|
event: string;
|
|
1032
1031
|
recipients: string[];
|
|
1032
|
+
template: string;
|
|
1033
1033
|
}[] | undefined;
|
|
1034
1034
|
}, {
|
|
1035
1035
|
tasks?: {
|
|
1036
|
-
name: string;
|
|
1037
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1038
1036
|
parameters: Record<string, any>;
|
|
1037
|
+
name: string;
|
|
1039
1038
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1039
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1040
1040
|
enabled?: boolean | undefined;
|
|
1041
1041
|
}[] | undefined;
|
|
1042
1042
|
notifications?: {
|
|
1043
|
-
template: string;
|
|
1044
1043
|
event: string;
|
|
1045
1044
|
recipients: string[];
|
|
1045
|
+
template: string;
|
|
1046
1046
|
}[] | undefined;
|
|
1047
1047
|
}>>;
|
|
1048
1048
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1080,8 +1080,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1080
1080
|
namingConvention?: {
|
|
1081
1081
|
pattern: string;
|
|
1082
1082
|
variables?: {
|
|
1083
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
1083
1084
|
name: string;
|
|
1084
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
1085
1085
|
format?: string | undefined;
|
|
1086
1086
|
}[] | undefined;
|
|
1087
1087
|
} | undefined;
|
|
@@ -1096,8 +1096,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1096
1096
|
};
|
|
1097
1097
|
metadata?: {
|
|
1098
1098
|
customProperties?: {
|
|
1099
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
1099
1100
|
name: string;
|
|
1100
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
1101
1101
|
required: boolean;
|
|
1102
1102
|
defaultValue?: any;
|
|
1103
1103
|
listValues?: string[] | undefined;
|
|
@@ -1121,16 +1121,16 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1121
1121
|
workflowName?: string | undefined;
|
|
1122
1122
|
automation?: {
|
|
1123
1123
|
tasks?: {
|
|
1124
|
+
parameters: Record<string, any>;
|
|
1124
1125
|
name: string;
|
|
1125
1126
|
enabled: boolean;
|
|
1126
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1127
|
-
parameters: Record<string, any>;
|
|
1128
1127
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1128
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1129
1129
|
}[] | undefined;
|
|
1130
1130
|
notifications?: {
|
|
1131
|
-
template: string;
|
|
1132
1131
|
event: string;
|
|
1133
1132
|
recipients: string[];
|
|
1133
|
+
template: string;
|
|
1134
1134
|
}[] | undefined;
|
|
1135
1135
|
} | undefined;
|
|
1136
1136
|
}, {
|
|
@@ -1168,8 +1168,8 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1168
1168
|
namingConvention?: {
|
|
1169
1169
|
pattern: string;
|
|
1170
1170
|
variables?: {
|
|
1171
|
+
type: "date" | "custom" | "counter" | "user" | "project";
|
|
1171
1172
|
name: string;
|
|
1172
|
-
type: "custom" | "date" | "user" | "counter" | "project";
|
|
1173
1173
|
format?: string | undefined;
|
|
1174
1174
|
}[] | undefined;
|
|
1175
1175
|
} | undefined;
|
|
@@ -1184,10 +1184,10 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1184
1184
|
};
|
|
1185
1185
|
metadata?: {
|
|
1186
1186
|
customProperties?: {
|
|
1187
|
+
type: "number" | "boolean" | "date" | "text" | "list";
|
|
1187
1188
|
name: string;
|
|
1188
|
-
type: "number" | "boolean" | "text" | "date" | "list";
|
|
1189
|
-
required?: boolean | undefined;
|
|
1190
1189
|
defaultValue?: any;
|
|
1190
|
+
required?: boolean | undefined;
|
|
1191
1191
|
listValues?: string[] | undefined;
|
|
1192
1192
|
}[] | undefined;
|
|
1193
1193
|
dataCards?: {
|
|
@@ -1209,16 +1209,16 @@ export declare class PDMResource extends SolidWorksResource {
|
|
|
1209
1209
|
workflowName?: string | undefined;
|
|
1210
1210
|
automation?: {
|
|
1211
1211
|
tasks?: {
|
|
1212
|
-
name: string;
|
|
1213
|
-
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1214
1212
|
parameters: Record<string, any>;
|
|
1213
|
+
name: string;
|
|
1215
1214
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1215
|
+
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1216
1216
|
enabled?: boolean | undefined;
|
|
1217
1217
|
}[] | undefined;
|
|
1218
1218
|
notifications?: {
|
|
1219
|
-
template: string;
|
|
1220
1219
|
event: string;
|
|
1221
1220
|
recipients: string[];
|
|
1221
|
+
template: string;
|
|
1222
1222
|
}[] | undefined;
|
|
1223
1223
|
} | undefined;
|
|
1224
1224
|
}>;
|
package/dist/tools/drawing.d.ts
CHANGED
|
@@ -110,17 +110,17 @@ export declare const drawingTools: ({
|
|
|
110
110
|
finish: z.ZodOptional<z.ZodString>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
finish?: string | undefined;
|
|
113
|
-
title?: string | undefined;
|
|
114
113
|
date?: string | undefined;
|
|
115
114
|
scale?: string | undefined;
|
|
115
|
+
title?: string | undefined;
|
|
116
116
|
drawnBy?: string | undefined;
|
|
117
117
|
checkedBy?: string | undefined;
|
|
118
118
|
material?: string | undefined;
|
|
119
119
|
}, {
|
|
120
120
|
finish?: string | undefined;
|
|
121
|
-
title?: string | undefined;
|
|
122
121
|
date?: string | undefined;
|
|
123
122
|
scale?: string | undefined;
|
|
123
|
+
title?: string | undefined;
|
|
124
124
|
drawnBy?: string | undefined;
|
|
125
125
|
checkedBy?: string | undefined;
|
|
126
126
|
material?: string | undefined;
|
|
@@ -128,9 +128,9 @@ export declare const drawingTools: ({
|
|
|
128
128
|
}, "strip", z.ZodTypeAny, {
|
|
129
129
|
properties: {
|
|
130
130
|
finish?: string | undefined;
|
|
131
|
-
title?: string | undefined;
|
|
132
131
|
date?: string | undefined;
|
|
133
132
|
scale?: string | undefined;
|
|
133
|
+
title?: string | undefined;
|
|
134
134
|
drawnBy?: string | undefined;
|
|
135
135
|
checkedBy?: string | undefined;
|
|
136
136
|
material?: string | undefined;
|
|
@@ -138,9 +138,9 @@ export declare const drawingTools: ({
|
|
|
138
138
|
}, {
|
|
139
139
|
properties: {
|
|
140
140
|
finish?: string | undefined;
|
|
141
|
-
title?: string | undefined;
|
|
142
141
|
date?: string | undefined;
|
|
143
142
|
scale?: string | undefined;
|
|
143
|
+
title?: string | undefined;
|
|
144
144
|
drawnBy?: string | undefined;
|
|
145
145
|
checkedBy?: string | undefined;
|
|
146
146
|
material?: string | undefined;
|
package/dist/tools/export.d.ts
CHANGED
|
@@ -46,33 +46,33 @@ export declare const exportTools: ({
|
|
|
46
46
|
version: z.ZodOptional<z.ZodString>;
|
|
47
47
|
quality: z.ZodOptional<z.ZodEnum<["coarse", "fine", "custom"]>>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
|
-
version?: string | undefined;
|
|
50
49
|
binary?: boolean | undefined;
|
|
51
50
|
units?: "mm" | "in" | "m" | undefined;
|
|
51
|
+
version?: string | undefined;
|
|
52
52
|
quality?: "custom" | "coarse" | "fine" | undefined;
|
|
53
53
|
}, {
|
|
54
|
-
version?: string | undefined;
|
|
55
54
|
binary?: boolean | undefined;
|
|
56
55
|
units?: "mm" | "in" | "m" | undefined;
|
|
56
|
+
version?: string | undefined;
|
|
57
57
|
quality?: "custom" | "coarse" | "fine" | undefined;
|
|
58
58
|
}>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
format: "step" | "iges" | "stl";
|
|
60
61
|
options: {
|
|
61
|
-
version?: string | undefined;
|
|
62
62
|
binary?: boolean | undefined;
|
|
63
63
|
units?: "mm" | "in" | "m" | undefined;
|
|
64
|
+
version?: string | undefined;
|
|
64
65
|
quality?: "custom" | "coarse" | "fine" | undefined;
|
|
65
66
|
};
|
|
66
|
-
format: "step" | "iges" | "stl";
|
|
67
67
|
outputPath: string;
|
|
68
68
|
}, {
|
|
69
|
+
format: "step" | "iges" | "stl";
|
|
69
70
|
options: {
|
|
70
|
-
version?: string | undefined;
|
|
71
71
|
binary?: boolean | undefined;
|
|
72
72
|
units?: "mm" | "in" | "m" | undefined;
|
|
73
|
+
version?: string | undefined;
|
|
73
74
|
quality?: "custom" | "coarse" | "fine" | undefined;
|
|
74
75
|
};
|
|
75
|
-
format: "step" | "iges" | "stl";
|
|
76
76
|
outputPath: string;
|
|
77
77
|
}>;
|
|
78
78
|
handler: (args: any, swApi: SolidWorksAPI) => string;
|