@marcoappio/marco-config 4.0.22 → 4.0.24

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 (56) hide show
  1. package/dist/appwrite/appwrite.d.ts +55 -1403
  2. package/dist/appwrite/appwrite.d.ts.map +1 -1
  3. package/dist/appwrite/commands.d.ts +952 -952
  4. package/dist/appwrite/commands.d.ts.map +1 -1
  5. package/dist/appwrite/functions.d.ts +503 -503
  6. package/dist/appwrite/functions.d.ts.map +1 -1
  7. package/dist/appwrite/queryContracts/queryContracts.d.ts +165 -165
  8. package/dist/appwrite/queryContracts/queryContracts.d.ts.map +1 -1
  9. package/dist/appwrite/tableContract/identity.d.ts +62 -62
  10. package/dist/appwrite/tableContract/identity.d.ts.map +1 -1
  11. package/dist/appwrite/tableContract/index.d.ts +1216 -1216
  12. package/dist/appwrite/tableContract/index.d.ts.map +1 -1
  13. package/dist/appwrite/tableContract/index.js +19 -9
  14. package/dist/appwrite/tableContract/index.test.js +46 -1
  15. package/dist/appwrite/tableContract/mailbox.d.ts +90 -89
  16. package/dist/appwrite/tableContract/mailbox.d.ts.map +1 -1
  17. package/dist/appwrite/tableContract/operational.d.ts +76 -76
  18. package/dist/appwrite/tableContract/operational.d.ts.map +1 -1
  19. package/dist/appwrite/tableContract/shared.d.ts +45 -46
  20. package/dist/appwrite/tableContract/shared.d.ts.map +1 -1
  21. package/dist/constants/emailAccounts.d.ts.map +1 -1
  22. package/dist/constants/index.d.ts +2 -2
  23. package/dist/constants/messages.d.ts.map +1 -1
  24. package/dist/constants/oauth.d.ts +2 -2
  25. package/dist/constants/oauth.d.ts.map +1 -1
  26. package/dist/constants/user.d.ts.map +1 -1
  27. package/dist/schemas/app.d.ts.map +1 -1
  28. package/dist/schemas/auth.d.ts.map +1 -1
  29. package/dist/schemas/id.d.ts.map +1 -1
  30. package/dist/schemas/index.d.ts +16 -16
  31. package/dist/schemas/models/thread.d.ts +16 -16
  32. package/dist/schemas/number.d.ts.map +1 -1
  33. package/dist/schemas/oauth.d.ts.map +1 -1
  34. package/dist/schemas/pushNotifications.d.ts.map +1 -1
  35. package/dist/schemas/scalars.d.ts +1 -1
  36. package/dist/schemas/scalars.d.ts.map +1 -1
  37. package/dist/schemas/string.d.ts.map +1 -1
  38. package/dist/types/DraftAttachmentUploadStatus.d.ts +1 -1
  39. package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -1
  40. package/dist/types/DraftStatus.d.ts +1 -1
  41. package/dist/types/DraftStatus.d.ts.map +1 -1
  42. package/dist/types/DraftType.d.ts +1 -1
  43. package/dist/types/DraftType.d.ts.map +1 -1
  44. package/dist/types/IMAPConnectionStatus.d.ts +1 -1
  45. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -1
  46. package/dist/types/LabelSpecialUse.d.ts +1 -1
  47. package/dist/types/LabelSpecialUse.d.ts.map +1 -1
  48. package/dist/types/MarcoPlatform.d.ts +1 -1
  49. package/dist/types/MarcoPlatform.d.ts.map +1 -1
  50. package/dist/types/MessageRecipientType.d.ts +1 -1
  51. package/dist/types/MessageRecipientType.d.ts.map +1 -1
  52. package/dist/types/OAuthProvider.d.ts +1 -1
  53. package/dist/types/OAuthProvider.d.ts.map +1 -1
  54. package/dist/types/UserSettings.d.ts +12 -12
  55. package/dist/types/UserSettings.d.ts.map +1 -1
  56. package/package.json +5 -4
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAK/C,OAAO,EACL,KAAK,wBAAwB,EAE7B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAIhC,MAAM,UAAU,CAAA;AAEjB,cAAc,UAAU,CAAA;AAExB,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA;AAElE,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAClH,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAA;AAC/C,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAE7G,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
@@ -2,7 +2,7 @@ import { v } from '../../utils/valibot/index.js';
2
2
  import { identityTableInputs } from './identity.js';
