@deepintel-ltd/farmpro-contracts 1.24.3 → 1.25.1

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const farmEnterprisesRouter: {
3
- getEffectiveWorkspacePacks: {
3
+ getAvailableWorkspaces: {
4
4
  pathParams: z.ZodObject<{
5
5
  farmId: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
@@ -8,32 +8,14 @@ export declare const farmEnterprisesRouter: {
8
8
  }, {
9
9
  farmId: string;
10
10
  }>;
11
- summary: "Effective packs the current user may switch into for this farm";
12
- description: "Intersection of farm-enabled enterprises and user grants, plus Commodity Trade when org-enabled and granted.";
11
+ summary: "Workspaces the current user may switch into for this farm";
12
+ description: "Farm packs the user is granted (enabled ∩ grants) plus Commodity Trade when org-enabled and granted.";
13
13
  method: "GET";
14
14
  path: "/farms/:farmId/effective-workspace";
15
15
  responses: {
16
16
  200: z.ZodObject<{
17
17
  data: z.ZodObject<{
18
- farmId: z.ZodString;
19
- organizationId: z.ZodNullable<z.ZodString>;
20
- enabledFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
21
- grantedFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
22
- effectiveFarmPacks: z.ZodArray<z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>, "many">;
23
- trade: z.ZodObject<{
24
- enabled: z.ZodBoolean;
25
- granted: z.ZodBoolean;
26
- effective: z.ZodBoolean;
27
- }, "strip", z.ZodTypeAny, {
28
- enabled: boolean;
29
- granted: boolean;
30
- effective: boolean;
31
- }, {
32
- enabled: boolean;
33
- granted: boolean;
34
- effective: boolean;
35
- }>;
36
- effectiveWorkspaces: z.ZodArray<z.ZodUnion<[z.ZodObject<{
18
+ workspaces: z.ZodArray<z.ZodUnion<[z.ZodObject<{
37
19
  kind: z.ZodLiteral<"farm">;
38
20
  pack: z.ZodEnum<["CROPS", "POULTRY", "AQUACULTURE", "CATTLE", "GOAT"]>;
39
21
  }, "strip", z.ZodTypeAny, {
@@ -50,34 +32,14 @@ export declare const farmEnterprisesRouter: {
50
32
  kind: "trade";
51
33
  }>]>, "many">;
52
34
  }, "strip", z.ZodTypeAny, {
53
- organizationId: string | null;
54
- farmId: string;
55
- enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
56
- grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
57
- effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
58
- trade: {
59
- enabled: boolean;
60
- granted: boolean;
61
- effective: boolean;
62
- };
63
- effectiveWorkspaces: ({
35
+ workspaces: ({
64
36
  kind: "farm";
65
37
  pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
66
38
  } | {
67
39
  kind: "trade";
68
40
  })[];
69
41
  }, {
70
- organizationId: string | null;
71
- farmId: string;
72
- enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
73
- grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
74
- effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
75
- trade: {
76
- enabled: boolean;
77
- granted: boolean;
78
- effective: boolean;
79
- };
80
- effectiveWorkspaces: ({
42
+ workspaces: ({
81
43
  kind: "farm";
82
44
  pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
83
45
  } | {
@@ -86,17 +48,7 @@ export declare const farmEnterprisesRouter: {
86
48
  }>;
87
49
  }, "strip", z.ZodTypeAny, {
88
50
  data: {
89
- organizationId: string | null;
90
- farmId: string;
91
- enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
92
- grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
93
- effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
94
- trade: {
95
- enabled: boolean;
96
- granted: boolean;
97
- effective: boolean;
98
- };
99
- effectiveWorkspaces: ({
51
+ workspaces: ({
100
52
  kind: "farm";
101
53
  pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
102
54
  } | {
@@ -105,17 +57,7 @@ export declare const farmEnterprisesRouter: {
105
57
  };
106
58
  }, {
107
59
  data: {
108
- organizationId: string | null;
109
- farmId: string;
110
- enabledFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
111
- grantedFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
112
- effectiveFarmPacks: ("CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT")[];
113
- trade: {
114
- enabled: boolean;
115
- granted: boolean;
116
- effective: boolean;
117
- };
118
- effectiveWorkspaces: ({
60
+ workspaces: ({
119
61
  kind: "farm";
120
62
  pack: "CROPS" | "POULTRY" | "AQUACULTURE" | "CATTLE" | "GOAT";
121
63
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"farm-enterprises.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farm-enterprises.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEhC,CAAC"}
@@ -1,24 +1,24 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { createFarmEnterpriseSchema, effectiveWorkspacePacksResponseSchema, farmEnterpriseListResponseSchema, farmEnterpriseResponseSchema, replaceFarmEnterprisesSchema, } from '../schemas/farm-enterprises.schemas';
3
+ import { availableWorkspacesResponseSchema, createFarmEnterpriseSchema, farmEnterpriseListResponseSchema, farmEnterpriseResponseSchema, replaceFarmEnterprisesSchema, } from '../schemas/farm-enterprises.schemas';
4
4
  import { jsonApiErrorResponseSchema, idParamSchema, } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  const farmIdParamSchema = z.object({
7
7
  farmId: z.string().uuid(),
8
8
  });
9
9
  export const farmEnterprisesRouter = c.router({
10
- getEffectiveWorkspacePacks: {
10
+ getAvailableWorkspaces: {
11
11
  method: 'GET',
12
12
  path: '/farms/:farmId/effective-workspace',
13
13
  pathParams: farmIdParamSchema,
14
14
  responses: {
15
- 200: effectiveWorkspacePacksResponseSchema,
15
+ 200: availableWorkspacesResponseSchema,
16
16
  401: jsonApiErrorResponseSchema,
17
17
  403: jsonApiErrorResponseSchema,
18
18
  404: jsonApiErrorResponseSchema,
19
19
  },
20
- summary: 'Effective packs the current user may switch into for this farm',
21
- description: 'Intersection of farm-enabled enterprises and user grants, plus Commodity Trade when org-enabled and granted.',
20
+ summary: 'Workspaces the current user may switch into for this farm',
21
+ description: 'Farm packs the user is granted (enabled ∩ grants) plus Commodity Trade when org-enabled and granted.',
22
22
  },
23
23
  listFarmEnterprises: {
24
24
  method: 'GET',
@@ -10,15 +10,18 @@ export declare const purchaseOrdersRouter: {
10
10
  }>;
11
11
  query: z.ZodObject<{
12
12
  status: z.ZodOptional<z.ZodEnum<["draft", "ordered", "received", "cancelled"]>>;
13
+ dealId: z.ZodOptional<z.ZodString>;
13
14
  page: z.ZodOptional<z.ZodNumber>;
14
15
  pageSize: z.ZodOptional<z.ZodNumber>;
15
16
  }, "strip", z.ZodTypeAny, {
16
17
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
17
18
  pageSize?: number | undefined;
19
+ dealId?: string | undefined;
18
20
  page?: number | undefined;
19
21
  }, {
20
22
  status?: "received" | "cancelled" | "draft" | "ordered" | undefined;
21
23
  pageSize?: number | undefined;
24
+ dealId?: string | undefined;
22
25
  page?: number | undefined;
23
26
  }>;
24
27
  summary: "List purchase orders (requires COMMODITY_TRADE)";
@@ -1 +1 @@
1
- {"version":3,"file":"purchase-orders.routes.d.ts","sourceRoot":"","sources":["../../src/routes/purchase-orders.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC"}
@@ -13,6 +13,7 @@ export const purchaseOrdersRouter = c.router({
13
13
  pathParams: organizationIdParamSchema,
14
14
  query: z.object({
15
15
  status: z.enum(['draft', 'ordered', 'received', 'cancelled']).optional(),
16
+ dealId: z.string().uuid().optional(),
16
17
  page: z.coerce.number().int().positive().optional(),
17
18
  pageSize: z.coerce.number().int().positive().max(100).optional(),
18
19
  }),
@@ -62,6 +62,7 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
62
62
  isPlatformAdmin: z.ZodBoolean;
63
63
  platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
64
64
  hasPassword: z.ZodOptional<z.ZodBoolean>;
65
+ lastLoginAt: z.ZodNullable<z.ZodString>;
65
66
  } & {
66
67
  createdAt: z.ZodString;
67
68
  updatedAt: z.ZodString;
@@ -74,6 +75,7 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
74
75
  emailVerified: boolean;
75
76
  isPlatformAdmin: boolean;
76
77
  platformRole: "super_admin" | null;
78
+ lastLoginAt: string | null;
77
79
  hasPassword?: boolean | undefined;
78
80
  }, {
79
81
  email: string;
@@ -84,6 +86,7 @@ export declare const adminUserListAttributesSchema: z.ZodObject<{
84
86
  emailVerified: boolean;
85
87
  isPlatformAdmin: boolean;
86
88
  platformRole: "super_admin" | null;
89
+ lastLoginAt: string | null;
87
90
  hasPassword?: boolean | undefined;
88
91
  }>;
89
92
  export declare const adminUserListResourceSchema: z.ZodObject<{
@@ -97,6 +100,7 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
97
100
  isPlatformAdmin: z.ZodBoolean;
98
101
  platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
99
102
  hasPassword: z.ZodOptional<z.ZodBoolean>;
103
+ lastLoginAt: z.ZodNullable<z.ZodString>;
100
104
  } & {
101
105
  createdAt: z.ZodString;
102
106
  updatedAt: z.ZodString;
@@ -109,6 +113,7 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
109
113
  emailVerified: boolean;
110
114
  isPlatformAdmin: boolean;
111
115
  platformRole: "super_admin" | null;
116
+ lastLoginAt: string | null;
112
117
  hasPassword?: boolean | undefined;
113
118
  }, {
114
119
  email: string;
@@ -119,6 +124,7 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
119
124
  emailVerified: boolean;
120
125
  isPlatformAdmin: boolean;
121
126
  platformRole: "super_admin" | null;
127
+ lastLoginAt: string | null;
122
128
  hasPassword?: boolean | undefined;
123
129
  }>;
124
130
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -136,6 +142,7 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
136
142
  emailVerified: boolean;
137
143
  isPlatformAdmin: boolean;
138
144
  platformRole: "super_admin" | null;
145
+ lastLoginAt: string | null;
139
146
  hasPassword?: boolean | undefined;
140
147
  };
141
148
  relationships?: Record<string, unknown> | undefined;
@@ -153,6 +160,7 @@ export declare const adminUserListResourceSchema: z.ZodObject<{
153
160
  emailVerified: boolean;
154
161
  isPlatformAdmin: boolean;
155
162
  platformRole: "super_admin" | null;
163
+ lastLoginAt: string | null;
156
164
  hasPassword?: boolean | undefined;
157
165
  };
158
166
  relationships?: Record<string, unknown> | undefined;
@@ -171,6 +179,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
171
179
  isPlatformAdmin: z.ZodBoolean;
172
180
  platformRole: z.ZodNullable<z.ZodEnum<["super_admin"]>>;
173
181
  hasPassword: z.ZodOptional<z.ZodBoolean>;
182
+ lastLoginAt: z.ZodNullable<z.ZodString>;
174
183
  } & {
175
184
  createdAt: z.ZodString;
176
185
  updatedAt: z.ZodString;
@@ -183,6 +192,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
183
192
  emailVerified: boolean;
184
193
  isPlatformAdmin: boolean;
185
194
  platformRole: "super_admin" | null;
195
+ lastLoginAt: string | null;
186
196
  hasPassword?: boolean | undefined;
187
197
  }, {
188
198
  email: string;
@@ -193,6 +203,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
193
203
  emailVerified: boolean;
194
204
  isPlatformAdmin: boolean;
195
205
  platformRole: "super_admin" | null;
206
+ lastLoginAt: string | null;
196
207
  hasPassword?: boolean | undefined;
197
208
  }>;
198
209
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -210,6 +221,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
210
221
  emailVerified: boolean;
211
222
  isPlatformAdmin: boolean;
212
223
  platformRole: "super_admin" | null;
224
+ lastLoginAt: string | null;
213
225
  hasPassword?: boolean | undefined;
214
226
  };
215
227
  relationships?: Record<string, unknown> | undefined;
@@ -227,6 +239,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
227
239
  emailVerified: boolean;
228
240
  isPlatformAdmin: boolean;
229
241
  platformRole: "super_admin" | null;
242
+ lastLoginAt: string | null;
230
243
  hasPassword?: boolean | undefined;
231
244
  };
232
245
  relationships?: Record<string, unknown> | undefined;
@@ -286,6 +299,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
286
299
  emailVerified: boolean;
287
300
  isPlatformAdmin: boolean;
288
301
  platformRole: "super_admin" | null;
302
+ lastLoginAt: string | null;
289
303
  hasPassword?: boolean | undefined;
290
304
  };
291
305
  relationships?: Record<string, unknown> | undefined;
@@ -320,6 +334,7 @@ export declare const adminUserListResponseSchema: z.ZodObject<{
320
334
  emailVerified: boolean;
321
335
  isPlatformAdmin: boolean;
322
336
  platformRole: "super_admin" | null;
337
+ lastLoginAt: string | null;
323
338
  hasPassword?: boolean | undefined;
324
339
  };
325
340
  relationships?: Record<string, unknown> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"admin.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/admin.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD;;GAEG;AAGH,eAAO,MAAM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M,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInD,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAepC,CAAC;AAEf,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtD,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKlD,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
@@ -20,6 +20,7 @@ export const adminUserListAttributesSchema = z
20
20
  isPlatformAdmin: z.boolean(),
21
21
  platformRole: z.enum(['super_admin']).nullable(),
22
22
  hasPassword: z.boolean().optional(),
23
+ lastLoginAt: z.string().datetime().nullable(),
23
24
  })
24
25
  .merge(timestampsSchema);
25
26
  export const adminUserListResourceSchema = createJsonApiResourceSchema('users', adminUserListAttributesSchema);
@@ -86,6 +86,12 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
86
86
  handlerUserId: z.ZodNullable<z.ZodString>;
87
87
  waybillNumber: z.ZodNullable<z.ZodString>;
88
88
  invoiceNumber: z.ZodNullable<z.ZodString>;
89
+ /** Waybill issue date (ISO) when available. */
90
+ waybillIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ /** Linked invoice issue date (ISO) when available. */
92
+ invoiceIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
+ /** Linked invoice due date (ISO) when available. */
94
+ invoiceDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
95
  buyerName: z.ZodNullable<z.ZodString>;
90
96
  purchaseCost: z.ZodNumber;
91
97
  transportCost: z.ZodNumber;
@@ -222,6 +228,9 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
222
228
  investorPool?: number | null | undefined;
223
229
  };
224
230
  supplierId?: string | null | undefined;
231
+ waybillIssueDate?: string | null | undefined;
232
+ invoiceIssueDate?: string | null | undefined;
233
+ invoiceDueDate?: string | null | undefined;
225
234
  totalWeightKg?: number | null | undefined;
226
235
  supplierName?: string | null | undefined;
227
236
  participants?: {
@@ -273,6 +282,9 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
273
282
  currency?: string | undefined;
274
283
  storageCost?: number | undefined;
275
284
  supplierId?: string | null | undefined;
285
+ waybillIssueDate?: string | null | undefined;
286
+ invoiceIssueDate?: string | null | undefined;
287
+ invoiceDueDate?: string | null | undefined;
276
288
  totalWeightKg?: number | null | undefined;
277
289
  supplierName?: string | null | undefined;
278
290
  participants?: {
@@ -620,6 +632,12 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
620
632
  handlerUserId: z.ZodNullable<z.ZodString>;
621
633
  waybillNumber: z.ZodNullable<z.ZodString>;
622
634
  invoiceNumber: z.ZodNullable<z.ZodString>;
635
+ /** Waybill issue date (ISO) when available. */
636
+ waybillIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
637
+ /** Linked invoice issue date (ISO) when available. */
638
+ invoiceIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
+ /** Linked invoice due date (ISO) when available. */
640
+ invoiceDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
623
641
  buyerName: z.ZodNullable<z.ZodString>;
624
642
  purchaseCost: z.ZodNumber;
625
643
  transportCost: z.ZodNumber;
@@ -756,6 +774,9 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
756
774
  investorPool?: number | null | undefined;
757
775
  };
758
776
  supplierId?: string | null | undefined;
777
+ waybillIssueDate?: string | null | undefined;
778
+ invoiceIssueDate?: string | null | undefined;
779
+ invoiceDueDate?: string | null | undefined;
759
780
  totalWeightKg?: number | null | undefined;
760
781
  supplierName?: string | null | undefined;
761
782
  participants?: {
@@ -807,6 +828,9 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
807
828
  currency?: string | undefined;
808
829
  storageCost?: number | undefined;
809
830
  supplierId?: string | null | undefined;
831
+ waybillIssueDate?: string | null | undefined;
832
+ invoiceIssueDate?: string | null | undefined;
833
+ invoiceDueDate?: string | null | undefined;
810
834
  totalWeightKg?: number | null | undefined;
811
835
  supplierName?: string | null | undefined;
812
836
  participants?: {
@@ -865,6 +889,9 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
865
889
  investorPool?: number | null | undefined;
866
890
  };
867
891
  supplierId?: string | null | undefined;
892
+ waybillIssueDate?: string | null | undefined;
893
+ invoiceIssueDate?: string | null | undefined;
894
+ invoiceDueDate?: string | null | undefined;
868
895
  totalWeightKg?: number | null | undefined;
869
896
  supplierName?: string | null | undefined;
870
897
  participants?: {
@@ -923,6 +950,9 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
923
950
  currency?: string | undefined;
924
951
  storageCost?: number | undefined;
925
952
  supplierId?: string | null | undefined;
953
+ waybillIssueDate?: string | null | undefined;
954
+ invoiceIssueDate?: string | null | undefined;
955
+ invoiceDueDate?: string | null | undefined;
926
956
  totalWeightKg?: number | null | undefined;
927
957
  supplierName?: string | null | undefined;
928
958
  participants?: {
@@ -951,6 +981,12 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
951
981
  handlerUserId: z.ZodNullable<z.ZodString>;
952
982
  waybillNumber: z.ZodNullable<z.ZodString>;
953
983
  invoiceNumber: z.ZodNullable<z.ZodString>;
984
+ /** Waybill issue date (ISO) when available. */
985
+ waybillIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
986
+ /** Linked invoice issue date (ISO) when available. */
987
+ invoiceIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
988
+ /** Linked invoice due date (ISO) when available. */
989
+ invoiceDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
954
990
  buyerName: z.ZodNullable<z.ZodString>;
955
991
  purchaseCost: z.ZodNumber;
956
992
  transportCost: z.ZodNumber;
@@ -1087,6 +1123,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1087
1123
  investorPool?: number | null | undefined;
1088
1124
  };
1089
1125
  supplierId?: string | null | undefined;
1126
+ waybillIssueDate?: string | null | undefined;
1127
+ invoiceIssueDate?: string | null | undefined;
1128
+ invoiceDueDate?: string | null | undefined;
1090
1129
  totalWeightKg?: number | null | undefined;
1091
1130
  supplierName?: string | null | undefined;
1092
1131
  participants?: {
@@ -1138,6 +1177,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1138
1177
  currency?: string | undefined;
1139
1178
  storageCost?: number | undefined;
1140
1179
  supplierId?: string | null | undefined;
1180
+ waybillIssueDate?: string | null | undefined;
1181
+ invoiceIssueDate?: string | null | undefined;
1182
+ invoiceDueDate?: string | null | undefined;
1141
1183
  totalWeightKg?: number | null | undefined;
1142
1184
  supplierName?: string | null | undefined;
1143
1185
  participants?: {
@@ -1196,6 +1238,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1196
1238
  investorPool?: number | null | undefined;
1197
1239
  };
1198
1240
  supplierId?: string | null | undefined;
1241
+ waybillIssueDate?: string | null | undefined;
1242
+ invoiceIssueDate?: string | null | undefined;
1243
+ invoiceDueDate?: string | null | undefined;
1199
1244
  totalWeightKg?: number | null | undefined;
1200
1245
  supplierName?: string | null | undefined;
1201
1246
  participants?: {
@@ -1254,6 +1299,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1254
1299
  currency?: string | undefined;
1255
1300
  storageCost?: number | undefined;
1256
1301
  supplierId?: string | null | undefined;
1302
+ waybillIssueDate?: string | null | undefined;
1303
+ invoiceIssueDate?: string | null | undefined;
1304
+ invoiceDueDate?: string | null | undefined;
1257
1305
  totalWeightKg?: number | null | undefined;
1258
1306
  supplierName?: string | null | undefined;
1259
1307
  participants?: {
@@ -1338,6 +1386,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1338
1386
  investorPool?: number | null | undefined;
1339
1387
  };
1340
1388
  supplierId?: string | null | undefined;
1389
+ waybillIssueDate?: string | null | undefined;
1390
+ invoiceIssueDate?: string | null | undefined;
1391
+ invoiceDueDate?: string | null | undefined;
1341
1392
  totalWeightKg?: number | null | undefined;
1342
1393
  supplierName?: string | null | undefined;
1343
1394
  participants?: {
@@ -1408,6 +1459,9 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
1408
1459
  currency?: string | undefined;
1409
1460
  storageCost?: number | undefined;
1410
1461
  supplierId?: string | null | undefined;
1462
+ waybillIssueDate?: string | null | undefined;
1463
+ invoiceIssueDate?: string | null | undefined;
1464
+ invoiceDueDate?: string | null | undefined;
1411
1465
  totalWeightKg?: number | null | undefined;
1412
1466
  supplierName?: string | null | undefined;
1413
1467
  participants?: {
@@ -1447,6 +1501,12 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1447
1501
  handlerUserId: z.ZodNullable<z.ZodString>;
1448
1502
  waybillNumber: z.ZodNullable<z.ZodString>;
1449
1503
  invoiceNumber: z.ZodNullable<z.ZodString>;
1504
+ /** Waybill issue date (ISO) when available. */
1505
+ waybillIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1506
+ /** Linked invoice issue date (ISO) when available. */
1507
+ invoiceIssueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
+ /** Linked invoice due date (ISO) when available. */
1509
+ invoiceDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1450
1510
  buyerName: z.ZodNullable<z.ZodString>;
1451
1511
  purchaseCost: z.ZodNumber;
1452
1512
  transportCost: z.ZodNumber;
@@ -1583,6 +1643,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1583
1643
  investorPool?: number | null | undefined;
1584
1644
  };
1585
1645
  supplierId?: string | null | undefined;
1646
+ waybillIssueDate?: string | null | undefined;
1647
+ invoiceIssueDate?: string | null | undefined;
1648
+ invoiceDueDate?: string | null | undefined;
1586
1649
  totalWeightKg?: number | null | undefined;
1587
1650
  supplierName?: string | null | undefined;
1588
1651
  participants?: {
@@ -1634,6 +1697,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1634
1697
  currency?: string | undefined;
1635
1698
  storageCost?: number | undefined;
1636
1699
  supplierId?: string | null | undefined;
1700
+ waybillIssueDate?: string | null | undefined;
1701
+ invoiceIssueDate?: string | null | undefined;
1702
+ invoiceDueDate?: string | null | undefined;
1637
1703
  totalWeightKg?: number | null | undefined;
1638
1704
  supplierName?: string | null | undefined;
1639
1705
  participants?: {
@@ -1692,6 +1758,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1692
1758
  investorPool?: number | null | undefined;
1693
1759
  };
1694
1760
  supplierId?: string | null | undefined;
1761
+ waybillIssueDate?: string | null | undefined;
1762
+ invoiceIssueDate?: string | null | undefined;
1763
+ invoiceDueDate?: string | null | undefined;
1695
1764
  totalWeightKg?: number | null | undefined;
1696
1765
  supplierName?: string | null | undefined;
1697
1766
  participants?: {
@@ -1750,6 +1819,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1750
1819
  currency?: string | undefined;
1751
1820
  storageCost?: number | undefined;
1752
1821
  supplierId?: string | null | undefined;
1822
+ waybillIssueDate?: string | null | undefined;
1823
+ invoiceIssueDate?: string | null | undefined;
1824
+ invoiceDueDate?: string | null | undefined;
1753
1825
  totalWeightKg?: number | null | undefined;
1754
1826
  supplierName?: string | null | undefined;
1755
1827
  participants?: {
@@ -1834,6 +1906,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1834
1906
  investorPool?: number | null | undefined;
1835
1907
  };
1836
1908
  supplierId?: string | null | undefined;
1909
+ waybillIssueDate?: string | null | undefined;
1910
+ invoiceIssueDate?: string | null | undefined;
1911
+ invoiceDueDate?: string | null | undefined;
1837
1912
  totalWeightKg?: number | null | undefined;
1838
1913
  supplierName?: string | null | undefined;
1839
1914
  participants?: {
@@ -1904,6 +1979,9 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
1904
1979
  currency?: string | undefined;
1905
1980
  storageCost?: number | undefined;
1906
1981
  supplierId?: string | null | undefined;
1982
+ waybillIssueDate?: string | null | undefined;
1983
+ invoiceIssueDate?: string | null | undefined;
1984
+ invoiceDueDate?: string | null | undefined;
1907
1985
  totalWeightKg?: number | null | undefined;
1908
1986
  supplierName?: string | null | undefined;
1909
1987
  participants?: {
@@ -1 +1 @@
1
- {"version":3,"file":"commodity-deals.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/commodity-deals.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,yBAAyB,qEAMpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,mEAI/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;IAUtC,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBtC,gFAAgF;;;;;;;;;;;;QAjClF,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCzB,CAAC;AAE3B,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc9C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;IAc9C,8DAA8D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9D,CAAC;AAEH,eAAO,M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2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,oCAAoC,CAC5C,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACjF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -48,6 +48,12 @@ export const commodityDealAttributesSchema = z
48
48
  handlerUserId: z.string().uuid().nullable(),
49
49
  waybillNumber: z.string().nullable(),
50
50
  invoiceNumber: z.string().nullable(),
51
+ /** Waybill issue date (ISO) when available. */
52
+ waybillIssueDate: z.string().datetime().nullable().optional(),
53
+ /** Linked invoice issue date (ISO) when available. */
54
+ invoiceIssueDate: z.string().datetime().nullable().optional(),
55
+ /** Linked invoice due date (ISO) when available. */
56
+ invoiceDueDate: z.string().datetime().nullable().optional(),
51
57
  buyerName: z.string().nullable(),
52
58
  purchaseCost: z.number().nonnegative(),
53
59
  transportCost: z.number().nonnegative(),