@deepintel-ltd/farmpro-contracts 1.27.0 → 1.27.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.
- package/dist/routes/agents.routes.d.ts +681 -12
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +21 -1
- package/dist/routes/commodity-deals.routes.d.ts +27 -27
- package/dist/routes/farms.routes.d.ts +46 -46
- package/dist/routes/field-observations.routes.d.ts +34 -34
- package/dist/routes/invoices.routes.d.ts +39 -39
- package/dist/routes/livestock-groups.routes.d.ts +27 -27
- package/dist/routes/livestock.routes.d.ts +21 -21
- package/dist/routes/market-intelligence.routes.d.ts +8 -8
- package/dist/routes/organizations.routes.d.ts +49 -0
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/poultry.routes.d.ts +22 -22
- package/dist/routes/purchase-orders.routes.d.ts +9 -9
- package/dist/routes/subscriptions.routes.d.ts +8 -8
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/trade-cash-events.routes.d.ts +39 -39
- package/dist/routes/waybills.routes.d.ts +39 -39
- package/dist/schemas/agents.schemas.d.ts +718 -12
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +41 -0
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -18
- package/dist/schemas/farms.schemas.d.ts +51 -51
- package/dist/schemas/field-observations.schemas.d.ts +24 -24
- package/dist/schemas/invoices.schemas.d.ts +27 -27
- package/dist/schemas/livestock-groups.schemas.d.ts +20 -20
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/organizations.schemas.d.ts +42 -0
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +3 -0
- package/dist/schemas/purchase-orders.schemas.d.ts +9 -9
- package/dist/schemas/subscriptions.schemas.d.ts +6 -6
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/trade-cash-events.schemas.d.ts +27 -27
- package/dist/schemas/waybills.schemas.d.ts +27 -27
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.routes.d.ts","sourceRoot":"","sources":["../../src/routes/agents.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"agents.routes.d.ts","sourceRoot":"","sources":["../../src/routes/agents.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4QvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, updateConversationTitleRequestSchema, conversationResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
|
|
3
|
+
import { chatRequestSchema, agentChatResponseSchema, conversationHistoryResponseSchema, conversationListResponseSchema, updateConversationTitleRequestSchema, updateProposedActionStatusRequestSchema, updateProposedActionStatusResponseSchema, conversationResponseSchema, surveyGeoJsonResponseSchema, resourceConflictResponseSchema, gddTrackerResponseSchema, reorderInsightsResponseSchema, weeklyWorkOrdersResponseSchema, pestScoutingCalendarResponseSchema, harvestReadinessResponseSchema, farmBrainChatRequestSchema, farmBrainChatResponseSchema, dailyBriefingResponseSchema, farmBrainLocalizedRequestSchema, farmBrainLocalizedResponseSchema, ussdQueryRequestSchema, ussdQueryResponseSchema, } from '../schemas/agents.schemas';
|
|
4
4
|
import { jsonApiErrorResponseSchema } from '../schemas/common.schemas';
|
|
5
5
|
const c = initContract();
|
|
6
6
|
export const agentsRouter = c.router({
|
|
@@ -106,6 +106,26 @@ export const agentsRouter = c.router({
|
|
|
106
106
|
summary: 'Update conversation title',
|
|
107
107
|
description: 'Rename an existing agronomics conversation',
|
|
108
108
|
},
|
|
109
|
+
// Persist Accept / Dismiss on a Farm Brain proposed action
|
|
110
|
+
updateProposedActionStatus: {
|
|
111
|
+
method: 'PATCH',
|
|
112
|
+
path: '/farms/:farmId/agents/conversations/:conversationId/actions/:actionId',
|
|
113
|
+
pathParams: z.object({
|
|
114
|
+
farmId: z.string().uuid(),
|
|
115
|
+
conversationId: z.string().uuid(),
|
|
116
|
+
actionId: z.string().min(1).max(200),
|
|
117
|
+
}),
|
|
118
|
+
body: updateProposedActionStatusRequestSchema,
|
|
119
|
+
responses: {
|
|
120
|
+
200: updateProposedActionStatusResponseSchema,
|
|
121
|
+
400: jsonApiErrorResponseSchema,
|
|
122
|
+
401: jsonApiErrorResponseSchema,
|
|
123
|
+
404: jsonApiErrorResponseSchema,
|
|
124
|
+
500: jsonApiErrorResponseSchema,
|
|
125
|
+
},
|
|
126
|
+
summary: 'Accept or dismiss a proposed agent action',
|
|
127
|
+
description: 'Records the outcome of a supervised Farm Brain action so it shows as accepted/dismissed on every device. The client performs the action itself (create task, log expense…) before calling this.',
|
|
128
|
+
},
|
|
109
129
|
// Generate GeoJSON from survey document
|
|
110
130
|
generateSurveyGeoJSON: {
|
|
111
131
|
method: 'POST',
|
|
@@ -147,8 +147,8 @@ export declare const commodityDealsRouter: {
|
|
|
147
147
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
148
148
|
createdAt: string;
|
|
149
149
|
updatedAt: string;
|
|
150
|
-
organizationId: string;
|
|
151
150
|
currency: string;
|
|
151
|
+
organizationId: string;
|
|
152
152
|
notes: string | null;
|
|
153
153
|
invoiceId: string | null;
|
|
154
154
|
buyerName: string | null;
|
|
@@ -262,8 +262,8 @@ export declare const commodityDealsRouter: {
|
|
|
262
262
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
263
263
|
createdAt: string;
|
|
264
264
|
updatedAt: string;
|
|
265
|
-
organizationId: string;
|
|
266
265
|
currency: string;
|
|
266
|
+
organizationId: string;
|
|
267
267
|
notes: string | null;
|
|
268
268
|
invoiceId: string | null;
|
|
269
269
|
buyerName: string | null;
|
|
@@ -410,8 +410,8 @@ export declare const commodityDealsRouter: {
|
|
|
410
410
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
411
411
|
createdAt: string;
|
|
412
412
|
updatedAt: string;
|
|
413
|
-
organizationId: string;
|
|
414
413
|
currency: string;
|
|
414
|
+
organizationId: string;
|
|
415
415
|
notes: string | null;
|
|
416
416
|
invoiceId: string | null;
|
|
417
417
|
buyerName: string | null;
|
|
@@ -2358,8 +2358,8 @@ export declare const commodityDealsRouter: {
|
|
|
2358
2358
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
2359
2359
|
createdAt: string;
|
|
2360
2360
|
updatedAt: string;
|
|
2361
|
-
organizationId: string;
|
|
2362
2361
|
currency: string;
|
|
2362
|
+
organizationId: string;
|
|
2363
2363
|
notes: string | null;
|
|
2364
2364
|
invoiceId: string | null;
|
|
2365
2365
|
buyerName: string | null;
|
|
@@ -2473,8 +2473,8 @@ export declare const commodityDealsRouter: {
|
|
|
2473
2473
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
2474
2474
|
createdAt: string;
|
|
2475
2475
|
updatedAt: string;
|
|
2476
|
-
organizationId: string;
|
|
2477
2476
|
currency: string;
|
|
2477
|
+
organizationId: string;
|
|
2478
2478
|
notes: string | null;
|
|
2479
2479
|
invoiceId: string | null;
|
|
2480
2480
|
buyerName: string | null;
|
|
@@ -2621,8 +2621,8 @@ export declare const commodityDealsRouter: {
|
|
|
2621
2621
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
2622
2622
|
createdAt: string;
|
|
2623
2623
|
updatedAt: string;
|
|
2624
|
-
organizationId: string;
|
|
2625
2624
|
currency: string;
|
|
2625
|
+
organizationId: string;
|
|
2626
2626
|
notes: string | null;
|
|
2627
2627
|
invoiceId: string | null;
|
|
2628
2628
|
buyerName: string | null;
|
|
@@ -3187,8 +3187,8 @@ export declare const commodityDealsRouter: {
|
|
|
3187
3187
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
3188
3188
|
createdAt: string;
|
|
3189
3189
|
updatedAt: string;
|
|
3190
|
-
organizationId: string;
|
|
3191
3190
|
currency: string;
|
|
3191
|
+
organizationId: string;
|
|
3192
3192
|
notes: string | null;
|
|
3193
3193
|
invoiceId: string | null;
|
|
3194
3194
|
buyerName: string | null;
|
|
@@ -3302,8 +3302,8 @@ export declare const commodityDealsRouter: {
|
|
|
3302
3302
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
3303
3303
|
createdAt: string;
|
|
3304
3304
|
updatedAt: string;
|
|
3305
|
-
organizationId: string;
|
|
3306
3305
|
currency: string;
|
|
3306
|
+
organizationId: string;
|
|
3307
3307
|
notes: string | null;
|
|
3308
3308
|
invoiceId: string | null;
|
|
3309
3309
|
buyerName: string | null;
|
|
@@ -3450,8 +3450,8 @@ export declare const commodityDealsRouter: {
|
|
|
3450
3450
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
3451
3451
|
createdAt: string;
|
|
3452
3452
|
updatedAt: string;
|
|
3453
|
-
organizationId: string;
|
|
3454
3453
|
currency: string;
|
|
3454
|
+
organizationId: string;
|
|
3455
3455
|
notes: string | null;
|
|
3456
3456
|
invoiceId: string | null;
|
|
3457
3457
|
buyerName: string | null;
|
|
@@ -4301,8 +4301,8 @@ export declare const commodityDealsRouter: {
|
|
|
4301
4301
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
4302
4302
|
createdAt: string;
|
|
4303
4303
|
updatedAt: string;
|
|
4304
|
-
organizationId: string;
|
|
4305
4304
|
currency: string;
|
|
4305
|
+
organizationId: string;
|
|
4306
4306
|
notes: string | null;
|
|
4307
4307
|
invoiceId: string | null;
|
|
4308
4308
|
buyerName: string | null;
|
|
@@ -4416,8 +4416,8 @@ export declare const commodityDealsRouter: {
|
|
|
4416
4416
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
4417
4417
|
createdAt: string;
|
|
4418
4418
|
updatedAt: string;
|
|
4419
|
-
organizationId: string;
|
|
4420
4419
|
currency: string;
|
|
4420
|
+
organizationId: string;
|
|
4421
4421
|
notes: string | null;
|
|
4422
4422
|
invoiceId: string | null;
|
|
4423
4423
|
buyerName: string | null;
|
|
@@ -4564,8 +4564,8 @@ export declare const commodityDealsRouter: {
|
|
|
4564
4564
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
4565
4565
|
createdAt: string;
|
|
4566
4566
|
updatedAt: string;
|
|
4567
|
-
organizationId: string;
|
|
4568
4567
|
currency: string;
|
|
4568
|
+
organizationId: string;
|
|
4569
4569
|
notes: string | null;
|
|
4570
4570
|
invoiceId: string | null;
|
|
4571
4571
|
buyerName: string | null;
|
|
@@ -5326,8 +5326,8 @@ export declare const commodityDealsRouter: {
|
|
|
5326
5326
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
5327
5327
|
createdAt: string;
|
|
5328
5328
|
updatedAt: string;
|
|
5329
|
-
organizationId: string;
|
|
5330
5329
|
currency: string;
|
|
5330
|
+
organizationId: string;
|
|
5331
5331
|
notes: string | null;
|
|
5332
5332
|
invoiceId: string | null;
|
|
5333
5333
|
buyerName: string | null;
|
|
@@ -5441,8 +5441,8 @@ export declare const commodityDealsRouter: {
|
|
|
5441
5441
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
5442
5442
|
createdAt: string;
|
|
5443
5443
|
updatedAt: string;
|
|
5444
|
-
organizationId: string;
|
|
5445
5444
|
currency: string;
|
|
5445
|
+
organizationId: string;
|
|
5446
5446
|
notes: string | null;
|
|
5447
5447
|
invoiceId: string | null;
|
|
5448
5448
|
buyerName: string | null;
|
|
@@ -5589,8 +5589,8 @@ export declare const commodityDealsRouter: {
|
|
|
5589
5589
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
5590
5590
|
createdAt: string;
|
|
5591
5591
|
updatedAt: string;
|
|
5592
|
-
organizationId: string;
|
|
5593
5592
|
currency: string;
|
|
5593
|
+
organizationId: string;
|
|
5594
5594
|
notes: string | null;
|
|
5595
5595
|
invoiceId: string | null;
|
|
5596
5596
|
buyerName: string | null;
|
|
@@ -6352,8 +6352,8 @@ export declare const commodityDealsRouter: {
|
|
|
6352
6352
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
6353
6353
|
createdAt: string;
|
|
6354
6354
|
updatedAt: string;
|
|
6355
|
-
organizationId: string;
|
|
6356
6355
|
currency: string;
|
|
6356
|
+
organizationId: string;
|
|
6357
6357
|
notes: string | null;
|
|
6358
6358
|
invoiceId: string | null;
|
|
6359
6359
|
buyerName: string | null;
|
|
@@ -6467,8 +6467,8 @@ export declare const commodityDealsRouter: {
|
|
|
6467
6467
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
6468
6468
|
createdAt: string;
|
|
6469
6469
|
updatedAt: string;
|
|
6470
|
-
organizationId: string;
|
|
6471
6470
|
currency: string;
|
|
6471
|
+
organizationId: string;
|
|
6472
6472
|
notes: string | null;
|
|
6473
6473
|
invoiceId: string | null;
|
|
6474
6474
|
buyerName: string | null;
|
|
@@ -6615,8 +6615,8 @@ export declare const commodityDealsRouter: {
|
|
|
6615
6615
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
6616
6616
|
createdAt: string;
|
|
6617
6617
|
updatedAt: string;
|
|
6618
|
-
organizationId: string;
|
|
6619
6618
|
currency: string;
|
|
6619
|
+
organizationId: string;
|
|
6620
6620
|
notes: string | null;
|
|
6621
6621
|
invoiceId: string | null;
|
|
6622
6622
|
buyerName: string | null;
|
|
@@ -7337,8 +7337,8 @@ export declare const commodityDealsRouter: {
|
|
|
7337
7337
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
7338
7338
|
createdAt: string;
|
|
7339
7339
|
updatedAt: string;
|
|
7340
|
-
organizationId: string;
|
|
7341
7340
|
currency: string;
|
|
7341
|
+
organizationId: string;
|
|
7342
7342
|
notes: string | null;
|
|
7343
7343
|
invoiceId: string | null;
|
|
7344
7344
|
buyerName: string | null;
|
|
@@ -7452,8 +7452,8 @@ export declare const commodityDealsRouter: {
|
|
|
7452
7452
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
7453
7453
|
createdAt: string;
|
|
7454
7454
|
updatedAt: string;
|
|
7455
|
-
organizationId: string;
|
|
7456
7455
|
currency: string;
|
|
7456
|
+
organizationId: string;
|
|
7457
7457
|
notes: string | null;
|
|
7458
7458
|
invoiceId: string | null;
|
|
7459
7459
|
buyerName: string | null;
|
|
@@ -7600,8 +7600,8 @@ export declare const commodityDealsRouter: {
|
|
|
7600
7600
|
status: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced";
|
|
7601
7601
|
createdAt: string;
|
|
7602
7602
|
updatedAt: string;
|
|
7603
|
-
organizationId: string;
|
|
7604
7603
|
currency: string;
|
|
7604
|
+
organizationId: string;
|
|
7605
7605
|
notes: string | null;
|
|
7606
7606
|
invoiceId: string | null;
|
|
7607
7607
|
buyerName: string | null;
|
|
@@ -8145,8 +8145,8 @@ export declare const commodityDealsRouter: {
|
|
|
8145
8145
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8146
8146
|
createdAt: string;
|
|
8147
8147
|
updatedAt: string;
|
|
8148
|
-
organizationId: string;
|
|
8149
8148
|
currency: string;
|
|
8149
|
+
organizationId: string;
|
|
8150
8150
|
amount: number;
|
|
8151
8151
|
dealId: string;
|
|
8152
8152
|
description?: string | null | undefined;
|
|
@@ -8172,8 +8172,8 @@ export declare const commodityDealsRouter: {
|
|
|
8172
8172
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8173
8173
|
createdAt: string;
|
|
8174
8174
|
updatedAt: string;
|
|
8175
|
-
organizationId: string;
|
|
8176
8175
|
currency: string;
|
|
8176
|
+
organizationId: string;
|
|
8177
8177
|
amount: number;
|
|
8178
8178
|
dealId: string;
|
|
8179
8179
|
description?: string | null | undefined;
|
|
@@ -8232,8 +8232,8 @@ export declare const commodityDealsRouter: {
|
|
|
8232
8232
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8233
8233
|
createdAt: string;
|
|
8234
8234
|
updatedAt: string;
|
|
8235
|
-
organizationId: string;
|
|
8236
8235
|
currency: string;
|
|
8236
|
+
organizationId: string;
|
|
8237
8237
|
amount: number;
|
|
8238
8238
|
dealId: string;
|
|
8239
8239
|
description?: string | null | undefined;
|
|
@@ -8653,8 +8653,8 @@ export declare const commodityDealsRouter: {
|
|
|
8653
8653
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8654
8654
|
createdAt: string;
|
|
8655
8655
|
updatedAt: string;
|
|
8656
|
-
organizationId: string;
|
|
8657
8656
|
currency: string;
|
|
8657
|
+
organizationId: string;
|
|
8658
8658
|
amount: number;
|
|
8659
8659
|
dealId: string;
|
|
8660
8660
|
description?: string | null | undefined;
|
|
@@ -8680,8 +8680,8 @@ export declare const commodityDealsRouter: {
|
|
|
8680
8680
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8681
8681
|
createdAt: string;
|
|
8682
8682
|
updatedAt: string;
|
|
8683
|
-
organizationId: string;
|
|
8684
8683
|
currency: string;
|
|
8684
|
+
organizationId: string;
|
|
8685
8685
|
amount: number;
|
|
8686
8686
|
dealId: string;
|
|
8687
8687
|
description?: string | null | undefined;
|
|
@@ -8740,8 +8740,8 @@ export declare const commodityDealsRouter: {
|
|
|
8740
8740
|
type: "other" | "inspection" | "finance" | "storage" | "handling" | "bagging" | "shrinkage";
|
|
8741
8741
|
createdAt: string;
|
|
8742
8742
|
updatedAt: string;
|
|
8743
|
-
organizationId: string;
|
|
8744
8743
|
currency: string;
|
|
8744
|
+
organizationId: string;
|
|
8745
8745
|
amount: number;
|
|
8746
8746
|
dealId: string;
|
|
8747
8747
|
description?: string | null | undefined;
|