@marcoappio/marco-config 11.0.12 → 11.0.14

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 (246) hide show
  1. package/dist/constants/index.d.ts +7 -0
  2. package/dist/constants/index.d.ts.map +1 -1
  3. package/dist/constants/index.js +2 -0
  4. package/dist/constants/rules.d.ts +8 -0
  5. package/dist/constants/rules.d.ts.map +1 -0
  6. package/dist/constants/rules.js +12 -0
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/schemas/id.d.ts +5 -0
  10. package/dist/schemas/id.d.ts.map +1 -1
  11. package/dist/schemas/id.js +1 -0
  12. package/dist/schemas/index.d.ts +442 -2
  13. package/dist/schemas/index.d.ts.map +1 -1
  14. package/dist/schemas/index.js +4 -1
  15. package/dist/schemas/models/index.d.ts +1 -0
  16. package/dist/schemas/models/index.d.ts.map +1 -1
  17. package/dist/schemas/models/index.js +1 -0
  18. package/dist/schemas/models/rule.d.ts +300 -0
  19. package/dist/schemas/models/rule.d.ts.map +1 -0
  20. package/dist/schemas/models/rule.js +79 -0
  21. package/dist/schemas/mutators/mutatorSchemas.d.ts +265 -0
  22. package/dist/schemas/mutators/mutatorSchemas.d.ts.map +1 -1
  23. package/dist/schemas/mutators/mutatorSchemas.js +24 -0
  24. package/dist/sdk/endpoints/createEndpointConfig.d.ts +9 -3
  25. package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
  26. package/dist/sdk/endpoints/createEndpointConfig.js +3 -1
  27. package/dist/sdk/endpoints/index.d.ts +80 -15
  28. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  29. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +6 -1
  30. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +6 -1
  32. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -1
  33. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +6 -1
  34. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  35. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -1
  36. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  37. package/dist/sdk/endpoints/private/index.d.ts +24 -4
  38. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  39. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +6 -1
  40. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -1
  41. package/dist/sdk/endpoints/private/models/account/getRules.d.ts +155 -0
  42. package/dist/sdk/endpoints/private/models/account/getRules.d.ts.map +1 -0
  43. package/dist/sdk/endpoints/private/models/account/getRules.js +17 -0
  44. package/dist/sdk/endpoints/private/models/account/index.d.ts +1 -0
  45. package/dist/sdk/endpoints/private/models/account/index.d.ts.map +1 -1
  46. package/dist/sdk/endpoints/private/models/account/index.js +1 -0
  47. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +6 -1
  48. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -1
  49. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +6 -1
  50. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -1
  51. package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts +6 -1
  52. package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts.map +1 -1
  53. package/dist/sdk/endpoints/private/models/task/getTasks.d.ts +6 -1
  54. package/dist/sdk/endpoints/private/models/task/getTasks.d.ts.map +1 -1
  55. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +6 -1
  56. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -1
  57. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +6 -1
  58. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -1
  59. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +6 -1
  60. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
  61. package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts +6 -1
  62. package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts.map +1 -1
  63. package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts +6 -1
  64. package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts.map +1 -1
  65. package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts +6 -1
  66. package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts.map +1 -1
  67. package/dist/sdk/endpoints/private/models/user/getUser.d.ts +6 -1
  68. package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -1
  69. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +6 -1
  70. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -1
  71. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +6 -1
  72. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -1
  73. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +6 -1
  74. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -1
  75. package/dist/sdk/endpoints/private/mutations/account/createRule.d.ts +170 -0
  76. package/dist/sdk/endpoints/private/mutations/account/createRule.d.ts.map +1 -0
  77. package/dist/sdk/endpoints/private/mutations/account/createRule.js +20 -0
  78. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +6 -1
  79. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -1
  80. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +6 -1
  81. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -1
  82. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +6 -1
  83. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -1
  84. package/dist/sdk/endpoints/private/mutations/account/deleteRule.d.ts +48 -0
  85. package/dist/sdk/endpoints/private/mutations/account/deleteRule.d.ts.map +1 -0
  86. package/dist/sdk/endpoints/private/mutations/account/deleteRule.js +20 -0
  87. package/dist/sdk/endpoints/private/mutations/account/index.d.ts +5 -0
  88. package/dist/sdk/endpoints/private/mutations/account/index.d.ts.map +1 -1
  89. package/dist/sdk/endpoints/private/mutations/account/index.js +5 -0
  90. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +6 -1
  91. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -1
  92. package/dist/sdk/endpoints/private/mutations/account/reorderRules.d.ts +48 -0
  93. package/dist/sdk/endpoints/private/mutations/account/reorderRules.d.ts.map +1 -0
  94. package/dist/sdk/endpoints/private/mutations/account/reorderRules.js +20 -0
  95. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +6 -1
  96. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -1
  97. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +6 -1
  98. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -1
  99. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +6 -1
  100. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -1
  101. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +6 -1
  102. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -1
  103. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +6 -1
  104. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -1
  105. package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts +6 -1
  106. package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts.map +1 -1
  107. package/dist/sdk/endpoints/private/mutations/account/setRuleEnabled.d.ts +54 -0
  108. package/dist/sdk/endpoints/private/mutations/account/setRuleEnabled.d.ts.map +1 -0
  109. package/dist/sdk/endpoints/private/mutations/account/setRuleEnabled.js +21 -0
  110. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +6 -1
  111. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -1
  112. package/dist/sdk/endpoints/private/mutations/account/updateRule.d.ts +175 -0
  113. package/dist/sdk/endpoints/private/mutations/account/updateRule.d.ts.map +1 -0
  114. package/dist/sdk/endpoints/private/mutations/account/updateRule.js +21 -0
  115. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +6 -1
  116. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -1
  117. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +6 -1
  118. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -1
  119. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +6 -1
  120. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -1
  121. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +6 -1
  122. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -1
  123. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +6 -1
  124. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -1
  125. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +6 -1
  126. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -1
  127. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +6 -1
  128. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -1
  129. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +6 -1
  130. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -1
  131. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +6 -1
  132. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -1
  133. package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts +6 -1
  134. package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts.map +1 -1
  135. package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts +6 -1
  136. package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts.map +1 -1
  137. package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts +6 -1
  138. package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts.map +1 -1
  139. package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts +6 -1
  140. package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts.map +1 -1
  141. package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts +6 -1
  142. package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts.map +1 -1
  143. package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts +6 -1
  144. package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts.map +1 -1
  145. package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts +6 -1
  146. package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts.map +1 -1
  147. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +6 -1
  148. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -1
  149. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +6 -1
  150. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -1
  151. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +6 -1
  152. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -1
  153. package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts +6 -1
  154. package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts.map +1 -1
  155. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +6 -1
  156. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -1
  157. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +6 -1
  158. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -1
  159. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +6 -1
  160. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -1
  161. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +6 -1
  162. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -1
  163. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +6 -1
  164. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -1
  165. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +6 -1
  166. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -1
  167. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +6 -1
  168. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -1
  169. package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts +6 -1
  170. package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts.map +1 -1
  171. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +6 -1
  172. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -1
  173. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +6 -1
  174. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -1
  175. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +6 -1
  176. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -1
  177. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +6 -1
  178. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -1
  179. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +6 -1
  180. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -1
  181. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +6 -1
  182. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -1
  183. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +6 -1
  184. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -1
  185. package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts +6 -1
  186. package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts.map +1 -1
  187. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +6 -1
  188. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -1
  189. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +6 -1
  190. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -1
  191. package/dist/sdk/endpoints/private/user/index.d.ts +12 -2
  192. package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -1
  193. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +6 -1
  194. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -1
  195. package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts +6 -1
  196. package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts.map +1 -1
  197. package/dist/sdk/endpoints/public/auth/browser/index.d.ts +18 -3
  198. package/dist/sdk/endpoints/public/auth/browser/index.d.ts.map +1 -1
  199. package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts +6 -1
  200. package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts.map +1 -1
  201. package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts +6 -1
  202. package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts.map +1 -1
  203. package/dist/sdk/endpoints/public/auth/index.d.ts +42 -7
  204. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  205. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +6 -1
  206. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
  207. package/dist/sdk/endpoints/public/auth/revokeSession.d.ts +6 -1
  208. package/dist/sdk/endpoints/public/auth/revokeSession.d.ts.map +1 -1
  209. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +6 -1
  210. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  211. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +6 -1
  212. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  213. package/dist/sdk/endpoints/public/config/index.d.ts +7 -2
  214. package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -1
  215. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +7 -2
  216. package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -1
  217. package/dist/sdk/endpoints/public/index.d.ts +56 -11
  218. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  219. package/dist/sdk/index.d.ts +92 -15
  220. package/dist/sdk/index.d.ts.map +1 -1
  221. package/dist/sdk/validation/errors.d.ts +24 -0
  222. package/dist/sdk/validation/errors.d.ts.map +1 -1
  223. package/dist/sdk/validation/errors.js +10 -0
  224. package/dist/sdk/validation/index.d.ts +12 -0
  225. package/dist/sdk/validation/index.d.ts.map +1 -1
  226. package/dist/types/RuleActionType.d.ts +3 -0
  227. package/dist/types/RuleActionType.d.ts.map +1 -0
  228. package/dist/types/RuleActionType.js +10 -0
  229. package/dist/types/RuleConditionField.d.ts +3 -0
  230. package/dist/types/RuleConditionField.d.ts.map +1 -0
  231. package/dist/types/RuleConditionField.js +1 -0
  232. package/dist/types/RuleConditionOperator.d.ts +5 -0
  233. package/dist/types/RuleConditionOperator.d.ts.map +1 -0
  234. package/dist/types/RuleConditionOperator.js +2 -0
  235. package/dist/types/RuleDisabledReason.d.ts +3 -0
  236. package/dist/types/RuleDisabledReason.d.ts.map +1 -0
  237. package/dist/types/RuleDisabledReason.js +1 -0
  238. package/dist/types/RuleMatchMode.d.ts +3 -0
  239. package/dist/types/RuleMatchMode.d.ts.map +1 -0
  240. package/dist/types/RuleMatchMode.js +1 -0
  241. package/dist/types/SDKError.d.ts +1 -1
  242. package/dist/types/SDKError.d.ts.map +1 -1
  243. package/dist/types/index.d.ts +5 -0
  244. package/dist/types/index.d.ts.map +1 -1
  245. package/dist/types/index.js +5 -0
  246. package/package.json +1 -1
