attio 0.0.1-experimental.20240925 → 0.0.1-experimental.20240926.1

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.
@@ -0,0 +1,536 @@
1
+ """The current Attio workspace"""
2
+ type Workspace {
3
+ """The name of the workspace."""
4
+ name: String
5
+
6
+ """The slug of the workspace."""
7
+ slug: String
8
+
9
+ """The objects inside the workspace."""
10
+ objects: [IObject]
11
+ object(
12
+ """Slug of the object."""
13
+ slug: String!
14
+ ): IObject
15
+ people: people
16
+ companies: companies
17
+ deals: deals
18
+ workspaces: workspaces
19
+ users: users
20
+ person(
21
+ """The ID of the person record."""
22
+ id: String!
23
+ ): PeopleRecord
24
+ company(
25
+ """The ID of the company record."""
26
+ id: String!
27
+ ): CompaniesRecord
28
+ deal(
29
+ """The ID of the deal record."""
30
+ id: String!
31
+ ): DealsRecord
32
+ workspace(
33
+ """The ID of the workspace record."""
34
+ id: String!
35
+ ): WorkspacesRecord
36
+ userRecord(
37
+ """The ID of the user record."""
38
+ id: String!
39
+ ): UsersRecord
40
+ }
41
+
42
+ """The person object in the workspace."""
43
+ type people implements IObject {
44
+ """The name of the object."""
45
+ _name: String!
46
+
47
+ """The slug of the object."""
48
+ slug: String!
49
+
50
+ """The attributes of the object."""
51
+ attributes: [Attribute]
52
+ attribute(
53
+ """Slug of the attribute"""
54
+ slug: String!
55
+ ): Attribute
56
+ record(
57
+ """ID of the person record."""
58
+ id: String!
59
+ ): PeopleRecord
60
+ }
61
+
62
+ """A person record."""
63
+ type PeopleRecord implements Record {
64
+ attribute(
65
+ """Slug of the attribute"""
66
+ slug: String!
67
+ ): AttributeValue
68
+
69
+ """The URL of the record in Attio."""
70
+ url: String!
71
+ name: PersonalName
72
+ email_addresses: [String!]
73
+ description: String
74
+ company: CompaniesRecord
75
+ job_title: String
76
+ avatar_url: String
77
+ phone_numbers: [String!]
78
+ primary_location: Location
79
+ angellist: String
80
+ facebook: String
81
+ instagram: String
82
+ linkedin: String
83
+ twitter: String
84
+ twitter_follower_count: Float
85
+ first_calendar_interaction: Interaction
86
+ last_calendar_interaction: Interaction
87
+ next_calendar_interaction: Interaction
88
+ last_email_interaction: Interaction
89
+ first_interaction: Interaction
90
+ last_interaction: Interaction
91
+ associated_deals: [DealsRecord!]
92
+ associated_users: [UsersRecord!]
93
+ list_entries: [Record!]
94
+ created_at: String
95
+ created_by: Actor
96
+ }
97
+
98
+ """A record in the workspace."""
99
+ interface Record {
100
+ attribute(
101
+ """Slug of the attribute"""
102
+ slug: String!
103
+ ): AttributeValue
104
+
105
+ """The URL of the record in Attio."""
106
+ url: String!
107
+ }
108
+
109
+ union AttributeValue = RecordReferenceValue | MultiRecordReferenceValue | PersonalNameValue | MultiPersonalNameValue | TextValue | MultiTextValue | DateValue | MultiDateValue | TimestampValue | MultiTimestampValue | NumberValue | MultiNumberValue | EmailAddressValue | MultiEmailAddressValue | DomainValue | MultiDomainValue | LocationValue | MultiLocationValue | InteractionValue | MultiInteractionValue | SelectValue | MultiSelectValue | PipelineValue | MultiPipelineValue | CheckboxValue | MultiCheckboxValue | RatingValue | MultiRatingValue | PhoneNumberValue | MultiPhoneNumberValue | CurrencyValue | MultiCurrencyValue | ActorReferenceValue | MultiActorReferenceValue
110
+
111
+ type RecordReferenceValue {
112
+ value: Record
113
+ }
114
+
115
+ type MultiRecordReferenceValue {
116
+ values: [Record]
117
+ }
118
+
119
+ type PersonalNameValue {
120
+ value: PersonalName
121
+ }
122
+
123
+ type PersonalName {
124
+ first: String
125
+ last: String
126
+ full: String
127
+ }
128
+
129
+ type MultiPersonalNameValue {
130
+ values: [PersonalName]
131
+ }
132
+
133
+ type TextValue {
134
+ value: String
135
+ }
136
+
137
+ type MultiTextValue {
138
+ values: [String]
139
+ }
140
+
141
+ type DateValue {
142
+ value: String
143
+ }
144
+
145
+ type MultiDateValue {
146
+ values: [String]
147
+ }
148
+
149
+ type TimestampValue {
150
+ value: String
151
+ }
152
+
153
+ type MultiTimestampValue {
154
+ values: [String]
155
+ }
156
+
157
+ type NumberValue {
158
+ value: Float
159
+ }
160
+
161
+ type MultiNumberValue {
162
+ values: [Float]
163
+ }
164
+
165
+ type EmailAddressValue {
166
+ value: String
167
+ }
168
+
169
+ type MultiEmailAddressValue {
170
+ values: [String]
171
+ }
172
+
173
+ type DomainValue {
174
+ value: String
175
+ }
176
+
177
+ type MultiDomainValue {
178
+ values: [String]
179
+ }
180
+
181
+ type LocationValue {
182
+ value: Location
183
+ }
184
+
185
+ type Location {
186
+ line1: String
187
+ line2: String
188
+ line3: String
189
+ line4: String
190
+ locality: String
191
+ region: String
192
+ postcode: String
193
+ country: String
194
+ latitude: String
195
+ longitude: String
196
+ }
197
+
198
+ type MultiLocationValue {
199
+ values: [Location]
200
+ }
201
+
202
+ type InteractionValue {
203
+ value: Interaction
204
+ }
205
+
206
+ type Interaction {
207
+ timestamp: String!
208
+ }
209
+
210
+ type MultiInteractionValue {
211
+ values: [Interaction]
212
+ }
213
+
214
+ type SelectValue {
215
+ value: SelectOption
216
+ }
217
+
218
+ type SelectOption {
219
+ name: String!
220
+ id: String!
221
+ }
222
+
223
+ type MultiSelectValue {
224
+ values: [SelectOption]
225
+ }
226
+
227
+ type PipelineValue {
228
+ value: PipelineStage
229
+ }
230
+
231
+ type PipelineStage {
232
+ name: String!
233
+ id: String!
234
+ }
235
+
236
+ type MultiPipelineValue {
237
+ values: [PipelineStage]
238
+ }
239
+
240
+ type CheckboxValue {
241
+ value: Boolean!
242
+ }
243
+
244
+ type MultiCheckboxValue {
245
+ values: [Boolean!]
246
+ }
247
+
248
+ type RatingValue {
249
+ value: Int!
250
+ }
251
+
252
+ type MultiRatingValue {
253
+ values: [Int!]
254
+ }
255
+
256
+ type PhoneNumberValue {
257
+ value: String
258
+ }
259
+
260
+ type MultiPhoneNumberValue {
261
+ values: [String]
262
+ }
263
+
264
+ type CurrencyValue {
265
+ value: Money
266
+ }
267
+
268
+ type Money {
269
+ amount: Float!
270
+ currency: String!
271
+ }
272
+
273
+ type MultiCurrencyValue {
274
+ values: [Money]
275
+ }
276
+
277
+ type ActorReferenceValue {
278
+ value: Actor
279
+ }
280
+
281
+ """An actor inside Attio."""
282
+ union Actor = User | SystemActor
283
+
284
+ """An Attio user."""
285
+ type User {
286
+ email: String!
287
+ name: String!
288
+ }
289
+
290
+ """A system inside Attio."""
291
+ type SystemActor {
292
+ name: String
293
+ }
294
+
295
+ type MultiActorReferenceValue {
296
+ values: [Actor]
297
+ }
298
+
299
+ """A company record."""
300
+ type CompaniesRecord implements Record {
301
+ attribute(
302
+ """Slug of the attribute"""
303
+ slug: String!
304
+ ): AttributeValue
305
+
306
+ """The URL of the record in Attio."""
307
+ url: String!
308
+ domains: [String!]
309
+ name: String
310
+ description: String
311
+ team: [PeopleRecord!]
312
+ categories: [SelectOption!]
313
+ primary_location: Location
314
+ logo_url: String
315
+ angellist: String
316
+ facebook: String
317
+ instagram: String
318
+ linkedin: String
319
+ twitter: String
320
+ twitter_follower_count: Float
321
+ estimated_arr_usd: SelectOption
322
+ funding_raised_usd: Money
323
+ foundation_date: String
324
+ employee_range: SelectOption
325
+ first_calendar_interaction: Interaction
326
+ last_calendar_interaction: Interaction
327
+ next_calendar_interaction: Interaction
328
+ last_email_interaction: Interaction
329
+ first_interaction: Interaction
330
+ last_interaction: Interaction
331
+ associated_deals: [DealsRecord!]
332
+ associated_workspaces: [WorkspacesRecord!]
333
+ list_entries: [Record!]
334
+ created_at: String
335
+ created_by: Actor
336
+ }
337
+
338
+ """A deal record."""
339
+ type DealsRecord implements Record {
340
+ attribute(
341
+ """Slug of the attribute"""
342
+ slug: String!
343
+ ): AttributeValue
344
+
345
+ """The URL of the record in Attio."""
346
+ url: String!
347
+ name: String
348
+ stage: PipelineStage
349
+ owner: Actor
350
+ value: Money
351
+ associated_people: [PeopleRecord!]
352
+ associated_company: CompaniesRecord
353
+ list_entries: [Record!]
354
+ created_at: String
355
+ created_by: Actor
356
+ }
357
+
358
+ """A workspace record."""
359
+ type WorkspacesRecord implements Record {
360
+ attribute(
361
+ """Slug of the attribute"""
362
+ slug: String!
363
+ ): AttributeValue
364
+
365
+ """The URL of the record in Attio."""
366
+ url: String!
367
+ workspace_id: String
368
+ name: String
369
+ users: [UsersRecord!]
370
+ company: CompaniesRecord
371
+ avatar_url: String
372
+ list_entries: [Record!]
373
+ created_at: String
374
+ created_by: Actor
375
+ }
376
+
377
+ """A user record."""
378
+ type UsersRecord implements Record {
379
+ attribute(
380
+ """Slug of the attribute"""
381
+ slug: String!
382
+ ): AttributeValue
383
+
384
+ """The URL of the record in Attio."""
385
+ url: String!
386
+ person: PeopleRecord
387
+ primary_email_address: String
388
+ workspace: WorkspacesRecord
389
+ list_entries: [Record!]
390
+ created_at: String
391
+ created_by: Actor
392
+ }
393
+
394
+ """The company object in the workspace."""
395
+ type companies implements IObject {
396
+ """The name of the object."""
397
+ _name: String!
398
+
399
+ """The slug of the object."""
400
+ slug: String!
401
+
402
+ """The attributes of the object."""
403
+ attributes: [Attribute]
404
+ attribute(
405
+ """Slug of the attribute"""
406
+ slug: String!
407
+ ): Attribute
408
+ record(
409
+ """ID of the company record."""
410
+ id: String!
411
+ ): CompaniesRecord
412
+ }
413
+
414
+ """The deal object in the workspace."""
415
+ type deals implements IObject {
416
+ """The name of the object."""
417
+ _name: String!
418
+
419
+ """The slug of the object."""
420
+ slug: String!
421
+
422
+ """The attributes of the object."""
423
+ attributes: [Attribute]
424
+ attribute(
425
+ """Slug of the attribute"""
426
+ slug: String!
427
+ ): Attribute
428
+ record(
429
+ """ID of the deal record."""
430
+ id: String!
431
+ ): DealsRecord
432
+ }
433
+
434
+ """The workspace object in the workspace."""
435
+ type workspaces implements IObject {
436
+ """The name of the object."""
437
+ _name: String!
438
+
439
+ """The slug of the object."""
440
+ slug: String!
441
+
442
+ """The attributes of the object."""
443
+ attributes: [Attribute]
444
+ attribute(
445
+ """Slug of the attribute"""
446
+ slug: String!
447
+ ): Attribute
448
+ record(
449
+ """ID of the workspace record."""
450
+ id: String!
451
+ ): WorkspacesRecord
452
+ }
453
+
454
+ """The user object in the workspace."""
455
+ type users implements IObject {
456
+ """The name of the object."""
457
+ _name: String!
458
+
459
+ """The slug of the object."""
460
+ slug: String!
461
+
462
+ """The attributes of the object."""
463
+ attributes: [Attribute]
464
+ attribute(
465
+ """Slug of the attribute"""
466
+ slug: String!
467
+ ): Attribute
468
+ record(
469
+ """ID of the user record."""
470
+ id: String!
471
+ ): UsersRecord
472
+ }
473
+
474
+ """An object in the workspace."""
475
+ interface IObject {
476
+ """The name of the object."""
477
+ _name: String!
478
+
479
+ """The slug of the object."""
480
+ slug: String!
481
+
482
+ """The attributes of the object."""
483
+ attributes: [Attribute]
484
+ attribute(
485
+ """Slug of the attribute"""
486
+ slug: String!
487
+ ): Attribute
488
+ record(
489
+ """ID of the record."""
490
+ id: String!
491
+ ): Record
492
+ }
493
+
494
+ """An object in the workspace."""
495
+ type Object implements IObject {
496
+ """The name of the object."""
497
+ _name: String!
498
+
499
+ """The slug of the object."""
500
+ slug: String!
501
+
502
+ """The attributes of the object."""
503
+ attributes: [Attribute]
504
+ attribute(
505
+ """Slug of the attribute"""
506
+ slug: String!
507
+ ): Attribute
508
+ record(
509
+ """ID of the record."""
510
+ id: String!
511
+ ): Record
512
+ }
513
+
514
+ """An object attribute."""
515
+ type Attribute {
516
+ """The slug of the attribute."""
517
+ slug: String!
518
+
519
+ """The name of the attribute."""
520
+ name: String
521
+ }
522
+
523
+ """A record for a custom object."""
524
+ type CustomRecord implements Record {
525
+ attribute(
526
+ """Slug of the attribute"""
527
+ slug: String!
528
+ ): AttributeValue
529
+
530
+ """The URL of the record in Attio."""
531
+ url: String!
532
+ }
533
+
534
+ type Query {
535
+ workspace: Workspace
536
+ }