@code0-tech/sagittarius-graphql-types 0.0.0-65144a9920c6a8de3bcf24acdcb8eec4158cef73 → 0.0.0-6dff4363750d2fd791eeeb1c03332895dfebcdcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +181 -45
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -168,16 +168,6 @@ export interface DataTypeIdentifier {
168
168
  updatedAt?: Maybe<Scalars['Time']['output']>;
169
169
  }
170
170
 
171
- /** Input type for data type identifier */
172
- export interface DataTypeIdentifierInput {
173
- /** Data type ID */
174
- dataTypeId?: InputMaybe<Scalars['DataTypeID']['input']>;
175
- /** Generic key value */
176
- genericKey?: InputMaybe<Scalars['String']['input']>;
177
- /** Generic type information */
178
- genericType?: InputMaybe<GenericTypeInput>;
179
- }
180
-
181
171
  /** Represents a rule that can be applied to a data type. */
182
172
  export interface DataTypeRule {
183
173
  __typename?: 'DataTypeRule';
@@ -439,6 +429,8 @@ export interface Flow {
439
429
  type?: Maybe<FlowType>;
440
430
  /** Time when this Flow was last updated */
441
431
  updatedAt?: Maybe<Scalars['Time']['output']>;
432
+ /** Abilities for the current user on this Flow */
433
+ userAbilities?: Maybe<FlowUserAbilities>;
442
434
  }
443
435
 
444
436
 
@@ -644,6 +636,13 @@ export interface FlowTypeSettingNamesArgs {
644
636
  last?: InputMaybe<Scalars['Int']['input']>;
645
637
  }
646
638
 
639
+ /** Abilities for the current user on this Flow */
640
+ export interface FlowUserAbilities {
641
+ __typename?: 'FlowUserAbilities';
642
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
643
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
644
+ }
645
+
647
646
  /** Represents a function definition */
648
647
  export interface FunctionDefinition {
649
648
  __typename?: 'FunctionDefinition';
@@ -782,14 +781,6 @@ export interface GenericMapper {
782
781
  updatedAt?: Maybe<Scalars['Time']['output']>;
783
782
  }
784
783
 
785
- /** Input type for generic mappers */
786
- export interface GenericMapperInput {
787
- /** The source data type identifier for the mapper */
788
- sources: Array<DataTypeIdentifierInput>;
789
- /** The target data type identifier for the mapper */
790
- target: Scalars['String']['input'];
791
- }
792
-
793
784
  /** Represents a generic type that can be used in various contexts. */
794
785
  export interface GenericType {
795
786
  __typename?: 'GenericType';
@@ -805,20 +796,29 @@ export interface GenericType {
805
796
  updatedAt?: Maybe<Scalars['Time']['output']>;
806
797
  }
807
798
 
808
- /** Input type for generic type operations. */
809
- export interface GenericTypeInput {
810
- /** The data type associated with this generic type. */
811
- dataTypeId: Scalars['DataTypeID']['input'];
812
- /** The mappers associated with this generic type. */
813
- genericMappers: Array<GenericMapperInput>;
814
- }
815
-
816
799
  /** Represents the input for external user identity validation */
817
800
  export interface IdentityInput {
818
801
  /** This validation code will be used for the oAuth validation process */
819
802
  code?: InputMaybe<Scalars['String']['input']>;
820
803
  }
821
804
 
805
+ /** Abilities for the current user on this Instance */
806
+ export interface InstanceUserAbilities {
807
+ __typename?: 'InstanceUserAbilities';
808
+ /** Shows if the current user has the `create_organization` ability on this Instance */
809
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
810
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
811
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
812
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
813
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
814
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
815
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
816
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
817
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
818
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
819
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
820
+ }
821
+
822
822
  /** Represents a literal value, such as a string or number. */
823
823
  export interface LiteralValue {
824
824
  __typename?: 'LiteralValue';
@@ -1181,6 +1181,8 @@ export interface Namespace {
1181
1181
  __typename?: 'Namespace';
1182
1182
  /** Time when this Namespace was created */
1183
1183
  createdAt?: Maybe<Scalars['Time']['output']>;
1184
+ /** (EE only) Currently active license of the namespace */
1185
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1184
1186
  /** Global ID of this Namespace */
1185
1187
  id?: Maybe<Scalars['NamespaceID']['output']>;
1186
1188
  /** Members of the namespace */
@@ -1197,6 +1199,8 @@ export interface Namespace {
1197
1199
  runtimes?: Maybe<RuntimeConnection>;
1198
1200
  /** Time when this Namespace was last updated */
1199
1201
  updatedAt?: Maybe<Scalars['Time']['output']>;
1202
+ /** Abilities for the current user on this Namespace */
1203
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1200
1204
  }
1201
1205
 
1202
1206
 
@@ -1261,6 +1265,8 @@ export interface NamespaceLicense {
1261
1265
  startDate?: Maybe<Scalars['Time']['output']>;
1262
1266
  /** Time when this NamespaceLicense was last updated */
1263
1267
  updatedAt?: Maybe<Scalars['Time']['output']>;
1268
+ /** Abilities for the current user on this NamespaceLicense */
1269
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1264
1270
  }
1265
1271
 
1266
1272
  /** The connection type for NamespaceLicense. */
@@ -1285,6 +1291,13 @@ export interface NamespaceLicenseEdge {
1285
1291
  node?: Maybe<NamespaceLicense>;
1286
1292
  }
1287
1293
 
1294
+ /** Abilities for the current user on this NamespaceLicense */
1295
+ export interface NamespaceLicenseUserAbilities {
1296
+ __typename?: 'NamespaceLicenseUserAbilities';
1297
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1298
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1299
+ }
1300
+
1288
1301
  /** Represents a namespace member */
1289
1302
  export interface NamespaceMember {
1290
1303
  __typename?: 'NamespaceMember';
@@ -1302,6 +1315,8 @@ export interface NamespaceMember {
1302
1315
  updatedAt?: Maybe<Scalars['Time']['output']>;
1303
1316
  /** User this member belongs to */
1304
1317
  user?: Maybe<User>;
1318
+ /** Abilities for the current user on this NamespaceMember */
1319
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1305
1320
  }
1306
1321
 
1307
1322
 
@@ -1381,6 +1396,15 @@ export interface NamespaceMemberRoleEdge {
1381
1396
  node?: Maybe<NamespaceMemberRole>;
1382
1397
  }
1383
1398
 
1399
+ /** Abilities for the current user on this NamespaceMember */
1400
+ export interface NamespaceMemberUserAbilities {
1401
+ __typename?: 'NamespaceMemberUserAbilities';
1402
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1403
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1404
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1405
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1406
+ }
1407
+
1384
1408
  /** Objects that can present a namespace */
1385
1409
  export type NamespaceParent = Organization | User;
1386
1410
 
@@ -1407,6 +1431,8 @@ export interface NamespaceProject {
1407
1431
  runtimes?: Maybe<RuntimeConnection>;
1408
1432
  /** Time when this NamespaceProject was last updated */
1409
1433
  updatedAt?: Maybe<Scalars['Time']['output']>;
1434
+ /** Abilities for the current user on this NamespaceProject */
1435
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1410
1436
  }
1411
1437
 
1412
1438
 
@@ -1455,6 +1481,19 @@ export interface NamespaceProjectEdge {
1455
1481
  node?: Maybe<NamespaceProject>;
1456
1482
  }
1457
1483
 
1484
+ /** Abilities for the current user on this NamespaceProject */
1485
+ export interface NamespaceProjectUserAbilities {
1486
+ __typename?: 'NamespaceProjectUserAbilities';
1487
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1488
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1489
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1490
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1491
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1492
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1493
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1494
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1495
+ }
1496
+
1458
1497
  /** Represents a namespace role. */
1459
1498
  export interface NamespaceRole {
1460
1499
  __typename?: 'NamespaceRole';
@@ -1472,6 +1511,8 @@ export interface NamespaceRole {
1472
1511
  namespace?: Maybe<Namespace>;
1473
1512
  /** Time when this NamespaceRole was last updated */
1474
1513
  updatedAt?: Maybe<Scalars['Time']['output']>;
1514
+ /** Abilities for the current user on this NamespaceRole */
1515
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1475
1516
  }
1476
1517
 
1477
1518
 
@@ -1494,7 +1535,7 @@ export const enum NamespaceRoleAbility {
1494
1535
  /** Allows to change the assigned projects of a namespace role */
1495
1536
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1496
1537
  /** Allows to create flows in a namespace project */
1497
- CreateFlows = 'CREATE_FLOWS',
1538
+ CreateFlow = 'CREATE_FLOW',
1498
1539
  /** Allows to create a license for the namespace */
1499
1540
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1500
1541
  /** Allows to create a project in the namespace */
@@ -1504,7 +1545,7 @@ export const enum NamespaceRoleAbility {
1504
1545
  /** Allows to create a runtime globally or for the namespace */
1505
1546
  CreateRuntime = 'CREATE_RUNTIME',
1506
1547
  /** Allows to delete flows in a namespace project */
1507
- DeleteFlows = 'DELETE_FLOWS',
1548
+ DeleteFlow = 'DELETE_FLOW',
1508
1549
  /** Allows to remove members of a namespace */
1509
1550
  DeleteMember = 'DELETE_MEMBER',
1510
1551
  /** Allows to delete the license of the namespace */
@@ -1528,7 +1569,7 @@ export const enum NamespaceRoleAbility {
1528
1569
  /** Allows to regenerate a runtime token */
1529
1570
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1530
1571
  /** Allows to update flows in the project */
1531
- UpdateFlows = 'UPDATE_FLOWS',
1572
+ UpdateFlow = 'UPDATE_FLOW',
1532
1573
  /** Allows to update the project of the namespace */
1533
1574
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1534
1575
  /** Allows to update the namespace role */
@@ -1561,6 +1602,34 @@ export interface NamespaceRoleEdge {
1561
1602
  node?: Maybe<NamespaceRole>;
1562
1603
  }
1563
1604
 
1605
+ /** Abilities for the current user on this NamespaceRole */
1606
+ export interface NamespaceRoleUserAbilities {
1607
+ __typename?: 'NamespaceRoleUserAbilities';
1608
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1609
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1610
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1611
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1612
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1613
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1614
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1615
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1616
+ }
1617
+
1618
+ /** Abilities for the current user on this Namespace */
1619
+ export interface NamespaceUserAbilities {
1620
+ __typename?: 'NamespaceUserAbilities';
1621
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1622
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1623
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1624
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1625
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1626
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1627
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1628
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1629
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1630
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1631
+ }
1632
+
1564
1633
  /** Autogenerated input type of NamespacesLicensesCreate */
1565
1634
  export interface NamespacesLicensesCreateInput {
1566
1635
  /** A unique identifier for the client performing the mutation. */
@@ -2028,6 +2097,39 @@ export interface Organization {
2028
2097
  namespace?: Maybe<Namespace>;
2029
2098
  /** Time when this Organization was last updated */
2030
2099
  updatedAt?: Maybe<Scalars['Time']['output']>;
2100
+ /** Abilities for the current user on this Organization */
2101
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2102
+ }
2103
+
2104
+ /** The connection type for Organization. */
2105
+ export interface OrganizationConnection {
2106
+ __typename?: 'OrganizationConnection';
2107
+ /** Total count of collection. */
2108
+ count?: Maybe<Scalars['Int']['output']>;
2109
+ /** A list of edges. */
2110
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2111
+ /** A list of nodes. */
2112
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2113
+ /** Information to aid in pagination. */
2114
+ pageInfo?: Maybe<PageInfo>;
2115
+ }
2116
+
2117
+ /** An edge in a connection. */
2118
+ export interface OrganizationEdge {
2119
+ __typename?: 'OrganizationEdge';
2120
+ /** A cursor for use in pagination. */
2121
+ cursor?: Maybe<Scalars['String']['output']>;
2122
+ /** The item at the end of the edge. */
2123
+ node?: Maybe<Organization>;
2124
+ }
2125
+
2126
+ /** Abilities for the current user on this Organization */
2127
+ export interface OrganizationUserAbilities {
2128
+ __typename?: 'OrganizationUserAbilities';
2129
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2130
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2131
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2132
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
2031
2133
  }
2032
2134
 
2033
2135
  /** Autogenerated input type of OrganizationsCreate */
@@ -2193,6 +2295,10 @@ export interface Query {
2193
2295
  nodes?: Maybe<Array<Maybe<Node>>>;
2194
2296
  /** Find a organization */
2195
2297
  organization?: Maybe<Organization>;
2298
+ /** Find organizations */
2299
+ organizations?: Maybe<OrganizationConnection>;
2300
+ /** Abilities for the current user on this Instance */
2301
+ userAbilities?: Maybe<InstanceUserAbilities>;
2196
2302
  /** Find users */
2197
2303
  users?: Maybe<UserConnection>;
2198
2304
  }
@@ -2238,6 +2344,15 @@ export interface QueryOrganizationArgs {
2238
2344
  }
2239
2345
 
2240
2346
 
2347
+ /** Root Query type */
2348
+ export interface QueryOrganizationsArgs {
2349
+ after?: InputMaybe<Scalars['String']['input']>;
2350
+ before?: InputMaybe<Scalars['String']['input']>;
2351
+ first?: InputMaybe<Scalars['Int']['input']>;
2352
+ last?: InputMaybe<Scalars['Int']['input']>;
2353
+ }
2354
+
2355
+
2241
2356
  /** Root Query type */
2242
2357
  export interface QueryUsersArgs {
2243
2358
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2274,34 +2389,22 @@ export interface ReferenceValue {
2274
2389
  __typename?: 'ReferenceValue';
2275
2390
  /** Time when this ReferenceValue was created */
2276
2391
  createdAt?: Maybe<Scalars['Time']['output']>;
2277
- /** The identifier of the data type this reference value belongs to. */
2278
- dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
2279
- /** The depth of the reference value. */
2280
- depth?: Maybe<Scalars['Int']['output']>;
2281
2392
  /** Global ID of this ReferenceValue */
2282
2393
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2283
- /** The node of the reference value. */
2284
- node?: Maybe<Scalars['Int']['output']>;
2394
+ /** The referenced value. */
2395
+ nodeFunction?: Maybe<NodeFunction>;
2285
2396
  /** The paths associated with this reference value. */
2286
2397
  referencePath?: Maybe<Array<ReferencePath>>;
2287
- /** The scope of the reference value. */
2288
- scope?: Maybe<Array<Scalars['Int']['output']>>;
2289
2398
  /** Time when this ReferenceValue was last updated */
2290
2399
  updatedAt?: Maybe<Scalars['Time']['output']>;
2291
2400
  }
2292
2401
 
2293
2402
  /** Input type for reference value */
2294
2403
  export interface ReferenceValueInput {
2295
- /** The identifier of the data type this reference value belongs to */
2296
- dataTypeIdentifier: DataTypeIdentifierInput;
2297
- /** The primary level of the reference value */
2298
- primaryLevel: Scalars['Int']['input'];
2404
+ /** The referenced value */
2405
+ nodeFunction: Scalars['NodeFunctionID']['input'];
2299
2406
  /** The paths associated with this reference value */
2300
2407
  referencePath: Array<ReferencePathInput>;
2301
- /** The secondary level of the reference value */
2302
- secondaryLevel: Scalars['Int']['input'];
2303
- /** The tertiary level of the reference value */
2304
- tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2305
2408
  }
2306
2409
 
2307
2410
  /** Represents a runtime */
@@ -2329,6 +2432,8 @@ export interface Runtime {
2329
2432
  token?: Maybe<Scalars['String']['output']>;
2330
2433
  /** Time when this Runtime was last updated */
2331
2434
  updatedAt?: Maybe<Scalars['Time']['output']>;
2435
+ /** Abilities for the current user on this Runtime */
2436
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2332
2437
  }
2333
2438
 
2334
2439
 
@@ -2458,6 +2563,17 @@ export const enum RuntimeStatusType {
2458
2563
  Disconnected = 'DISCONNECTED'
2459
2564
  }
2460
2565
 
2566
+ /** Abilities for the current user on this Runtime */
2567
+ export interface RuntimeUserAbilities {
2568
+ __typename?: 'RuntimeUserAbilities';
2569
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2570
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2571
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2572
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2573
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2574
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2575
+ }
2576
+
2461
2577
  /** Autogenerated input type of RuntimesCreate */
2462
2578
  export interface RuntimesCreateInput {
2463
2579
  /** A unique identifier for the client performing the mutation. */
@@ -2602,6 +2718,8 @@ export interface User {
2602
2718
  sessions?: Maybe<UserSessionConnection>;
2603
2719
  /** Time when this User was last updated */
2604
2720
  updatedAt?: Maybe<Scalars['Time']['output']>;
2721
+ /** Abilities for the current user on this User */
2722
+ userAbilities?: Maybe<UserUserAbilities>;
2605
2723
  /** Username of the user */
2606
2724
  username?: Maybe<Scalars['String']['output']>;
2607
2725
  }
@@ -2709,6 +2827,8 @@ export interface UserSession {
2709
2827
  updatedAt?: Maybe<Scalars['Time']['output']>;
2710
2828
  /** User that belongs to the session */
2711
2829
  user?: Maybe<User>;
2830
+ /** Abilities for the current user on this UserSession */
2831
+ userAbilities?: Maybe<UserSessionUserAbilities>;
2712
2832
  }
2713
2833
 
2714
2834
  /** The connection type for UserSession. */
@@ -2733,6 +2853,22 @@ export interface UserSessionEdge {
2733
2853
  node?: Maybe<UserSession>;
2734
2854
  }
2735
2855
 
2856
+ /** Abilities for the current user on this UserSession */
2857
+ export interface UserSessionUserAbilities {
2858
+ __typename?: 'UserSessionUserAbilities';
2859
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
2860
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
2861
+ }
2862
+
2863
+ /** Abilities for the current user on this User */
2864
+ export interface UserUserAbilities {
2865
+ __typename?: 'UserUserAbilities';
2866
+ /** Shows if the current user has the `manage_mfa` ability on this User */
2867
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
2868
+ /** Shows if the current user has the `update_user` ability on this User */
2869
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
2870
+ }
2871
+
2736
2872
  /** Autogenerated input type of UsersEmailVerification */
2737
2873
  export interface UsersEmailVerificationInput {
2738
2874
  /** A unique identifier for the client performing the mutation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-65144a9920c6a8de3bcf24acdcb8eec4158cef73",
3
+ "version": "0.0.0-6dff4363750d2fd791eeeb1c03332895dfebcdcc",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",