3
3
  import { mailboxTableInputs } from './mailbox.js';
4
4
  import { operationalTableInputs } from './operational.js';
5
- import { appwriteIds, appwriteRowIdSchema, identifierSchema, isoTimestampSchema, } from './shared.js';
5
+ import { appwriteIds, appwriteRowIdSchema, identifierSchema, } from './shared.js';
6
6
  export * from './shared.js';
7
7
  const appwriteTableInputs = {
8
8
  ...identityTableInputs,
@@ -39,22 +39,32 @@ const materialiseTable = (key, id, table) => {
39
39
  };
40
40
  };
41
41
  const wireMetadata = (tableId, wirePermissions) => ({
42
- $createdAt: isoTimestampSchema,
42
+ $createdAt: appwriteRowTimestampSchema,
43
43
  $databaseId: v.literal(appwriteIds.database),
44
44
  $id: appwriteRowIdSchema,
45
45
  $permissions: wirePermissions === 'empty' ? v.pipe(v.array(v.string()), v.length(0)) : v.array(v.string()),
46
46
  $sequence: identifierSchema,
47
47
  $tableId: v.literal(tableId),
48
- $updatedAt: isoTimestampSchema,
48
+ $updatedAt: appwriteRowTimestampSchema,
49
49
  });
50
- function createDataSchema(fields, dataCheck) {
50
+ const appwriteRowTimestampSchema = v.pipe(v.string(), v.transform(timestamp => (timestamp.endsWith('+00:00') ? `${timestamp.slice(0, -6)}Z` : timestamp)), v.isoTimestamp(), v.check(timestamp => {
51
+ const milliseconds = Date.parse(timestamp);
52
+ return Number.isFinite(milliseconds) && new Date(milliseconds).toISOString() === timestamp;
53
+ }));
54
+ const createDataSchema = (fields, dataCheck) => {
51
55
  const schema = v.object(fields);
52
- if (dataCheck) {
53
- return v.pipe(schema, v.check(input => dataCheck(input)));
56
+ if (dataCheck === undefined) {
57
+ return schema;
54
58
  }
55
- return schema;
56
- }
57
- const createRowSchema = (fields, tableId, wirePermissions) => v.strictObject({ ...wireMetadata(tableId, wirePermissions), ...fields });
59
+ return v.pipe(schema, v.check(input => dataCheck(input)));
60
+ };
61
+ const createRowSchema = (fields, tableId, wirePermissions) => {
62
+ const rowFields = Object.fromEntries(Object.entries(fields).map(([key, field]) => {
63
+ const rowField = field.definition.type === 'datetime' ? (field.definition.required ? appwriteRowTimestampSchema : v.nullable(appwriteRowTimestampSchema)) : field;
64
+ return [key, rowField];
65
+ }));
66
+ return v.strictObject({ ...wireMetadata(tableId, wirePermissions), ...rowFields });
67
+ };
58
68
  const isAppwriteTableKey = (tableKey) => Object.hasOwn(appwriteIds.tables, tableKey);
59
69
  const appwriteTableIdentity = (tableKey) => {
60
70
  if (isAppwriteTableKey(tableKey)) {
@@ -4,7 +4,7 @@ import { identityTableInputs } from './identity.js';
4
4
  import { defineAppwriteTables } from './index.js';
5
5
  import { mailboxTableInputs } from './mailbox.js';
6
6
  import { operationalTableInputs } from './operational.js';
7
- import { appwriteColumnDefinitions, appwriteIds, appwriteRelationship, appwriteRelationshipIdSchema, defineAppwriteTableGroup, identifierSchema } from './shared.js';
7
+ import { appwriteColumnDefinitions, appwriteIds, appwriteRelationship, appwriteRelationshipIdSchema, canonicalTimestampSchema, defineAppwriteTableGroup, identifierSchema, } from './shared.js';
8
8
  const tableInputs = {
9
9
  ...identityTableInputs,
10
10
  ...mailboxTableInputs,
@@ -29,6 +29,28 @@ const validAccount = {
29
29
  provider: 'GMAIL',
30
30
  state: 'CONNECTED',
31
31
  };
32
+ const validJob = {
33
+ $createdAt: '2026-08-04T22:20:58.706+00:00',
34
+ $databaseId: appwriteIds.database,
35
+ $id: 'test-job-id-1',
36
+ $permissions: [],
37
+ $sequence: '1',
38
+ $tableId: appwriteIds.tables.jobs,
39
+ $updatedAt: '2026-08-04T22:20:58.706+00:00',
40
+ accountId: null,
41
+ attempts: 0,
42
+ commandId: 'test-command-id-1',
43
+ dedupeKey: 'test-dedupe-key-1',
44
+ errorCode: null,
45
+ kind: 'mailbox.sync',
46
+ leaseExpiresAt: null,
47
+ leaseId: null,
48
+ maxAttempts: 3,
49
+ nextRunAt: '2026-08-04T22:20:58.706+00:00',
50
+ payload: '{}',
51
+ state: 'PENDING',
52
+ userId: 'test-user-id-1',
53
+ };
32
54
  describe('defineAppwriteTables', () => {
33
55
  it('constrains table group keys and index attributes at compile time', () => {
34
56
  const fields = {
@@ -75,6 +97,29 @@ describe('defineAppwriteTables', () => {
75
97
  expect(Object.fromEntries(Object.entries(contract.tables).map(([key, table]) => [key, table.id]))).toEqual(appwriteIds.tables);
76
98
  expect(Object.entries(contract.tables).every(([key, table]) => table.key === key)).toBe(true);
77
99
  });
100
+ it('normalises Appwrite datetime wire values in generated row schemas', () => {
101
+ const contract = defineAppwriteTables(tableInputs);
102
+ const parsed = v.safeParse(contract.rowSchemas.jobs, validJob);
103
+ expect(parsed.success).toBe(true);
104
+ if (parsed.success) {
105
+ expect(parsed.output.$createdAt).toBe('2026-08-04T22:20:58.706Z');
106
+ expect(parsed.output.nextRunAt).toBe('2026-08-04T22:20:58.706Z');
107
+ expect(parsed.output.leaseExpiresAt).toBeNull();
108
+ expect(parsed.output.$updatedAt).toBe('2026-08-04T22:20:58.706Z');
109
+ }
110
+ });
111
+ it('rejects invalid persisted timestamps while keeping canonical input strict', () => {
112
+ const contract = defineAppwriteTables(tableInputs);
113
+ const timestampSchema = contract.rowSchemas.jobs.entries.nextRunAt;
114
+ for (const [timestamp, expected] of [
115
+ ['2026-08-05T00:20:58.706+02:00', false],
116
+ ['2026-06-31T12:00:30.000Z', false],
117
+ ['2026-08-04T22:20:58.706', false],
118
+ ]) {
119
+ expect(v.safeParse(timestampSchema, timestamp).success).toBe(expected);
120
+ }
121
+ expect(v.safeParse(canonicalTimestampSchema, '2026-08-04T22:20:58.706+00:00').success).toBe(false);
122
+ });
78
123
  it('rejects inherited object property names as table keys', () => {
79
124
  expect(() => defineAppwriteTables({
80
125
  ...tableInputs,
@@ -1,18 +1,19 @@
1
1
  import { v } from '../../utils/valibot/index.js';
2
+ import { messageLocationCoordinateCheck } from './shared.js';
2
3
  export declare const mailboxTableInputs: {
3
4
  readonly contacts: {
4
5
  readonly fields: {
5
- readonly displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
6
- readonly lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
7
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
8
- readonly normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
9
- readonly profile: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
6
+ displayName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
7
+ lastContactedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
8
+ messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
9
+ normalisedAddress: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>>;
10
+ profile: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
10
11
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
11
12
  }, undefined>, v.TransformAction<{
12
13
  $id: string;
13
14
  }, string>]>], undefined>>;
14
- readonly profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
15
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
15
+ profileAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
16
+ searchText: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
16
17
  };
17
18
  readonly indexes: readonly [{
18
19
  readonly attributes: readonly ["profileAssignmentKey", "lastContactedAt"];
@@ -31,34 +32,34 @@ export declare const mailboxTableInputs: {
31
32
  };
32
33
  readonly drafts: {
33
34
  readonly fields: {
34
- readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
35
+ account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
35
36
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
36
37
  }, undefined>, v.TransformAction<{
37
38
  $id: string;
38
39
  }, string>]>], undefined>>;
39
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
40
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
41
- readonly contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
42
- readonly envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
43
- readonly errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
44
- readonly executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
45
- readonly executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
46
- readonly fromAlias: import("./shared.js").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
40
+ accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
41
+ attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
42
+ contentHash: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
43
+ envelope: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
44
+ errorCode: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
45
+ executionLeaseExpiresAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
46
+ executionLeaseId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
47
+ fromAlias: import("./shared.js").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
47
48
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
48
49
  }, undefined>, v.TransformAction<{
49
50
  $id: string;
50
51
  }, string>]>], undefined>, undefined>>;
51
- readonly html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
52
- readonly referencedMessage: import("./shared.js").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
52
+ html: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
53
+ referencedMessage: import("./shared.js").AppwriteRelationshipSchema<v.NullableSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
53
54
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
54
55
  }, undefined>, v.TransformAction<{
55
56
  $id: string;
56
57
  }, string>]>], undefined>, undefined>>;
57
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
58
- readonly scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
59
- readonly sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
60
- readonly status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
61
- readonly type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
58
+ revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
59
+ scheduledAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
60
+ sequence: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
61
+ status: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["DRAFT", "SCHEDULED", "SENDING", "SENT", "FAILED", "CANCELLED"], undefined>>;
62
+ type: import("./shared.js").AppwriteColumnSchema<v.PicklistSchema<readonly ["COMPOSE", "REPLY", "FORWARD"], undefined>>;
62
63
  };
63
64
  readonly indexes: readonly [{
64
65
  readonly attributes: readonly ["accountAssignmentKey"];
@@ -76,36 +77,36 @@ export declare const mailboxTableInputs: {
76
77
  readonly name: "Drafts";
77
78
  };
78
79
  readonly messageLocations: {
79
- readonly dataCheck: (location: unknown) => boolean;
80
+ readonly dataCheck: typeof messageLocationCoordinateCheck;
80
81
  readonly fields: {
81
- readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
82
+ account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
82
83
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
83
84
  }, undefined>, v.TransformAction<{
84
85
  $id: string;
85
86
  }, string>]>], undefined>>;
86
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
87
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
88
- readonly label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
87
+ accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
88
+ flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
89
+ label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
89
90
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
90
91
  }, undefined>, v.TransformAction<{
91
92
  $id: string;
92
93
  }, string>]>], undefined>>;
93
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
94
- readonly message: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
94
+ labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
95
+ message: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
95
96
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
96
97
  }, undefined>, v.TransformAction<{
97
98
  $id: string;
98
99
  }, string>]>], undefined>>;
99
- readonly messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
100
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
101
- readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
100
+ messageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
101
+ seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
102
+ thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
102
103
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
103
104
  }, undefined>, v.TransformAction<{
104
105
  $id: string;
105
106
  }, string>]>], undefined>>;
