erpnext-queue-client 1.10.2 → 1.11.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.
@@ -8,7 +8,7 @@ export declare class ERPNextItem {
8
8
  protected temporalClient: TemporalClient;
9
9
  protected baseRequest: ERPNextDoctypeResourceRequest<typeof Item>;
10
10
  protected methodRequest: ERPNextMethodRequest;
11
- getList: <TField extends ("description" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_per_unit" | "weight_uom" | "taxes" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "is_purchase_item" | "min_order_qty" | "safety_stock" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items") | ("image" | "warehouse_category" | "ean" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "custom_product_version" | "custom_supplier" | "custom_stock_reserve"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
11
+ getList: <TField extends ("description" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_per_unit" | "weight_uom" | "taxes" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items" | "custom_certifications") | ("image" | "warehouse_category" | "ean" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
12
12
  fields?: TField[] | undefined;
13
13
  filters?: (string | string[])[][];
14
14
  skip?: number;
@@ -66,13 +66,15 @@ export declare class ERPNextItem {
66
66
  has_serial_no: number;
67
67
  has_variants: number;
68
68
  variant_based_on: string;
69
- is_purchase_item: number;
70
69
  min_order_qty: number;
71
70
  safety_stock: number;
71
+ is_purchase_item: number;
72
+ custom_include_in_purchase_planning: number;
72
73
  lead_time_days: number;
73
74
  last_purchase_rate: number;
74
75
  is_customer_provided_item: number;
75
76
  delivered_by_supplier: number;
77
+ fsc_percentage: number;
76
78
  sales_uom: string;
77
79
  is_sales_item: number;
78
80
  custom_is_selling_enabled: number;
@@ -133,8 +135,39 @@ export declare class ERPNextItem {
133
135
  company: string;
134
136
  default_warehouse: string;
135
137
  }[];
136
- supplier_items: any[];
138
+ supplier_items: {
139
+ name: string;
140
+ doctype: string;
141
+ owner: string;
142
+ creation: string;
143
+ modified: string;
144
+ modified_by: string;
145
+ parent: string;
146
+ parentfield: string;
147
+ parenttype: string;
148
+ idx: number;
149
+ docstatus: number;
150
+ barcode: string;
151
+ barcode_type: string;
152
+ supplier: string;
153
+ }[];
137
154
  customer_items: any[];
155
+ custom_certifications: {
156
+ name: string;
157
+ doctype: string;
158
+ owner: string;
159
+ creation: string;
160
+ modified: string;
161
+ modified_by: string;
162
+ parent: string;
163
+ parentfield: string;
164
+ parenttype: string;
165
+ idx: number;
166
+ docstatus: number;
167
+ barcode: string;
168
+ barcode_type: string;
169
+ certification: string;
170
+ }[];
138
171
  image?: string | null | undefined;
139
172
  warehouse_category?: string | null | undefined;
140
173
  ean?: string | null | undefined;
@@ -144,9 +177,16 @@ export declare class ERPNextItem {
144
177
  shipping_height?: number | null | undefined;
145
178
  packaging_weight_cardboard?: number | null | undefined;
146
179
  packaging_weight_plastic?: number | null | undefined;
180
+ fsc_status?: string | null | undefined;
181
+ custom_fsc_type_of_wood?: string | null | undefined;
182
+ custom_fsc_product_group?: string | null | undefined;
147
183
  custom_product_version?: string | null | undefined;
148
184
  custom_supplier?: string | null | undefined;
185
+ purchase_description?: string | null | undefined;
149
186
  custom_stock_reserve?: number | null | undefined;
187
+ custom_sales_category?: string | null | undefined;
188
+ custom_shopify_content_configuration?: string | null | undefined;
189
+ custom_compliance?: string | null | undefined;
150
190
  }, TField>[]>;
151
191
  getById: ({ resourceId, priority, }: {
152
192
  resourceId: string;
@@ -201,13 +241,15 @@ export declare class ERPNextItem {
201
241
  has_serial_no: number;
202
242
  has_variants: number;
203
243
  variant_based_on: string;
204
- is_purchase_item: number;
205
244
  min_order_qty: number;
206
245
  safety_stock: number;
246
+ is_purchase_item: number;
247
+ custom_include_in_purchase_planning: number;
207
248
  lead_time_days: number;
208
249
  last_purchase_rate: number;
209
250
  is_customer_provided_item: number;
210
251
  delivered_by_supplier: number;
252
+ fsc_percentage: number;
211
253
  sales_uom: string;
212
254
  is_sales_item: number;
213
255
  custom_is_selling_enabled: number;
@@ -268,8 +310,39 @@ export declare class ERPNextItem {
268
310
  company: string;
269
311
  default_warehouse: string;
270
312
  }[];
271
- supplier_items: any[];
313
+ supplier_items: {
314
+ name: string;
315
+ doctype: string;
316
+ owner: string;
317
+ creation: string;
318
+ modified: string;
319
+ modified_by: string;
320
+ parent: string;
321
+ parentfield: string;
322
+ parenttype: string;
323
+ idx: number;
324
+ docstatus: number;
325
+ barcode: string;
326
+ barcode_type: string;
327
+ supplier: string;
328
+ }[];
272
329
  customer_items: any[];
330
+ custom_certifications: {
331
+ name: string;
332
+ doctype: string;
333
+ owner: string;
334
+ creation: string;
335
+ modified: string;
336
+ modified_by: string;
337
+ parent: string;
338
+ parentfield: string;
339
+ parenttype: string;
340
+ idx: number;
341
+ docstatus: number;
342
+ barcode: string;
343
+ barcode_type: string;
344
+ certification: string;
345
+ }[];
273
346
  image?: string | null | undefined;
274
347
  warehouse_category?: string | null | undefined;
275
348
  ean?: string | null | undefined;
@@ -279,9 +352,16 @@ export declare class ERPNextItem {
279
352
  shipping_height?: number | null | undefined;
280
353
  packaging_weight_cardboard?: number | null | undefined;
281
354
  packaging_weight_plastic?: number | null | undefined;
355
+ fsc_status?: string | null | undefined;
356
+ custom_fsc_type_of_wood?: string | null | undefined;
357
+ custom_fsc_product_group?: string | null | undefined;
282
358
  custom_product_version?: string | null | undefined;
283
359
  custom_supplier?: string | null | undefined;
360
+ purchase_description?: string | null | undefined;
284
361
  custom_stock_reserve?: number | null | undefined;
362
+ custom_sales_category?: string | null | undefined;
363
+ custom_shopify_content_configuration?: string | null | undefined;
364
+ custom_compliance?: string | null | undefined;
285
365
  }>;
286
366
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
287
367
  description: string;
@@ -333,13 +413,15 @@ export declare class ERPNextItem {
333
413
  has_serial_no: number;
334
414
  has_variants: number;
335
415
  variant_based_on: string;
336
- is_purchase_item: number;
337
416
  min_order_qty: number;
338
417
  safety_stock: number;
418
+ is_purchase_item: number;
419
+ custom_include_in_purchase_planning: number;
339
420
  lead_time_days: number;
340
421
  last_purchase_rate: number;
341
422
  is_customer_provided_item: number;
342
423
  delivered_by_supplier: number;
424
+ fsc_percentage: number;
343
425
  sales_uom: string;
344
426
  is_sales_item: number;
345
427
  custom_is_selling_enabled: number;
@@ -400,8 +482,39 @@ export declare class ERPNextItem {
400
482
  company: string;
401
483
  default_warehouse: string;
402
484
  }[];
403
- supplier_items: any[];
485
+ supplier_items: {
486
+ name: string;
487
+ doctype: string;
488
+ owner: string;
489
+ creation: string;
490
+ modified: string;
491
+ modified_by: string;
492
+ parent: string;
493
+ parentfield: string;
494
+ parenttype: string;
495
+ idx: number;
496
+ docstatus: number;
497
+ barcode: string;
498
+ barcode_type: string;
499
+ supplier: string;
500
+ }[];
404
501
  customer_items: any[];
502
+ custom_certifications: {
503
+ name: string;
504
+ doctype: string;
505
+ owner: string;
506
+ creation: string;
507
+ modified: string;
508
+ modified_by: string;
509
+ parent: string;
510
+ parentfield: string;
511
+ parenttype: string;
512
+ idx: number;
513
+ docstatus: number;
514
+ barcode: string;
515
+ barcode_type: string;
516
+ certification: string;
517
+ }[];
405
518
  image?: string | null | undefined;
406
519
  warehouse_category?: string | null | undefined;
407
520
  ean?: string | null | undefined;
@@ -411,9 +524,16 @@ export declare class ERPNextItem {
411
524
  shipping_height?: number | null | undefined;
412
525
  packaging_weight_cardboard?: number | null | undefined;
413
526
  packaging_weight_plastic?: number | null | undefined;
527
+ fsc_status?: string | null | undefined;
528
+ custom_fsc_type_of_wood?: string | null | undefined;
529
+ custom_fsc_product_group?: string | null | undefined;
414
530
  custom_product_version?: string | null | undefined;
415
531
  custom_supplier?: string | null | undefined;
532
+ purchase_description?: string | null | undefined;
416
533
  custom_stock_reserve?: number | null | undefined;
534
+ custom_sales_category?: string | null | undefined;
535
+ custom_shopify_content_configuration?: string | null | undefined;
536
+ custom_compliance?: string | null | undefined;
417
537
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
418
538
  resourceId: string;
419
539
  inputValidationModel?: TInputModel;
@@ -469,13 +589,15 @@ export declare class ERPNextItem {
469
589
  has_serial_no: number;
470
590
  has_variants: number;
471
591
  variant_based_on: string;
472
- is_purchase_item: number;
473
592
  min_order_qty: number;
474
593
  safety_stock: number;
594
+ is_purchase_item: number;
595
+ custom_include_in_purchase_planning: number;
475
596
  lead_time_days: number;
476
597
  last_purchase_rate: number;
477
598
  is_customer_provided_item: number;
478
599
  delivered_by_supplier: number;
600
+ fsc_percentage: number;
479
601
  sales_uom: string;
480
602
  is_sales_item: number;
481
603
  custom_is_selling_enabled: number;
@@ -536,8 +658,39 @@ export declare class ERPNextItem {
536
658
  company: string;
537
659
  default_warehouse: string;
538
660
  }[];
539
- supplier_items: any[];
661
+ supplier_items: {
662
+ name: string;
663
+ doctype: string;
664
+ owner: string;
665
+ creation: string;
666
+ modified: string;
667
+ modified_by: string;
668
+ parent: string;
669
+ parentfield: string;
670
+ parenttype: string;
671
+ idx: number;
672
+ docstatus: number;
673
+ barcode: string;
674
+ barcode_type: string;
675
+ supplier: string;
676
+ }[];
540
677
  customer_items: any[];
678
+ custom_certifications: {
679
+ name: string;
680
+ doctype: string;
681
+ owner: string;
682
+ creation: string;
683
+ modified: string;
684
+ modified_by: string;
685
+ parent: string;
686
+ parentfield: string;
687
+ parenttype: string;
688
+ idx: number;
689
+ docstatus: number;
690
+ barcode: string;
691
+ barcode_type: string;
692
+ certification: string;
693
+ }[];
541
694
  image?: string | null | undefined;
542
695
  warehouse_category?: string | null | undefined;
543
696
  ean?: string | null | undefined;
@@ -547,9 +700,16 @@ export declare class ERPNextItem {
547
700
  shipping_height?: number | null | undefined;
548
701
  packaging_weight_cardboard?: number | null | undefined;
549
702
  packaging_weight_plastic?: number | null | undefined;
703
+ fsc_status?: string | null | undefined;
704
+ custom_fsc_type_of_wood?: string | null | undefined;
705
+ custom_fsc_product_group?: string | null | undefined;
550
706
  custom_product_version?: string | null | undefined;
551
707
  custom_supplier?: string | null | undefined;
708
+ purchase_description?: string | null | undefined;
552
709
  custom_stock_reserve?: number | null | undefined;
710
+ custom_sales_category?: string | null | undefined;
711
+ custom_shopify_content_configuration?: string | null | undefined;
712
+ custom_compliance?: string | null | undefined;
553
713
  }>;
554
714
  deleteById: ({ resourceId, priority, }: {
555
715
  resourceId: string;
@@ -605,13 +765,15 @@ export declare class ERPNextItem {
605
765
  has_serial_no: number;
606
766
  has_variants: number;
607
767
  variant_based_on: string;
608
- is_purchase_item: number;
609
768
  min_order_qty: number;
610
769
  safety_stock: number;
770
+ is_purchase_item: number;
771
+ custom_include_in_purchase_planning: number;
611
772
  lead_time_days: number;
612
773
  last_purchase_rate: number;
613
774
  is_customer_provided_item: number;
614
775
  delivered_by_supplier: number;
776
+ fsc_percentage: number;
615
777
  sales_uom: string;
616
778
  is_sales_item: number;
617
779
  custom_is_selling_enabled: number;
@@ -672,8 +834,39 @@ export declare class ERPNextItem {
672
834
  company: string;
673
835
  default_warehouse: string;
674
836
  }[];
675
- supplier_items: any[];
837
+ supplier_items: {
838
+ name: string;
839
+ doctype: string;
840
+ owner: string;
841
+ creation: string;
842
+ modified: string;
843
+ modified_by: string;
844
+ parent: string;
845
+ parentfield: string;
846
+ parenttype: string;
847
+ idx: number;
848
+ docstatus: number;
849
+ barcode: string;
850
+ barcode_type: string;
851
+ supplier: string;
852
+ }[];
676
853
  customer_items: any[];
854
+ custom_certifications: {
855
+ name: string;
856
+ doctype: string;
857
+ owner: string;
858
+ creation: string;
859
+ modified: string;
860
+ modified_by: string;
861
+ parent: string;
862
+ parentfield: string;
863
+ parenttype: string;
864
+ idx: number;
865
+ docstatus: number;
866
+ barcode: string;
867
+ barcode_type: string;
868
+ certification: string;
869
+ }[];
677
870
  image?: string | null | undefined;
678
871
  warehouse_category?: string | null | undefined;
679
872
  ean?: string | null | undefined;
@@ -683,9 +876,16 @@ export declare class ERPNextItem {
683
876
  shipping_height?: number | null | undefined;
684
877
  packaging_weight_cardboard?: number | null | undefined;
685
878
  packaging_weight_plastic?: number | null | undefined;
879
+ fsc_status?: string | null | undefined;
880
+ custom_fsc_type_of_wood?: string | null | undefined;
881
+ custom_fsc_product_group?: string | null | undefined;
686
882
  custom_product_version?: string | null | undefined;
687
883
  custom_supplier?: string | null | undefined;
884
+ purchase_description?: string | null | undefined;
688
885
  custom_stock_reserve?: number | null | undefined;
886
+ custom_sales_category?: string | null | undefined;
887
+ custom_shopify_content_configuration?: string | null | undefined;
888
+ custom_compliance?: string | null | undefined;
689
889
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
690
890
  inputValidationModel?: TInputModel;
691
891
  body: TInput;
@@ -741,13 +941,15 @@ export declare class ERPNextItem {
741
941
  has_serial_no: number;
742
942
  has_variants: number;
743
943
  variant_based_on: string;
744
- is_purchase_item: number;
745
944
  min_order_qty: number;
746
945
  safety_stock: number;
946
+ is_purchase_item: number;
947
+ custom_include_in_purchase_planning: number;
747
948
  lead_time_days: number;
748
949
  last_purchase_rate: number;
749
950
  is_customer_provided_item: number;
750
951
  delivered_by_supplier: number;
952
+ fsc_percentage: number;
751
953
  sales_uom: string;
752
954
  is_sales_item: number;
753
955
  custom_is_selling_enabled: number;
@@ -808,8 +1010,39 @@ export declare class ERPNextItem {
808
1010
  company: string;
809
1011
  default_warehouse: string;
810
1012
  }[];
811
- supplier_items: any[];
1013
+ supplier_items: {
1014
+ name: string;
1015
+ doctype: string;
1016
+ owner: string;
1017
+ creation: string;
1018
+ modified: string;
1019
+ modified_by: string;
1020
+ parent: string;
1021
+ parentfield: string;
1022
+ parenttype: string;
1023
+ idx: number;
1024
+ docstatus: number;
1025
+ barcode: string;
1026
+ barcode_type: string;
1027
+ supplier: string;
1028
+ }[];
812
1029
  customer_items: any[];
1030
+ custom_certifications: {
1031
+ name: string;
1032
+ doctype: string;
1033
+ owner: string;
1034
+ creation: string;
1035
+ modified: string;
1036
+ modified_by: string;
1037
+ parent: string;
1038
+ parentfield: string;
1039
+ parenttype: string;
1040
+ idx: number;
1041
+ docstatus: number;
1042
+ barcode: string;
1043
+ barcode_type: string;
1044
+ certification: string;
1045
+ }[];
813
1046
  image?: string | null | undefined;
814
1047
  warehouse_category?: string | null | undefined;
815
1048
  ean?: string | null | undefined;
@@ -819,9 +1052,16 @@ export declare class ERPNextItem {
819
1052
  shipping_height?: number | null | undefined;
820
1053
  packaging_weight_cardboard?: number | null | undefined;
821
1054
  packaging_weight_plastic?: number | null | undefined;
1055
+ fsc_status?: string | null | undefined;
1056
+ custom_fsc_type_of_wood?: string | null | undefined;
1057
+ custom_fsc_product_group?: string | null | undefined;
822
1058
  custom_product_version?: string | null | undefined;
823
1059
  custom_supplier?: string | null | undefined;
1060
+ purchase_description?: string | null | undefined;
824
1061
  custom_stock_reserve?: number | null | undefined;
1062
+ custom_sales_category?: string | null | undefined;
1063
+ custom_shopify_content_configuration?: string | null | undefined;
1064
+ custom_compliance?: string | null | undefined;
825
1065
  }>;
826
1066
  constructor(temporalClient: TemporalClient);
827
1067
  getNoneStockItems(params?: Record<string, string>): Promise<string[]>;
@@ -0,0 +1,160 @@
1
+ import { z } from "zod";
2
+ export declare const ComplianceStandard: z.ZodObject<{
3
+ name: z.ZodString;
4
+ owner: z.ZodString;
5
+ creation: z.ZodString;
6
+ modified: z.ZodString;
7
+ modified_by: z.ZodString;
8
+ docstatus: z.ZodNumber;
9
+ idx: z.ZodNumber;
10
+ title: z.ZodString;
11
+ parent: z.ZodString;
12
+ parentfield: z.ZodString;
13
+ parenttype: z.ZodString;
14
+ doctype: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ name: string;
17
+ doctype: string;
18
+ owner: string;
19
+ creation: string;
20
+ modified: string;
21
+ modified_by: string;
22
+ parent: string;
23
+ parentfield: string;
24
+ parenttype: string;
25
+ idx: number;
26
+ docstatus: number;
27
+ title: string;
28
+ }, {
29
+ name: string;
30
+ doctype: string;
31
+ owner: string;
32
+ creation: string;
33
+ modified: string;
34
+ modified_by: string;
35
+ parent: string;
36
+ parentfield: string;
37
+ parenttype: string;
38
+ idx: number;
39
+ docstatus: number;
40
+ title: string;
41
+ }>;
42
+ export type ComplianceStandardType = z.infer<typeof ComplianceStandard>;
43
+ export declare const Compliance: z.ZodObject<{
44
+ name: z.ZodString;
45
+ owner: z.ZodString;
46
+ creation: z.ZodString;
47
+ modified: z.ZodString;
48
+ modified_by: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
+ docstatus: z.ZodNumber;
50
+ idx: z.ZodNumber;
51
+ title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
52
+ standards: z.ZodArray<z.ZodObject<{
53
+ name: z.ZodString;
54
+ owner: z.ZodString;
55
+ creation: z.ZodString;
56
+ modified: z.ZodString;
57
+ modified_by: z.ZodString;
58
+ docstatus: z.ZodNumber;
59
+ idx: z.ZodNumber;
60
+ title: z.ZodString;
61
+ parent: z.ZodString;
62
+ parentfield: z.ZodString;
63
+ parenttype: z.ZodString;
64
+ doctype: z.ZodString;
65
+ }, "strip", z.ZodTypeAny, {
66
+ name: string;
67
+ doctype: string;
68
+ owner: string;
69
+ creation: string;
70
+ modified: string;
71
+ modified_by: string;
72
+ parent: string;
73
+ parentfield: string;
74
+ parenttype: string;
75
+ idx: number;
76
+ docstatus: number;
77
+ title: string;
78
+ }, {
79
+ name: string;
80
+ doctype: string;
81
+ owner: string;
82
+ creation: string;
83
+ modified: string;
84
+ modified_by: string;
85
+ parent: string;
86
+ parentfield: string;
87
+ parenttype: string;
88
+ idx: number;
89
+ docstatus: number;
90
+ title: string;
91
+ }>, "many">;
92
+ notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
93
+ is_conforming: z.ZodNumber;
94
+ ce_relevant: z.ZodNumber;
95
+ ce_marking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
96
+ declaration_of_conformity: z.ZodNullable<z.ZodOptional<z.ZodString>>;
97
+ warning_notice: z.ZodNullable<z.ZodOptional<z.ZodString>>;
98
+ doctype: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ name: string;
101
+ doctype: string;
102
+ owner: string;
103
+ creation: string;
104
+ modified: string;
105
+ idx: number;
106
+ docstatus: number;
107
+ standards: {
108
+ name: string;
109
+ doctype: string;
110
+ owner: string;
111
+ creation: string;
112
+ modified: string;
113
+ modified_by: string;
114
+ parent: string;
115
+ parentfield: string;
116
+ parenttype: string;
117
+ idx: number;
118
+ docstatus: number;
119
+ title: string;
120
+ }[];
121
+ is_conforming: number;
122
+ ce_relevant: number;
123
+ modified_by?: string | null | undefined;
124
+ title?: string | null | undefined;
125
+ notes?: string | null | undefined;
126
+ ce_marking?: string | null | undefined;
127
+ declaration_of_conformity?: string | null | undefined;
128
+ warning_notice?: string | null | undefined;
129
+ }, {
130
+ name: string;
131
+ doctype: string;
132
+ owner: string;
133
+ creation: string;
134
+ modified: string;
135
+ idx: number;
136
+ docstatus: number;
137
+ standards: {
138
+ name: string;
139
+ doctype: string;
140
+ owner: string;
141
+ creation: string;
142
+ modified: string;
143
+ modified_by: string;
144
+ parent: string;
145
+ parentfield: string;
146
+ parenttype: string;
147
+ idx: number;
148
+ docstatus: number;
149
+ title: string;
150
+ }[];
151
+ is_conforming: number;
152
+ ce_relevant: number;
153
+ modified_by?: string | null | undefined;
154
+ title?: string | null | undefined;
155
+ notes?: string | null | undefined;
156
+ ce_marking?: string | null | undefined;
157
+ declaration_of_conformity?: string | null | undefined;
158
+ warning_notice?: string | null | undefined;
159
+ }>;
160
+ export type ComplianceType = z.infer<typeof Compliance>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Compliance = exports.ComplianceStandard = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.ComplianceStandard = zod_1.z
6
+ .object({
7
+ name: zod_1.z.string(),
8
+ owner: zod_1.z.string(),
9
+ creation: zod_1.z.string(),
10
+ modified: zod_1.z.string(),
11
+ modified_by: zod_1.z.string(),
12
+ docstatus: zod_1.z.number(),
13
+ idx: zod_1.z.number(),
14
+ title: zod_1.z.string(),
15
+ parent: zod_1.z.string(),
16
+ parentfield: zod_1.z.string(),
17
+ parenttype: zod_1.z.string(),
18
+ doctype: zod_1.z.string(),
19
+ })
20
+ .describe("Compliance Standard");
21
+ exports.Compliance = zod_1.z
22
+ .object({
23
+ name: zod_1.z.string(),
24
+ owner: zod_1.z.string(),
25
+ creation: zod_1.z.string(),
26
+ modified: zod_1.z.string(),
27
+ modified_by: zod_1.z.string().optional().nullable(),
28
+ docstatus: zod_1.z.number(),
29
+ idx: zod_1.z.number(),
30
+ title: zod_1.z.string().optional().nullable(),
31
+ standards: zod_1.z.array(exports.ComplianceStandard),
32
+ notes: zod_1.z.string().optional().nullable(),
33
+ is_conforming: zod_1.z.number(),
34
+ ce_relevant: zod_1.z.number(),
35
+ ce_marking: zod_1.z.string().optional().nullable(),
36
+ declaration_of_conformity: zod_1.z.string().optional().nullable(),
37
+ warning_notice: zod_1.z.string().optional().nullable(),
38
+ doctype: zod_1.z.string(),
39
+ })
40
+ .describe("Compliance");