Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"additionalProperties": {
"npmName": "@cirrobio/api-client",
"npmVersion": "0.13.31",
"npmVersion": "0.13.32",
"author": "CirroBio",
"stringEnums": true,
"supportsES6": true
Expand Down
1 change: 1 addition & 0 deletions packages/api-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ src/models/Entity.ts
src/models/EntityType.ts
src/models/EnvironmentType.ts
src/models/ErrorMessage.ts
src/models/ExecutionMode.ts
src/models/Executor.ts
src/models/FeatureFlags.ts
src/models/FileDef.ts
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @cirrobio/api-client@0.13.31 --save
npm install @cirrobio/api-client@0.13.32 --save
```

_unPublished (not recommended):_
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cirrobio/api-client",
"version": "0.13.31",
"version": "0.13.32",
"description": "API client for Cirro",
"author": "CirroBio",
"repository": {
Expand Down
15 changes: 15 additions & 0 deletions packages/api-client/src/models/CustomProcessInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ import {
CustomPipelineSettingsToJSON,
CustomPipelineSettingsToJSONTyped,
} from './CustomPipelineSettings';
import type { ExecutionMode } from './ExecutionMode';
import {
ExecutionModeFromJSON,
ExecutionModeFromJSONTyped,
ExecutionModeToJSON,
ExecutionModeToJSONTyped,
} from './ExecutionMode';
import type { Tag } from './Tag';
import {
TagFromJSON,
Expand Down Expand Up @@ -158,6 +165,12 @@ export interface CustomProcessInput {
* @memberof CustomProcessInput
*/
usesSampleSheet?: boolean;
/**
* Execution modes the pipeline supports
* @type {Array<ExecutionMode>}
* @memberof CustomProcessInput
*/
executionModes?: Array<ExecutionMode> | null;
/**
*
* @type {CustomPipelineSettings}
Expand Down Expand Up @@ -226,6 +239,7 @@ export function CustomProcessInputFromJSONTyped(json: any, ignoreDiscriminator:
'isTenantWide': json['isTenantWide'] == null ? undefined : json['isTenantWide'],
'allowMultipleSources': json['allowMultipleSources'] == null ? undefined : json['allowMultipleSources'],
'usesSampleSheet': json['usesSampleSheet'] == null ? undefined : json['usesSampleSheet'],
'executionModes': json['executionModes'] == null ? undefined : ((json['executionModes'] as Array<any>).map(ExecutionModeFromJSON)),
'customSettings': json['customSettings'] == null ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
'fileMappingRules': json['fileMappingRules'] == null ? undefined : ((json['fileMappingRules'] as Array<any>).map(FileMappingRuleFromJSON)),
'tags': json['tags'] == null ? undefined : ((json['tags'] as Array<any>).map(TagFromJSON)),
Expand Down Expand Up @@ -260,6 +274,7 @@ export function CustomProcessInputToJSONTyped(value?: CustomProcessInput | null,
'isTenantWide': value['isTenantWide'],
'allowMultipleSources': value['allowMultipleSources'],
'usesSampleSheet': value['usesSampleSheet'],
'executionModes': value['executionModes'] == null ? undefined : ((value['executionModes'] as Array<any>).map(ExecutionModeToJSON)),
'customSettings': CustomPipelineSettingsToJSON(value['customSettings']),
'fileMappingRules': value['fileMappingRules'] == null ? undefined : ((value['fileMappingRules'] as Array<any>).map(FileMappingRuleToJSON)),
'tags': value['tags'] == null ? undefined : ((value['tags'] as Array<any>).map(TagToJSON)),
Expand Down
52 changes: 52 additions & 0 deletions packages/api-client/src/models/ExecutionMode.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/* tslint:disable */
/* eslint-disable */
/**
* Cirro Data
* Cirro Data Platform service API
*
* The version of the OpenAPI document: latest
* Contact: support@cirro.bio
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* An execution mode a pipeline declares support for. STANDARD runs on AWS Batch; HEALTHOMICS runs on AWS HealthOmics.
* @export
* @enum {string}
*/
export enum ExecutionMode {
Standard = 'STANDARD',
Healthomics = 'HEALTHOMICS'
}


export function instanceOfExecutionMode(value: any): boolean {
for (const key in ExecutionMode) {
if (Object.prototype.hasOwnProperty.call(ExecutionMode, key)) {
if (ExecutionMode[key as keyof typeof ExecutionMode] === value) {
return true;
}
}
}
return false;
}

export function ExecutionModeFromJSON(json: any): ExecutionMode {
return ExecutionModeFromJSONTyped(json, false);
}

export function ExecutionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExecutionMode {
return json as ExecutionMode;
}

export function ExecutionModeToJSON(value?: ExecutionMode | null): any {
return value as any;
}

export function ExecutionModeToJSONTyped(value: any, ignoreDiscriminator: boolean): ExecutionMode {
return value as ExecutionMode;
}

12 changes: 6 additions & 6 deletions packages/api-client/src/models/FilterValuesInner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export function FilterValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: b
if (json == null) {
return json;
}
if (typeof json === 'string') {
return json;
}
if (typeof json === 'number') {
return json;
}
Expand All @@ -39,6 +36,9 @@ export function FilterValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: b
if (typeof json === 'boolean') {
return json;
}
if (typeof json === 'string') {
return json;
}
return {} as any;
}

Expand All @@ -50,9 +50,6 @@ export function FilterValuesInnerToJSONTyped(value?: FilterValuesInner | null, i
if (value == null) {
return value;
}
if (typeof value === 'string') {
return value;
}
if (typeof value === 'number') {
return value;
}
Expand All @@ -62,6 +59,9 @@ export function FilterValuesInnerToJSONTyped(value?: FilterValuesInner | null, i
if (typeof value === 'boolean') {
return value;
}
if (typeof value === 'string') {
return value;
}
return {};
}

16 changes: 16 additions & 0 deletions packages/api-client/src/models/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ import {
ExecutorToJSON,
ExecutorToJSONTyped,
} from './Executor';
import type { ExecutionMode } from './ExecutionMode';
import {
ExecutionModeFromJSON,
ExecutionModeFromJSONTyped,
ExecutionModeToJSON,
ExecutionModeToJSONTyped,
} from './ExecutionMode';
import type { Tag } from './Tag';
import {
TagFromJSON,
Expand Down Expand Up @@ -136,6 +143,12 @@ export interface Process {
* @memberof Process
*/
usesSampleSheet: boolean;
/**
* Execution modes the pipeline supports
* @type {Array<ExecutionMode>}
* @memberof Process
*/
executionModes: Array<ExecutionMode>;
/**
* Whether the process is marked as archived
* @type {boolean}
Expand Down Expand Up @@ -179,6 +192,7 @@ export function instanceOfProcess(value: object): value is Process {
if (!('isTenantWide' in value) || value['isTenantWide'] === undefined) return false;
if (!('allowMultipleSources' in value) || value['allowMultipleSources'] === undefined) return false;
if (!('usesSampleSheet' in value) || value['usesSampleSheet'] === undefined) return false;
if (!('executionModes' in value) || value['executionModes'] === undefined) return false;
if (!('isArchived' in value) || value['isArchived'] === undefined) return false;
if (!('tags' in value) || value['tags'] === undefined) return false;
return true;
Expand Down Expand Up @@ -211,6 +225,7 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
'isTenantWide': json['isTenantWide'],
'allowMultipleSources': json['allowMultipleSources'],
'usesSampleSheet': json['usesSampleSheet'],
'executionModes': ((json['executionModes'] as Array<any>).map(ExecutionModeFromJSON)),
'isArchived': json['isArchived'],
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
Expand Down Expand Up @@ -246,6 +261,7 @@ export function ProcessToJSONTyped(value?: Process | null, ignoreDiscriminator:
'isTenantWide': value['isTenantWide'],
'allowMultipleSources': value['allowMultipleSources'],
'usesSampleSheet': value['usesSampleSheet'],
'executionModes': ((value['executionModes'] as Array<any>).map(ExecutionModeToJSON)),
'isArchived': value['isArchived'],
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
Expand Down
16 changes: 16 additions & 0 deletions packages/api-client/src/models/ProcessDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ import {
CustomPipelineSettingsToJSON,
CustomPipelineSettingsToJSONTyped,
} from './CustomPipelineSettings';
import type { ExecutionMode } from './ExecutionMode';
import {
ExecutionModeFromJSON,
ExecutionModeFromJSONTyped,
ExecutionModeToJSON,
ExecutionModeToJSONTyped,
} from './ExecutionMode';
import type { Tag } from './Tag';
import {
TagFromJSON,
Expand Down Expand Up @@ -170,6 +177,12 @@ export interface ProcessDetail {
* @memberof ProcessDetail
*/
usesSampleSheet: boolean;
/**
* Execution modes the pipeline supports
* @type {Array<ExecutionMode>}
* @memberof ProcessDetail
*/
executionModes: Array<ExecutionMode>;
/**
* Whether the process is marked as archived
* @type {boolean}
Expand Down Expand Up @@ -231,6 +244,7 @@ export function instanceOfProcessDetail(value: object): value is ProcessDetail {
if (!('isTenantWide' in value) || value['isTenantWide'] === undefined) return false;
if (!('allowMultipleSources' in value) || value['allowMultipleSources'] === undefined) return false;
if (!('usesSampleSheet' in value) || value['usesSampleSheet'] === undefined) return false;
if (!('executionModes' in value) || value['executionModes'] === undefined) return false;
if (!('isArchived' in value) || value['isArchived'] === undefined) return false;
if (!('tags' in value) || value['tags'] === undefined) return false;
if (!('configSource' in value) || value['configSource'] === undefined) return false;
Expand Down Expand Up @@ -265,6 +279,7 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
'isTenantWide': json['isTenantWide'],
'allowMultipleSources': json['allowMultipleSources'],
'usesSampleSheet': json['usesSampleSheet'],
'executionModes': ((json['executionModes'] as Array<any>).map(ExecutionModeFromJSON)),
'isArchived': json['isArchived'],
'customSettings': json['customSettings'] == null ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
'fileMappingRules': json['fileMappingRules'] == null ? undefined : ((json['fileMappingRules'] as Array<any>).map(FileMappingRuleFromJSON)),
Expand Down Expand Up @@ -304,6 +319,7 @@ export function ProcessDetailToJSONTyped(value?: ProcessDetail | null, ignoreDis
'isTenantWide': value['isTenantWide'],
'allowMultipleSources': value['allowMultipleSources'],
'usesSampleSheet': value['usesSampleSheet'],
'executionModes': ((value['executionModes'] as Array<any>).map(ExecutionModeToJSON)),
'isArchived': value['isArchived'],
'customSettings': CustomPipelineSettingsToJSON(value['customSettings']),
'fileMappingRules': value['fileMappingRules'] == null ? undefined : ((value['fileMappingRules'] as Array<any>).map(FileMappingRuleToJSON)),
Expand Down
9 changes: 9 additions & 0 deletions packages/api-client/src/models/Sheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ export interface Sheet {
* @memberof Sheet
*/
sheetCreationMode: SheetCreationMode;
/**
*
* @type {boolean}
* @memberof Sheet
*/
virtual: boolean;
/**
*
* @type {Status}
Expand Down Expand Up @@ -161,6 +167,7 @@ export function instanceOfSheet(value: object): value is Sheet {
if (!('projectId' in value) || value['projectId'] === undefined) return false;
if (!('sheetType' in value) || value['sheetType'] === undefined) return false;
if (!('sheetCreationMode' in value) || value['sheetCreationMode'] === undefined) return false;
if (!('virtual' in value) || value['virtual'] === undefined) return false;
if (!('status' in value) || value['status'] === undefined) return false;
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
Expand Down Expand Up @@ -189,6 +196,7 @@ export function SheetFromJSONTyped(json: any, ignoreDiscriminator: boolean): She
'projectId': json['projectId'],
'sheetType': SheetTypeFromJSON(json['sheetType']),
'sheetCreationMode': SheetCreationModeFromJSON(json['sheetCreationMode']),
'virtual': json['virtual'],
'status': StatusFromJSON(json['status']),
'createdBy': json['createdBy'],
'createdAt': (new Date(json['createdAt'])),
Expand Down Expand Up @@ -218,6 +226,7 @@ export function SheetToJSONTyped(value?: Sheet | null, ignoreDiscriminator: bool
'projectId': value['projectId'],
'sheetType': SheetTypeToJSON(value['sheetType']),
'sheetCreationMode': SheetCreationModeToJSON(value['sheetCreationMode']),
'virtual': value['virtual'],
'status': StatusToJSON(value['status']),
'createdBy': value['createdBy'],
'createdAt': value['createdAt'].toISOString(),
Expand Down
8 changes: 8 additions & 0 deletions packages/api-client/src/models/SheetDetail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ export interface SheetDetail {
* @memberof SheetDetail
*/
viewDefinition?: ViewQueryRequest | null;
/**
* True only for virtual (non-materialized) VIEW sheets.
* @type {boolean}
* @memberof SheetDetail
*/
virtual?: boolean;
/**
* When the view was last materialized. Null for TABLE sheets.
* @type {Date}
Expand Down Expand Up @@ -229,6 +235,7 @@ export function SheetDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean
'columns': json['columns'] == null ? undefined : ((json['columns'] as Array<any>).map(ColumnDefFromJSON)),
'auditReadAccess': json['auditReadAccess'],
'viewDefinition': json['viewDefinition'] == null ? undefined : ViewQueryRequestFromJSON(json['viewDefinition']),
'virtual': json['virtual'] == null ? undefined : json['virtual'],
'lastRefreshedAt': json['lastRefreshedAt'] == null ? undefined : (new Date(json['lastRefreshedAt'])),
'stagingUploadPath': json['stagingUploadPath'] == null ? undefined : json['stagingUploadPath'],
'createdBy': json['createdBy'],
Expand Down Expand Up @@ -263,6 +270,7 @@ export function SheetDetailToJSONTyped(value?: SheetDetail | null, ignoreDiscrim
'columns': value['columns'] == null ? undefined : ((value['columns'] as Array<any>).map(ColumnDefToJSON)),
'auditReadAccess': value['auditReadAccess'],
'viewDefinition': ViewQueryRequestToJSON(value['viewDefinition']),
'virtual': value['virtual'],
'lastRefreshedAt': value['lastRefreshedAt'] == null ? value['lastRefreshedAt'] : value['lastRefreshedAt'].toISOString(),
'stagingUploadPath': value['stagingUploadPath'],
'createdBy': value['createdBy'],
Expand Down
8 changes: 8 additions & 0 deletions packages/api-client/src/models/ViewSheetInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ export interface ViewSheetInput {
* @memberof ViewSheetInput
*/
viewDefinition: ViewQueryRequest;
/**
* True for a view resolved live at query time; false materializes it into a table (refreshed async). Immutable after create.
* @type {boolean}
* @memberof ViewSheetInput
*/
virtual?: boolean;
/**
* Tags for the sheet
* @type {Array<Tag>}
Expand Down Expand Up @@ -111,6 +117,7 @@ export function ViewSheetInputFromJSONTyped(json: any, ignoreDiscriminator: bool
'tableName': json['tableName'],
'auditReadAccess': json['auditReadAccess'] == null ? undefined : json['auditReadAccess'],
'viewDefinition': ViewQueryRequestFromJSON(json['viewDefinition']),
'virtual': json['virtual'] == null ? undefined : json['virtual'],
'tags': json['tags'] == null ? undefined : ((json['tags'] as Array<any>).map(TagFromJSON)),
'sheetType': json['sheetType'] == null ? undefined : json['sheetType'],
};
Expand All @@ -133,6 +140,7 @@ export function ViewSheetInputToJSONTyped(value?: ViewSheetInput | null, ignoreD
'tableName': value['tableName'],
'auditReadAccess': value['auditReadAccess'],
'viewDefinition': ViewQueryRequestToJSON(value['viewDefinition']),
'virtual': value['virtual'],
'tags': value['tags'] == null ? undefined : ((value['tags'] as Array<any>).map(TagToJSON)),
'sheetType': value['sheetType'],
};
Expand Down
1 change: 1 addition & 0 deletions packages/api-client/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export * from './Entity';
export * from './EntityType';
export * from './EnvironmentType';
export * from './ErrorMessage';
export * from './ExecutionMode';
export * from './Executor';
export * from './FeatureFlags';
export * from './FileDef';
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cirrobio/sdk",
"version": "0.13.31",
"version": "0.13.32",
"description": "SDK for Cirro",
"author": "CirroBio",
"repository": {
Expand Down
Loading