@marcoappio/marco-config 11.0.12 → 11.0.13

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 (181) hide show
  1. package/dist/sdk/endpoints/createEndpointConfig.d.ts +9 -3
  2. package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/createEndpointConfig.js +3 -1
  4. package/dist/sdk/endpoints/index.d.ts +80 -15
  5. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  6. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +6 -1
  7. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -1
  8. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +6 -1
  9. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -1
  10. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +6 -1
  11. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  12. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +6 -1
  13. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  14. package/dist/sdk/endpoints/private/index.d.ts +24 -4
  15. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  16. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts +6 -1
  17. package/dist/sdk/endpoints/private/models/account/getAccounts.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts +6 -1
  19. package/dist/sdk/endpoints/private/models/contact/getContacts.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts +6 -1
  21. package/dist/sdk/endpoints/private/models/draft/getDrafts.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts +6 -1
  23. package/dist/sdk/endpoints/private/models/task/getTaskNotes.d.ts.map +1 -1
  24. package/dist/sdk/endpoints/private/models/task/getTasks.d.ts +6 -1
  25. package/dist/sdk/endpoints/private/models/task/getTasks.d.ts.map +1 -1
  26. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts +6 -1
  27. package/dist/sdk/endpoints/private/models/thread/getThread.d.ts.map +1 -1
  28. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts +6 -1
  29. package/dist/sdk/endpoints/private/models/thread/getThreadByMessageId.d.ts.map +1 -1
  30. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts +6 -1
  31. package/dist/sdk/endpoints/private/models/thread/getThreadList.d.ts.map +1 -1
  32. package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts +6 -1
  33. package/dist/sdk/endpoints/private/models/thread/getThreadMessageAttachments.d.ts.map +1 -1
  34. package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts +6 -1
  35. package/dist/sdk/endpoints/private/models/thread/getThreadMessageRecipients.d.ts.map +1 -1
  36. package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts +6 -1
  37. package/dist/sdk/endpoints/private/models/thread/getThreadMessages.d.ts.map +1 -1
  38. package/dist/sdk/endpoints/private/models/user/getUser.d.ts +6 -1
  39. package/dist/sdk/endpoints/private/models/user/getUser.d.ts.map +1 -1
  40. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts +6 -1
  41. package/dist/sdk/endpoints/private/mutations/account/createAccount.d.ts.map +1 -1
  42. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts +6 -1
  43. package/dist/sdk/endpoints/private/mutations/account/createAlias.d.ts.map +1 -1
  44. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts +6 -1
  45. package/dist/sdk/endpoints/private/mutations/account/createLabel.d.ts.map +1 -1
  46. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts +6 -1
  47. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.d.ts.map +1 -1
  48. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts +6 -1
  49. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.d.ts.map +1 -1
  50. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts +6 -1
  51. package/dist/sdk/endpoints/private/mutations/account/deleteLabel.d.ts.map +1 -1
  52. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts +6 -1
  53. package/dist/sdk/endpoints/private/mutations/account/renameLabel.d.ts.map +1 -1
  54. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts +6 -1
  55. package/dist/sdk/endpoints/private/mutations/account/setAliasName.d.ts.map +1 -1
  56. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts +6 -1
  57. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.d.ts.map +1 -1
  58. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts +6 -1
  59. package/dist/sdk/endpoints/private/mutations/account/setAliasSignature.d.ts.map +1 -1
  60. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts +6 -1
  61. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.d.ts.map +1 -1
  62. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts +6 -1
  63. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.d.ts.map +1 -1
  64. package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts +6 -1
  65. package/dist/sdk/endpoints/private/mutations/account/setLabelSidebarHidden.d.ts.map +1 -1
  66. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts +6 -1
  67. package/dist/sdk/endpoints/private/mutations/account/setSettings.d.ts.map +1 -1
  68. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts +6 -1
  69. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.d.ts.map +1 -1
  70. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts +6 -1
  71. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.d.ts.map +1 -1
  72. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts +6 -1
  73. package/dist/sdk/endpoints/private/mutations/draft/createDraft.d.ts.map +1 -1
  74. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts +6 -1
  75. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.d.ts.map +1 -1
  76. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts +6 -1
  77. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.d.ts.map +1 -1
  78. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts +6 -1
  79. package/dist/sdk/endpoints/private/mutations/draft/replaceContent.d.ts.map +1 -1
  80. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts +6 -1
  81. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.d.ts.map +1 -1
  82. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +6 -1
  83. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts.map +1 -1
  84. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts +6 -1
  85. package/dist/sdk/endpoints/private/mutations/draft/setFrom.d.ts.map +1 -1
  86. package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts +6 -1
  87. package/dist/sdk/endpoints/private/mutations/task/createNote.d.ts.map +1 -1
  88. package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts +6 -1
  89. package/dist/sdk/endpoints/private/mutations/task/createTask.d.ts.map +1 -1
  90. package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts +6 -1
  91. package/dist/sdk/endpoints/private/mutations/task/deleteNote.d.ts.map +1 -1
  92. package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts +6 -1
  93. package/dist/sdk/endpoints/private/mutations/task/deleteTask.d.ts.map +1 -1
  94. package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts +6 -1
  95. package/dist/sdk/endpoints/private/mutations/task/setCompleted.d.ts.map +1 -1
  96. package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts +6 -1
  97. package/dist/sdk/endpoints/private/mutations/task/updateNote.d.ts.map +1 -1
  98. package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts +6 -1
  99. package/dist/sdk/endpoints/private/mutations/task/updateTask.d.ts.map +1 -1
  100. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts +6 -1
  101. package/dist/sdk/endpoints/private/mutations/thread/addLabel.d.ts.map +1 -1
  102. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts +6 -1
  103. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.d.ts.map +1 -1
  104. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts +6 -1
  105. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.d.ts.map +1 -1
  106. package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts +6 -1
  107. package/dist/sdk/endpoints/private/mutations/thread/retryLabelMove.d.ts.map +1 -1
  108. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts +6 -1
  109. package/dist/sdk/endpoints/private/mutations/thread/setArchive.d.ts.map +1 -1
  110. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts +6 -1
  111. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.d.ts.map +1 -1
  112. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts +6 -1
  113. package/dist/sdk/endpoints/private/mutations/thread/setInbox.d.ts.map +1 -1
  114. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts +6 -1
  115. package/dist/sdk/endpoints/private/mutations/thread/setSeen.d.ts.map +1 -1
  116. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts +6 -1
  117. package/dist/sdk/endpoints/private/mutations/thread/setSnooze.d.ts.map +1 -1
  118. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts +6 -1
  119. package/dist/sdk/endpoints/private/mutations/thread/setSpam.d.ts.map +1 -1
  120. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts +6 -1
  121. package/dist/sdk/endpoints/private/mutations/thread/setTrash.d.ts.map +1 -1
  122. package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts +6 -1
  123. package/dist/sdk/endpoints/private/mutations/thread/settleLabelMove.d.ts.map +1 -1
  124. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts +6 -1
  125. package/dist/sdk/endpoints/private/mutations/user/createFeedback.d.ts.map +1 -1
  126. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts +6 -1
  127. package/dist/sdk/endpoints/private/mutations/user/createView.d.ts.map +1 -1
  128. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts +6 -1
  129. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.d.ts.map +1 -1
  130. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts +6 -1
  131. package/dist/sdk/endpoints/private/mutations/user/deleteView.d.ts.map +1 -1
  132. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts +6 -1
  133. package/dist/sdk/endpoints/private/mutations/user/setFeedbackModalShown.d.ts.map +1 -1
  134. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts +6 -1
  135. package/dist/sdk/endpoints/private/mutations/user/setPushToken.d.ts.map +1 -1
  136. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts +6 -1
  137. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.d.ts.map +1 -1
  138. package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts +6 -1
  139. package/dist/sdk/endpoints/private/mutations/user/setSettingsTasksHidden.d.ts.map +1 -1
  140. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts +6 -1
  141. package/dist/sdk/endpoints/private/mutations/user/updateView.d.ts.map +1 -1
  142. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +6 -1
  143. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -1
  144. package/dist/sdk/endpoints/private/user/index.d.ts +12 -2
  145. package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -1
  146. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts +6 -1
  147. package/dist/sdk/endpoints/private/user/uploadProfilePicture.d.ts.map +1 -1
  148. package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts +6 -1
  149. package/dist/sdk/endpoints/public/auth/browser/deleteSession.d.ts.map +1 -1
  150. package/dist/sdk/endpoints/public/auth/browser/index.d.ts +18 -3
  151. package/dist/sdk/endpoints/public/auth/browser/index.d.ts.map +1 -1
  152. package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts +6 -1
  153. package/dist/sdk/endpoints/public/auth/browser/refreshAuth.d.ts.map +1 -1
  154. package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts +6 -1
  155. package/dist/sdk/endpoints/public/auth/browser/verifyAuthCode.d.ts.map +1 -1
  156. package/dist/sdk/endpoints/public/auth/index.d.ts +42 -7
  157. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  158. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +6 -1
  159. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
  160. package/dist/sdk/endpoints/public/auth/revokeSession.d.ts +6 -1
  161. package/dist/sdk/endpoints/public/auth/revokeSession.d.ts.map +1 -1
  162. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +6 -1
  163. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  164. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +6 -1
  165. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  166. package/dist/sdk/endpoints/public/config/index.d.ts +7 -2
  167. package/dist/sdk/endpoints/public/config/index.d.ts.map +1 -1
  168. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +7 -2
  169. package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -1
  170. package/dist/sdk/endpoints/public/index.d.ts +56 -11
  171. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  172. package/dist/sdk/index.d.ts +86 -15
  173. package/dist/sdk/index.d.ts.map +1 -1
  174. package/dist/sdk/validation/errors.d.ts +12 -0
  175. package/dist/sdk/validation/errors.d.ts.map +1 -1
  176. package/dist/sdk/validation/errors.js +5 -0
  177. package/dist/sdk/validation/index.d.ts +6 -0
  178. package/dist/sdk/validation/index.d.ts.map +1 -1
  179. package/dist/types/SDKError.d.ts +1 -1
  180. package/dist/types/SDKError.d.ts.map +1 -1
  181. package/package.json +1 -1
