@marcoappio/marco-config 2.0.117 → 2.0.119

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 (66) hide show
  1. package/dist/sdk/endpoints/index.d.ts +82 -38
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/index.js +0 -2
  4. package/dist/sdk/endpoints/private/index.d.ts +77 -23
  5. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  6. package/dist/sdk/endpoints/private/index.js +2 -4
  7. package/dist/sdk/endpoints/private/sync/index.d.ts +79 -0
  8. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -0
  9. package/dist/sdk/endpoints/private/sync/index.js +3 -0
  10. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +42 -0
  11. package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -0
  12. package/dist/sdk/endpoints/private/sync/pull/account.js +29 -0
  13. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +43 -0
  14. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -0
  15. package/dist/sdk/endpoints/private/sync/pull/index.js +2 -0
  16. package/dist/sdk/endpoints/private/sync/push/account.d.ts +34 -0
  17. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -0
  18. package/dist/sdk/endpoints/private/sync/push/account.js +31 -0
  19. package/dist/sdk/endpoints/private/sync/push/index.d.ts +35 -0
  20. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -0
  21. package/dist/sdk/endpoints/private/sync/push/index.js +2 -0
  22. package/dist/sdk/endpoints/public/auth/index.d.ts +5 -7
  23. package/dist/sdk/endpoints/public/auth/index.d.ts.map +1 -1
  24. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
  25. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
  26. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +3 -5
  27. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  28. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -8
  29. package/dist/sdk/endpoints/public/index.d.ts +5 -7
  30. package/dist/sdk/endpoints/public/index.d.ts.map +1 -1
  31. package/dist/sdk/index.d.ts +82 -38
  32. package/dist/sdk/index.d.ts.map +1 -1
  33. package/dist/sdk/validation/errors.d.ts +30 -0
  34. package/dist/sdk/validation/errors.d.ts.map +1 -0
  35. package/dist/sdk/validation/errors.js +19 -0
  36. package/package.json +1 -1
  37. package/dist/sdk/endpoints/private/emailMessage/getText.d.ts +0 -16
  38. package/dist/sdk/endpoints/private/emailMessage/getText.d.ts.map +0 -1
  39. package/dist/sdk/endpoints/private/emailMessage/getText.js +0 -23
  40. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +0 -17
  41. package/dist/sdk/endpoints/private/emailMessage/index.d.ts.map +0 -1
  42. package/dist/sdk/endpoints/private/emailMessage/index.js +0 -4
  43. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +0 -8
  44. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +0 -1
  45. package/dist/sdk/endpoints/private/user/deleteUser.js +0 -14
  46. package/dist/sdk/endpoints/private/user/index.d.ts +0 -9
  47. package/dist/sdk/endpoints/private/user/index.d.ts.map +0 -1
  48. package/dist/sdk/endpoints/private/user/index.js +0 -4
  49. package/dist/sdk/endpoints/webhook/emailEngine.d.ts +0 -8
  50. package/dist/sdk/endpoints/webhook/emailEngine.d.ts.map +0 -1
  51. package/dist/sdk/endpoints/webhook/emailEngine.js +0 -12
  52. package/dist/sdk/endpoints/webhook/index.d.ts +0 -9
  53. package/dist/sdk/endpoints/webhook/index.d.ts.map +0 -1
  54. package/dist/sdk/endpoints/webhook/index.js +0 -4
  55. package/dist/sdk/validation/errors/index.d.ts +0 -15
  56. package/dist/sdk/validation/errors/index.d.ts.map +0 -1
  57. package/dist/sdk/validation/errors/index.js +0 -8
  58. package/dist/sdk/validation/errors/unauthenticated.d.ts +0 -6
  59. package/dist/sdk/validation/errors/unauthenticated.d.ts.map +0 -1
  60. package/dist/sdk/validation/errors/unauthenticated.js +0 -5
  61. package/dist/sdk/validation/errors/unexpected.d.ts +0 -6
  62. package/dist/sdk/validation/errors/unexpected.d.ts.map +0 -1
  63. package/dist/sdk/validation/errors/unexpected.js +0 -5
  64. package/dist/sdk/validation/errors/validationFailed.d.ts +0 -6
  65. package/dist/sdk/validation/errors/validationFailed.d.ts.map +0 -1
  66. package/dist/sdk/validation/errors/validationFailed.js +0 -5
