@flyteorg/flyteidl2 2.0.0 → 2.0.2

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.
@@ -0,0 +1,220 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/auth/auth_service.proto (package flyteidl2.auth, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file flyteidl2/auth/auth_service.proto.
11
+ */
12
+ export const file_flyteidl2_auth_auth_service: GenFile = /*@__PURE__*/
13
+ fileDesc("CiFmbHl0ZWlkbDIvYXV0aC9hdXRoX3NlcnZpY2UucHJvdG8SDmZseXRlaWRsMi5hdXRoIhoKGEdldE9BdXRoMk1ldGFkYXRhUmVxdWVzdCLQAgoZR2V0T0F1dGgyTWV0YWRhdGFSZXNwb25zZRIOCgZpc3N1ZXIYASABKAkSHgoWYXV0aG9yaXphdGlvbl9lbmRwb2ludBgCIAEoCRIWCg50b2tlbl9lbmRwb2ludBgDIAEoCRIgChhyZXNwb25zZV90eXBlc19zdXBwb3J0ZWQYBCADKAkSGAoQc2NvcGVzX3N1cHBvcnRlZBgFIAMoCRItCiV0b2tlbl9lbmRwb2ludF9hdXRoX21ldGhvZHNfc3VwcG9ydGVkGAYgAygJEhAKCGp3a3NfdXJpGAcgASgJEigKIGNvZGVfY2hhbGxlbmdlX21ldGhvZHNfc3VwcG9ydGVkGAggAygJEh0KFWdyYW50X3R5cGVzX3N1cHBvcnRlZBgJIAMoCRIlCh1kZXZpY2VfYXV0aG9yaXphdGlvbl9lbmRwb2ludBgKIAEoCSIeChxHZXRQdWJsaWNDbGllbnRDb25maWdSZXF1ZXN0Iq0BCh1HZXRQdWJsaWNDbGllbnRDb25maWdSZXNwb25zZRIRCgljbGllbnRfaWQYASABKAkSFAoMcmVkaXJlY3RfdXJpGAIgASgJEg4KBnNjb3BlcxgDIAMoCRIiChphdXRob3JpemF0aW9uX21ldGFkYXRhX2tleRgEIAEoCRIdChVzZXJ2aWNlX2h0dHBfZW5kcG9pbnQYBSABKAkSEAoIYXVkaWVuY2UYBiABKAky/wEKE0F1dGhNZXRhZGF0YVNlcnZpY2USbQoRR2V0T0F1dGgyTWV0YWRhdGESKC5mbHl0ZWlkbDIuYXV0aC5HZXRPQXV0aDJNZXRhZGF0YVJlcXVlc3QaKS5mbHl0ZWlkbDIuYXV0aC5HZXRPQXV0aDJNZXRhZGF0YVJlc3BvbnNlIgOQAgESeQoVR2V0UHVibGljQ2xpZW50Q29uZmlnEiwuZmx5dGVpZGwyLmF1dGguR2V0UHVibGljQ2xpZW50Q29uZmlnUmVxdWVzdBotLmZseXRlaWRsMi5hdXRoLkdldFB1YmxpY0NsaWVudENvbmZpZ1Jlc3BvbnNlIgOQAgFCtQEKEmNvbS5mbHl0ZWlkbDIuYXV0aEIQQXV0aFNlcnZpY2VQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9hdXRoogIDRkFYqgIORmx5dGVpZGwyLkF1dGjKAg5GbHl0ZWlkbDJcQXV0aOICGkZseXRlaWRsMlxBdXRoXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpBdXRoYgZwcm90bzM");
14
+
15
+ /**
16
+ * @generated from message flyteidl2.auth.GetOAuth2MetadataRequest
17
+ */
18
+ export type GetOAuth2MetadataRequest = Message<"flyteidl2.auth.GetOAuth2MetadataRequest"> & {
19
+ };
20
+
21
+ /**
22
+ * Describes the message flyteidl2.auth.GetOAuth2MetadataRequest.
23
+ * Use `create(GetOAuth2MetadataRequestSchema)` to create a new message.
24
+ */
25
+ export const GetOAuth2MetadataRequestSchema: GenMessage<GetOAuth2MetadataRequest> = /*@__PURE__*/
26
+ messageDesc(file_flyteidl2_auth_auth_service, 0);
27
+
28
+ /**
29
+ * OAuth2MetadataResponse defines an RFC-Compliant response for /.well-known/oauth-authorization-server metadata
30
+ * as defined in https://tools.ietf.org/html/rfc8414
31
+ *
32
+ * @generated from message flyteidl2.auth.GetOAuth2MetadataResponse
33
+ */
34
+ export type GetOAuth2MetadataResponse = Message<"flyteidl2.auth.GetOAuth2MetadataResponse"> & {
35
+ /**
36
+ * Defines the issuer string in all JWT tokens this server issues. The issuer can be admin itself or an external
37
+ * issuer.
38
+ *
39
+ * @generated from field: string issuer = 1;
40
+ */
41
+ issuer: string;
42
+
43
+ /**
44
+ * URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are
45
+ * supported that use the authorization endpoint.
46
+ *
47
+ * @generated from field: string authorization_endpoint = 2;
48
+ */
49
+ authorizationEndpoint: string;
50
+
51
+ /**
52
+ * URL of the authorization server's token endpoint [RFC6749].
53
+ *
54
+ * @generated from field: string token_endpoint = 3;
55
+ */
56
+ tokenEndpoint: string;
57
+
58
+ /**
59
+ * Array containing a list of the OAuth 2.0 response_type values that this authorization server supports.
60
+ *
61
+ * @generated from field: repeated string response_types_supported = 4;
62
+ */
63
+ responseTypesSupported: string[];
64
+
65
+ /**
66
+ * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this authorization server supports.
67
+ *
68
+ * @generated from field: repeated string scopes_supported = 5;
69
+ */
70
+ scopesSupported: string[];
71
+
72
+ /**
73
+ * JSON array containing a list of client authentication methods supported by this token endpoint.
74
+ *
75
+ * @generated from field: repeated string token_endpoint_auth_methods_supported = 6;
76
+ */
77
+ tokenEndpointAuthMethodsSupported: string[];
78
+
79
+ /**
80
+ * URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the
81
+ * client uses to validate signatures from the authorization server.
82
+ *
83
+ * @generated from field: string jwks_uri = 7;
84
+ */
85
+ jwksUri: string;
86
+
87
+ /**
88
+ * JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by
89
+ * this authorization server.
90
+ *
91
+ * @generated from field: repeated string code_challenge_methods_supported = 8;
92
+ */
93
+ codeChallengeMethodsSupported: string[];
94
+
95
+ /**
96
+ * JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports.
97
+ *
98
+ * @generated from field: repeated string grant_types_supported = 9;
99
+ */
100
+ grantTypesSupported: string[];
101
+
102
+ /**
103
+ * URL of the authorization server's device authorization endpoint, as defined in Section 3.1 of [RFC8628]
104
+ *
105
+ * @generated from field: string device_authorization_endpoint = 10;
106
+ */
107
+ deviceAuthorizationEndpoint: string;
108
+ };
109
+
110
+ /**
111
+ * Describes the message flyteidl2.auth.GetOAuth2MetadataResponse.
112
+ * Use `create(GetOAuth2MetadataResponseSchema)` to create a new message.
113
+ */
114
+ export const GetOAuth2MetadataResponseSchema: GenMessage<GetOAuth2MetadataResponse> = /*@__PURE__*/
115
+ messageDesc(file_flyteidl2_auth_auth_service, 1);
116
+
117
+ /**
118
+ * @generated from message flyteidl2.auth.GetPublicClientConfigRequest
119
+ */
120
+ export type GetPublicClientConfigRequest = Message<"flyteidl2.auth.GetPublicClientConfigRequest"> & {
121
+ };
122
+
123
+ /**
124
+ * Describes the message flyteidl2.auth.GetPublicClientConfigRequest.
125
+ * Use `create(GetPublicClientConfigRequestSchema)` to create a new message.
126
+ */
127
+ export const GetPublicClientConfigRequestSchema: GenMessage<GetPublicClientConfigRequest> = /*@__PURE__*/
128
+ messageDesc(file_flyteidl2_auth_auth_service, 2);
129
+
130
+ /**
131
+ * FlyteClientResponse encapsulates public information that flyte clients (CLIs... etc.) can use to authenticate users.
132
+ *
133
+ * @generated from message flyteidl2.auth.GetPublicClientConfigResponse
134
+ */
135
+ export type GetPublicClientConfigResponse = Message<"flyteidl2.auth.GetPublicClientConfigResponse"> & {
136
+ /**
137
+ * client_id to use when initiating OAuth2 authorization requests.
138
+ *
139
+ * @generated from field: string client_id = 1;
140
+ */
141
+ clientId: string;
142
+
143
+ /**
144
+ * redirect uri to use when initiating OAuth2 authorization requests.
145
+ *
146
+ * @generated from field: string redirect_uri = 2;
147
+ */
148
+ redirectUri: string;
149
+
150
+ /**
151
+ * scopes to request when initiating OAuth2 authorization requests.
152
+ *
153
+ * @generated from field: repeated string scopes = 3;
154
+ */
155
+ scopes: string[];
156
+
157
+ /**
158
+ * Authorization Header to use when passing Access Tokens to the server. If not provided, the client should use the
159
+ * default http `Authorization` header.
160
+ *
161
+ * @generated from field: string authorization_metadata_key = 4;
162
+ */
163
+ authorizationMetadataKey: string;
164
+
165
+ /**
166
+ * ServiceHttpEndpoint points to the http endpoint for the backend. If empty, clients can assume the endpoint used
167
+ * to configure the gRPC connection can be used for the http one respecting the insecure flag to choose between
168
+ * SSL or no SSL connections.
169
+ *
170
+ * @generated from field: string service_http_endpoint = 5;
171
+ */
172
+ serviceHttpEndpoint: string;
173
+
174
+ /**
175
+ * audience to use when initiating OAuth2 authorization requests.
176
+ *
177
+ * @generated from field: string audience = 6;
178
+ */
179
+ audience: string;
180
+ };
181
+
182
+ /**
183
+ * Describes the message flyteidl2.auth.GetPublicClientConfigResponse.
184
+ * Use `create(GetPublicClientConfigResponseSchema)` to create a new message.
185
+ */
186
+ export const GetPublicClientConfigResponseSchema: GenMessage<GetPublicClientConfigResponse> = /*@__PURE__*/
187
+ messageDesc(file_flyteidl2_auth_auth_service, 3);
188
+
189
+ /**
190
+ * The following defines an RPC service that is also served over HTTP via grpc-gateway.
191
+ * Standard response codes for both are defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go
192
+ * RPCs defined in this service must be anonymously accessible.
193
+ *
194
+ * @generated from service flyteidl2.auth.AuthMetadataService
195
+ */
196
+ export const AuthMetadataService: GenService<{
197
+ /**
198
+ * Anonymously accessible. Retrieves local or external oauth authorization server metadata.
199
+ *
200
+ * @generated from rpc flyteidl2.auth.AuthMetadataService.GetOAuth2Metadata
201
+ */
202
+ getOAuth2Metadata: {
203
+ methodKind: "unary";
204
+ input: typeof GetOAuth2MetadataRequestSchema;
205
+ output: typeof GetOAuth2MetadataResponseSchema;
206
+ },
207
+ /**
208
+ * Anonymously accessible. Retrieves the client information clients should use when initiating OAuth2 authorization
209
+ * requests.
210
+ *
211
+ * @generated from rpc flyteidl2.auth.AuthMetadataService.GetPublicClientConfig
212
+ */
213
+ getPublicClientConfig: {
214
+ methodKind: "unary";
215
+ input: typeof GetPublicClientConfigRequestSchema;
216
+ output: typeof GetPublicClientConfigResponseSchema;
217
+ },
218
+ }> = /*@__PURE__*/
219
+ serviceDesc(file_flyteidl2_auth_auth_service, 0);
220
+
@@ -0,0 +1,118 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/auth/identity.proto (package flyteidl2.auth, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * Describes the file flyteidl2/auth/identity.proto.
12
+ */
13
+ export const file_flyteidl2_auth_identity: GenFile = /*@__PURE__*/
14
+ fileDesc("Ch1mbHl0ZWlkbDIvYXV0aC9pZGVudGl0eS5wcm90bxIOZmx5dGVpZGwyLmF1dGgiEQoPVXNlckluZm9SZXF1ZXN0IsoBChBVc2VySW5mb1Jlc3BvbnNlEg8KB3N1YmplY3QYASABKAkSDAoEbmFtZRgCIAEoCRIaChJwcmVmZXJyZWRfdXNlcm5hbWUYAyABKAkSEgoKZ2l2ZW5fbmFtZRgEIAEoCRITCgtmYW1pbHlfbmFtZRgFIAEoCRINCgVlbWFpbBgGIAEoCRIPCgdwaWN0dXJlGAcgASgJEjIKEWFkZGl0aW9uYWxfY2xhaW1zGAggASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdDJiCg9JZGVudGl0eVNlcnZpY2USTwoIVXNlckluZm8SHy5mbHl0ZWlkbDIuYXV0aC5Vc2VySW5mb1JlcXVlc3QaIC5mbHl0ZWlkbDIuYXV0aC5Vc2VySW5mb1Jlc3BvbnNlIgBCsgEKEmNvbS5mbHl0ZWlkbDIuYXV0aEINSWRlbnRpdHlQcm90b0gCUAFaMmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9hdXRoogIDRkFYqgIORmx5dGVpZGwyLkF1dGjKAg5GbHl0ZWlkbDJcQXV0aOICGkZseXRlaWRsMlxBdXRoXEdQQk1ldGFkYXRh6gIPRmx5dGVpZGwyOjpBdXRoYgZwcm90bzM", [file_google_protobuf_struct]);
15
+
16
+ /**
17
+ * @generated from message flyteidl2.auth.UserInfoRequest
18
+ */
19
+ export type UserInfoRequest = Message<"flyteidl2.auth.UserInfoRequest"> & {
20
+ };
21
+
22
+ /**
23
+ * Describes the message flyteidl2.auth.UserInfoRequest.
24
+ * Use `create(UserInfoRequestSchema)` to create a new message.
25
+ */
26
+ export const UserInfoRequestSchema: GenMessage<UserInfoRequest> = /*@__PURE__*/
27
+ messageDesc(file_flyteidl2_auth_identity, 0);
28
+
29
+ /**
30
+ * See the OpenID Connect spec at https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse for more information.
31
+ *
32
+ * @generated from message flyteidl2.auth.UserInfoResponse
33
+ */
34
+ export type UserInfoResponse = Message<"flyteidl2.auth.UserInfoResponse"> & {
35
+ /**
36
+ * Locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed
37
+ * by the Client.
38
+ *
39
+ * @generated from field: string subject = 1;
40
+ */
41
+ subject: string;
42
+
43
+ /**
44
+ * Full name
45
+ *
46
+ * @generated from field: string name = 2;
47
+ */
48
+ name: string;
49
+
50
+ /**
51
+ * Shorthand name by which the End-User wishes to be referred to
52
+ *
53
+ * @generated from field: string preferred_username = 3;
54
+ */
55
+ preferredUsername: string;
56
+
57
+ /**
58
+ * Given name(s) or first name(s)
59
+ *
60
+ * @generated from field: string given_name = 4;
61
+ */
62
+ givenName: string;
63
+
64
+ /**
65
+ * Surname(s) or last name(s)
66
+ *
67
+ * @generated from field: string family_name = 5;
68
+ */
69
+ familyName: string;
70
+
71
+ /**
72
+ * Preferred e-mail address
73
+ *
74
+ * @generated from field: string email = 6;
75
+ */
76
+ email: string;
77
+
78
+ /**
79
+ * Profile picture URL
80
+ *
81
+ * @generated from field: string picture = 7;
82
+ */
83
+ picture: string;
84
+
85
+ /**
86
+ * Additional claims
87
+ *
88
+ * @generated from field: google.protobuf.Struct additional_claims = 8;
89
+ */
90
+ additionalClaims?: JsonObject;
91
+ };
92
+
93
+ /**
94
+ * Describes the message flyteidl2.auth.UserInfoResponse.
95
+ * Use `create(UserInfoResponseSchema)` to create a new message.
96
+ */
97
+ export const UserInfoResponseSchema: GenMessage<UserInfoResponse> = /*@__PURE__*/
98
+ messageDesc(file_flyteidl2_auth_identity, 1);
99
+
100
+ /**
101
+ * IdentityService defines an RPC Service that interacts with user/app identities.
102
+ *
103
+ * @generated from service flyteidl2.auth.IdentityService
104
+ */
105
+ export const IdentityService: GenService<{
106
+ /**
107
+ * Retrieves user information about the currently logged in user.
108
+ *
109
+ * @generated from rpc flyteidl2.auth.IdentityService.UserInfo
110
+ */
111
+ userInfo: {
112
+ methodKind: "unary";
113
+ input: typeof UserInfoRequestSchema;
114
+ output: typeof UserInfoResponseSchema;
115
+ },
116
+ }> = /*@__PURE__*/
117
+ serviceDesc(file_flyteidl2_auth_identity, 0);
118
+
@@ -16,7 +16,7 @@ import type { Message } from "@bufbuild/protobuf";
16
16
  * Describes the file flyteidl2/core/interface.proto.
17
17
  */
18
18
  export const file_flyteidl2_core_interface: GenFile = /*@__PURE__*/
19
- fileDesc("Ch5mbHl0ZWlkbDIvY29yZS9pbnRlcmZhY2UucHJvdG8SDmZse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GFyYW1ldGVyEiUKA3ZhchgBIAEoCzIYLmZseXRlaWRsMi5jb3JlLlZhcmlhYmxlEioKB2RlZmF1bHQYAiABKAsyFy5mbHl0ZWlkbDIuY29yZS5MaXRlcmFsSAASEgoIcmVxdWlyZWQYAyABKAhIABI3Cg5hcnRpZmFjdF9xdWVyeRgEIAEoCzIdLmZseXRlaWRsMi5jb3JlLkFydGlmYWN0UXVlcnlIABIxCgthcnRpZmFjdF9pZBgFIAEoCzIaLmZseXRlaWRsMi5jb3JlLkFydGlmYWN0SURIAEIKCghiZWhhdmlvciKeAQoMUGFyYW1ldGVyTWFwEkAKCnBhcmFtZXRlcnMYASADKAsyLC5mbHl0ZWlkbDIuY29yZS5QYXJhbWV0ZXJNYXAuUGFyYW1ldGVyc0VudHJ5GkwKD1BhcmFtZXRlcnNFbnRyeRILCgNrZXkYASABKAkSKAoFdmFsdWUYAiABKAsyGS5mbHl0ZWlkbDIuY29yZS5QYXJhbWV0ZXI6AjgBQrMBChJjb20uZmx5dGVpZGwyLmNvcmVCDkludGVyZmFjZVByb3RvSAJQAVoyZ2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2NvcmWiAgNGQ1iqAg5GbHl0ZWlkbDIuQ29yZcoCDkZseXRlaWRsMlxDb3Jl4gIaRmx5dGVpZGwyXENvcmVcR1BCTWV0YWRhdGHqAg9GbHl0ZWlkbDI6OkNvcmViBnByb3RvMw", [file_flyteidl2_core_artifact_id, file_flyteidl2_core_literals, file_flyteidl2_core_types]);
20
20
 
21
21
  /**
22
22
  * Defines a strongly typed variable.
@@ -59,6 +59,30 @@ export type Variable = Message<"flyteidl2.core.Variable"> & {
59
59
  export const VariableSchema: GenMessage<Variable> = /*@__PURE__*/
60
60
  messageDesc(file_flyteidl2_core_interface, 0);
61
61
 
62
+ /**
63
+ * Defines a single entity for variable.
64
+ *
65
+ * @generated from message flyteidl2.core.VariableEntry
66
+ */
67
+ export type VariableEntry = Message<"flyteidl2.core.VariableEntry"> & {
68
+ /**
69
+ * @generated from field: string key = 1;
70
+ */
71
+ key: string;
72
+
73
+ /**
74
+ * @generated from field: flyteidl2.core.Variable value = 2;
75
+ */
76
+ value?: Variable;
77
+ };
78
+
79
+ /**
80
+ * Describes the message flyteidl2.core.VariableEntry.
81
+ * Use `create(VariableEntrySchema)` to create a new message.
82
+ */
83
+ export const VariableEntrySchema: GenMessage<VariableEntry> = /*@__PURE__*/
84
+ messageDesc(file_flyteidl2_core_interface, 1);
85
+
62
86
  /**
63
87
  * A map of Variables
64
88
  *
@@ -66,11 +90,11 @@ export const VariableSchema: GenMessage<Variable> = /*@__PURE__*/
66
90
  */
67
91
  export type VariableMap = Message<"flyteidl2.core.VariableMap"> & {
68
92
  /**
69
- * Defines a map of variable names to variables.
93
+ * Use repeated key value pair to maintain ordering across different languages.
70
94
  *
71
- * @generated from field: map<string, flyteidl2.core.Variable> variables = 1;
95
+ * @generated from field: repeated flyteidl2.core.VariableEntry variables = 1;
72
96
  */
73
- variables: { [key: string]: Variable };
97
+ variables: VariableEntry[];
74
98
  };
75
99
 
76
100
  /**
@@ -78,7 +102,7 @@ export type VariableMap = Message<"flyteidl2.core.VariableMap"> & {
78
102
  * Use `create(VariableMapSchema)` to create a new message.
79
103
  */
80
104
  export const VariableMapSchema: GenMessage<VariableMap> = /*@__PURE__*/
81
- messageDesc(file_flyteidl2_core_interface, 1);
105
+ messageDesc(file_flyteidl2_core_interface, 2);
82
106
 
83
107
  /**
84
108
  * Defines strongly typed inputs and outputs.
@@ -102,7 +126,7 @@ export type TypedInterface = Message<"flyteidl2.core.TypedInterface"> & {
102
126
  * Use `create(TypedInterfaceSchema)` to create a new message.
103
127
  */
104
128
  export const TypedInterfaceSchema: GenMessage<TypedInterface> = /*@__PURE__*/
105
- messageDesc(file_flyteidl2_core_interface, 2);
129
+ messageDesc(file_flyteidl2_core_interface, 3);
106
130
 
107
131
  /**
108
132
  * A parameter is used as input to a launch plan and has
@@ -162,7 +186,7 @@ export type Parameter = Message<"flyteidl2.core.Parameter"> & {
162
186
  * Use `create(ParameterSchema)` to create a new message.
163
187
  */
164
188
  export const ParameterSchema: GenMessage<Parameter> = /*@__PURE__*/
165
- messageDesc(file_flyteidl2_core_interface, 3);
189
+ messageDesc(file_flyteidl2_core_interface, 4);
166
190
 
167
191
  /**
168
192
  * A map of Parameters.
@@ -183,5 +207,5 @@ export type ParameterMap = Message<"flyteidl2.core.ParameterMap"> & {
183
207
  * Use `create(ParameterMapSchema)` to create a new message.
184
208
  */
185
209
  export const ParameterMapSchema: GenMessage<ParameterMap> = /*@__PURE__*/
186
- messageDesc(file_flyteidl2_core_interface, 4);
210
+ messageDesc(file_flyteidl2_core_interface, 5);
187
211
 
@@ -0,0 +1,177 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/dataproxy/dataproxy_service.proto (package flyteidl2.dataproxy, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import { file_google_api_annotations } from "../../google/api/annotations_pb.ts";
9
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
10
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
11
+ import { file_protoc_gen_openapiv2_options_annotations } from "../../protoc-gen-openapiv2/options/annotations_pb.ts";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file flyteidl2/dataproxy/dataproxy_service.proto.
16
+ */
17
+ export const file_flyteidl2_dataproxy_dataproxy_service: GenFile = /*@__PURE__*/
18
+ fileDesc("CitmbHl0ZWlkbDIvZGF0YXByb3h5L2RhdGFwcm94eV9zZXJ2aWNlLnByb3RvEhNmbHl0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3VybiIeL2FwaS92MS9kYXRhcHJveHkvYXJ0aWZhY3RfdXJuQtgBChdjb20uZmx5dGVpZGwyLmRhdGFwcm94eUIVRGF0YXByb3h5U2VydmljZVByb3RvSAJQAVo3Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL2RhdGFwcm94eaICA0ZEWKoCE0ZseXRlaWRsMi5EYXRhcHJveHnKAhNGbHl0ZWlkbDJcRGF0YXByb3h54gIfRmx5dGVpZGwyXERhdGFwcm94eVxHUEJNZXRhZGF0YeoCFEZseXRlaWRsMjo6RGF0YXByb3h5YgZwcm90bzM", [file_buf_validate_validate, file_google_api_annotations, file_google_protobuf_duration, file_google_protobuf_timestamp, file_protoc_gen_openapiv2_options_annotations]);
19
+
20
+ /**
21
+ * CreateUploadLocationRequest specifies the request for the CreateUploadLocation API.
22
+ * The data proxy service will generate a storage location with server-side configured prefixes.
23
+ * The generated path follows one of these patterns:
24
+ * - project/domain/(deterministic hash of content_md5)/filename (if filename is present); OR
25
+ * - project/domain/filename_root/filename (if filename_root and filename are present).
26
+ *
27
+ * @generated from message flyteidl2.dataproxy.CreateUploadLocationRequest
28
+ */
29
+ export type CreateUploadLocationRequest = Message<"flyteidl2.dataproxy.CreateUploadLocationRequest"> & {
30
+ /**
31
+ * Project to create the upload location for.
32
+ * +required
33
+ *
34
+ * @generated from field: string project = 1;
35
+ */
36
+ project: string;
37
+
38
+ /**
39
+ * Domain to create the upload location for.
40
+ * +required
41
+ *
42
+ * @generated from field: string domain = 2;
43
+ */
44
+ domain: string;
45
+
46
+ /**
47
+ * Filename specifies the desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
48
+ * +optional. By default, the service generates a consistent name based on the default filename length provided in the global config..
49
+ *
50
+ * @generated from field: string filename = 3;
51
+ */
52
+ filename: string;
53
+
54
+ /**
55
+ * ExpiresIn defines the requested expiration duration for the generated URL. The request will be rejected if this
56
+ * exceeds the platform's configured maximum.
57
+ * +optional. The default value comes from the global config.
58
+ *
59
+ * @generated from field: google.protobuf.Duration expires_in = 4;
60
+ */
61
+ expiresIn?: Duration;
62
+
63
+ /**
64
+ * ContentMD5 restricts the upload location to the specific MD5 provided. The MD5 hash will also appear in the
65
+ * generated path for verification.
66
+ * +required
67
+ *
68
+ * @generated from field: bytes content_md5 = 5;
69
+ */
70
+ contentMd5: Uint8Array;
71
+
72
+ /**
73
+ * FilenameRoot, if present, will be used instead of the MD5 hash in the path. When combined with filename,
74
+ * this makes the upload location deterministic. The native URL will still be prefixed by the upload location prefix
75
+ * configured in the data proxy. This option is useful when uploading multiple related files.
76
+ * +optional
77
+ *
78
+ * @generated from field: string filename_root = 6;
79
+ */
80
+ filenameRoot: string;
81
+
82
+ /**
83
+ * If true, the data proxy will add content_md5 to the Signed URL requirements,
84
+ * forcing clients to send this checksum with the object.
85
+ * This is required to enforce data integrity on backends like GCP, ensuring that
86
+ * the uploaded file matches the hash.
87
+ *
88
+ * @generated from field: bool add_content_md5_metadata = 7;
89
+ */
90
+ addContentMd5Metadata: boolean;
91
+
92
+ /**
93
+ * Org is the organization key applied to the resource.
94
+ * +optional
95
+ *
96
+ * @generated from field: string org = 8;
97
+ */
98
+ org: string;
99
+
100
+ /**
101
+ * ContentLength specifies the size of the content to be uploaded in bytes.
102
+ * This is validated against the platform's maximum upload size if provided.
103
+ * +optional
104
+ *
105
+ * @generated from field: int64 content_length = 9;
106
+ */
107
+ contentLength: bigint;
108
+ };
109
+
110
+ /**
111
+ * Describes the message flyteidl2.dataproxy.CreateUploadLocationRequest.
112
+ * Use `create(CreateUploadLocationRequestSchema)` to create a new message.
113
+ */
114
+ export const CreateUploadLocationRequestSchema: GenMessage<CreateUploadLocationRequest> = /*@__PURE__*/
115
+ messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 0);
116
+
117
+ /**
118
+ * CreateUploadLocationResponse specifies the response for the CreateUploadLocation API.
119
+ *
120
+ * @generated from message flyteidl2.dataproxy.CreateUploadLocationResponse
121
+ */
122
+ export type CreateUploadLocationResponse = Message<"flyteidl2.dataproxy.CreateUploadLocationResponse"> & {
123
+ /**
124
+ * SignedUrl is the URL to use for uploading content (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...).
125
+ *
126
+ * @generated from field: string signed_url = 1;
127
+ */
128
+ signedUrl: string;
129
+
130
+ /**
131
+ * NativeUrl is the URL in the format of the configured storage provider (e.g. s3://my-bucket/randomstring/suffix.tar).
132
+ *
133
+ * @generated from field: string native_url = 2;
134
+ */
135
+ nativeUrl: string;
136
+
137
+ /**
138
+ * ExpiresAt defines when the signed URL will expire.
139
+ *
140
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
141
+ */
142
+ expiresAt?: Timestamp;
143
+
144
+ /**
145
+ * Headers are generated by the data proxy for the client. Clients must include these headers in the upload request.
146
+ *
147
+ * @generated from field: map<string, string> headers = 4;
148
+ */
149
+ headers: { [key: string]: string };
150
+ };
151
+
152
+ /**
153
+ * Describes the message flyteidl2.dataproxy.CreateUploadLocationResponse.
154
+ * Use `create(CreateUploadLocationResponseSchema)` to create a new message.
155
+ */
156
+ export const CreateUploadLocationResponseSchema: GenMessage<CreateUploadLocationResponse> = /*@__PURE__*/
157
+ messageDesc(file_flyteidl2_dataproxy_dataproxy_service, 1);
158
+
159
+ /**
160
+ * DataProxyService provides an interface for managing data uploads and downloads.
161
+ *
162
+ * @generated from service flyteidl2.dataproxy.DataProxyService
163
+ */
164
+ export const DataProxyService: GenService<{
165
+ /**
166
+ * CreateUploadLocation generates a signed URL for uploading data to the configured storage backend.
167
+ *
168
+ * @generated from rpc flyteidl2.dataproxy.DataProxyService.CreateUploadLocation
169
+ */
170
+ createUploadLocation: {
171
+ methodKind: "unary";
172
+ input: typeof CreateUploadLocationRequestSchema;
173
+ output: typeof CreateUploadLocationResponseSchema;
174
+ },
175
+ }> = /*@__PURE__*/
176
+ serviceDesc(file_flyteidl2_dataproxy_dataproxy_service, 0);
177
+