@@ -1,12 +1,18 @@
1
- import type { GenericSchema } from 'valibot';
1
+ import * as v from 'valibot';
2
+ import { regionNotSupportedErrorSchema } from '../../sdk/validation/errors';
2
3
  import type { BodyType, EndpointConfig, HTTPMethod, SDKResponse, URLPattern } from '../../types/Endpoint';
3
4
  export declare const createURLPattern: <T extends string>(pattern: T) => (params: URLPattern<T>) => string;
4
- export declare const createEndpoint: <TPath extends string, TRequestBody extends GenericSchema | undefined, TRequestQuery extends GenericSchema | undefined, TResponse extends GenericSchema<SDKResponse>>(params: {
5
+ type EndpointResponse<TResponse extends v.GenericSchema<SDKResponse>> = v.UnionSchema<[
6
+ TResponse,
7
+ typeof regionNotSupportedErrorSchema
8
+ ], undefined>;
9
+ export declare const createEndpoint: <TPath extends string, TRequestBody extends v.GenericSchema | undefined, TRequestQuery extends v.GenericSchema | undefined, TResponse extends v.GenericSchema<SDKResponse>>(params: {
5
10
  body?: TRequestBody;
6
11
  bodyType?: BodyType;
7
12
  method: HTTPMethod;
8
13
  path: TPath;
9
14
  query?: TRequestQuery;
10
15
  response: TResponse;
11
- }) => EndpointConfig<TPath, TRequestBody, TRequestQuery, TResponse>;
16
+ }) => EndpointConfig<TPath, TRequestBody, TRequestQuery, EndpointResponse<TResponse>>;
17
+ export {};
12
18
  //# sourceMappingURL=createEndpointConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createEndpointConfig.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/createEndpointConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEjH,eAAO,MAAM,gBAAgB,GAC1B,CAAC,SAAS,MAAM,WAAW,CAAC,cACpB,UAAU,CAAC,CAAC,CAAC,KAAG,MAWxB,CAAA;AAEH,eAAO,MAAM,cAAc,GACzB,KAAK,SAAS,MAAM,EACpB,YAAY,SAAS,aAAa,GAAG,SAAS,EAC9C,aAAa,SAAS,aAAa,GAAG,SAAS,EAC/C,SAAS,SAAS,aAAa,CAAC,WAAW,CAAC,UACpC;IACR,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB,KAAG,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,CAQ9D,CAAA"}
