@contractspec/example.crm-pipeline 1.57.0 → 1.59.0

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.
Files changed (259) hide show
  1. package/.turbo/turbo-build.log +148 -164
  2. package/.turbo/turbo-prebuild.log +1 -0
  3. package/CHANGELOG.md +39 -0
  4. package/dist/browser/crm-pipeline.feature.js +75 -0
  5. package/dist/browser/deal/deal.enum.js +18 -0
  6. package/dist/browser/deal/deal.operation.js +396 -0
  7. package/dist/browser/deal/deal.schema.js +141 -0
  8. package/dist/browser/deal/deal.test-spec.js +58 -0
  9. package/dist/browser/deal/index.js +408 -0
  10. package/dist/browser/docs/crm-pipeline.docblock.js +113 -0
  11. package/dist/browser/docs/index.js +113 -0
  12. package/dist/browser/entities/company.entity.js +52 -0
  13. package/dist/browser/entities/contact.entity.js +66 -0
  14. package/dist/browser/entities/deal.entity.js +107 -0
  15. package/dist/browser/entities/index.js +343 -0
  16. package/dist/browser/entities/task.entity.js +99 -0
  17. package/dist/browser/events/contact.event.js +31 -0
  18. package/dist/browser/events/deal.event.js +101 -0
  19. package/dist/browser/events/index.js +158 -0
  20. package/dist/browser/events/task.event.js +28 -0
  21. package/dist/browser/example.js +39 -0
  22. package/dist/browser/handlers/crm.handlers.js +160 -0
  23. package/dist/browser/handlers/deal.handlers.js +293 -0
  24. package/dist/browser/handlers/index.js +456 -0
  25. package/dist/browser/handlers/mock-data.js +165 -0
  26. package/dist/browser/index.js +3279 -0
  27. package/dist/browser/operations/index.js +407 -0
  28. package/dist/browser/presentations/dashboard.presentation.js +52 -0
  29. package/dist/browser/presentations/index.js +284 -0
  30. package/dist/browser/presentations/pipeline.presentation.js +233 -0
  31. package/dist/browser/seeders/index.js +22 -0
  32. package/dist/browser/shared/overlay-types.js +0 -0
  33. package/dist/browser/ui/CrmDashboard.js +1325 -0
  34. package/dist/browser/ui/CrmDealCard.js +50 -0
  35. package/dist/browser/ui/CrmPipelineBoard.js +160 -0
  36. package/dist/browser/ui/hooks/index.js +186 -0
  37. package/dist/browser/ui/hooks/useDealList.js +84 -0
  38. package/dist/browser/ui/hooks/useDealMutations.js +100 -0
  39. package/dist/browser/ui/index.js +1972 -0
  40. package/dist/browser/ui/modals/CreateDealModal.js +211 -0
  41. package/dist/browser/ui/modals/DealActionsModal.js +428 -0
  42. package/dist/browser/ui/modals/index.js +638 -0
  43. package/dist/browser/ui/overlays/demo-overlays.js +55 -0
  44. package/dist/browser/ui/overlays/index.js +55 -0
  45. package/dist/browser/ui/renderers/index.js +827 -0
  46. package/dist/browser/ui/renderers/pipeline.markdown.js +564 -0
  47. package/dist/browser/ui/renderers/pipeline.renderer.js +264 -0
  48. package/dist/crm-pipeline.feature.d.ts +1 -6
  49. package/dist/crm-pipeline.feature.d.ts.map +1 -1
  50. package/dist/crm-pipeline.feature.js +74 -164
  51. package/dist/deal/deal.enum.d.ts +2 -7
  52. package/dist/deal/deal.enum.d.ts.map +1 -1
  53. package/dist/deal/deal.enum.js +16 -22
  54. package/dist/deal/deal.operation.d.ts +444 -450
  55. package/dist/deal/deal.operation.d.ts.map +1 -1
  56. package/dist/deal/deal.operation.js +390 -263
  57. package/dist/deal/deal.schema.d.ts +251 -256
  58. package/dist/deal/deal.schema.d.ts.map +1 -1
  59. package/dist/deal/deal.schema.js +131 -275
  60. package/dist/deal/deal.test-spec.d.ts +2 -7
  61. package/dist/deal/deal.test-spec.d.ts.map +1 -1
  62. package/dist/deal/deal.test-spec.js +56 -62
  63. package/dist/deal/index.d.ts +7 -4
  64. package/dist/deal/index.d.ts.map +1 -0
  65. package/dist/deal/index.js +408 -4
  66. package/dist/docs/crm-pipeline.docblock.d.ts +2 -1
  67. package/dist/docs/crm-pipeline.docblock.d.ts.map +1 -0
  68. package/dist/docs/crm-pipeline.docblock.js +45 -51
  69. package/dist/docs/index.d.ts +2 -1
  70. package/dist/docs/index.d.ts.map +1 -0
  71. package/dist/docs/index.js +114 -1
  72. package/dist/entities/company.entity.d.ts +27 -32
  73. package/dist/entities/company.entity.d.ts.map +1 -1
  74. package/dist/entities/company.entity.js +51 -61
  75. package/dist/entities/contact.entity.d.ts +31 -36
  76. package/dist/entities/contact.entity.d.ts.map +1 -1
  77. package/dist/entities/contact.entity.js +65 -76
  78. package/dist/entities/deal.entity.d.ts +52 -57
  79. package/dist/entities/deal.entity.d.ts.map +1 -1
  80. package/dist/entities/deal.entity.js +104 -116
  81. package/dist/entities/index.d.ts +6 -10
  82. package/dist/entities/index.d.ts.map +1 -1
  83. package/dist/entities/index.js +342 -31
  84. package/dist/entities/task.entity.d.ts +42 -47
  85. package/dist/entities/task.entity.d.ts.map +1 -1
  86. package/dist/entities/task.entity.js +95 -124
  87. package/dist/events/contact.event.d.ts +21 -27
  88. package/dist/events/contact.event.d.ts.map +1 -1
  89. package/dist/events/contact.event.js +29 -42
  90. package/dist/events/deal.event.d.ts +100 -106
  91. package/dist/events/deal.event.d.ts.map +1 -1
  92. package/dist/events/deal.event.js +93 -163
  93. package/dist/events/index.d.ts +4 -4
  94. package/dist/events/index.d.ts.map +1 -0
  95. package/dist/events/index.js +158 -4
  96. package/dist/events/task.event.d.ts +21 -27
  97. package/dist/events/task.event.d.ts.map +1 -1
  98. package/dist/events/task.event.js +26 -42
  99. package/dist/example.d.ts +2 -6
  100. package/dist/example.d.ts.map +1 -1
  101. package/dist/example.js +38 -50
  102. package/dist/handlers/crm.handlers.d.ts +80 -78
  103. package/dist/handlers/crm.handlers.d.ts.map +1 -1
  104. package/dist/handlers/crm.handlers.js +155 -166
  105. package/dist/handlers/deal.handlers.d.ts +58 -63
  106. package/dist/handlers/deal.handlers.d.ts.map +1 -1
  107. package/dist/handlers/deal.handlers.js +279 -105
  108. package/dist/handlers/index.d.ts +10 -4
  109. package/dist/handlers/index.d.ts.map +1 -0
  110. package/dist/handlers/index.js +456 -4
  111. package/dist/handlers/mock-data.d.ts +38 -41
  112. package/dist/handlers/mock-data.d.ts.map +1 -1
  113. package/dist/handlers/mock-data.js +162 -184
  114. package/dist/index.d.ts +13 -42
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +3277 -53
  117. package/dist/node/crm-pipeline.feature.js +75 -0
  118. package/dist/node/deal/deal.enum.js +18 -0
  119. package/dist/node/deal/deal.operation.js +396 -0
  120. package/dist/node/deal/deal.schema.js +141 -0
  121. package/dist/node/deal/deal.test-spec.js +58 -0
  122. package/dist/node/deal/index.js +408 -0
  123. package/dist/node/docs/crm-pipeline.docblock.js +113 -0
  124. package/dist/node/docs/index.js +113 -0
  125. package/dist/node/entities/company.entity.js +52 -0
  126. package/dist/node/entities/contact.entity.js +66 -0
  127. package/dist/node/entities/deal.entity.js +107 -0
  128. package/dist/node/entities/index.js +343 -0
  129. package/dist/node/entities/task.entity.js +99 -0
  130. package/dist/node/events/contact.event.js +31 -0
  131. package/dist/node/events/deal.event.js +101 -0
  132. package/dist/node/events/index.js +158 -0
  133. package/dist/node/events/task.event.js +28 -0
  134. package/dist/node/example.js +39 -0
  135. package/dist/node/handlers/crm.handlers.js +160 -0
  136. package/dist/node/handlers/deal.handlers.js +293 -0
  137. package/dist/node/handlers/index.js +456 -0
  138. package/dist/node/handlers/mock-data.js +165 -0
  139. package/dist/node/index.js +3279 -0
  140. package/dist/node/operations/index.js +407 -0
  141. package/dist/node/presentations/dashboard.presentation.js +52 -0
  142. package/dist/node/presentations/index.js +284 -0
  143. package/dist/node/presentations/pipeline.presentation.js +233 -0
  144. package/dist/node/seeders/index.js +22 -0
  145. package/dist/node/shared/overlay-types.js +0 -0
  146. package/dist/node/ui/CrmDashboard.js +1325 -0
  147. package/dist/node/ui/CrmDealCard.js +50 -0
  148. package/dist/node/ui/CrmPipelineBoard.js +160 -0
  149. package/dist/node/ui/hooks/index.js +186 -0
  150. package/dist/node/ui/hooks/useDealList.js +84 -0
  151. package/dist/node/ui/hooks/useDealMutations.js +100 -0
  152. package/dist/node/ui/index.js +1972 -0
  153. package/dist/node/ui/modals/CreateDealModal.js +211 -0
  154. package/dist/node/ui/modals/DealActionsModal.js +428 -0
  155. package/dist/node/ui/modals/index.js +638 -0
  156. package/dist/node/ui/overlays/demo-overlays.js +55 -0
  157. package/dist/node/ui/overlays/index.js +55 -0
  158. package/dist/node/ui/renderers/index.js +827 -0
  159. package/dist/node/ui/renderers/pipeline.markdown.js +564 -0
  160. package/dist/node/ui/renderers/pipeline.renderer.js +264 -0
  161. package/dist/operations/index.d.ts +2 -5
  162. package/dist/operations/index.d.ts.map +1 -0
  163. package/dist/operations/index.js +407 -5
  164. package/dist/presentations/dashboard.presentation.d.ts +2 -7
  165. package/dist/presentations/dashboard.presentation.d.ts.map +1 -1
  166. package/dist/presentations/dashboard.presentation.js +51 -60
  167. package/dist/presentations/index.d.ts +3 -3
  168. package/dist/presentations/index.d.ts.map +1 -0
  169. package/dist/presentations/index.js +284 -3
  170. package/dist/presentations/pipeline.presentation.d.ts +4 -9
  171. package/dist/presentations/pipeline.presentation.d.ts.map +1 -1
  172. package/dist/presentations/pipeline.presentation.js +228 -116
  173. package/dist/seeders/index.d.ts +4 -8
  174. package/dist/seeders/index.d.ts.map +1 -1
  175. package/dist/seeders/index.js +21 -45
  176. package/dist/shared/overlay-types.d.ts +25 -28
  177. package/dist/shared/overlay-types.d.ts.map +1 -1
  178. package/dist/shared/overlay-types.js +1 -0
  179. package/dist/ui/CrmDashboard.d.ts +1 -6
  180. package/dist/ui/CrmDashboard.d.ts.map +1 -1
  181. package/dist/ui/CrmDashboard.js +1318 -296
  182. package/dist/ui/CrmDealCard.d.ts +8 -12
  183. package/dist/ui/CrmDealCard.d.ts.map +1 -1
  184. package/dist/ui/CrmDealCard.js +47 -45
  185. package/dist/ui/CrmPipelineBoard.d.ts +11 -20
  186. package/dist/ui/CrmPipelineBoard.d.ts.map +1 -1
  187. package/dist/ui/CrmPipelineBoard.js +157 -94
  188. package/dist/ui/hooks/index.d.ts +3 -3
  189. package/dist/ui/hooks/index.d.ts.map +1 -0
  190. package/dist/ui/hooks/index.js +185 -4
  191. package/dist/ui/hooks/useDealList.d.ts +28 -32
  192. package/dist/ui/hooks/useDealList.d.ts.map +1 -1
  193. package/dist/ui/hooks/useDealList.js +81 -90
  194. package/dist/ui/hooks/useDealMutations.d.ts +18 -22
  195. package/dist/ui/hooks/useDealMutations.d.ts.map +1 -1
  196. package/dist/ui/hooks/useDealMutations.js +97 -155
  197. package/dist/ui/index.d.ts +8 -14
  198. package/dist/ui/index.d.ts.map +1 -0
  199. package/dist/ui/index.js +1973 -15
  200. package/dist/ui/modals/CreateDealModal.d.ts +19 -29
  201. package/dist/ui/modals/CreateDealModal.d.ts.map +1 -1
  202. package/dist/ui/modals/CreateDealModal.js +209 -180
  203. package/dist/ui/modals/DealActionsModal.d.ts +31 -44
  204. package/dist/ui/modals/DealActionsModal.d.ts.map +1 -1
  205. package/dist/ui/modals/DealActionsModal.js +424 -367
  206. package/dist/ui/modals/index.d.ts +3 -3
  207. package/dist/ui/modals/index.d.ts.map +1 -0
  208. package/dist/ui/modals/index.js +638 -3
  209. package/dist/ui/overlays/demo-overlays.d.ts +10 -8
  210. package/dist/ui/overlays/demo-overlays.d.ts.map +1 -1
  211. package/dist/ui/overlays/demo-overlays.js +54 -66
  212. package/dist/ui/overlays/index.d.ts +2 -2
  213. package/dist/ui/overlays/index.d.ts.map +1 -0
  214. package/dist/ui/overlays/index.js +56 -3
  215. package/dist/ui/renderers/index.d.ts +3 -3
  216. package/dist/ui/renderers/index.d.ts.map +1 -0
  217. package/dist/ui/renderers/index.js +827 -3
  218. package/dist/ui/renderers/pipeline.markdown.d.ts +12 -11
  219. package/dist/ui/renderers/pipeline.markdown.d.ts.map +1 -1
  220. package/dist/ui/renderers/pipeline.markdown.js +560 -114
  221. package/dist/ui/renderers/pipeline.renderer.d.ts +9 -7
  222. package/dist/ui/renderers/pipeline.renderer.d.ts.map +1 -1
  223. package/dist/ui/renderers/pipeline.renderer.js +261 -24
  224. package/package.json +476 -90
  225. package/tsdown.config.js +1 -2
  226. package/.turbo/turbo-build$colon$bundle.log +0 -164
  227. package/dist/crm-pipeline.feature.js.map +0 -1
  228. package/dist/deal/deal.enum.js.map +0 -1
  229. package/dist/deal/deal.operation.js.map +0 -1
  230. package/dist/deal/deal.schema.js.map +0 -1
  231. package/dist/deal/deal.test-spec.js.map +0 -1
  232. package/dist/docs/crm-pipeline.docblock.js.map +0 -1
  233. package/dist/entities/company.entity.js.map +0 -1
  234. package/dist/entities/contact.entity.js.map +0 -1
  235. package/dist/entities/deal.entity.js.map +0 -1
  236. package/dist/entities/index.js.map +0 -1
  237. package/dist/entities/task.entity.js.map +0 -1
  238. package/dist/events/contact.event.js.map +0 -1
  239. package/dist/events/deal.event.js.map +0 -1
  240. package/dist/events/task.event.js.map +0 -1
  241. package/dist/example.js.map +0 -1
  242. package/dist/handlers/crm.handlers.js.map +0 -1
  243. package/dist/handlers/deal.handlers.js.map +0 -1
  244. package/dist/handlers/mock-data.js.map +0 -1
  245. package/dist/index.js.map +0 -1
  246. package/dist/presentations/dashboard.presentation.js.map +0 -1
  247. package/dist/presentations/pipeline.presentation.js.map +0 -1
  248. package/dist/seeders/index.js.map +0 -1
  249. package/dist/ui/CrmDashboard.js.map +0 -1
  250. package/dist/ui/CrmDealCard.js.map +0 -1
  251. package/dist/ui/CrmPipelineBoard.js.map +0 -1
  252. package/dist/ui/hooks/useDealList.js.map +0 -1
  253. package/dist/ui/hooks/useDealMutations.js.map +0 -1
  254. package/dist/ui/modals/CreateDealModal.js.map +0 -1
  255. package/dist/ui/modals/DealActionsModal.js.map +0 -1
  256. package/dist/ui/overlays/demo-overlays.js.map +0 -1
  257. package/dist/ui/renderers/pipeline.markdown.js.map +0 -1
  258. package/dist/ui/renderers/pipeline.renderer.js.map +0 -1
  259. package/tsconfig.tsbuildinfo +0 -1