@@ -0,0 +1,175 @@
1
+ import * as v from 'valibot';
2
+ export declare const updateRule: import("../../../../..").EndpointConfig<"/v1/pv/models/account/:accountId/rules/update", v.ObjectSchema<{
3
+ readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AccountId">]>, undefined>;
4
+ readonly ruleId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "RuleId">]>, undefined>;
5
+ readonly actions: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
6
+ readonly type: v.LiteralSchema<"ARCHIVE", undefined>;
7
+ }, undefined>, v.ObjectSchema<{
8
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
9
+ readonly type: v.LiteralSchema<"MOVE_TO_FOLDER", undefined>;
10
+ }, undefined>, v.ObjectSchema<{
11
+ readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>;
12
+ readonly type: v.LiteralSchema<"ADD_LABEL", undefined>;
13
+ }, undefined>, v.ObjectSchema<{
14
+ readonly type: v.LiteralSchema<"MARK_READ", undefined>;
15
+ }, undefined>, v.ObjectSchema<{
16
+ readonly type: v.LiteralSchema<"STAR", undefined>;
17
+ }, undefined>, v.ObjectSchema<{
18
+ readonly type: v.LiteralSchema<"TRASH", undefined>;
19
+ }, undefined>, v.ObjectSchema<{
20
+ readonly type: v.LiteralSchema<"MARK_SPAM", undefined>;
21
+ }, undefined>, v.ObjectSchema<{
22
+ readonly type: v.LiteralSchema<"MUTE_NOTIFICATION", undefined>;
23
+ }, undefined>], undefined>, undefined>, v.MinLengthAction<({
24
+ type: "ARCHIVE";
25
+ } | {
26
+ labelId: string & v.Brand<"LabelId">;
27
+ type: "MOVE_TO_FOLDER";
28
+ } | {
29
+ labelId: string & v.Brand<"LabelId">;
30
+ type: "ADD_LABEL";
31
+ } | {
32
+ type: "MARK_READ";
33
+ } | {
34
+ type: "STAR";
35
+ } | {
36
+ type: "TRASH";
37
+ } | {
38
+ type: "MARK_SPAM";
39
+ } | {
40
+ type: "MUTE_NOTIFICATION";
41
+ })[], 1, undefined>, v.MaxLengthAction<({
42
+ type: "ARCHIVE";
43
+ } | {
44
+ labelId: string & v.Brand<"LabelId">;
45
+ type: "MOVE_TO_FOLDER";
46
+ } | {
47
+ labelId: string & v.Brand<"LabelId">;
48
+ type: "ADD_LABEL";
49
+ } | {
50
+ type: "MARK_READ";
51
+ } | {
52
+ type: "STAR";
53
+ } | {
54
+ type: "TRASH";
55
+ } | {
56
+ type: "MARK_SPAM";
57
+ } | {
58
+ type: "MUTE_NOTIFICATION";
59
+ })[], number, undefined>]>;
60
+ readonly conditions: v.SchemaWithPipe<readonly [v.ArraySchema<v.VariantSchema<"field", [v.ObjectSchema<{
61
+ readonly field: v.LiteralSchema<"FROM", undefined>;
62
+ readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS", "DOMAIN_IS"], undefined>;
63
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
64
+ }, undefined>, v.ObjectSchema<{
65
+ readonly field: v.LiteralSchema<"TO_OR_CC", undefined>;
66
+ readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS", "DOMAIN_IS"], undefined>;
67
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
68
+ }, undefined>, v.ObjectSchema<{
69
+ readonly field: v.LiteralSchema<"SUBJECT", undefined>;
70
+ readonly operator: v.PicklistSchema<readonly ["CONTAINS", "IS"], undefined>;
71
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
72
+ }, undefined>, v.ObjectSchema<{
73
+ readonly field: v.LiteralSchema<"BODY", undefined>;
74
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
75
+ }, undefined>, v.ObjectSchema<{
76
+ readonly field: v.LiteralSchema<"HAS_ATTACHMENT", undefined>;
77
+ readonly value: v.BooleanSchema<undefined>;
78
+ }, undefined>, v.ObjectSchema<{
79
+ readonly field: v.LiteralSchema<"MAILING_LIST", undefined>;
80
+ readonly listId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
81
+ }, undefined>], undefined>, undefined>, v.MinLengthAction<({
82
+ field: "FROM";
83
+ operator: "CONTAINS" | "IS" | "DOMAIN_IS";
84
+ value: string;
85
+ } | {
86
+ field: "TO_OR_CC";
87
+ operator: "CONTAINS" | "IS" | "DOMAIN_IS";
88
+ value: string;
89
+ } | {
90
+ field: "SUBJECT";
91
+ operator: "CONTAINS" | "IS";
92
+ value: string;
93
+ } | {
94
+ field: "BODY";
95
+ value: string;
96
+ } | {
97
+ field: "HAS_ATTACHMENT";
98
+ value: boolean;
99
+ } | {
100
+ field: "MAILING_LIST";
101
+ listId: string | null;
102
+ })[], 1, undefined>, v.MaxLengthAction<({
103
+ field: "FROM";
104
+ operator: "CONTAINS" | "IS" | "DOMAIN_IS";
105
+ value: string;
106
+ } | {
107
+ field: "TO_OR_CC";
108
+ operator: "CONTAINS" | "IS" | "DOMAIN_IS";
109
+ value: string;
110
+ } | {
111
+ field: "SUBJECT";
112
+ operator: "CONTAINS" | "IS";
113
+ value: string;
114
+ } | {
115
+ field: "BODY";
116
+ value: string;
117
+ } | {
118
+ field: "HAS_ATTACHMENT";
119
+ value: boolean;
120
+ } | {
121
+ field: "MAILING_LIST";
122
+ listId: string | null;
123
+ })[], number, undefined>]>;
124
+ readonly match: v.PicklistSchema<readonly ["ALL", "ANY"], undefined>;
125
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
126
+ readonly stopProcessing: v.BooleanSchema<undefined>;
127
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
128
+ readonly data: v.ObjectSchema<{
129
+ readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
130
+ }, undefined>;
131
+ readonly status: v.LiteralSchema<401, undefined>;
132
+ }, undefined>, v.ObjectSchema<{
133
+ readonly data: v.ObjectSchema<{
134
+ readonly code: v.LiteralSchema<"USER_NOT_FOUND", undefined>;
135
+ }, undefined>;
136
+ readonly status: v.LiteralSchema<404, undefined>;
137
+ }, undefined>, v.ObjectSchema<{
138
+ readonly data: v.ObjectSchema<{
139
+ readonly code: v.LiteralSchema<"ACCOUNT_NOT_FOUND", undefined>;
140
+ }, undefined>;
141
+ readonly status: v.LiteralSchema<404, undefined>;
142
+ }, undefined>, v.ObjectSchema<{
143
+ readonly data: v.ObjectSchema<{
144
+ readonly code: v.LiteralSchema<"RULE_NOT_FOUND", undefined>;
145
+ }, undefined>;
146
+ readonly status: v.LiteralSchema<404, undefined>;
147
+ }, undefined>, v.ObjectSchema<{
148
+ readonly data: v.ObjectSchema<{
149
+ readonly code: v.LiteralSchema<"LABEL_NOT_FOUND", undefined>;
150
+ }, undefined>;
151
+ readonly status: v.LiteralSchema<404, undefined>;
152
+ }, undefined>, v.ObjectSchema<{
153
+ readonly data: v.ObjectSchema<{
154
+ readonly code: v.LiteralSchema<"MUTATION_REJECTED", undefined>;
155
+ }, undefined>;
156
+ readonly status: v.LiteralSchema<409, undefined>;
157
+ }, undefined>, v.ObjectSchema<{
158
+ readonly data: v.ObjectSchema<{
159
+ readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
160
+ readonly issues: v.ObjectSchema<{
161
+ readonly nested: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
162
+ readonly other: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
163
+ readonly root: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
164
+ }, undefined>;
165
+ }, undefined>;
166
+ readonly status: v.LiteralSchema<400, undefined>;
167
+ }, undefined>, v.ObjectSchema<{
168
+ readonly status: v.LiteralSchema<200, undefined>;
169
+ }, undefined>], undefined>, v.ObjectSchema<{
170
+ readonly data: v.ObjectSchema<{
171
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
172
+ }, undefined>;
173
+ readonly status: v.LiteralSchema<403, undefined>;
174
+ }, undefined>], undefined>>;
175
+ //# sourceMappingURL=updateRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRule.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/account/updateRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgBrB,CAAA"}
@@ -0,0 +1,21 @@
1
+ import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
3
+ import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
4
+ import { accountNotFoundErrorSchema, authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, ruleNotFoundErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
5
+ export const updateRule = createEndpoint({
6
+ body: mutatorSchemas.account.updateRule,
7
+ method: 'PATCH',
8
+ path: '/v1/pv/models/account/:accountId/rules/update',
9
+ response: v.union([
10
+ authFailedErrorSchema,
11
+ userNotFoundErrorSchema,
12
+ accountNotFoundErrorSchema,
13
+ ruleNotFoundErrorSchema,
14
+ labelNotFoundErrorSchema,
15
+ mutationRejectedErrorSchema,
16
+ validationFailedErrorSchema,
17
+ v.object({
18
+ status: v.literal(200),
19
+ }),
20
+ ]),
21
+ });
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const cancelSend: import("../../../../..").EndpointConfig<"/v1/pv/models/draft/:draftId/cancel-send", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
4
4
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
5
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly data: v.ObjectSchema<{
7
7
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
8
  }, undefined>;
@@ -24,5 +24,10 @@ export declare const cancelSend: import("../../../../..").EndpointConfig<"/v1/pv
24
24
  readonly status: v.LiteralSchema<409, undefined>;
25
25
  }, undefined>, v.ObjectSchema<{
26
26
  readonly status: v.LiteralSchema<200, undefined>;
27
+ }, undefined>], undefined>, v.ObjectSchema<{
28
+ readonly data: v.ObjectSchema<{
29
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
30
+ }, undefined>;
31
+ readonly status: v.LiteralSchema<403, undefined>;
27
32
  }, undefined>], undefined>>;
