@contractspec/example.workflow-system 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 (209) hide show
  1. package/dist/approval/approval.enum.d.ts +2 -7
  2. package/dist/approval/approval.enum.d.ts.map +1 -1
  3. package/dist/approval/approval.enum.js +20 -26
  4. package/dist/approval/approval.event.d.ts +108 -114
  5. package/dist/approval/approval.event.d.ts.map +1 -1
  6. package/dist/approval/approval.event.js +103 -210
  7. package/dist/approval/approval.handler.d.ts +17 -18
  8. package/dist/approval/approval.handler.d.ts.map +1 -1
  9. package/dist/approval/approval.operations.d.ts +429 -435
  10. package/dist/approval/approval.operations.d.ts.map +1 -1
  11. package/dist/approval/approval.operations.js +364 -339
  12. package/dist/approval/approval.schema.d.ts +86 -91
  13. package/dist/approval/approval.schema.d.ts.map +1 -1
  14. package/dist/approval/approval.schema.js +71 -107
  15. package/dist/approval/index.d.ts +8 -5
  16. package/dist/approval/index.d.ts.map +1 -0
  17. package/dist/approval/index.js +484 -5
  18. package/dist/browser/approval/approval.enum.js +22 -0
  19. package/dist/browser/approval/approval.event.js +112 -0
  20. package/dist/browser/approval/approval.operations.js +369 -0
  21. package/dist/browser/approval/approval.schema.js +73 -0
  22. package/dist/browser/approval/index.js +484 -0
  23. package/dist/browser/docs/index.js +103 -0
  24. package/dist/browser/docs/workflow-system.docblock.js +103 -0
  25. package/dist/browser/entities/approval.js +119 -0
  26. package/dist/browser/entities/index.js +508 -0
  27. package/dist/browser/entities/instance.js +161 -0
  28. package/dist/browser/entities/step.js +124 -0
  29. package/dist/browser/entities/workflow.js +82 -0
  30. package/dist/browser/example.js +42 -0
  31. package/dist/browser/handlers/index.js +253 -0
  32. package/dist/browser/handlers/workflow.handlers.js +253 -0
  33. package/dist/browser/index.js +3120 -0
  34. package/dist/browser/instance/index.js +677 -0
  35. package/dist/browser/instance/instance.enum.js +15 -0
  36. package/dist/browser/instance/instance.event.js +164 -0
  37. package/dist/browser/instance/instance.handler.js +356 -0
  38. package/dist/browser/instance/instance.operations.js +9 -0
  39. package/dist/browser/instance/instance.schema.js +101 -0
  40. package/dist/browser/presentations/index.js +109 -0
  41. package/dist/browser/seeders/index.js +3 -0
  42. package/dist/browser/shared/index.js +3 -0
  43. package/dist/browser/shared/mock-data.js +11 -0
  44. package/dist/browser/shared/types.js +0 -0
  45. package/dist/browser/state-machine/index.js +6 -0
  46. package/dist/browser/tests/operations.test-spec.js +6 -0
  47. package/dist/browser/ui/WorkflowDashboard.js +3 -0
  48. package/dist/browser/ui/hooks/index.js +50 -0
  49. package/dist/browser/ui/hooks/useWorkflowList.js +50 -0
  50. package/dist/browser/ui/index.js +54 -0
  51. package/dist/browser/ui/renderers/index.js +227 -0
  52. package/dist/browser/ui/renderers/workflow.markdown.js +227 -0
  53. package/dist/browser/workflow/index.js +21 -0
  54. package/dist/browser/workflow/workflow.enum.js +36 -0
  55. package/dist/browser/workflow/workflow.event.js +6 -0
  56. package/dist/browser/workflow/workflow.handler.js +5 -0
  57. package/dist/browser/workflow/workflow.operations.js +8 -0
  58. package/dist/browser/workflow/workflow.schema.js +151 -0
  59. package/dist/browser/workflow-system.capability.js +5 -0
  60. package/dist/browser/workflow-system.feature.js +3 -0
  61. package/dist/docs/index.d.ts +2 -1
  62. package/dist/docs/index.d.ts.map +1 -0
  63. package/dist/docs/index.js +104 -1
  64. package/dist/docs/workflow-system.docblock.d.ts +2 -1
  65. package/dist/docs/workflow-system.docblock.d.ts.map +1 -0
  66. package/dist/docs/workflow-system.docblock.js +45 -56
  67. package/dist/entities/approval.d.ts +35 -40
  68. package/dist/entities/approval.d.ts.map +1 -1
  69. package/dist/entities/approval.js +116 -124
  70. package/dist/entities/index.d.ts +132 -137
  71. package/dist/entities/index.d.ts.map +1 -1
  72. package/dist/entities/index.js +506 -29
  73. package/dist/entities/instance.d.ts +46 -51
  74. package/dist/entities/instance.d.ts.map +1 -1
  75. package/dist/entities/instance.js +158 -164
  76. package/dist/entities/step.d.ts +31 -36
  77. package/dist/entities/step.d.ts.map +1 -1
  78. package/dist/entities/step.js +122 -132
  79. package/dist/entities/workflow.d.ts +22 -27
  80. package/dist/entities/workflow.d.ts.map +1 -1
  81. package/dist/entities/workflow.js +80 -99
  82. package/dist/example.d.ts +2 -6
  83. package/dist/example.d.ts.map +1 -1
  84. package/dist/example.js +41 -55
  85. package/dist/handlers/index.d.ts +2 -2
  86. package/dist/handlers/index.d.ts.map +1 -0
  87. package/dist/handlers/index.js +254 -3
  88. package/dist/handlers/workflow.handlers.d.ts +107 -106
  89. package/dist/handlers/workflow.handlers.d.ts.map +1 -1
  90. package/dist/handlers/workflow.handlers.js +237 -246
  91. package/dist/index.d.ts +15 -26
  92. package/dist/index.d.ts.map +1 -0
  93. package/dist/index.js +3121 -26
  94. package/dist/instance/index.d.ts +8 -5
  95. package/dist/instance/index.d.ts.map +1 -0
  96. package/dist/instance/index.js +677 -5
  97. package/dist/instance/instance.enum.d.ts +1 -6
  98. package/dist/instance/instance.enum.d.ts.map +1 -1
  99. package/dist/instance/instance.enum.js +14 -18
  100. package/dist/instance/instance.event.d.ts +313 -319
  101. package/dist/instance/instance.event.d.ts.map +1 -1
  102. package/dist/instance/instance.event.js +151 -279
  103. package/dist/instance/instance.handler.d.ts +21 -22
  104. package/dist/instance/instance.handler.d.ts.map +1 -1
  105. package/dist/instance/instance.handler.js +352 -89
  106. package/dist/instance/instance.operations.d.ts +819 -825
  107. package/dist/instance/instance.operations.d.ts.map +1 -1
  108. package/dist/instance/instance.operations.js +10 -464
  109. package/dist/instance/instance.schema.d.ts +196 -201
  110. package/dist/instance/instance.schema.d.ts.map +1 -1
  111. package/dist/instance/instance.schema.js +97 -167
  112. package/dist/presentations/index.d.ts +23 -28
  113. package/dist/presentations/index.d.ts.map +1 -1
  114. package/dist/presentations/index.js +104 -334
  115. package/dist/seeders/index.d.ts +4 -8
  116. package/dist/seeders/index.d.ts.map +1 -1
  117. package/dist/seeders/index.js +4 -19
  118. package/dist/shared/index.d.ts +6 -3
  119. package/dist/shared/index.d.ts.map +1 -0
  120. package/dist/shared/index.js +4 -3
  121. package/dist/shared/mock-data.d.ts +16 -16
  122. package/dist/shared/mock-data.d.ts.map +1 -1
  123. package/dist/shared/mock-data.js +11 -11
  124. package/dist/shared/types.d.ts +69 -72
  125. package/dist/shared/types.d.ts.map +1 -1
  126. package/dist/shared/types.js +1 -0
  127. package/dist/state-machine/index.d.ts +92 -95
  128. package/dist/state-machine/index.d.ts.map +1 -1
  129. package/dist/state-machine/index.js +6 -157
  130. package/dist/tests/operations.test-spec.d.ts +4 -9
  131. package/dist/tests/operations.test-spec.d.ts.map +1 -1
  132. package/dist/tests/operations.test-spec.js +7 -123
  133. package/dist/ui/WorkflowDashboard.d.ts +1 -6
  134. package/dist/ui/WorkflowDashboard.d.ts.map +1 -1
  135. package/dist/ui/WorkflowDashboard.js +3 -222
  136. package/dist/ui/hooks/index.d.ts +2 -2
  137. package/dist/ui/hooks/index.d.ts.map +1 -0
  138. package/dist/ui/hooks/index.js +51 -5
  139. package/dist/ui/hooks/useWorkflowList.d.ts +15 -19
  140. package/dist/ui/hooks/useWorkflowList.d.ts.map +1 -1
  141. package/dist/ui/hooks/useWorkflowList.js +47 -51
  142. package/dist/ui/index.d.ts +7 -6
  143. package/dist/ui/index.d.ts.map +1 -0
  144. package/dist/ui/index.js +55 -6
  145. package/dist/ui/renderers/index.d.ts +2 -2
  146. package/dist/ui/renderers/index.d.ts.map +1 -0
  147. package/dist/ui/renderers/index.js +227 -2
  148. package/dist/ui/renderers/workflow.markdown.d.ts +13 -14
  149. package/dist/ui/renderers/workflow.markdown.d.ts.map +1 -1
  150. package/dist/ui/renderers/workflow.markdown.js +223 -229
  151. package/dist/workflow/index.d.ts +8 -5
  152. package/dist/workflow/index.d.ts.map +1 -0
  153. package/dist/workflow/index.js +22 -6
  154. package/dist/workflow/workflow.enum.d.ts +4 -9
  155. package/dist/workflow/workflow.enum.d.ts.map +1 -1
  156. package/dist/workflow/workflow.enum.js +32 -42
  157. package/dist/workflow/workflow.event.d.ts +112 -118
  158. package/dist/workflow/workflow.event.d.ts.map +1 -1
  159. package/dist/workflow/workflow.event.js +7 -150
  160. package/dist/workflow/workflow.handler.d.ts +23 -24
  161. package/dist/workflow/workflow.handler.d.ts.map +1 -1
  162. package/dist/workflow/workflow.handler.js +6 -66
  163. package/dist/workflow/workflow.operations.d.ts +847 -853
  164. package/dist/workflow/workflow.operations.d.ts.map +1 -1
  165. package/dist/workflow/workflow.operations.js +9 -345
  166. package/dist/workflow/workflow.schema.d.ts +229 -234
  167. package/dist/workflow/workflow.schema.d.ts.map +1 -1
  168. package/dist/workflow/workflow.schema.js +146 -243
  169. package/dist/workflow-system.capability.d.ts +3 -8
  170. package/dist/workflow-system.capability.d.ts.map +1 -1
  171. package/dist/workflow-system.capability.js +6 -34
  172. package/dist/workflow-system.feature.d.ts +1 -6
  173. package/dist/workflow-system.feature.d.ts.map +1 -1
  174. package/dist/workflow-system.feature.js +4 -346
  175. package/package.json +415 -93
  176. package/dist/approval/approval.enum.js.map +0 -1
  177. package/dist/approval/approval.event.js.map +0 -1
  178. package/dist/approval/approval.handler.js +0 -72
  179. package/dist/approval/approval.handler.js.map +0 -1
  180. package/dist/approval/approval.operations.js.map +0 -1
  181. package/dist/approval/approval.schema.js.map +0 -1
  182. package/dist/docs/workflow-system.docblock.js.map +0 -1
  183. package/dist/entities/approval.js.map +0 -1
  184. package/dist/entities/index.js.map +0 -1
  185. package/dist/entities/instance.js.map +0 -1
  186. package/dist/entities/step.js.map +0 -1
  187. package/dist/entities/workflow.js.map +0 -1
  188. package/dist/example.js.map +0 -1
  189. package/dist/handlers/workflow.handlers.js.map +0 -1
  190. package/dist/instance/instance.enum.js.map +0 -1
  191. package/dist/instance/instance.event.js.map +0 -1
  192. package/dist/instance/instance.handler.js.map +0 -1
  193. package/dist/instance/instance.operations.js.map +0 -1
  194. package/dist/instance/instance.schema.js.map +0 -1
  195. package/dist/presentations/index.js.map +0 -1
  196. package/dist/seeders/index.js.map +0 -1
  197. package/dist/shared/mock-data.js.map +0 -1
  198. package/dist/state-machine/index.js.map +0 -1
  199. package/dist/tests/operations.test-spec.js.map +0 -1
  200. package/dist/ui/WorkflowDashboard.js.map +0 -1
  201. package/dist/ui/hooks/useWorkflowList.js.map +0 -1
  202. package/dist/ui/renderers/workflow.markdown.js.map +0 -1
  203. package/dist/workflow/workflow.enum.js.map +0 -1
  204. package/dist/workflow/workflow.event.js.map +0 -1
  205. package/dist/workflow/workflow.handler.js.map +0 -1
  206. package/dist/workflow/workflow.operations.js.map +0 -1
  207. package/dist/workflow/workflow.schema.js.map +0 -1
  208. package/dist/workflow-system.capability.js.map +0 -1
  209. package/dist/workflow-system.feature.js.map +0 -1
@@ -1,535 +1,529 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
-
4
- //#region src/approval/approval.operations.d.ts
5
1
  /**
6
2
  * Approve or reject an approval request.
7
3
  */
8
- declare const SubmitDecisionContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
9
- requestId: {
10
- type: _contractspec_lib_schema0.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- decision: {
14
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
15
- isOptional: false;
16
- };
17
- comment: {
18
- type: _contractspec_lib_schema0.FieldType<string, string>;
19
- isOptional: true;
20
- };
21
- data: {
22
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
23
- isOptional: true;
24
- };
25
- }>, _contractspec_lib_schema0.SchemaModel<{
26
- id: {
27
- type: _contractspec_lib_schema0.FieldType<string, string>;
28
- isOptional: false;
29
- };
30
- workflowInstanceId: {
31
- type: _contractspec_lib_schema0.FieldType<string, string>;
32
- isOptional: false;
33
- };
34
- stepExecutionId: {
35
- type: _contractspec_lib_schema0.FieldType<string, string>;
36
- isOptional: false;
37
- };
38
- approverId: {
39
- type: _contractspec_lib_schema0.FieldType<string, string>;
40
- isOptional: false;
41
- };
42
- approverRole: {
43
- type: _contractspec_lib_schema0.FieldType<string, string>;
44
- isOptional: true;
45
- };
46
- title: {
47
- type: _contractspec_lib_schema0.FieldType<string, string>;
48
- isOptional: false;
49
- };
50
- description: {
51
- type: _contractspec_lib_schema0.FieldType<string, string>;
52
- isOptional: true;
53
- };
54
- status: {
55
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
56
- isOptional: false;
57
- };
58
- decision: {
59
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
60
- isOptional: true;
61
- };
62
- decisionComment: {
63
- type: _contractspec_lib_schema0.FieldType<string, string>;
64
- isOptional: true;
65
- };
66
- decidedAt: {
67
- type: _contractspec_lib_schema0.FieldType<Date, string>;
68
- isOptional: true;
69
- };
70
- dueAt: {
71
- type: _contractspec_lib_schema0.FieldType<Date, string>;
72
- isOptional: true;
73
- };
74
- contextSnapshot: {
75
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
76
- isOptional: true;
77
- };
78
- sequenceOrder: {
79
- type: _contractspec_lib_schema0.FieldType<number, number>;
80
- isOptional: false;
81
- };
82
- createdAt: {
83
- type: _contractspec_lib_schema0.FieldType<Date, string>;
84
- isOptional: false;
85
- };
86
- }>, {
87
- key: string;
88
- version: string;
89
- when: string;
90
- payload: _contractspec_lib_schema0.SchemaModel<{
4
+ export declare const SubmitDecisionContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
5
+ requestId: {
6
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
7
+ isOptional: false;
8
+ };
9
+ decision: {
10
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
11
+ isOptional: false;
12
+ };
13
+ comment: {
14
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
15
+ isOptional: true;
16
+ };
17
+ data: {
18
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
19
+ isOptional: true;
20
+ };
21
+ }>, import("@contractspec/lib.schema").SchemaModel<{
91
22
  id: {
92
- type: _contractspec_lib_schema0.FieldType<string, string>;
93
- isOptional: false;
23
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
24
+ isOptional: false;
94
25
  };
95
26
  workflowInstanceId: {
96
- type: _contractspec_lib_schema0.FieldType<string, string>;
97
- isOptional: false;
27
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
28
+ isOptional: false;
98
29
  };
99
30
  stepExecutionId: {
100
- type: _contractspec_lib_schema0.FieldType<string, string>;
101
- isOptional: false;
31
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
32
+ isOptional: false;
102
33
  };
103
34
  approverId: {
104
- type: _contractspec_lib_schema0.FieldType<string, string>;
105
- isOptional: false;
35
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
36
+ isOptional: false;
106
37
  };
107
38
  approverRole: {
108
- type: _contractspec_lib_schema0.FieldType<string, string>;
109
- isOptional: true;
39
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
40
+ isOptional: true;
110
41
  };
111
42
  title: {
112
- type: _contractspec_lib_schema0.FieldType<string, string>;
113
- isOptional: false;
43
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
44
+ isOptional: false;
114
45
  };
115
46
  description: {
116
- type: _contractspec_lib_schema0.FieldType<string, string>;
117
- isOptional: true;
47
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
48
+ isOptional: true;
118
49
  };
119
50
  status: {
120
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
121
- isOptional: false;
51
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
52
+ isOptional: false;
122
53
  };
123
54
  decision: {
124
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
125
- isOptional: true;
55
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
56
+ isOptional: true;
126
57
  };
127
58
  decisionComment: {
128
- type: _contractspec_lib_schema0.FieldType<string, string>;
129
- isOptional: true;
59
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
60
+ isOptional: true;
130
61
  };
131
62
  decidedAt: {
132
- type: _contractspec_lib_schema0.FieldType<Date, string>;
133
- isOptional: true;
63
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
64
+ isOptional: true;
134
65
  };
135
66
  dueAt: {
136
- type: _contractspec_lib_schema0.FieldType<Date, string>;
137
- isOptional: true;
67
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
68
+ isOptional: true;
138
69
  };
139
70
  contextSnapshot: {
140
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
141
- isOptional: true;
71
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
72
+ isOptional: true;
142
73
  };
143
74
  sequenceOrder: {
144
- type: _contractspec_lib_schema0.FieldType<number, number>;
145
- isOptional: false;
75
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
76
+ isOptional: false;
146
77
  };
147
78
  createdAt: {
148
- type: _contractspec_lib_schema0.FieldType<Date, string>;
149
- isOptional: false;
79
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
80
+ isOptional: false;
150
81
  };
151
- }>;
82
+ }>, {
83
+ key: string;
84
+ version: string;
85
+ when: string;
86
+ payload: import("@contractspec/lib.schema").SchemaModel<{
87
+ id: {
88
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
89
+ isOptional: false;
90
+ };
91
+ workflowInstanceId: {
92
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
93
+ isOptional: false;
94
+ };
95
+ stepExecutionId: {
96
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
97
+ isOptional: false;
98
+ };
99
+ approverId: {
100
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
101
+ isOptional: false;
102
+ };
103
+ approverRole: {
104
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
105
+ isOptional: true;
106
+ };
107
+ title: {
108
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
109
+ isOptional: false;
110
+ };
111
+ description: {
112
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
113
+ isOptional: true;
114
+ };
115
+ status: {
116
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
117
+ isOptional: false;
118
+ };
119
+ decision: {
120
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
121
+ isOptional: true;
122
+ };
123
+ decisionComment: {
124
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
125
+ isOptional: true;
126
+ };
127
+ decidedAt: {
128
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
129
+ isOptional: true;
130
+ };
131
+ dueAt: {
132
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
133
+ isOptional: true;
134
+ };
135
+ contextSnapshot: {
136
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
137
+ isOptional: true;
138
+ };
139
+ sequenceOrder: {
140
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
141
+ isOptional: false;
142
+ };
143
+ createdAt: {
144
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
145
+ isOptional: false;
146
+ };
147
+ }>;
152
148
  }[]>;
