@code0-tech/sagittarius-graphql-types 0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150 → 0.0.0-d5637a7e1c1307a9c89dd85bec0f473486debd23

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 +238 -20
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -57,10 +57,18 @@ export interface ActiveModelError {
57
57
  /** Represents the application instance */
58
58
  export interface Application {
59
59
  __typename?: 'Application';
60
+ /** URL to the legal notice page */
61
+ legalNoticeUrl?: Maybe<Scalars['String']['output']>;
60
62
  /** Metadata about the application */
61
63
  metadata?: Maybe<Metadata>;
64
+ /** URL to the privacy policy page */
65
+ privacyUrl?: Maybe<Scalars['String']['output']>;
62
66
  /** Global application settings */
63
67
  settings?: Maybe<ApplicationSettings>;
68
+ /** URL to the terms and conditions page */
69
+ termsAndConditionsUrl?: Maybe<Scalars['String']['output']>;
70
+ /** Abilities for the current user on this Application */
71
+ userAbilities?: Maybe<ApplicationUserAbilities>;
64
72
  }
65
73
 
66
74
  /** Represents the application settings */
@@ -68,20 +76,45 @@ export interface ApplicationSettings {
68
76
  __typename?: 'ApplicationSettings';
69
77
  /** Shows if admin status can be queried by non-administrators */
70
78
  adminStatusVisible?: Maybe<Scalars['Boolean']['output']>;
79
+ /** List of configured identity providers */
80
+ identityProviders?: Maybe<IdentityProviderConnection>;
81
+ /** URL to the legal notice page */
82
+ legalNoticeUrl?: Maybe<Scalars['String']['output']>;
71
83
  /** Shows if organization creation is restricted to administrators */
72
84
  organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
85
+ /** URL to the privacy policy page */
86
+ privacyUrl?: Maybe<Scalars['String']['output']>;
87
+ /** URL to the terms and conditions page */
88
+ termsAndConditionsUrl?: Maybe<Scalars['String']['output']>;
73
89
  /** Shows if user registration is enabled */
74
90
  userRegistrationEnabled?: Maybe<Scalars['Boolean']['output']>;
75
91
  }
76
92
 
93
+
94
+ /** Represents the application settings */
95
+ export interface ApplicationSettingsIdentityProvidersArgs {
96
+ after?: InputMaybe<Scalars['String']['input']>;
97
+ before?: InputMaybe<Scalars['String']['input']>;
98
+ first?: InputMaybe<Scalars['Int']['input']>;
99
+ last?: InputMaybe<Scalars['Int']['input']>;
100
+ }
101
+
77
102
  /** Autogenerated input type of ApplicationSettingsUpdate */
78
103
  export interface ApplicationSettingsUpdateInput {
79
104
  /** Set if admin status can be queried by non-administrators. */
80
105
  adminStatusVisible?: InputMaybe<Scalars['Boolean']['input']>;
81
106
  /** A unique identifier for the client performing the mutation. */
82
107
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
108
+ /** Set the list of configured identity providers. */
109
+ identityProviders?: InputMaybe<Array<IdentityProviderInput>>;
110
+ /** Set the URL to the legal notice page. */
111
+ legalNoticeUrl?: InputMaybe<Scalars['String']['input']>;
83
112
  /** Set if organization creation is restricted to administrators. */
84
113
  organizationCreationRestricted?: InputMaybe<Scalars['Boolean']['input']>;
114
+ /** Set the URL to the privacy policy page. */
115
+ privacyUrl?: InputMaybe<Scalars['String']['input']>;
116
+ /** Set the URL to the terms and conditions page. */
117
+ termsAndConditionsUrl?: InputMaybe<Scalars['String']['input']>;
85
118
  /** Set if user registration is enabled. */
86
119
  userRegistrationEnabled?: InputMaybe<Scalars['Boolean']['input']>;
87
120
  }
@@ -97,6 +130,23 @@ export interface ApplicationSettingsUpdatePayload {
97
130
  errors?: Maybe<Array<Error>>;
98
131
  }
99
132
 
133
+ /** Abilities for the current user on this Application */
134
+ export interface ApplicationUserAbilities {
135
+ __typename?: 'ApplicationUserAbilities';
136
+ /** Shows if the current user has the `create_organization` ability on this Application */
137
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
138
+ /** Shows if the current user has the `create_runtime` ability on this Application */
139
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
140
+ /** Shows if the current user has the `delete_runtime` ability on this Application */
141
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
142
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Application */
143
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
144
+ /** Shows if the current user has the `update_application_setting` ability on this Application */
145
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
146
+ /** Shows if the current user has the `update_runtime` ability on this Application */
147
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
148
+ }
149
+
100
150
  /** Objects that can present an authentication */
101
151
  export type Authentication = UserSession;
102
152
 
@@ -424,6 +474,8 @@ export const enum ErrorCodeEnum {
424
474
  FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
425
475
  /** The flow validation has failed */
426
476
  FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
477
+ /** The id for the function value node does not exist */
478
+ FunctionValueNotFound = 'FUNCTION_VALUE_NOT_FOUND',
427
479
  /** The given key was not found in the data type */
428
480
  GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
429
481
  /** The external identity with the given identifier was not found */
@@ -456,6 +508,10 @@ export const enum ErrorCodeEnum {
456
508
  InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
457
509
  /** The namespace role is invalid because of active model errors */
458
510
  InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
511
+ /** The node function is invalid */
512
+ InvalidNodeFunction = 'INVALID_NODE_FUNCTION',
513
+ /** The node parameter is invalid */
514
+ InvalidNodeParameter = 'INVALID_NODE_PARAMETER',
459
515
  /** The organization is invalid because of active model errors */
460
516
  InvalidOrganization = 'INVALID_ORGANIZATION',
461
517
  /** The provided password repeat does not match the password */
@@ -508,6 +564,8 @@ export const enum ErrorCodeEnum {
508
564
  NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
509
565
  /** The namespace role with the given identifier was not found */
510
566
  NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
567
+ /** The node with this id does not exist */
568
+ NodeNotFound = 'NODE_NOT_FOUND',
511
569
  /** No data type identifier could be found for the given generic key */
512
570
  NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
513
571
  /** No data type could be found for the given identifier */
@@ -701,6 +759,8 @@ export interface FlowType {
701
759
  names?: Maybe<TranslationConnection>;
702
760
  /** Return type of the flow type */
703
761
  returnType?: Maybe<DataType>;
762
+ /** Runtime of the flow type */
763
+ runtime?: Maybe<Runtime>;
704
764
  /** Time when this FlowType was last updated */
705
765
  updatedAt?: Maybe<Scalars['Time']['output']>;
706
766
  }
@@ -1051,21 +1111,90 @@ export interface IdentityInput {
1051
1111
  code?: InputMaybe<Scalars['String']['input']>;
1052
1112
  }
1053
1113
 
1054
- /** Abilities for the current user on this Instance */
1055
- export interface InstanceUserAbilities {
1056
- __typename?: 'InstanceUserAbilities';
1057
- /** Shows if the current user has the `create_organization` ability on this Instance */
1058
- createOrganization?: Maybe<Scalars['Boolean']['output']>;
1059
- /** Shows if the current user has the `create_runtime` ability on this Instance */
1060
- createRuntime?: Maybe<Scalars['Boolean']['output']>;
1061
- /** Shows if the current user has the `delete_runtime` ability on this Instance */
1062
- deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
1063
- /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
1064
- rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
1065
- /** Shows if the current user has the `update_application_setting` ability on this Instance */
1066
- updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
1067
- /** Shows if the current user has the `update_runtime` ability on this Instance */
1068
- updateRuntime?: Maybe<Scalars['Boolean']['output']>;
1114
+ /** Represents an identity provider configuration. */
1115
+ export interface IdentityProvider {
1116
+ __typename?: 'IdentityProvider';
1117
+ /** Configuration details of the identity provider. */
1118
+ config?: Maybe<IdentityProviderConfig>;
1119
+ /** Unique identifier of the identity provider. */
1120
+ id?: Maybe<Scalars['String']['output']>;
1121
+ /** Type of the identity provider. */
1122
+ type?: Maybe<IdentityProviderType>;
1123
+ }
1124
+
1125
+ /** Represents the configuration of an identity provider. */
1126
+ export type IdentityProviderConfig = OidcIdentityProviderConfig | SamlIdentityProviderConfig;
1127
+
1128
+ /** Input for identity provider configuration. Contains fields for both OIDC and SAML. */
1129
+ export interface IdentityProviderConfigInput {
1130
+ /** List of attribute statements for the identity provider */
1131
+ attributeStatements?: InputMaybe<Scalars['JSON']['input']>;
1132
+ /** The authorization URL for the OIDC identity provider */
1133
+ authorizationUrl?: InputMaybe<Scalars['String']['input']>;
1134
+ /** The client ID for the OIDC identity provider */
1135
+ clientId?: InputMaybe<Scalars['String']['input']>;
1136
+ /** The client secret for the OIDC identity provider */
1137
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
1138
+ /** Optional metadata URL to fetch metadata (alternative to settings) */
1139
+ metadataUrl?: InputMaybe<Scalars['String']['input']>;
1140
+ /** The name of the identity provider */
1141
+ providerName?: InputMaybe<Scalars['String']['input']>;
1142
+ /** The redirect URI for the OIDC identity provider */
1143
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1144
+ /** The SAML response settings for the identity provider */
1145
+ responseSettings?: InputMaybe<Scalars['JSON']['input']>;
1146
+ /** The SAML settings for the identity provider */
1147
+ settings?: InputMaybe<Scalars['JSON']['input']>;
1148
+ /** The user details URL for the OIDC identity provider */
1149
+ userDetailsUrl?: InputMaybe<Scalars['String']['input']>;
1150
+ }
1151
+
1152
+ /** The connection type for IdentityProvider. */
1153
+ export interface IdentityProviderConnection {
1154
+ __typename?: 'IdentityProviderConnection';
1155
+ /** Total count of collection. */
1156
+ count?: Maybe<Scalars['Int']['output']>;
1157
+ /** A list of edges. */
1158
+ edges?: Maybe<Array<Maybe<IdentityProviderEdge>>>;
1159
+ /** A list of nodes. */
1160
+ nodes?: Maybe<Array<Maybe<IdentityProvider>>>;
1161
+ /** Information to aid in pagination. */
1162
+ pageInfo?: Maybe<PageInfo>;
1163
+ }
1164
+
1165
+ /** An edge in a connection. */
1166
+ export interface IdentityProviderEdge {
1167
+ __typename?: 'IdentityProviderEdge';
1168
+ /** A cursor for use in pagination. */
1169
+ cursor?: Maybe<Scalars['String']['output']>;
1170
+ /** The item at the end of the edge. */
1171
+ node?: Maybe<IdentityProvider>;
1172
+ }
1173
+
1174
+ /** Input for creating or updating an identity provider */
1175
+ export interface IdentityProviderInput {
1176
+ /** Configuration for the identity provider */
1177
+ config: IdentityProviderConfigInput;
1178
+ /** Unique identifier of the identity provider */
1179
+ id: Scalars['String']['input'];
1180
+ /** Type of the identity provider */
1181
+ type: IdentityProviderType;
1182
+ }
1183
+
1184
+ /** The available identity provider types. */
1185
+ export const enum IdentityProviderType {
1186
+ /** Identity provider of type discord */
1187
+ Discord = 'DISCORD',
1188
+ /** Identity provider of type github */
1189
+ Github = 'GITHUB',
1190
+ /** Identity provider of type google */
1191
+ Google = 'GOOGLE',
1192
+ /** Identity provider of type microsoft */
1193
+ Microsoft = 'MICROSOFT',
1194
+ /** Identity provider of type oidc */
1195
+ Oidc = 'OIDC',
1196
+ /** Identity provider of type saml */
1197
+ Saml = 'SAML'
1069
1198
  }
1070
1199
 
1071
1200
  /** Represents a literal value, such as a string or number. */
@@ -1155,6 +1284,8 @@ export interface Mutation {
1155
1284
  namespacesProjectsFlowsCreate?: Maybe<NamespacesProjectsFlowsCreatePayload>;
1156
1285
  /** Deletes a namespace project. */
1157
1286
  namespacesProjectsFlowsDelete?: Maybe<NamespacesProjectsFlowsDeletePayload>;
1287
+ /** Update an existing flow. */
1288
+ namespacesProjectsFlowsUpdate?: Maybe<NamespacesProjectsFlowsUpdatePayload>;
1158
1289
  /** Updates a namespace project. */
1159
1290
  namespacesProjectsUpdate?: Maybe<NamespacesProjectsUpdatePayload>;
1160
1291
  /** Update the abilities a role is granted. */
@@ -1288,6 +1419,12 @@ export interface MutationNamespacesProjectsFlowsDeleteArgs {
1288
1419
  }
1289
1420
 
1290
1421
 
1422
+ /** Root Mutation type */
1423
+ export interface MutationNamespacesProjectsFlowsUpdateArgs {
1424
+ input: NamespacesProjectsFlowsUpdateInput;
1425
+ }
1426
+
1427
+
1291
1428
  /** Root Mutation type */
1292
1429
  export interface MutationNamespacesProjectsUpdateArgs {
1293
1430
  input: NamespacesProjectsUpdateInput;
@@ -1476,6 +1613,8 @@ export interface Namespace {
1476
1613
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1477
1614
  /** Parent of this namespace */
1478
1615
  parent?: Maybe<NamespaceParent>;
1616
+ /** Query a project by its id */
1617
+ project?: Maybe<NamespaceProject>;
1479
1618
  /** Projects of the namespace */
1480
1619
  projects?: Maybe<NamespaceProjectConnection>;
1481
1620
  /** Roles of the namespace */
@@ -1507,6 +1646,12 @@ export interface NamespaceNamespaceLicensesArgs {
1507
1646
  }
1508
1647
 
1509
1648
 
1649
+ /** Represents a Namespace */
1650
+ export interface NamespaceProjectArgs {
1651
+ id: Scalars['NamespaceProjectID']['input'];
1652
+ }
1653
+
1654
+
1510
1655
  /** Represents a Namespace */
1511
1656
  export interface NamespaceProjectsArgs {
1512
1657
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2141,6 +2286,27 @@ export interface NamespacesProjectsFlowsDeletePayload {
2141
2286
  flow?: Maybe<Flow>;
2142
2287
  }
2143
2288
 
2289
+ /** Autogenerated input type of NamespacesProjectsFlowsUpdate */
2290
+ export interface NamespacesProjectsFlowsUpdateInput {
2291
+ /** A unique identifier for the client performing the mutation. */
2292
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2293
+ /** The ID of the flow to update */
2294
+ flowId: Scalars['FlowID']['input'];
2295
+ /** The updated flow */
2296
+ flowInput: FlowInput;
2297
+ }
2298
+
2299
+ /** Autogenerated return type of NamespacesProjectsFlowsUpdate. */
2300
+ export interface NamespacesProjectsFlowsUpdatePayload {
2301
+ __typename?: 'NamespacesProjectsFlowsUpdatePayload';
2302
+ /** A unique identifier for the client performing the mutation. */
2303
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2304
+ /** Errors encountered during execution of the mutation. */
2305
+ errors?: Maybe<Array<Error>>;
2306
+ /** The updated flow. */
2307
+ flow?: Maybe<Flow>;
2308
+ }
2309
+
2144
2310
  /** Autogenerated input type of NamespacesProjectsUpdate */
2145
2311
  export interface NamespacesProjectsUpdateInput {
2146
2312
  /** A unique identifier for the client performing the mutation. */
@@ -2323,6 +2489,13 @@ export interface NodeFunctionEdge {
2323
2489
  node?: Maybe<NodeFunction>;
2324
2490
  }
2325
2491
 
2492
+ /** Represents a Node Function id wrapper. */
2493
+ export interface NodeFunctionIdWrapper {
2494
+ __typename?: 'NodeFunctionIdWrapper';
2495
+ /** Global ID of this NodeFunctionIdWrapper */
2496
+ id?: Maybe<Scalars['NodeFunctionID']['output']>;
2497
+ }
2498
+
2326
2499
  /** Input type for a Node Function */
2327
2500
  export interface NodeFunctionInput {
2328
2501
  /** The identifier of the Node Function used to create/update the flow */
@@ -2381,18 +2554,37 @@ export interface NodeParameterInput {
2381
2554
  }
2382
2555
 
2383
2556
  /** Represents a parameter value for a node. */
2384
- export type NodeParameterValue = LiteralValue | NodeFunction | ReferenceValue;
2557
+ export type NodeParameterValue = LiteralValue | NodeFunctionIdWrapper | ReferenceValue;
2385
2558
 
2386
2559
  /** Input type for parameter value */
2387
2560
  export interface NodeParameterValueInput {
2388
- /** The function value of the parameter */
2389
- functionValue?: InputMaybe<NodeFunctionInput>;
2390
2561
  /** The literal value of the parameter */
2391
2562
  literalValue?: InputMaybe<Scalars['JSON']['input']>;
2563
+ /** The function value of the parameter as an id */
2564
+ nodeFunctionId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
2392
2565
  /** The reference value of the parameter */
2393
2566
  referenceValue?: InputMaybe<ReferenceValueInput>;
2394
2567
  }
2395
2568
 
2569
+ /** Represents an OIDC identity provider configuration */
2570
+ export interface OidcIdentityProviderConfig {
2571
+ __typename?: 'OidcIdentityProviderConfig';
2572
+ /** List of attribute statements for the OIDC identity provider */
2573
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
2574
+ /** The authorization URL for the OIDC identity provider */
2575
+ authorizationUrl?: Maybe<Scalars['String']['output']>;
2576
+ /** The client ID for the OIDC identity provider */
2577
+ clientId?: Maybe<Scalars['String']['output']>;
2578
+ /** The client secret for the OIDC identity provider */
2579
+ clientSecret?: Maybe<Scalars['String']['output']>;
2580
+ /** The name of the OIDC identity provider */
2581
+ providerName?: Maybe<Scalars['String']['output']>;
2582
+ /** The redirect URI for the OIDC identity provider */
2583
+ redirectUri?: Maybe<Scalars['String']['output']>;
2584
+ /** The user details URL for the OIDC identity provider */
2585
+ userDetailsUrl?: Maybe<Scalars['String']['output']>;
2586
+ }
2587
+
2396
2588
  /** Represents a Organization */
2397
2589
  export interface Organization {
2398
2590
  __typename?: 'Organization';
@@ -2608,8 +2800,6 @@ export interface Query {
2608
2800
  organizations?: Maybe<OrganizationConnection>;
2609
2801
  /** Find a user */
2610
2802
  user?: Maybe<User>;
2611
- /** Abilities for the current user on this Instance */
2612
- userAbilities?: Maybe<InstanceUserAbilities>;
2613
2803
  /** Find users */
2614
2804
  users?: Maybe<UserConnection>;
2615
2805
  }
@@ -2752,6 +2942,8 @@ export interface Runtime {
2752
2942
  description?: Maybe<Scalars['String']['output']>;
2753
2943
  /** FlowTypes of the runtime */
2754
2944
  flowTypes?: Maybe<FlowTypeConnection>;
2945
+ /** Function definitions of the runtime */
2946
+ functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2755
2947
  /** Global ID of this Runtime */
2756
2948
  id?: Maybe<Scalars['RuntimeID']['output']>;
2757
2949
  /** The name for the runtime */
@@ -2789,6 +2981,15 @@ export interface RuntimeFlowTypesArgs {
2789
2981
  }
2790
2982
 
2791
2983
 
2984
+ /** Represents a runtime */
2985
+ export interface RuntimeFunctionDefinitionsArgs {
2986
+ after?: InputMaybe<Scalars['String']['input']>;
2987
+ before?: InputMaybe<Scalars['String']['input']>;
2988
+ first?: InputMaybe<Scalars['Int']['input']>;
2989
+ last?: InputMaybe<Scalars['Int']['input']>;
2990
+ }
2991
+
2992
+
2792
2993
  /** Represents a runtime */
2793
2994
  export interface RuntimeProjectsArgs {
2794
2995
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2863,6 +3064,8 @@ export interface RuntimeParameterDefinition {
2863
3064
  createdAt?: Maybe<Scalars['Time']['output']>;
2864
3065
  /** Global ID of this RuntimeParameterDefinition */
2865
3066
  id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
3067
+ /** Identifier of the runtime parameter definition */
3068
+ identifier?: Maybe<Scalars['String']['output']>;
2866
3069
  /** Time when this RuntimeParameterDefinition was last updated */
2867
3070
  updatedAt?: Maybe<Scalars['Time']['output']>;
2868
3071
  }
@@ -2992,6 +3195,21 @@ export interface RuntimesUpdatePayload {
2992
3195
  runtime?: Maybe<Runtime>;
2993
3196
  }
2994
3197
 
3198
+ /** Represents the configuration for a SAML identity provider. */
3199
+ export interface SamlIdentityProviderConfig {
3200
+ __typename?: 'SamlIdentityProviderConfig';
3201
+ /** List of attribute statements for the SAML identity provider */
3202
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
3203
+ /** The metadata url to fetch the metadatas (replacement for settings) */
3204
+ metadataUrl?: Maybe<Scalars['String']['output']>;
3205
+ /** The name of the SAML identity provider */
3206
+ providerName?: Maybe<Scalars['String']['output']>;
3207
+ /** The SAML response settings for the identity provider */
3208
+ responseSettings?: Maybe<Scalars['JSON']['output']>;
3209
+ /** The SAML settings for the identity provider */
3210
+ settings?: Maybe<Scalars['JSON']['output']>;
3211
+ }
3212
+
2995
3213
  /** Represents a translation */
2996
3214
  export interface Translation {
2997
3215
  __typename?: 'Translation';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150",
3
+ "version": "0.0.0-d5637a7e1c1307a9c89dd85bec0f473486debd23",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",