28
33
  //# sourceMappingURL=cancelSend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cancelSend.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/cancelSend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;2BAarB,CAAA"}
1
+ {"version":3,"file":"cancelSend.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/cancelSend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAarB,CAAA"}
@@ -10,7 +10,7 @@ export declare const createAttachment: import("../../../../..").EndpointConfig<"
10
10
  }, "status" | "draftId">, undefined>;
11
11
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
12
12
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
13
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
13
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
14
14
  readonly data: v.ObjectSchema<{
15
15
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
16
16
  }, undefined>;
@@ -42,5 +42,10 @@ export declare const createAttachment: import("../../../../..").EndpointConfig<"
42
42
  readonly status: v.LiteralSchema<400, undefined>;
43
43
  }, undefined>, v.ObjectSchema<{
44
44
  readonly status: v.LiteralSchema<201, undefined>;
45
+ }, undefined>], undefined>, v.ObjectSchema<{
46
+ readonly data: v.ObjectSchema<{
47
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
48
+ }, undefined>;
49
+ readonly status: v.LiteralSchema<403, undefined>;
45
50
  }, undefined>], undefined>>;
46
51
  //# sourceMappingURL=createAttachment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/createAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc3B,CAAA"}
1
+ {"version":3,"file":"createAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/createAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc3B,CAAA"}
@@ -25,7 +25,7 @@ export declare const createDraft: import("../../../../..").EndpointConfig<"/v1/p
25
25
  readonly status: v.PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>;
