@sortsys/v2-client 0.1.30 → 0.1.32

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +79 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2853,6 +2853,18 @@ declare const appRouter: BuiltRouter<{
2853
2853
  comment: string | null;
2854
2854
  } | null;
2855
2855
  }[];
2856
+ specialRecords: {
2857
+ id: string;
2858
+ noteId: string;
2859
+ noteAutoId: number;
2860
+ effectiveTimestamp: Date;
2861
+ name: string;
2862
+ unit: string;
2863
+ amount: number;
2864
+ pricePerUnit: number | null;
2865
+ comment: string | null;
2866
+ totalCost: number;
2867
+ }[];
2856
2868
  workHours: {
2857
2869
  id: string;
2858
2870
  userId: string;
@@ -2877,6 +2889,7 @@ declare const appRouter: BuiltRouter<{
2877
2889
  totalCosts: {
2878
2890
  deliveryNotes: number;
2879
2891
  products: number;
2892
+ specialRecords: number;
2880
2893
  workHours: number;
2881
2894
  toolTrackings: number;
2882
2895
  overall: number;
@@ -3414,25 +3427,67 @@ declare const appRouter: BuiltRouter<{
3414
3427
  quantity: number;
3415
3428
  comment: string | null;
3416
3429
  }[];
3430
+ specialRecords: {
3431
+ id: string;
3432
+ noteId: string;
3433
+ name: string;
3434
+ unit: string;
3435
+ amount: number;
3436
+ pricePerUnit: number | null;
3437
+ comment: string | null;
3438
+ }[];
3417
3439
  }[];
3418
3440
  meta: object;
3419
3441
  }>;
3420
3442
  create: MutationProcedure<{
3421
3443
  input: {
3422
3444
  projectId: string;
3423
- records: {
3445
+ effectiveTimestamp?: Date | null | undefined;
3446
+ comment?: string | null | undefined;
3447
+ records?: {
3424
3448
  productId: string;
3425
3449
  quantity: number;
3426
3450
  comment?: string | null | undefined;
3427
- }[];
3428
- effectiveTimestamp?: Date | null | undefined;
3429
- comment?: string | null | undefined;
3451
+ }[] | undefined;
3452
+ specialRecords?: {
3453
+ name: string;
3454
+ unit: string;
3455
+ amount: number;
3456
+ pricePerUnit: number | null;
3457
+ comment?: string | null | undefined;
3458
+ }[] | undefined;
3430
3459
  };
3431
3460
  output: {
3432
3461
  id: string;
3433
3462
  };
3434
3463
  meta: object;
3435
3464
  }>;
3465
+ update: MutationProcedure<{
3466
+ input: {
3467
+ id: string;
3468
+ data: {
3469
+ projectId?: string | null | undefined;
3470
+ effectiveTimestamp?: Date | null | undefined;
3471
+ comment?: string | null | undefined;
3472
+ records?: {
3473
+ productId: string;
3474
+ quantity: number;
3475
+ comment?: string | null | undefined;
3476
+ }[] | null | undefined;
3477
+ specialRecords?: {
3478
+ name: string;
3479
+ unit: string;
3480
+ amount: number;
3481
+ pricePerUnit: number | null;
3482
+ comment?: string | null | undefined;
3483
+ }[] | null | undefined;
3484
+ };
3485
+ };
3486
+ output: {
3487
+ success: true;
3488
+ };
3489
+ meta: object;
3490
+ }>;
3436
3491
  get: QueryProcedure<{
3437
3492
  input: {
3438
3493
  id: string;
@@ -3454,6 +3509,15 @@ declare const appRouter: BuiltRouter<{
3454
3509
  quantity: number;
3455
3510
  comment: string | null;
3456
3511
  }[];
3512
+ specialRecords: {
3513
+ id: string;
3514
+ noteId: string;
3515
+ name: string;
3516
+ unit: string;
3517
+ amount: number;
3518
+ pricePerUnit: number | null;
3519
+ comment: string | null;
3520
+ }[];
3457
3521
  };
3458
3522
  meta: object;
3459
3523
  }>;
@@ -3503,6 +3567,15 @@ declare const appRouter: BuiltRouter<{
3503
3567
  comment: string | null;
3504
3568
  } | null;
3505
3569
  }[];
3570
+ specialRecords: {
3571
+ recordId: string;
3572
+ name: string;
3573
+ unit: string;
3574
+ amount: number;
3575
+ pricePerUnit: number | null;
3576
+ comment: string | null;
3577
+ totalCost: number;
3578
+ }[];
3506
3579
  };
3507
3580
  meta: object;
3508
3581
  }>;
@@ -3673,7 +3746,7 @@ declare const appRouter: BuiltRouter<{
3673
3746
  };
3674
3747
  output: {
3675
3748
  id: string;
3676
- userId: string;
3749
+ userId: string | null;
3677
3750
  projectId: string;
3678
3751
  day: Date;
3679
3752
  hours: number;
@@ -3689,7 +3762,7 @@ declare const appRouter: BuiltRouter<{
3689
3762
  };
3690
3763
  output: {
3691
3764
  id: string;
3692
- userId: string;
3765
+ userId: string | null;
3693
3766
  projectId: string;
3694
3767
  day: Date;
3695
3768
  hours: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortsys/v2-client",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "main": "dist/index.js",
5
5
  "devDependencies": {
6
6
  "dts-bundle-generator": "^9.5.1"