@sortsys/v2-client 0.1.21 → 0.1.23
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 +21 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2518,6 +2518,16 @@ declare const appRouter: BuiltRouter<{
|
|
|
2518
2518
|
};
|
|
2519
2519
|
meta: object;
|
|
2520
2520
|
}>;
|
|
2521
|
+
set: MutationProcedure<{
|
|
2522
|
+
input: {
|
|
2523
|
+
customerId: string;
|
|
2524
|
+
contactIds: string[];
|
|
2525
|
+
};
|
|
2526
|
+
output: {
|
|
2527
|
+
success: true;
|
|
2528
|
+
};
|
|
2529
|
+
meta: object;
|
|
2530
|
+
}>;
|
|
2521
2531
|
remove: MutationProcedure<{
|
|
2522
2532
|
input: {
|
|
2523
2533
|
customerId: string;
|
|
@@ -2550,6 +2560,7 @@ declare const appRouter: BuiltRouter<{
|
|
|
2550
2560
|
input: {
|
|
2551
2561
|
search?: string | null | undefined;
|
|
2552
2562
|
finished?: boolean | null | undefined;
|
|
2563
|
+
customerId?: string | null | undefined;
|
|
2553
2564
|
};
|
|
2554
2565
|
output: {
|
|
2555
2566
|
id: string;
|
|
@@ -3465,17 +3476,17 @@ declare const appRouter: BuiltRouter<{
|
|
|
3465
3476
|
output: (":admin" | "view:users" | "manage:users" | "delete:users" | "view:projects" | "manage:projects" | "delete:projects" | "view:projectDeployments" | "manage:projectDeployments" | "delete:projectDeployments" | "view:tools" | "manage:tools" | "delete:tools" | "view:toolTrackings" | "manage:toolTrackings" | "delete:toolTrackings" | "view:toolInventories" | "manage:toolInventories" | "delete:toolInventories" | "view:products" | "manage:products" | "delete:products" | "view:deliveryNotes" | "manage:deliveryNotes" | "delete:deliveryNotes" | "view:productVendors" | "manage:productVendors" | "delete:productVendors" | "view:contacts" | "manage:contacts" | "delete:contacts" | "view:productPriceRecords" | "manage:productPriceRecords" | "delete:productPriceRecords" | "view:customers" | "manage:customers" | "delete:customers")[];
|
|
3466
3477
|
meta: object;
|
|
3467
3478
|
}>;
|
|
3479
|
+
set: MutationProcedure<{
|
|
3480
|
+
input: {
|
|
3481
|
+
userId: string;
|
|
3482
|
+
assignments: Record<":admin" | "view:users" | "manage:users" | "delete:users" | "view:projects" | "manage:projects" | "delete:projects" | "view:projectDeployments" | "manage:projectDeployments" | "delete:projectDeployments" | "view:tools" | "manage:tools" | "delete:tools" | "view:toolTrackings" | "manage:toolTrackings" | "delete:toolTrackings" | "view:toolInventories" | "manage:toolInventories" | "delete:toolInventories" | "view:products" | "manage:products" | "delete:products" | "view:deliveryNotes" | "manage:deliveryNotes" | "delete:deliveryNotes" | "view:productVendors" | "manage:productVendors" | "delete:productVendors" | "view:contacts" | "manage:contacts" | "delete:contacts" | "view:productPriceRecords" | "manage:productPriceRecords" | "delete:productPriceRecords" | "view:customers" | "manage:customers" | "delete:customers", boolean | null | undefined>;
|
|
3483
|
+
};
|
|
3484
|
+
output: {
|
|
3485
|
+
success: true;
|
|
3486
|
+
};
|
|
3487
|
+
meta: object;
|
|
3488
|
+
}>;
|
|
3468
3489
|
}>>;
|
|
3469
|
-
setRoles: MutationProcedure<{
|
|
3470
|
-
input: {
|
|
3471
|
-
userId: string;
|
|
3472
|
-
assignments: Record<":admin" | "view:users" | "manage:users" | "delete:users" | "view:projects" | "manage:projects" | "delete:projects" | "view:projectDeployments" | "manage:projectDeployments" | "delete:projectDeployments" | "view:tools" | "manage:tools" | "delete:tools" | "view:toolTrackings" | "manage:toolTrackings" | "delete:toolTrackings" | "view:toolInventories" | "manage:toolInventories" | "delete:toolInventories" | "view:products" | "manage:products" | "delete:products" | "view:deliveryNotes" | "manage:deliveryNotes" | "delete:deliveryNotes" | "view:productVendors" | "manage:productVendors" | "delete:productVendors" | "view:contacts" | "manage:contacts" | "delete:contacts" | "view:productPriceRecords" | "manage:productPriceRecords" | "delete:productPriceRecords" | "view:customers" | "manage:customers" | "delete:customers", boolean | null | undefined>;
|
|
3473
|
-
};
|
|
3474
|
-
output: {
|
|
3475
|
-
success: true;
|
|
3476
|
-
};
|
|
3477
|
-
meta: object;
|
|
3478
|
-
}>;
|
|
3479
3490
|
}>>;
|
|
3480
3491
|
tools: BuiltRouter<{
|
|
3481
3492
|
ctx: TrpcContext;
|