26
26
  readonly type: v.PicklistSchema<readonly ["NEW", "REPLY", "FORWARD"], undefined>;
27
27
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
28
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
28
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
29
29
  readonly data: v.ObjectSchema<{
30
30
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
31
31
  }, undefined>;
@@ -57,5 +57,10 @@ export declare const createDraft: import("../../../../..").EndpointConfig<"/v1/p
57
57
  readonly status: v.LiteralSchema<400, undefined>;
58
58
  }, undefined>, v.ObjectSchema<{
59
59
  readonly status: v.LiteralSchema<201, undefined>;
60
+ }, undefined>], undefined>, v.ObjectSchema<{
61
+ readonly data: v.ObjectSchema<{
62
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
63
+ }, undefined>;
64
+ readonly status: v.LiteralSchema<403, undefined>;
60
65
  }, undefined>], undefined>>;
61
66
  //# sourceMappingURL=createDraft.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/createDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
1
+ {"version":3,"file":"createDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/createDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
@@ -3,7 +3,7 @@ export declare const deleteAttachment: import("../../../../..").EndpointConfig<"
3
3
  readonly attachmentId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "AttachmentId">]>, undefined>;
4
4
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
5
5
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
6
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
7
7
  readonly data: v.ObjectSchema<{
8
8
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
9
9
  }, undefined>;
