@rossum/api-client 0.1.26 → 0.1.30

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 (141) hide show
  1. package/index.js +72 -72
  2. package/index.js.map +1 -1
  3. package/package.json +3 -2
  4. package/src/hooks/endpoints/runs.js.map +1 -1
  5. package/src/hooks/endpoints/runs.schema.js +4 -0
  6. package/src/hooks/endpoints/runs.schema.js.map +1 -1
  7. package/src/hooks/endpoints/test.schema.js +2 -2
  8. package/src/hooks/endpoints/test.schema.js.map +1 -1
  9. package/src/hooks/models/hookUtils.schema.js +2 -0
  10. package/src/hooks/models/hookUtils.schema.js.map +1 -1
  11. package/src/internal/endpoints/rules/evaluateRules.js.map +1 -1
  12. package/src/internal/endpoints/rules/evaluateRules.schema.js +2 -0
  13. package/src/internal/endpoints/rules/evaluateRules.schema.js.map +1 -1
  14. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js +2 -2
  15. package/src/internal/endpoints/schemas/evaluateFormulas.schema.js.map +1 -1
  16. package/src/internal/endpoints/schemas/formulasInfo.schema.js +1 -1
  17. package/src/internal/endpoints/schemas/formulasInfo.schema.js.map +1 -1
  18. package/src/queues/endpoints/automationSetup.js +15 -0
  19. package/src/queues/endpoints/automationSetup.js.map +1 -0
  20. package/src/queues/endpoints/index.js +2 -0
  21. package/src/queues/endpoints/index.js.map +1 -1
  22. package/src/queues/models/automationSetup.js +3 -0
  23. package/src/queues/models/automationSetup.js.map +1 -0
  24. package/src/queues/models/automationSetup.schema.js +49 -0
  25. package/src/queues/models/automationSetup.schema.js.map +1 -0
  26. package/src/queues/models/queueSettings.schema.js +1 -0
  27. package/src/queues/models/queueSettings.schema.js.map +1 -1
  28. package/src/rules/models/schemaRule.schema.js +1 -0
  29. package/src/rules/models/schemaRule.schema.js.map +1 -1
  30. package/src/schemas/models/schemaDatapointBase.schema.js +2 -0
  31. package/src/schemas/models/schemaDatapointBase.schema.js.map +1 -1
  32. package/src/shared/models/annotationListTable.schema.js +12 -1
  33. package/src/shared/models/annotationListTable.schema.js.map +1 -1
  34. package/src/utils/requestConfig.js +5 -4
  35. package/src/utils/requestConfig.js.map +1 -1
  36. package/src/utils/requestResponse.js +2 -2
  37. package/src/utils/requestResponse.js.map +1 -1
  38. package/types/index.d.ts +851 -316
  39. package/types/src/annotations/endpoints/index.d.ts +36 -22
  40. package/types/src/annotations/endpoints/list.d.ts +18 -11
  41. package/types/src/annotations/endpoints/search.d.ts +18 -11
  42. package/types/src/annotations/models/annotationListSideload.schema.d.ts +18 -11
  43. package/types/src/engines/endpoints/index.d.ts +18 -11
  44. package/types/src/engines/endpoints/queueStats.d.ts +18 -11
  45. package/types/src/engines/endpoints/queueStats.schema.d.ts +18 -11
  46. package/types/src/hookTemplates/endpoints/get.d.ts +9 -9
  47. package/types/src/hookTemplates/endpoints/index.d.ts +24 -24
  48. package/types/src/hookTemplates/endpoints/list.d.ts +15 -15
  49. package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +9 -9
  50. package/types/src/hooks/endpoints/create.d.ts +9 -9
  51. package/types/src/hooks/endpoints/createFromTemplate.d.ts +12 -12
  52. package/types/src/hooks/endpoints/createFromTemplate.schema.d.ts +3 -3
  53. package/types/src/hooks/endpoints/get.d.ts +9 -9
  54. package/types/src/hooks/endpoints/index.d.ts +97 -81
  55. package/types/src/hooks/endpoints/list.d.ts +18 -18
  56. package/types/src/hooks/endpoints/list.schema.d.ts +3 -3
  57. package/types/src/hooks/endpoints/patch.d.ts +18 -18
  58. package/types/src/hooks/endpoints/patch.schema.d.ts +9 -9
  59. package/types/src/hooks/endpoints/runs.d.ts +29 -9
  60. package/types/src/hooks/endpoints/runs.schema.d.ts +21 -9
  61. package/types/src/hooks/endpoints/test.d.ts +8 -8
  62. package/types/src/hooks/endpoints/test.schema.d.ts +6 -6
  63. package/types/src/hooks/models/hook.schema.d.ts +21 -21
  64. package/types/src/hooks/models/hookUtils.d.ts +2 -2
  65. package/types/src/hooks/models/hookUtils.schema.d.ts +3 -3
  66. package/types/src/hooks/models/run.schema.d.ts +5 -5
  67. package/types/src/internal/endpoints/index.d.ts +2609 -1457
  68. package/types/src/internal/endpoints/rules/evaluateRules.d.ts +337 -188
  69. package/types/src/internal/endpoints/rules/evaluateRules.schema.d.ts +335 -188
  70. package/types/src/internal/endpoints/rules/suggestRule.d.ts +327 -183
  71. package/types/src/internal/endpoints/rules/suggestRule.schema.d.ts +332 -188
  72. package/types/src/internal/endpoints/rules/suggestTriggerCondition.d.ts +327 -183
  73. package/types/src/internal/endpoints/rules/suggestTriggerCondition.schema.d.ts +327 -183
  74. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.d.ts +327 -183
  75. package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.d.ts +327 -183
  76. package/types/src/internal/endpoints/schemas/evaluateFormulas.d.ts +330 -189
  77. package/types/src/internal/endpoints/schemas/evaluateFormulas.schema.d.ts +328 -187
  78. package/types/src/internal/endpoints/schemas/formulaSummary.d.ts +320 -176
  79. package/types/src/internal/endpoints/schemas/formulaSummary.schema.d.ts +320 -176
  80. package/types/src/internal/endpoints/schemas/formulasInfo.d.ts +326 -182
  81. package/types/src/internal/endpoints/schemas/formulasInfo.schema.d.ts +325 -181
  82. package/types/src/internal/endpoints/schemas/suggestFormula.d.ts +320 -176
  83. package/types/src/internal/endpoints/schemas/suggestFormula.schema.d.ts +320 -176
  84. package/types/src/organization/endpoints/create.d.ts +11 -11
  85. package/types/src/organization/endpoints/create.schema.d.ts +11 -11
  86. package/types/src/organization/endpoints/get.d.ts +9 -9
  87. package/types/src/organization/endpoints/index.d.ts +49 -49
  88. package/types/src/organization/endpoints/list.d.ts +11 -11
  89. package/types/src/organization/endpoints/patch.d.ts +18 -18
  90. package/types/src/organization/models/organization.schema.d.ts +9 -9
  91. package/types/src/queues/endpoints/automationSetup.d.ts +462 -0
  92. package/types/src/queues/endpoints/create.d.ts +14 -9
  93. package/types/src/queues/endpoints/createFromTemplate.d.ts +14 -9
  94. package/types/src/queues/endpoints/duplicate.d.ts +14 -9
  95. package/types/src/queues/endpoints/get.d.ts +14 -9
  96. package/types/src/queues/endpoints/index.d.ts +563 -65
  97. package/types/src/queues/endpoints/list.d.ts +18 -11
  98. package/types/src/queues/endpoints/patch.d.ts +28 -18
  99. package/types/src/queues/endpoints/patch.schema.d.ts +14 -9
  100. package/types/src/queues/models/automationSetup.d.ts +42 -0
  101. package/types/src/queues/models/automationSetup.schema.d.ts +751 -0
  102. package/types/src/queues/models/queue.schema.d.ts +14 -9
  103. package/types/src/queues/models/queueSettings.d.ts +1 -0
  104. package/types/src/queues/models/queueSettings.schema.d.ts +10 -7
  105. package/types/src/rule-templates/endpoints/create.d.ts +10 -10
  106. package/types/src/rule-templates/endpoints/create.schema.d.ts +5 -5
  107. package/types/src/rule-templates/endpoints/get.d.ts +5 -5
  108. package/types/src/rule-templates/endpoints/index.d.ts +32 -32
  109. package/types/src/rule-templates/endpoints/list.d.ts +7 -7
  110. package/types/src/rule-templates/endpoints/patch.d.ts +10 -10
  111. package/types/src/rule-templates/endpoints/patch.schema.d.ts +5 -5
  112. package/types/src/rule-templates/models/ruleTemplate.schema.d.ts +5 -5
  113. package/types/src/rules/endpoints/create.d.ts +10 -10
  114. package/types/src/rules/endpoints/create.schema.d.ts +5 -5
  115. package/types/src/rules/endpoints/get.d.ts +5 -5
  116. package/types/src/rules/endpoints/index.d.ts +32 -32
  117. package/types/src/rules/endpoints/list.d.ts +7 -7
  118. package/types/src/rules/endpoints/patch.d.ts +10 -10
  119. package/types/src/rules/endpoints/patch.schema.d.ts +5 -5
  120. package/types/src/rules/models/schemaRule.d.ts +1 -1
  121. package/types/src/rules/models/schemaRule.schema.d.ts +11 -11
  122. package/types/src/schemas/endpoints/create.d.ts +320 -176
  123. package/types/src/schemas/endpoints/get.d.ts +320 -176
  124. package/types/src/schemas/endpoints/list.d.ts +384 -208
  125. package/types/src/schemas/endpoints/patch.d.ts +640 -352
  126. package/types/src/schemas/endpoints/patch.schema.d.ts +320 -176
  127. package/types/src/schemas/endpoints/validate.d.ts +672 -368
  128. package/types/src/schemas/models/schema.schema.d.ts +320 -176
  129. package/types/src/schemas/models/schemaDatapoint.schema.d.ts +32 -20
  130. package/types/src/schemas/models/schemaDatapointBase.d.ts +2 -1
  131. package/types/src/schemas/models/schemaDatapointBase.schema.d.ts +12 -9
  132. package/types/src/schemas/models/schemaDatapointDate.schema.d.ts +8 -5
  133. package/types/src/schemas/models/schemaDatapointEnum.schema.d.ts +8 -5
  134. package/types/src/schemas/models/schemaDatapointNumber.schema.d.ts +8 -5
  135. package/types/src/schemas/models/schemaDatapointString.schema.d.ts +8 -5
  136. package/types/src/schemas/models/schemaItem.schema.d.ts +192 -112
  137. package/types/src/schemas/models/schemaMultivalue.schema.d.ts +112 -64
  138. package/types/src/schemas/models/schemaSection.schema.d.ts +256 -144
  139. package/types/src/schemas/models/schemaTuple.schema.d.ts +48 -28
  140. package/types/src/shared/models/annotationListTable.d.ts +11 -1
  141. package/types/src/shared/models/annotationListTable.schema.d.ts +99 -15