@@ -1,513 +1,507 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
-
4
- //#region src/deal/deal.operation.d.ts
5
1
  /**
6
2
  * Create a new deal.
7
3
  */
8
- declare const CreateDealContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
9
- name: {
10
- type: _contractspec_lib_schema0.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- value: {
14
- type: _contractspec_lib_schema0.FieldType<number, number>;
15
- isOptional: false;
16
- };
17
- currency: {
18
- type: _contractspec_lib_schema0.FieldType<string, string>;
19
- isOptional: true;
20
- };
21
- pipelineId: {
22
- type: _contractspec_lib_schema0.FieldType<string, string>;
23
- isOptional: false;
24
- };
25
- stageId: {
26
- type: _contractspec_lib_schema0.FieldType<string, string>;
27
- isOptional: false;
28
- };
29
- contactId: {
30
- type: _contractspec_lib_schema0.FieldType<string, string>;
31
- isOptional: true;
32
- };
33
- companyId: {
34
- type: _contractspec_lib_schema0.FieldType<string, string>;
35
- isOptional: true;
36
- };
37
- expectedCloseDate: {
38
- type: _contractspec_lib_schema0.FieldType<Date, string>;
39
- isOptional: true;
40
- };
41
- }>, _contractspec_lib_schema0.SchemaModel<{
42
- id: {
43
- type: _contractspec_lib_schema0.FieldType<string, string>;
44
- isOptional: false;
45
- };
46
- name: {
47
- type: _contractspec_lib_schema0.FieldType<string, string>;
48
- isOptional: false;
49
- };
50
- value: {
51
- type: _contractspec_lib_schema0.FieldType<number, number>;
52
- isOptional: false;
53
- };
54
- currency: {
55
- type: _contractspec_lib_schema0.FieldType<string, string>;
56
- isOptional: false;
57
- };
58
- pipelineId: {
59
- type: _contractspec_lib_schema0.FieldType<string, string>;
60
- isOptional: false;
61
- };
62
- stageId: {
63
- type: _contractspec_lib_schema0.FieldType<string, string>;
64
- isOptional: false;
65
- };
66
- status: {
67
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
68
- isOptional: false;
69
- };
70
- contactId: {
71
- type: _contractspec_lib_schema0.FieldType<string, string>;
72
- isOptional: true;
73
- };
74
- companyId: {
75
- type: _contractspec_lib_schema0.FieldType<string, string>;
76
- isOptional: true;
77
- };
78
- ownerId: {
79
- type: _contractspec_lib_schema0.FieldType<string, string>;
80
- isOptional: false;
81
- };
82
- expectedCloseDate: {
83
- type: _contractspec_lib_schema0.FieldType<Date, string>;
84
- isOptional: true;
85
- };
86
- createdAt: {
87
- type: _contractspec_lib_schema0.FieldType<Date, string>;
88
- isOptional: false;
89
- };
90
- updatedAt: {
91
- type: _contractspec_lib_schema0.FieldType<Date, string>;
92
- isOptional: false;
93
- };
94
- }>, {
95
- key: string;
96
- version: string;
97
- when: string;
98
- payload: _contractspec_lib_schema0.SchemaModel<{
4
+ export declare const CreateDealContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
5
+ name: {
6
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
7
+ isOptional: false;
8
+ };
9
+ value: {
10
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
11
+ isOptional: false;
12
+ };
13
+ currency: {
14
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
15
+ isOptional: true;
16
+ };
17
+ pipelineId: {
18
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
19
+ isOptional: false;
20
+ };
21
+ stageId: {
22
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
23
+ isOptional: false;
24
+ };
25
+ contactId: {
26
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
27
+ isOptional: true;
28
+ };
29
+ companyId: {
30
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
31
+ isOptional: true;
32
+ };
33
+ expectedCloseDate: {
34
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
35
+ isOptional: true;
36
+ };
37
+ }>, import("@contractspec/lib.schema").SchemaModel<{
99
38
  id: {
100
- type: _contractspec_lib_schema0.FieldType<string, string>;
101
- isOptional: false;
39
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
40
+ isOptional: false;
102
41
  };
103
42
  name: {
104
- type: _contractspec_lib_schema0.FieldType<string, string>;
105
- isOptional: false;
43
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
44
+ isOptional: false;
106
45
  };
107
46
  value: {
108
- type: _contractspec_lib_schema0.FieldType<number, number>;
109
- isOptional: false;
47
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
48
+ isOptional: false;
110
49
  };
111
50
  currency: {
112
- type: _contractspec_lib_schema0.FieldType<string, string>;
113
- isOptional: false;
51
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
52
+ isOptional: false;
114
53
  };
115
54
  pipelineId: {
116
- type: _contractspec_lib_schema0.FieldType<string, string>;
117
- isOptional: false;
55
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
56
+ isOptional: false;
118
57
  };
119
58
  stageId: {
120
- type: _contractspec_lib_schema0.FieldType<string, string>;
121
- isOptional: false;
59
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
60
+ isOptional: false;
122
61
  };
123
62
  status: {
124
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
125
- isOptional: false;
63
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
64
+ isOptional: false;
126
65
  };
127
66
  contactId: {
128
- type: _contractspec_lib_schema0.FieldType<string, string>;
129
- isOptional: true;
67
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
68
+ isOptional: true;
130
69
  };
131
70
  companyId: {
132
- type: _contractspec_lib_schema0.FieldType<string, string>;
133
- isOptional: true;
71
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
72
+ isOptional: true;
134
73
  };
135
74
  ownerId: {
136
- type: _contractspec_lib_schema0.FieldType<string, string>;
137
- isOptional: false;
75
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
76
+ isOptional: false;
138
77
  };
139
78
  expectedCloseDate: {
140
- type: _contractspec_lib_schema0.FieldType<Date, string>;
141
- isOptional: true;
79
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
80
+ isOptional: true;
142
81
  };
143
82
  createdAt: {
144
- type: _contractspec_lib_schema0.FieldType<Date, string>;
145
- isOptional: false;
83
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
84
+ isOptional: false;
146
85
  };
147
86
  updatedAt: {
148
- type: _contractspec_lib_schema0.FieldType<Date, string>;
149
- isOptional: false;
87
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
88
+ isOptional: false;
150
89
  };
151
- }>;
90
+ }>, {
91
+ key: string;
92
+ version: string;
93
+ when: string;
94
+ payload: import("@contractspec/lib.schema").SchemaModel<{
95
+ id: {
96
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
97
+ isOptional: false;
98
+ };
99
+ name: {
100
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
101
+ isOptional: false;
102
+ };
103
+ value: {
104
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
105
+ isOptional: false;
106
+ };
107
+ currency: {
108
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
109
+ isOptional: false;
110
+ };
111
+ pipelineId: {
112
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
113
+ isOptional: false;
114
+ };
115
+ stageId: {
116
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
117
+ isOptional: false;
118
+ };
119
+ status: {
120
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
121
+ isOptional: false;
122
+ };
123
+ contactId: {
124
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
125
+ isOptional: true;
126
+ };
127
+ companyId: {
128
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
129
+ isOptional: true;
130
+ };
131
+ ownerId: {
132
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
133
+ isOptional: false;
134
+ };
135
+ expectedCloseDate: {
136
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
137
+ isOptional: true;
138
+ };
139
+ createdAt: {
140
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
141
+ isOptional: false;
142
+ };
143
+ updatedAt: {
144
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
145
+ isOptional: false;
146
+ };
147
+ }>;
152
148
  }[]>;