153
149
  /**
154
150
  * Delegate an approval to another user.
155
151
  */
156
- declare const DelegateApprovalContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
157
- requestId: {
158
- type: _contractspec_lib_schema0.FieldType<string, string>;
159
- isOptional: false;
160
- };
161
- delegateTo: {
162
- type: _contractspec_lib_schema0.FieldType<string, string>;
163
- isOptional: false;
164
- };
165
- reason: {
166
- type: _contractspec_lib_schema0.FieldType<string, string>;
167
- isOptional: true;
168
- };
169
- }>, _contractspec_lib_schema0.SchemaModel<{
170
- id: {
171
- type: _contractspec_lib_schema0.FieldType<string, string>;
172
- isOptional: false;
173
- };
174
- workflowInstanceId: {
175
- type: _contractspec_lib_schema0.FieldType<string, string>;
176
- isOptional: false;
177
- };
178
- stepExecutionId: {
179
- type: _contractspec_lib_schema0.FieldType<string, string>;
180
- isOptional: false;
181
- };
182
- approverId: {
183
- type: _contractspec_lib_schema0.FieldType<string, string>;
184
- isOptional: false;
185
- };
186
- approverRole: {
187
- type: _contractspec_lib_schema0.FieldType<string, string>;
188
- isOptional: true;
189
- };
190
- title: {
191
- type: _contractspec_lib_schema0.FieldType<string, string>;
192
- isOptional: false;
193
- };
194
- description: {
195
- type: _contractspec_lib_schema0.FieldType<string, string>;
196
- isOptional: true;
197
- };
198
- status: {
199
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
200
- isOptional: false;
201
- };
202
- decision: {
203
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
204
- isOptional: true;
205
- };
206
- decisionComment: {
207
- type: _contractspec_lib_schema0.FieldType<string, string>;
208
- isOptional: true;
209
- };
210
- decidedAt: {
211
- type: _contractspec_lib_schema0.FieldType<Date, string>;
212
- isOptional: true;
213
- };
214
- dueAt: {
215
- type: _contractspec_lib_schema0.FieldType<Date, string>;
216
- isOptional: true;
217
- };
218
- contextSnapshot: {
219
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
220
- isOptional: true;
221
- };
222
- sequenceOrder: {
223
- type: _contractspec_lib_schema0.FieldType<number, number>;
224
- isOptional: false;
225
- };
226
- createdAt: {
227
- type: _contractspec_lib_schema0.FieldType<Date, string>;
228
- isOptional: false;
229
- };
230
- }>, {
231
- key: string;
232
- version: string;
233
- when: string;
234
- payload: _contractspec_lib_schema0.SchemaModel<{
152
+ export declare const DelegateApprovalContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
153
+ requestId: {
154
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
155
+ isOptional: false;
156
+ };
157
+ delegateTo: {
158
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
159
+ isOptional: false;
160
+ };
161
+ reason: {
162
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
163
+ isOptional: true;
164
+ };
165
+ }>, import("@contractspec/lib.schema").SchemaModel<{
235
166
  id: {
236
- type: _contractspec_lib_schema0.FieldType<string, string>;
237
- isOptional: false;
167
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
168
+ isOptional: false;
238
169
  };
239
170
  workflowInstanceId: {
240
- type: _contractspec_lib_schema0.FieldType<string, string>;
241
- isOptional: false;
171
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
172
+ isOptional: false;
242
173
  };
243
174
  stepExecutionId: {
244
- type: _contractspec_lib_schema0.FieldType<string, string>;
245
- isOptional: false;
175
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
176
+ isOptional: false;
246
177
  };
247
178
  approverId: {
248
- type: _contractspec_lib_schema0.FieldType<string, string>;
249
- isOptional: false;
179
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
180
+ isOptional: false;
250
181
  };
251
182
  approverRole: {
252
- type: _contractspec_lib_schema0.FieldType<string, string>;
253
- isOptional: true;
183
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
184
+ isOptional: true;
254
185
  };
255
186
  title: {
256
- type: _contractspec_lib_schema0.FieldType<string, string>;
257
- isOptional: false;
187
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
188
+ isOptional: false;
258
189
  };
259
190
  description: {
260
- type: _contractspec_lib_schema0.FieldType<string, string>;
261
- isOptional: true;
191
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
192
+ isOptional: true;
262
193
  };
263
194
  status: {
264
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
265
- isOptional: false;
195
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
196
+ isOptional: false;
266
197
  };
267
198
  decision: {
268
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
269
- isOptional: true;
199
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
200
+ isOptional: true;
270
201
  };
271
202
  decisionComment: {
272
- type: _contractspec_lib_schema0.FieldType<string, string>;
273
- isOptional: true;
203
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
204
+ isOptional: true;
274
205
  };
275
206
  decidedAt: {
276
- type: _contractspec_lib_schema0.FieldType<Date, string>;
277
- isOptional: true;
207
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
208
+ isOptional: true;
278
209
  };
279
210
  dueAt: {
280
- type: _contractspec_lib_schema0.FieldType<Date, string>;
281
- isOptional: true;
211
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
212
+ isOptional: true;
282
213
  };
283
214
  contextSnapshot: {
284
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
285
- isOptional: true;
215
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
216
+ isOptional: true;
286
217
  };
287
218
  sequenceOrder: {
288
- type: _contractspec_lib_schema0.FieldType<number, number>;
289
- isOptional: false;
219
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
220
+ isOptional: false;
290
221
  };
291
222
  createdAt: {
292
- type: _contractspec_lib_schema0.FieldType<Date, string>;
293
- isOptional: false;
223
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
224
+ isOptional: false;
294
225
  };
295
- }>;
226
+ }>, {
227
+ key: string;
228
+ version: string;
229
+ when: string;
230
+ payload: import("@contractspec/lib.schema").SchemaModel<{
231
+ id: {
232
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
233
+ isOptional: false;
234
+ };
235
+ workflowInstanceId: {
236
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
237
+ isOptional: false;
238
+ };
239
+ stepExecutionId: {
240
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
241
+ isOptional: false;
242
+ };
243
+ approverId: {
244
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
245
+ isOptional: false;
246
+ };
247
+ approverRole: {
248
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
249
+ isOptional: true;
250
+ };
251
+ title: {
252
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
253
+ isOptional: false;
254
+ };
255
+ description: {
256
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
257
+ isOptional: true;
258
+ };
259
+ status: {
260
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
261
+ isOptional: false;
262
+ };
263
+ decision: {
264
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
265
+ isOptional: true;
266
+ };
267
+ decisionComment: {
268
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
269
+ isOptional: true;
270
+ };
271
+ decidedAt: {
272
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
273
+ isOptional: true;
274
+ };
275
+ dueAt: {
276
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
277
+ isOptional: true;
278
+ };
279
+ contextSnapshot: {
280
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
281
+ isOptional: true;
282
+ };
283
+ sequenceOrder: {
284
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
285
+ isOptional: false;
286
+ };
287
+ createdAt: {
288
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
289
+ isOptional: false;
290
+ };
291
+ }>;
296
292
  }[]>;
