attio 0.0.1-experimental.20250506 → 0.0.1-experimental.20250507

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 (2) hide show
  1. package/package.json +1 -1
  2. package/schema.graphql +40 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attio",
3
- "version": "0.0.1-experimental.20250506",
3
+ "version": "0.0.1-experimental.20250507",
4
4
  "bin": "lib/attio.js",
5
5
  "type": "module",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -9,6 +9,10 @@ interface IObject {
9
9
  """ID of the record."""
10
10
  id: String!
11
11
  ): Record
12
+ records(
13
+ """IDs of the records."""
14
+ ids: [String!]!
15
+ ): [Record]!
12
16
  }
13
17
 
14
18
  """A record in the workspace."""
@@ -196,6 +200,10 @@ type Object implements IObject {
196
200
  """ID of the record."""
197
201
  id: String!
198
202
  ): Record
203
+ records(
204
+ """IDs of the records."""
205
+ ids: [String!]!
206
+ ): [Record]!
199
207
  }
200
208
 
201
209
  """A record for a custom object."""
@@ -253,6 +261,13 @@ type Query {
253
261
  """Slug of the record's object."""
254
262
  object: String!
255
263
  ): Record
264
+ records(
265
+ """IDs of the records."""
266
+ ids: [String!]!
267
+
268
+ """Slug of the record's object."""
269
+ object: String!
270
+ ): [Record]!
256
271
  currentUser: User!
257
272
  currentWorkspace: Workspace!
258
273
  }
@@ -267,7 +282,11 @@ type people implements IObject {
267
282
  record(
268
283
  """ID of the person record."""
269
284
  id: String!
270
- ): Person!
285
+ ): Person
286
+ records(
287
+ """IDs of the person records."""
288
+ ids: [String!]!
289
+ ): [Person]!
271
290
  }
272
291
 
273
292
  """A person record."""
@@ -438,7 +457,11 @@ type companies implements IObject {
438
457
  record(
439
458
  """ID of the company record."""
440
459
  id: String!
441
- ): Company!
460
+ ): Company
461
+ records(
462
+ """IDs of the company records."""
463
+ ids: [String!]!
464
+ ): [Company]!
442
465
  }
443
466
 
444
467
  """The deal object in the workspace."""
@@ -451,7 +474,11 @@ type deals implements IObject {
451
474
  record(
452
475
  """ID of the deal record."""
453
476
  id: String!
454
- ): Deal!
477
+ ): Deal
478
+ records(
479
+ """IDs of the deal records."""
480
+ ids: [String!]!
481
+ ): [Deal]!
455
482
  }
456
483
 
457
484
  """The workspace object in the workspace."""
@@ -464,7 +491,11 @@ type workspaces implements IObject {
464
491
  record(
465
492
  """ID of the workspace record."""
466
493
  id: String!
467
- ): WorkspaceRecord!
494
+ ): WorkspaceRecord
495
+ records(
496
+ """IDs of the workspace records."""
497
+ ids: [String!]!
498
+ ): [WorkspaceRecord]!
468
499
  }
469
500
 
470
501
  """The user object in the workspace."""
@@ -477,7 +508,11 @@ type users implements IObject {
477
508
  record(
478
509
  """ID of the user record."""
479
510
  id: String!
480
- ): UserRecord!
511
+ ): UserRecord
512
+ records(
513
+ """IDs of the user records."""
514
+ ids: [String!]!
515
+ ): [UserRecord]!
481
516
  }
482
517
 
483
518
  type Workspace {