@flyteorg/flyteidl 1.2.3 → 1.2.4

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.
@@ -8729,6 +8729,355 @@ export namespace flyteidl {
8729
8729
  public static verify(message: { [k: string]: any }): (string|null);
8730
8730
  }
8731
8731
 
8732
+ /** Properties of a DescriptionEntity. */
8733
+ interface IDescriptionEntity {
8734
+
8735
+ /** DescriptionEntity id */
8736
+ id?: (flyteidl.core.IIdentifier|null);
8737
+
8738
+ /** DescriptionEntity shortDescription */
8739
+ shortDescription?: (string|null);
8740
+
8741
+ /** DescriptionEntity longDescription */
8742
+ longDescription?: (flyteidl.admin.IDescription|null);
8743
+
8744
+ /** DescriptionEntity sourceCode */
8745
+ sourceCode?: (flyteidl.admin.ISourceCode|null);
8746
+
8747
+ /** DescriptionEntity tags */
8748
+ tags?: (string[]|null);
8749
+ }
8750
+
8751
+ /** Represents a DescriptionEntity. */
8752
+ class DescriptionEntity implements IDescriptionEntity {
8753
+
8754
+ /**
8755
+ * Constructs a new DescriptionEntity.
8756
+ * @param [properties] Properties to set
8757
+ */
8758
+ constructor(properties?: flyteidl.admin.IDescriptionEntity);
8759
+
8760
+ /** DescriptionEntity id. */
8761
+ public id?: (flyteidl.core.IIdentifier|null);
8762
+
8763
+ /** DescriptionEntity shortDescription. */
8764
+ public shortDescription: string;
8765
+
8766
+ /** DescriptionEntity longDescription. */
8767
+ public longDescription?: (flyteidl.admin.IDescription|null);
8768
+
8769
+ /** DescriptionEntity sourceCode. */
8770
+ public sourceCode?: (flyteidl.admin.ISourceCode|null);
8771
+
8772
+ /** DescriptionEntity tags. */
8773
+ public tags: string[];
8774
+
8775
+ /**
8776
+ * Creates a new DescriptionEntity instance using the specified properties.
8777
+ * @param [properties] Properties to set
8778
+ * @returns DescriptionEntity instance
8779
+ */
8780
+ public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity;
8781
+
8782
+ /**
8783
+ * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages.
8784
+ * @param message DescriptionEntity message or plain object to encode
8785
+ * @param [writer] Writer to encode to
8786
+ * @returns Writer
8787
+ */
8788
+ public static encode(message: flyteidl.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer;
8789
+
8790
+ /**
8791
+ * Decodes a DescriptionEntity message from the specified reader or buffer.
8792
+ * @param reader Reader or buffer to decode from
8793
+ * @param [length] Message length if known beforehand
8794
+ * @returns DescriptionEntity
8795
+ * @throws {Error} If the payload is not a reader or valid buffer
8796
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8797
+ */
8798
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntity;
8799
+
8800
+ /**
8801
+ * Verifies a DescriptionEntity message.
8802
+ * @param message Plain object to verify
8803
+ * @returns `null` if valid, otherwise the reason why it is not
8804
+ */
8805
+ public static verify(message: { [k: string]: any }): (string|null);
8806
+ }
8807
+
8808
+ /** DescriptionFormat enum. */
8809
+ enum DescriptionFormat {
8810
+ DESCRIPTION_FORMAT_UNKNOWN = 0,
8811
+ DESCRIPTION_FORMAT_MARKDOWN = 1,
8812
+ DESCRIPTION_FORMAT_HTML = 2,
8813
+ DESCRIPTION_FORMAT_RST = 3
8814
+ }
8815
+
8816
+ /** Properties of a Description. */
8817
+ interface IDescription {
8818
+
8819
+ /** Description value */
8820
+ value?: (string|null);
8821
+
8822
+ /** Description uri */
8823
+ uri?: (string|null);
8824
+
8825
+ /** Description format */
8826
+ format?: (flyteidl.admin.DescriptionFormat|null);
8827
+
8828
+ /** Description iconLink */
8829
+ iconLink?: (string|null);
8830
+ }
8831
+
8832
+ /** Represents a Description. */
8833
+ class Description implements IDescription {
8834
+
8835
+ /**
8836
+ * Constructs a new Description.
8837
+ * @param [properties] Properties to set
8838
+ */
8839
+ constructor(properties?: flyteidl.admin.IDescription);
8840
+
8841
+ /** Description value. */
8842
+ public value: string;
8843
+
8844
+ /** Description uri. */
8845
+ public uri: string;
8846
+
8847
+ /** Description format. */
8848
+ public format: flyteidl.admin.DescriptionFormat;
8849
+
8850
+ /** Description iconLink. */
8851
+ public iconLink: string;
8852
+
8853
+ /** Description content. */
8854
+ public content?: ("value"|"uri");
8855
+
8856
+ /**
8857
+ * Creates a new Description instance using the specified properties.
8858
+ * @param [properties] Properties to set
8859
+ * @returns Description instance
8860
+ */
8861
+ public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description;
8862
+
8863
+ /**
8864
+ * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages.
8865
+ * @param message Description message or plain object to encode
8866
+ * @param [writer] Writer to encode to
8867
+ * @returns Writer
8868
+ */
8869
+ public static encode(message: flyteidl.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer;
8870
+
8871
+ /**
8872
+ * Decodes a Description message from the specified reader or buffer.
8873
+ * @param reader Reader or buffer to decode from
8874
+ * @param [length] Message length if known beforehand
8875
+ * @returns Description
8876
+ * @throws {Error} If the payload is not a reader or valid buffer
8877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8878
+ */
8879
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Description;
8880
+
8881
+ /**
8882
+ * Verifies a Description message.
8883
+ * @param message Plain object to verify
8884
+ * @returns `null` if valid, otherwise the reason why it is not
8885
+ */
8886
+ public static verify(message: { [k: string]: any }): (string|null);
8887
+ }
8888
+
8889
+ /** Properties of a SourceCode. */
8890
+ interface ISourceCode {
8891
+
8892
+ /** SourceCode link */
8893
+ link?: (string|null);
8894
+ }
8895
+
8896
+ /** Represents a SourceCode. */
8897
+ class SourceCode implements ISourceCode {
8898
+
8899
+ /**
8900
+ * Constructs a new SourceCode.
8901
+ * @param [properties] Properties to set
8902
+ */
8903
+ constructor(properties?: flyteidl.admin.ISourceCode);
8904
+
8905
+ /** SourceCode link. */
8906
+ public link: string;
8907
+
8908
+ /**
8909
+ * Creates a new SourceCode instance using the specified properties.
8910
+ * @param [properties] Properties to set
8911
+ * @returns SourceCode instance
8912
+ */
8913
+ public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode;
8914
+
8915
+ /**
8916
+ * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages.
8917
+ * @param message SourceCode message or plain object to encode
8918
+ * @param [writer] Writer to encode to
8919
+ * @returns Writer
8920
+ */
8921
+ public static encode(message: flyteidl.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer;
8922
+
8923
+ /**
8924
+ * Decodes a SourceCode message from the specified reader or buffer.
8925
+ * @param reader Reader or buffer to decode from
8926
+ * @param [length] Message length if known beforehand
8927
+ * @returns SourceCode
8928
+ * @throws {Error} If the payload is not a reader or valid buffer
8929
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8930
+ */
8931
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SourceCode;
8932
+
8933
+ /**
8934
+ * Verifies a SourceCode message.
8935
+ * @param message Plain object to verify
8936
+ * @returns `null` if valid, otherwise the reason why it is not
8937
+ */
8938
+ public static verify(message: { [k: string]: any }): (string|null);
8939
+ }
8940
+
8941
+ /** Properties of a DescriptionEntityList. */
8942
+ interface IDescriptionEntityList {
8943
+
8944
+ /** DescriptionEntityList descriptionEntities */
8945
+ descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null);
8946
+
8947
+ /** DescriptionEntityList token */
8948
+ token?: (string|null);
8949
+ }
8950
+
8951
+ /** Represents a DescriptionEntityList. */
8952
+ class DescriptionEntityList implements IDescriptionEntityList {
8953
+
8954
+ /**
8955
+ * Constructs a new DescriptionEntityList.
8956
+ * @param [properties] Properties to set
8957
+ */
8958
+ constructor(properties?: flyteidl.admin.IDescriptionEntityList);
8959
+
8960
+ /** DescriptionEntityList descriptionEntities. */
8961
+ public descriptionEntities: flyteidl.admin.IDescriptionEntity[];
8962
+
8963
+ /** DescriptionEntityList token. */
8964
+ public token: string;
8965
+
8966
+ /**
8967
+ * Creates a new DescriptionEntityList instance using the specified properties.
8968
+ * @param [properties] Properties to set
8969
+ * @returns DescriptionEntityList instance
8970
+ */
8971
+ public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList;
8972
+
8973
+ /**
8974
+ * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages.
8975
+ * @param message DescriptionEntityList message or plain object to encode
8976
+ * @param [writer] Writer to encode to
8977
+ * @returns Writer
8978
+ */
8979
+ public static encode(message: flyteidl.admin.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer;
8980
+
8981
+ /**
8982
+ * Decodes a DescriptionEntityList message from the specified reader or buffer.
8983
+ * @param reader Reader or buffer to decode from
8984
+ * @param [length] Message length if known beforehand
8985
+ * @returns DescriptionEntityList
8986
+ * @throws {Error} If the payload is not a reader or valid buffer
8987
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8988
+ */
8989
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityList;
8990
+
8991
+ /**
8992
+ * Verifies a DescriptionEntityList message.
8993
+ * @param message Plain object to verify
8994
+ * @returns `null` if valid, otherwise the reason why it is not
8995
+ */
8996
+ public static verify(message: { [k: string]: any }): (string|null);
8997
+ }
8998
+
8999
+ /** Properties of a DescriptionEntityListRequest. */
9000
+ interface IDescriptionEntityListRequest {
9001
+
9002
+ /** DescriptionEntityListRequest resourceType */
9003
+ resourceType?: (flyteidl.core.ResourceType|null);
9004
+
9005
+ /** DescriptionEntityListRequest id */
9006
+ id?: (flyteidl.admin.INamedEntityIdentifier|null);
9007
+
9008
+ /** DescriptionEntityListRequest limit */
9009
+ limit?: (number|null);
9010
+
9011
+ /** DescriptionEntityListRequest token */
9012
+ token?: (string|null);
9013
+
9014
+ /** DescriptionEntityListRequest filters */
9015
+ filters?: (string|null);
9016
+
9017
+ /** DescriptionEntityListRequest sortBy */
9018
+ sortBy?: (flyteidl.admin.ISort|null);
9019
+ }
9020
+
9021
+ /** Represents a DescriptionEntityListRequest. */
9022
+ class DescriptionEntityListRequest implements IDescriptionEntityListRequest {
9023
+
9024
+ /**
9025
+ * Constructs a new DescriptionEntityListRequest.
9026
+ * @param [properties] Properties to set
9027
+ */
9028
+ constructor(properties?: flyteidl.admin.IDescriptionEntityListRequest);
9029
+
9030
+ /** DescriptionEntityListRequest resourceType. */
9031
+ public resourceType: flyteidl.core.ResourceType;
9032
+
9033
+ /** DescriptionEntityListRequest id. */
9034
+ public id?: (flyteidl.admin.INamedEntityIdentifier|null);
9035
+
9036
+ /** DescriptionEntityListRequest limit. */
9037
+ public limit: number;
9038
+
9039
+ /** DescriptionEntityListRequest token. */
9040
+ public token: string;
9041
+
9042
+ /** DescriptionEntityListRequest filters. */
9043
+ public filters: string;
9044
+
9045
+ /** DescriptionEntityListRequest sortBy. */
9046
+ public sortBy?: (flyteidl.admin.ISort|null);
9047
+
9048
+ /**
9049
+ * Creates a new DescriptionEntityListRequest instance using the specified properties.
9050
+ * @param [properties] Properties to set
9051
+ * @returns DescriptionEntityListRequest instance
9052
+ */
9053
+ public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest;
9054
+
9055
+ /**
9056
+ * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages.
9057
+ * @param message DescriptionEntityListRequest message or plain object to encode
9058
+ * @param [writer] Writer to encode to
9059
+ * @returns Writer
9060
+ */
9061
+ public static encode(message: flyteidl.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9062
+
9063
+ /**
9064
+ * Decodes a DescriptionEntityListRequest message from the specified reader or buffer.
9065
+ * @param reader Reader or buffer to decode from
9066
+ * @param [length] Message length if known beforehand
9067
+ * @returns DescriptionEntityListRequest
9068
+ * @throws {Error} If the payload is not a reader or valid buffer
9069
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9070
+ */
9071
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DescriptionEntityListRequest;
9072
+
9073
+ /**
9074
+ * Verifies a DescriptionEntityListRequest message.
9075
+ * @param message Plain object to verify
9076
+ * @returns `null` if valid, otherwise the reason why it is not
9077
+ */
9078
+ public static verify(message: { [k: string]: any }): (string|null);
9079
+ }
9080
+
8732
9081
  /** Properties of an EventErrorAlreadyInTerminalState. */
8733
9082
  interface IEventErrorAlreadyInTerminalState {
8734
9083
 
@@ -14962,6 +15311,9 @@ export namespace flyteidl {
14962
15311
 
14963
15312
  /** Task closure */
14964
15313
  closure?: (flyteidl.admin.ITaskClosure|null);
15314
+
15315
+ /** Task shortDescription */
15316
+ shortDescription?: (string|null);
14965
15317
  }
14966
15318
 
14967
15319
  /** Represents a Task. */
@@ -14979,6 +15331,9 @@ export namespace flyteidl {
14979
15331
  /** Task closure. */
14980
15332
  public closure?: (flyteidl.admin.ITaskClosure|null);
14981
15333
 
15334
+ /** Task shortDescription. */
15335
+ public shortDescription: string;
15336
+
14982
15337
  /**
14983
15338
  * Creates a new Task instance using the specified properties.
14984
15339
  * @param [properties] Properties to set
@@ -15075,6 +15430,9 @@ export namespace flyteidl {
15075
15430
 
15076
15431
  /** TaskSpec template */
15077
15432
  template?: (flyteidl.core.ITaskTemplate|null);
15433
+
15434
+ /** TaskSpec description */
15435
+ description?: (flyteidl.admin.IDescriptionEntity|null);
15078
15436
  }
15079
15437
 
15080
15438
  /** Represents a TaskSpec. */
@@ -15089,6 +15447,9 @@ export namespace flyteidl {
15089
15447
  /** TaskSpec template. */
15090
15448
  public template?: (flyteidl.core.ITaskTemplate|null);
15091
15449
 
15450
+ /** TaskSpec description. */
15451
+ public description?: (flyteidl.admin.IDescriptionEntity|null);
15452
+
15092
15453
  /**
15093
15454
  * Creates a new TaskSpec instance using the specified properties.
15094
15455
  * @param [properties] Properties to set
@@ -15965,6 +16326,9 @@ export namespace flyteidl {
15965
16326
 
15966
16327
  /** Workflow closure */
15967
16328
  closure?: (flyteidl.admin.IWorkflowClosure|null);
16329
+
16330
+ /** Workflow shortDescription */
16331
+ shortDescription?: (string|null);
15968
16332
  }
15969
16333
 
15970
16334
  /** Represents a Workflow. */
@@ -15982,6 +16346,9 @@ export namespace flyteidl {
15982
16346
  /** Workflow closure. */
15983
16347
  public closure?: (flyteidl.admin.IWorkflowClosure|null);
15984
16348
 
16349
+ /** Workflow shortDescription. */
16350
+ public shortDescription: string;
16351
+
15985
16352
  /**
15986
16353
  * Creates a new Workflow instance using the specified properties.
15987
16354
  * @param [properties] Properties to set
@@ -16081,6 +16448,9 @@ export namespace flyteidl {
16081
16448
 
16082
16449
  /** WorkflowSpec subWorkflows */
16083
16450
  subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null);
16451
+
16452
+ /** WorkflowSpec description */
16453
+ description?: (flyteidl.admin.IDescriptionEntity|null);
16084
16454
  }
16085
16455
 
16086
16456
  /** Represents a WorkflowSpec. */
@@ -16098,6 +16468,9 @@ export namespace flyteidl {
16098
16468
  /** WorkflowSpec subWorkflows. */
16099
16469
  public subWorkflows: flyteidl.core.IWorkflowTemplate[];
16100
16470
 
16471
+ /** WorkflowSpec description. */
16472
+ public description?: (flyteidl.admin.IDescriptionEntity|null);
16473
+
16101
16474
  /**
16102
16475
  * Creates a new WorkflowSpec instance using the specified properties.
16103
16476
  * @param [properties] Properties to set
@@ -17483,6 +17856,34 @@ export namespace flyteidl {
17483
17856
  * @returns Promise
17484
17857
  */
17485
17858
  public getVersion(request: flyteidl.admin.IGetVersionRequest): Promise<flyteidl.admin.GetVersionResponse>;
17859
+
17860
+ /**
17861
+ * Calls GetDescriptionEntity.
17862
+ * @param request ObjectGetRequest message or plain object
17863
+ * @param callback Node-style callback called with the error, if any, and DescriptionEntity
17864
+ */
17865
+ public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetDescriptionEntityCallback): void;
17866
+
17867
+ /**
17868
+ * Calls GetDescriptionEntity.
17869
+ * @param request ObjectGetRequest message or plain object
17870
+ * @returns Promise
17871
+ */
17872
+ public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest): Promise<flyteidl.admin.DescriptionEntity>;
17873
+
17874
+ /**
17875
+ * Calls ListDescriptionEntities.
17876
+ * @param request DescriptionEntityListRequest message or plain object
17877
+ * @param callback Node-style callback called with the error, if any, and DescriptionEntityList
17878
+ */
17879
+ public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest, callback: flyteidl.service.AdminService.ListDescriptionEntitiesCallback): void;
17880
+
17881
+ /**
17882
+ * Calls ListDescriptionEntities.
17883
+ * @param request DescriptionEntityListRequest message or plain object
17884
+ * @returns Promise
17885
+ */
17886
+ public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise<flyteidl.admin.DescriptionEntityList>;
17486
17887
  }
17487
17888
 
17488
17889
  namespace AdminService {
@@ -17836,6 +18237,20 @@ export namespace flyteidl {
17836
18237
  * @param [response] GetVersionResponse
17837
18238
  */
17838
18239
  type GetVersionCallback = (error: (Error|null), response?: flyteidl.admin.GetVersionResponse) => void;
18240
+
18241
+ /**
18242
+ * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}.
18243
+ * @param error Error, if any
18244
+ * @param [response] DescriptionEntity
18245
+ */
18246
+ type GetDescriptionEntityCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntity) => void;
18247
+
18248
+ /**
18249
+ * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}.
18250
+ * @param error Error, if any
18251
+ * @param [response] DescriptionEntityList
18252
+ */
18253
+ type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void;
17839
18254
  }
17840
18255
 
17841
18256
  /** Properties of a OAuth2MetadataRequest. */