@flyteorg/flyteidl 0.24.7 → 0.24.10

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.
@@ -6245,6 +6245,15 @@ export namespace flyteidl {
6245
6245
 
6246
6246
  /** NodeExecutionEvent nodeName */
6247
6247
  nodeName?: (string|null);
6248
+
6249
+ /** NodeExecutionEvent eventVersion */
6250
+ eventVersion?: (number|null);
6251
+
6252
+ /** NodeExecutionEvent isParent */
6253
+ isParent?: (boolean|null);
6254
+
6255
+ /** NodeExecutionEvent isDynamic */
6256
+ isDynamic?: (boolean|null);
6248
6257
  }
6249
6258
 
6250
6259
  /** Represents a NodeExecutionEvent. */
@@ -6301,6 +6310,15 @@ export namespace flyteidl {
6301
6310
  /** NodeExecutionEvent nodeName. */
6302
6311
  public nodeName: string;
6303
6312
 
6313
+ /** NodeExecutionEvent eventVersion. */
6314
+ public eventVersion: number;
6315
+
6316
+ /** NodeExecutionEvent isParent. */
6317
+ public isParent: boolean;
6318
+
6319
+ /** NodeExecutionEvent isDynamic. */
6320
+ public isDynamic: boolean;
6321
+
6304
6322
  /** NodeExecutionEvent outputResult. */
6305
6323
  public outputResult?: ("outputUri"|"error"|"outputData");
6306
6324
 
@@ -17074,11 +17092,11 @@ export namespace flyteidl {
17074
17092
  public static verify(message: { [k: string]: any }): (string|null);
17075
17093
  }
17076
17094
 
17077
- /** Represents a DataProxy */
17078
- class DataProxy extends $protobuf.rpc.Service {
17095
+ /** Represents a DataProxyService */
17096
+ class DataProxyService extends $protobuf.rpc.Service {
17079
17097
 
17080
17098
  /**
17081
- * Constructs a new DataProxy service.
17099
+ * Constructs a new DataProxyService service.
17082
17100
  * @param rpcImpl RPC implementation
17083
17101
  * @param [requestDelimited=false] Whether requests are length-delimited
17084
17102
  * @param [responseDelimited=false] Whether responses are length-delimited
@@ -17086,20 +17104,20 @@ export namespace flyteidl {
17086
17104
  constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
17087
17105
 
17088
17106
  /**
17089
- * Creates new DataProxy service using the specified rpc implementation.
17107
+ * Creates new DataProxyService service using the specified rpc implementation.
17090
17108
  * @param rpcImpl RPC implementation
17091
17109
  * @param [requestDelimited=false] Whether requests are length-delimited
17092
17110
  * @param [responseDelimited=false] Whether responses are length-delimited
17093
17111
  * @returns RPC service. Useful where requests and/or responses are streamed.
17094
17112
  */
17095
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxy;
17113
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
17096
17114
 
17097
17115
  /**
17098
17116
  * Calls CreateUploadLocation.
17099
17117
  * @param request CreateUploadLocationRequest message or plain object
17100
17118
  * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
17101
17119
  */
17102
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxy.CreateUploadLocationCallback): void;
17120
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
17103
17121
 
17104
17122
  /**
17105
17123
  * Calls CreateUploadLocation.
@@ -17109,10 +17127,10 @@ export namespace flyteidl {
17109
17127
  public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
17110
17128
  }
17111
17129
 
17112
- namespace DataProxy {
17130
+ namespace DataProxyService {
17113
17131
 
17114
17132
  /**
17115
- * Callback as used by {@link flyteidl.service.DataProxy#createUploadLocation}.
17133
+ * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
17116
17134
  * @param error Error, if any
17117
17135
  * @param [response] CreateUploadLocationResponse
17118
17136
  */
@@ -14890,6 +14890,9 @@ export const flyteidl = $root.flyteidl = (() => {
14890
14890
  * @property {string|null} [retryGroup] NodeExecutionEvent retryGroup
14891
14891
  * @property {string|null} [specNodeId] NodeExecutionEvent specNodeId
14892
14892
  * @property {string|null} [nodeName] NodeExecutionEvent nodeName
14893
+ * @property {number|null} [eventVersion] NodeExecutionEvent eventVersion
14894
+ * @property {boolean|null} [isParent] NodeExecutionEvent isParent
14895
+ * @property {boolean|null} [isDynamic] NodeExecutionEvent isDynamic
14893
14896
  */
14894
14897
 
14895
14898
  /**
@@ -15027,6 +15030,30 @@ export const flyteidl = $root.flyteidl = (() => {
15027
15030
  */
15028
15031
  NodeExecutionEvent.prototype.nodeName = "";
15029
15032
 
15033
+ /**
15034
+ * NodeExecutionEvent eventVersion.
15035
+ * @member {number} eventVersion
15036
+ * @memberof flyteidl.event.NodeExecutionEvent
15037
+ * @instance
15038
+ */
15039
+ NodeExecutionEvent.prototype.eventVersion = 0;
15040
+
15041
+ /**
15042
+ * NodeExecutionEvent isParent.
15043
+ * @member {boolean} isParent
15044
+ * @memberof flyteidl.event.NodeExecutionEvent
15045
+ * @instance
15046
+ */
15047
+ NodeExecutionEvent.prototype.isParent = false;
15048
+
15049
+ /**
15050
+ * NodeExecutionEvent isDynamic.
15051
+ * @member {boolean} isDynamic
15052
+ * @memberof flyteidl.event.NodeExecutionEvent
15053
+ * @instance
15054
+ */
15055
+ NodeExecutionEvent.prototype.isDynamic = false;
15056
+
15030
15057
  // OneOf field names bound to virtual getters and setters
15031
15058
  let $oneOfFields;
15032
15059
 
@@ -15106,6 +15133,12 @@ export const flyteidl = $root.flyteidl = (() => {
15106
15133
  $root.flyteidl.event.TaskNodeMetadata.encode(message.taskNodeMetadata, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
15107
15134
  if (message.outputData != null && message.hasOwnProperty("outputData"))
15108
15135
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
15136
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
15137
+ writer.uint32(/* id 16, wireType 0 =*/128).int32(message.eventVersion);
15138
+ if (message.isParent != null && message.hasOwnProperty("isParent"))
15139
+ writer.uint32(/* id 17, wireType 0 =*/136).bool(message.isParent);
15140
+ if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
15141
+ writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
15109
15142
  return writer;
15110
15143
  };
15111
15144
 
@@ -15172,6 +15205,15 @@ export const flyteidl = $root.flyteidl = (() => {
15172
15205
  case 13:
15173
15206
  message.nodeName = reader.string();
15174
15207
  break;
15208
+ case 16:
15209
+ message.eventVersion = reader.int32();
15210
+ break;
15211
+ case 17:
15212
+ message.isParent = reader.bool();
15213
+ break;
15214
+ case 18:
15215
+ message.isDynamic = reader.bool();
15216
+ break;
15175
15217
  default:
15176
15218
  reader.skipType(tag & 7);
15177
15219
  break;
@@ -15287,6 +15329,15 @@ export const flyteidl = $root.flyteidl = (() => {
15287
15329
  if (message.nodeName != null && message.hasOwnProperty("nodeName"))
15288
15330
  if (!$util.isString(message.nodeName))
15289
15331
  return "nodeName: string expected";
15332
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
15333
+ if (!$util.isInteger(message.eventVersion))
15334
+ return "eventVersion: integer expected";
15335
+ if (message.isParent != null && message.hasOwnProperty("isParent"))
15336
+ if (typeof message.isParent !== "boolean")
15337
+ return "isParent: boolean expected";
15338
+ if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
15339
+ if (typeof message.isDynamic !== "boolean")
15340
+ return "isDynamic: boolean expected";
15290
15341
  return null;
15291
15342
  };
15292
15343
 
@@ -39769,41 +39820,41 @@ export const flyteidl = $root.flyteidl = (() => {
39769
39820
  return CreateUploadLocationRequest;
39770
39821
  })();
39771
39822
 
39772
- service.DataProxy = (function() {
39823
+ service.DataProxyService = (function() {
39773
39824
 
39774
39825
  /**
39775
- * Constructs a new DataProxy service.
39826
+ * Constructs a new DataProxyService service.
39776
39827
  * @memberof flyteidl.service
39777
- * @classdesc Represents a DataProxy
39828
+ * @classdesc Represents a DataProxyService
39778
39829
  * @extends $protobuf.rpc.Service
39779
39830
  * @constructor
39780
39831
  * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
39781
39832
  * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
39782
39833
  * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
39783
39834
  */
39784
- function DataProxy(rpcImpl, requestDelimited, responseDelimited) {
39835
+ function DataProxyService(rpcImpl, requestDelimited, responseDelimited) {
39785
39836
  $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
39786
39837
  }
39787
39838
 
39788
- (DataProxy.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxy;
39839
+ (DataProxyService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = DataProxyService;
39789
39840
 
39790
39841
  /**
39791
- * Creates new DataProxy service using the specified rpc implementation.
39842
+ * Creates new DataProxyService service using the specified rpc implementation.
39792
39843
  * @function create
39793
- * @memberof flyteidl.service.DataProxy
39844
+ * @memberof flyteidl.service.DataProxyService
39794
39845
  * @static
39795
39846
  * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
39796
39847
  * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
39797
39848
  * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
39798
- * @returns {DataProxy} RPC service. Useful where requests and/or responses are streamed.
39849
+ * @returns {DataProxyService} RPC service. Useful where requests and/or responses are streamed.
39799
39850
  */
39800
- DataProxy.create = function create(rpcImpl, requestDelimited, responseDelimited) {
39851
+ DataProxyService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
39801
39852
  return new this(rpcImpl, requestDelimited, responseDelimited);
39802
39853
  };
39803
39854
 
39804
39855
  /**
39805
- * Callback as used by {@link flyteidl.service.DataProxy#createUploadLocation}.
39806
- * @memberof flyteidl.service.DataProxy
39856
+ * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
39857
+ * @memberof flyteidl.service.DataProxyService
39807
39858
  * @typedef CreateUploadLocationCallback
39808
39859
  * @type {function}
39809
39860
  * @param {Error|null} error Error, if any
@@ -39813,28 +39864,28 @@ export const flyteidl = $root.flyteidl = (() => {
39813
39864
  /**
39814
39865
  * Calls CreateUploadLocation.
39815
39866
  * @function createUploadLocation
39816
- * @memberof flyteidl.service.DataProxy
39867
+ * @memberof flyteidl.service.DataProxyService
39817
39868
  * @instance
39818
39869
  * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object
39819
- * @param {flyteidl.service.DataProxy.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
39870
+ * @param {flyteidl.service.DataProxyService.CreateUploadLocationCallback} callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
39820
39871
  * @returns {undefined}
39821
39872
  * @variation 1
39822
39873
  */
39823
- Object.defineProperty(DataProxy.prototype.createUploadLocation = function createUploadLocation(request, callback) {
39874
+ Object.defineProperty(DataProxyService.prototype.createUploadLocation = function createUploadLocation(request, callback) {
39824
39875
  return this.rpcCall(createUploadLocation, $root.flyteidl.service.CreateUploadLocationRequest, $root.flyteidl.service.CreateUploadLocationResponse, request, callback);
39825
39876
  }, "name", { value: "CreateUploadLocation" });
39826
39877
 
39827
39878
  /**
39828
39879
  * Calls CreateUploadLocation.
39829
39880
  * @function createUploadLocation
39830
- * @memberof flyteidl.service.DataProxy
39881
+ * @memberof flyteidl.service.DataProxyService
39831
39882
  * @instance
39832
39883
  * @param {flyteidl.service.ICreateUploadLocationRequest} request CreateUploadLocationRequest message or plain object
39833
39884
  * @returns {Promise<flyteidl.service.CreateUploadLocationResponse>} Promise
39834
39885
  * @variation 2
39835
39886
  */
39836
39887
 
39837
- return DataProxy;
39888
+ return DataProxyService;
39838
39889
  })();
39839
39890
 
39840
39891
  service.UserInfoRequest = (function() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.7",
3
+ "version": "0.24.10",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -87,6 +87,14 @@ message NodeExecutionEvent {
87
87
 
88
88
  // Friendly readable name for the node
89
89
  string node_name = 13;
90
+
91
+ int32 event_version = 16;
92
+
93
+ // Whether this node launched a subworkflow.
94
+ bool is_parent = 17;
95
+
96
+ // Whether this node yielded a dynamic workflow.
97
+ bool is_dynamic = 18;
90
98
  }
91
99
 
92
100
  // For Workflow Nodes we need to send information about the workflow that's launched
@@ -39,9 +39,9 @@ message CreateUploadLocationRequest {
39
39
  google.protobuf.Duration expires_in = 4;
40
40
  }
41
41
 
42
- // DataProxy defines an RPC Service that allows access to user-data in a controlled manner.
43
- service DataProxy {
44
- // Retrieves user information about the currently logged in user.
42
+ // DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
43
+ service DataProxyService {
44
+ // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain.
45
45
  rpc CreateUploadLocation (CreateUploadLocationRequest) returns (CreateUploadLocationResponse) {
46
46
  option (google.api.http) = {
47
47
  post: "/api/v1/dataproxy/artifact_urn"