solidworks-mcp-server 2.2.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -10
- package/dist/application/services/command-bus.d.ts +39 -0
- package/dist/application/services/command-bus.d.ts.map +1 -0
- package/dist/application/services/command-bus.js +88 -0
- package/dist/application/services/command-bus.js.map +1 -0
- package/dist/application/services/event-bus.d.ts +31 -0
- package/dist/application/services/event-bus.d.ts.map +1 -0
- package/dist/application/services/event-bus.js +83 -0
- package/dist/application/services/event-bus.js.map +1 -0
- package/dist/application/services/query-bus.d.ts +30 -0
- package/dist/application/services/query-bus.d.ts.map +1 -0
- package/dist/application/services/query-bus.js +59 -0
- package/dist/application/services/query-bus.js.map +1 -0
- package/dist/application/services/tool-registry.d.ts +53 -0
- package/dist/application/services/tool-registry.d.ts.map +1 -0
- package/dist/application/services/tool-registry.js +81 -0
- package/dist/application/services/tool-registry.js.map +1 -0
- package/dist/application/use-cases/analysis/index.d.ts +13 -0
- package/dist/application/use-cases/analysis/index.d.ts.map +1 -0
- package/dist/application/use-cases/analysis/index.js +17 -0
- package/dist/application/use-cases/analysis/index.js.map +1 -0
- package/dist/application/use-cases/drawing/index.d.ts +13 -0
- package/dist/application/use-cases/drawing/index.d.ts.map +1 -0
- package/dist/application/use-cases/drawing/index.js +17 -0
- package/dist/application/use-cases/drawing/index.js.map +1 -0
- package/dist/application/use-cases/export/index.d.ts +13 -0
- package/dist/application/use-cases/export/index.d.ts.map +1 -0
- package/dist/application/use-cases/export/index.js +17 -0
- package/dist/application/use-cases/export/index.js.map +1 -0
- package/dist/application/use-cases/macro/index.d.ts +13 -0
- package/dist/application/use-cases/macro/index.d.ts.map +1 -0
- package/dist/application/use-cases/macro/index.js +17 -0
- package/dist/application/use-cases/macro/index.js.map +1 -0
- package/dist/application/use-cases/modeling/index.d.ts +56 -0
- package/dist/application/use-cases/modeling/index.d.ts.map +1 -0
- package/dist/application/use-cases/modeling/index.js +385 -0
- package/dist/application/use-cases/modeling/index.js.map +1 -0
- package/dist/core/interfaces/core-abstractions.d.ts +289 -0
- package/dist/core/interfaces/core-abstractions.d.ts.map +1 -0
- package/dist/core/interfaces/core-abstractions.js +121 -0
- package/dist/core/interfaces/core-abstractions.js.map +1 -0
- package/dist/index.refactored.d.ts +7 -0
- package/dist/index.refactored.d.ts.map +1 -0
- package/dist/index.refactored.js +254 -0
- package/dist/index.refactored.js.map +1 -0
- package/dist/infrastructure/config/configuration-manager.d.ts +381 -0
- package/dist/infrastructure/config/configuration-manager.d.ts.map +1 -0
- package/dist/infrastructure/config/configuration-manager.js +566 -0
- package/dist/infrastructure/config/configuration-manager.js.map +1 -0
- package/dist/infrastructure/container/service-locator.d.ts +14 -0
- package/dist/infrastructure/container/service-locator.d.ts.map +1 -0
- package/dist/infrastructure/container/service-locator.js +38 -0
- package/dist/infrastructure/container/service-locator.js.map +1 -0
- package/dist/infrastructure/logging/logger.d.ts +24 -0
- package/dist/infrastructure/logging/logger.d.ts.map +1 -0
- package/dist/infrastructure/logging/logger.js +65 -0
- package/dist/infrastructure/logging/logger.js.map +1 -0
- package/dist/infrastructure/solidworks/solidworks-adapter.d.ts +43 -0
- package/dist/infrastructure/solidworks/solidworks-adapter.d.ts.map +1 -0
- package/dist/infrastructure/solidworks/solidworks-adapter.js +527 -0
- package/dist/infrastructure/solidworks/solidworks-adapter.js.map +1 -0
- package/dist/presentation/mcp/request-handler.d.ts +41 -0
- package/dist/presentation/mcp/request-handler.d.ts.map +1 -0
- package/dist/presentation/mcp/request-handler.js +100 -0
- package/dist/presentation/mcp/request-handler.js.map +1 -0
- package/dist/presentation/transformers/error-transformer.d.ts +16 -0
- package/dist/presentation/transformers/error-transformer.d.ts.map +1 -0
- package/dist/presentation/transformers/error-transformer.js +44 -0
- package/dist/presentation/transformers/error-transformer.js.map +1 -0
- package/dist/presentation/transformers/response-transformer.d.ts +24 -0
- package/dist/presentation/transformers/response-transformer.d.ts.map +1 -0
- package/dist/presentation/transformers/response-transformer.js +102 -0
- package/dist/presentation/transformers/response-transformer.js.map +1 -0
- package/dist/resources/design-table.d.ts +28 -28
- package/dist/resources/pdm.d.ts +70 -70
- package/dist/shared/constants/solidworks-constants.d.ts +302 -0
- package/dist/shared/constants/solidworks-constants.d.ts.map +1 -0
- package/dist/shared/constants/solidworks-constants.js +471 -0
- package/dist/shared/constants/solidworks-constants.js.map +1 -0
- package/dist/tools/diagnostics.d.ts +21 -0
- package/dist/tools/diagnostics.d.ts.map +1 -0
- package/dist/tools/diagnostics.js +120 -0
- package/dist/tools/diagnostics.js.map +1 -0
- package/dist/tools/drawing-analysis.d.ts +9 -0
- package/dist/tools/drawing-analysis.d.ts.map +1 -0
- package/dist/tools/drawing-analysis.js +239 -0
- package/dist/tools/drawing-analysis.js.map +1 -0
- package/dist/tools/drawing.d.ts +4 -4
- package/dist/tools/enhanced-drawing.d.ts +51 -0
- package/dist/tools/enhanced-drawing.d.ts.map +1 -0
- package/dist/tools/enhanced-drawing.js +193 -0
- package/dist/tools/enhanced-drawing.js.map +1 -0
- package/dist/tools/export.d.ts +6 -6
- package/dist/tools/macro-security.d.ts +9 -0
- package/dist/tools/macro-security.d.ts.map +1 -0
- package/dist/tools/macro-security.js +86 -0
- package/dist/tools/macro-security.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 +12 -7
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";
|
|
154
153
|
name: string;
|
|
154
|
+
type: "custom" | "date" | "user" | "counter" | "project";
|
|
155
155
|
format?: string | undefined;
|
|
156
156
|
}, {
|
|
157
|
-
type: "date" | "custom" | "counter" | "user" | "project";
|
|
158
157
|
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";
|
|
165
164
|
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";
|
|
172
171
|
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";
|
|
213
212
|
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";
|
|
232
231
|
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";
|
|
254
253
|
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";
|
|
260
259
|
name: string;
|
|
261
|
-
|
|
260
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
262
261
|
required?: boolean | undefined;
|
|
262
|
+
defaultValue?: any;
|
|
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";
|
|
336
335
|
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";
|
|
358
357
|
name: string;
|
|
359
|
-
|
|
358
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
360
359
|
required?: boolean | undefined;
|
|
360
|
+
defaultValue?: any;
|
|
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>;
|
|
387
386
|
name: string;
|
|
388
387
|
enabled: boolean;
|
|
388
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
389
|
+
parameters: Record<string, any>;
|
|
389
390
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
390
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
391
391
|
}, {
|
|
392
|
-
parameters: Record<string, any>;
|
|
393
392
|
name: string;
|
|
393
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
394
|
+
parameters: Record<string, any>;
|
|
394
395
|
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;
|
|
403
404
|
event: string;
|
|
404
405
|
recipients: string[];
|
|
405
|
-
template: string;
|
|
406
406
|
}, {
|
|
407
|
+
template: string;
|
|
407
408
|
event: string;
|
|
408
409
|
recipients: string[];
|
|
409
|
-
template: string;
|
|
410
410
|
}>, "many">>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
tasks?: {
|
|
413
|
-
parameters: Record<string, any>;
|
|
414
413
|
name: string;
|
|
415
414
|
enabled: boolean;
|
|
415
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
416
|
+
parameters: Record<string, any>;
|
|
416
417
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
417
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
418
418
|
}[] | undefined;
|
|
419
419
|
notifications?: {
|
|
420
|
+
template: string;
|
|
420
421
|
event: string;
|
|
421
422
|
recipients: string[];
|
|
422
|
-
template: string;
|
|
423
423
|
}[] | undefined;
|
|
424
424
|
}, {
|
|
425
425
|
tasks?: {
|
|
426
|
-
parameters: Record<string, any>;
|
|
427
426
|
name: string;
|
|
427
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
428
|
+
parameters: Record<string, any>;
|
|
428
429
|
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;
|
|
433
434
|
event: string;
|
|
434
435
|
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";
|
|
474
473
|
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";
|
|
490
489
|
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>;
|
|
515
514
|
name: string;
|
|
516
515
|
enabled: boolean;
|
|
516
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
517
|
+
parameters: Record<string, any>;
|
|
517
518
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
518
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
519
519
|
}[] | undefined;
|
|
520
520
|
notifications?: {
|
|
521
|
+
template: string;
|
|
521
522
|
event: string;
|
|
522
523
|
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";
|
|
562
561
|
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";
|
|
578
577
|
name: string;
|
|
579
|
-
|
|
578
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
580
579
|
required?: boolean | undefined;
|
|
580
|
+
defaultValue?: any;
|
|
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
|
-
parameters: Record<string, any>;
|
|
603
602
|
name: string;
|
|
603
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
604
|
+
parameters: Record<string, any>;
|
|
604
605
|
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;
|
|
609
610
|
event: string;
|
|
610
611
|
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";
|
|
764
763
|
name: string;
|
|
764
|
+
type: "custom" | "date" | "user" | "counter" | "project";
|
|
765
765
|
format?: string | undefined;
|
|
766
766
|
}, {
|
|
767
|
-
type: "date" | "custom" | "counter" | "user" | "project";
|
|
768
767
|
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";
|
|
775
774
|
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";
|
|
782
781
|
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";
|
|
823
822
|
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";
|
|
842
841
|
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";
|
|
864
863
|
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";
|
|
870
869
|
name: string;
|
|
871
|
-
|
|
870
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
872
871
|
required?: boolean | undefined;
|
|
872
|
+
defaultValue?: any;
|
|
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";
|
|
946
945
|
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";
|
|
968
967
|
name: string;
|
|
969
|
-
|
|
968
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
970
969
|
required?: boolean | undefined;
|
|
970
|
+
defaultValue?: any;
|
|
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>;
|
|
997
996
|
name: string;
|
|
998
997
|
enabled: boolean;
|
|
998
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
999
|
+
parameters: Record<string, any>;
|
|
999
1000
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1000
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1001
1001
|
}, {
|
|
1002
|
-
parameters: Record<string, any>;
|
|
1003
1002
|
name: string;
|
|
1003
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1004
|
+
parameters: Record<string, any>;
|
|
1004
1005
|
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;
|
|
1013
1014
|
event: string;
|
|
1014
1015
|
recipients: string[];
|
|
1015
|
-
template: string;
|
|
1016
1016
|
}, {
|
|
1017
|
+
template: string;
|
|
1017
1018
|
event: string;
|
|
1018
1019
|
recipients: string[];
|
|
1019
|
-
template: string;
|
|
1020
1020
|
}>, "many">>;
|
|
1021
1021
|
}, "strip", z.ZodTypeAny, {
|
|
1022
1022
|
tasks?: {
|
|
1023
|
-
parameters: Record<string, any>;
|
|
1024
1023
|
name: string;
|
|
1025
1024
|
enabled: boolean;
|
|
1025
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1026
|
+
parameters: Record<string, any>;
|
|
1026
1027
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1027
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1028
1028
|
}[] | undefined;
|
|
1029
1029
|
notifications?: {
|
|
1030
|
+
template: string;
|
|
1030
1031
|
event: string;
|
|
1031
1032
|
recipients: string[];
|
|
1032
|
-
template: string;
|
|
1033
1033
|
}[] | undefined;
|
|
1034
1034
|
}, {
|
|
1035
1035
|
tasks?: {
|
|
1036
|
-
parameters: Record<string, any>;
|
|
1037
1036
|
name: string;
|
|
1037
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1038
|
+
parameters: Record<string, any>;
|
|
1038
1039
|
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;
|
|
1043
1044
|
event: string;
|
|
1044
1045
|
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";
|
|
1084
1083
|
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";
|
|
1100
1099
|
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>;
|
|
1125
1124
|
name: string;
|
|
1126
1125
|
enabled: boolean;
|
|
1126
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1127
|
+
parameters: Record<string, any>;
|
|
1127
1128
|
trigger: "checkin" | "checkout" | "transition" | "schedule";
|
|
1128
|
-
action: "convert" | "print" | "export" | "notify" | "script";
|
|
1129
1129
|
}[] | undefined;
|
|
1130
1130
|
notifications?: {
|
|
1131
|
+
template: string;
|
|
1131
1132
|
event: string;
|
|
1132
1133
|
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";
|
|
1172
1171
|
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";
|
|
1188
1187
|
name: string;
|
|
1189
|
-
|
|
1188
|
+
type: "number" | "boolean" | "text" | "date" | "list";
|
|
1190
1189
|
required?: boolean | undefined;
|
|
1190
|
+
defaultValue?: any;
|
|
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
|
-
parameters: Record<string, any>;
|
|
1213
1212
|
name: string;
|
|
1213
|
+
action: "export" | "convert" | "print" | "notify" | "script";
|
|
1214
|
+
parameters: Record<string, any>;
|
|
1214
1215
|
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;
|
|
1219
1220
|
event: string;
|
|
1220
1221
|
recipients: string[];
|
|
1221
|
-
template: string;
|
|
1222
1222
|
}[] | undefined;
|
|
1223
1223
|
} | undefined;
|
|
1224
1224
|
}>;
|