@caido/sdk-frontend 0.46.1-beta.4 → 0.46.1-beta.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.46.1-beta.4",
3
+ "version": "0.46.1-beta.6",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -683,6 +683,23 @@ export type CreateBackupPayload = {
683
683
  error?: Maybe<CreateBackupError>;
684
684
  task?: Maybe<BackupTask>;
685
685
  };
686
+ export type CreateDnsRewriteError = OtherUserError | UnknownIdUserError;
687
+ export type CreateDnsRewriteInput = {
688
+ allowlist: Array<Scalars["String"]["input"]>;
689
+ denylist: Array<Scalars["String"]["input"]>;
690
+ resolution: DnsResolverInput;
691
+ };
692
+ export type CreateDnsRewritePayload = {
693
+ error?: Maybe<CreateDnsRewriteError>;
694
+ rewrite?: Maybe<DnsRewrite>;
695
+ };
696
+ export type CreateDnsUpstreamInput = {
697
+ ip: Scalars["String"]["input"];
698
+ name: Scalars["String"]["input"];
699
+ };
700
+ export type CreateDnsUpstreamPayload = {
701
+ upstream: DnsUpstream;
702
+ };
686
703
  export type CreateEnvironmentError = CloudUserError | NameTakenUserError | OtherUserError | PermissionDeniedUserError;
