@deepintel-ltd/farmpro-contracts 1.20.0 → 1.20.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.
@@ -1877,6 +1877,313 @@ export declare const commodityDealsRouter: {
1877
1877
  }>;
1878
1878
  };
1879
1879
  };
1880
+ payAllStaffCommissions: {
1881
+ pathParams: z.ZodObject<{
1882
+ organizationId: z.ZodString;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ organizationId: string;
1885
+ }, {
1886
+ organizationId: string;
1887
+ }>;
1888
+ summary: "Mark all unpaid staff commissions on paid deals as paid out";
1889
+ method: "POST";
1890
+ body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1891
+ path: "/organizations/:organizationId/commodity-deals/pay-all-staff-commissions";
1892
+ responses: {
1893
+ 200: z.ZodObject<{
1894
+ data: z.ZodObject<{
1895
+ paidDealCount: z.ZodNumber;
1896
+ totalPaidOut: z.ZodNumber;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ paidDealCount: number;
1899
+ totalPaidOut: number;
1900
+ }, {
1901
+ paidDealCount: number;
1902
+ totalPaidOut: number;
1903
+ }>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ data: {
1906
+ paidDealCount: number;
1907
+ totalPaidOut: number;
1908
+ };
1909
+ }, {
1910
+ data: {
1911
+ paidDealCount: number;
1912
+ totalPaidOut: number;
1913
+ };
1914
+ }>;
1915
+ 401: z.ZodObject<{
1916
+ errors: z.ZodArray<z.ZodObject<{
1917
+ id: z.ZodOptional<z.ZodString>;
1918
+ links: z.ZodOptional<z.ZodObject<{
1919
+ about: z.ZodOptional<z.ZodString>;
1920
+ }, "strip", z.ZodTypeAny, {
1921
+ about?: string | undefined;
1922
+ }, {
1923
+ about?: string | undefined;
1924
+ }>>;
1925
+ status: z.ZodOptional<z.ZodString>;
1926
+ code: z.ZodOptional<z.ZodString>;
1927
+ title: z.ZodOptional<z.ZodString>;
1928
+ detail: z.ZodOptional<z.ZodString>;
1929
+ source: z.ZodOptional<z.ZodObject<{
1930
+ pointer: z.ZodOptional<z.ZodString>;
1931
+ parameter: z.ZodOptional<z.ZodString>;
1932
+ }, "strip", z.ZodTypeAny, {
1933
+ pointer?: string | undefined;
1934
+ parameter?: string | undefined;
1935
+ }, {
1936
+ pointer?: string | undefined;
1937
+ parameter?: string | undefined;
1938
+ }>>;
1939
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1940
+ }, "strip", z.ZodTypeAny, {
1941
+ status?: string | undefined;
1942
+ code?: string | undefined;
1943
+ id?: string | undefined;
1944
+ links?: {
1945
+ about?: string | undefined;
1946
+ } | undefined;
1947
+ meta?: Record<string, unknown> | undefined;
1948
+ title?: string | undefined;
1949
+ detail?: string | undefined;
1950
+ source?: {
1951
+ pointer?: string | undefined;
1952
+ parameter?: string | undefined;
1953
+ } | undefined;
1954
+ }, {
1955
+ status?: string | undefined;
1956
+ code?: string | undefined;
1957
+ id?: string | undefined;
1958
+ links?: {
1959
+ about?: string | undefined;
1960
+ } | undefined;
1961
+ meta?: Record<string, unknown> | undefined;
1962
+ title?: string | undefined;
1963
+ detail?: string | undefined;
1964
+ source?: {
1965
+ pointer?: string | undefined;
1966
+ parameter?: string | undefined;
1967
+ } | undefined;
1968
+ }>, "many">;
1969
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ errors: {
1972
+ status?: string | undefined;
1973
+ code?: string | undefined;
1974
+ id?: string | undefined;
1975
+ links?: {
1976
+ about?: string | undefined;
1977
+ } | undefined;
1978
+ meta?: Record<string, unknown> | undefined;
1979
+ title?: string | undefined;
1980
+ detail?: string | undefined;
1981
+ source?: {
1982
+ pointer?: string | undefined;
1983
+ parameter?: string | undefined;
1984
+ } | undefined;
1985
+ }[];
1986
+ meta?: Record<string, unknown> | undefined;
1987
+ }, {
1988
+ errors: {
1989
+ status?: string | undefined;
1990
+ code?: string | undefined;
1991
+ id?: string | undefined;
1992
+ links?: {
1993
+ about?: string | undefined;
1994
+ } | undefined;
1995
+ meta?: Record<string, unknown> | undefined;
1996
+ title?: string | undefined;
1997
+ detail?: string | undefined;
1998
+ source?: {
1999
+ pointer?: string | undefined;
2000
+ parameter?: string | undefined;
2001
+ } | undefined;
2002
+ }[];
2003
+ meta?: Record<string, unknown> | undefined;
2004
+ }>;
2005
+ 403: z.ZodObject<{
2006
+ errors: z.ZodArray<z.ZodObject<{
2007
+ id: z.ZodOptional<z.ZodString>;
2008
+ links: z.ZodOptional<z.ZodObject<{
2009
+ about: z.ZodOptional<z.ZodString>;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ about?: string | undefined;
2012
+ }, {
2013
+ about?: string | undefined;
2014
+ }>>;
2015
+ status: z.ZodOptional<z.ZodString>;
2016
+ code: z.ZodOptional<z.ZodString>;
2017
+ title: z.ZodOptional<z.ZodString>;
2018
+ detail: z.ZodOptional<z.ZodString>;
2019
+ source: z.ZodOptional<z.ZodObject<{
2020
+ pointer: z.ZodOptional<z.ZodString>;
2021
+ parameter: z.ZodOptional<z.ZodString>;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ pointer?: string | undefined;
2024
+ parameter?: string | undefined;
2025
+ }, {
2026
+ pointer?: string | undefined;
2027
+ parameter?: string | undefined;
2028
+ }>>;
2029
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2030
+ }, "strip", z.ZodTypeAny, {
2031
+ status?: string | undefined;
2032
+ code?: string | undefined;
2033
+ id?: string | undefined;
2034
+ links?: {
2035
+ about?: string | undefined;
2036
+ } | undefined;
2037
+ meta?: Record<string, unknown> | undefined;
2038
+ title?: string | undefined;
2039
+ detail?: string | undefined;
2040
+ source?: {
2041
+ pointer?: string | undefined;
2042
+ parameter?: string | undefined;
2043
+ } | undefined;
2044
+ }, {
2045
+ status?: string | undefined;
2046
+ code?: string | undefined;
2047
+ id?: string | undefined;
2048
+ links?: {
2049
+ about?: string | undefined;
2050
+ } | undefined;
2051
+ meta?: Record<string, unknown> | undefined;
2052
+ title?: string | undefined;
2053
+ detail?: string | undefined;
2054
+ source?: {
2055
+ pointer?: string | undefined;
2056
+ parameter?: string | undefined;
2057
+ } | undefined;
2058
+ }>, "many">;
2059
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2060
+ }, "strip", z.ZodTypeAny, {
2061
+ errors: {
2062
+ status?: string | undefined;
2063
+ code?: string | undefined;
2064
+ id?: string | undefined;
2065
+ links?: {
2066
+ about?: string | undefined;
2067
+ } | undefined;
2068
+ meta?: Record<string, unknown> | undefined;
2069
+ title?: string | undefined;
2070
+ detail?: string | undefined;
2071
+ source?: {
2072
+ pointer?: string | undefined;
2073
+ parameter?: string | undefined;
2074
+ } | undefined;
2075
+ }[];
2076
+ meta?: Record<string, unknown> | undefined;
2077
+ }, {
2078
+ errors: {
2079
+ status?: string | undefined;
2080
+ code?: string | undefined;
2081
+ id?: string | undefined;
2082
+ links?: {
2083
+ about?: string | undefined;
2084
+ } | undefined;
2085
+ meta?: Record<string, unknown> | undefined;
2086
+ title?: string | undefined;
2087
+ detail?: string | undefined;
2088
+ source?: {
2089
+ pointer?: string | undefined;
2090
+ parameter?: string | undefined;
2091
+ } | undefined;
2092
+ }[];
2093
+ meta?: Record<string, unknown> | undefined;
2094
+ }>;
2095
+ 404: z.ZodObject<{
2096
+ errors: z.ZodArray<z.ZodObject<{
2097
+ id: z.ZodOptional<z.ZodString>;
2098
+ links: z.ZodOptional<z.ZodObject<{
2099
+ about: z.ZodOptional<z.ZodString>;
2100
+ }, "strip", z.ZodTypeAny, {
2101
+ about?: string | undefined;
2102
+ }, {
2103
+ about?: string | undefined;
2104
+ }>>;
2105
+ status: z.ZodOptional<z.ZodString>;
2106
+ code: z.ZodOptional<z.ZodString>;
2107
+ title: z.ZodOptional<z.ZodString>;
2108
+ detail: z.ZodOptional<z.ZodString>;
2109
+ source: z.ZodOptional<z.ZodObject<{
2110
+ pointer: z.ZodOptional<z.ZodString>;
2111
+ parameter: z.ZodOptional<z.ZodString>;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ pointer?: string | undefined;
2114
+ parameter?: string | undefined;
2115
+ }, {
2116
+ pointer?: string | undefined;
2117
+ parameter?: string | undefined;
2118
+ }>>;
2119
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2120
+ }, "strip", z.ZodTypeAny, {
2121
+ status?: string | undefined;
2122
+ code?: string | undefined;
2123
+ id?: string | undefined;
2124
+ links?: {
2125
+ about?: string | undefined;
2126
+ } | undefined;
2127
+ meta?: Record<string, unknown> | undefined;
2128
+ title?: string | undefined;
2129
+ detail?: string | undefined;
2130
+ source?: {
2131
+ pointer?: string | undefined;
2132
+ parameter?: string | undefined;
2133
+ } | undefined;
2134
+ }, {
2135
+ status?: string | undefined;
2136
+ code?: string | undefined;
2137
+ id?: string | undefined;
2138
+ links?: {
2139
+ about?: string | undefined;
2140
+ } | undefined;
2141
+ meta?: Record<string, unknown> | undefined;
2142
+ title?: string | undefined;
2143
+ detail?: string | undefined;
2144
+ source?: {
2145
+ pointer?: string | undefined;
2146
+ parameter?: string | undefined;
2147
+ } | undefined;
2148
+ }>, "many">;
2149
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2150
+ }, "strip", z.ZodTypeAny, {
2151
+ errors: {
2152
+ status?: string | undefined;
2153
+ code?: string | undefined;
2154
+ id?: string | undefined;
2155
+ links?: {
2156
+ about?: string | undefined;
2157
+ } | undefined;
2158
+ meta?: Record<string, unknown> | undefined;
2159
+ title?: string | undefined;
2160
+ detail?: string | undefined;
2161
+ source?: {
2162
+ pointer?: string | undefined;
2163
+ parameter?: string | undefined;
2164
+ } | undefined;
2165
+ }[];
2166
+ meta?: Record<string, unknown> | undefined;
2167
+ }, {
2168
+ errors: {
2169
+ status?: string | undefined;
2170
+ code?: string | undefined;
2171
+ id?: string | undefined;
2172
+ links?: {
2173
+ about?: string | undefined;
2174
+ } | undefined;
2175
+ meta?: Record<string, unknown> | undefined;
2176
+ title?: string | undefined;
2177
+ detail?: string | undefined;
2178
+ source?: {
2179
+ pointer?: string | undefined;
2180
+ parameter?: string | undefined;
2181
+ } | undefined;
2182
+ }[];
2183
+ meta?: Record<string, unknown> | undefined;
2184
+ }>;
2185
+ };
2186
+ };
1880
2187
  getCommodityDeal: {
1881
2188
  pathParams: z.ZodObject<{
1882
2189
  organizationId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"commodity-deals.routes.d.ts","sourceRoot":"","sources":["../../src/routes/commodity-deals.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2L/B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { initContract } from '@ts-rest/core';
2
2
  import { z } from 'zod';
3
- import { createCommodityDealSchema, updateCommodityDealSchema, commodityDealResponseSchema, commodityDealListResponseSchema, commodityDealSummaryResponseSchema, commodityDealInsightsResponseSchema, commodityDealInsightsPeriodSchema, commodityDealStatusSchema, createDealParticipantSchema, updateDealParticipantSchema, myEarningsResponseSchema, } from '../schemas/commodity-deals.schemas';
3
+ import { createCommodityDealSchema, updateCommodityDealSchema, commodityDealResponseSchema, commodityDealListResponseSchema, commodityDealSummaryResponseSchema, commodityDealInsightsResponseSchema, commodityDealInsightsPeriodSchema, commodityDealStatusSchema, createDealParticipantSchema, updateDealParticipantSchema, myEarningsResponseSchema, payAllStaffCommissionsResponseSchema, } from '../schemas/commodity-deals.schemas';
4
4
  import { jsonApiErrorResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, } from '../schemas/common.schemas';
5
5
  const c = initContract();
6
6
  export const commodityDealsRouter = c.router({
@@ -62,6 +62,21 @@ export const commodityDealsRouter = c.router({
62
62
  },
63
63
  summary: 'Get investor earnings for the current user in an organization',
64
64
  },
65
+ payAllStaffCommissions: {
66
+ method: 'POST',
67
+ path: '/organizations/:organizationId/commodity-deals/pay-all-staff-commissions',
68
+ pathParams: z.object({
69
+ organizationId: z.string().uuid(),
70
+ }),
71
+ body: z.object({}).optional(),
72
+ responses: {
73
+ 200: payAllStaffCommissionsResponseSchema,
74
+ 401: jsonApiErrorResponseSchema,
75
+ 403: jsonApiErrorResponseSchema,
76
+ 404: jsonApiErrorResponseSchema,
77
+ },
78
+ summary: 'Mark all unpaid staff commissions on paid deals as paid out',
79
+ },
65
80
  getCommodityDeal: {
66
81
  method: 'GET',
67
82
  path: '/organizations/:organizationId/commodity-deals/:id',
@@ -1968,6 +1968,39 @@ export declare const commodityDealSummaryResponseSchema: z.ZodObject<{
1968
1968
  totalInvestorPoolOnPaidDeals?: number | undefined;
1969
1969
  };
1970
1970
  }>;
1971
+ /** Result of marking all unpaid staff commissions paid out. */
1972
+ export declare const payAllStaffCommissionsResultSchema: z.ZodObject<{
1973
+ paidDealCount: z.ZodNumber;
1974
+ totalPaidOut: z.ZodNumber;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ paidDealCount: number;
1977
+ totalPaidOut: number;
1978
+ }, {
1979
+ paidDealCount: number;
1980
+ totalPaidOut: number;
1981
+ }>;
1982
+ export declare const payAllStaffCommissionsResponseSchema: z.ZodObject<{
1983
+ data: z.ZodObject<{
1984
+ paidDealCount: z.ZodNumber;
1985
+ totalPaidOut: z.ZodNumber;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ paidDealCount: number;
1988
+ totalPaidOut: number;
1989
+ }, {
1990
+ paidDealCount: number;
1991
+ totalPaidOut: number;
1992
+ }>;
1993
+ }, "strip", z.ZodTypeAny, {
1994
+ data: {
1995
+ paidDealCount: number;
1996
+ totalPaidOut: number;
1997
+ };
1998
+ }, {
1999
+ data: {
2000
+ paidDealCount: number;
2001
+ totalPaidOut: number;
2002
+ };
2003
+ }>;
1971
2004
  export declare const commodityDealInsightsPeriodSchema: z.ZodEnum<["this_month", "last_3_months", "ytd", "all"]>;
1972
2005
  export declare const commodityDealInsightsTotalsSchema: z.ZodObject<{
1973
2006
  /** Sum of waybill weight (kg → t) for dispatches in period — by issueDate. */
@@ -3006,4 +3039,5 @@ export type CommodityDealInsightsResponse = z.infer<typeof commodityDealInsights
3006
3039
  export type CreateDealParticipantInput = z.infer<typeof createDealParticipantSchema>;
3007
3040
  export type UpdateDealParticipantInput = z.infer<typeof updateDealParticipantSchema>;
3008
3041
  export type MyEarningsResponse = z.infer<typeof myEarningsResponseSchema>;
3042
+ export type PayAllStaffCommissionsResponse = z.infer<typeof payAllStaffCommissionsResponseSchema>;
3009
3043
  //# sourceMappingURL=commodity-deals.schemas.d.ts.map
@@ -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,6CAA2C,CAAC;AAE7E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;IAUtC,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoBtC,gFAAgF;;;;;;;;;;;;QA9BlF,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCzB,CAAC;AAE3B,eAAO,MAAM,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C;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"}
@@ -139,6 +139,14 @@ export const commodityDealSummarySchema = z.object({
139
139
  export const commodityDealSummaryResponseSchema = z.object({
140
140
  data: commodityDealSummarySchema,
141
141
  });
142
+ /** Result of marking all unpaid staff commissions paid out. */
143
+ export const payAllStaffCommissionsResultSchema = z.object({
144
+ paidDealCount: z.number().int().nonnegative(),
145
+ totalPaidOut: z.number(),
146
+ });
147
+ export const payAllStaffCommissionsResponseSchema = z.object({
148
+ data: payAllStaffCommissionsResultSchema,
149
+ });
142
150
  export const commodityDealInsightsPeriodSchema = z.enum([
143
151
  'this_month',
144
152
  'last_3_months',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",