297
293
  /**
298
294
  * Add a comment to an approval request.
299
295
  */
300
- declare const AddApprovalCommentContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
301
- requestId: {
302
- type: _contractspec_lib_schema0.FieldType<string, string>;
303
- isOptional: false;
304
- };
305
- content: {
306
- type: _contractspec_lib_schema0.FieldType<string, string>;
307
- isOptional: false;
308
- };
309
- isInternal: {
310
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
311
- isOptional: true;
312
- };
313
- }>, _contractspec_lib_schema0.SchemaModel<{
314
- id: {
315
- type: _contractspec_lib_schema0.FieldType<string, string>;
316
- isOptional: false;
317
- };
318
- approvalRequestId: {
319
- type: _contractspec_lib_schema0.FieldType<string, string>;
320
- isOptional: false;
321
- };
322
- authorId: {
323
- type: _contractspec_lib_schema0.FieldType<string, string>;
324
- isOptional: false;
325
- };
326
- content: {
327
- type: _contractspec_lib_schema0.FieldType<string, string>;
328
- isOptional: false;
329
- };
330
- isInternal: {
331
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
332
- isOptional: false;
333
- };
334
- createdAt: {
335
- type: _contractspec_lib_schema0.FieldType<Date, string>;
336
- isOptional: false;
337
- };
338
- }>, {
339
- key: string;
340
- version: string;
341
- when: string;
342
- payload: _contractspec_lib_schema0.SchemaModel<{
296
+ export declare const AddApprovalCommentContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
297
+ requestId: {
298
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
299
+ isOptional: false;
300
+ };
301
+ content: {
302
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
303
+ isOptional: false;
304
+ };
305
+ isInternal: {
306
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
307
+ isOptional: true;
308
+ };
309
+ }>, import("@contractspec/lib.schema").SchemaModel<{
343
310
  id: {
344
- type: _contractspec_lib_schema0.FieldType<string, string>;
345
- isOptional: false;
311
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
312
+ isOptional: false;
346
313
  };
347
314
  approvalRequestId: {
348
- type: _contractspec_lib_schema0.FieldType<string, string>;
349
- isOptional: false;
315
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
316
+ isOptional: false;
350
317
  };
351
318
  authorId: {
352
- type: _contractspec_lib_schema0.FieldType<string, string>;
353
- isOptional: false;
319
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
320
+ isOptional: false;
354
321
  };
355
322
  content: {
356
- type: _contractspec_lib_schema0.FieldType<string, string>;
357
- isOptional: false;
323
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
324
+ isOptional: false;
358
325
  };
359
326
  isInternal: {
360
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
361
- isOptional: false;
327
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
328
+ isOptional: false;
362
329
  };
363
330
  createdAt: {
364
- type: _contractspec_lib_schema0.FieldType<Date, string>;
365
- isOptional: false;
331
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
332
+ isOptional: false;
366
333
  };
367
- }>;
334
+ }>, {
335
+ key: string;
336
+ version: string;
337
+ when: string;
338
+ payload: import("@contractspec/lib.schema").SchemaModel<{
339
+ id: {
340
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
341
+ isOptional: false;
342
+ };
343
+ approvalRequestId: {
344
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
345
+ isOptional: false;
346
+ };
347
+ authorId: {
348
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
349
+ isOptional: false;
350
+ };
351
+ content: {
352
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
353
+ isOptional: false;
354
+ };
355
+ isInternal: {
356
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
357
+ isOptional: false;
358
+ };
359
+ createdAt: {
360
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
361
+ isOptional: false;
362
+ };
363
+ }>;
368
364
  }[]>;
