twenty-client-sdk 2.6.0 → 2.8.0

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.
@@ -170,7 +170,7 @@ export interface FieldPermission {
170
170
  export interface RolePermissionFlag {
171
171
  id: Scalars['UUID'];
172
172
  roleId: Scalars['UUID'];
173
- flag: PermissionFlagType;
173
+ flag: Scalars['String'];
174
174
  __typename: 'RolePermissionFlag';
175
175
  }
176
176
  export interface ApiKeyForRole {
@@ -346,6 +346,7 @@ export interface IndexField {
346
346
  id: Scalars['UUID'];
347
347
  fieldMetadataId: Scalars['UUID'];
348
348
  order: Scalars['Float'];
349
+ subFieldName?: Scalars['String'];
349
350
  createdAt: Scalars['DateTime'];
350
351
  updatedAt: Scalars['DateTime'];
351
352
  __typename: 'IndexField';
@@ -1235,6 +1236,18 @@ export interface WorkspaceUrls {
1235
1236
  subdomainUrl: Scalars['String'];
1236
1237
  __typename: 'WorkspaceUrls';
1237
1238
  }
1239
+ export interface ApplicationRegistrationVariableDTO {
1240
+ id: Scalars['UUID'];
1241
+ key: Scalars['String'];
1242
+ value?: Scalars['String'];
1243
+ description: Scalars['String'];
1244
+ isSecret: Scalars['Boolean'];
1245
+ isRequired: Scalars['Boolean'];
1246
+ isFilled: Scalars['Boolean'];
1247
+ createdAt: Scalars['DateTime'];
1248
+ updatedAt: Scalars['DateTime'];
1249
+ __typename: 'ApplicationRegistrationVariableDTO';
1250
+ }
1238
1251
  export interface BillingTrialPeriod {
1239
1252
  duration: Scalars['Float'];
1240
1253
  isCreditCardRequired: Scalars['Boolean'];
@@ -1415,18 +1428,6 @@ export interface RotateClientSecret {
1415
1428
  clientSecret: Scalars['String'];
1416
1429
  __typename: 'RotateClientSecret';
1417
1430
  }
1418
- export interface ApplicationRegistrationVariableDTO {
1419
- id: Scalars['UUID'];
1420
- key: Scalars['String'];
1421
- value?: Scalars['String'];
1422
- description: Scalars['String'];
1423
- isSecret: Scalars['Boolean'];
1424
- isRequired: Scalars['Boolean'];
1425
- isFilled: Scalars['Boolean'];
1426
- createdAt: Scalars['DateTime'];
1427
- updatedAt: Scalars['DateTime'];
1428
- __typename: 'ApplicationRegistrationVariableDTO';
1429
- }
1430
1431
  export interface Relation {
1431
1432
  type: RelationType;
1432
1433
  sourceObjectMetadata: Object;
@@ -1890,6 +1891,18 @@ export interface ImapSmtpCaldavConnectionSuccess {
1890
1891
  connectedAccountId: Scalars['String'];
1891
1892
  __typename: 'ImapSmtpCaldavConnectionSuccess';
1892
1893
  }
1894
+ export interface Webhook {
1895
+ id: Scalars['UUID'];
1896
+ targetUrl: Scalars['String'];
1897
+ operations: Scalars['String'][];
1898
+ description?: Scalars['String'];
1899
+ secret: Scalars['String'];
1900
+ applicationId: Scalars['UUID'];
1901
+ createdAt: Scalars['DateTime'];
1902
+ updatedAt: Scalars['DateTime'];
1903
+ deletedAt?: Scalars['DateTime'];
1904
+ __typename: 'Webhook';
1905
+ }
1893
1906
  export interface ToolIndexEntry {
1894
1907
  name: Scalars['String'];
1895
1908
  description: Scalars['String'];
@@ -2212,18 +2225,6 @@ export interface MinimalMetadata {
2212
2225
  collectionHashes: CollectionHash[];
2213
2226
  __typename: 'MinimalMetadata';
2214
2227
  }
2215
- export interface Webhook {
2216
- id: Scalars['UUID'];
2217
- targetUrl: Scalars['String'];
2218
- operations: Scalars['String'][];
2219
- description?: Scalars['String'];
2220
- secret: Scalars['String'];
2221
- applicationId: Scalars['UUID'];
2222
- createdAt: Scalars['DateTime'];
2223
- updatedAt: Scalars['DateTime'];
2224
- deletedAt?: Scalars['DateTime'];
2225
- __typename: 'Webhook';
2226
- }
2227
2228
  export interface Query {
2228
2229
  navigationMenuItems: NavigationMenuItem[];
2229
2230
  navigationMenuItem?: NavigationMenuItem;
@@ -2274,6 +2275,8 @@ export interface Query {
2274
2275
  getRoles: Role[];
2275
2276
  getToolIndex: ToolIndexEntry[];
2276
2277
  getToolInputSchema?: Scalars['JSON'];
2278
+ webhooks: Webhook[];
2279
+ webhook?: Webhook;
2277
2280
  field: Field;
2278
2281
  fields: FieldConnection;
2279
2282
  getViewGroups: ViewGroup[];
@@ -2281,11 +2284,7 @@ export interface Query {
2281
2284
  myMessageFolders: MessageFolder[];
2282
2285
  myMessageChannels: MessageChannel[];
2283
2286
  myConnectedAccounts: ConnectedAccountPublicDTO[];
2284
- connectedAccountById?: ConnectedAccountPublicDTO;
2285
- connectedAccounts: ConnectedAccountPublicDTO[];
2286
2287
  myCalendarChannels: CalendarChannel[];
2287
- webhooks: Webhook[];
2288
- webhook?: Webhook;
2289
2288
  minimalMetadata: MinimalMetadata;
2290
2289
  chatThreads: AgentChatThread[];
2291
2290
  chatThread: AgentChatThread;
@@ -2424,6 +2423,8 @@ export interface Mutation {
2424
2423
  createOneObject: Object;
2425
2424
  deleteOneObject: Object;
2426
2425
  updateOneObject: Object;
2426
+ createOneIndex: Index;
2427
+ deleteOneIndex: Index;
2427
2428
  createOneAgent: Agent;
2428
2429
  updateOneAgent: Agent;
2429
2430
  deleteOneAgent: Agent;
@@ -2437,6 +2438,9 @@ export interface Mutation {
2437
2438
  upsertRowLevelPermissionPredicates: UpsertRowLevelPermissionPredicatesResult;
2438
2439
  assignRoleToAgent: Scalars['Boolean'];
2439
2440
  removeRoleFromAgent: Scalars['Boolean'];
2441
+ createWebhook: Webhook;
2442
+ updateWebhook: Webhook;
2443
+ deleteWebhook: Webhook;
2440
2444
  createOneField: Field;
2441
2445
  updateOneField: Field;
2442
2446
  deleteOneField: Field;
@@ -2453,9 +2457,6 @@ export interface Mutation {
2453
2457
  deleteEmailGroupChannel: MessageChannel;
2454
2458
  deleteConnectedAccount: ConnectedAccountPublicDTO;
2455
2459
  updateCalendarChannel: CalendarChannel;
2456
- createWebhook: Webhook;
2457
- updateWebhook: Webhook;
2458
- deleteWebhook: Webhook;
2459
2460
  createChatThread: AgentChatThread;
2460
2461
  sendChatMessage: SendChatMessageResult;
2461
2462
  stopAgentChatStream: Scalars['Boolean'];
@@ -2509,7 +2510,6 @@ export interface Mutation {
2509
2510
  updateWorkspace: Workspace;
2510
2511
  deleteCurrentWorkspace: Workspace;
2511
2512
  checkCustomDomainValidRecords?: DomainValidRecords;
2512
- installApplication: Scalars['Boolean'];
2513
2513
  runWorkspaceMigration: Scalars['Boolean'];
2514
2514
  uninstallApplication: Scalars['Boolean'];
2515
2515
  createOIDCIdentityProvider: SetupSso;
@@ -2530,7 +2530,9 @@ export interface Mutation {
2530
2530
  deleteEmailingDomain: Scalars['Boolean'];
2531
2531
  verifyEmailingDomain: EmailingDomain;
2532
2532
  createOneAppToken: AppToken;
2533
+ /** @deprecated Use installApplication instead */
2533
2534
  installMarketplaceApp: Scalars['Boolean'];
2535
+ installApplication: Application;
2534
2536
  syncMarketplaceCatalog: Scalars['Boolean'];
2535
2537
  createDevelopmentApplication: DevelopmentApplication;
2536
2538
  generateApplicationToken: ApplicationTokenPair;
@@ -2905,6 +2907,7 @@ export interface IndexFieldGenqlSelection {
2905
2907
  id?: boolean | number;
2906
2908
  fieldMetadataId?: boolean | number;
2907
2909
  order?: boolean | number;
2910
+ subFieldName?: boolean | number;
2908
2911
  createdAt?: boolean | number;
2909
2912
  updatedAt?: boolean | number;
2910
2913
  __typename?: boolean | number;
@@ -3949,6 +3952,19 @@ export interface WorkspaceUrlsGenqlSelection {
3949
3952
  __typename?: boolean | number;
3950
3953
  __scalar?: boolean | number;
3951
3954
  }
3955
+ export interface ApplicationRegistrationVariableDTOGenqlSelection {
3956
+ id?: boolean | number;
3957
+ key?: boolean | number;
3958
+ value?: boolean | number;
3959
+ description?: boolean | number;
3960
+ isSecret?: boolean | number;
3961
+ isRequired?: boolean | number;
3962
+ isFilled?: boolean | number;
3963
+ createdAt?: boolean | number;
3964
+ updatedAt?: boolean | number;
3965
+ __typename?: boolean | number;
3966
+ __scalar?: boolean | number;
3967
+ }
3952
3968
  export interface BillingTrialPeriodGenqlSelection {
3953
3969
  duration?: boolean | number;
3954
3970
  isCreditCardRequired?: boolean | number;
@@ -4147,19 +4163,6 @@ export interface RotateClientSecretGenqlSelection {
4147
4163
  __typename?: boolean | number;
4148
4164
  __scalar?: boolean | number;
4149
4165
  }
4150
- export interface ApplicationRegistrationVariableDTOGenqlSelection {
4151
- id?: boolean | number;
4152
- key?: boolean | number;
4153
- value?: boolean | number;
4154
- description?: boolean | number;
4155
- isSecret?: boolean | number;
4156
- isRequired?: boolean | number;
4157
- isFilled?: boolean | number;
4158
- createdAt?: boolean | number;
4159
- updatedAt?: boolean | number;
4160
- __typename?: boolean | number;
4161
- __scalar?: boolean | number;
4162
- }
4163
4166
  export interface RelationGenqlSelection {
4164
4167
  type?: boolean | number;
4165
4168
  sourceObjectMetadata?: ObjectGenqlSelection;
@@ -4688,6 +4691,19 @@ export interface ImapSmtpCaldavConnectionSuccessGenqlSelection {
4688
4691
  __typename?: boolean | number;
4689
4692
  __scalar?: boolean | number;
4690
4693
  }
4694
+ export interface WebhookGenqlSelection {
4695
+ id?: boolean | number;
4696
+ targetUrl?: boolean | number;
4697
+ operations?: boolean | number;
4698
+ description?: boolean | number;
4699
+ secret?: boolean | number;
4700
+ applicationId?: boolean | number;
4701
+ createdAt?: boolean | number;
4702
+ updatedAt?: boolean | number;
4703
+ deletedAt?: boolean | number;
4704
+ __typename?: boolean | number;
4705
+ __scalar?: boolean | number;
4706
+ }
4691
4707
  export interface ToolIndexEntryGenqlSelection {
4692
4708
  name?: boolean | number;
4693
4709
  description?: boolean | number;
@@ -5030,19 +5046,6 @@ export interface MinimalMetadataGenqlSelection {
5030
5046
  __typename?: boolean | number;
5031
5047
  __scalar?: boolean | number;
5032
5048
  }
5033
- export interface WebhookGenqlSelection {
5034
- id?: boolean | number;
5035
- targetUrl?: boolean | number;
5036
- operations?: boolean | number;
5037
- description?: boolean | number;
5038
- secret?: boolean | number;
5039
- applicationId?: boolean | number;
5040
- createdAt?: boolean | number;
5041
- updatedAt?: boolean | number;
5042
- deletedAt?: boolean | number;
5043
- __typename?: boolean | number;
5044
- __scalar?: boolean | number;
5045
- }
5046
5049
  export interface QueryGenqlSelection {
5047
5050
  navigationMenuItems?: NavigationMenuItemGenqlSelection;
5048
5051
  navigationMenuItem?: (NavigationMenuItemGenqlSelection & {
@@ -5243,6 +5246,12 @@ export interface QueryGenqlSelection {
5243
5246
  toolName: Scalars['String'];
5244
5247
  };
5245
5248
  };
5249
+ webhooks?: WebhookGenqlSelection;
5250
+ webhook?: (WebhookGenqlSelection & {
5251
+ __args: {
5252
+ id: Scalars['UUID'];
5253
+ };
5254
+ });
5246
5255
  field?: (FieldGenqlSelection & {
5247
5256
  __args: {
5248
5257
  /** The id of the record to find. */
@@ -5278,23 +5287,11 @@ export interface QueryGenqlSelection {
5278
5287
  };
5279
5288
  });
5280
5289
  myConnectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
5281
- connectedAccountById?: (ConnectedAccountPublicDTOGenqlSelection & {
5282
- __args: {
5283
- id: Scalars['UUID'];
5284
- };
5285
- });
5286
- connectedAccounts?: ConnectedAccountPublicDTOGenqlSelection;
5287
5290
  myCalendarChannels?: (CalendarChannelGenqlSelection & {
5288
5291
  __args?: {
5289
5292
  connectedAccountId?: (Scalars['UUID'] | null);
5290
5293
  };
5291
5294
  });
5292
- webhooks?: WebhookGenqlSelection;
5293
- webhook?: (WebhookGenqlSelection & {
5294
- __args: {
5295
- id: Scalars['UUID'];
5296
- };
5297
- });
5298
5295
  minimalMetadata?: MinimalMetadataGenqlSelection;
5299
5296
  chatThreads?: AgentChatThreadGenqlSelection;
5300
5297
  chatThread?: (AgentChatThreadGenqlSelection & {
@@ -5953,6 +5950,16 @@ export interface MutationGenqlSelection {
5953
5950
  input: UpdateOneObjectInput;
5954
5951
  };
5955
5952
  });
5953
+ createOneIndex?: (IndexGenqlSelection & {
5954
+ __args: {
5955
+ input: CreateOneIndexInput;
5956
+ };
5957
+ });
5958
+ deleteOneIndex?: (IndexGenqlSelection & {
5959
+ __args: {
5960
+ input: DeleteOneIndexInput;
5961
+ };
5962
+ });
5956
5963
  createOneAgent?: (AgentGenqlSelection & {
5957
5964
  __args: {
5958
5965
  input: CreateAgentInput;
@@ -6020,6 +6027,21 @@ export interface MutationGenqlSelection {
6020
6027
  agentId: Scalars['UUID'];
6021
6028
  };
6022
6029
  };
6030
+ createWebhook?: (WebhookGenqlSelection & {
6031
+ __args: {
6032
+ input: CreateWebhookInput;
6033
+ };
6034
+ });
6035
+ updateWebhook?: (WebhookGenqlSelection & {
6036
+ __args: {
6037
+ input: UpdateWebhookInput;
6038
+ };
6039
+ });
6040
+ deleteWebhook?: (WebhookGenqlSelection & {
6041
+ __args: {
6042
+ id: Scalars['UUID'];
6043
+ };
6044
+ });
6023
6045
  createOneField?: (FieldGenqlSelection & {
6024
6046
  __args: {
6025
6047
  input: CreateOneFieldMetadataInput;
@@ -6100,21 +6122,6 @@ export interface MutationGenqlSelection {
6100
6122
  input: UpdateCalendarChannelInput;
6101
6123
  };
6102
6124
  });
6103
- createWebhook?: (WebhookGenqlSelection & {
6104
- __args: {
6105
- input: CreateWebhookInput;
6106
- };
6107
- });
6108
- updateWebhook?: (WebhookGenqlSelection & {
6109
- __args: {
6110
- input: UpdateWebhookInput;
6111
- };
6112
- });
6113
- deleteWebhook?: (WebhookGenqlSelection & {
6114
- __args: {
6115
- id: Scalars['UUID'];
6116
- };
6117
- });
6118
6125
  createChatThread?: AgentChatThreadGenqlSelection;
6119
6126
  sendChatMessage?: (SendChatMessageResultGenqlSelection & {
6120
6127
  __args: {
@@ -6400,12 +6407,6 @@ export interface MutationGenqlSelection {
6400
6407
  });
6401
6408
  deleteCurrentWorkspace?: WorkspaceGenqlSelection;
6402
6409
  checkCustomDomainValidRecords?: DomainValidRecordsGenqlSelection;
6403
- installApplication?: {
6404
- __args: {
6405
- appRegistrationId: Scalars['String'];
6406
- version?: (Scalars['String'] | null);
6407
- };
6408
- };
6409
6410
  runWorkspaceMigration?: {
6410
6411
  __args: {
6411
6412
  workspaceMigration: WorkspaceMigrationInput;
@@ -6512,12 +6513,19 @@ export interface MutationGenqlSelection {
6512
6513
  input: CreateOneAppTokenInput;
6513
6514
  };
6514
6515
  });
6516
+ /** @deprecated Use installApplication instead */
6515
6517
  installMarketplaceApp?: {
6516
6518
  __args: {
6517
6519
  universalIdentifier: Scalars['String'];
6518
6520
  version?: (Scalars['String'] | null);
6519
6521
  };
6520
6522
  };
6523
+ installApplication?: (ApplicationGenqlSelection & {
6524
+ __args: {
6525
+ universalIdentifier: Scalars['String'];
6526
+ version?: (Scalars['String'] | null);
6527
+ };
6528
+ });
6521
6529
  syncMarketplaceCatalog?: boolean | number;
6522
6530
  createDevelopmentApplication?: (DevelopmentApplicationGenqlSelection & {
6523
6531
  __args: {
@@ -7057,6 +7065,23 @@ export interface UpdateObjectPayload {
7057
7065
  isLabelSyncedWithName?: (Scalars['Boolean'] | null);
7058
7066
  isSearchable?: (Scalars['Boolean'] | null);
7059
7067
  }
7068
+ export interface CreateOneIndexInput {
7069
+ /** The custom index to create */
7070
+ index: CreateIndexInput;
7071
+ }
7072
+ export interface CreateIndexInput {
7073
+ objectMetadataId: Scalars['UUID'];
7074
+ fields: CreateIndexFieldInput[];
7075
+ indexType: IndexType;
7076
+ }
7077
+ export interface CreateIndexFieldInput {
7078
+ fieldMetadataId: Scalars['UUID'];
7079
+ subFieldName?: (Scalars['String'] | null);
7080
+ }
7081
+ export interface DeleteOneIndexInput {
7082
+ /** The id of the custom index to delete. */
7083
+ id: Scalars['UUID'];
7084
+ }
7060
7085
  export interface CreateAgentInput {
7061
7086
  name?: (Scalars['String'] | null);
7062
7087
  label: Scalars['String'];
@@ -7129,7 +7154,7 @@ export interface ObjectPermissionInput {
7129
7154
  }
7130
7155
  export interface UpsertPermissionFlagsInput {
7131
7156
  roleId: Scalars['UUID'];
7132
- permissionFlagKeys: PermissionFlagType[];
7157
+ permissionFlagKeys: Scalars['String'][];
7133
7158
  }
7134
7159
  export interface UpsertFieldPermissionsInput {
7135
7160
  roleId: Scalars['UUID'];
@@ -7165,6 +7190,25 @@ export interface RowLevelPermissionPredicateGroupInput {
7165
7190
  logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
7166
7191
  positionInRowLevelPermissionPredicateGroup?: (Scalars['Float'] | null);
7167
7192
  }
7193
+ export interface CreateWebhookInput {
7194
+ id?: (Scalars['UUID'] | null);
7195
+ targetUrl: Scalars['String'];
7196
+ operations: Scalars['String'][];
7197
+ description?: (Scalars['String'] | null);
7198
+ secret?: (Scalars['String'] | null);
7199
+ }
7200
+ export interface UpdateWebhookInput {
7201
+ /** The id of the webhook to update */
7202
+ id: Scalars['UUID'];
7203
+ /** The webhook fields to update */
7204
+ update: UpdateWebhookInputUpdates;
7205
+ }
7206
+ export interface UpdateWebhookInputUpdates {
7207
+ targetUrl?: (Scalars['String'] | null);
7208
+ operations?: (Scalars['String'][] | null);
7209
+ description?: (Scalars['String'] | null);
7210
+ secret?: (Scalars['String'] | null);
7211
+ }
7168
7212
  export interface CreateOneFieldMetadataInput {
7169
7213
  /** The record to create */
7170
7214
  field: CreateFieldInput;
@@ -7282,25 +7326,6 @@ export interface UpdateCalendarChannelInputUpdates {
7282
7326
  contactAutoCreationPolicy?: (CalendarChannelContactAutoCreationPolicy | null);
7283
7327
  isSyncEnabled?: (Scalars['Boolean'] | null);
7284
7328
  }
7285
- export interface CreateWebhookInput {
7286
- id?: (Scalars['UUID'] | null);
7287
- targetUrl: Scalars['String'];
7288
- operations: Scalars['String'][];
7289
- description?: (Scalars['String'] | null);
7290
- secret?: (Scalars['String'] | null);
7291
- }
7292
- export interface UpdateWebhookInput {
7293
- /** The id of the webhook to update */
7294
- id: Scalars['UUID'];
7295
- /** The webhook fields to update */
7296
- update: UpdateWebhookInputUpdates;
7297
- }
7298
- export interface UpdateWebhookInputUpdates {
7299
- targetUrl?: (Scalars['String'] | null);
7300
- operations?: (Scalars['String'][] | null);
7301
- description?: (Scalars['String'] | null);
7302
- secret?: (Scalars['String'] | null);
7303
- }
7304
7329
  export interface FileAttachmentInput {
7305
7330
  id: Scalars['UUID'];
7306
7331
  filename: Scalars['String'];
@@ -7822,6 +7847,9 @@ export declare const isFeatureFlag: (obj?: {
7822
7847
  export declare const isWorkspaceUrls: (obj?: {
7823
7848
  __typename?: any;
7824
7849
  } | null | undefined) => obj is WorkspaceUrls;
7850
+ export declare const isApplicationRegistrationVariableDTO: (obj?: {
7851
+ __typename?: any;
7852
+ } | null | undefined) => obj is ApplicationRegistrationVariableDTO;
7825
7853
  export declare const isBillingTrialPeriod: (obj?: {
7826
7854
  __typename?: any;
7827
7855
  } | null | undefined) => obj is BillingTrialPeriod;
@@ -7891,9 +7919,6 @@ export declare const isPublicApplicationRegistration: (obj?: {
7891
7919
  export declare const isRotateClientSecret: (obj?: {
7892
7920
  __typename?: any;
7893
7921
  } | null | undefined) => obj is RotateClientSecret;
7894
- export declare const isApplicationRegistrationVariableDTO: (obj?: {
7895
- __typename?: any;
7896
- } | null | undefined) => obj is ApplicationRegistrationVariableDTO;
7897
7922
  export declare const isRelation: (obj?: {
7898
7923
  __typename?: any;
7899
7924
  } | null | undefined) => obj is Relation;
@@ -8104,6 +8129,9 @@ export declare const isConnectedImapSmtpCaldavAccount: (obj?: {
8104
8129
  export declare const isImapSmtpCaldavConnectionSuccess: (obj?: {
8105
8130
  __typename?: any;
8106
8131
  } | null | undefined) => obj is ImapSmtpCaldavConnectionSuccess;
8132
+ export declare const isWebhook: (obj?: {
8133
+ __typename?: any;
8134
+ } | null | undefined) => obj is Webhook;
8107
8135
  export declare const isToolIndexEntry: (obj?: {
8108
8136
  __typename?: any;
8109
8137
  } | null | undefined) => obj is ToolIndexEntry;
@@ -8203,9 +8231,6 @@ export declare const isMinimalView: (obj?: {
8203
8231
  export declare const isMinimalMetadata: (obj?: {
8204
8232
  __typename?: any;
8205
8233
  } | null | undefined) => obj is MinimalMetadata;
8206
- export declare const isWebhook: (obj?: {
8207
- __typename?: any;
8208
- } | null | undefined) => obj is Webhook;
8209
8234
  export declare const isQuery: (obj?: {
8210
8235
  __typename?: any;
8211
8236
  } | null | undefined) => obj is Query;