687
704
  export type CreateEnvironmentInput = {
688
705
  name: Scalars["String"]["input"];
@@ -833,6 +850,12 @@ export type CreatedAutomateTaskPayload = {
833
850
  export type CreatedBackupPayload = {
834
851
  backup: Backup;
835
852
  };
853
+ export type CreatedDnsRewritePayload = {
854
+ rewrite: DnsRewrite;
855
+ };
856
+ export type CreatedDnsUpstreamPayload = {
857
+ upstream: DnsUpstream;
858
+ };
836
859
  export type CreatedDataExportPayload = {
837
860
  dataExportEdge: DataExportEdge;
838
861
  snapshot: Scalars["Snapshot"]["output"];
@@ -942,6 +965,39 @@ export type CurrentProject = {
942
965
  config: ProjectConfig;
943
966
  project: Project;
944
967
  };
968
+ export type DnsIpResolver = {
969
+ ip: Scalars["String"]["output"];
970
+ };
971
+ export type DnsIpResolverInput = {
972
+ ip: Scalars["String"]["input"];
973
+ };
974
+ export type DnsResolver = DnsIpResolver | DnsUpstreamResolver;
975
+ export type DnsResolverInput = {
976
+ ip: DnsIpResolverInput;
977
+ upstream?: never;
978
+ } | {
979
+ ip?: never;
980
+ upstream: DnsUpstreamResolverInput;
981
+ };
982
+ export type DnsRewrite = {
983
+ allowlist: Array<Scalars["String"]["output"]>;
984
+ denylist: Array<Scalars["String"]["output"]>;
985
+ enabled: Scalars["Boolean"]["output"];
986
+ id: Scalars["ID"]["output"];
987
+ rank: Scalars["Rank"]["output"];
988
+ resolution: DnsResolver;
989
+ };
990
+ export type DnsUpstream = {
991
+ id: Scalars["ID"]["output"];
992
+ ip: Scalars["String"]["output"];
993
+ name: Scalars["String"]["output"];
994
+ };
995
+ export type DnsUpstreamResolver = {
996
+ id: Scalars["ID"]["output"];
997
+ };
998
+ export type DnsUpstreamResolverInput = {
999
+ id: Scalars["ID"]["input"];
1000
+ };
945
1001
  export type DataExport = {
946
1002
  createdAt: Scalars["DateTime"]["output"];
947
1003
  downloadUri?: Maybe<Scalars["Uri"]["output"]>;
@@ -1005,6 +1061,12 @@ export type DeleteBackupPayload = {
1005
1061
  export type DeleteBrowserPayload = {
1006
1062
  deletedId?: Maybe<Scalars["ID"]["output"]>;
1007
1063
  };
1064
+ export type DeleteDnsRewritePayload = {
1065
+ deletedId: Scalars["ID"]["output"];
1066
+ };
1067
+ export type DeleteDnsUpstreamPayload = {
1068
+ deletedId: Scalars["ID"]["output"];
1069
+ };
1008
1070
  export type DeleteDataExportError = OtherUserError | TaskInProgressUserError;
1009
1071
  export type DeleteDataExportPayload = {
1010
1072
  deletedId?: Maybe<Scalars["ID"]["output"]>;
@@ -1094,6 +1156,12 @@ export type DeletedBackupPayload = {
1094
1156
  export type DeletedBrowserPayload = {
1095
1157
  deletedBrowserId: Scalars["ID"]["output"];
1096
1158
  };
1159
+ export type DeletedDnsRewritePayload = {
1160
+ deletedId: Scalars["ID"]["output"];
1161
+ };
1162
+ export type DeletedDnsUpstreamPayload = {
1163
+ deletedId: Scalars["ID"]["output"];
1164
+ };
1097
1165
  export type DeletedDataExportPayload = {
1098
1166
  deletedDataExportId: Scalars["ID"]["output"];
1099
1167
  snapshot: Scalars["Snapshot"]["output"];
@@ -1500,6 +1568,8 @@ export type MutationRoot = {
1500
1568
  createAssistantSession: CreateAssistantSessionPayload;
1501
1569
  createAutomateSession: CreateAutomateSessionPayload;
1502
1570
  createBackup: CreateBackupPayload;
1571
+ createDnsRewrite: CreateDnsRewritePayload;
1572
+ createDnsUpstream: CreateDnsUpstreamPayload;
1503
1573
  createEnvironment: CreateEnvironmentPayload;
1504
1574
  createFilterPreset: CreateFilterPresetPayload;
1505
1575
  createFinding: CreateFindingPayload;
@@ -1519,6 +1589,8 @@ export type MutationRoot = {
1519
1589
  deleteBackup: DeleteBackupPayload;
1520
1590
  deleteBrowser: DeleteBrowserPayload;
1521
1591
  deleteDataExport: DeleteDataExportPayload;
1592
+ deleteDnsRewrite: DeleteDnsRewritePayload;
1593
+ deleteDnsUpstream: DeleteDnsUpstreamPayload;
1522
1594
  deleteEnvironment: DeleteEnvironmentPayload;
1523
1595
  deleteFilterPreset: DeleteFilterPresetPayload;
1524
1596
  deleteFindings: DeleteFindingsPayload;
@@ -1547,6 +1619,7 @@ export type MutationRoot = {
1547
1619
  moveTamperRule: MoveTamperRulePayload;
1548
1620
  pauseAutomateTask: PauseAutomateTaskPayload;
1549
1621
  pauseIntercept: PauseInterceptPayload;
1622
+ rankDnsRewrite: RankDnsRewritePayload;
1550
1623
  rankTamperRule: RankTamperRulePayload;
1551
1624
  rankUpstreamProxyHttp: RankUpstreamProxyHttpPayload;
1552
1625
  rankUpstreamProxySocks: RankUpstreamProxySocksPayload;
@@ -1592,6 +1665,7 @@ export type MutationRoot = {
1592
1665
  testWorkflowActive: TestWorkflowActivePayload;
1593
1666
  testWorkflowConvert: TestWorkflowConvertPayload;
1594
1667
  testWorkflowPassive: TestWorkflowPassivePayload;
1668
+ toggleDnsRewrite: ToggleDnsRewritePayload;
1595
1669
  togglePlugin: TogglePluginPayload;
1596
1670
  toggleTamperRule: ToggleTamperRulePayload;
1597
1671
  toggleUpstreamProxyHttp: ToggleUpstreamProxyHttpPayload;
@@ -1600,6 +1674,8 @@ export type MutationRoot = {
1600
1674
  uninstallPluginPackage: UninstallPluginPackagePayload;
1601
1675
  updateAutomateSession: UpdateAutomateSessionPayload;
1602
1676
  updateBrowser: UpdateBrowserPayload;
1677
+ updateDnsRewrite: UpdateDnsRewritePayload;
1678
+ updateDnsUpstream: UpdateDnsUpstreamPayload;
1603
1679
  updateEnvironment: UpdateEnvironmentPayload;
1604
1680
  updateFilterPreset: UpdateFilterPresetPayload;
1605
1681
  updateRequestMetadata: UpdateRequestMetadataPayload;
@@ -1635,6 +1711,12 @@ export type MutationRootCreateAutomateSessionArgs = {
1635
1711
  export type MutationRootCreateBackupArgs = {
1636
1712
  projectId: Scalars["ID"]["input"];
1637
1713
  };
1714
+ export type MutationRootCreateDnsRewriteArgs = {
1715
+ input: CreateDnsRewriteInput;
1716
+ };
1717
+ export type MutationRootCreateDnsUpstreamArgs = {
1718
+ input: CreateDnsUpstreamInput;
1719
+ };
1638
1720
  export type MutationRootCreateEnvironmentArgs = {
1639
1721
  input: CreateEnvironmentInput;
1640
1722
  };
@@ -1690,6 +1772,12 @@ export type MutationRootDeleteBackupArgs = {
1690
1772
  export type MutationRootDeleteDataExportArgs = {
1691
1773
  id: Scalars["ID"]["input"];
1692
1774
  };
1775
+ export type MutationRootDeleteDnsRewriteArgs = {
1776
+ id: Scalars["ID"]["input"];
1777
+ };
1778
+ export type MutationRootDeleteDnsUpstreamArgs = {
1779
+ id: Scalars["ID"]["input"];
1780
+ };
1693
1781
  export type MutationRootDeleteEnvironmentArgs = {
1694
1782
  id: Scalars["ID"]["input"];
1695
1783
  };
@@ -1769,17 +1857,21 @@ export type MutationRootMoveTamperRuleArgs = {
1769
1857
  export type MutationRootPauseAutomateTaskArgs = {
1770
1858
  id: Scalars["ID"]["input"];
1771
1859
  };
1860
+ export type MutationRootRankDnsRewriteArgs = {
1861
+ id: Scalars["ID"]["input"];
1862
+ input: RankInput;
1863
+ };
1772
1864
  export type MutationRootRankTamperRuleArgs = {
1773
1865
  id: Scalars["ID"]["input"];
1774
1866
  input: RankTamperRuleInput;
1775
1867
  };
1776
1868
  export type MutationRootRankUpstreamProxyHttpArgs = {
1777
1869
  id: Scalars["ID"]["input"];
1778
- input: RankUpstreamProxyHttpInput;
1870
+ input: RankInput;
1779
1871
  };
1780
1872
  export type MutationRootRankUpstreamProxySocksArgs = {
1781
1873
  id: Scalars["ID"]["input"];
1782
- input: RankUpstreamProxySocksInput;
1874
+ input: RankInput;
1783
1875
  };
1784
1876
  export type MutationRootRefreshAuthenticationTokenArgs = {
1785
1877
  refreshToken: Scalars["Token"]["input"];
@@ -1915,6 +2007,10 @@ export type MutationRootTestWorkflowConvertArgs = {
1915
2007
  export type MutationRootTestWorkflowPassiveArgs = {
1916
2008
  input: TestWorkflowPassiveInput;
1917
2009
  };
2010
+ export type MutationRootToggleDnsRewriteArgs = {
2011
+ enabled: Scalars["Boolean"]["input"];
2012
+ id: Scalars["ID"]["input"];
2013
+ };
1918
2014
  export type MutationRootTogglePluginArgs = {
1919
2015
  enabled: Scalars["Boolean"]["input"];
1920
2016
  id: Scalars["ID"]["input"];
@@ -1942,6 +2038,14 @@ export type MutationRootUpdateAutomateSessionArgs = {
1942
2038
  id: Scalars["ID"]["input"];
1943
2039
  input: UpdateAutomateSessionInput;
1944
2040
  };
2041
+ export type MutationRootUpdateDnsRewriteArgs = {
2042
+ id: Scalars["ID"]["input"];
2043
+ input: UpdateDnsRewriteInput;
2044
+ };
2045
+ export type MutationRootUpdateDnsUpstreamArgs = {
2046
+ id: Scalars["ID"]["input"];
2047
+ input: UpdateDnsUpstreamInput;
2048
+ };
1945
2049
  export type MutationRootUpdateEnvironmentArgs = {
1946
2050
  id: Scalars["ID"]["input"];
1947
2051
  input: UpdateEnvironmentInput;
@@ -2170,6 +2274,8 @@ export type QueryRoot = {
2170
2274
  dataExport?: Maybe<DataExport>;
2171
2275
  dataExportTasks: Array<DataExportTask>;
2172
2276
  dataExports: Array<DataExport>;
2277
+ dnsRewrites: Array<DnsRewrite>;
2278
+ dnsUpstreams: Array<DnsUpstream>;
2173
2279
  environment?: Maybe<Environment>;
2174
2280
  environmentContext: EnvironmentContext;
2175
2281
  environments: Array<Environment>;
@@ -2404,12 +2510,19 @@ export type RangeInput = {
2404
2510
  end: Scalars["Int"]["input"];
2405
2511
  start: Scalars["Int"]["input"];
2406
2512
  };
2513
+ export type RankDnsRewritePayload = {
2514
+ rewrite: DnsRewrite;
2515
+ };
2407
2516
  export declare const RankErrorReason: {
2408
2517
  readonly ConcurrentUpdate: "CONCURRENT_UPDATE";
2409
2518
  readonly InvalidAfterBefore: "INVALID_AFTER_BEFORE";
2410
2519
  readonly NotEnabled: "NOT_ENABLED";
2411
2520
  };
2412
2521
  export type RankErrorReason = (typeof RankErrorReason)[keyof typeof RankErrorReason];
2522
+ export type RankInput = {
2523
+ afterId?: InputMaybe<Scalars["ID"]["input"]>;
2524
+ beforeId?: InputMaybe<Scalars["ID"]["input"]>;
2525
+ };
2413
2526
  export type RankTamperRuleError = OtherUserError | RankUserError | UnknownIdUserError;
2414
2527
  export type RankTamperRuleInput = {
2415
2528
  afterId?: InputMaybe<Scalars["ID"]["input"]>;
@@ -2419,17 +2532,9 @@ export type RankTamperRulePayload = {
2419
2532
  error?: Maybe<RankTamperRuleError>;
2420
2533
  rule?: Maybe<TamperRule>;
2421
2534
  };
2422
- export type RankUpstreamProxyHttpInput = {
2423
- afterId?: InputMaybe<Scalars["ID"]["input"]>;
2424
- beforeId?: InputMaybe<Scalars["ID"]["input"]>;
2425
- };
2426
2535
  export type RankUpstreamProxyHttpPayload = {
2427
2536
  proxy?: Maybe<UpstreamProxyHttp>;
2428
2537
  };
2429
- export type RankUpstreamProxySocksInput = {
2430
- afterId?: InputMaybe<Scalars["ID"]["input"]>;
2431
- beforeId?: InputMaybe<Scalars["ID"]["input"]>;
2432
- };
2433
2538
  export type RankUpstreamProxySocksPayload = {
2434
2539
  proxy?: Maybe<UpstreamProxySocks>;
2435
2540
  };
@@ -3128,6 +3233,8 @@ export type SubscriptionRoot = {
3128
3233
  createdBackup: CreatedBackupPayload;
3129
3234
  createdDataExport: CreatedDataExportPayload;
3130
3235
  createdDataExportTask: CreatedDataExportTaskPayload;
3236
+ createdDnsRewrite: CreatedDnsRewritePayload;
3237
+ createdDnsUpstream: CreatedDnsUpstreamPayload;
3131
3238
  createdEnvironment: CreatedEnvironmentPayload;
3132
3239
  createdFilterPreset: CreatedFilterPresetPayload;
3133
3240
  createdFinding: CreatedFindingPayload;
@@ -3157,6 +3264,8 @@ export type SubscriptionRoot = {
3157
3264
  deletedBrowser: DeletedBrowserPayload;
3158
3265
  deletedDataExport: DeletedDataExportPayload;
3159
3266
  deletedDataExportTask: DeletedDataExportTaskPayload;
3267
+ deletedDnsRewrite: DeletedDnsRewritePayload;
3268
+ deletedDnsUpstream: DeletedDnsUpstreamPayload;
3160
3269
  deletedEnvironment: DeletedEnvironmentPayload;
3161
3270
  deletedFilterPreset: DeletedFilterPresetPayload;
3162
3271
  deletedFindings: DeletedFindingsPayload;
@@ -3191,6 +3300,8 @@ export type SubscriptionRoot = {
3191
3300
  updatedBrowser: UpdatedBrowserPayload;
3192
3301
  updatedDataExport: UpdatedDataExportPayload;
3193
3302
  updatedDeleteInterceptEntriesTask: UpdatedDeleteInterceptEntriesTaskPayload;
3303
+ updatedDnsRewrite: UpdatedDnsRewritePayload;
3304
+ updatedDnsUpstream: UpdatedDnsUpstreamPayload;
3194
3305
  updatedEnvironment: UpdatedEnvironmentPayload;
3195
3306
  updatedEnvironmentContext: UpdatedEnvironmentContextPayload;
3196
3307
  updatedFilterPreset: UpdatedFilterPresetPayload;
@@ -3726,6 +3837,9 @@ export type TestWorkflowPassivePayload = {
3726
3837
  error?: Maybe<TestWorkflowPassiveError>;
3727
3838
  runState?: Maybe<Scalars["JsonObject"]["output"]>;
3728
3839
  };
3840
+ export type ToggleDnsRewritePayload = {
3841
+ rewrite: DnsRewrite;
3842
+ };
3729
3843
  export type TogglePluginError = OtherUserError | PluginUserError | UnknownIdUserError;
3730
3844
  export type TogglePluginPayload = {
3731
3845
  error?: Maybe<TogglePluginError>;
@@ -3774,6 +3888,23 @@ export type UpdateBrowserPayload = {
3774
3888
  browser?: Maybe<Browser>;
3775
3889
  error?: Maybe<UpdateBrowserError>;
3776
3890
  };
3891
+ export type UpdateDnsRewriteError = OtherUserError | UnknownIdUserError;
3892
+ export type UpdateDnsRewriteInput = {
3893
+ allowlist: Array<Scalars["String"]["input"]>;
3894
+ denylist: Array<Scalars["String"]["input"]>;
3895
+ resolution: DnsResolverInput;
3896
+ };
3897
+ export type UpdateDnsRewritePayload = {
3898
+ error?: Maybe<UpdateDnsRewriteError>;
3899
+ rewrite?: Maybe<DnsRewrite>;
3900
+ };
3901
+ export type UpdateDnsUpstreamInput = {
3902
+ ip: Scalars["String"]["input"];
3903
+ name: Scalars["String"]["input"];
3904
+ };
3905
+ export type UpdateDnsUpstreamPayload = {
3906
+ upstream: DnsUpstream;
3907
+ };
3777
3908
  export type UpdateEnvironmentError = NameTakenUserError | NewerVersionUserError | OtherUserError | PermissionDeniedUserError | UnknownIdUserError;
3778
3909
  export type UpdateEnvironmentInput = {
3779
3910
  name: Scalars["String"]["input"];
@@ -3882,6 +4013,12 @@ export type UpdatedBackupPayload = {
3882
4013
  export type UpdatedBrowserPayload = {
3883
4014
  browser: Browser;
3884
4015
  };
4016
+ export type UpdatedDnsRewritePayload = {
4017
+ rewrite: DnsRewrite;
4018
+ };
4019
+ export type UpdatedDnsUpstreamPayload = {
4020
+ upstream: DnsUpstream;
4021
+ };
3885
4022
  export type UpdatedDataExportPayload = {
3886
4023
  dataExportEdge: DataExportEdge;
3887
4024
  snapshot: Scalars["Snapshot"]["output"];
@@ -7156,6 +7293,259 @@ export type ConnectionInfoFullFragment = {
7156
7293
  isTLS: boolean;
7157
7294
  SNI?: string | undefined | null;
7158
7295
  };
7296
+ export type DnsRewriteFullFragment = {
7297
+ id: string;
7298
+ rank: string;
7299
+ enabled: boolean;
7300
+ allowlist: Array<string>;
7301
+ denylist: Array<string>;
7302
+ resolution: {
7303
+ ip: string;
7304
+ } | {
7305
+ id: string;
7306
+ };
7307
+ };
7308
+ export type DnsUpstreamFullFragment = {
7309
+ id: string;
7310
+ ip: string;
7311
+ name: string;
7312
+ };
7313
+ export type DnsConfigStateQueryVariables = Exact<{
7314
+ [key: string]: never;
7315
+ }>;
7316
+ export type DnsConfigStateQuery = {
7317
+ dnsRewrites: Array<{
7318
+ id: string;
7319
+ rank: string;
7320
+ enabled: boolean;
7321
+ allowlist: Array<string>;
7322
+ denylist: Array<string>;
7323
+ resolution: {
7324
+ ip: string;
7325
+ } | {
7326
+ id: string;
7327
+ };
7328
+ }>;
7329
+ dnsUpstreams: Array<{
7330
+ id: string;
7331
+ ip: string;
7332
+ name: string;
7333
+ }>;
7334
+ };
7335
+ export type CreateDnsRewriteMutationVariables = Exact<{
7336
+ input: CreateDnsRewriteInput;
7337
+ }>;
7338
+ export type CreateDnsRewriteMutation = {
7339
+ createDnsRewrite: {
7340
+ rewrite?: {
7341
+ id: string;
7342
+ rank: string;
7343
+ enabled: boolean;
7344
+ allowlist: Array<string>;
7345
+ denylist: Array<string>;
7346
+ resolution: {
7347
+ ip: string;
7348
+ } | {
7349
+ id: string;
7350
+ };
7351
+ } | undefined | null;
7352
+ error?: {
7353
+ __typename: "OtherUserError";
7354
+ code: string;
7355
+ } | {
7356
+ __typename: "UnknownIdUserError";
7357
+ id: string;
7358
+ code: string;
7359
+ } | undefined | null;
7360
+ };
7361
+ };
7362
+ export type DeleteDnsRewriteMutationVariables = Exact<{
7363
+ id: Scalars["ID"]["input"];
7364
+ }>;
7365
+ export type DeleteDnsRewriteMutation = {
7366
+ deleteDnsRewrite: {
7367
+ deletedId: string;
7368
+ };
7369
+ };
7370
+ export type UpdateDnsRewriteMutationVariables = Exact<{
7371
+ id: Scalars["ID"]["input"];
7372
+ input: UpdateDnsRewriteInput;
7373
+ }>;
7374
+ export type UpdateDnsRewriteMutation = {
7375
+ updateDnsRewrite: {
7376
+ rewrite?: {
7377
+ id: string;
7378
+ rank: string;
7379
+ enabled: boolean;
7380
+ allowlist: Array<string>;
7381
+ denylist: Array<string>;
7382
+ resolution: {
7383
+ ip: string;
7384
+ } | {
7385
+ id: string;
7386
+ };
7387
+ } | undefined | null;
7388
+ error?: {
7389
+ __typename: "OtherUserError";
7390
+ code: string;
7391
+ } | {
7392
+ __typename: "UnknownIdUserError";
7393
+ id: string;
7394
+ code: string;
7395
+ } | undefined | null;
7396
+ };
7397
+ };
7398
+ export type ToggleDnsRewriteMutationVariables = Exact<{
7399
+ id: Scalars["ID"]["input"];
7400
+ enabled: Scalars["Boolean"]["input"];
7401
+ }>;
7402
+ export type ToggleDnsRewriteMutation = {
7403
+ toggleDnsRewrite: {
7404
+ rewrite: {
7405
+ id: string;
7406
+ rank: string;
7407
+ enabled: boolean;
7408
+ allowlist: Array<string>;
7409
+ denylist: Array<string>;
7410
+ resolution: {
7411
+ ip: string;
7412
+ } | {
7413
+ id: string;
7414
+ };
7415
+ };
7416
+ };
7417
+ };
7418
+ export type RankDnsRewriteMutationVariables = Exact<{
7419
+ id: Scalars["ID"]["input"];
7420
+ input: RankInput;
7421
+ }>;
7422
+ export type RankDnsRewriteMutation = {
7423
+ rankDnsRewrite: {
7424
+ rewrite: {
7425
+ id: string;
7426
+ rank: string;
7427
+ enabled: boolean;
7428
+ allowlist: Array<string>;
7429
+ denylist: Array<string>;
7430
+ resolution: {
7431
+ ip: string;
7432
+ } | {
7433
+ id: string;
7434
+ };
7435
+ };
7436
+ };
7437
+ };
7438
+ export type CreateDnsUpstreamMutationVariables = Exact<{
7439
+ input: CreateDnsUpstreamInput;
7440
+ }>;
7441
+ export type CreateDnsUpstreamMutation = {
7442
+ createDnsUpstream: {
7443
+ upstream: {
7444
+ id: string;
7445
+ ip: string;
7446
+ name: string;
7447
+ };
7448
+ };
7449
+ };
7450
+ export type DeleteDnsUpstreamMutationVariables = Exact<{
7451
+ id: Scalars["ID"]["input"];
7452
+ }>;
7453
+ export type DeleteDnsUpstreamMutation = {
7454
+ deleteDnsUpstream: {
7455
+ deletedId: string;
7456
+ };
7457
+ };
7458
+ export type UpdateDnsUpstreamMutationVariables = Exact<{
7459
+ id: Scalars["ID"]["input"];
7460
+ input: UpdateDnsUpstreamInput;
7461
+ }>;
7462
+ export type UpdateDnsUpstreamMutation = {
7463
+ updateDnsUpstream: {
7464
+ upstream: {
7465
+ id: string;
7466
+ ip: string;
7467
+ name: string;
7468
+ };
7469
+ };
7470
+ };
7471
+ export type CreatedDnsRewriteSubscriptionVariables = Exact<{
7472
+ [key: string]: never;
7473
+ }>;
7474
+ export type CreatedDnsRewriteSubscription = {
7475
+ createdDnsRewrite: {
7476
+ rewrite: {
7477
+ id: string;
7478
+ rank: string;
7479
+ enabled: boolean;
7480
+ allowlist: Array<string>;
7481
+ denylist: Array<string>;
7482
+ resolution: {
7483
+ ip: string;
7484
+ } | {
7485
+ id: string;
7486
+ };
7487
+ };
7488
+ };
7489
+ };
7490
+ export type DeletedDnsRewriteSubscriptionVariables = Exact<{
7491
+ [key: string]: never;
7492
+ }>;
7493
+ export type DeletedDnsRewriteSubscription = {
7494
+ deletedDnsRewrite: {
7495
+ deletedId: string;
7496
+ };
7497
+ };
7498
+ export type UpdatedDnsRewriteSubscriptionVariables = Exact<{
7499
+ [key: string]: never;
7500
+ }>;
7501
+ export type UpdatedDnsRewriteSubscription = {
7502
+ updatedDnsRewrite: {
7503
+ rewrite: {
7504
+ id: string;
7505
+ rank: string;
7506
+ enabled: boolean;
7507
+ allowlist: Array<string>;
7508
+ denylist: Array<string>;
7509
+ resolution: {
7510
+ ip: string;
7511
+ } | {
7512
+ id: string;
7513
+ };
7514
+ };
7515
+ };
7516
+ };
7517
+ export type CreatedDnsUpstreamSubscriptionVariables = Exact<{
7518
+ [key: string]: never;
7519
+ }>;
7520
+ export type CreatedDnsUpstreamSubscription = {
7521
+ createdDnsUpstream: {
7522
+ upstream: {
7523
+ id: string;
7524
+ ip: string;
7525
+ name: string;
7526
+ };
7527
+ };
7528
+ };
7529
+ export type DeletedDnsUpstreamSubscriptionVariables = Exact<{
7530
+ [key: string]: never;
7531
+ }>;
7532
+ export type DeletedDnsUpstreamSubscription = {
7533
+ deletedDnsUpstream: {
7534
+ deletedId: string;
7535
+ };
7536
+ };
7537
+ export type UpdatedDnsUpstreamSubscriptionVariables = Exact<{
7538
+ [key: string]: never;
7539
+ }>;
7540
+ export type UpdatedDnsUpstreamSubscription = {
7541
+ updatedDnsUpstream: {
7542
+ upstream: {
7543
+ id: string;
7544
+ ip: string;
7545
+ name: string;
7546
+ };
7547
+ };
7548
+ };
7159
7549
  export type EnvironmentMetaFragment = {
7160
7550
  __typename: "Environment";
7161
7551
  id: string;
@@ -19349,7 +19739,7 @@ export type TestUpstreamProxyHttpMutation = {
19349
19739
  };
19350
19740
  export type RankUpstreamProxyHttpMutationVariables = Exact<{
19351
19741
  id: Scalars["ID"]["input"];
19352
- input: RankUpstreamProxyHttpInput;
19742
+ input: RankInput;
19353
19743
  }>;
19354
19744
  export type RankUpstreamProxyHttpMutation = {
19355
19745
  rankUpstreamProxyHttp: {
@@ -19450,7 +19840,7 @@ export type TestUpstreamProxySocksMutation = {
19450
19840
  };
19451
19841
  export type RankUpstreamProxySocksMutationVariables = Exact<{
19452
19842
  id: Scalars["ID"]["input"];
19453
- input: RankUpstreamProxySocksInput;
19843
+ input: RankInput;
19454
19844
  }>;
19455
19845
  export type RankUpstreamProxySocksMutation = {
19456
19846
  rankUpstreamProxySocks: {
@@ -20184,6 +20574,8 @@ export declare const FinishedRestoreBackupTaskErrorFullFragmentDoc = "\n frag
20184
20574
  export declare const BrowserFullFragmentDoc = "\n fragment browserFull on Browser {\n __typename\n id\n installedAt\n latest\n path\n size\n version\n}\n ";
20185
20575
  export declare const OnboardingFullFragmentDoc = "\n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n ";
20186
20576
  export declare const GlobalConfigProjectFullFragmentDoc = "\n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
20577
+ export declare const DnsRewriteFullFragmentDoc = "\n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n ";
20578
+ export declare const DnsUpstreamFullFragmentDoc = "\n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20187
20579
  export declare const EnvironmentMetaFragmentDoc = "\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n ";
20188
20580
  export declare const EnvironmentVariableFullFragmentDoc = "\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
20189
20581
  export declare const EnvironmentFullFragmentDoc = "\n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n ";
@@ -20380,6 +20772,21 @@ export declare const UpdateOnboardingDocument = "\n mutation updateOnboarding
20380
20772
  export declare const UpdateGlobalConfigProjectDocument = "\n mutation updateGlobalConfigProject($input: SetConfigProjectInput!) {\n setGlobalConfigProject(input: $input) {\n config {\n project {\n ...globalConfigProjectFull\n }\n }\n }\n}\n \n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
20381
20773
  export declare const GlobalConfigDocument = "\n query globalConfig {\n globalConfig {\n address\n onboarding {\n ...onboardingFull\n }\n project {\n ...globalConfigProjectFull\n }\n }\n}\n \n fragment onboardingFull on OnboardingState {\n __typename\n caCertificate\n license\n project\n}\n \n\n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
20382
20774
  export declare const GlobalConfigProjectDocument = "\n query globalConfigProject {\n globalConfig {\n project {\n ...globalConfigProjectFull\n }\n }\n}\n \n fragment globalConfigProjectFull on GlobalConfigProject {\n __typename\n selectOnStart\n selectProjectId\n}\n ";
20775
+ export declare const DnsConfigStateDocument = "\n query DnsConfigState {\n dnsRewrites {\n ...dnsRewriteFull\n }\n dnsUpstreams {\n ...dnsUpstreamFull\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n \n\n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20776
+ export declare const CreateDnsRewriteDocument = "\n mutation createDnsRewrite($input: CreateDNSRewriteInput!) {\n createDnsRewrite(input: $input) {\n rewrite {\n ...dnsRewriteFull\n }\n error {\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
20777
+ export declare const DeleteDnsRewriteDocument = "\n mutation deleteDnsRewrite($id: ID!) {\n deleteDnsRewrite(id: $id) {\n deletedId\n }\n}\n ";
20778
+ export declare const UpdateDnsRewriteDocument = "\n mutation updateDnsRewrite($id: ID!, $input: UpdateDNSRewriteInput!) {\n updateDnsRewrite(id: $id, input: $input) {\n rewrite {\n ...dnsRewriteFull\n }\n error {\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
20779
+ export declare const ToggleDnsRewriteDocument = "\n mutation toggleDnsRewrite($id: ID!, $enabled: Boolean!) {\n toggleDnsRewrite(id: $id, enabled: $enabled) {\n rewrite {\n ...dnsRewriteFull\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n ";
20780
+ export declare const RankDnsRewriteDocument = "\n mutation rankDnsRewrite($id: ID!, $input: RankInput!) {\n rankDnsRewrite(id: $id, input: $input) {\n rewrite {\n ...dnsRewriteFull\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n ";
20781
+ export declare const CreateDnsUpstreamDocument = "\n mutation createDnsUpstream($input: CreateDNSUpstreamInput!) {\n createDnsUpstream(input: $input) {\n upstream {\n ...dnsUpstreamFull\n }\n }\n}\n \n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20782
+ export declare const DeleteDnsUpstreamDocument = "\n mutation deleteDnsUpstream($id: ID!) {\n deleteDnsUpstream(id: $id) {\n deletedId\n }\n}\n ";
20783
+ export declare const UpdateDnsUpstreamDocument = "\n mutation updateDnsUpstream($id: ID!, $input: UpdateDNSUpstreamInput!) {\n updateDnsUpstream(id: $id, input: $input) {\n upstream {\n ...dnsUpstreamFull\n }\n }\n}\n \n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20784
+ export declare const CreatedDnsRewriteDocument = "\n subscription createdDnsRewrite {\n createdDnsRewrite {\n rewrite {\n ...dnsRewriteFull\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n ";
20785
+ export declare const DeletedDnsRewriteDocument = "\n subscription deletedDnsRewrite {\n deletedDnsRewrite {\n deletedId\n }\n}\n ";
20786
+ export declare const UpdatedDnsRewriteDocument = "\n subscription updatedDnsRewrite {\n updatedDnsRewrite {\n rewrite {\n ...dnsRewriteFull\n }\n }\n}\n \n fragment dnsRewriteFull on DNSRewrite {\n id\n rank\n enabled\n resolution {\n ... on DNSIpResolver {\n ip\n }\n ... on DNSUpstreamResolver {\n id\n }\n }\n allowlist\n denylist\n}\n ";
20787
+ export declare const CreatedDnsUpstreamDocument = "\n subscription createdDnsUpstream {\n createdDnsUpstream {\n upstream {\n ...dnsUpstreamFull\n }\n }\n}\n \n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20788
+ export declare const DeletedDnsUpstreamDocument = "\n subscription deletedDnsUpstream {\n deletedDnsUpstream {\n deletedId\n }\n}\n ";
20789
+ export declare const UpdatedDnsUpstreamDocument = "\n subscription updatedDnsUpstream {\n updatedDnsUpstream {\n upstream {\n ...dnsUpstreamFull\n }\n }\n}\n \n fragment dnsUpstreamFull on DNSUpstream {\n id\n ip\n name\n}\n ";
20383
20790
  export declare const EnvironmentDocument = "\n query environment($id: ID!) {\n environment(id: $id) {\n ...environmentFull\n }\n}\n \n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n \n\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n \n\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
20384
20791
  export declare const EnvironmentsDocument = "\n query environments {\n environments {\n ...environmentMeta\n }\n}\n \n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n ";
20385
20792
  export declare const EnvironmentContextDocument = "\n query environmentContext {\n environmentContext {\n ...environmentContextFull\n }\n}\n \n fragment environmentContextFull on EnvironmentContext {\n global {\n ...environmentFull\n }\n selected {\n ...environmentFull\n }\n}\n \n\n fragment environmentFull on Environment {\n ...environmentMeta\n variables {\n ...environmentVariableFull\n }\n}\n \n\n fragment environmentMeta on Environment {\n __typename\n id\n name\n version\n}\n \n\n fragment environmentVariableFull on EnvironmentVariable {\n name\n value\n kind\n}\n ";
@@ -20550,12 +20957,12 @@ export declare const CreateUpstreamProxyHttpDocument = "\n mutation createUps
20550
20957
  export declare const UpdateUpstreamProxyHttpDocument = "\n mutation updateUpstreamProxyHttp($id: ID!, $input: UpdateUpstreamProxyHttpInput!) {\n updateUpstreamProxyHttp(id: $id, input: $input) {\n proxy {\n ...upstreamProxyHttpFull\n }\n }\n}\n \n fragment upstreamProxyHttpFull on UpstreamProxyHttp {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n rank\n connection {\n ...connectionInfoFull\n }\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20551
20958
  export declare const DeleteUpstreamProxyHttpDocument = "\n mutation deleteUpstreamProxyHttp($id: ID!) {\n deleteUpstreamProxyHttp(id: $id) {\n deletedId\n }\n}\n ";
20552
20959
  export declare const TestUpstreamProxyHttpDocument = "\n mutation testUpstreamProxyHttp($input: TestUpstreamProxyHttpInput!) {\n testUpstreamProxyHttp(input: $input) {\n success\n }\n}\n ";
20553
- export declare const RankUpstreamProxyHttpDocument = "\n mutation rankUpstreamProxyHttp($id: ID!, $input: RankUpstreamProxyHttpInput!) {\n rankUpstreamProxyHttp(id: $id, input: $input) {\n proxy {\n ...upstreamProxyHttpFull\n }\n }\n}\n \n fragment upstreamProxyHttpFull on UpstreamProxyHttp {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n rank\n connection {\n ...connectionInfoFull\n }\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20960
+ export declare const RankUpstreamProxyHttpDocument = "\n mutation rankUpstreamProxyHttp($id: ID!, $input: RankInput!) {\n rankUpstreamProxyHttp(id: $id, input: $input) {\n proxy {\n ...upstreamProxyHttpFull\n }\n }\n}\n \n fragment upstreamProxyHttpFull on UpstreamProxyHttp {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n rank\n connection {\n ...connectionInfoFull\n }\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20554
20961
  export declare const CreateUpstreamProxySocksDocument = "\n mutation createUpstreamProxySocks($input: CreateUpstreamProxySocksInput!) {\n createUpstreamProxySocks(input: $input) {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20555
20962
  export declare const UpdateUpstreamProxySocksDocument = "\n mutation updateUpstreamProxySocks($id: ID!, $input: UpdateUpstreamProxySocksInput!) {\n updateUpstreamProxySocks(id: $id, input: $input) {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20556
20963
  export declare const DeleteUpstreamProxySocksDocument = "\n mutation deleteUpstreamProxySocks($id: ID!) {\n deleteUpstreamProxySocks(id: $id) {\n deletedId\n }\n}\n ";
20557
20964
  export declare const TestUpstreamProxySocksDocument = "\n mutation testUpstreamProxySocks($input: TestUpstreamProxySocksInput!) {\n testUpstreamProxySocks(input: $input) {\n success\n }\n}\n ";
20558
- export declare const RankUpstreamProxySocksDocument = "\n mutation rankUpstreamProxySocks($id: ID!, $input: RankUpstreamProxySocksInput!) {\n rankUpstreamProxySocks(id: $id, input: $input) {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20965
+ export declare const RankUpstreamProxySocksDocument = "\n mutation rankUpstreamProxySocks($id: ID!, $input: RankInput!) {\n rankUpstreamProxySocks(id: $id, input: $input) {\n proxy {\n ...upstreamProxySocksFull\n }\n }\n}\n \n fragment upstreamProxySocksFull on UpstreamProxySocks {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n connection {\n ...connectionInfoFull\n }\n enabled\n includeDns\n rank\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20559
20966
  export declare const CreatedUpstreamProxyHttpDocument = "\n subscription createdUpstreamProxyHttp {\n createdUpstreamProxyHttp {\n proxy {\n ...upstreamProxyHttpFull\n }\n }\n}\n \n fragment upstreamProxyHttpFull on UpstreamProxyHttp {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n rank\n connection {\n ...connectionInfoFull\n }\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20560
20967
  export declare const UpdatedUpstreamProxyHttpDocument = "\n subscription updatedUpstreamProxyHttp {\n updatedUpstreamProxyHttp {\n proxy {\n ...upstreamProxyHttpFull\n }\n }\n}\n \n fragment upstreamProxyHttpFull on UpstreamProxyHttp {\n __typename\n id\n allowlist\n denylist\n auth {\n ... on UpstreamProxyAuthBasic {\n ...upstreamProxyAuthBasicFull\n }\n }\n enabled\n rank\n connection {\n ...connectionInfoFull\n }\n}\n \n\n fragment upstreamProxyAuthBasicFull on UpstreamProxyAuthBasic {\n __typename\n username\n password\n}\n \n\n fragment connectionInfoFull on ConnectionInfo {\n __typename\n host\n port\n isTLS\n SNI\n}\n ";
20561
20968
  export declare const DeletedUpstreamProxyHttpDocument = "\n subscription deletedUpstreamProxyHttp {\n deletedUpstreamProxyHttp {\n deletedProxyId\n }\n}\n ";
@@ -20654,6 +21061,21 @@ export declare function getSdk<C>(requester: Requester<C>): {
20654
21061
  updateGlobalConfigProject(variables: UpdateGlobalConfigProjectMutationVariables, options?: C): Promise<UpdateGlobalConfigProjectMutation>;
20655
21062
  globalConfig(variables?: GlobalConfigQueryVariables, options?: C): Promise<GlobalConfigQuery>;
20656
21063
  globalConfigProject(variables?: GlobalConfigProjectQueryVariables, options?: C): Promise<GlobalConfigProjectQuery>;
21064
+ DnsConfigState(variables?: DnsConfigStateQueryVariables, options?: C): Promise<DnsConfigStateQuery>;
21065
+ createDnsRewrite(variables: CreateDnsRewriteMutationVariables, options?: C): Promise<CreateDnsRewriteMutation>;
21066
+ deleteDnsRewrite(variables: DeleteDnsRewriteMutationVariables, options?: C): Promise<DeleteDnsRewriteMutation>;
21067
+ updateDnsRewrite(variables: UpdateDnsRewriteMutationVariables, options?: C): Promise<UpdateDnsRewriteMutation>;
21068
+ toggleDnsRewrite(variables: ToggleDnsRewriteMutationVariables, options?: C): Promise<ToggleDnsRewriteMutation>;
21069
+ rankDnsRewrite(variables: RankDnsRewriteMutationVariables, options?: C): Promise<RankDnsRewriteMutation>;
21070
+ createDnsUpstream(variables: CreateDnsUpstreamMutationVariables, options?: C): Promise<CreateDnsUpstreamMutation>;
21071
+ deleteDnsUpstream(variables: DeleteDnsUpstreamMutationVariables, options?: C): Promise<DeleteDnsUpstreamMutation>;
21072
+ updateDnsUpstream(variables: UpdateDnsUpstreamMutationVariables, options?: C): Promise<UpdateDnsUpstreamMutation>;
21073
+ createdDnsRewrite(variables?: CreatedDnsRewriteSubscriptionVariables, options?: C): AsyncIterable<CreatedDnsRewriteSubscription>;
21074
+ deletedDnsRewrite(variables?: DeletedDnsRewriteSubscriptionVariables, options?: C): AsyncIterable<DeletedDnsRewriteSubscription>;
21075
+ updatedDnsRewrite(variables?: UpdatedDnsRewriteSubscriptionVariables, options?: C): AsyncIterable<UpdatedDnsRewriteSubscription>;
21076
+ createdDnsUpstream(variables?: CreatedDnsUpstreamSubscriptionVariables, options?: C): AsyncIterable<CreatedDnsUpstreamSubscription>;
21077
+ deletedDnsUpstream(variables?: DeletedDnsUpstreamSubscriptionVariables, options?: C): AsyncIterable<DeletedDnsUpstreamSubscription>;
21078
+ updatedDnsUpstream(variables?: UpdatedDnsUpstreamSubscriptionVariables, options?: C): AsyncIterable<UpdatedDnsUpstreamSubscription>;
20657
21079
  environment(variables: EnvironmentQueryVariables, options?: C): Promise<EnvironmentQuery>;
20658
21080
  environments(variables?: EnvironmentsQueryVariables, options?: C): Promise<EnvironmentsQuery>;
20659
21081
  environmentContext(variables?: EnvironmentContextQueryVariables, options?: C): Promise<EnvironmentContextQuery>;
@@ -22,6 +22,7 @@ import type { SitemapSDK } from "./sitemap";
22
22
  import type { StorageSDK } from "./storage";
23
23
  import type { UISDK } from "./ui";
24
24
  import type { WindowSDK } from "./window";
25
+ import type { WorkflowSDK } from "./workflows";
25
26
  export type { CommandContext } from "./commands";
26
27
  export type { MenuItem } from "./menu";
27
28
  export type { ReplayTab, ReplaySession, ReplayCollection } from "./replay";
@@ -31,6 +32,7 @@ export type { HTTPQL, ID } from "./utils";
31
32
  export type { MatchReplaceRule, MatchReplaceCollection, MatchReplaceSection, MatchReplaceSectionRequestBody, MatchReplaceSectionRequestFirstLine, MatchReplaceSectionRequestHeader, MatchReplaceSectionRequestMethod, MatchReplaceSectionRequestPath, MatchReplaceSectionRequestQuery, MatchReplaceSectionResponseBody, MatchReplaceSectionResponseFirstLine, MatchReplaceSectionResponseHeader, MatchReplaceSectionResponseStatusCode, MatchReplaceOperationStatusCode, MatchReplaceOperationStatusCodeUpdate, MatchReplaceOperationQuery, MatchReplaceOperationQueryRaw, MatchReplaceOperationQueryAdd, MatchReplaceOperationQueryRemove, MatchReplaceOperationQueryUpdate, MatchReplaceOperationPath, MatchReplaceOperationPathRaw, MatchReplaceOperationMethod, MatchReplaceOperationMethodUpdate, MatchReplaceOperationHeader, MatchReplaceOperationHeaderRaw, MatchReplaceOperationHeaderAdd, MatchReplaceOperationHeaderRemove, MatchReplaceOperationHeaderUpdate, MatchReplaceOperationBody, MatchReplaceOperationBodyRaw, MatchReplaceOperationFirstLine, MatchReplaceOperationFirstLineRaw, MatchReplaceReplacer, MatchReplaceReplacerTerm, MatchReplaceReplacerWorkflow, MatchReplaceMatcherName, MatchReplaceMatcherRaw, MatchReplaceMatcherRawFull, MatchReplaceMatcherRawRegex, MatchReplaceMatcherRawValue, } from "./matchReplace";
32
33
  export type { Scope } from "./scopes";
33
34
  export type { EnvironmentVariable } from "./environment";
35
+ export type { Workflow, WorkflowKind } from "./workflows";
34
36
  /**
35
37
  * Utilities for frontend plugins.
36
38
  * @category SDK
@@ -132,4 +134,8 @@ export type API<T extends BackendEndpoints = Record<string, never>, E extends Ba
132
134
  * Utilities to interact with the runtime.
133
135
  */
134
136
  runtime: RuntimeSDK;
137
+ /**
138
+ * Utilities to interact with workflows.
139
+ */
140
+ workflows: WorkflowSDK;
135
141
  };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Utilities to interact with workflows.
3
+ * @category Workflows
4
+ */
5
+ export type WorkflowSDK = {
6
+ /**
7
+ * Get all workflows.
8
+ * @returns All workflows.
9
+ */
10
+ getWorkflows: () => Workflow[];
11
+ };
12
+ /**
13
+ * A workflow
14
+ * @category Workflows
15
+ */
16
+ export type Workflow = {
17
+ id: string;
18
+ name: string;
19
+ description: string;
20
+ kind: WorkflowKind;
21
+ };
22
+ /**
23
+ * The kind of workflow.
24
+ * @category Workflows
25
+ */
26
+ export type WorkflowKind = "Convert" | "Active" | "Passive";