@@ -30,5 +30,10 @@ export declare const deleteAttachment: import("../../../../..").EndpointConfig<"
30
30
  readonly status: v.LiteralSchema<409, undefined>;
31
31
  }, undefined>, v.ObjectSchema<{
32
32
  readonly status: v.LiteralSchema<204, undefined>;
33
+ }, undefined>], undefined>, v.ObjectSchema<{
34
+ readonly data: v.ObjectSchema<{
35
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
36
+ }, undefined>;
37
+ readonly status: v.LiteralSchema<403, undefined>;
33
38
  }, undefined>], undefined>>;
34
39
  //# sourceMappingURL=deleteAttachment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/deleteAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc3B,CAAA"}
1
+ {"version":3,"file":"deleteAttachment.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/deleteAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAc3B,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const deleteDraft: import("../../../../..").EndpointConfig<"/v1/pv/models/draft/:draftId/delete", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
4
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
5
5
  readonly data: v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
7
7
  }, undefined>;
@@ -23,5 +23,10 @@ export declare const deleteDraft: import("../../../../..").EndpointConfig<"/v1/p
23
23
  readonly status: v.LiteralSchema<409, undefined>;
24
24
  }, undefined>, v.ObjectSchema<{
25
25
  readonly status: v.LiteralSchema<204, undefined>;
26
+ }, undefined>], undefined>, v.ObjectSchema<{
27
+ readonly data: v.ObjectSchema<{
28
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
29
+ }, undefined>;
30
+ readonly status: v.LiteralSchema<403, undefined>;
26
31
  }, undefined>], undefined>>;