106
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
107
- readonly uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
108
- readonly uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
107
+ threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
108
+ uid: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
109
+ uidValidity: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>>;
109
110
  };
110
111
  readonly indexes: readonly [{
111
112
  readonly attributes: readonly ["accountAssignmentKey", "labelAssignmentKey", "uidValidity", "uid"];
@@ -124,32 +125,32 @@ export declare const mailboxTableInputs: {
124
125
  };
125
126
  readonly messages: {
126
127
  readonly fields: {
127
- readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
128
+ account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
128
129
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
129
130
  }, undefined>, v.TransformAction<{
130
131
  $id: string;
131
132
  }, string>]>], undefined>>;
132
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
133
- readonly attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
134
- readonly htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
135
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
136
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
137
- readonly rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
138
- readonly receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
139
- readonly recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
140
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
141
- readonly rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
142
- readonly sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
143
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
144
- readonly sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
145
- readonly size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
146
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
147
- readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
133
+ accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
134
+ attachmentMetadata: import("./shared.js").AppwriteColumnSchema<v.StringSchema<undefined>>;
135
+ htmlFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
136
+ preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
137
+ providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
138
+ rawFileId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
139
+ receivedAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
140
+ recipients: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
141
+ revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
142
+ rfcMessageId: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
143
+ sender: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
144
+ senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
145
+ sentAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
146
+ size: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
147
+ subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
148
+ thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
148
149
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
149
150
  }, undefined>, v.TransformAction<{
150
151
  $id: string;
151
152
  }, string>]>], undefined>>;