369
365
  /**
370
366
  * List approvals assigned to the current user.
371
367
  */
372
- declare const ListMyApprovalsContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
373
- status: {
374
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
375
- isOptional: true;
376
- };
377
- limit: {
378
- type: _contractspec_lib_schema0.FieldType<number, number>;
379
- isOptional: true;
380
- defaultValue: number;
381
- };
382
- offset: {
383
- type: _contractspec_lib_schema0.FieldType<number, number>;
384
- isOptional: true;
385
- defaultValue: number;
386
- };
387
- }>, _contractspec_lib_schema0.SchemaModel<{
388
- requests: {
389
- type: _contractspec_lib_schema0.SchemaModel<{
390
- id: {
391
- type: _contractspec_lib_schema0.FieldType<string, string>;
392
- isOptional: false;
393
- };
394
- workflowInstanceId: {
395
- type: _contractspec_lib_schema0.FieldType<string, string>;
396
- isOptional: false;
397
- };
398
- stepExecutionId: {
399
- type: _contractspec_lib_schema0.FieldType<string, string>;
400
- isOptional: false;
401
- };
402
- approverId: {
403
- type: _contractspec_lib_schema0.FieldType<string, string>;
404
- isOptional: false;
405
- };
406
- approverRole: {
407
- type: _contractspec_lib_schema0.FieldType<string, string>;
368
+ export declare const ListMyApprovalsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
369
+ status: {
370
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
371
+ isOptional: true;
372
+ };
373
+ limit: {
374
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
375
+ isOptional: true;
376
+ defaultValue: number;
377
+ };
378
+ offset: {
379
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
380
+ isOptional: true;
381
+ defaultValue: number;
382
+ };
383
+ }>, import("@contractspec/lib.schema").SchemaModel<{
384
+ requests: {
385
+ type: import("@contractspec/lib.schema").SchemaModel<{
386
+ id: {
387
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
388
+ isOptional: false;
389
+ };
390
+ workflowInstanceId: {
391
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
392
+ isOptional: false;
393
+ };
394
+ stepExecutionId: {
395
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
396
+ isOptional: false;
397
+ };
398
+ approverId: {
399
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
400
+ isOptional: false;
401
+ };
402
+ approverRole: {
403
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
404
+ isOptional: true;
405
+ };
406
+ title: {
407
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
408
+ isOptional: false;
409
+ };
410
+ description: {
411
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
412
+ isOptional: true;
413
+ };
414
+ status: {
415
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
416
+ isOptional: false;
417
+ };
418
+ decision: {
419
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
420
+ isOptional: true;
421
+ };
422
+ decisionComment: {
423
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
424
+ isOptional: true;
425
+ };
426
+ decidedAt: {
427
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
428
+ isOptional: true;
429
+ };
430
+ dueAt: {
431
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
432
+ isOptional: true;
433
+ };
434
+ contextSnapshot: {
435
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
436
+ isOptional: true;
437
+ };
438
+ sequenceOrder: {
439
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
440
+ isOptional: false;
441
+ };
442
+ createdAt: {
443
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
444
+ isOptional: false;
445
+ };
446
+ }>;
447
+ isArray: true;
448
+ isOptional: false;
449
+ };
450
+ total: {
451
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
452
+ isOptional: false;
453
+ };
454
+ pendingCount: {
455
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
456
+ isOptional: false;
457
+ };
458
+ }>, undefined>;
459
+ /**
460
+ * Get a single approval request.
461
+ */
462
+ export declare const GetApprovalContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
463
+ requestId: {
464
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
465
+ isOptional: false;
466
+ };
467
+ }>, import("@contractspec/lib.schema").SchemaModel<{
468
+ id: {
469
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
470
+ isOptional: false;
471
+ };
472
+ workflowInstanceId: {
473
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
474
+ isOptional: false;
475
+ };
476
+ stepExecutionId: {
477
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
478
+ isOptional: false;
479
+ };
480
+ approverId: {
481
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
482
+ isOptional: false;
483
+ };
484
+ approverRole: {
485
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
408
486
  isOptional: true;
409
- };
410
- title: {
411
- type: _contractspec_lib_schema0.FieldType<string, string>;
487
+ };
488
+ title: {
489
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
412
490
  isOptional: false;
413
- };
414
- description: {
415
- type: _contractspec_lib_schema0.FieldType<string, string>;
491
+ };
492
+ description: {
493
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
416
494
  isOptional: true;
417
- };
418
- status: {
419
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
495
+ };
496
+ status: {
497
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string]>;
420
498
  isOptional: false;
421
- };
422
- decision: {
423
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
499
+ };
500
+ decision: {
501
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
424
502
  isOptional: true;
425
- };
426
- decisionComment: {
427
- type: _contractspec_lib_schema0.FieldType<string, string>;
503
+ };
504
+ decisionComment: {
505
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
428
506
  isOptional: true;
429
- };
430
- decidedAt: {
431
- type: _contractspec_lib_schema0.FieldType<Date, string>;
507
+ };
508
+ decidedAt: {
509
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
432
510
  isOptional: true;
433
- };
434
- dueAt: {
435
- type: _contractspec_lib_schema0.FieldType<Date, string>;
511
+ };
512
+ dueAt: {
513
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
436
514
  isOptional: true;
437
- };
438
- contextSnapshot: {
439
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
515
+ };
516
+ contextSnapshot: {
517
+ type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
440
518
  isOptional: true;
441
- };
442
- sequenceOrder: {
443
- type: _contractspec_lib_schema0.FieldType<number, number>;
519
+ };
520
+ sequenceOrder: {
521
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
444
522
  isOptional: false;
445
- };
446
- createdAt: {
447
- type: _contractspec_lib_schema0.FieldType<Date, string>;
523
+ };
524
+ createdAt: {
525
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
448
526
  isOptional: false;
449
- };
450
- }>;
451
- isArray: true;
452
- isOptional: false;
453
- };
454
- total: {
455
- type: _contractspec_lib_schema0.FieldType<number, number>;
456
- isOptional: false;
457
- };
458
- pendingCount: {
459
- type: _contractspec_lib_schema0.FieldType<number, number>;
460
- isOptional: false;
461
- };
462
- }>, undefined>;
463
- /**
464
- * Get a single approval request.
465
- */
466
- declare const GetApprovalContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
467
- requestId: {
468
- type: _contractspec_lib_schema0.FieldType<string, string>;
469
- isOptional: false;
470
- };
471
- }>, _contractspec_lib_schema0.SchemaModel<{
472
- id: {
473
- type: _contractspec_lib_schema0.FieldType<string, string>;
474
- isOptional: false;
475
- };
476
- workflowInstanceId: {
477
- type: _contractspec_lib_schema0.FieldType<string, string>;
478
- isOptional: false;
479
- };
480
- stepExecutionId: {
481
- type: _contractspec_lib_schema0.FieldType<string, string>;
482
- isOptional: false;
483
- };
484
- approverId: {
485
- type: _contractspec_lib_schema0.FieldType<string, string>;
486
- isOptional: false;
487
- };
488
- approverRole: {
489
- type: _contractspec_lib_schema0.FieldType<string, string>;
490
- isOptional: true;
491
- };
492
- title: {
493
- type: _contractspec_lib_schema0.FieldType<string, string>;
494
- isOptional: false;
495
- };
496
- description: {
497
- type: _contractspec_lib_schema0.FieldType<string, string>;
498
- isOptional: true;
499
- };
500
- status: {
501
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string]>;
502
- isOptional: false;
503
- };
504
- decision: {
505
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string]>;
506
- isOptional: true;
507
- };
508
- decisionComment: {
509
- type: _contractspec_lib_schema0.FieldType<string, string>;
510
- isOptional: true;
511
- };
512
- decidedAt: {
513
- type: _contractspec_lib_schema0.FieldType<Date, string>;
514
- isOptional: true;
515
- };
516
- dueAt: {
517
- type: _contractspec_lib_schema0.FieldType<Date, string>;
518
- isOptional: true;
519
- };
520
- contextSnapshot: {
521
- type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
522
- isOptional: true;
523
- };
524
- sequenceOrder: {
525
- type: _contractspec_lib_schema0.FieldType<number, number>;
526
- isOptional: false;
527
- };
528
- createdAt: {
529
- type: _contractspec_lib_schema0.FieldType<Date, string>;
530
- isOptional: false;
531
- };
527
+ };
532
528
  }>, undefined>;
533
- //#endregion
534
- export { AddApprovalCommentContract, DelegateApprovalContract, GetApprovalContract, ListMyApprovalsContract, SubmitDecisionContract };
535
529
  //# sourceMappingURL=approval.operations.d.ts.map