@marcoappio/marco-config 2.0.244 → 2.0.246

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 (62) hide show
  1. package/dist/clients/account.d.ts +5 -5
  2. package/dist/clients/account.js +5 -5
  3. package/dist/clients/contact.d.ts +1 -1
  4. package/dist/clients/contact.js +1 -1
  5. package/dist/clients/draft.d.ts +15 -15
  6. package/dist/clients/draft.js +11 -11
  7. package/dist/clients/index.d.ts +31 -31
  8. package/dist/clients/thread.d.ts +10 -10
  9. package/dist/clients/thread.js +10 -10
  10. package/dist/schemas.d.ts +0 -1
  11. package/dist/schemas.d.ts.map +1 -1
  12. package/dist/schemas.js +0 -1
  13. package/dist/sdk/endpoints/index.d.ts +41 -56
  14. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  15. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +0 -5
  16. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts.map +1 -1
  17. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.js +1 -2
  18. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -5
  19. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +1 -1
  20. package/dist/sdk/endpoints/private/index.d.ts +31 -56
  21. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  22. package/dist/sdk/endpoints/private/sync/index.d.ts +31 -51
  23. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  24. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
  26. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +3 -3
  27. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +7 -7
  28. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +2 -2
  29. package/dist/sdk/endpoints/private/sync/push/account.d.ts +4 -9
  30. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/push/account.js +0 -1
  32. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +12 -17
  33. package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
  34. package/dist/sdk/endpoints/private/sync/push/draft.js +0 -1
  35. package/dist/sdk/endpoints/private/sync/push/index.d.ts +24 -44
  36. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  37. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +8 -13
  38. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
  39. package/dist/sdk/endpoints/private/sync/push/thread.js +0 -1
  40. package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -5
  41. package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +1 -1
  42. package/dist/sdk/endpoints/private/sync/push/user.js +0 -1
  43. package/dist/sdk/endpoints/public/auth/index.d.ts +10 -0
  44. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  45. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +5 -0
  46. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  47. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +1 -0
  48. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +5 -0
  49. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  50. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -0
  51. package/dist/sdk/endpoints/public/index.d.ts +10 -0
  52. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  53. package/dist/sdk/index.d.ts +44 -71
  54. package/dist/sdk/index.d.ts.map +1 -1
  55. package/dist/sdk/validation/errors.d.ts +9 -33
  56. package/dist/sdk/validation/errors.d.ts.map +1 -1
  57. package/dist/sdk/validation/errors.js +5 -15
  58. package/dist/sdk/validation/index.d.ts +3 -15
  59. package/dist/sdk/validation/index.d.ts.map +1 -1
  60. package/dist/types/SDKError.d.ts +1 -1
  61. package/dist/types/SDKError.d.ts.map +1 -1
  62. package/package.json +1 -1
@@ -1,11 +1,5 @@
1
1
  export declare const validation: {
2
2
  errors: {
3
- readonly attachmentNotFoundErrorSchema: import("valibot").ObjectSchema<{
4
- readonly data: import("valibot").ObjectSchema<{
5
- readonly code: import("valibot").LiteralSchema<"ATTACHMENT_NOT_FOUND", undefined>;
6
- }, undefined>;
7
- readonly status: import("valibot").LiteralSchema<404, undefined>;
8
- }, undefined>;
9
3
  readonly authCodeExpiredErrorSchema: import("valibot").ObjectSchema<{
10
4
  readonly data: import("valibot").ObjectSchema<{
11
5
  readonly code: import("valibot").LiteralSchema<"AUTH_CODE_EXPIRED", undefined>;
@@ -48,19 +42,13 @@ export declare const validation: {
48
42
  }, undefined>;
49
43
  readonly status: import("valibot").LiteralSchema<401, undefined>;
50
44
  }, undefined>;
51
- readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
45
+ readonly inviteNotFoundErrorSchema: import("valibot").ObjectSchema<{
52
46
  readonly data: import("valibot").ObjectSchema<{
53
- readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
47
+ readonly code: import("valibot").LiteralSchema<"INVITE_NOT_FOUND", undefined>;
54
48
  }, undefined>;
55
49
  readonly status: import("valibot").LiteralSchema<404, undefined>;
56
50
  }, undefined>;
57
- readonly mutationDriftErrorSchema: import("valibot").ObjectSchema<{
58
- readonly data: import("valibot").ObjectSchema<{
59
- readonly code: import("valibot").LiteralSchema<"MUTATION_REJECTED", undefined>;
60
- }, undefined>;
61
- readonly status: import("valibot").LiteralSchema<409, undefined>;
62
- }, undefined>;
63
- readonly threadNotFoundErrorSchema: import("valibot").ObjectSchema<{
51
+ readonly messageNotFoundErrorSchema: import("valibot").ObjectSchema<{
64
52
  readonly data: import("valibot").ObjectSchema<{
65
53
  readonly code: import("valibot").LiteralSchema<"MESSAGE_NOT_FOUND", undefined>;
66
54
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/validation/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import * as v from 'valibot';
2
2
  import { errors } from '../sdk/validation/errors';
3
- export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.attachmentNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.mutationDriftErrorSchema>;
3
+ export type SDKError = v.InferOutput<typeof errors.authCodeExpiredErrorSchema> | v.InferOutput<typeof errors.authCodePreviouslyUsedErrorSchema> | v.InferOutput<typeof errors.authRefreshTokenInvalid> | v.InferOutput<typeof errors.authServerResponseUnexpectedErrorSchema> | v.InferOutput<typeof errors.authTooManyAttemptsErrorSchema> | v.InferOutput<typeof errors.authCodeInvalidErrorSchema> | v.InferOutput<typeof errors.authFailedErrorSchema> | v.InferOutput<typeof errors.messageNotFoundErrorSchema> | v.InferOutput<typeof errors.userNotFoundErrorSchema> | v.InferOutput<typeof errors.validationFailedErrorSchema> | v.InferOutput<typeof errors.inviteNotFoundErrorSchema>;
4
4
  //# sourceMappingURL=SDKError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,6BAA6B,CAAC,GAC1D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,wBAAwB,CAAC,CAAA"}
1
+ {"version":3,"file":"SDKError.d.ts","sourceRoot":"","sources":["../../src/types/SDKError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAA;AAE5D,MAAM,MAAM,QAAQ,GAChB,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,iCAAiC,CAAC,GAC9D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uCAAuC,CAAC,GACpE,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,8BAA8B,CAAC,GAC3D,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,qBAAqB,CAAC,GAClD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,0BAA0B,CAAC,GACvD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,uBAAuB,CAAC,GACpD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,2BAA2B,CAAC,GACxD,CAAC,CAAC,WAAW,CAAC,OAAO,MAAM,CAAC,yBAAyB,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
3
  "packageManager": "bun@1.2.0",
4
- "version": "2.0.244",
4
+ "version": "2.0.246",
5
5
  "author": "team@marcoapp.io",
6
6
  "main": "dist/index.js",
7
7
  "repository": "git@github.com:marcoappio/marco-config.git",