1
+ {"version":3,"file":"createEndpointConfig.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/createEndpointConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEjH,eAAO,MAAM,gBAAgB,GAC1B,CAAC,SAAS,MAAM,WAAW,CAAC,cACpB,UAAU,CAAC,CAAC,CAAC,KAAG,MAWxB,CAAA;AAGH,KAAK,gBAAgB,CAAC,SAAS,SAAS,CAAC,CAAC,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CACnF;IAAC,SAAS;IAAE,OAAO,6BAA6B;CAAC,EACjD,SAAS,CACV,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,KAAK,SAAS,MAAM,EACpB,YAAY,SAAS,CAAC,CAAC,aAAa,GAAG,SAAS,EAChD,aAAa,SAAS,CAAC,CAAC,aAAa,GAAG,SAAS,EACjD,SAAS,SAAS,CAAC,CAAC,aAAa,CAAC,WAAW,CAAC,UACtC;IACR,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB,KAAG,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAQhF,CAAA"}
@@ -1,3 +1,5 @@
1
+ import * as v from 'valibot';
2
+ import { regionNotSupportedErrorSchema } from '../../sdk/validation/errors';
1
3
  export const createURLPattern = (pattern) => (params) => {
2
4
  const segments = pattern.split('/');
3
5
  return segments
@@ -17,5 +19,5 @@ export const createEndpoint = (params) => ({
17
19
  method: params.method,
18
20
  path: params.path,
19
21
  query: params.query,
20
- response: params.response,
22
+ response: v.union([params.response, regionNotSupportedErrorSchema]),
21
23
  });
@@ -3,7 +3,7 @@ import type { EndpointConfig } from '../../types';
3
3
  export declare const endpoints: {
4
4
  private: {
5
5
  draftAttachment: {
6
- upload: EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
+ upload: EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
7
7
  readonly data: import("valibot").ObjectSchema<{
8
8
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
9
9
  }, undefined>;
@@ -40,10 +40,15 @@ export declare const endpoints: {
40
40
  readonly status: import("valibot").LiteralSchema<400, undefined>;
41
41
  }, undefined>, import("valibot").ObjectSchema<{
42
42
  readonly status: import("valibot").LiteralSchema<200, undefined>;
43
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
44
+ readonly data: import("valibot").ObjectSchema<{
45
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
46
+ }, undefined>;
47
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
43
48
  }, undefined>], undefined>>;
44
49
  };
45
50
  emailMessage: {
46
- getAttachment: EndpointConfig<"/v1/pv/attachment/:attachmentId", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
51
+ getAttachment: EndpointConfig<"/v1/pv/attachment/:attachmentId", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
47
52
  readonly data: import("valibot").ObjectSchema<{
48
53
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
49
54
  }, undefined>;
@@ -61,6 +66,11 @@ export declare const endpoints: {
61
66
  }, undefined>, import("valibot").ObjectSchema<{
62
67
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
63
68
  readonly status: import("valibot").LiteralSchema<200, undefined>;
69
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
70
+ readonly data: import("valibot").ObjectSchema<{
71
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
72
+ }, undefined>;
73
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
64
74
  }, undefined>], undefined>>;
65
75
  };
66
76
  models: {
@@ -79,15 +89,20 @@ export declare const endpoints: {
79
89
  user: typeof import("./private/mutations/user");
80
90
  };
81
91
  user: {
82
- deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
92
+ deleteUser: EndpointConfig<"/v1/pv/user", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
83
93
  readonly data: import("valibot").ObjectSchema<{
84
94
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
85
95
  }, undefined>;
86
96
  readonly status: import("valibot").LiteralSchema<401, undefined>;
87
97
  }, undefined>, import("valibot").ObjectSchema<{
88
98
  readonly status: import("valibot").LiteralSchema<204, undefined>;
99
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
100
+ readonly data: import("valibot").ObjectSchema<{
101
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
102
+ }, undefined>;
103
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
89
104
  }, undefined>], undefined>>;
90
- uploadProfilePicture: EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
105
+ uploadProfilePicture: EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
91
106
  readonly data: import("valibot").ObjectSchema<{
92
107
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
93
108
  }, undefined>;
@@ -112,6 +127,11 @@ export declare const endpoints: {
112
127
  readonly profilePicture: import("valibot").StringSchema<undefined>;
113
128
  }, undefined>;
114
129
  readonly status: import("valibot").LiteralSchema<200, undefined>;
130
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
131
+ readonly data: import("valibot").ObjectSchema<{
132
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
133
+ }, undefined>;
134
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
115
135
  }, undefined>], undefined>>;