27
32
  //# sourceMappingURL=deleteDraft.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/deleteDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;2BAatB,CAAA"}
1
+ {"version":3,"file":"deleteDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/deleteDraft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAatB,CAAA"}
@@ -3,7 +3,7 @@ export declare const replaceContent: import("../../../../..").EndpointConfig<"/v
3
3
  readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 384000, undefined>]>;
4
4
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
5
5
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
6
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
7
7
  readonly data: v.ObjectSchema<{
8
8
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
9
9
  }, undefined>;
@@ -35,5 +35,10 @@ export declare const replaceContent: import("../../../../..").EndpointConfig<"/v
35
35
  readonly status: v.LiteralSchema<400, undefined>;
36
36
  }, undefined>, v.ObjectSchema<{
37
37
  readonly status: v.LiteralSchema<200, undefined>;
38
+ }, undefined>], undefined>, v.ObjectSchema<{
39
+ readonly data: v.ObjectSchema<{
40
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
41
+ }, undefined>;
42
+ readonly status: v.LiteralSchema<403, undefined>;
38
43
  }, undefined>], undefined>>;
39
44
  //# sourceMappingURL=replaceContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceContent.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/replaceContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAczB,CAAA"}
1
+ {"version":3,"file":"replaceContent.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/replaceContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAczB,CAAA"}
@@ -9,7 +9,7 @@ export declare const scheduleSend: import("../../../../..").EndpointConfig<"/v1/
9
9
  readonly kind: v.LiteralSchema<"SCHEDULED", undefined>;
10
10
  readonly scheduledFor: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
11
11
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
12
- }, undefined>], undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
12
+ }, undefined>], undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
13
13
  readonly data: v.ObjectSchema<{
14
14
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
15
15
  }, undefined>;
@@ -41,5 +41,10 @@ export declare const scheduleSend: import("../../../../..").EndpointConfig<"/v1/
41
41
  readonly status: v.LiteralSchema<400, undefined>;