@@ -1 +0,0 @@
1
- {"version":3,"file":"emailEngine.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/webhook/emailEngine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,WAAW;;;;;2BAOtB,CAAA"}
@@ -1,12 +0,0 @@
1
- import * as v from 'valibot';
2
- import { createEndpoint } from '../../../sdk/endpoints/createEndpointConfig';
3
- import { errorManifest } from '../../../sdk/validation/errors';
4
- import { HTTPMethod } from '../../../types';
5
- export const emailEngine = createEndpoint({
6
- method: HTTPMethod.POST,
7
- path: '/v1/wh/email-engine',
8
- response: v.union([
9
- errorManifest.unauthenticatedErrorSchema,
10
- v.object({ status: v.literal(200) }),
11
- ]),
12
- });
@@ -1,9 +0,0 @@
1
- export declare const webhook: {
2
- emailEngine: import("../../..").EndpointConfig<"/v1/wh/email-engine", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
3
- readonly code: import("valibot").LiteralSchema<"::UNAUTHENTICATED", undefined>;
4
- readonly status: import("valibot").LiteralSchema<401, undefined>;
5
- }, undefined>, import("valibot").ObjectSchema<{
6
- readonly status: import("valibot").LiteralSchema<200, undefined>;
7
- }, undefined>], undefined>>;
8
- };
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/webhook/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;CAEnB,CAAA"}
@@ -1,4 +0,0 @@
1
- import { emailEngine } from './emailEngine';
2
- export const webhook = {
3
- emailEngine,
4
- };
@@ -1,15 +0,0 @@
1
- export declare const errorManifest: {
2
- unauthenticatedErrorSchema: import("valibot").ObjectSchema<{
3
- readonly code: import("valibot").LiteralSchema<"::UNAUTHENTICATED", undefined>;
4
- readonly status: import("valibot").LiteralSchema<401, undefined>;
5
- }, undefined>;
6
- unexpectedErrorSchema: import("valibot").ObjectSchema<{
7
- readonly code: import("valibot").LiteralSchema<"::UNEXPECTED", undefined>;
8
- readonly status: import("valibot").LiteralSchema<500, undefined>;
9
- }, undefined>;
10
- validationFailedErrorSchema: import("valibot").ObjectSchema<{
11
- readonly code: import("valibot").LiteralSchema<"::VALIDATION_FAILED", undefined>;
12
- readonly status: import("valibot").LiteralSchema<400, undefined>;
13
- }, undefined>;
14
- };
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAID,CAAA"}
@@ -1,8 +0,0 @@
1
- import { unauthenticatedErrorSchema } from './unauthenticated';
2
- import { unexpectedErrorSchema } from './unexpected';
3
- import { validationFailedErrorSchema } from './validationFailed';
4
- export const errorManifest = {
5
- unauthenticatedErrorSchema,
6
- unexpectedErrorSchema,
7
- validationFailedErrorSchema,
8
- };
@@ -1,6 +0,0 @@
1
- import * as v from 'valibot';
2
- export declare const unauthenticatedErrorSchema: v.ObjectSchema<{
3
- readonly code: v.LiteralSchema<"::UNAUTHENTICATED", undefined>;
4
- readonly status: v.LiteralSchema<401, undefined>;
5
- }, undefined>;
6
- //# sourceMappingURL=unauthenticated.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unauthenticated.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/unauthenticated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,0BAA0B;;;aAGrC,CAAA"}
@@ -1,5 +0,0 @@
1
- import * as v from 'valibot';
2
- export const unauthenticatedErrorSchema = v.object({
3
- code: v.literal('::UNAUTHENTICATED'),
4
- status: v.literal(401),
5
- });
@@ -1,6 +0,0 @@
1
- import * as v from 'valibot';
2
- export declare const unexpectedErrorSchema: v.ObjectSchema<{
3
- readonly code: v.LiteralSchema<"::UNEXPECTED", undefined>;
4
- readonly status: v.LiteralSchema<500, undefined>;
5
- }, undefined>;
6
- //# sourceMappingURL=unexpected.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unexpected.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/unexpected.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA"}
@@ -1,5 +0,0 @@
1
- import * as v from 'valibot';
2
- export const unexpectedErrorSchema = v.object({
3
- code: v.literal('::UNEXPECTED'),
4
- status: v.literal(500),
5
- });
@@ -1,6 +0,0 @@
1
- import * as v from 'valibot';
2
- export declare const validationFailedErrorSchema: v.ObjectSchema<{
3
- readonly code: v.LiteralSchema<"::VALIDATION_FAILED", undefined>;
4
- readonly status: v.LiteralSchema<400, undefined>;
5
- }, undefined>;
6
- //# sourceMappingURL=validationFailed.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validationFailed.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validation/errors/validationFailed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,2BAA2B;;;aAGtC,CAAA"}
@@ -1,5 +0,0 @@
1
- import * as v from 'valibot';
2
- export const validationFailedErrorSchema = v.object({
3
- code: v.literal('::VALIDATION_FAILED'),
4
- status: v.literal(400),
5
- });