116
136
  };
117
137
  };
@@ -120,7 +140,7 @@ export declare const endpoints: {
120
140
  browser: {
121
141
  deleteSession: EndpointConfig<"/v1/pb/auth/browser/session", GenericSchema | undefined, import("valibot").StrictObjectSchema<{
122
142
  readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
123
- }, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
143
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
124
144
  readonly data: import("valibot").StrictObjectSchema<{
125
145
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
126
146
  readonly issues: import("valibot").ObjectSchema<{
@@ -137,10 +157,15 @@ export declare const endpoints: {
137
157
  readonly status: import("valibot").LiteralSchema<502, undefined>;
138
158
  }, undefined>, import("valibot").StrictObjectSchema<{
139
159
  readonly status: import("valibot").LiteralSchema<204, undefined>;
160
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
161
+ readonly data: import("valibot").ObjectSchema<{
162
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
163
+ }, undefined>;
164
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
140
165
  }, undefined>], undefined>>;
141
166
  refreshAuth: EndpointConfig<"/v1/pb/auth/browser/refresh", GenericSchema | undefined, import("valibot").StrictObjectSchema<{
142
167
  readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
143
- }, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
168
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
144
169
  readonly data: import("valibot").StrictObjectSchema<{
145
170
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
146
171
  readonly issues: import("valibot").ObjectSchema<{
@@ -175,6 +200,11 @@ export declare const endpoints: {
175
200
  }, undefined>;
176
201
  }, undefined>;
177
202
  readonly status: import("valibot").LiteralSchema<200, undefined>;
203
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
204
+ readonly data: import("valibot").ObjectSchema<{
205
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
206
+ }, undefined>;
207
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
178
208
  }, undefined>], undefined>>;
179
209
  verifyAuthCode: EndpointConfig<"/v1/pb/auth/browser/verify-code", import("valibot").ObjectSchema<{
180
210
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
@@ -182,7 +212,7 @@ export declare const endpoints: {
182
212
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
183
213
  }, undefined>, import("valibot").StrictObjectSchema<{
184
214
  readonly sessionGeneration: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>;
185
- }, undefined>, import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
215
+ }, undefined>, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").StrictObjectSchema<{
186
216
  readonly data: import("valibot").StrictObjectSchema<{
187
217
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
188
218
  readonly issues: import("valibot").ObjectSchema<{
@@ -242,11 +272,16 @@ export declare const endpoints: {
242
272
  }, undefined>;
243
273
  }, undefined>;
244
274
  readonly status: import("valibot").LiteralSchema<200, undefined>;
275
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
276
+ readonly data: import("valibot").ObjectSchema<{
277
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
278
+ }, undefined>;
279
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
245
280
  }, undefined>], undefined>>;
246
281
  };