152
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
153
+ threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
153
154
  };
154
155
  readonly indexes: readonly [{
155
156
  readonly attributes: readonly ["threadAssignmentKey", "sentAt"];
@@ -168,19 +169,19 @@ export declare const mailboxTableInputs: {
168
169
  };
169
170
  readonly threadAliases: {
170
171
  readonly fields: {
171
- readonly alias: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
172
+ alias: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
172
173
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
173
174
  }, undefined>, v.TransformAction<{
174
175
  $id: string;
175
176
  }, string>]>], undefined>>;
176
- readonly aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
177
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
178
- readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
177
+ aliasAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
178
+ latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
179
+ thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
179
180
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
180
181
  }, undefined>, v.TransformAction<{
181
182
  $id: string;
182
183
  }, string>]>], undefined>>;
183
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
184
+ threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
184
185
  };
185
186
  readonly indexes: readonly [{
186
187
  readonly attributes: readonly ["threadAssignmentKey", "aliasAssignmentKey"];
@@ -195,20 +196,20 @@ export declare const mailboxTableInputs: {
195
196
  };
196
197
  readonly threadLabels: {
197
198
  readonly fields: {
198
- readonly label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
199
+ label: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
199
200
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
200
201
  }, undefined>, v.TransformAction<{
201
202
  $id: string;
202
203
  }, string>]>], undefined>>;
203
- readonly labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
204
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
205
- readonly locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
206
- readonly thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
204
+ labelAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
205
+ latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
206
+ locationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
207
+ thread: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
207
208
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
208
209
  }, undefined>, v.TransformAction<{
209
210
  $id: string;
210
211
  }, string>]>], undefined>>;
