@marcoappio/marco-config 2.0.125 → 2.0.127

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 (79) hide show
  1. package/dist/clients/account.d.ts +3 -4
  2. package/dist/clients/account.d.ts.map +1 -1
  3. package/dist/clients/account.js +3 -4
  4. package/dist/clients/index.d.ts +20 -5
  5. package/dist/clients/index.d.ts.map +1 -1
  6. package/dist/clients/thread.d.ts +17 -3
  7. package/dist/clients/thread.d.ts.map +1 -1
  8. package/dist/clients/thread.js +5 -3
  9. package/dist/clients/utils/index.d.ts +1 -1
  10. package/dist/clients/utils/labelSpecialUseOrdering.d.ts +4 -1
  11. package/dist/clients/utils/labelSpecialUseOrdering.d.ts.map +1 -1
  12. package/dist/clients/utils/labelSpecialUseOrdering.js +5 -6
  13. package/dist/index.d.ts +1 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +0 -1
  16. package/dist/schemas.d.ts +2 -0
  17. package/dist/schemas.d.ts.map +1 -1
  18. package/dist/schemas.js +13 -1
  19. package/dist/sdk/endpoints/index.d.ts +28 -5
  20. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  21. package/dist/sdk/endpoints/private/index.d.ts +28 -5
  22. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  23. package/dist/sdk/endpoints/private/index.js +2 -0
  24. package/dist/sdk/endpoints/private/sync/index.d.ts +20 -5
  25. package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
  26. package/dist/sdk/endpoints/private/sync/pull/account.d.ts +3 -3
  27. package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +1 -1
  28. package/dist/sdk/endpoints/private/sync/pull/account.js +1 -2
  29. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +1 -1
  30. package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
  31. package/dist/sdk/endpoints/private/sync/pull/contact.js +1 -2
  32. package/dist/sdk/endpoints/private/sync/pull/index.d.ts +19 -4
  33. package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
  34. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +18 -3
  35. package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
  36. package/dist/sdk/endpoints/private/sync/pull/thread.js +1 -2
  37. package/dist/sdk/endpoints/private/sync/push/account.d.ts +2 -2
  38. package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +1 -1
  39. package/dist/sdk/endpoints/private/sync/push/account.js +1 -2
  40. package/dist/sdk/endpoints/private/sync/push/index.d.ts +1 -1
  41. package/dist/sdk/endpoints/private/user/deleteUser.d.ts +8 -0
  42. package/dist/sdk/endpoints/private/user/deleteUser.d.ts.map +1 -0
  43. package/dist/sdk/endpoints/private/user/deleteUser.js +13 -0
  44. package/dist/sdk/endpoints/private/user/index.d.ts +9 -0
  45. package/dist/sdk/endpoints/private/user/index.d.ts.map +1 -0
  46. package/dist/sdk/endpoints/private/user/index.js +4 -0
  47. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts +1 -1
  48. package/dist/sdk/endpoints/public/auth/refreshAuth.d.ts.map +1 -1
  49. package/dist/sdk/endpoints/public/auth/refreshAuth.js +1 -2
  50. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts +1 -1
  51. package/dist/sdk/endpoints/public/auth/sendAuthCode.d.ts.map +1 -1
  52. package/dist/sdk/endpoints/public/auth/sendAuthCode.js +1 -2
  53. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts +1 -1
  54. package/dist/sdk/endpoints/public/auth/verifyAuthCode.d.ts.map +1 -1
  55. package/dist/sdk/endpoints/public/auth/verifyAuthCode.js +1 -2
  56. package/dist/sdk/endpoints/public/healthcheck/index.d.ts +1 -1
  57. package/dist/sdk/endpoints/public/healthcheck/index.d.ts.map +1 -1
  58. package/dist/sdk/endpoints/public/healthcheck/index.js +1 -2
  59. package/dist/sdk/index.d.ts +28 -5
  60. package/dist/sdk/index.d.ts.map +1 -1
  61. package/dist/types/Endpoint.d.ts +1 -7
  62. package/dist/types/Endpoint.d.ts.map +1 -1
  63. package/dist/types/Endpoint.js +1 -8
  64. package/dist/types/WS.d.ts +1 -4
  65. package/dist/types/WS.d.ts.map +1 -1
  66. package/dist/types/WS.js +1 -4
  67. package/dist/types/index.d.ts +0 -3
  68. package/dist/types/index.d.ts.map +1 -1
  69. package/dist/types/index.js +0 -3
  70. package/package.json +1 -1
  71. package/dist/types/ContactAssociationType.d.ts +0 -8
  72. package/dist/types/ContactAssociationType.d.ts.map +0 -1
  73. package/dist/types/ContactAssociationType.js +0 -8
  74. package/dist/types/IMAPPasswordConfigStatus.d.ts +0 -6
  75. package/dist/types/IMAPPasswordConfigStatus.d.ts.map +0 -1
  76. package/dist/types/IMAPPasswordConfigStatus.js +0 -6
  77. package/dist/types/LabelSpecialUse.d.ts +0 -8
  78. package/dist/types/LabelSpecialUse.d.ts.map +0 -1
  79. package/dist/types/LabelSpecialUse.js +0 -8
@@ -31,13 +31,13 @@ export declare const marcoSDK: {
31
31
  readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
32
32
  readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
33
33
  readonly port: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
34
- readonly status: import("valibot").EnumSchema<typeof import("..").IMAPPasswordConfigStatus, undefined>;
34
+ readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>, import("valibot").LiteralSchema<"CONNECTED", undefined>, import("valibot").LiteralSchema<"CONNECTION_FAILED", undefined>], undefined>;
35
35
  }, undefined>, undefined>;
36
36
  readonly labels: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
37
37
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
38
38
  readonly name: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
39
39
  readonly path: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
40
- readonly specialUse: import("valibot").NullableSchema<import("valibot").EnumSchema<typeof import("..").LabelSpecialUse, undefined>, undefined>;
40
+ readonly specialUse: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ARCHIVE", undefined>, import("valibot").LiteralSchema<"INBOX", undefined>, import("valibot").LiteralSchema<"SENT", undefined>, import("valibot").LiteralSchema<"SPAM", undefined>, import("valibot").LiteralSchema<"TRASH", undefined>], undefined>, undefined>;
41
41
  }, undefined>, undefined>;
42
42
  }, undefined>;
43
43
  }, undefined>], undefined>, undefined>;
@@ -106,18 +106,33 @@ export declare const marcoSDK: {
106
106
  readonly emailAccountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
107
107
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
108
108
  readonly messages: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
109
- readonly contacts: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
110
- readonly associationType: import("valibot").EnumSchema<typeof import("..").ContactAssociationType, undefined>;
109
+ readonly bcc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
110
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
111
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
112
+ }, undefined>, undefined>;
113
+ readonly cc: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
111
114
  readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
112
115
  readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
113
116
  }, undefined>, undefined>;
114
117
  readonly envelopeDate: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
115
118
  readonly envelopeSubject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
116
119
  readonly flagged: import("valibot").BooleanSchema<undefined>;
120
+ readonly from: import("valibot").ObjectSchema<{
121
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
122
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
123
+ }, undefined>;
117
124
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
118
125
  readonly labelIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
119
126
  readonly previewText: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
127
+ readonly replyTo: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
128
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
129
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
130
+ }, undefined>, undefined>;
120
131
  readonly seen: import("valibot").BooleanSchema<undefined>;
132
+ readonly to: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
133
+ readonly emailAddresses: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
134
+ readonly name: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
135
+ }, undefined>, undefined>;
121
136
  }, undefined>, undefined>;
122
137
  }, undefined>;
123
138
  }, undefined>], undefined>, undefined>;
@@ -132,7 +147,7 @@ export declare const marcoSDK: {
132
147
  readonly args: import("valibot").ObjectSchema<{
133
148
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
134
149
  readonly imapPasswordConfig: import("valibot").ObjectSchema<{
135
- readonly status: import("valibot").LiteralSchema<import("..").IMAPPasswordConfigStatus.AWAITING_CONNECTION, undefined>;
150
+ readonly status: import("valibot").LiteralSchema<"AWAITING_CONNECTION", undefined>;
136
151
  readonly host: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
137
152
  readonly password: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
138
153
  readonly port: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, number, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>, undefined>;
@@ -160,6 +175,14 @@ export declare const marcoSDK: {
160
175
  }, undefined>], undefined>>;
161
176
  };
162
177
  };
178
+ user: {
179
+ deleteUser: import("..").EndpointConfig<"/v1/pv/user", 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<{
180
+ readonly code: import("valibot").LiteralSchema<"NOT_AUTHENTICATED", undefined>;
181
+ readonly status: import("valibot").LiteralSchema<401, undefined>;
182
+ }, undefined>, import("valibot").ObjectSchema<{
183
+ readonly status: import("valibot").LiteralSchema<204, undefined>;
184
+ }, undefined>], undefined>>;
185
+ };
163
186
  };
164
187
  public: {
165
188
  auth: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
@@ -6,13 +6,7 @@ type URLParams<Segments extends readonly string[]> = {
6
6
  export type HTTPErrorStatusCode = 400 | 401 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
7
7
  export type HTTPSuccessStatusCode = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308;
8
8
  export type URLPattern<T extends string> = URLParams<Split<T>>;
9
- export declare enum HTTPMethod {
10
- DELETE = "delete",
11
- GET = "get",
12
- PATCH = "patch",
13
- POST = "post",
14
- PUT = "put"
15
- }
9
+ export type HTTPMethod = 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT';
16
10
  export type EndpointError = {
17
11
  code: string;
18
12
  details?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"Endpoint.d.ts","sourceRoot":"","sources":["../../src/types/Endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAC5D,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,GAChB,CAAC,CAAC,CAAC,CAAA;AAEP,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,IAAI;KAClD,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,IAAI,MAAM,KAAK,EAAE,GACrD,KAAK,GACL,KAAK,GAAG,MAAM;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAC3B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,qBAAqB,GAC7B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AAE9D,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,MAAM,EAAE,qBAAqB,CAAA;CAC9B,GAAG,aAAa,CAAA;AAEjB,MAAM,MAAM,cAAc,CACxB,KAAK,SAAS,MAAM,EACpB,YAAY,SAAS,aAAa,GAAG,SAAS,EAC9C,aAAa,SAAS,aAAa,GAAG,SAAS,EAC/C,SAAS,SAAS,aAAa,CAAC,gBAAgB,CAAC,IAC/C;IACF,IAAI,EAAE,YAAY,CAAA;IAClB,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,MAAM,CAAA;IAChD,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA"}
1
+ {"version":3,"file":"Endpoint.d.ts","sourceRoot":"","sources":["../../src/types/Endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAC5D,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,GAChB,CAAC,CAAC,CAAC,CAAA;AAEP,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,IAAI;KAClD,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,IAAI,MAAM,KAAK,EAAE,GACrD,KAAK,GACL,KAAK,GAAG,MAAM;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAC3B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,qBAAqB,GAC7B,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAA;AAEP,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AAE9D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAA;AAEpE,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,MAAM,EAAE,qBAAqB,CAAA;CAC9B,GAAG,aAAa,CAAA;AAEjB,MAAM,MAAM,cAAc,CACxB,KAAK,SAAS,MAAM,EACpB,YAAY,SAAS,aAAa,GAAG,SAAS,EAC9C,aAAa,SAAS,aAAa,GAAG,SAAS,EAC/C,SAAS,SAAS,aAAa,CAAC,gBAAgB,CAAC,IAC/C;IACF,IAAI,EAAE,YAAY,CAAA;IAClB,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,KAAK,MAAM,CAAA;IAChD,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA"}
@@ -1,8 +1 @@
1
- export var HTTPMethod;
2
- (function (HTTPMethod) {
3
- HTTPMethod["DELETE"] = "delete";
4
- HTTPMethod["GET"] = "get";
5
- HTTPMethod["PATCH"] = "patch";
6
- HTTPMethod["POST"] = "post";
7
- HTTPMethod["PUT"] = "put";
8
- })(HTTPMethod || (HTTPMethod = {}));
1
+ export {};
@@ -1,10 +1,7 @@
1
1
  import { marcoClients } from '../clients';
2
- export declare enum MarcoWSEventType {
3
- SYNC_POKE = "SYNC_POKE"
4
- }
5
2
  export type MarcoWSSyncPoke = {
6
3
  data: keyof typeof marcoClients;
7
- event: MarcoWSEventType.SYNC_POKE;
4
+ event: 'SYNC_POKE';
8
5
  };
9
6
  export type MarcoWSEvent = MarcoWSSyncPoke;
10
7
  //# sourceMappingURL=WS.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WS.d.ts","sourceRoot":"","sources":["../../src/types/WS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,oBAAY,gBAAgB;IAC1B,SAAS,cAAc;CACxB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,OAAO,YAAY,CAAA;IAC/B,KAAK,EAAE,gBAAgB,CAAC,SAAS,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAA"}
1
+ {"version":3,"file":"WS.d.ts","sourceRoot":"","sources":["../../src/types/WS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,OAAO,YAAY,CAAA;IAC/B,KAAK,EAAE,WAAW,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,CAAA"}
package/dist/types/WS.js CHANGED
@@ -1,4 +1 @@
1
- export var MarcoWSEventType;
2
- (function (MarcoWSEventType) {
3
- MarcoWSEventType["SYNC_POKE"] = "SYNC_POKE";
4
- })(MarcoWSEventType || (MarcoWSEventType = {}));
1
+ export {};
@@ -1,7 +1,4 @@
1
- export * from './ContactAssociationType';
2
1
  export * from './Endpoint';
3
- export * from './IMAPPasswordConfigStatus';
4
- export * from './LabelSpecialUse';
5
2
  export * from './MarcoClient';
6
3
  export * from './WS';
7
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,YAAY,CAAA;AAC1B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,MAAM,CAAA"}
@@ -1,6 +1,3 @@
1
- export * from './ContactAssociationType';
2
1
  export * from './Endpoint';
3
- export * from './IMAPPasswordConfigStatus';
4
- export * from './LabelSpecialUse';
5
2
  export * from './MarcoClient';
6
3
  export * from './WS';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.125",
3
+ "version": "2.0.127",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -1,8 +0,0 @@
1
- export declare enum ContactAssociationType {
2
- BCC = "BCC",
3
- CC = "CC",
4
- FROM = "FROM",
5
- REPLY_TO = "REPLY_TO",
6
- TO = "TO"
7
- }
8
- //# sourceMappingURL=ContactAssociationType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContactAssociationType.d.ts","sourceRoot":"","sources":["../../src/types/ContactAssociationType.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,GAAG,QAAQ;IACX,EAAE,OAAO;IACT,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,EAAE,OAAO;CACV"}
@@ -1,8 +0,0 @@
1
- export var ContactAssociationType;
2
- (function (ContactAssociationType) {
3
- ContactAssociationType["BCC"] = "BCC";
4
- ContactAssociationType["CC"] = "CC";
5
- ContactAssociationType["FROM"] = "FROM";
6
- ContactAssociationType["REPLY_TO"] = "REPLY_TO";
7
- ContactAssociationType["TO"] = "TO";
8
- })(ContactAssociationType || (ContactAssociationType = {}));
@@ -1,6 +0,0 @@
1
- export declare enum IMAPPasswordConfigStatus {
2
- AWAITING_CONNECTION = "AWAITING_CONNECTION",
3
- CONNECTED = "CONNECTED",
4
- CONNECTION_FAILED = "CONNECTION_FAILED"
5
- }
6
- //# sourceMappingURL=IMAPPasswordConfigStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IMAPPasswordConfigStatus.d.ts","sourceRoot":"","sources":["../../src/types/IMAPPasswordConfigStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,mBAAmB,wBAAwB;IAC3C,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;CACxC"}
@@ -1,6 +0,0 @@
1
- export var IMAPPasswordConfigStatus;
2
- (function (IMAPPasswordConfigStatus) {
3
- IMAPPasswordConfigStatus["AWAITING_CONNECTION"] = "AWAITING_CONNECTION";
4
- IMAPPasswordConfigStatus["CONNECTED"] = "CONNECTED";
5
- IMAPPasswordConfigStatus["CONNECTION_FAILED"] = "CONNECTION_FAILED";
6
- })(IMAPPasswordConfigStatus || (IMAPPasswordConfigStatus = {}));
@@ -1,8 +0,0 @@
1
- export declare enum LabelSpecialUse {
2
- ARCHIVE = "ARCHIVE",
3
- INBOX = "INBOX",
4
- SENT = "SENT",
5
- SPAM = "SPAM",
6
- TRASH = "TRASH"
7
- }
8
- //# sourceMappingURL=LabelSpecialUse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelSpecialUse.d.ts","sourceRoot":"","sources":["../../src/types/LabelSpecialUse.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
@@ -1,8 +0,0 @@
1
- export var LabelSpecialUse;
2
- (function (LabelSpecialUse) {
3
- LabelSpecialUse["ARCHIVE"] = "ARCHIVE";
4
- LabelSpecialUse["INBOX"] = "INBOX";
5
- LabelSpecialUse["SENT"] = "SENT";
6
- LabelSpecialUse["SPAM"] = "SPAM";
7
- LabelSpecialUse["TRASH"] = "TRASH";
8
- })(LabelSpecialUse || (LabelSpecialUse = {}));