@@ -37,7 +37,7 @@ export declare const list: (query?: HooksListQuery) => {
37
37
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
38
38
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
39
39
  active: import("zod").ZodBoolean;
40
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
40
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
41
41
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
42
42
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
43
43
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -60,7 +60,7 @@ export declare const list: (query?: HooksListQuery) => {
60
60
  description: string | null;
61
61
  runAfter: string[];
62
62
  active: boolean;
63
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
63
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
64
64
  sideload: string[];
65
65
  tokenOwner: string | null;
66
66
  extensionSource: "custom" | "rossum_store";
@@ -82,7 +82,7 @@ export declare const list: (query?: HooksListQuery) => {
82
82
  description: string | null;
83
83
  runAfter: string[];
84
84
  active: boolean;
85
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
85
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
86
86
  sideload: string[];
87
87
  tokenOwner: string | null;
88
88
  extensionSource: "custom" | "rossum_store";
@@ -204,7 +204,7 @@ export declare const list: (query?: HooksListQuery) => {
204
204
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
205
205
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
206
206
  active: import("zod").ZodBoolean;
207
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
207
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
208
208
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
209
209
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
210
210
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -227,7 +227,7 @@ export declare const list: (query?: HooksListQuery) => {
227
227
  description: string | null;
228
228
  runAfter: string[];
229
229
  active: boolean;
230
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
230
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
231
231
  sideload: string[];
232
232
  tokenOwner: string | null;
233
233
  extensionSource: "custom" | "rossum_store";
@@ -249,7 +249,7 @@ export declare const list: (query?: HooksListQuery) => {
249
249
  description: string | null;
250
250
  runAfter: string[];
251
251
  active: boolean;
252
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
252
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
253
253
  sideload: string[];
254
254
  tokenOwner: string | null;
255
255
  extensionSource: "custom" | "rossum_store";
@@ -364,7 +364,7 @@ export declare const list: (query?: HooksListQuery) => {
364
364
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
365
365
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
366
366
  active: import("zod").ZodBoolean;
367
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
367
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
368
368
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
369
369
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
370
370
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -387,7 +387,7 @@ export declare const list: (query?: HooksListQuery) => {
387
387
  description: string | null;
388
388
  runAfter: string[];
389
389
  active: boolean;
390
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
390
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
391
391
  sideload: string[];
392
392
  tokenOwner: string | null;
393
393
  extensionSource: "custom" | "rossum_store";
@@ -409,7 +409,7 @@ export declare const list: (query?: HooksListQuery) => {
409
409
  description: string | null;
410
410
  runAfter: string[];
411
411
  active: boolean;
412
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
412
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
413
413
  sideload: string[];
414
414
  tokenOwner: string | null;
415
415
  extensionSource: "custom" | "rossum_store";
@@ -514,7 +514,7 @@ export declare const list: (query?: HooksListQuery) => {
514
514
  description: string | null;
515
515
  runAfter: string[];
516
516
  active: boolean;
517
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
517
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
518
518
  sideload: string[];
519
519
  tokenOwner: string | null;
520
520
  extensionSource: "custom" | "rossum_store";
@@ -555,7 +555,7 @@ export declare const list: (query?: HooksListQuery) => {
555
555
  description: string | null;
556
556
  runAfter: string[];
557
557
  active: boolean;
558
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
558
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
559
559
  sideload: string[];
560
560
  tokenOwner: string | null;
561
561
  extensionSource: "custom" | "rossum_store";
@@ -595,7 +595,7 @@ export declare const list: (query?: HooksListQuery) => {
595
595
  description: string | null;
596
596
  runAfter: string[];
597
597
  active: boolean;
598
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
598
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
599
599
  sideload: string[];
600
600
  tokenOwner: string | null;
601
601
  extensionSource: "custom" | "rossum_store";
@@ -640,7 +640,7 @@ export declare const list: (query?: HooksListQuery) => {
640
640
  description: string | null;
641
641
  runAfter: string[];
642
642
  active: boolean;
643
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
643
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
644
644
  sideload: string[];
645
645
  tokenOwner: string | null;
646
646
  extensionSource: "custom" | "rossum_store";
@@ -681,7 +681,7 @@ export declare const list: (query?: HooksListQuery) => {
681
681
  description: string | null;
682
682
  runAfter: string[];
683
683
  active: boolean;
684
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
684
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
685
685
  sideload: string[];
686
686
  tokenOwner: string | null;
687
687
  extensionSource: "custom" | "rossum_store";
@@ -721,7 +721,7 @@ export declare const list: (query?: HooksListQuery) => {
721
721
  description: string | null;
722
722
  runAfter: string[];
723
723
  active: boolean;
724
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
724
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
725
725
  sideload: string[];
726
726
  tokenOwner: string | null;
727
727
  extensionSource: "custom" | "rossum_store";
@@ -766,7 +766,7 @@ export declare const list: (query?: HooksListQuery) => {
766
766
  queue: import("zod").ZodOptional<import("zod").ZodNumber>;
767
767
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
768
768
  configAppUrl: import("zod").ZodOptional<import("zod").ZodString>;
769
- events: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>>;
769
+ events: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>>;
770
770
  }, "strip", import("zod").ZodTypeAny, {
771
771
  id?: number | number[] | undefined;
772
772
  name?: string | undefined;
@@ -774,7 +774,7 @@ export declare const list: (query?: HooksListQuery) => {
774
774
  queue?: number | undefined;
775
775
  active?: boolean | undefined;
776
776
  configAppUrl?: string | undefined;
777
- events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | undefined;
777
+ events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface" | undefined;
778
778
  }, {
779
779
  id?: number | number[] | undefined;
780
780
  name?: string | undefined;
@@ -782,7 +782,7 @@ export declare const list: (query?: HooksListQuery) => {
782
782
  queue?: number | undefined;
783
783
  active?: boolean | undefined;
784
784
  configAppUrl?: string | undefined;
785
- events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | undefined;
785
+ events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface" | undefined;
786
786
  }>, import("zod").ZodObject<{
787
787
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
788
788
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -6,7 +6,7 @@ export declare const hooksListQuerySchema: z.ZodIntersection<z.ZodObject<{
6
6
  queue: z.ZodOptional<z.ZodNumber>;
7
7
  active: z.ZodOptional<z.ZodBoolean>;
8
8
  configAppUrl: z.ZodOptional<z.ZodString>;
9
- events: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation">]>>;
9
+ events: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation.interface">, z.ZodLiteral<"invocation">]>>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  id?: number | number[] | undefined;
12
12
  name?: string | undefined;
@@ -14,7 +14,7 @@ export declare const hooksListQuerySchema: z.ZodIntersection<z.ZodObject<{
14
14
  queue?: number | undefined;
15
15
  active?: boolean | undefined;
16
16
  configAppUrl?: string | undefined;
17
- events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | undefined;
17
+ events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface" | undefined;
18
18
  }, {
19
19
  id?: number | number[] | undefined;
20
20
  name?: string | undefined;
@@ -22,7 +22,7 @@ export declare const hooksListQuerySchema: z.ZodIntersection<z.ZodObject<{
22
22
  queue?: number | undefined;
23
23
  active?: boolean | undefined;
24
24
  configAppUrl?: string | undefined;
25
- events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | undefined;
25
+ events?: "email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface" | undefined;
26
26
  }>, z.ZodObject<{
27
27
  pageSize: z.ZodOptional<z.ZodNumber>;
28
28
  page: z.ZodOptional<z.ZodNumber>;
@@ -25,7 +25,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
25
25
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
26
26
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
27
27
  active: import("zod").ZodBoolean;
28
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
28
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
29
29
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
30
30
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
31
31
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -48,7 +48,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
48
48
  description: string | null;
49
49
  runAfter: string[];
50
50
  active: boolean;
51
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
51
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
52
52
  sideload: string[];
53
53
  tokenOwner: string | null;
54
54
  extensionSource: "custom" | "rossum_store";
@@ -70,7 +70,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
70
70
  description: string | null;
71
71
  runAfter: string[];
72
72
  active: boolean;
73
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
73
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
74
74
  sideload: string[];
75
75
  tokenOwner: string | null;
76
76
  extensionSource: "custom" | "rossum_store";
@@ -192,7 +192,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
192
192
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
193
193
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
194
194
  active: import("zod").ZodBoolean;
195
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
195
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
196
196
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
197
197
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
198
198
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -215,7 +215,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
215
215
  description: string | null;
216
216
  runAfter: string[];
217
217
  active: boolean;
218
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
218
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
219
219
  sideload: string[];
220
220
  tokenOwner: string | null;
221
221
  extensionSource: "custom" | "rossum_store";
@@ -237,7 +237,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
237
237
  description: string | null;
238
238
  runAfter: string[];
239
239
  active: boolean;
240
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
240
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
241
241
  sideload: string[];
242
242
  tokenOwner: string | null;
243
243
  extensionSource: "custom" | "rossum_store";
@@ -352,7 +352,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
352
352
  queues: import("zod").ZodArray<import("zod").ZodString, "many">;
353
353
  runAfter: import("zod").ZodArray<import("zod").ZodString, "many">;
354
354
  active: import("zod").ZodBoolean;
355
- events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">;
355
+ events: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">;
356
356
  sideload: import("zod").ZodArray<import("zod").ZodString, "many">;
357
357
  metadata: import("zod").ZodOptional<import("zod").ZodUnknown>;
358
358
  tokenOwner: import("zod").ZodNullable<import("zod").ZodString>;
@@ -375,7 +375,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
375
375
  description: string | null;
376
376
  runAfter: string[];
377
377
  active: boolean;
378
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
378
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
379
379
  sideload: string[];
380
380
  tokenOwner: string | null;
381
381
  extensionSource: "custom" | "rossum_store";
@@ -397,7 +397,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
397
397
  description: string | null;
398
398
  runAfter: string[];
399
399
  active: boolean;
400
- events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[];
400
+ events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[];
401
401
  sideload: string[];
402
402
  tokenOwner: string | null;
403
403
  extensionSource: "custom" | "rossum_store";
@@ -608,7 +608,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
608
608
  queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
609
609
  runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
610
610
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
611
- events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
611
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">>;
612
612
  sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
613
613
  metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
614
614
  tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -630,7 +630,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
630
630
  queues?: string[] | undefined;
631
631
  runAfter?: string[] | undefined;
632
632
  active?: boolean | undefined;
633
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
633
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
634
634
  sideload?: string[] | undefined;
635
635
  metadata?: unknown;
636
636
  tokenOwner?: string | null | undefined;
@@ -652,7 +652,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
652
652
  queues?: string[] | undefined;
653
653
  runAfter?: string[] | undefined;
654
654
  active?: boolean | undefined;
655
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
655
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
656
656
  sideload?: string[] | undefined;
657
657
  metadata?: unknown;
658
658
  tokenOwner?: string | null | undefined;
@@ -775,7 +775,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
775
775
  queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
776
776
  runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
777
777
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
778
- events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
778
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">>;
779
779
  sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
780
780
  metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
781
781
  tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -797,7 +797,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
797
797
  queues?: string[] | undefined;
798
798
  runAfter?: string[] | undefined;
799
799
  active?: boolean | undefined;
800
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
800
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
801
801
  sideload?: string[] | undefined;
802
802
  metadata?: unknown;
803
803
  tokenOwner?: string | null | undefined;
@@ -819,7 +819,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
819
819
  queues?: string[] | undefined;
820
820
  runAfter?: string[] | undefined;
821
821
  active?: boolean | undefined;
822
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
822
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
823
823
  sideload?: string[] | undefined;
824
824
  metadata?: unknown;
825
825
  tokenOwner?: string | null | undefined;
@@ -922,7 +922,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
922
922
  queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
923
923
  runAfter: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
924
924
  active: import("zod").ZodOptional<import("zod").ZodBoolean>;
925
- events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation">]>, "many">>;
925
+ events: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_content.confirm">, import("zod").ZodLiteral<"annotation_content.export">, import("zod").ZodLiteral<"annotation_content.initialize">, import("zod").ZodLiteral<"annotation_content.started">, import("zod").ZodLiteral<"annotation_content.updated">, import("zod").ZodLiteral<"annotation_content.user_update">, import("zod").ZodLiteral<"annotation_content">, import("zod").ZodLiteral<"annotation_status.changed">, import("zod").ZodLiteral<"annotation_status">, import("zod").ZodLiteral<"upload.created">, import("zod").ZodLiteral<"upload">, import("zod").ZodLiteral<"email.received">, import("zod").ZodLiteral<"email">, import("zod").ZodLiteral<"invocation.manual">, import("zod").ZodLiteral<"invocation.scheduled">, import("zod").ZodLiteral<"invocation.integration">, import("zod").ZodLiteral<"invocation.interface">, import("zod").ZodLiteral<"invocation">]>, "many">>;
926
926
  sideload: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
927
927
  metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnknown>>;
928
928
  tokenOwner: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -944,7 +944,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
944
944
  queues?: string[] | undefined;
945
945
  runAfter?: string[] | undefined;
946
946
  active?: boolean | undefined;
947
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
947
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
948
948
  sideload?: string[] | undefined;
949
949
  metadata?: unknown;
950
950
  tokenOwner?: string | null | undefined;
@@ -966,7 +966,7 @@ export declare const patch: (hookId: number, payload: HookPatchPayload) => {
966
966
  queues?: string[] | undefined;
967
967
  runAfter?: string[] | undefined;
968
968
  active?: boolean | undefined;
969
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
969
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
970
970
  sideload?: string[] | undefined;
971
971
  metadata?: unknown;
972
972
  tokenOwner?: string | null | undefined;
@@ -113,7 +113,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
113
113
  queues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
114
114
  runAfter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
115
115
  active: z.ZodOptional<z.ZodBoolean>;
116
- events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation">]>, "many">>;
116
+ events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation.interface">, z.ZodLiteral<"invocation">]>, "many">>;
117
117
  sideload: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
118
118
  metadata: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
119
119
  tokenOwner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -135,7 +135,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
135
135
  queues?: string[] | undefined;
136
136
  runAfter?: string[] | undefined;
137
137
  active?: boolean | undefined;
138
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
138
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
139
139
  sideload?: string[] | undefined;
140
140
  metadata?: unknown;
141
141
  tokenOwner?: string | null | undefined;
@@ -157,7 +157,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
157
157
  queues?: string[] | undefined;
158
158
  runAfter?: string[] | undefined;
159
159
  active?: boolean | undefined;
160
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
160
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
161
161
  sideload?: string[] | undefined;
162
162
  metadata?: unknown;
163
163
  tokenOwner?: string | null | undefined;
@@ -280,7 +280,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
280
280
  queues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
281
281
  runAfter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
282
282
  active: z.ZodOptional<z.ZodBoolean>;
283
- events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation">]>, "many">>;
283
+ events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation.interface">, z.ZodLiteral<"invocation">]>, "many">>;
284
284
  sideload: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
285
285
  metadata: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
286
286
  tokenOwner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -302,7 +302,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
302
302
  queues?: string[] | undefined;
303
303
  runAfter?: string[] | undefined;
304
304
  active?: boolean | undefined;
305
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
305
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
306
306
  sideload?: string[] | undefined;
307
307
  metadata?: unknown;
308
308
  tokenOwner?: string | null | undefined;
@@ -324,7 +324,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
324
324
  queues?: string[] | undefined;
325
325
  runAfter?: string[] | undefined;
326
326
  active?: boolean | undefined;
327
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
327
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
328
328
  sideload?: string[] | undefined;
329
329
  metadata?: unknown;
330
330
  tokenOwner?: string | null | undefined;
@@ -427,7 +427,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
427
427
  queues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
428
428
  runAfter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
429
429
  active: z.ZodOptional<z.ZodBoolean>;
430
- events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation">]>, "many">>;
430
+ events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation.integration">, z.ZodLiteral<"invocation.interface">, z.ZodLiteral<"invocation">]>, "many">>;
431
431
  sideload: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
432
  metadata: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
433
433
  tokenOwner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -449,7 +449,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
449
449
  queues?: string[] | undefined;
450
450
  runAfter?: string[] | undefined;
451
451
  active?: boolean | undefined;
452
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
452
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
453
453
  sideload?: string[] | undefined;
454
454
  metadata?: unknown;
455
455
  tokenOwner?: string | null | undefined;
@@ -471,7 +471,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
471
471
  queues?: string[] | undefined;
472
472
  runAfter?: string[] | undefined;
473
473
  active?: boolean | undefined;
474
- events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration")[] | undefined;
474
+ events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled" | "invocation.integration" | "invocation.interface")[] | undefined;
475
475
  sideload?: string[] | undefined;
476
476
  metadata?: unknown;
477
477
  tokenOwner?: string | null | undefined;