@hautechai/sdk 0.3.38 → 0.3.40

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.
@@ -3855,6 +3855,18 @@ export interface PipelineDto {
3855
3855
  'state': {
3856
3856
  [key: string]: PipelineDtoStateValue;
3857
3857
  };
3858
+ /**
3859
+ * Total price of all tasks in the pipeline as a decimal string
3860
+ * @type {string}
3861
+ * @memberof PipelineDto
3862
+ */
3863
+ 'totalExecutionPrice': string;
3864
+ /**
3865
+ * Total price of all successfully completed tasks in the pipeline as a decimal string
3866
+ * @type {string}
3867
+ * @memberof PipelineDto
3868
+ */
3869
+ 'currentExecutionPrice': string;
3858
3870
  /**
3859
3871
  *
3860
3872
  * @type {object}
@@ -3879,12 +3891,6 @@ export interface PipelineDto {
3879
3891
  * @memberof PipelineDto
3880
3892
  */
3881
3893
  'creatorId': string;
3882
- /**
3883
- *
3884
- * @type {number}
3885
- * @memberof PipelineDto
3886
- */
3887
- 'tasksAmount': number;
3888
3894
  /**
3889
3895
  *
3890
3896
  * @type {object}
@@ -3969,12 +3975,6 @@ export interface PipelinePreviewDto {
3969
3975
  * @memberof PipelinePreviewDto
3970
3976
  */
3971
3977
  'creatorId': string;
3972
- /**
3973
- *
3974
- * @type {number}
3975
- * @memberof PipelinePreviewDto
3976
- */
3977
- 'tasksAmount': number;
3978
3978
  /**
3979
3979
  *
3980
3980
  * @type {object}
@@ -5077,6 +5077,12 @@ export interface TaskDto {
5077
5077
  * @memberof TaskDto
5078
5078
  */
5079
5079
  'dependencies': Array<string>;
5080
+ /**
5081
+ *
5082
+ * @type {string}
5083
+ * @memberof TaskDto
5084
+ */
5085
+ 'price': string;
5080
5086
  }
5081
5087
  /**
5082
5088
  *
@@ -7,6 +7,7 @@ declare const accounts: (options: SDKOptions) => {
7
7
  get: (props: {
8
8
  id: string;
9
9
  }) => Promise<AccountEntity | undefined>;
10
+ self: () => Promise<AccountEntity | undefined>;
10
11
  getByAlias: (props: {
11
12
  alias: string;
12
13
  }) => Promise<AccountEntity | undefined>;
@@ -10,6 +10,9 @@ const accounts = (options) => {
10
10
  get: async (props) => api.callWithReturningUndefinedOn404({
11
11
  run: (methods) => methods.accountsControllerGetAccountV1(props.id),
12
12
  }),
13
+ self: async () => api.callWithReturningUndefinedOn404({
14
+ run: (methods) => methods.accountsControllerGetSelfV1(),
15
+ }),
13
16
  getByAlias: async (props) => api.callWithReturningUndefinedOn404({
14
17
  run: (methods) => methods.accountsControllerGetAccountByAliasV1(props.alias),
15
18
  }),
@@ -24,6 +24,7 @@ export declare const createSDK: (options: SDKOptions) => {
24
24
  get: (props: {
25
25
  id: string;
26
26
  }) => Promise<import("../types").AccountEntity | undefined>;
27
+ self: () => Promise<import("../types").AccountEntity | undefined>;
27
28
  getByAlias: (props: {
28
29
  alias: string;
29
30
  }) => Promise<import("../types").AccountEntity | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {