@aignostics/sdk 3.1.0 → 3.2.0

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.
Binary file
@@ -1948,4 +1948,4 @@ declare class PublicApi extends BaseAPI implements PublicApiInterface {
1948
1948
  readApplicationByIdV1ApplicationsApplicationIdGet(requestParameters: PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ApplicationReadResponse, any, {}>>;
1949
1949
  }
1950
1950
 
1951
- export { type ApplicationReadShortResponse as A, type PublicApiInterface as B, type CustomMetadataUpdateRequest as C, type PublicApiApplicationVersionDetailsV1ApplicationsApplicationIdVersionsVersionGetRequest as D, type PublicApiCancelRunV1RunsRunIdCancelPostRequest as E, type PublicApiCreateRunV1RunsPostRequest as F, type PublicApiDeleteRunItemsV1RunsRunIdArtifactsDeleteRequest as G, type HTTPValidationError as H, type ItemResultReadResponse as I, type PublicApiGetItemByRunV1RunsRunIdItemsExternalIdGetRequest as J, type PublicApiGetRunV1RunsRunIdGetRequest as K, type PublicApiListApplicationsV1ApplicationsGetRequest as L, type MeReadResponse as M, type PublicApiListRunItemsV1RunsRunIdItemsGetRequest as N, type OrganizationReadResponse as O, PublicApiAxiosParamCreator as P, type PublicApiListRunsV1RunsGetRequest as Q, type RunReadResponse as R, type PublicApiPutItemCustomMetadataByRunV1RunsRunIdItemsExternalIdCustomMetadataPutRequest as S, type PublicApiPutRunCustomMetadataV1RunsRunIdCustomMetadataPutRequest as T, type UserReadResponse as U, type VersionReadResponse as V, type PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest as W, PublicApi as X, type ConfigurationParameters as Y, Configuration as Z, type ApplicationReadResponse as a, type RunCreationRequest as b, type RunCreationResponse as c, type ApplicationVersion as d, ArtifactOutput as e, ArtifactState as f, ArtifactTerminationReason as g, type CustomMetadataUpdateResponse as h, type InputArtifact as i, type InputArtifactCreationRequest as j, type ItemCreationRequest as k, ItemOutput as l, ItemState as m, ItemTerminationReason as n, type OutputArtifact as o, type OutputArtifactResultReadResponse as p, OutputArtifactScope as q, OutputArtifactVisibility as r, type RunItemStatistics as s, RunOutput as t, RunState as u, RunTerminationReason as v, type ValidationError as w, type ValidationErrorLocInner as x, PublicApiFp as y, PublicApiFactory as z };
1951
+ export { type ApplicationReadShortResponse as A, type PublicApiInterface as B, type CustomMetadataUpdateRequest as C, type PublicApiApplicationVersionDetailsV1ApplicationsApplicationIdVersionsVersionGetRequest as D, type PublicApiCancelRunV1RunsRunIdCancelPostRequest as E, type PublicApiCreateRunV1RunsPostRequest as F, type PublicApiDeleteRunItemsV1RunsRunIdArtifactsDeleteRequest as G, type HTTPValidationError as H, ItemState as I, type PublicApiGetItemByRunV1RunsRunIdItemsExternalIdGetRequest as J, type PublicApiGetRunV1RunsRunIdGetRequest as K, type PublicApiListApplicationsV1ApplicationsGetRequest as L, type MeReadResponse as M, type PublicApiListRunItemsV1RunsRunIdItemsGetRequest as N, type OrganizationReadResponse as O, PublicApiAxiosParamCreator as P, type PublicApiListRunsV1RunsGetRequest as Q, type RunReadResponse as R, type PublicApiPutItemCustomMetadataByRunV1RunsRunIdItemsExternalIdCustomMetadataPutRequest as S, type PublicApiPutRunCustomMetadataV1RunsRunIdCustomMetadataPutRequest as T, type UserReadResponse as U, type VersionReadResponse as V, type PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest as W, PublicApi as X, type ConfigurationParameters as Y, Configuration as Z, type ApplicationReadResponse as a, type RunCreationRequest as b, type RunCreationResponse as c, ItemTerminationReason as d, type ItemResultReadResponse as e, type ApplicationVersion as f, ArtifactOutput as g, ArtifactState as h, ArtifactTerminationReason as i, type CustomMetadataUpdateResponse as j, type InputArtifact as k, type InputArtifactCreationRequest as l, type ItemCreationRequest as m, ItemOutput as n, type OutputArtifact as o, type OutputArtifactResultReadResponse as p, OutputArtifactScope as q, OutputArtifactVisibility as r, type RunItemStatistics as s, RunOutput as t, RunState as u, RunTerminationReason as v, type ValidationError as w, type ValidationErrorLocInner as x, PublicApiFp as y, PublicApiFactory as z };
@@ -1948,4 +1948,4 @@ declare class PublicApi extends BaseAPI implements PublicApiInterface {
1948
1948
  readApplicationByIdV1ApplicationsApplicationIdGet(requestParameters: PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ApplicationReadResponse, any, {}>>;
1949
1949
  }
1950
1950
 
1951
- export { type ApplicationReadShortResponse as A, type PublicApiInterface as B, type CustomMetadataUpdateRequest as C, type PublicApiApplicationVersionDetailsV1ApplicationsApplicationIdVersionsVersionGetRequest as D, type PublicApiCancelRunV1RunsRunIdCancelPostRequest as E, type PublicApiCreateRunV1RunsPostRequest as F, type PublicApiDeleteRunItemsV1RunsRunIdArtifactsDeleteRequest as G, type HTTPValidationError as H, type ItemResultReadResponse as I, type PublicApiGetItemByRunV1RunsRunIdItemsExternalIdGetRequest as J, type PublicApiGetRunV1RunsRunIdGetRequest as K, type PublicApiListApplicationsV1ApplicationsGetRequest as L, type MeReadResponse as M, type PublicApiListRunItemsV1RunsRunIdItemsGetRequest as N, type OrganizationReadResponse as O, PublicApiAxiosParamCreator as P, type PublicApiListRunsV1RunsGetRequest as Q, type RunReadResponse as R, type PublicApiPutItemCustomMetadataByRunV1RunsRunIdItemsExternalIdCustomMetadataPutRequest as S, type PublicApiPutRunCustomMetadataV1RunsRunIdCustomMetadataPutRequest as T, type UserReadResponse as U, type VersionReadResponse as V, type PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest as W, PublicApi as X, type ConfigurationParameters as Y, Configuration as Z, type ApplicationReadResponse as a, type RunCreationRequest as b, type RunCreationResponse as c, type ApplicationVersion as d, ArtifactOutput as e, ArtifactState as f, ArtifactTerminationReason as g, type CustomMetadataUpdateResponse as h, type InputArtifact as i, type InputArtifactCreationRequest as j, type ItemCreationRequest as k, ItemOutput as l, ItemState as m, ItemTerminationReason as n, type OutputArtifact as o, type OutputArtifactResultReadResponse as p, OutputArtifactScope as q, OutputArtifactVisibility as r, type RunItemStatistics as s, RunOutput as t, RunState as u, RunTerminationReason as v, type ValidationError as w, type ValidationErrorLocInner as x, PublicApiFp as y, PublicApiFactory as z };
1951
+ export { type ApplicationReadShortResponse as A, type PublicApiInterface as B, type CustomMetadataUpdateRequest as C, type PublicApiApplicationVersionDetailsV1ApplicationsApplicationIdVersionsVersionGetRequest as D, type PublicApiCancelRunV1RunsRunIdCancelPostRequest as E, type PublicApiCreateRunV1RunsPostRequest as F, type PublicApiDeleteRunItemsV1RunsRunIdArtifactsDeleteRequest as G, type HTTPValidationError as H, ItemState as I, type PublicApiGetItemByRunV1RunsRunIdItemsExternalIdGetRequest as J, type PublicApiGetRunV1RunsRunIdGetRequest as K, type PublicApiListApplicationsV1ApplicationsGetRequest as L, type MeReadResponse as M, type PublicApiListRunItemsV1RunsRunIdItemsGetRequest as N, type OrganizationReadResponse as O, PublicApiAxiosParamCreator as P, type PublicApiListRunsV1RunsGetRequest as Q, type RunReadResponse as R, type PublicApiPutItemCustomMetadataByRunV1RunsRunIdItemsExternalIdCustomMetadataPutRequest as S, type PublicApiPutRunCustomMetadataV1RunsRunIdCustomMetadataPutRequest as T, type UserReadResponse as U, type VersionReadResponse as V, type PublicApiReadApplicationByIdV1ApplicationsApplicationIdGetRequest as W, PublicApi as X, type ConfigurationParameters as Y, Configuration as Z, type ApplicationReadResponse as a, type RunCreationRequest as b, type RunCreationResponse as c, ItemTerminationReason as d, type ItemResultReadResponse as e, type ApplicationVersion as f, ArtifactOutput as g, ArtifactState as h, ArtifactTerminationReason as i, type CustomMetadataUpdateResponse as j, type InputArtifact as k, type InputArtifactCreationRequest as l, type ItemCreationRequest as m, ItemOutput as n, type OutputArtifact as o, type OutputArtifactResultReadResponse as p, OutputArtifactScope as q, OutputArtifactVisibility as r, type RunItemStatistics as s, RunOutput as t, RunState as u, RunTerminationReason as v, type ValidationError as w, type ValidationErrorLocInner as x, PublicApiFp as y, PublicApiFactory as z };
package/dist/index.cjs CHANGED
@@ -1486,7 +1486,9 @@ var PlatformSDKHttp = class {
1486
1486
  applicationId: options?.applicationId,
1487
1487
  applicationVersion: options?.applicationVersion,
1488
1488
  customMetadata: options?.customMetadata,
1489
- sort: options?.sort
1489
+ sort: options?.sort,
1490
+ page: options?.page,
1491
+ pageSize: options?.pageSize
1490
1492
  });
1491
1493
  return response.data;
1492
1494
  } catch (error) {
@@ -1645,11 +1647,24 @@ var PlatformSDKHttp = class {
1645
1647
  * }
1646
1648
  * ```
1647
1649
  */
1648
- async listRunResults(applicationRunId) {
1650
+ async listRunResults(applicationRunId, {
1651
+ page,
1652
+ pageSize,
1653
+ sort,
1654
+ externalIdIn,
1655
+ state,
1656
+ terminationReason
1657
+ } = {}) {
1649
1658
  const client = await this.#getClient();
1650
1659
  try {
1651
1660
  const response = await client.listRunItemsV1RunsRunIdItemsGet({
1652
- runId: applicationRunId
1661
+ runId: applicationRunId,
1662
+ page,
1663
+ pageSize,
1664
+ sort,
1665
+ externalIdIn,
1666
+ state,
1667
+ terminationReason
1653
1668
  });
1654
1669
  return response.data;
1655
1670
  } catch (error) {