@dakkitor/api-contracts 1.1.8 → 1.1.9
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.
|
@@ -147,14 +147,14 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
147
147
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
|
|
148
148
|
director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
149
149
|
createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
150
|
-
from: z.ZodOptional<z.ZodString
|
|
151
|
-
to: z.ZodOptional<z.ZodString
|
|
150
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
from?: string | undefined;
|
|
154
|
-
to?: string | undefined;
|
|
153
|
+
from?: string | null | undefined;
|
|
154
|
+
to?: string | null | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
from?: string | undefined;
|
|
157
|
-
to?: string | undefined;
|
|
156
|
+
from?: string | null | undefined;
|
|
157
|
+
to?: string | null | undefined;
|
|
158
158
|
}>>>;
|
|
159
159
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
|
|
160
160
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
@@ -163,8 +163,8 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
163
163
|
page: number;
|
|
164
164
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
165
165
|
createdAt?: {
|
|
166
|
-
from?: string | undefined;
|
|
167
|
-
to?: string | undefined;
|
|
166
|
+
from?: string | null | undefined;
|
|
167
|
+
to?: string | null | undefined;
|
|
168
168
|
} | null | undefined;
|
|
169
169
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
170
170
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
@@ -174,8 +174,8 @@ export declare const FilterClientSchema: z.ZodObject<{
|
|
|
174
174
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
175
175
|
limit?: number | undefined;
|
|
176
176
|
createdAt?: {
|
|
177
|
-
from?: string | undefined;
|
|
178
|
-
to?: string | undefined;
|
|
177
|
+
from?: string | null | undefined;
|
|
178
|
+
to?: string | null | undefined;
|
|
179
179
|
} | null | undefined;
|
|
180
180
|
page?: number | undefined;
|
|
181
181
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
@@ -587,14 +587,14 @@ export declare const clientsContractRouter: {
|
|
|
587
587
|
status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
|
|
588
588
|
director: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
589
589
|
createdAt: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
590
|
-
from: z.ZodOptional<z.ZodString
|
|
591
|
-
to: z.ZodOptional<z.ZodString
|
|
590
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
from?: string | undefined;
|
|
594
|
-
to?: string | undefined;
|
|
593
|
+
from?: string | null | undefined;
|
|
594
|
+
to?: string | null | undefined;
|
|
595
595
|
}, {
|
|
596
|
-
from?: string | undefined;
|
|
597
|
-
to?: string | undefined;
|
|
596
|
+
from?: string | null | undefined;
|
|
597
|
+
to?: string | null | undefined;
|
|
598
598
|
}>>>;
|
|
599
599
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
|
|
600
600
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
@@ -603,8 +603,8 @@ export declare const clientsContractRouter: {
|
|
|
603
603
|
page: number;
|
|
604
604
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
605
605
|
createdAt?: {
|
|
606
|
-
from?: string | undefined;
|
|
607
|
-
to?: string | undefined;
|
|
606
|
+
from?: string | null | undefined;
|
|
607
|
+
to?: string | null | undefined;
|
|
608
608
|
} | null | undefined;
|
|
609
609
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
610
610
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
@@ -614,8 +614,8 @@ export declare const clientsContractRouter: {
|
|
|
614
614
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
615
615
|
limit?: number | undefined;
|
|
616
616
|
createdAt?: {
|
|
617
|
-
from?: string | undefined;
|
|
618
|
-
to?: string | undefined;
|
|
617
|
+
from?: string | null | undefined;
|
|
618
|
+
to?: string | null | undefined;
|
|
619
619
|
} | null | undefined;
|
|
620
620
|
page?: number | undefined;
|
|
621
621
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clients.contract.d.ts","sourceRoot":"","sources":["../../contracts/clients/clients.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,kBAAkB,gEAEa,CAAC;AAEtC,QAAA,MAAM,eAAe,4BAA0D,CAAC;AAEhF,QAAA,MAAM,0BAA0B,2DAEa,CAAC;
|
|
1
|
+
{"version":3,"file":"clients.contract.d.ts","sourceRoot":"","sources":["../../contracts/clients/clients.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,kBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FjC,CAAC"}
|
|
@@ -16,8 +16,16 @@ const ClientSortableFieldsSchema = zod_1.z
|
|
|
16
16
|
.openapi({ title: 'ClientSortableFields' });
|
|
17
17
|
const DateRangeSchema = zod_1.z
|
|
18
18
|
.object({
|
|
19
|
-
from: zod_1.z
|
|
20
|
-
|
|
19
|
+
from: zod_1.z
|
|
20
|
+
.string()
|
|
21
|
+
.date()
|
|
22
|
+
.nullish()
|
|
23
|
+
.describe('Start of the date range (inclusive).'),
|
|
24
|
+
to: zod_1.z
|
|
25
|
+
.string()
|
|
26
|
+
.date()
|
|
27
|
+
.nullish()
|
|
28
|
+
.describe('End of the date range (inclusive).'),
|
|
21
29
|
})
|
|
22
30
|
.openapi({ title: 'DateRange' });
|
|
23
31
|
exports.ClientUserSchema = zod_1.z.object({
|
package/dist/index.d.ts
CHANGED
|
@@ -1459,14 +1459,14 @@ export declare const apiContractRouter: {
|
|
|
1459
1459
|
status: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEnum<["APPROVED", "PENDING_VERIFICATION", "BLACKLISTED"]>>>;
|
|
1460
1460
|
director: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1461
1461
|
createdAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1462
|
-
from: import("zod").ZodOptional<import("zod").ZodString
|
|
1463
|
-
to: import("zod").ZodOptional<import("zod").ZodString
|
|
1462
|
+
from: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1463
|
+
to: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1464
1464
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1465
|
-
from?: string | undefined;
|
|
1466
|
-
to?: string | undefined;
|
|
1465
|
+
from?: string | null | undefined;
|
|
1466
|
+
to?: string | null | undefined;
|
|
1467
1467
|
}, {
|
|
1468
|
-
from?: string | undefined;
|
|
1469
|
-
to?: string | undefined;
|
|
1468
|
+
from?: string | null | undefined;
|
|
1469
|
+
to?: string | null | undefined;
|
|
1470
1470
|
}>>>;
|
|
1471
1471
|
sortBy: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEnum<["name", "director", "createdAt", "updatedAt"]>>>;
|
|
1472
1472
|
sortOrder: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEnum<["ASC", "DESC"]>>>;
|
|
@@ -1475,8 +1475,8 @@ export declare const apiContractRouter: {
|
|
|
1475
1475
|
page: number;
|
|
1476
1476
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
1477
1477
|
createdAt?: {
|
|
1478
|
-
from?: string | undefined;
|
|
1479
|
-
to?: string | undefined;
|
|
1478
|
+
from?: string | null | undefined;
|
|
1479
|
+
to?: string | null | undefined;
|
|
1480
1480
|
} | null | undefined;
|
|
1481
1481
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|
|
1482
1482
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
@@ -1486,8 +1486,8 @@ export declare const apiContractRouter: {
|
|
|
1486
1486
|
status?: "APPROVED" | "PENDING_VERIFICATION" | "BLACKLISTED" | null | undefined;
|
|
1487
1487
|
limit?: number | undefined;
|
|
1488
1488
|
createdAt?: {
|
|
1489
|
-
from?: string | undefined;
|
|
1490
|
-
to?: string | undefined;
|
|
1489
|
+
from?: string | null | undefined;
|
|
1490
|
+
to?: string | null | undefined;
|
|
1491
1491
|
} | null | undefined;
|
|
1492
1492
|
page?: number | undefined;
|
|
1493
1493
|
sortBy?: "createdAt" | "updatedAt" | "name" | "director" | null | undefined;
|