247
282
  refreshAuth: EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
248
283
  readonly refreshToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
249
- }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
284
+ }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
250
285
  readonly data: import("valibot").ObjectSchema<{
251
286
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
252
287
  readonly issues: import("valibot").ObjectSchema<{
@@ -282,10 +317,15 @@ export declare const endpoints: {
282
317
  }, undefined>;
283
318
  }, undefined>;
284
319
  readonly status: import("valibot").LiteralSchema<200, undefined>;
320
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
321
+ readonly data: import("valibot").ObjectSchema<{
322
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
323
+ }, undefined>;
324
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
285
325
  }, undefined>], undefined>>;
286
326
  revokeSession: EndpointConfig<"/v1/pb/auth/session/revoke", import("valibot").StrictObjectSchema<{
287
327
  readonly accessToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
288
- }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
328
+ }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
289
329
  readonly data: import("valibot").ObjectSchema<{
290
330
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
291
331
  readonly issues: import("valibot").ObjectSchema<{
@@ -307,10 +347,15 @@ export declare const endpoints: {
307
347
  readonly status: import("valibot").LiteralSchema<502, undefined>;
308
348
  }, undefined>, import("valibot").StrictObjectSchema<{
309
349
  readonly status: import("valibot").LiteralSchema<204, undefined>;
350
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
351
+ readonly data: import("valibot").ObjectSchema<{
352
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
353
+ }, undefined>;
354
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
310
355
  }, undefined>], undefined>>;
311
356
  sendAuthCode: EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
312
357
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
313
- }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
358
+ }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
314
359
  readonly data: import("valibot").ObjectSchema<{
315
360
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
316
361
  readonly issues: import("valibot").ObjectSchema<{
@@ -332,12 +377,17 @@ export declare const endpoints: {
332
377
  readonly status: import("valibot").LiteralSchema<404, undefined>;
333
378
  }, undefined>, import("valibot").ObjectSchema<{
334
379
  readonly status: import("valibot").LiteralSchema<200, undefined>;
380
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
381
+ readonly data: import("valibot").ObjectSchema<{
382
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
383
+ }, undefined>;
384
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
335
385
  }, undefined>], undefined>>;
336
386
  verifyAuthCode: EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").ObjectSchema<{
337
387
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
338
388
  readonly code: import("valibot").StringSchema<undefined>;
339
389
  readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RfcEmailAction<string, undefined>]>, undefined>;
340
- }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
390
+ }, undefined>, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
341
391
  readonly data: import("valibot").ObjectSchema<{
342
392
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
343
393
  readonly issues: import("valibot").ObjectSchema<{
@@ -398,22 +448,37 @@ export declare const endpoints: {
398
448
  }, undefined>;
399
449
  }, undefined>;
400
450
  readonly status: import("valibot").LiteralSchema<200, undefined>;
451
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
452
+ readonly data: import("valibot").ObjectSchema<{
453
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
454
+ }, undefined>;
455
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
401
456
  }, undefined>], undefined>>;