42
42
  }, undefined>, v.ObjectSchema<{
43
43
  readonly status: v.LiteralSchema<200, undefined>;
44
+ }, undefined>], undefined>, v.ObjectSchema<{
45
+ readonly data: v.ObjectSchema<{
46
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
47
+ }, undefined>;
48
+ readonly status: v.LiteralSchema<403, undefined>;
44
49
  }, undefined>], undefined>>;
45
50
  //# sourceMappingURL=scheduleSend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scheduleSend.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/scheduleSend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
1
+ {"version":3,"file":"scheduleSend.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/scheduleSend.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
@@ -49,7 +49,7 @@ export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/p
49
49
  };
50
50
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
51
51
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
52
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
52
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
53
53
  readonly data: v.ObjectSchema<{
54
54
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
55
55
  }, undefined>;
@@ -81,5 +81,10 @@ export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/p
81
81
  readonly status: v.LiteralSchema<400, undefined>;
82
82
  }, undefined>, v.ObjectSchema<{
83
83
  readonly status: v.LiteralSchema<200, undefined>;
84
+ }, undefined>], undefined>, v.ObjectSchema<{
85
+ readonly data: v.ObjectSchema<{
86
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
87
+ }, undefined>;
88
+ readonly status: v.LiteralSchema<403, undefined>;
84
89
  }, undefined>], undefined>>;
85
90
  //# sourceMappingURL=setEnvelope.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setEnvelope.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/setEnvelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
1
+ {"version":3,"file":"setEnvelope.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/setEnvelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BActB,CAAA"}
@@ -6,7 +6,7 @@ export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/mo
6
6
  readonly fromName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
7
7
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "DraftId">]>, undefined>;
8
8
  readonly updatedAt: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
9
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
9
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
10
10
  readonly data: v.ObjectSchema<{
11
11
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
12
12
  }, undefined>;
@@ -43,5 +43,10 @@ export declare const setFrom: import("../../../../..").EndpointConfig<"/v1/pv/mo
43
43
  readonly status: v.LiteralSchema<400, undefined>;
44
44
  }, undefined>, v.ObjectSchema<{
45
45
  readonly status: v.LiteralSchema<200, undefined>;
46
+ }, undefined>], undefined>, v.ObjectSchema<{
47
+ readonly data: v.ObjectSchema<{
48
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
49
+ }, undefined>;
50
+ readonly status: v.LiteralSchema<403, undefined>;
46
51
  }, undefined>], undefined>>;
47
52
  //# sourceMappingURL=setFrom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setFrom.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/setFrom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAelB,CAAA"}
1
+ {"version":3,"file":"setFrom.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/draft/setFrom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAelB,CAAA"}
@@ -3,7 +3,7 @@ export declare const createNote: import("../../../../..").EndpointConfig<"/v1/pv
3
3
  readonly body: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
4
4
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskNoteId">]>, undefined>;
5
5
  readonly taskId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskId">]>, undefined>;
6
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
6
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
7
7
  readonly data: v.ObjectSchema<{
8
8
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
9
9
  }, undefined>;
@@ -35,5 +35,10 @@ export declare const createNote: import("../../../../..").EndpointConfig<"/v1/pv
35
35
  readonly status: v.LiteralSchema<400, undefined>;
36
36
  }, undefined>, v.ObjectSchema<{
37
37
  readonly status: v.LiteralSchema<201, undefined>;
38
+ }, undefined>], undefined>, v.ObjectSchema<{
39
+ readonly data: v.ObjectSchema<{
40
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
41
+ }, undefined>;
42
+ readonly status: v.LiteralSchema<403, undefined>;
38
43
  }, undefined>], undefined>>;
39
44
  //# sourceMappingURL=createNote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/createNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
1
+ {"version":3,"file":"createNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/createNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
@@ -13,7 +13,7 @@ export declare const createTask: import("../../../../..").EndpointConfig<"/v1/pv
13
13
  readonly kind: v.LiteralSchema<"none", undefined>;
14
14
  }, undefined>], undefined>;
15
15
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
16
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
16
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
17
17
  readonly data: v.ObjectSchema<{
18
18
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
19
19
  }, undefined>;
@@ -50,5 +50,10 @@ export declare const createTask: import("../../../../..").EndpointConfig<"/v1/pv
50
50
  readonly status: v.LiteralSchema<400, undefined>;
51
51
  }, undefined>, v.ObjectSchema<{
52
52
  readonly status: v.LiteralSchema<201, undefined>;
53
+ }, undefined>], undefined>, v.ObjectSchema<{
54
+ readonly data: v.ObjectSchema<{
55
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
56
+ }, undefined>;
57
+ readonly status: v.LiteralSchema<403, undefined>;
53
58
  }, undefined>], undefined>>;
