@marcoappio/marco-config 2.0.405 → 2.0.407

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 (50) hide show
  1. package/dist/clients/account.d.ts +52 -52
  2. package/dist/clients/contact.d.ts +3 -3
  3. package/dist/clients/draft.d.ts +88 -88
  4. package/dist/clients/index.d.ts +216 -204
  5. package/dist/clients/index.d.ts.map +1 -1
  6. package/dist/clients/thread.d.ts +56 -44
  7. package/dist/clients/thread.d.ts.map +1 -1
  8. package/dist/clients/thread.js +13 -0
  9. package/dist/clients/user.d.ts +17 -17
  10. package/dist/schemas/auth.d.ts +2 -2
  11. package/dist/schemas/emailAccount.d.ts +10 -10
  12. package/dist/schemas/index.d.ts +22 -22
  13. package/dist/schemas/number.d.ts +2 -2
  14. package/dist/schemas/pushNotifications.d.ts +2 -2
  15. package/dist/schemas/string.d.ts +6 -6
  16. package/dist/sdk/endpoints/index.d.ts +284 -268
  17. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  18. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageAttachment.d.ts +1 -1
  19. package/dist/sdk/endpoints/private/emailMessage/getEmailMessageHTML.d.ts +2 -2
  20. package/dist/sdk/endpoints/private/emailMessage/index.d.ts +3 -3
  21. package/dist/sdk/endpoints/private/index.d.ts +260 -244
  22. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  23. package/dist/sdk/endpoints/private/sync/index.d.ts +256 -240
  24. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  25. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +17 -17
  26. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +11 -11
  27. package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +23 -23
  28. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +96 -96
  29. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +34 -34
  30. package/dist/sdk/endpoints/private/sync/pull/user.d.ts +11 -11
  31. package/dist/sdk/endpoints/private/sync/push/account.d.ts +40 -40
  32. package/dist/sdk/endpoints/private/sync/push/draft.d.ts +70 -70
  33. package/dist/sdk/endpoints/private/sync/push/index.d.ts +160 -144
  34. package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
  35. package/dist/sdk/endpoints/private/sync/push/thread.d.ts +39 -23
  36. package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +1 -1
  37. package/dist/sdk/endpoints/private/sync/push/thread.js +12 -0
  38. package/dist/sdk/endpoints/private/sync/push/user.d.ts +11 -11
  39. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +1 -1
  40. package/dist/sdk/endpoints/private/user/index.d.ts +1 -1
  41. package/dist/sdk/endpoints/public/auth/index.d.ts +21 -21
  42. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +9 -9
  43. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +2 -2
  44. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +10 -10
  45. package/dist/sdk/endpoints/public/config/index.d.ts +2 -2
  46. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
  47. package/dist/sdk/endpoints/public/index.d.ts +24 -24
  48. package/dist/sdk/index.d.ts +284 -268
  49. package/dist/sdk/index.d.ts.map +1 -1
  50. package/package.json +46 -46
@@ -1,8 +1,8 @@
1
1
  export declare const publicGroup: {
2
2
  auth: {
3
3
  refreshAuth: import("../../..").EndpointConfig<"/v1/pb/auth/refresh", import("valibot").ObjectSchema<{
4
- readonly refreshToken: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
5
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
4
+ 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>;
5
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
6
6
  readonly data: import("valibot").ObjectSchema<{
7
7
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
8
8
  readonly issues: import("valibot").ObjectSchema<{
@@ -27,21 +27,21 @@ export declare const publicGroup: {
27
27
  readonly accessToken: import("valibot").StringSchema<undefined>;
28
28
  readonly refreshToken: import("valibot").StringSchema<undefined>;
29
29
  readonly user: import("valibot").ObjectSchema<{
30
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
30
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
31
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
32
32
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
33
- readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
34
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
35
- readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
36
- readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
37
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
33
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
34
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
35
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
36
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
37
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
38
38
  }, undefined>;
39
39
  }, undefined>;
40
40
  readonly status: import("valibot").LiteralSchema<200, undefined>;
41
41
  }, undefined>], undefined>>;
42
42
  sendAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/send-code", import("valibot").ObjectSchema<{
43
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
44
- }, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
43
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
44
+ }, undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
45
45
  readonly data: import("valibot").ObjectSchema<{
46
46
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
47
47
  readonly issues: import("valibot").ObjectSchema<{
@@ -67,12 +67,12 @@ export declare const publicGroup: {
67
67
  verifyAuthCode: import("../../..").EndpointConfig<"/v1/pb/auth/verify-code", import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
68
68
  readonly authType: import("valibot").LiteralSchema<"CODE", undefined>;
69
69
  readonly code: import("valibot").StringSchema<undefined>;
70
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
70
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
71
71
  }, undefined>, import("valibot").ObjectSchema<{
72
72
  readonly authType: import("valibot").LiteralSchema<"PASSWORD", undefined>;
73
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
73
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
74
74
  readonly password: import("valibot").StringSchema<undefined>;
75
- }, undefined>], undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
75
+ }, undefined>], undefined>, import("valibot").GenericSchema | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
76
76
  readonly data: import("valibot").ObjectSchema<{
77
77
  readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
78
78
  readonly issues: import("valibot").ObjectSchema<{
@@ -122,28 +122,28 @@ export declare const publicGroup: {
122
122
  readonly accessToken: import("valibot").StringSchema<undefined>;
123
123
  readonly refreshToken: import("valibot").StringSchema<undefined>;
124
124
  readonly user: import("valibot").ObjectSchema<{
125
- readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
126
- readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
125
+ readonly createdAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
126
+ readonly email: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
127
127
  readonly emailVerified: import("valibot").BooleanSchema<undefined>;
128
- readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
129
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
130
- readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
131
- readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
132
- readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
128
+ readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
129
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
130
+ readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
131
+ readonly profilePictureUrl: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
132
+ readonly updatedAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
133
133
  }, undefined>;
134
134
  }, undefined>;
135
135
  readonly status: import("valibot").LiteralSchema<200, undefined>;
136
136
  }, undefined>], undefined>>;
137
137
  };
138
- config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
138
+ config: import("../../..").EndpointConfig<"/v1/pb/config", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
139
139
  readonly data: import("valibot").ObjectSchema<{
140
140
  readonly app: import("valibot").ObjectSchema<{
141
- readonly minimumVersion: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
141
+ 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>;
142
142
  }, undefined>;
143
143
  }, undefined>;
144
144
  readonly status: import("valibot").LiteralSchema<200, undefined>;
145
145
  }, undefined>>;
146
- healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").ObjectSchema<{
146
+ healthcheck: import("../../..").EndpointConfig<"/v1/pb/healthcheck", import("valibot").GenericSchema | undefined, import("valibot").GenericSchema | undefined, import("valibot").ObjectSchema<{
147
147
  readonly data: import("valibot").ObjectSchema<{
148
148
  readonly status: import("valibot").LiteralSchema<"ok", undefined>;
149
149
  }, undefined>;