402
457
  };
403
- config: EndpointConfig<"/v1/pb/config", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
458
+ config: EndpointConfig<"/v1/pb/config", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
404
459
  readonly data: import("valibot").ObjectSchema<{
405
460
  readonly app: import("valibot").ObjectSchema<{
406
461
  readonly minimumVersion: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
407
462
  }, undefined>;
408
463
  }, undefined>;
409
464
  readonly status: import("valibot").LiteralSchema<200, undefined>;
410
- }, undefined>>;
411
- healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").ObjectSchema<{
465
+ }, undefined>, import("valibot").ObjectSchema<{
466
+ readonly data: import("valibot").ObjectSchema<{
467
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
468
+ }, undefined>;
469
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
470
+ }, undefined>], undefined>>;
471
+ healthcheck: EndpointConfig<"/v1/pb/healthcheck", GenericSchema | undefined, GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
412
472
  readonly data: import("valibot").ObjectSchema<{
413
473
  readonly status: import("valibot").LiteralSchema<"ok", undefined>;
414
474
  }, undefined>;
415
475
  readonly status: import("valibot").LiteralSchema<200, undefined>;
416
- }, undefined>>;
476
+ }, undefined>, import("valibot").ObjectSchema<{
477
+ readonly data: import("valibot").ObjectSchema<{
478
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
479
+ }, undefined>;
480
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
481
+ }, undefined>], undefined>>;
417
482
  };
418
483
  };
419
484
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAWtE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export declare const draftAttachment: {
2
- upload: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
2
+ upload: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
3
3
  readonly data: import("valibot").ObjectSchema<{
4
4
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
5
  }, undefined>;
@@ -36,6 +36,11 @@ export declare const draftAttachment: {
36
36
  readonly status: import("valibot").LiteralSchema<400, undefined>;
37
37
  }, undefined>, import("valibot").ObjectSchema<{
38
38
  readonly status: import("valibot").LiteralSchema<200, undefined>;
39
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
40
+ readonly data: import("valibot").ObjectSchema<{
41
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
42
+ }, undefined>;
43
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
39
44
  }, undefined>], undefined>>;
40
45
  };
41
46
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAE3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAE3B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const uploadDraftAttachment: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", v.BlobSchema<undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
2
+ export declare const uploadDraftAttachment: import("../../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", v.BlobSchema<undefined>, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
3
3
  readonly data: v.ObjectSchema<{
4
4
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
5
  }, undefined>;
@@ -36,5 +36,10 @@ export declare const uploadDraftAttachment: import("../../../..").EndpointConfig
36
36
  readonly status: v.LiteralSchema<400, undefined>;
37
37
  }, undefined>, v.ObjectSchema<{
38
38
  readonly status: v.LiteralSchema<200, undefined>;
39
+ }, undefined>], undefined>, v.ObjectSchema<{
40
+ readonly data: v.ObjectSchema<{
41
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
42
+ }, undefined>;
43
+ readonly status: v.LiteralSchema<403, undefined>;
39
44
  }, undefined>], undefined>>;
40
45
  //# sourceMappingURL=uploadDraftAttachment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgBhC,CAAA"}
1
+ {"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAgBhC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const getEmailMessageAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
2
+ export declare const getEmailMessageAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
3
3
  readonly data: v.ObjectSchema<{
4
4
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
5
  }, undefined>;
@@ -17,5 +17,10 @@ export declare const getEmailMessageAttachment: import("../../../..").EndpointCo
17
17
  }, undefined>, v.ObjectSchema<{
18
18
  readonly file: v.NonOptionalSchema<v.FileSchema<undefined>, undefined>;
19
19
  readonly status: v.LiteralSchema<200, undefined>;
20
+ }, undefined>], undefined>, v.ObjectSchema<{
21
+ readonly data: v.ObjectSchema<{
22
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
23
+ }, undefined>;
24
+ readonly status: v.LiteralSchema<403, undefined>;
20
25
  }, undefined>], undefined>>;
21
26
  //# sourceMappingURL=getEmailMessageAttachment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAS5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;2BAYpC,CAAA"}
1
+ {"version":3,"file":"getEmailMessageAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAS5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;2BAYpC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export declare const emailMessage: {
2
- getAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
2
+ getAttachment: import("../../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
3
3
  readonly data: import("valibot").ObjectSchema<{
4
4
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
5
  }, undefined>;
@@ -17,6 +17,11 @@ export declare const emailMessage: {
17
17
  }, undefined>, import("valibot").ObjectSchema<{
18
18
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
19
19
  readonly status: import("valibot").LiteralSchema<200, undefined>;
20
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
21
+ readonly data: import("valibot").ObjectSchema<{
22
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
23
+ }, undefined>;
24
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
20
25
  }, undefined>], undefined>>;
21
26
  };