211
- readonly threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
212
+ threadAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
212
213
  };
213
214
  readonly indexes: readonly [{
214
215
  readonly attributes: readonly ["threadAssignmentKey", "labelAssignmentKey"];
@@ -223,34 +224,34 @@ export declare const mailboxTableInputs: {
223
224
  };
224
225
  readonly threads: {
225
226
  readonly fields: {
226
- readonly account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
227
+ account: import("./shared.js").AppwriteRelationshipSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
227
228
  readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
228
229
  }, undefined>, v.TransformAction<{
229
230
  $id: string;
230
231
  }, string>]>], undefined>>;
231
- readonly accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
232
- readonly archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
233
- readonly firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
234
- readonly flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
235
- readonly flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
236
- readonly hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
237
- readonly labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
238
- readonly latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
239
- readonly latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
240
- readonly messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
241
- readonly participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
242
- readonly preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
243
- readonly providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
244
- readonly revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
245
- readonly searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
246
- readonly seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
247
- readonly senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
248
- readonly senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
249
- readonly snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
250
- readonly spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
251
- readonly subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
252
- readonly trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
253
- readonly unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
232
+ accountAssignmentKey: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
233
+ archived: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
234
+ firstMessageAt: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>>;
235
+ flagged: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
236
+ flaggedLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
237
+ hasAttachments: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
238
+ labelIds: import("./shared.js").AppwriteColumnSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
239
+ latestMessageAt: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>>;
240
+ latestMessageId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
241
+ messageCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
242
+ participants: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
243
+ preview: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
244
+ providerId: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>>;
245
+ revision: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
246
+ searchText: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
247
+ seen: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
248
+ senderEmail: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RfcEmailAction<string, undefined>]>, v.MaxLengthAction<string, 320, undefined>]>, undefined>>;
249
+ senderName: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>>;
250
+ snoozedUntil: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, v.CheckAction<string, undefined>]>, undefined>>;
251
+ spam: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
252
+ subject: import("./shared.js").AppwriteColumnSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>>;
253
+ trashed: import("./shared.js").AppwriteColumnSchema<v.BooleanSchema<undefined>>;
254
+ unseenLocationCount: import("./shared.js").AppwriteColumnSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>>;
254
255
  };
