@marcoappio/marco-config 2.0.540 → 2.0.542

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 (77) hide show
  1. package/dist/constants/index.d.ts +0 -4
  2. package/dist/constants/index.d.ts.map +1 -1
  3. package/dist/constants/index.js +0 -2
  4. package/dist/index.d.ts +1 -2
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1 -2
  7. package/dist/marcoPublicConfig.d.ts +0 -3
  8. package/dist/marcoPublicConfig.d.ts.map +1 -1
  9. package/dist/marcoPublicConfig.js +0 -9
  10. package/dist/schemas/index.d.ts +2 -0
  11. package/dist/schemas/index.d.ts.map +1 -1
  12. package/dist/schemas/index.js +2 -0
  13. package/dist/schemas/mutators/index.d.ts +2 -0
  14. package/dist/schemas/mutators/index.d.ts.map +1 -0
  15. package/dist/schemas/mutators/index.js +1 -0
  16. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts +4 -4
  17. package/dist/{zero → schemas/mutators}/mutatorSchemas.d.ts.map +1 -1
  18. package/dist/{zero → schemas/mutators}/mutatorSchemas.js +4 -4
  19. package/dist/sdk/endpoints/private/mutations/account/createAccount.js +1 -1
  20. package/dist/sdk/endpoints/private/mutations/account/createAlias.js +1 -1
  21. package/dist/sdk/endpoints/private/mutations/account/deleteAccount.js +1 -1
  22. package/dist/sdk/endpoints/private/mutations/account/deleteAlias.js +1 -1
  23. package/dist/sdk/endpoints/private/mutations/account/setAliasName.js +1 -1
  24. package/dist/sdk/endpoints/private/mutations/account/setAliasPrimary.js +1 -1
  25. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigImap.js +1 -1
  26. package/dist/sdk/endpoints/private/mutations/account/setConnectionConfigOauth.js +1 -1
  27. package/dist/sdk/endpoints/private/mutations/account/setSettings.js +1 -1
  28. package/dist/sdk/endpoints/private/mutations/draft/cancelSend.js +1 -1
  29. package/dist/sdk/endpoints/private/mutations/draft/createAttachment.js +1 -1
  30. package/dist/sdk/endpoints/private/mutations/draft/createDraft.js +1 -1
  31. package/dist/sdk/endpoints/private/mutations/draft/deleteAttachment.js +1 -1
  32. package/dist/sdk/endpoints/private/mutations/draft/deleteDraft.js +1 -1
  33. package/dist/sdk/endpoints/private/mutations/draft/scheduleSend.js +1 -1
  34. package/dist/sdk/endpoints/private/mutations/draft/setContent.js +1 -1
  35. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.d.ts +2 -2
  36. package/dist/sdk/endpoints/private/mutations/draft/setEnvelope.js +1 -1
  37. package/dist/sdk/endpoints/private/mutations/draft/setFrom.js +1 -1
  38. package/dist/sdk/endpoints/private/mutations/thread/addLabel.js +1 -1
  39. package/dist/sdk/endpoints/private/mutations/thread/deleteThreads.js +1 -1
  40. package/dist/sdk/endpoints/private/mutations/thread/removeLabel.js +1 -1
  41. package/dist/sdk/endpoints/private/mutations/thread/setArchive.js +1 -1
  42. package/dist/sdk/endpoints/private/mutations/thread/setFlagged.js +1 -1
  43. package/dist/sdk/endpoints/private/mutations/thread/setInbox.js +1 -1
  44. package/dist/sdk/endpoints/private/mutations/thread/setSeen.js +1 -1
  45. package/dist/sdk/endpoints/private/mutations/thread/setSpam.js +1 -1
  46. package/dist/sdk/endpoints/private/mutations/thread/setTrash.js +1 -1
  47. package/dist/sdk/endpoints/private/mutations/user/createView.js +1 -1
  48. package/dist/sdk/endpoints/private/mutations/user/deletePushToken.js +1 -1
  49. package/dist/sdk/endpoints/private/mutations/user/deleteView.js +1 -1
  50. package/dist/sdk/endpoints/private/mutations/user/setPushToken.js +1 -1
  51. package/dist/sdk/endpoints/private/mutations/user/setSettingsName.js +1 -1
  52. package/dist/sdk/endpoints/private/mutations/user/updateView.js +1 -1
  53. package/dist/types/index.d.ts +0 -1
  54. package/dist/types/index.d.ts.map +1 -1
  55. package/dist/types/index.js +0 -1
  56. package/package.json +1 -2
  57. package/dist/constants/zero.d.ts +0 -5
  58. package/dist/constants/zero.d.ts.map +0 -1
  59. package/dist/constants/zero.js +0 -4
  60. package/dist/types/Zero.d.ts +0 -17
  61. package/dist/types/Zero.d.ts.map +0 -1
  62. package/dist/types/Zero.js +0 -5
  63. package/dist/zero/index.d.ts +0 -5072
  64. package/dist/zero/index.d.ts.map +0 -1
  65. package/dist/zero/index.js +0 -12
  66. package/dist/zero/mutators.d.ts +0 -1523
  67. package/dist/zero/mutators.d.ts.map +0 -1
  68. package/dist/zero/mutators.js +0 -560
  69. package/dist/zero/mutators.test.d.ts +0 -2
  70. package/dist/zero/mutators.test.d.ts.map +0 -1
  71. package/dist/zero/mutators.test.js +0 -1158
  72. package/dist/zero/queries.d.ts +0 -1372
  73. package/dist/zero/queries.d.ts.map +0 -1
  74. package/dist/zero/queries.js +0 -173
  75. package/dist/zero/schema.d.ts +0 -1821
  76. package/dist/zero/schema.d.ts.map +0 -1
  77. package/dist/zero/schema.js +0 -434