22
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/emailMessage/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;CAExB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  export declare const privateGroup: {
2
2
  draftAttachment: {
3
- upload: import("../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
3
+ upload: import("../../..").EndpointConfig<"/v1/pv/drafts/:attachmentId/upload", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
4
4
  readonly data: import("valibot").ObjectSchema<{
5
5
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
6
6
  }, undefined>;
@@ -37,10 +37,15 @@ export declare const privateGroup: {
37
37
  readonly status: import("valibot").LiteralSchema<400, undefined>;
38
38
  }, undefined>, import("valibot").ObjectSchema<{
39
39
  readonly status: import("valibot").LiteralSchema<200, undefined>;
40
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
41
+ readonly data: import("valibot").ObjectSchema<{
42
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
43
+ }, undefined>;
44
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
40
45
  }, undefined>], undefined>>;
41
46
  };
42
47
  emailMessage: {
43
- getAttachment: import("../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
48
+ getAttachment: import("../../..").EndpointConfig<"/v1/pv/attachment/:attachmentId", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
44
49
  readonly data: import("valibot").ObjectSchema<{
45
50
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
46
51
  }, undefined>;
@@ -58,6 +63,11 @@ export declare const privateGroup: {
58
63
  }, undefined>, import("valibot").ObjectSchema<{
59
64
  readonly file: import("valibot").NonOptionalSchema<import("valibot").FileSchema<undefined>, undefined>;
60
65
  readonly status: import("valibot").LiteralSchema<200, undefined>;
66
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
67
+ readonly data: import("valibot").ObjectSchema<{
68
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
69
+ }, undefined>;
70
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
61
71
  }, undefined>], undefined>>;
62
72
  };
63
73
  models: {
@@ -76,15 +86,20 @@ export declare const privateGroup: {
76
86
  user: typeof import("./mutations/user");
77
87
  };
78
88
  user: {
79
- deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
89
+ deleteUser: import("../../..").EndpointConfig<"/v1/pv/user", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
80
90
  readonly data: import("valibot").ObjectSchema<{
81
91
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
82
92
  }, undefined>;
83
93
  readonly status: import("valibot").LiteralSchema<401, undefined>;
84
94
  }, undefined>, import("valibot").ObjectSchema<{
85
95
  readonly status: import("valibot").LiteralSchema<204, undefined>;
96
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
97
+ readonly data: import("valibot").ObjectSchema<{
98
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
99
+ }, undefined>;
100
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
86
101
  }, undefined>], undefined>>;
87
- uploadProfilePicture: import("../../..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
102
+ uploadProfilePicture: import("../../..").EndpointConfig<"/v1/pv/user/profile-picture", import("valibot").BlobSchema<undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
88
103
  readonly data: import("valibot").ObjectSchema<{
89
104
  readonly code: import("valibot").LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
90
105
  }, undefined>;
@@ -109,6 +124,11 @@ export declare const privateGroup: {
109
124
  readonly profilePicture: import("valibot").StringSchema<undefined>;
110
125
  }, undefined>;
111
126
  readonly status: import("valibot").LiteralSchema<200, undefined>;
127
+ }, undefined>], undefined>, import("valibot").ObjectSchema<{
128
+ readonly data: import("valibot").ObjectSchema<{
129
+ readonly code: import("valibot").LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
130
+ }, undefined>;
131
+ readonly status: import("valibot").LiteralSchema<403, undefined>;
112
132
  }, undefined>], undefined>>;
113
133
  };
114
134
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxB,CAAA"}
@@ -6,7 +6,7 @@ export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/p
6
6
  readonly labelIds: v.OptionalSchema<v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "LabelId">]>, undefined>, undefined>, undefined>;
7
7
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
8
8
  readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9
- }, undefined>, v.UnionSchema<[v.ObjectSchema<{
9
+ }, 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>;
@@ -68,5 +68,10 @@ export declare const getAccounts: import("../../../../..").EndpointConfig<"/v1/p
68
68
  readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
69
69
  }, undefined>;
70
70
  readonly status: v.LiteralSchema<200, undefined>;
71
+ }, undefined>], undefined>, v.ObjectSchema<{
72
+ readonly data: v.ObjectSchema<{
73
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
74
+ }, undefined>;
75
+ readonly status: v.LiteralSchema<403, undefined>;
71
76
  }, undefined>], undefined>>;
