@flyteorg/flyteidl 0.24.14 → 0.24.17

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.
@@ -6692,6 +6692,9 @@ export namespace flyteidl {
6692
6692
 
6693
6693
  /** TaskExecutionEvent metadata */
6694
6694
  metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
6695
+
6696
+ /** TaskExecutionEvent eventVersion */
6697
+ eventVersion?: (number|null);
6695
6698
  }
6696
6699
 
6697
6700
  /** Represents a TaskExecutionEvent. */
@@ -6751,6 +6754,9 @@ export namespace flyteidl {
6751
6754
  /** TaskExecutionEvent metadata. */
6752
6755
  public metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
6753
6756
 
6757
+ /** TaskExecutionEvent eventVersion. */
6758
+ public eventVersion: number;
6759
+
6754
6760
  /** TaskExecutionEvent outputResult. */
6755
6761
  public outputResult?: ("outputUri"|"error"|"outputData");
6756
6762
 
@@ -14561,6 +14567,9 @@ export namespace flyteidl {
14561
14567
 
14562
14568
  /** TaskExecutionClosure metadata */
14563
14569
  metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
14570
+
14571
+ /** TaskExecutionClosure eventVersion */
14572
+ eventVersion?: (number|null);
14564
14573
  }
14565
14574
 
14566
14575
  /** Represents a TaskExecutionClosure. */
@@ -14611,6 +14620,9 @@ export namespace flyteidl {
14611
14620
  /** TaskExecutionClosure metadata. */
14612
14621
  public metadata?: (flyteidl.event.ITaskExecutionMetadata|null);
14613
14622
 
14623
+ /** TaskExecutionClosure eventVersion. */
14624
+ public eventVersion: number;
14625
+
14614
14626
  /** TaskExecutionClosure outputResult. */
14615
14627
  public outputResult?: ("outputUri"|"error"|"outputData");
14616
14628
 
@@ -17089,11 +17101,14 @@ export namespace flyteidl {
17089
17101
  /** CreateUploadLocationRequest domain */
17090
17102
  domain?: (string|null);
17091
17103
 
17092
- /** CreateUploadLocationRequest suffix */
17093
- suffix?: (string|null);
17104
+ /** CreateUploadLocationRequest filename */
17105
+ filename?: (string|null);
17094
17106
 
17095
17107
  /** CreateUploadLocationRequest expiresIn */
17096
17108
  expiresIn?: (google.protobuf.IDuration|null);
17109
+
17110
+ /** CreateUploadLocationRequest contentMd5 */
17111
+ contentMd5?: (Uint8Array|null);
17097
17112
  }
17098
17113
 
17099
17114
  /** Represents a CreateUploadLocationRequest. */
@@ -17111,12 +17126,15 @@ export namespace flyteidl {
17111
17126
  /** CreateUploadLocationRequest domain. */
17112
17127
  public domain: string;
17113
17128
 
17114
- /** CreateUploadLocationRequest suffix. */
17115
- public suffix: string;
17129
+ /** CreateUploadLocationRequest filename. */
17130
+ public filename: string;
17116
17131
 
17117
17132
  /** CreateUploadLocationRequest expiresIn. */
17118
17133
  public expiresIn?: (google.protobuf.IDuration|null);
17119
17134
 
17135
+ /** CreateUploadLocationRequest contentMd5. */
17136
+ public contentMd5: Uint8Array;
17137
+
17120
17138
  /**
17121
17139
  * Creates a new CreateUploadLocationRequest instance using the specified properties.
17122
17140
  * @param [properties] Properties to set
@@ -16013,6 +16013,7 @@ export const flyteidl = $root.flyteidl = (() => {
16013
16013
  * @property {string|null} [reason] TaskExecutionEvent reason
16014
16014
  * @property {string|null} [taskType] TaskExecutionEvent taskType
16015
16015
  * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionEvent metadata
16016
+ * @property {number|null} [eventVersion] TaskExecutionEvent eventVersion
16016
16017
  */
16017
16018
 
16018
16019
  /**
@@ -16159,6 +16160,14 @@ export const flyteidl = $root.flyteidl = (() => {
16159
16160
  */
16160
16161
  TaskExecutionEvent.prototype.metadata = null;
16161
16162
 
16163
+ /**
16164
+ * TaskExecutionEvent eventVersion.
16165
+ * @member {number} eventVersion
16166
+ * @memberof flyteidl.event.TaskExecutionEvent
16167
+ * @instance
16168
+ */
16169
+ TaskExecutionEvent.prototype.eventVersion = 0;
16170
+
16162
16171
  // OneOf field names bound to virtual getters and setters
16163
16172
  let $oneOfFields;
16164
16173
 
@@ -16230,6 +16239,8 @@ export const flyteidl = $root.flyteidl = (() => {
16230
16239
  $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
16231
16240
  if (message.outputData != null && message.hasOwnProperty("outputData"))
16232
16241
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
16242
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
16243
+ writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion);
16233
16244
  return writer;
16234
16245
  };
16235
16246
 
@@ -16301,6 +16312,9 @@ export const flyteidl = $root.flyteidl = (() => {
16301
16312
  case 16:
16302
16313
  message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32());
16303
16314
  break;
16315
+ case 18:
16316
+ message.eventVersion = reader.int32();
16317
+ break;
16304
16318
  default:
16305
16319
  reader.skipType(tag & 7);
16306
16320
  break;
@@ -16412,6 +16426,9 @@ export const flyteidl = $root.flyteidl = (() => {
16412
16426
  if (error)
16413
16427
  return "metadata." + error;
16414
16428
  }
16429
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
16430
+ if (!$util.isInteger(message.eventVersion))
16431
+ return "eventVersion: integer expected";
16415
16432
  return null;
16416
16433
  };
16417
16434
 
@@ -34642,6 +34659,7 @@ export const flyteidl = $root.flyteidl = (() => {
34642
34659
  * @property {string|null} [reason] TaskExecutionClosure reason
34643
34660
  * @property {string|null} [taskType] TaskExecutionClosure taskType
34644
34661
  * @property {flyteidl.event.ITaskExecutionMetadata|null} [metadata] TaskExecutionClosure metadata
34662
+ * @property {number|null} [eventVersion] TaskExecutionClosure eventVersion
34645
34663
  */
34646
34664
 
34647
34665
  /**
@@ -34764,6 +34782,14 @@ export const flyteidl = $root.flyteidl = (() => {
34764
34782
  */
34765
34783
  TaskExecutionClosure.prototype.metadata = null;
34766
34784
 
34785
+ /**
34786
+ * TaskExecutionClosure eventVersion.
34787
+ * @member {number} eventVersion
34788
+ * @memberof flyteidl.admin.TaskExecutionClosure
34789
+ * @instance
34790
+ */
34791
+ TaskExecutionClosure.prototype.eventVersion = 0;
34792
+
34767
34793
  // OneOf field names bound to virtual getters and setters
34768
34794
  let $oneOfFields;
34769
34795
 
@@ -34829,6 +34855,8 @@ export const flyteidl = $root.flyteidl = (() => {
34829
34855
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
34830
34856
  if (message.metadata != null && message.hasOwnProperty("metadata"))
34831
34857
  $root.flyteidl.event.TaskExecutionMetadata.encode(message.metadata, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
34858
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
34859
+ writer.uint32(/* id 17, wireType 0 =*/136).int32(message.eventVersion);
34832
34860
  return writer;
34833
34861
  };
34834
34862
 
@@ -34891,6 +34919,9 @@ export const flyteidl = $root.flyteidl = (() => {
34891
34919
  case 16:
34892
34920
  message.metadata = $root.flyteidl.event.TaskExecutionMetadata.decode(reader, reader.uint32());
34893
34921
  break;
34922
+ case 17:
34923
+ message.eventVersion = reader.int32();
34924
+ break;
34894
34925
  default:
34895
34926
  reader.skipType(tag & 7);
34896
34927
  break;
@@ -34995,6 +35026,9 @@ export const flyteidl = $root.flyteidl = (() => {
34995
35026
  if (error)
34996
35027
  return "metadata." + error;
34997
35028
  }
35029
+ if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
35030
+ if (!$util.isInteger(message.eventVersion))
35031
+ return "eventVersion: integer expected";
34998
35032
  return null;
34999
35033
  };
35000
35034
 
@@ -39804,8 +39838,9 @@ export const flyteidl = $root.flyteidl = (() => {
39804
39838
  * @interface ICreateUploadLocationRequest
39805
39839
  * @property {string|null} [project] CreateUploadLocationRequest project
39806
39840
  * @property {string|null} [domain] CreateUploadLocationRequest domain
39807
- * @property {string|null} [suffix] CreateUploadLocationRequest suffix
39841
+ * @property {string|null} [filename] CreateUploadLocationRequest filename
39808
39842
  * @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn
39843
+ * @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5
39809
39844
  */
39810
39845
 
39811
39846
  /**
@@ -39840,12 +39875,12 @@ export const flyteidl = $root.flyteidl = (() => {
39840
39875
  CreateUploadLocationRequest.prototype.domain = "";
39841
39876
 
39842
39877
  /**
39843
- * CreateUploadLocationRequest suffix.
39844
- * @member {string} suffix
39878
+ * CreateUploadLocationRequest filename.
39879
+ * @member {string} filename
39845
39880
  * @memberof flyteidl.service.CreateUploadLocationRequest
39846
39881
  * @instance
39847
39882
  */
39848
- CreateUploadLocationRequest.prototype.suffix = "";
39883
+ CreateUploadLocationRequest.prototype.filename = "";
39849
39884
 
39850
39885
  /**
39851
39886
  * CreateUploadLocationRequest expiresIn.
@@ -39855,6 +39890,14 @@ export const flyteidl = $root.flyteidl = (() => {
39855
39890
  */
39856
39891
  CreateUploadLocationRequest.prototype.expiresIn = null;
39857
39892
 
39893
+ /**
39894
+ * CreateUploadLocationRequest contentMd5.
39895
+ * @member {Uint8Array} contentMd5
39896
+ * @memberof flyteidl.service.CreateUploadLocationRequest
39897
+ * @instance
39898
+ */
39899
+ CreateUploadLocationRequest.prototype.contentMd5 = $util.newBuffer([]);
39900
+
39858
39901
  /**
39859
39902
  * Creates a new CreateUploadLocationRequest instance using the specified properties.
39860
39903
  * @function create
@@ -39883,10 +39926,12 @@ export const flyteidl = $root.flyteidl = (() => {
39883
39926
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.project);
39884
39927
  if (message.domain != null && message.hasOwnProperty("domain"))
39885
39928
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
39886
- if (message.suffix != null && message.hasOwnProperty("suffix"))
39887
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.suffix);
39929
+ if (message.filename != null && message.hasOwnProperty("filename"))
39930
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.filename);
39888
39931
  if (message.expiresIn != null && message.hasOwnProperty("expiresIn"))
39889
39932
  $root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
39933
+ if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
39934
+ writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5);
39890
39935
  return writer;
39891
39936
  };
39892
39937
 
@@ -39915,11 +39960,14 @@ export const flyteidl = $root.flyteidl = (() => {
39915
39960
  message.domain = reader.string();
39916
39961
  break;
39917
39962
  case 3:
39918
- message.suffix = reader.string();
39963
+ message.filename = reader.string();
39919
39964
  break;
39920
39965
  case 4:
39921
39966
  message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32());
39922
39967
  break;
39968
+ case 5:
39969
+ message.contentMd5 = reader.bytes();
39970
+ break;
39923
39971
  default:
39924
39972
  reader.skipType(tag & 7);
39925
39973
  break;
@@ -39945,14 +39993,17 @@ export const flyteidl = $root.flyteidl = (() => {
39945
39993
  if (message.domain != null && message.hasOwnProperty("domain"))
39946
39994
  if (!$util.isString(message.domain))
39947
39995
  return "domain: string expected";
39948
- if (message.suffix != null && message.hasOwnProperty("suffix"))
39949
- if (!$util.isString(message.suffix))
39950
- return "suffix: string expected";
39996
+ if (message.filename != null && message.hasOwnProperty("filename"))
39997
+ if (!$util.isString(message.filename))
39998
+ return "filename: string expected";
39951
39999
  if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) {
39952
40000
  let error = $root.google.protobuf.Duration.verify(message.expiresIn);
39953
40001
  if (error)
39954
40002
  return "expiresIn." + error;
39955
40003
  }
40004
+ if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
40005
+ if (!(message.contentMd5 && typeof message.contentMd5.length === "number" || $util.isString(message.contentMd5)))
40006
+ return "contentMd5: buffer expected";
39956
40007
  return null;
39957
40008
  };
39958
40009
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.24.14",
3
+ "version": "0.24.17",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",