@@ -53,9 +53,5 @@ export declare const marcoConstants: {
53
53
  maxViews: number;
54
54
  };
55
55
  };
56
- zero: {
57
- mutateURL: string;
58
- queryURL: string;
59
- };
60
56
  };
61
57
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ1B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO1B,CAAA"}
@@ -4,7 +4,6 @@ import { emailProvider } from './emailProvider';
4
4
  import { messages } from './messages';
5
5
  import { oauth } from './oauth';
6
6
  import { user } from './user';
7
- import { zero } from './zero';
8
7
  export const marcoConstants = {
9
8
  api,
10
9
  emailAccounts,
@@ -12,5 +11,4 @@ export const marcoConstants = {
12
11
  messages,
13
12
  oauth,
14
13
  user,
15
- zero,
16
14
  };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  export { marcoConstants } from './constants';
2
2
  export { MARCO_ENV, MarcoEnvironment, marcoPublicConfig } from './marcoPublicConfig';
3
- export { type Account, type AccountAlias, type AccountLabel, type Contact, type Draft, type DraftAttachment, type DraftBody, marcoSchemas, type Thread, type ThreadMessage, type ThreadMessageAttachment, type ThreadMessageRecipient, type User, type UserPushNotificationToken, type UserView, } from './schemas';
3
+ export { type Account, type AccountAlias, type AccountLabel, type Contact, type Draft, type DraftAttachment, type DraftBody, marcoSchemas, mutatorSchemas, type Thread, type ThreadMessage, type ThreadMessageAttachment, type ThreadMessageRecipient, type User, type UserPushNotificationToken, type UserView, } from './schemas';
4
4
  export { marcoSDK } from './sdk';
5
5
  export * from './types';
6
6
  export { accountUtils, labelUtils, stringPatch, threadsUtils } from './utils';
7
- export { marcoZero } from './zero';
8
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,YAAY,EACZ,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,GACd,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,YAAY,EACZ,cAAc,EACd,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,IAAI,EACT,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,GACd,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  export { marcoConstants } from './constants';
2
2
  export { MARCO_ENV, marcoPublicConfig } from './marcoPublicConfig';
3
- export { marcoSchemas, } from './schemas';
3
+ export { marcoSchemas, mutatorSchemas, } from './schemas';
4
4
  export { marcoSDK } from './sdk';
5
5
  export * from './types';
6
6
  export { accountUtils, labelUtils, stringPatch, threadsUtils } from './utils';
7
- export { marcoZero } from './zero';
@@ -27,9 +27,6 @@ type MarcoPublicConfig = {
27
27
  tenantId: string;
28
28
  };
29
29
  };