72
77
  //# sourceMappingURL=getAccounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/account/getAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
1
+ {"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/account/getAccounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
@@ -6,7 +6,7 @@ export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/p
6
6
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
7
7
  readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8
8
  readonly search: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9
- }, undefined>, v.UnionSchema<[v.ObjectSchema<{
9
+ }, 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>;
@@ -37,5 +37,10 @@ export declare const getContacts: import("../../../../..").EndpointConfig<"/v1/p
37
37
  readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
38
38
  }, undefined>;
39
39
  readonly status: v.LiteralSchema<200, undefined>;
40
+ }, undefined>], undefined>, v.ObjectSchema<{
41
+ readonly data: v.ObjectSchema<{
42
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
43
+ }, undefined>;
44
+ readonly status: v.LiteralSchema<403, undefined>;
40
45
  }, undefined>], undefined>>;
41
46
  //# sourceMappingURL=getContacts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/contact/getContacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
1
+ {"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/contact/getContacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBtB,CAAA"}
@@ -4,7 +4,7 @@ export declare const getDrafts: import("../../../../../types").EndpointConfig<"/
4
4
  readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5
5
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
6
6
  readonly status: v.OptionalSchema<v.PicklistSchema<readonly ["DRAFT", "SEND_REQUESTED", "SEND_IN_PROGRESS", "SEND_CONFIRMED", "SEND_FAILED"], undefined>, undefined>;
7
- }, undefined>, v.UnionSchema<[v.ObjectSchema<{
7
+ }, undefined>, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
8
8
  readonly data: v.ObjectSchema<{
9
9
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
10
10
  }, undefined>;
@@ -58,5 +58,10 @@ export declare const getDrafts: import("../../../../../types").EndpointConfig<"/
58
58
  readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
59
59
  }, undefined>;
60
60
  readonly status: v.LiteralSchema<200, undefined>;
61
+ }, undefined>], undefined>, v.ObjectSchema<{
62
+ readonly data: v.ObjectSchema<{
63
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
64
+ }, undefined>;
65
+ readonly status: v.LiteralSchema<403, undefined>;
61
66
  }, undefined>], undefined>>;
62
67
  //# sourceMappingURL=getDrafts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/draft/getDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBpB,CAAA"}
1
+ {"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/draft/getDrafts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAY5B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkBpB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as v from 'valibot';
2
- export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/notes", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.ObjectSchema<{
2
+ export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/pv/models/task/:taskId/notes", v.GenericSchema | undefined, v.GenericSchema | undefined, v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
3
3
  readonly data: v.ObjectSchema<{
4
4
  readonly code: v.LiteralSchema<"AUTHENTICATION_FAILED", undefined>;
5
5
  }, undefined>;
@@ -24,5 +24,10 @@ export declare const getTaskNotes: import("../../../../..").EndpointConfig<"/v1/
24
24
  readonly userId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>, v.BrandAction<string, "UserId">]>, undefined>;
25
25
  }, undefined>, undefined>;
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=getTaskNotes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getTaskNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTaskNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;2BAYvB,CAAA"}
1
+ {"version":3,"file":"getTaskNotes.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTaskNotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAYvB,CAAA"}
@@ -3,7 +3,7 @@ export declare const getTasks: import("../../../../..").EndpointConfig<"/v1/pv/m
3
3
  readonly completed: v.SchemaWithPipe<readonly [v.PicklistSchema<["true", "false"], undefined>, v.TransformAction<"true" | "false", boolean>, v.BooleanSchema<undefined>]>;
4
4
  readonly cursor: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5
5
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.TransformAction<string, number>, v.NumberSchema<undefined>, v.FiniteAction<number, undefined>]>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
6
- }, undefined>, v.UnionSchema<[v.ObjectSchema<{
6
+ }, 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>;
@@ -48,5 +48,10 @@ export declare const getTasks: import("../../../../..").EndpointConfig<"/v1/pv/m
48
48
  readonly nextCursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
49
49
  }, undefined>;
50
50
  readonly status: v.LiteralSchema<200, undefined>;
51
+ }, undefined>], undefined>, v.ObjectSchema<{
52
+ readonly data: v.ObjectSchema<{
53
+ readonly code: v.LiteralSchema<"REGION_NOT_SUPPORTED", undefined>;
54
+ }, undefined>;
55
+ readonly status: v.LiteralSchema<403, undefined>;
51
56
  }, undefined>], undefined>>;
52
57
  //# sourceMappingURL=getTasks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getTasks.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBnB,CAAA"}
1
+ {"version":3,"file":"getTasks.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/models/task/getTasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAW5B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBnB,CAAA"}