@dakkitor/api-contracts 1.1.25 → 1.1.26

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.
@@ -1221,7 +1221,7 @@ export declare const FilterActiveSchema: z.ZodObject<{
1221
1221
  page: z.ZodDefault<z.ZodNumber>;
1222
1222
  } & {
1223
1223
  workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1224
- userName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1224
+ secondAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1225
1225
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1226
1226
  from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1227
1227
  to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1284,7 +1284,7 @@ export declare const FilterActiveSchema: z.ZodObject<{
1284
1284
  maxRate?: number | null | undefined;
1285
1285
  } | null | undefined;
1286
1286
  workerName?: string | null | undefined;
1287
- userName?: string | null | undefined;
1287
+ secondAgent?: string | null | undefined;
1288
1288
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
1289
1289
  sortOrder?: "ASC" | "DESC" | null | undefined;
1290
1290
  }, {
@@ -1307,7 +1307,7 @@ export declare const FilterActiveSchema: z.ZodObject<{
1307
1307
  limit?: number | undefined;
1308
1308
  page?: number | undefined;
1309
1309
  workerName?: string | null | undefined;
1310
- userName?: string | null | undefined;
1310
+ secondAgent?: string | null | undefined;
1311
1311
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
1312
1312
  sortOrder?: "ASC" | "DESC" | null | undefined;
1313
1313
  }>;
@@ -4151,7 +4151,7 @@ export declare const activesContractRouter: {
4151
4151
  page: z.ZodDefault<z.ZodNumber>;
4152
4152
  } & {
4153
4153
  workerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4154
- userName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4154
+ secondAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4155
4155
  date: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4156
4156
  from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4157
4157
  to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4214,7 +4214,7 @@ export declare const activesContractRouter: {
4214
4214
  maxRate?: number | null | undefined;
4215
4215
  } | null | undefined;
4216
4216
  workerName?: string | null | undefined;
4217
- userName?: string | null | undefined;
4217
+ secondAgent?: string | null | undefined;
4218
4218
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
4219
4219
  sortOrder?: "ASC" | "DESC" | null | undefined;
4220
4220
  }, {
@@ -4237,7 +4237,7 @@ export declare const activesContractRouter: {
4237
4237
  limit?: number | undefined;
4238
4238
  page?: number | undefined;
4239
4239
  workerName?: string | null | undefined;
4240
- userName?: string | null | undefined;
4240
+ secondAgent?: string | null | undefined;
4241
4241
  sortBy?: "date" | "payRate" | "status" | "createdAt" | "updatedAt" | null | undefined;
4242
4242
  sortOrder?: "ASC" | "DESC" | null | undefined;
4243
4243
  }>;
@@ -121,7 +121,7 @@ exports.FilterActiveSchema = pagination_query_schema_1.PaginationQuerySchema.ext
121
121
  .optional()
122
122
  .nullable()
123
123
  .describe('Search worker by name'),
124
- userName: zod_1.z.string().optional().nullable().describe('Search second agent'),
124
+ secondAgent: zod_1.z.string().optional().nullable().describe('Search second agent'),
125
125
  date: common_schemas_1.DateRangeSchema.optional().nullable().describe('Filter by date range'),
126
126
  pay: common_schemas_1.PayRangeSchema.optional()
127
127
  .nullable()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dakkitor/api-contracts",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "TypeScript API contracts using ts-rest and Zod",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",