255
256
  readonly indexes: readonly [{
256
257
  readonly attributes: readonly ["accountAssignmentKey", "providerId"];
@@ -1 +1 @@
1
- {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAoB/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6P7B,CAAA"}
1
+ {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../../src/appwrite/tableContract/mailbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,6BAA6B,CAAA;AAE/C,OAAO,EAUL,8BAA8B,EAI/B,MAAM,UAAU,CAAA;AAIjB,eAAO,MAAM,kBAAkB;;;YAGzB,WAAW;YACX,eAAe;YACf,YAAY;YACZ,iBAAiB;YACjB,OAAO;;;;;YACP,oBAAoB;YACpB,UAAU;;;;;;;;;;;;;;;;;;;YAmBV,OAAO;;;;;YACP,oBAAoB;YACpB,kBAAkB;YAClB,WAAW;YACX,QAAQ;YACR,SAAS;YACT,uBAAuB;YACvB,gBAAgB;YAChB,SAAS;;;;;YACT,IAAI;YACJ,iBAAiB;;;;;YACjB,QAAQ;YACR,WAAW;YACX,QAAQ;YACR,MAAM;YACN,IAAI;;;;;;;;;;;;;;;;;;;;YAoBJ,OAAO;;;;;YACP,oBAAoB;YACpB,OAAO;YACP,KAAK;;;;;YACL,kBAAkB;YAClB,OAAO;;;;;YACP,SAAS;YACT,IAAI;YACJ,MAAM;;;;;YACN,mBAAmB;YACnB,GAAG;YACH,WAAW;;;;;;;;;;;;;;;;;;;YAuBX,OAAO;;;;;YACP,oBAAoB;YACpB,kBAAkB;YAClB,UAAU;YACV,OAAO;YACP,UAAU;YACV,SAAS;YACT,UAAU;YACV,UAAU;YACV,QAAQ;YACR,YAAY;YACZ,MAAM;YACN,UAAU;YACV,MAAM;YACN,IAAI;YACJ,OAAO;YACP,MAAM;;;;;YACN,mBAAmB;;;;;;;;;;;;;;;;;;;YAuBnB,KAAK;;;;;YACL,kBAAkB;YAClB,eAAe;YACf,MAAM;;;;;YACN,mBAAmB;;;;;;;;;;;;;;;YAkBnB,KAAK;;;;;YACL,kBAAkB;YAClB,eAAe;YACf,aAAa;YACb,MAAM;;;;;YACN,mBA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