153
149
  /**
154
150
  * Move deal to a different stage.
155
151
  */
156
- declare const MoveDealContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
157
- dealId: {
158
- type: _contractspec_lib_schema0.FieldType<string, string>;
159
- isOptional: false;
160
- };
161
- stageId: {
162
- type: _contractspec_lib_schema0.FieldType<string, string>;
163
- isOptional: false;
164
- };
165
- position: {
166
- type: _contractspec_lib_schema0.FieldType<number, number>;
167
- isOptional: true;
168
- };
169
- }>, _contractspec_lib_schema0.SchemaModel<{
170
- id: {
171
- type: _contractspec_lib_schema0.FieldType<string, string>;
172
- isOptional: false;
173
- };
174
- name: {
175
- type: _contractspec_lib_schema0.FieldType<string, string>;
176
- isOptional: false;
177
- };
178
- value: {
179
- type: _contractspec_lib_schema0.FieldType<number, number>;
180
- isOptional: false;
181
- };
182
- currency: {
183
- type: _contractspec_lib_schema0.FieldType<string, string>;
184
- isOptional: false;
185
- };
186
- pipelineId: {
187
- type: _contractspec_lib_schema0.FieldType<string, string>;
188
- isOptional: false;
189
- };
190
- stageId: {
191
- type: _contractspec_lib_schema0.FieldType<string, string>;
192
- isOptional: false;
193
- };
194
- status: {
195
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
196
- isOptional: false;
197
- };
198
- contactId: {
199
- type: _contractspec_lib_schema0.FieldType<string, string>;
200
- isOptional: true;
201
- };
202
- companyId: {
203
- type: _contractspec_lib_schema0.FieldType<string, string>;
204
- isOptional: true;
205
- };
206
- ownerId: {
207
- type: _contractspec_lib_schema0.FieldType<string, string>;
208
- isOptional: false;
209
- };
210
- expectedCloseDate: {
211
- type: _contractspec_lib_schema0.FieldType<Date, string>;
212
- isOptional: true;
213
- };
214
- createdAt: {
215
- type: _contractspec_lib_schema0.FieldType<Date, string>;
216
- isOptional: false;
217
- };
218
- updatedAt: {
219
- type: _contractspec_lib_schema0.FieldType<Date, string>;
220
- isOptional: false;
221
- };
222
- }>, {
223
- key: string;
224
- version: string;
225
- when: string;
226
- payload: _contractspec_lib_schema0.SchemaModel<{
152
+ export declare const MoveDealContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
227
153
  dealId: {
228
- type: _contractspec_lib_schema0.FieldType<string, string>;
229
- isOptional: false;
154
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
155
+ isOptional: false;
156
+ };
157
+ stageId: {
158
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
159
+ isOptional: false;
230
160
  };
231
- fromStage: {
232
- type: _contractspec_lib_schema0.FieldType<string, string>;
233
- isOptional: false;
161
+ position: {
162
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
163
+ isOptional: true;
234
164
  };
235
- toStage: {
236
- type: _contractspec_lib_schema0.FieldType<string, string>;
237
- isOptional: false;
165
+ }>, import("@contractspec/lib.schema").SchemaModel<{
166
+ id: {
167
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
168
+ isOptional: false;
238
169
  };
239
- }>;
170
+ name: {
171
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
172
+ isOptional: false;
173
+ };
174
+ value: {
175
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
176
+ isOptional: false;
177
+ };
178
+ currency: {
179
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
180
+ isOptional: false;
181
+ };
182
+ pipelineId: {
183
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
184
+ isOptional: false;
185
+ };
186
+ stageId: {
187
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
188
+ isOptional: false;
189
+ };
190
+ status: {
191
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
192
+ isOptional: false;
193
+ };
194
+ contactId: {
195
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
196
+ isOptional: true;
197
+ };
198
+ companyId: {
199
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
200
+ isOptional: true;
201
+ };
202
+ ownerId: {
203
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
204
+ isOptional: false;
205
+ };
206
+ expectedCloseDate: {
207
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
208
+ isOptional: true;
209
+ };
210
+ createdAt: {
211
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
212
+ isOptional: false;
213
+ };
214
+ updatedAt: {
215
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
216
+ isOptional: false;
217
+ };
218
+ }>, {
219
+ key: string;
220
+ version: string;
221
+ when: string;
222
+ payload: import("@contractspec/lib.schema").SchemaModel<{
223
+ dealId: {
224
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
225
+ isOptional: false;
226
+ };
227
+ fromStage: {
228
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
229
+ isOptional: false;
230
+ };
231
+ toStage: {
232
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
233
+ isOptional: false;
234
+ };
235
+ }>;
240
236
  }[]>;
241
237
  /**
242
238
  * Mark deal as won.
243
239
  */
244
- declare const WinDealContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
245
- dealId: {
246
- type: _contractspec_lib_schema0.FieldType<string, string>;
247
- isOptional: false;
248
- };
249
- wonSource: {
250
- type: _contractspec_lib_schema0.FieldType<string, string>;
251
- isOptional: true;
252
- };
253
- notes: {
254
- type: _contractspec_lib_schema0.FieldType<string, string>;
255
- isOptional: true;
256
- };
257
- }>, _contractspec_lib_schema0.SchemaModel<{
258
- id: {
259
- type: _contractspec_lib_schema0.FieldType<string, string>;
260
- isOptional: false;
261
- };
262
- name: {
263
- type: _contractspec_lib_schema0.FieldType<string, string>;
264
- isOptional: false;
265
- };
266
- value: {
267
- type: _contractspec_lib_schema0.FieldType<number, number>;
268
- isOptional: false;
269
- };
270
- currency: {
271
- type: _contractspec_lib_schema0.FieldType<string, string>;
272
- isOptional: false;
273
- };
274
- pipelineId: {
275
- type: _contractspec_lib_schema0.FieldType<string, string>;
276
- isOptional: false;
277
- };
278
- stageId: {
279
- type: _contractspec_lib_schema0.FieldType<string, string>;
280
- isOptional: false;
281
- };
282
- status: {
283
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
284
- isOptional: false;
285
- };
286
- contactId: {
287
- type: _contractspec_lib_schema0.FieldType<string, string>;
288
- isOptional: true;
289
- };
290
- companyId: {
291
- type: _contractspec_lib_schema0.FieldType<string, string>;
292
- isOptional: true;
293
- };
294
- ownerId: {
295
- type: _contractspec_lib_schema0.FieldType<string, string>;
296
- isOptional: false;
297
- };
298
- expectedCloseDate: {
299
- type: _contractspec_lib_schema0.FieldType<Date, string>;
300
- isOptional: true;
301
- };
302
- createdAt: {
303
- type: _contractspec_lib_schema0.FieldType<Date, string>;
304
- isOptional: false;
305
- };
306
- updatedAt: {
307
- type: _contractspec_lib_schema0.FieldType<Date, string>;
308
- isOptional: false;
309
- };
310
- }>, {
311
- key: string;
312
- version: string;
313
- when: string;
314
- payload: _contractspec_lib_schema0.SchemaModel<{
240
+ export declare const WinDealContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
315
241
  dealId: {
316
- type: _contractspec_lib_schema0.FieldType<string, string>;
317
- isOptional: false;
242
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
243
+ isOptional: false;
244
+ };
245
+ wonSource: {
246
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
247
+ isOptional: true;
248
+ };
249
+ notes: {
250
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
251
+ isOptional: true;
252
+ };
253
+ }>, import("@contractspec/lib.schema").SchemaModel<{
254
+ id: {
255
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
256
+ isOptional: false;
257
+ };
258
+ name: {
259
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
260
+ isOptional: false;
318
261
  };
319
262
  value: {
320
- type: _contractspec_lib_schema0.FieldType<number, number>;
321
- isOptional: false;
263
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
264
+ isOptional: false;
322
265
  };
323
- }>;
266
+ currency: {
267
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
268
+ isOptional: false;
269
+ };
270
+ pipelineId: {
271
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
272
+ isOptional: false;
273
+ };
274
+ stageId: {
275
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
276
+ isOptional: false;
277
+ };
278
+ status: {
279
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
280
+ isOptional: false;
281
+ };
282
+ contactId: {
283
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
284
+ isOptional: true;
285
+ };
286
+ companyId: {
287
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
288
+ isOptional: true;
289
+ };
290
+ ownerId: {
291
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
292
+ isOptional: false;
293
+ };
294
+ expectedCloseDate: {
295
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
296
+ isOptional: true;
297
+ };
298
+ createdAt: {
299
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
300
+ isOptional: false;
301
+ };
302
+ updatedAt: {
303
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
304
+ isOptional: false;
305
+ };
306
+ }>, {
307
+ key: string;
308
+ version: string;
309
+ when: string;
310
+ payload: import("@contractspec/lib.schema").SchemaModel<{
311
+ dealId: {
312
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
313
+ isOptional: false;
314
+ };
315
+ value: {
316
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
317
+ isOptional: false;
318
+ };
319
+ }>;
324
320
  }[]>;
325
321
  /**
326
322
  * Mark deal as lost.
327
323
  */
328
- declare const LoseDealContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
329
- dealId: {
330
- type: _contractspec_lib_schema0.FieldType<string, string>;
331
- isOptional: false;
332
- };
333
- lostReason: {
334
- type: _contractspec_lib_schema0.FieldType<string, string>;
335
- isOptional: false;
336
- };
337
- notes: {
338
- type: _contractspec_lib_schema0.FieldType<string, string>;
339
- isOptional: true;
340
- };
341
- }>, _contractspec_lib_schema0.SchemaModel<{
342
- id: {
343
- type: _contractspec_lib_schema0.FieldType<string, string>;
344
- isOptional: false;
345
- };
346
- name: {
347
- type: _contractspec_lib_schema0.FieldType<string, string>;
348
- isOptional: false;
349
- };
350
- value: {
351
- type: _contractspec_lib_schema0.FieldType<number, number>;
352
- isOptional: false;
353
- };
354
- currency: {
355
- type: _contractspec_lib_schema0.FieldType<string, string>;
356
- isOptional: false;
357
- };
358
- pipelineId: {
359
- type: _contractspec_lib_schema0.FieldType<string, string>;
360
- isOptional: false;
361
- };
362
- stageId: {
363
- type: _contractspec_lib_schema0.FieldType<string, string>;
364
- isOptional: false;
365
- };
366
- status: {
367
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
368
- isOptional: false;
369
- };
370
- contactId: {
371
- type: _contractspec_lib_schema0.FieldType<string, string>;
372
- isOptional: true;
373
- };
374
- companyId: {
375
- type: _contractspec_lib_schema0.FieldType<string, string>;
376
- isOptional: true;
377
- };
378
- ownerId: {
379
- type: _contractspec_lib_schema0.FieldType<string, string>;
380
- isOptional: false;
381
- };
382
- expectedCloseDate: {
383
- type: _contractspec_lib_schema0.FieldType<Date, string>;
384
- isOptional: true;
385
- };
386
- createdAt: {
387
- type: _contractspec_lib_schema0.FieldType<Date, string>;
388
- isOptional: false;
389
- };
390
- updatedAt: {
391
- type: _contractspec_lib_schema0.FieldType<Date, string>;
392
- isOptional: false;
393
- };
394
- }>, {
395
- key: string;
396
- version: string;
397
- when: string;
398
- payload: _contractspec_lib_schema0.SchemaModel<{
324
+ export declare const LoseDealContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
399
325
  dealId: {
400
- type: _contractspec_lib_schema0.FieldType<string, string>;
401
- isOptional: false;
326
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
327
+ isOptional: false;
328
+ };
329
+ lostReason: {
330
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
331
+ isOptional: false;
402
332
  };
403
- reason: {
404
- type: _contractspec_lib_schema0.FieldType<string, string>;
405
- isOptional: false;
333
+ notes: {
334
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
335
+ isOptional: true;
406
336
  };
407
- }>;
337
+ }>, import("@contractspec/lib.schema").SchemaModel<{
338
+ id: {
339
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
340
+ isOptional: false;
341
+ };
342
+ name: {
343
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
344
+ isOptional: false;
345
+ };
346
+ value: {
347
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
348
+ isOptional: false;
349
+ };
350
+ currency: {
351
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
352
+ isOptional: false;
353
+ };
354
+ pipelineId: {
355
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
356
+ isOptional: false;
357
+ };
358
+ stageId: {
359
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
360
+ isOptional: false;
361
+ };
362
+ status: {
363
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
364
+ isOptional: false;
365
+ };
366
+ contactId: {
367
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
368
+ isOptional: true;
369
+ };
370
+ companyId: {
371
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
372
+ isOptional: true;
373
+ };
374
+ ownerId: {
375
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
376
+ isOptional: false;
377
+ };
378
+ expectedCloseDate: {
379
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
380
+ isOptional: true;
381
+ };
382
+ createdAt: {
383
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
384
+ isOptional: false;
385
+ };
386
+ updatedAt: {
387
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
388
+ isOptional: false;
389
+ };
390
+ }>, {
391
+ key: string;
392
+ version: string;
393
+ when: string;
394
+ payload: import("@contractspec/lib.schema").SchemaModel<{
395
+ dealId: {
396
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
397
+ isOptional: false;
398
+ };
399
+ reason: {
400
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
401
+ isOptional: false;
402
+ };
403
+ }>;
408
404
  }[]>;
409
405
  /**
410
406
  * List deals in pipeline.
411
407
  */
412
- declare const ListDealsContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
413
- pipelineId: {
414
- type: _contractspec_lib_schema0.FieldType<string, string>;
415
- isOptional: true;
416
- };
417
- stageId: {
418
- type: _contractspec_lib_schema0.FieldType<string, string>;
419
- isOptional: true;
420
- };
421
- status: {
422
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
423
- isOptional: true;
424
- };
425
- ownerId: {
426
- type: _contractspec_lib_schema0.FieldType<string, string>;
427
- isOptional: true;
428
- };
429
- search: {
430
- type: _contractspec_lib_schema0.FieldType<string, string>;
431
- isOptional: true;
432
- };
433
- limit: {
434
- type: _contractspec_lib_schema0.FieldType<number, number>;
435
- isOptional: true;
436
- defaultValue: number;
437
- };
438
- offset: {
439
- type: _contractspec_lib_schema0.FieldType<number, number>;
440
- isOptional: true;
441
- defaultValue: number;
442
- };
443
- }>, _contractspec_lib_schema0.SchemaModel<{
444
- deals: {
445
- type: _contractspec_lib_schema0.SchemaModel<{
446
- id: {
447
- type: _contractspec_lib_schema0.FieldType<string, string>;
448
- isOptional: false;
449
- };
450
- name: {
451
- type: _contractspec_lib_schema0.FieldType<string, string>;
452
- isOptional: false;
453
- };
454
- value: {
455
- type: _contractspec_lib_schema0.FieldType<number, number>;
456
- isOptional: false;
457
- };
458
- currency: {
459
- type: _contractspec_lib_schema0.FieldType<string, string>;
460
- isOptional: false;
461
- };
462
- pipelineId: {
463
- type: _contractspec_lib_schema0.FieldType<string, string>;
464
- isOptional: false;
465
- };
466
- stageId: {
467
- type: _contractspec_lib_schema0.FieldType<string, string>;
468
- isOptional: false;
469
- };
470
- status: {
471
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
472
- isOptional: false;
473
- };
474
- contactId: {
475
- type: _contractspec_lib_schema0.FieldType<string, string>;
408
+ export declare const ListDealsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
409
+ pipelineId: {
410
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
411
+ isOptional: true;
412
+ };
413
+ stageId: {
414
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
476
415
  isOptional: true;
477
- };
478
- companyId: {
479
- type: _contractspec_lib_schema0.FieldType<string, string>;
416
+ };
417
+ status: {
418
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
480
419
  isOptional: true;
481
- };
482
- ownerId: {
483
- type: _contractspec_lib_schema0.FieldType<string, string>;
484
- isOptional: false;
485
- };
486
- expectedCloseDate: {
487
- type: _contractspec_lib_schema0.FieldType<Date, string>;
420
+ };
421
+ ownerId: {
422
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
488
423
  isOptional: true;
489
- };
490
- createdAt: {
491
- type: _contractspec_lib_schema0.FieldType<Date, string>;
424
+ };
425
+ search: {
426
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
427
+ isOptional: true;
428
+ };
429
+ limit: {
430
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
431
+ isOptional: true;
432
+ defaultValue: number;
433
+ };
434
+ offset: {
435
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
436
+ isOptional: true;
437
+ defaultValue: number;
438
+ };
439
+ }>, import("@contractspec/lib.schema").SchemaModel<{
440
+ deals: {
441
+ type: import("@contractspec/lib.schema").SchemaModel<{
442
+ id: {
443
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
444
+ isOptional: false;
445
+ };
446
+ name: {
447
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
448
+ isOptional: false;
449
+ };
450
+ value: {
451
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
452
+ isOptional: false;
453
+ };
454
+ currency: {
455
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
456
+ isOptional: false;
457
+ };
458
+ pipelineId: {
459
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
460
+ isOptional: false;
461
+ };
462
+ stageId: {
463
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
464
+ isOptional: false;
465
+ };
466
+ status: {
467
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
468
+ isOptional: false;
469
+ };
470
+ contactId: {
471
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
472
+ isOptional: true;
473
+ };
474
+ companyId: {
475
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
476
+ isOptional: true;
477
+ };
478
+ ownerId: {
479
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
480
+ isOptional: false;
481
+ };
482
+ expectedCloseDate: {
483
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
484
+ isOptional: true;
485
+ };
486
+ createdAt: {
487
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
488
+ isOptional: false;
489
+ };
490
+ updatedAt: {
491
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
492
+ isOptional: false;
493
+ };
494
+ }>;
495
+ isArray: true;
492
496
  isOptional: false;
493
- };
494
- updatedAt: {
495
- type: _contractspec_lib_schema0.FieldType<Date, string>;
497
+ };
498
+ total: {
499
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
496
500
  isOptional: false;
497
- };
498
- }>;
499
- isArray: true;
500
- isOptional: false;
501
- };
502
- total: {
503
- type: _contractspec_lib_schema0.FieldType<number, number>;
504
- isOptional: false;
505
- };
506
- totalValue: {
507
- type: _contractspec_lib_schema0.FieldType<number, number>;
508
- isOptional: false;
509
- };
501
+ };
502
+ totalValue: {
503
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
504
+ isOptional: false;
505
+ };
510
506
  }>, undefined>;
511
- //#endregion
512
- export { CreateDealContract, ListDealsContract, LoseDealContract, MoveDealContract, WinDealContract };
513
507
  //# sourceMappingURL=deal.operation.d.ts.map