54
59
  //# sourceMappingURL=createTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/createTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAerB,CAAA"}
1
+ {"version":3,"file":"createTask.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/createTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAerB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const deleteNote: import("../../../../..").EndpointConfig<"/v1/pv/models/task-note/:taskNoteId/delete", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskNoteId">]>, undefined>;
4
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
5
5
  readonly data: v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
7
7
  }, undefined>;
@@ -33,5 +33,10 @@ export declare const deleteNote: import("../../../../..").EndpointConfig<"/v1/pv
33
33
  readonly status: v.LiteralSchema<400, undefined>;
34
34
  }, undefined>, v.ObjectSchema<{
35
35
  readonly status: v.LiteralSchema<204, undefined>;
36
+ }, undefined>], undefined>, v.ObjectSchema<{
37
+ readonly data: v.ObjectSchema<{
38
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
39
+ }, undefined>;
40
+ readonly status: v.LiteralSchema<403, undefined>;
36
41
  }, undefined>], undefined>>;
37
42
  //# sourceMappingURL=deleteNote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/deleteNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
1
+ {"version":3,"file":"deleteNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/deleteNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
2
  export declare const deleteTask: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/delete", v.ObjectSchema<{
3
3
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskId">]>, undefined>;
4
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
4
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
5
5
  readonly data: v.ObjectSchema<{
6
6
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
7
7
  }, undefined>;
@@ -33,5 +33,10 @@ export declare const deleteTask: import("../../../../..").EndpointConfig<"/v1/pv
33
33
  readonly status: v.LiteralSchema<400, undefined>;
34
34
  }, undefined>, v.ObjectSchema<{
35
35
  readonly status: v.LiteralSchema<204, undefined>;
36
+ }, undefined>], undefined>, v.ObjectSchema<{
37
+ readonly data: v.ObjectSchema<{
38
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
39
+ }, undefined>;
40
+ readonly status: v.LiteralSchema<403, undefined>;
36
41
  }, undefined>], undefined>>;
37
42
  //# sourceMappingURL=deleteTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteTask.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/deleteTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
1
+ {"version":3,"file":"deleteTask.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/deleteTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const setCompleted: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/set-completed", v.ObjectSchema<{
3
3
  readonly completed: v.BooleanSchema<undefined>;
4
4
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskId">]>, undefined>;
5
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly data: v.ObjectSchema<{
7
7
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
8
  }, undefined>;
@@ -34,5 +34,10 @@ export declare const setCompleted: import("../../../../..").EndpointConfig<"/v1/
34
34
  readonly status: v.LiteralSchema<400, undefined>;
35
35
  }, undefined>, v.ObjectSchema<{
36
36
  readonly status: v.LiteralSchema<200, undefined>;
37
+ }, undefined>], undefined>, v.ObjectSchema<{
38
+ readonly data: v.ObjectSchema<{
39
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
40
+ }, undefined>;
41
+ readonly status: v.LiteralSchema<403, undefined>;
37
42
  }, undefined>], undefined>>;
38
43
  //# sourceMappingURL=setCompleted.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setCompleted.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/setCompleted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
1
+ {"version":3,"file":"setCompleted.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/setCompleted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcvB,CAAA"}
@@ -2,7 +2,7 @@ import * as v from 'valibot';
2
2
  export declare const updateNote: import("../../../../..").EndpointConfig<"/v1/pv/models/task-note/:taskNoteId/update", v.ObjectSchema<{
3
3
  readonly body: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>;
4
4
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "TaskNoteId">]>, undefined>;
5
- }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
5
+ }, undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
6
6
  readonly data: v.ObjectSchema<{
7
7
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
8
8
  }, undefined>;
@@ -34,5 +34,10 @@ export declare const updateNote: import("../../../../..").EndpointConfig<"/v1/pv
34
34
  readonly status: v.LiteralSchema<400, undefined>;
35
35
  }, undefined>, v.ObjectSchema<{
36
36
  readonly status: v.LiteralSchema<200, undefined>;
37
+ }, undefined>], undefined>, v.ObjectSchema<{
38
+ readonly data: v.ObjectSchema<{
39
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
40
+ }, undefined>;
41
+ readonly status: v.LiteralSchema<403, undefined>;
37
42
  }, undefined>], undefined>>;
38
43
  //# sourceMappingURL=updateNote.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/updateNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}
1
+ {"version":3,"file":"updateNote.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/mutations/task/updateNote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAcrB,CAAA"}