30
- zero: {
31
- cacheUrl: string;
32
- };
33
30
  workOS: {
34
31
  clientId: string;
35
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;YACf,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AA2GD,eAAO,MAAM,iBAAiB,SAAS,gBAAgB,sBAAmC,CAAA"}
1
+ {"version":3,"file":"marcoPublicConfig.d.ts","sourceRoot":"","sources":["../src/marcoPublicConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,CAAA;AAEvE,eAAO,MAAM,SAAS,kBAGP,CAAA;AAEf,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE;QACL,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM,CAAA;YACf,UAAU,EAAE,MAAM,CAAA;SACnB,CAAA;QACD,EAAE,EAAE;YACF,KAAK,EAAE,MAAM,CAAA;YACb,IAAI,EAAE,MAAM,CAAA;YACZ,GAAG,EAAE,MAAM,CAAA;SACZ,CAAA;KACF,CAAA;IACD,KAAK,EAAE;QACL,MAAM,EAAE;YACN,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAA;YAChB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,CAAA;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAkGD,eAAO,MAAM,iBAAiB,SAAS,gBAAgB,sBAAmC,CAAA"}
@@ -32,9 +32,6 @@ const configMap = {
32
32
  workOS: {
33
33
  clientId: 'client_01J51ET6KV4GBGMGHY0PJ9VGP2',
34
34
  },
35
- zero: {
36
- cacheUrl: 'https://zero.staging.marcoapp.io',
37
- },
38
35
  },
39
36
  production: {
40
37
  marco: {
@@ -66,9 +63,6 @@ const configMap = {
66
63
  workOS: {
67
64
  clientId: 'client_01J51ET6RT5WCS3NNQYBB7FAE7',
68
65
  },
69
- zero: {
70
- cacheUrl: 'https://zero.marcoapp.io',
71
- },
72
66
  },
73
67
  staging: {
74
68
  marco: {
@@ -100,9 +94,6 @@ const configMap = {
100
94
  workOS: {
101
95
  clientId: 'client_01J51ET6KV4GBGMGHY0PJ9VGP2',
102
96
  },
103
- zero: {
104
- cacheUrl: 'https://zero.staging.marcoapp.io',
105
- },
106
97
  },
107
98
  };
108
99
  export const marcoPublicConfig = (env = 'development') => configMap[env];
@@ -1,4 +1,6 @@
1
+ import { mutatorSchemas } from '../schemas/mutators';
1
2
  export type { Account, AccountAlias, AccountLabel, Contact, Draft, DraftAttachment, DraftBody, Thread, ThreadMessage, ThreadMessageAttachment, ThreadMessageRecipient, User, UserPushNotificationToken, UserView, } from './models';
3
+ export { mutatorSchemas };
2
4
  export declare const marcoSchemas: {
3
5
  app: {
4
6
  platform: () => import("valibot").PicklistSchema<readonly ["ios", "osx", "web"], undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AA+BA,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UAAU,CAAA;AAEjB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BxB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AA+B/D,YAAY,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,KAAK,EACL,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,IAAI,EACJ,yBAAyB,EACzB,QAAQ,GACT,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,cAAc,EAAE,CAAA;AAEzB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BxB,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { boolean } from '../schemas/boolean';
2
+ import { mutatorSchemas } from '../schemas/mutators';
2
3
  import { string } from '../schemas/string';
3
4
  import { app } from './app';
4
5
  import { auth } from './auth';
@@ -10,6 +11,7 @@ import { number } from './number';
10
11
  import { oauth } from './oauth';
11
12
  import { pushNotifications } from './pushNotifications';
12
13
  import { websocket } from './websocket';
14
+ export { mutatorSchemas };
13
15
  export const marcoSchemas = {
14
16
  app,
15
17
  auth,
@@ -0,0 +1,2 @@
1
+ export { mutatorSchemas } from './mutatorSchemas';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/mutators/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1 @@
1
+ export { mutatorSchemas } from './mutatorSchemas';
@@ -161,7 +161,7 @@ export declare const mutatorSchemas: {
161
161
  cc: string[];
162
162
  to: string[];
163
163
  subject: string | null;
164
- }, v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue>;
164
+ }, v.ObjectIssue | v.StringIssue | v.ArrayIssue | v.RfcEmailIssue<string> | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>>;
165
165
  readonly '~types'?: {
166
166
  readonly input: {
167
167
  bcc: string[];
@@ -175,7 +175,7 @@ export declare const mutatorSchemas: {
175
175
  to: string[];
176
176
  subject: string | null;
177
177
  };
178
- readonly issue: v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue;
178
+ readonly issue: v.ObjectIssue | v.StringIssue | v.ArrayIssue | v.RfcEmailIssue<string> | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>;
179
179
  } | undefined;
180
180
  };
181
181
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -246,7 +246,7 @@ export declare const mutatorSchemas: {
246
246
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
247
247
  readonly view: v.ObjectSchema<{
248
248
  readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 2, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
249
- readonly icon: v.PicklistSchema<readonly [import("../types").CustomViewIcon.AIRPLANE, import("../types").CustomViewIcon.BELL, import("../types").CustomViewIcon.BRIEFCASE, import("../types").CustomViewIcon.CLOCK, import("../types").CustomViewIcon.CREDIT_CARD, import("../types").CustomViewIcon.HEART, import("../types").CustomViewIcon.HOME, import("../types").CustomViewIcon.KEY, import("../types").CustomViewIcon.MOON, import("../types").CustomViewIcon.PERSON, import("../types").CustomViewIcon.SHOPPING_CART, import("../types").CustomViewIcon.STAR], undefined>;
249
+ readonly icon: v.PicklistSchema<readonly [import("../../types").CustomViewIcon.AIRPLANE, import("../../types").CustomViewIcon.BELL, import("../../types").CustomViewIcon.BRIEFCASE, import("../../types").CustomViewIcon.CLOCK, import("../../types").CustomViewIcon.CREDIT_CARD, import("../../types").CustomViewIcon.HEART, import("../../types").CustomViewIcon.HOME, import("../../types").CustomViewIcon.KEY, import("../../types").CustomViewIcon.MOON, import("../../types").CustomViewIcon.PERSON, import("../../types").CustomViewIcon.SHOPPING_CART, import("../../types").CustomViewIcon.STAR], undefined>;
250
250
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
251
251
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
252
252
  }, undefined>;
@@ -275,7 +275,7 @@ export declare const mutatorSchemas: {
275
275
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
276
276
  readonly view: v.ObjectSchema<{
277
277
  readonly aliasEmails: v.SchemaWithPipe<readonly [v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, undefined>, undefined>, v.MinLengthAction<string[], 2, undefined>, v.MaxLengthAction<string[], number, undefined>]>;
278
- readonly icon: v.PicklistSchema<readonly [import("../types").CustomViewIcon.AIRPLANE, import("../types").CustomViewIcon.BELL, import("../types").CustomViewIcon.BRIEFCASE, import("../types").CustomViewIcon.CLOCK, import("../types").CustomViewIcon.CREDIT_CARD, import("../types").CustomViewIcon.HEART, import("../types").CustomViewIcon.HOME, import("../types").CustomViewIcon.KEY, import("../types").CustomViewIcon.MOON, import("../types").CustomViewIcon.PERSON, import("../types").CustomViewIcon.SHOPPING_CART, import("../types").CustomViewIcon.STAR], undefined>;
278
+ readonly icon: v.PicklistSchema<readonly [import("../../types").CustomViewIcon.AIRPLANE, import("../../types").CustomViewIcon.BELL, import("../../types").CustomViewIcon.BRIEFCASE, import("../../types").CustomViewIcon.CLOCK, import("../../types").CustomViewIcon.CREDIT_CARD, import("../../types").CustomViewIcon.HEART, import("../../types").CustomViewIcon.HOME, import("../../types").CustomViewIcon.KEY, import("../../types").CustomViewIcon.MOON, import("../../types").CustomViewIcon.PERSON, import("../../types").CustomViewIcon.SHOPPING_CART, import("../../types").CustomViewIcon.STAR], undefined>;
279
279
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
280
280
  readonly name: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
281
281
  }, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../src/zero/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsF5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJ1B,CAAA"}
1
+ {"version":3,"file":"mutatorSchemas.d.ts","sourceRoot":"","sources":["../../../src/schemas/mutators/mutatorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsF5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJ1B,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import * as v from 'valibot';
2
- import { marcoConstants } from '../constants';
3
- import { marcoSchemas } from '../schemas';
4
- import { socketTypeSchema } from '../schemas/emailAccount';
5
- import { DRAFT_ATTACHMENT_UPLOAD_STATUSES, DRAFT_STATUSES, DRAFT_TYPES, USER_SETTINGS_CUSTOM_VIEW_ICONS, } from '../types';
2
+ import { marcoConstants } from '../../constants';
3
+ import { marcoSchemas } from '../../schemas';
4
+ import { socketTypeSchema } from '../../schemas/emailAccount';
5
+ import { DRAFT_ATTACHMENT_UPLOAD_STATUSES, DRAFT_STATUSES, DRAFT_TYPES, USER_SETTINGS_CUSTOM_VIEW_ICONS, } from '../../types';
6
6
  const accountAliasSchema = v.object({
7
7
  emailAddress: marcoSchemas.string.email(),
8
8
  id: marcoSchemas.string.required(),
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createAccount = createEndpoint({
6
6
  body: mutatorSchemas.account.createAccount,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createAlias = createEndpoint({
6
6
  body: mutatorSchemas.account.createAlias,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteAccount = createEndpoint({
6
6
  body: mutatorSchemas.account.deleteAccount,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, aliasNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteAlias = createEndpoint({
6
6
  body: mutatorSchemas.account.deleteAlias,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, aliasNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setAliasName = createEndpoint({
6
6
  body: mutatorSchemas.account.setAliasName,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, aliasNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setAliasPrimary = createEndpoint({
6
6
  body: mutatorSchemas.account.setAliasPrimary,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setConnectionConfigImap = createEndpoint({
6
6
  body: mutatorSchemas.account.setConnectionConfigImapRaw,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setConnectionConfigOauth = createEndpoint({
6
6
  body: mutatorSchemas.account.setConnectionConfigOauth,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSettings = createEndpoint({
6
6
  body: mutatorSchemas.account.setSettings,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const cancelSend = createEndpoint({
6
6
  body: mutatorSchemas.draft.cancelSend,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createAttachment = createEndpoint({
6
6
  body: mutatorSchemas.draft.createAttachment,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { accountNotFoundErrorSchema, authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createDraft = createEndpoint({
6
6
  body: mutatorSchemas.draft.createDraft,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { attachmentNotFoundErrorSchema, authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteAttachment = createEndpoint({
6
6
  body: mutatorSchemas.draft.deleteAttachment,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteDraft = createEndpoint({
6
6
  body: mutatorSchemas.draft.deleteDraft,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const scheduleSend = createEndpoint({
6
6
  body: mutatorSchemas.draft.scheduleSend,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setContent = createEndpoint({
6
6
  body: mutatorSchemas.draft.setContent,
7
7
  method: 'PATCH',
@@ -30,7 +30,7 @@ export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/p
30
30
  cc: string[];
31
31
  to: string[];
32
32
  subject: string | null;
33
- }, v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue>;
33
+ }, v.ObjectIssue | v.StringIssue | v.ArrayIssue | v.RfcEmailIssue<string> | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>>;
34
34
  readonly '~types'?: {
35
35
  readonly input: {
36
36
  bcc: string[];
@@ -44,7 +44,7 @@ export declare const setEnvelope: import("../../../../..").EndpointConfig<"/v1/p
44
44
  to: string[];
45
45
  subject: string | null;
46
46
  };
47
- readonly issue: v.StringIssue | v.RfcEmailIssue<string> | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number> | v.ObjectIssue | v.ArrayIssue | v.NonOptionalIssue;
47
+ readonly issue: v.ObjectIssue | v.StringIssue | v.ArrayIssue | v.RfcEmailIssue<string> | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>;
48
48
  } | undefined;
49
49
  };
50
50
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setEnvelope = createEndpoint({
6
6
  body: mutatorSchemas.draft.setEnvelope,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { aliasNotFoundErrorSchema, authFailedErrorSchema, draftNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setFrom = createEndpoint({
6
6
  body: mutatorSchemas.draft.setFrom,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const addLabel = createEndpoint({
6
6
  body: mutatorSchemas.thread.addLabel,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteThreads = createEndpoint({
6
6
  body: mutatorSchemas.thread.delete,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, labelNotFoundErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const removeLabel = createEndpoint({
6
6
  body: mutatorSchemas.thread.removeLabel,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setArchive = createEndpoint({
6
6
  body: mutatorSchemas.thread.setArchive,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setFlagged = createEndpoint({
6
6
  body: mutatorSchemas.thread.setFlagged,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setInbox = createEndpoint({
6
6
  body: mutatorSchemas.thread.setInbox,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSeen = createEndpoint({
6
6
  body: mutatorSchemas.thread.setSeen,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSpam = createEndpoint({
6
6
  body: mutatorSchemas.thread.setSpam,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setTrash = createEndpoint({
6
6
  body: mutatorSchemas.thread.setTrash,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const createView = createEndpoint({
6
6
  body: mutatorSchemas.user.createView,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deletePushToken = createEndpoint({
6
6
  body: mutatorSchemas.user.deleteSettingsPushNotificationToken,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, viewNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const deleteView = createEndpoint({
6
6
  body: mutatorSchemas.user.deleteView,
7
7
  method: 'DELETE',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setPushToken = createEndpoint({
6
6
  body: mutatorSchemas.user.setSettingsPushNotificationToken,
7
7
  method: 'POST',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const setSettingsName = createEndpoint({
6
6
  body: mutatorSchemas.user.setSettingsName,
7
7
  method: 'PATCH',
@@ -1,7 +1,7 @@
1
1
  import * as v from 'valibot';
2
+ import { mutatorSchemas } from '../../../../../schemas';
2
3
  import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
3
4
  import { authFailedErrorSchema, mutationRejectedErrorSchema, userNotFoundErrorSchema, validationFailedErrorSchema, viewNotFoundErrorSchema, } from '../../../../../sdk/validation/errors';
4
- import { mutatorSchemas } from '../../../../../zero';
5
5
  export const updateView = createEndpoint({
6
6
  body: mutatorSchemas.user.updateView,
7
7
  method: 'PATCH',
@@ -13,5 +13,4 @@ export * from './OAuthProvider';
13
13
  export * from './PokeEvent';
14
14
  export * from './SDKError';
15
15
  export * from './UserSettings';
16
- export * from './Zero';
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
@@ -13,4 +13,3 @@ export * from './OAuthProvider';
13
13
  export * from './PokeEvent';
14
14
  export * from './SDKError';
15
15
  export * from './UserSettings';
16
- export * from './Zero';