@io-orkes/conductor-javascript 2.1.3-alpha1 → 2.1.3-alpha2
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.
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +30 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1918,6 +1918,10 @@ declare type PollIntervalOptions = {
|
|
|
1918
1918
|
pollInterval: number;
|
|
1919
1919
|
maxPollTimes: number;
|
|
1920
1920
|
};
|
|
1921
|
+
declare type ClaimOptions = {
|
|
1922
|
+
overrideAssignment: boolean;
|
|
1923
|
+
withTemplate: boolean;
|
|
1924
|
+
};
|
|
1921
1925
|
declare class HumanExecutor {
|
|
1922
1926
|
readonly _client: ConductorClient;
|
|
1923
1927
|
constructor(client: ConductorClient);
|
|
@@ -1970,13 +1974,13 @@ declare class HumanExecutor {
|
|
|
1970
1974
|
* @param assignee
|
|
1971
1975
|
* @returns
|
|
1972
1976
|
*/
|
|
1973
|
-
claimTaskAsExternalUser(taskId: string, assignee: string, options?:
|
|
1977
|
+
claimTaskAsExternalUser(taskId: string, assignee: string, options?: ClaimOptions): Promise<HumanTaskEntry>;
|
|
1974
1978
|
/**
|
|
1975
1979
|
* Claim task as conductor user
|
|
1976
1980
|
* @param taskId
|
|
1977
1981
|
* @returns
|
|
1978
1982
|
*/
|
|
1979
|
-
claimTaskAsConductorUser(taskId: string, options?:
|
|
1983
|
+
claimTaskAsConductorUser(taskId: string, options?: ClaimOptions): Promise<HumanTaskEntry>;
|
|
1980
1984
|
/**
|
|
1981
1985
|
* Claim task as conductor user
|
|
1982
1986
|
* @param taskId
|
package/dist/index.d.ts
CHANGED
|
@@ -1918,6 +1918,10 @@ declare type PollIntervalOptions = {
|
|
|
1918
1918
|
pollInterval: number;
|
|
1919
1919
|
maxPollTimes: number;
|
|
1920
1920
|
};
|
|
1921
|
+
declare type ClaimOptions = {
|
|
1922
|
+
overrideAssignment: boolean;
|
|
1923
|
+
withTemplate: boolean;
|
|
1924
|
+
};
|
|
1921
1925
|
declare class HumanExecutor {
|
|
1922
1926
|
readonly _client: ConductorClient;
|
|
1923
1927
|
constructor(client: ConductorClient);
|
|
@@ -1970,13 +1974,13 @@ declare class HumanExecutor {
|
|
|
1970
1974
|
* @param assignee
|
|
1971
1975
|
* @returns
|
|
1972
1976
|
*/
|
|
1973
|
-
claimTaskAsExternalUser(taskId: string, assignee: string, options?:
|
|
1977
|
+
claimTaskAsExternalUser(taskId: string, assignee: string, options?: ClaimOptions): Promise<HumanTaskEntry>;
|
|
1974
1978
|
/**
|
|
1975
1979
|
* Claim task as conductor user
|
|
1976
1980
|
* @param taskId
|
|
1977
1981
|
* @returns
|
|
1978
1982
|
*/
|
|
1979
|
-
claimTaskAsConductorUser(taskId: string, options?:
|
|
1983
|
+
claimTaskAsConductorUser(taskId: string, options?: ClaimOptions): Promise<HumanTaskEntry>;
|
|
1980
1984
|
/**
|
|
1981
1985
|
* Claim task as conductor user
|
|
1982
1986
|
* @param taskId
|
package/dist/index.js
CHANGED
|
@@ -1964,7 +1964,7 @@ var HumanTaskService = class {
|
|
|
1964
1964
|
method: "DELETE",
|
|
1965
1965
|
url: "/human/tasks/delete/{taskId}",
|
|
1966
1966
|
path: {
|
|
1967
|
-
|
|
1967
|
+
taskId
|
|
1968
1968
|
}
|
|
1969
1969
|
});
|
|
1970
1970
|
}
|
|
@@ -1997,10 +1997,10 @@ var HumanTaskService = class {
|
|
|
1997
1997
|
method: "POST",
|
|
1998
1998
|
url: "/human/tasks/update/taskRef",
|
|
1999
1999
|
query: {
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2000
|
+
workflowId,
|
|
2001
|
+
taskRefName,
|
|
2002
|
+
complete,
|
|
2003
|
+
iteration
|
|
2004
2004
|
},
|
|
2005
2005
|
body: requestBody,
|
|
2006
2006
|
mediaType: "application/json"
|
|
@@ -2017,7 +2017,9 @@ var HumanTaskService = class {
|
|
|
2017
2017
|
method: "GET",
|
|
2018
2018
|
url: "/human/tasks/{taskId}",
|
|
2019
2019
|
path: {
|
|
2020
|
-
|
|
2020
|
+
taskId
|
|
2021
|
+
},
|
|
2022
|
+
query: {
|
|
2021
2023
|
withTemplate
|
|
2022
2024
|
}
|
|
2023
2025
|
});
|
|
@@ -2034,11 +2036,11 @@ var HumanTaskService = class {
|
|
|
2034
2036
|
method: "POST",
|
|
2035
2037
|
url: "/human/tasks/{taskId}/claim",
|
|
2036
2038
|
path: {
|
|
2037
|
-
|
|
2039
|
+
taskId
|
|
2038
2040
|
},
|
|
2039
2041
|
query: {
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
+
overrideAssignment,
|
|
2043
|
+
withTemplate
|
|
2042
2044
|
}
|
|
2043
2045
|
});
|
|
2044
2046
|
}
|
|
@@ -2055,12 +2057,12 @@ var HumanTaskService = class {
|
|
|
2055
2057
|
method: "POST",
|
|
2056
2058
|
url: "/human/tasks/{taskId}/externalUser/{userId}",
|
|
2057
2059
|
path: {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
+
taskId,
|
|
2061
|
+
userId
|
|
2060
2062
|
},
|
|
2061
2063
|
query: {
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
+
overrideAssignment,
|
|
2065
|
+
withTemplate
|
|
2064
2066
|
}
|
|
2065
2067
|
});
|
|
2066
2068
|
}
|
|
@@ -2076,7 +2078,7 @@ var HumanTaskService = class {
|
|
|
2076
2078
|
method: "POST",
|
|
2077
2079
|
url: "/human/tasks/{taskId}/reassign",
|
|
2078
2080
|
path: {
|
|
2079
|
-
|
|
2081
|
+
taskId
|
|
2080
2082
|
},
|
|
2081
2083
|
body: requestBody,
|
|
2082
2084
|
mediaType: "application/json"
|
|
@@ -2093,7 +2095,7 @@ var HumanTaskService = class {
|
|
|
2093
2095
|
method: "POST",
|
|
2094
2096
|
url: "/human/tasks/{taskId}/release",
|
|
2095
2097
|
path: {
|
|
2096
|
-
|
|
2098
|
+
taskId
|
|
2097
2099
|
}
|
|
2098
2100
|
});
|
|
2099
2101
|
}
|
|
@@ -2109,10 +2111,10 @@ var HumanTaskService = class {
|
|
|
2109
2111
|
method: "POST",
|
|
2110
2112
|
url: "/human/tasks/{taskId}/skip",
|
|
2111
2113
|
path: {
|
|
2112
|
-
|
|
2114
|
+
taskId
|
|
2113
2115
|
},
|
|
2114
2116
|
query: {
|
|
2115
|
-
|
|
2117
|
+
reason
|
|
2116
2118
|
}
|
|
2117
2119
|
});
|
|
2118
2120
|
}
|
|
@@ -2129,10 +2131,10 @@ var HumanTaskService = class {
|
|
|
2129
2131
|
method: "POST",
|
|
2130
2132
|
url: "/human/tasks/{taskId}/update",
|
|
2131
2133
|
path: {
|
|
2132
|
-
|
|
2134
|
+
taskId
|
|
2133
2135
|
},
|
|
2134
2136
|
query: {
|
|
2135
|
-
|
|
2137
|
+
complete
|
|
2136
2138
|
},
|
|
2137
2139
|
body: requestBody,
|
|
2138
2140
|
mediaType: "application/json"
|
|
@@ -2150,8 +2152,8 @@ var HumanTaskService = class {
|
|
|
2150
2152
|
method: "GET",
|
|
2151
2153
|
url: "/human/template",
|
|
2152
2154
|
query: {
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
+
name,
|
|
2156
|
+
version
|
|
2155
2157
|
}
|
|
2156
2158
|
});
|
|
2157
2159
|
}
|
|
@@ -2167,7 +2169,7 @@ var HumanTaskService = class {
|
|
|
2167
2169
|
method: "POST",
|
|
2168
2170
|
url: "/human/template",
|
|
2169
2171
|
query: {
|
|
2170
|
-
|
|
2172
|
+
newVersion
|
|
2171
2173
|
},
|
|
2172
2174
|
body: requestBody,
|
|
2173
2175
|
mediaType: "application/json"
|
|
@@ -2185,7 +2187,7 @@ var HumanTaskService = class {
|
|
|
2185
2187
|
method: "POST",
|
|
2186
2188
|
url: "/human/template/bulk",
|
|
2187
2189
|
query: {
|
|
2188
|
-
|
|
2190
|
+
newVersion
|
|
2189
2191
|
},
|
|
2190
2192
|
body: requestBody,
|
|
2191
2193
|
mediaType: "application/json"
|
|
@@ -2202,7 +2204,7 @@ var HumanTaskService = class {
|
|
|
2202
2204
|
method: "DELETE",
|
|
2203
2205
|
url: "/human/template/{name}",
|
|
2204
2206
|
path: {
|
|
2205
|
-
|
|
2207
|
+
name
|
|
2206
2208
|
}
|
|
2207
2209
|
});
|
|
2208
2210
|
}
|
|
@@ -2218,8 +2220,8 @@ var HumanTaskService = class {
|
|
|
2218
2220
|
method: "DELETE",
|
|
2219
2221
|
url: "/human/template/{name}/{version}",
|
|
2220
2222
|
path: {
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
+
name,
|
|
2224
|
+
version
|
|
2223
2225
|
}
|
|
2224
2226
|
});
|
|
2225
2227
|
}
|
|
@@ -2235,8 +2237,8 @@ var HumanTaskService = class {
|
|
|
2235
2237
|
method: "GET",
|
|
2236
2238
|
url: "/human/template/{name}/{version}",
|
|
2237
2239
|
path: {
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
+
name,
|
|
2241
|
+
version
|
|
2240
2242
|
}
|
|
2241
2243
|
});
|
|
2242
2244
|
}
|