@droz-js/sdk 0.6.7 → 0.6.9

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.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  /* istanbul ignore file */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0;
5
- exports.serviceName = exports.getSdk = void 0;
4
+ exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0;
5
+ exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = void 0;
6
6
  var AppInstanceStatus;
7
7
  (function (AppInstanceStatus) {
8
8
  AppInstanceStatus["Active"] = "Active";
@@ -89,7 +89,7 @@ exports.TagFragmentDoc = `
89
89
  createdAt
90
90
  updatedAt
91
91
  }
92
- ${exports.DrozChatAgentFragmentDoc}`;
92
+ `;
93
93
  exports.CustomerFragmentDoc = `
94
94
  fragment customer on DrozChatCustomer {
95
95
  id
@@ -167,10 +167,7 @@ exports.TicketFragmentDoc = `
167
167
  lastMessage
168
168
  unreadMessagesCount
169
169
  }
170
- ${exports.DrozChatAgentFragmentDoc}
171
- ${exports.CustomerFragmentDoc}
172
- ${exports.TicketTriggerAppFragmentDoc}
173
- ${exports.DrozChatChannelFragmentDoc}`;
170
+ `;
174
171
  exports.SessionAttributesFragmentDoc = `
175
172
  fragment sessionAttributes on TicketSessionAttributes {
176
173
  organization
@@ -188,8 +185,7 @@ exports.TicketWithSessionFragmentDoc = `
188
185
  ...sessionAttributes
189
186
  }
190
187
  }
191
- ${exports.TicketFragmentDoc}
192
- ${exports.SessionAttributesFragmentDoc}`;
188
+ `;
193
189
  exports.TicketMessageFragmentDoc = `
194
190
  fragment ticketMessage on TicketMessage {
195
191
  id
@@ -205,6 +201,49 @@ exports.TicketMessageFragmentDoc = `
205
201
  updatedAt
206
202
  }
207
203
  `;
204
+ exports.FacetsFragmentDoc = `
205
+ fragment facets on TicketsSearchResultsFacet {
206
+ ... on SearchResultsFacet {
207
+ name
208
+ values {
209
+ value
210
+ count
211
+ }
212
+ stats {
213
+ min
214
+ max
215
+ }
216
+ }
217
+ ... on AgentSearchResultsFacet {
218
+ name
219
+ values {
220
+ agent {
221
+ id
222
+ name
223
+ }
224
+ count
225
+ }
226
+ stats {
227
+ min
228
+ max
229
+ }
230
+ }
231
+ ... on ChannelSearchResultsFacet {
232
+ name
233
+ values {
234
+ channel {
235
+ id
236
+ name
237
+ }
238
+ count
239
+ }
240
+ stats {
241
+ min
242
+ max
243
+ }
244
+ }
245
+ }
246
+ `;
208
247
  exports.GetDrozChatChannelDocument = `
209
248
  query getDrozChatChannel($id: ID!) {
210
249
  getDrozChatChannel(id: $id) {
@@ -280,28 +319,37 @@ exports.ListTagsDocument = `
280
319
  }
281
320
  }
282
321
  }
283
- ${exports.TagFragmentDoc}`;
322
+ ${exports.TagFragmentDoc}
323
+ ${exports.DrozChatAgentFragmentDoc}`;
284
324
  exports.CreateTagsDocument = `
285
325
  mutation createTags($input: CreateTicketTagInput!) {
286
326
  createTags(input: $input) {
287
327
  ...tag
288
328
  }
289
329
  }
290
- ${exports.TagFragmentDoc}`;
330
+ ${exports.TagFragmentDoc}
331
+ ${exports.DrozChatAgentFragmentDoc}`;
291
332
  exports.DeleteTagsDocument = `
292
333
  mutation deleteTags($input: DeleteTicketTagInput!) {
293
334
  deleteTags(input: $input) {
294
335
  ...tag
295
336
  }
296
337
  }
297
- ${exports.TagFragmentDoc}`;
338
+ ${exports.TagFragmentDoc}
339
+ ${exports.DrozChatAgentFragmentDoc}`;
298
340
  exports.GetTicketDocument = `
299
341
  query getTicket($id: ID!) {
300
342
  getTicket(id: $id) {
301
343
  ...ticketWithSession
302
344
  }
303
345
  }
304
- ${exports.TicketWithSessionFragmentDoc}`;
346
+ ${exports.TicketWithSessionFragmentDoc}
347
+ ${exports.TicketFragmentDoc}
348
+ ${exports.DrozChatAgentFragmentDoc}
349
+ ${exports.CustomerFragmentDoc}
350
+ ${exports.TicketTriggerAppFragmentDoc}
351
+ ${exports.DrozChatChannelFragmentDoc}
352
+ ${exports.SessionAttributesFragmentDoc}`;
305
353
  exports.ListTicketsDocument = `
306
354
  query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {
307
355
  listTickets(
@@ -319,7 +367,11 @@ exports.ListTicketsDocument = `
319
367
  }
320
368
  }
321
369
  }
322
- ${exports.TicketFragmentDoc}`;
370
+ ${exports.TicketFragmentDoc}
371
+ ${exports.DrozChatAgentFragmentDoc}
372
+ ${exports.CustomerFragmentDoc}
373
+ ${exports.TicketTriggerAppFragmentDoc}
374
+ ${exports.DrozChatChannelFragmentDoc}`;
323
375
  exports.ListTicketsInProgressMineDocument = `
324
376
  query listTicketsInProgressMine($next: Base64) {
325
377
  listTicketsInProgressMine(next: $next) {
@@ -332,7 +384,11 @@ exports.ListTicketsInProgressMineDocument = `
332
384
  }
333
385
  }
334
386
  }
335
- ${exports.TicketFragmentDoc}`;
387
+ ${exports.TicketFragmentDoc}
388
+ ${exports.DrozChatAgentFragmentDoc}
389
+ ${exports.CustomerFragmentDoc}
390
+ ${exports.TicketTriggerAppFragmentDoc}
391
+ ${exports.DrozChatChannelFragmentDoc}`;
336
392
  exports.ListTicketMessagesDocument = `
337
393
  query listTicketMessages($ticketId: ID!, $channelId: ID!, $next: Base64) {
338
394
  listTicketMessages(ticketId: $ticketId, channelId: $channelId, next: $next) {
@@ -367,33 +423,42 @@ exports.SearchTicketsDocument = `
367
423
  searchTime
368
424
  }
369
425
  facets {
370
- name
371
- values {
372
- value
373
- count
374
- }
375
- stats {
376
- min
377
- max
378
- }
426
+ ...facets
379
427
  }
380
428
  }
381
429
  }
382
- ${exports.TicketFragmentDoc}`;
430
+ ${exports.TicketFragmentDoc}
431
+ ${exports.DrozChatAgentFragmentDoc}
432
+ ${exports.CustomerFragmentDoc}
433
+ ${exports.TicketTriggerAppFragmentDoc}
434
+ ${exports.DrozChatChannelFragmentDoc}
435
+ ${exports.FacetsFragmentDoc}`;
383
436
  exports.CreateTicketDocument = `
384
437
  mutation createTicket($input: CreateTicketInput!) {
385
438
  createTicket(input: $input) {
386
439
  ...ticketWithSession
387
440
  }
388
441
  }
389
- ${exports.TicketWithSessionFragmentDoc}`;
442
+ ${exports.TicketWithSessionFragmentDoc}
443
+ ${exports.TicketFragmentDoc}
444
+ ${exports.DrozChatAgentFragmentDoc}
445
+ ${exports.CustomerFragmentDoc}
446
+ ${exports.TicketTriggerAppFragmentDoc}
447
+ ${exports.DrozChatChannelFragmentDoc}
448
+ ${exports.SessionAttributesFragmentDoc}`;
390
449
  exports.UpdateTicketDocument = `
391
450
  mutation updateTicket($input: UpdateTicketInput!) {
392
451
  updateTicket(input: $input) {
393
452
  ...ticketWithSession
394
453
  }
395
454
  }
396
- ${exports.TicketWithSessionFragmentDoc}`;
455
+ ${exports.TicketWithSessionFragmentDoc}
456
+ ${exports.TicketFragmentDoc}
457
+ ${exports.DrozChatAgentFragmentDoc}
458
+ ${exports.CustomerFragmentDoc}
459
+ ${exports.TicketTriggerAppFragmentDoc}
460
+ ${exports.DrozChatChannelFragmentDoc}
461
+ ${exports.SessionAttributesFragmentDoc}`;
397
462
  exports.MarkTicketMessagesAsReadDocument = `
398
463
  mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {
399
464
  markTicketMessagesAsRead(input: $input)
@@ -419,49 +484,91 @@ exports.AssignTicketDocument = `
419
484
  ...ticketWithSession
420
485
  }
421
486
  }
422
- ${exports.TicketWithSessionFragmentDoc}`;
487
+ ${exports.TicketWithSessionFragmentDoc}
488
+ ${exports.TicketFragmentDoc}
489
+ ${exports.DrozChatAgentFragmentDoc}
490
+ ${exports.CustomerFragmentDoc}
491
+ ${exports.TicketTriggerAppFragmentDoc}
492
+ ${exports.DrozChatChannelFragmentDoc}
493
+ ${exports.SessionAttributesFragmentDoc}`;
423
494
  exports.AssignTicketMyselfDocument = `
424
495
  mutation assignTicketMyself($input: AssignTicketMyselfInput!) {
425
496
  assignTicketMyself(input: $input) {
426
497
  ...ticketWithSession
427
498
  }
428
499
  }
429
- ${exports.TicketWithSessionFragmentDoc}`;
500
+ ${exports.TicketWithSessionFragmentDoc}
501
+ ${exports.TicketFragmentDoc}
502
+ ${exports.DrozChatAgentFragmentDoc}
503
+ ${exports.CustomerFragmentDoc}
504
+ ${exports.TicketTriggerAppFragmentDoc}
505
+ ${exports.DrozChatChannelFragmentDoc}
506
+ ${exports.SessionAttributesFragmentDoc}`;
430
507
  exports.UnassignTicketDocument = `
431
508
  mutation unassignTicket($input: UnassignTicketInput!) {
432
509
  unassignTicket(input: $input) {
433
510
  ...ticketWithSession
434
511
  }
435
512
  }
436
- ${exports.TicketWithSessionFragmentDoc}`;
513
+ ${exports.TicketWithSessionFragmentDoc}
514
+ ${exports.TicketFragmentDoc}
515
+ ${exports.DrozChatAgentFragmentDoc}
516
+ ${exports.CustomerFragmentDoc}
517
+ ${exports.TicketTriggerAppFragmentDoc}
518
+ ${exports.DrozChatChannelFragmentDoc}
519
+ ${exports.SessionAttributesFragmentDoc}`;
437
520
  exports.CloseTicketDocument = `
438
521
  mutation closeTicket($input: CloseTicketInput!) {
439
522
  closeTicket(input: $input) {
440
523
  ...ticketWithSession
441
524
  }
442
525
  }
443
- ${exports.TicketWithSessionFragmentDoc}`;
526
+ ${exports.TicketWithSessionFragmentDoc}
527
+ ${exports.TicketFragmentDoc}
528
+ ${exports.DrozChatAgentFragmentDoc}
529
+ ${exports.CustomerFragmentDoc}
530
+ ${exports.TicketTriggerAppFragmentDoc}
531
+ ${exports.DrozChatChannelFragmentDoc}
532
+ ${exports.SessionAttributesFragmentDoc}`;
444
533
  exports.AddTagsToTicketDocument = `
445
534
  mutation addTagsToTicket($input: AddTagsToTicketInput!) {
446
535
  addTagsToTicket(input: $input) {
447
536
  ...ticketWithSession
448
537
  }
449
538
  }
450
- ${exports.TicketWithSessionFragmentDoc}`;
539
+ ${exports.TicketWithSessionFragmentDoc}
540
+ ${exports.TicketFragmentDoc}
541
+ ${exports.DrozChatAgentFragmentDoc}
542
+ ${exports.CustomerFragmentDoc}
543
+ ${exports.TicketTriggerAppFragmentDoc}
544
+ ${exports.DrozChatChannelFragmentDoc}
545
+ ${exports.SessionAttributesFragmentDoc}`;
451
546
  exports.RemoveTagsFromTicketDocument = `
452
547
  mutation removeTagsFromTicket($input: RemoveTagsFromTicketInput!) {
453
548
  removeTagsFromTicket(input: $input) {
454
549
  ...ticketWithSession
455
550
  }
456
551
  }
457
- ${exports.TicketWithSessionFragmentDoc}`;
552
+ ${exports.TicketWithSessionFragmentDoc}
553
+ ${exports.TicketFragmentDoc}
554
+ ${exports.DrozChatAgentFragmentDoc}
555
+ ${exports.CustomerFragmentDoc}
556
+ ${exports.TicketTriggerAppFragmentDoc}
557
+ ${exports.DrozChatChannelFragmentDoc}
558
+ ${exports.SessionAttributesFragmentDoc}`;
458
559
  exports.TransferTicketToChannelDocument = `
459
560
  mutation transferTicketToChannel($input: TransferTicketToChannelInput!) {
460
561
  transferTicketToChannel(input: $input) {
461
562
  ...ticketWithSession
462
563
  }
463
564
  }
464
- ${exports.TicketWithSessionFragmentDoc}`;
565
+ ${exports.TicketWithSessionFragmentDoc}
566
+ ${exports.TicketFragmentDoc}
567
+ ${exports.DrozChatAgentFragmentDoc}
568
+ ${exports.CustomerFragmentDoc}
569
+ ${exports.TicketTriggerAppFragmentDoc}
570
+ ${exports.DrozChatChannelFragmentDoc}
571
+ ${exports.SessionAttributesFragmentDoc}`;
465
572
  exports.OnTicketInProgressMineDocument = `
466
573
  subscription onTicketInProgressMine {
467
574
  onTicketInProgressMine {
@@ -471,7 +578,13 @@ exports.OnTicketInProgressMineDocument = `
471
578
  action
472
579
  }
473
580
  }
474
- ${exports.TicketWithSessionFragmentDoc}`;
581
+ ${exports.TicketWithSessionFragmentDoc}
582
+ ${exports.TicketFragmentDoc}
583
+ ${exports.DrozChatAgentFragmentDoc}
584
+ ${exports.CustomerFragmentDoc}
585
+ ${exports.TicketTriggerAppFragmentDoc}
586
+ ${exports.DrozChatChannelFragmentDoc}
587
+ ${exports.SessionAttributesFragmentDoc}`;
475
588
  exports.OnTicketByStateDocument = `
476
589
  subscription onTicketByState($state: TicketState!) {
477
590
  onTicketByState(state: $state) {
@@ -481,7 +594,13 @@ exports.OnTicketByStateDocument = `
481
594
  action
482
595
  }
483
596
  }
484
- ${exports.TicketWithSessionFragmentDoc}`;
597
+ ${exports.TicketWithSessionFragmentDoc}
598
+ ${exports.TicketFragmentDoc}
599
+ ${exports.DrozChatAgentFragmentDoc}
600
+ ${exports.CustomerFragmentDoc}
601
+ ${exports.TicketTriggerAppFragmentDoc}
602
+ ${exports.DrozChatChannelFragmentDoc}
603
+ ${exports.SessionAttributesFragmentDoc}`;
485
604
  exports.OnTicketMessageDocument = `
486
605
  subscription onTicketMessage($ticketId: ID!) {
487
606
  onTicketMessage(ticketId: $ticketId) {
@@ -258,7 +258,16 @@ export type MutationUpdateAccountParametersArgs = {
258
258
  export type MutationUpdateTenantArgs = {
259
259
  input: UpdateTenantInput;
260
260
  };
261
- export type NumberFilterInput = {
261
+ export type NumberMatcher = {
262
+ btw?: Maybe<Array<Scalars['Float']['output']>>;
263
+ eq?: Maybe<Scalars['Float']['output']>;
264
+ gt?: Maybe<Scalars['Float']['output']>;
265
+ gte?: Maybe<Scalars['Float']['output']>;
266
+ lt?: Maybe<Scalars['Float']['output']>;
267
+ lte?: Maybe<Scalars['Float']['output']>;
268
+ ne?: Maybe<Scalars['Float']['output']>;
269
+ };
270
+ export type NumberMatcherInput = {
262
271
  btw?: InputMaybe<Array<Scalars['Float']['input']>>;
263
272
  eq?: InputMaybe<Scalars['Float']['input']>;
264
273
  gt?: InputMaybe<Scalars['Float']['input']>;
@@ -353,9 +362,30 @@ export type Service = {
353
362
  tenantId: Scalars['ID']['output'];
354
363
  type: Scalars['String']['output'];
355
364
  };
356
- export type StringFilterInput = {
365
+ export type StringMatcher = {
366
+ btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
367
+ ct?: Maybe<Scalars['String']['output']>;
368
+ cti?: Maybe<Scalars['String']['output']>;
369
+ eq?: Maybe<Scalars['String']['output']>;
370
+ eqi?: Maybe<Scalars['String']['output']>;
371
+ gt?: Maybe<Scalars['String']['output']>;
372
+ gte?: Maybe<Scalars['String']['output']>;
373
+ in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
374
+ lt?: Maybe<Scalars['String']['output']>;
375
+ lte?: Maybe<Scalars['String']['output']>;
376
+ ne?: Maybe<Scalars['String']['output']>;
377
+ };
378
+ export type StringMatcherInput = {
379
+ btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
380
+ ct?: InputMaybe<Scalars['String']['input']>;
381
+ cti?: InputMaybe<Scalars['String']['input']>;
357
382
  eq?: InputMaybe<Scalars['String']['input']>;
358
- in?: InputMaybe<Array<Scalars['String']['input']>>;
383
+ eqi?: InputMaybe<Scalars['String']['input']>;
384
+ gt?: InputMaybe<Scalars['String']['input']>;
385
+ gte?: InputMaybe<Scalars['String']['input']>;
386
+ in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
387
+ lt?: InputMaybe<Scalars['String']['input']>;
388
+ lte?: InputMaybe<Scalars['String']['input']>;
359
389
  ne?: InputMaybe<Scalars['String']['input']>;
360
390
  };
361
391
  export type Tenant = {
@@ -543,18 +573,18 @@ export type RemoveTenantMutation = {
543
573
  removeTenant: TenantFragment;
544
574
  };
545
575
  export declare const RegionFragmentDoc = "\n fragment region on Region {\n name\n}\n ";
546
- export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n \n fragment region on Region {\n name\n}\n ";
576
+ export declare const AwsAccountFragmentDoc = "\n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n ";
547
577
  export declare const DeploymentFragmentDoc = "\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
548
578
  export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
549
- export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n ";
579
+ export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n ";
550
580
  export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
551
581
  export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n billing {\n reclameaqui {\n cutoffSyncDays\n }\n }\n account {\n id\n name\n }\n}\n ";
552
- export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n \n fragment region on Region {\n name\n}\n ";
582
+ export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
553
583
  export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
554
- export declare const UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n \n fragment region on Region {\n name\n}\n ";
584
+ export declare const UpdateAccountParametersDocument = "\n mutation updateAccountParameters($input: UpdateAccountParametersInput!) {\n updateAccountParameters(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n parameters {\n typesenseNodes\n typesenseApiKey\n openAIApiKey\n metaAppId\n metaClientSecret\n metaConfigurationId\n metaWebhookVerificationToken\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
555
585
  export declare const GetAmplifyConfigDocument = "\n query getAmplifyConfig($forDev: Boolean) {\n amplifyConfig(forDev: $forDev)\n}\n ";
556
586
  export declare const GetAuthInfoDocument = "\n query getAuthInfo {\n authInfo {\n authenticationEndpoint\n jwtIssuer\n loginUrl\n logoutUrl\n cognitoConfig {\n region\n userPoolId\n userPoolWebClientId\n }\n }\n}\n ";
557
- export declare const ListGitRepositoriesDocument = "\n query listGitRepositories {\n listGitRepositories {\n ...gitRepository\n }\n}\n \n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n fragment gitBranch on GitBranch {\n name\n}\n ";
587
+ export declare const ListGitRepositoriesDocument = "\n query listGitRepositories {\n listGitRepositories {\n ...gitRepository\n }\n}\n \n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n}\n \n\n fragment gitBranch on GitBranch {\n name\n}\n ";
558
588
  export declare const ListGitBranchesDocument = "\n query listGitBranches($gitRepositoryId: ID!) {\n listGitBranches(gitRepositoryId: $gitRepositoryId) {\n name\n }\n}\n ";
559
589
  export declare const GetDeploymentDocument = "\n query getDeployment($tenantId: ID!, $deploymentId: ID!) {\n getDeployment(tenantId: $tenantId, deploymentId: $deploymentId) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
560
590
  export declare const ListDeploymentsDocument = "\n query listDeployments($tenantId: ID!, $limit: Int) {\n listDeployments(tenantId: $tenantId, limit: $limit) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n deployedVersion\n createdAt\n updatedAt\n}\n ";
@@ -56,7 +56,7 @@ exports.AwsAccountFragmentDoc = `
56
56
  metaWebhookVerificationToken
57
57
  }
58
58
  }
59
- ${exports.RegionFragmentDoc}`;
59
+ `;
60
60
  exports.DeploymentFragmentDoc = `
61
61
  fragment deployment on Deployment {
62
62
  id
@@ -84,7 +84,7 @@ exports.GitRepositoryFragmentDoc = `
84
84
  ...gitBranch
85
85
  }
86
86
  }
87
- ${exports.GitBranchFragmentDoc}`;
87
+ `;
88
88
  exports.ServiceFragmentDoc = `
89
89
  fragment service on Service {
90
90
  accountId
@@ -120,7 +120,8 @@ exports.ListAccountsDocument = `
120
120
  ...awsAccount
121
121
  }
122
122
  }
123
- ${exports.AwsAccountFragmentDoc}`;
123
+ ${exports.AwsAccountFragmentDoc}
124
+ ${exports.RegionFragmentDoc}`;
124
125
  exports.ListRegionsDocument = `
125
126
  query listRegions {
126
127
  listRegions {
@@ -134,7 +135,8 @@ exports.UpdateAccountParametersDocument = `
134
135
  ...awsAccount
135
136
  }
136
137
  }
137
- ${exports.AwsAccountFragmentDoc}`;
138
+ ${exports.AwsAccountFragmentDoc}
139
+ ${exports.RegionFragmentDoc}`;
138
140
  exports.GetAmplifyConfigDocument = `
139
141
  query getAmplifyConfig($forDev: Boolean) {
140
142
  amplifyConfig(forDev: $forDev)
@@ -161,7 +163,8 @@ exports.ListGitRepositoriesDocument = `
161
163
  ...gitRepository
162
164
  }
163
165
  }
164
- ${exports.GitRepositoryFragmentDoc}`;
166
+ ${exports.GitRepositoryFragmentDoc}
167
+ ${exports.GitBranchFragmentDoc}`;
165
168
  exports.ListGitBranchesDocument = `
166
169
  query listGitBranches($gitRepositoryId: ID!) {
167
170
  listGitBranches(gitRepositoryId: $gitRepositoryId) {
@@ -248,7 +248,16 @@ export type NodeInput = {
248
248
  type: Scalars['String']['input'];
249
249
  uidata?: InputMaybe<Scalars['JSON']['input']>;
250
250
  };
251
- export type NumberFilterInput = {
251
+ export type NumberMatcher = {
252
+ btw?: Maybe<Array<Scalars['Float']['output']>>;
253
+ eq?: Maybe<Scalars['Float']['output']>;
254
+ gt?: Maybe<Scalars['Float']['output']>;
255
+ gte?: Maybe<Scalars['Float']['output']>;
256
+ lt?: Maybe<Scalars['Float']['output']>;
257
+ lte?: Maybe<Scalars['Float']['output']>;
258
+ ne?: Maybe<Scalars['Float']['output']>;
259
+ };
260
+ export type NumberMatcherInput = {
252
261
  btw?: InputMaybe<Array<Scalars['Float']['input']>>;
253
262
  eq?: InputMaybe<Scalars['Float']['input']>;
254
263
  gt?: InputMaybe<Scalars['Float']['input']>;
@@ -333,9 +342,30 @@ export type SimpleConnectionSuggestion = {
333
342
  title: Scalars['String']['output'];
334
343
  trigger: AppAndAppInstance;
335
344
  };
336
- export type StringFilterInput = {
345
+ export type StringMatcher = {
346
+ btw?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
347
+ ct?: Maybe<Scalars['String']['output']>;
348
+ cti?: Maybe<Scalars['String']['output']>;
349
+ eq?: Maybe<Scalars['String']['output']>;
350
+ eqi?: Maybe<Scalars['String']['output']>;
351
+ gt?: Maybe<Scalars['String']['output']>;
352
+ gte?: Maybe<Scalars['String']['output']>;
353
+ in?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
354
+ lt?: Maybe<Scalars['String']['output']>;
355
+ lte?: Maybe<Scalars['String']['output']>;
356
+ ne?: Maybe<Scalars['String']['output']>;
357
+ };
358
+ export type StringMatcherInput = {
359
+ btw?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
360
+ ct?: InputMaybe<Scalars['String']['input']>;
361
+ cti?: InputMaybe<Scalars['String']['input']>;
337
362
  eq?: InputMaybe<Scalars['String']['input']>;
338
- in?: InputMaybe<Array<Scalars['String']['input']>>;
363
+ eqi?: InputMaybe<Scalars['String']['input']>;
364
+ gt?: InputMaybe<Scalars['String']['input']>;
365
+ gte?: InputMaybe<Scalars['String']['input']>;
366
+ in?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
367
+ lt?: InputMaybe<Scalars['String']['input']>;
368
+ lte?: InputMaybe<Scalars['String']['input']>;
339
369
  ne?: InputMaybe<Scalars['String']['input']>;
340
370
  };
341
371
  export declare enum Typenames {
@@ -454,23 +484,23 @@ export type RemoveSimpleConnectionMutation = {
454
484
  removeSimpleConnection: SimpleConnectionFragment;
455
485
  };
456
486
  export declare const AppAndAppInstanceFragmentDoc = "\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
457
- export declare const SimpleConnectionSuggestionFragmentDoc = "\n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
458
- export declare const SimpleConnectionFragmentDoc = "\n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
459
- export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
487
+ export declare const SimpleConnectionSuggestionFragmentDoc = "\n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n ";
488
+ export declare const SimpleConnectionFragmentDoc = "\n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n ";
489
+ export declare const NodeFragmentDoc = "\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n ";
460
490
  export declare const EdgeFragmentDoc = "\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
461
- export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
491
+ export declare const FlowFragmentDoc = "\n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n ";
462
492
  export declare const GetUsageStatisticsDocument = "\n query getUsageStatistics {\n getUsageStatistics {\n totalSecrets\n totalAppInstances\n totalConnections\n }\n}\n ";
463
- export declare const GetFlowDocument = "\n query getFlow($id: ID!, $versionId: ID!) {\n getFlow(id: $id, versionId: $versionId) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
464
- export declare const ListFlowsDocument = "\n query listFlows {\n listFlows {\n nodes {\n ...flow\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
465
- export declare const ListSimpleSuggestionsDocument = "\n query listSimpleSuggestions {\n listSimpleConnectionSuggestions {\n ...simpleConnectionSuggestion\n }\n}\n \n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
466
- export declare const ListSimpleConnectionsDocument = "\n query listSimpleConnections($next: Base64) {\n listSimpleConnections(next: $next) {\n nodes {\n ...simpleConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
467
- export declare const CreateFlowDocument = "\n mutation createFlow($input: CreateFlowInput!) {\n createFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
468
- export declare const EditFlowDocument = "\n mutation editFlow($input: EditFlowInput!) {\n editFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
469
- export declare const UpdateFlowDocument = "\n mutation updateFlow($input: UpdateFlowInput!) {\n updateFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
470
- export declare const PublishFlowDocument = "\n mutation publishFlow($input: PublishFlowInput!) {\n publishFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
471
- export declare const RemoveFlowDocument = "\n mutation removeFlow($input: RemoveFlowInput!) {\n removeFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
472
- export declare const CreateSimpleConnectionDocument = "\n mutation createSimpleConnection($input: CreateSimpleConnectionInput!) {\n createSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
473
- export declare const RemoveSimpleConnectionDocument = "\n mutation removeSimpleConnection($input: RemoveSimpleConnectionInput!) {\n removeSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
493
+ export declare const GetFlowDocument = "\n query getFlow($id: ID!, $versionId: ID!) {\n getFlow(id: $id, versionId: $versionId) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
494
+ export declare const ListFlowsDocument = "\n query listFlows {\n listFlows {\n nodes {\n ...flow\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
495
+ export declare const ListSimpleSuggestionsDocument = "\n query listSimpleSuggestions {\n listSimpleConnectionSuggestions {\n ...simpleConnectionSuggestion\n }\n}\n \n fragment simpleConnectionSuggestion on SimpleConnectionSuggestion {\n title\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
496
+ export declare const ListSimpleConnectionsDocument = "\n query listSimpleConnections($next: Base64) {\n listSimpleConnections(next: $next) {\n nodes {\n ...simpleConnection\n }\n pageInfo {\n next\n hasNext\n }\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
497
+ export declare const CreateFlowDocument = "\n mutation createFlow($input: CreateFlowInput!) {\n createFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
498
+ export declare const EditFlowDocument = "\n mutation editFlow($input: EditFlowInput!) {\n editFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
499
+ export declare const UpdateFlowDocument = "\n mutation updateFlow($input: UpdateFlowInput!) {\n updateFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
500
+ export declare const PublishFlowDocument = "\n mutation publishFlow($input: PublishFlowInput!) {\n publishFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
501
+ export declare const RemoveFlowDocument = "\n mutation removeFlow($input: RemoveFlowInput!) {\n removeFlow(input: $input) {\n ...flow\n }\n}\n \n fragment flow on Flow {\n id\n versionId\n title\n description\n triggers {\n ...appAndAppInstance\n }\n nodes {\n ...node\n }\n edges {\n ...edge\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n \n\n fragment node on Node {\n id\n type\n data {\n ...appAndAppInstance\n }\n uidata\n}\n \n\n fragment edge on Edge {\n id\n source\n target\n type\n sourceHandle\n uidata\n}\n ";
502
+ export declare const CreateSimpleConnectionDocument = "\n mutation createSimpleConnection($input: CreateSimpleConnectionInput!) {\n createSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
503
+ export declare const RemoveSimpleConnectionDocument = "\n mutation removeSimpleConnection($input: RemoveSimpleConnectionInput!) {\n removeSimpleConnection(input: $input) {\n ...simpleConnection\n }\n}\n \n fragment simpleConnection on SimpleConnection {\n id\n versionId\n title\n description\n trigger {\n ...appAndAppInstance\n }\n destination {\n ...appAndAppInstance\n }\n createdAt\n updatedAt\n}\n \n\n fragment appAndAppInstance on AppAndAppInstance {\n app {\n id\n name\n description\n }\n appInstance {\n drn\n name\n transitions\n createdAt\n updatedAt\n }\n}\n ";
474
504
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
475
505
  export declare function getSdk<C>(requester: Requester<C>): {
476
506
  getUsageStatistics(variables?: GetUsageStatisticsQueryVariables, options?: C): Promise<GetUsageStatisticsQuery>;