@cirrobio/api-client 0.0.6-alpha → 0.0.7-alpha

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/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.0.6-alpha --save
39
+ npm install @cirrobio/api-client@0.0.7-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const BillingMethod: {
17
- readonly BudgetNumber: "BUDGET_NUMBER";
18
- readonly PurchaseOrder: "PURCHASE_ORDER";
19
- readonly Credit: "CREDIT";
20
- };
21
- export type BillingMethod = typeof BillingMethod[keyof typeof BillingMethod];
17
+ export declare enum BillingMethod {
18
+ BudgetNumber = "BUDGET_NUMBER",
19
+ PurchaseOrder = "PURCHASE_ORDER",
20
+ Credit = "CREDIT"
21
+ }
22
22
  export declare function BillingMethodFromJSON(json: any): BillingMethod;
23
23
  export declare function BillingMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMethod;
24
24
  export declare function BillingMethodToJSON(value?: BillingMethod | null): any;
@@ -17,12 +17,14 @@ exports.BillingMethodToJSON = exports.BillingMethodFromJSONTyped = exports.Billi
17
17
  /**
18
18
  *
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.BillingMethod = {
22
- BudgetNumber: 'BUDGET_NUMBER',
23
- PurchaseOrder: 'PURCHASE_ORDER',
24
- Credit: 'CREDIT'
25
- };
22
+ var BillingMethod;
23
+ (function (BillingMethod) {
24
+ BillingMethod["BudgetNumber"] = "BUDGET_NUMBER";
25
+ BillingMethod["PurchaseOrder"] = "PURCHASE_ORDER";
26
+ BillingMethod["Credit"] = "CREDIT";
27
+ })(BillingMethod = exports.BillingMethod || (exports.BillingMethod = {}));
26
28
  function BillingMethodFromJSON(json) {
27
29
  return BillingMethodFromJSONTyped(json, false);
28
30
  }
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const BudgetPeriod: {
17
- readonly Annually: "ANNUALLY";
18
- readonly Quarterly: "QUARTERLY";
19
- readonly Monthly: "MONTHLY";
20
- };
21
- export type BudgetPeriod = typeof BudgetPeriod[keyof typeof BudgetPeriod];
17
+ export declare enum BudgetPeriod {
18
+ Annually = "ANNUALLY",
19
+ Quarterly = "QUARTERLY",
20
+ Monthly = "MONTHLY"
21
+ }
22
22
  export declare function BudgetPeriodFromJSON(json: any): BudgetPeriod;
23
23
  export declare function BudgetPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetPeriod;
24
24
  export declare function BudgetPeriodToJSON(value?: BudgetPeriod | null): any;
@@ -17,12 +17,14 @@ exports.BudgetPeriodToJSON = exports.BudgetPeriodFromJSONTyped = exports.BudgetP
17
17
  /**
18
18
  *
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.BudgetPeriod = {
22
- Annually: 'ANNUALLY',
23
- Quarterly: 'QUARTERLY',
24
- Monthly: 'MONTHLY'
25
- };
22
+ var BudgetPeriod;
23
+ (function (BudgetPeriod) {
24
+ BudgetPeriod["Annually"] = "ANNUALLY";
25
+ BudgetPeriod["Quarterly"] = "QUARTERLY";
26
+ BudgetPeriod["Monthly"] = "MONTHLY";
27
+ })(BudgetPeriod = exports.BudgetPeriod || (exports.BudgetPeriod = {}));
26
28
  function BudgetPeriodFromJSON(json) {
27
29
  return BudgetPeriodFromJSONTyped(json, false);
28
30
  }
@@ -12,14 +12,14 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const CustomerType: {
17
- readonly Free: "FREE";
18
- readonly Usage: "USAGE";
19
- readonly Marketplace: "MARKETPLACE";
20
- readonly Contract: "CONTRACT";
21
- };
22
- export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
17
+ export declare enum CustomerType {
18
+ Free = "FREE",
19
+ Usage = "USAGE",
20
+ Marketplace = "MARKETPLACE",
21
+ Contract = "CONTRACT"
22
+ }
23
23
  export declare function CustomerTypeFromJSON(json: any): CustomerType;
24
24
  export declare function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType;
25
25
  export declare function CustomerTypeToJSON(value?: CustomerType | null): any;
@@ -17,13 +17,15 @@ exports.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.Custome
17
17
  /**
18
18
  *
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.CustomerType = {
22
- Free: 'FREE',
23
- Usage: 'USAGE',
24
- Marketplace: 'MARKETPLACE',
25
- Contract: 'CONTRACT'
26
- };
22
+ var CustomerType;
23
+ (function (CustomerType) {
24
+ CustomerType["Free"] = "FREE";
25
+ CustomerType["Usage"] = "USAGE";
26
+ CustomerType["Marketplace"] = "MARKETPLACE";
27
+ CustomerType["Contract"] = "CONTRACT";
28
+ })(CustomerType = exports.CustomerType || (exports.CustomerType = {}));
27
29
  function CustomerTypeFromJSON(json) {
28
30
  return CustomerTypeFromJSONTyped(json, false);
29
31
  }
@@ -12,12 +12,12 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const DatasetType: {
17
- readonly Upload: "UPLOAD";
18
- readonly Public: "PUBLIC";
19
- };
20
- export type DatasetType = typeof DatasetType[keyof typeof DatasetType];
17
+ export declare enum DatasetType {
18
+ Upload = "UPLOAD",
19
+ Public = "PUBLIC"
20
+ }
21
21
  export declare function DatasetTypeFromJSON(json: any): DatasetType;
22
22
  export declare function DatasetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetType;
23
23
  export declare function DatasetTypeToJSON(value?: DatasetType | null): any;
@@ -17,11 +17,13 @@ exports.DatasetTypeToJSON = exports.DatasetTypeFromJSONTyped = exports.DatasetTy
17
17
  /**
18
18
  *
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.DatasetType = {
22
- Upload: 'UPLOAD',
23
- Public: 'PUBLIC'
24
- };
22
+ var DatasetType;
23
+ (function (DatasetType) {
24
+ DatasetType["Upload"] = "UPLOAD";
25
+ DatasetType["Public"] = "PUBLIC";
26
+ })(DatasetType = exports.DatasetType || (exports.DatasetType = {}));
25
27
  function DatasetTypeFromJSON(json) {
26
28
  return DatasetTypeFromJSONTyped(json, false);
27
29
  }
@@ -12,13 +12,13 @@
12
12
  /**
13
13
  * Process executor
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const Executor: {
17
- readonly Ingest: "INGEST";
18
- readonly Nextflow: "NEXTFLOW";
19
- readonly Cromwell: "CROMWELL";
20
- };
21
- export type Executor = typeof Executor[keyof typeof Executor];
17
+ export declare enum Executor {
18
+ Ingest = "INGEST",
19
+ Nextflow = "NEXTFLOW",
20
+ Cromwell = "CROMWELL"
21
+ }
22
22
  export declare function ExecutorFromJSON(json: any): Executor;
23
23
  export declare function ExecutorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Executor;
24
24
  export declare function ExecutorToJSON(value?: Executor | null): any;
@@ -17,12 +17,14 @@ exports.ExecutorToJSON = exports.ExecutorFromJSONTyped = exports.ExecutorFromJSO
17
17
  /**
18
18
  * Process executor
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.Executor = {
22
- Ingest: 'INGEST',
23
- Nextflow: 'NEXTFLOW',
24
- Cromwell: 'CROMWELL'
25
- };
22
+ var Executor;
23
+ (function (Executor) {
24
+ Executor["Ingest"] = "INGEST";
25
+ Executor["Nextflow"] = "NEXTFLOW";
26
+ Executor["Cromwell"] = "CROMWELL";
27
+ })(Executor = exports.Executor || (exports.Executor = {}));
26
28
  function ExecutorFromJSON(json) {
27
29
  return ExecutorFromJSONTyped(json, false);
28
30
  }
@@ -12,14 +12,14 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
+ * @enum {string}
15
16
  */
16
- export declare const ProjectRole: {
17
- readonly Admin: "ADMIN";
18
- readonly Contributor: "CONTRIBUTOR";
19
- readonly Collaborator: "COLLABORATOR";
20
- readonly None: "NONE";
21
- };
22
- export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
17
+ export declare enum ProjectRole {
18
+ Admin = "ADMIN",
19
+ Contributor = "CONTRIBUTOR",
20
+ Collaborator = "COLLABORATOR",
21
+ None = "NONE"
22
+ }
23
23
  export declare function ProjectRoleFromJSON(json: any): ProjectRole;
24
24
  export declare function ProjectRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRole;
25
25
  export declare function ProjectRoleToJSON(value?: ProjectRole | null): any;
@@ -17,13 +17,15 @@ exports.ProjectRoleToJSON = exports.ProjectRoleFromJSONTyped = exports.ProjectRo
17
17
  /**
18
18
  *
19
19
  * @export
20
+ * @enum {string}
20
21
  */
21
- exports.ProjectRole = {
22
- Admin: 'ADMIN',
23
- Contributor: 'CONTRIBUTOR',
24
- Collaborator: 'COLLABORATOR',
25
- None: 'NONE'
26
- };
22
+ var ProjectRole;
23
+ (function (ProjectRole) {
24
+ ProjectRole["Admin"] = "ADMIN";
25
+ ProjectRole["Contributor"] = "CONTRIBUTOR";
26
+ ProjectRole["Collaborator"] = "COLLABORATOR";
27
+ ProjectRole["None"] = "NONE";
28
+ })(ProjectRole = exports.ProjectRole || (exports.ProjectRole = {}));
27
29
  function ProjectRoleFromJSON(json) {
28
30
  return ProjectRoleFromJSONTyped(json, false);
29
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.0.6-alpha",
3
+ "version": "0.0.7-alpha",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -12,17 +12,16 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  *
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const BillingMethod = {
21
- BudgetNumber: 'BUDGET_NUMBER',
22
- PurchaseOrder: 'PURCHASE_ORDER',
23
- Credit: 'CREDIT'
24
- } as const;
25
- export type BillingMethod = typeof BillingMethod[keyof typeof BillingMethod];
20
+ export enum BillingMethod {
21
+ BudgetNumber = 'BUDGET_NUMBER',
22
+ PurchaseOrder = 'PURCHASE_ORDER',
23
+ Credit = 'CREDIT'
24
+ }
26
25
 
27
26
 
28
27
  export function BillingMethodFromJSON(json: any): BillingMethod {
@@ -12,17 +12,16 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  *
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const BudgetPeriod = {
21
- Annually: 'ANNUALLY',
22
- Quarterly: 'QUARTERLY',
23
- Monthly: 'MONTHLY'
24
- } as const;
25
- export type BudgetPeriod = typeof BudgetPeriod[keyof typeof BudgetPeriod];
20
+ export enum BudgetPeriod {
21
+ Annually = 'ANNUALLY',
22
+ Quarterly = 'QUARTERLY',
23
+ Monthly = 'MONTHLY'
24
+ }
26
25
 
27
26
 
28
27
  export function BudgetPeriodFromJSON(json: any): BudgetPeriod {
@@ -12,18 +12,17 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  *
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const CustomerType = {
21
- Free: 'FREE',
22
- Usage: 'USAGE',
23
- Marketplace: 'MARKETPLACE',
24
- Contract: 'CONTRACT'
25
- } as const;
26
- export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
20
+ export enum CustomerType {
21
+ Free = 'FREE',
22
+ Usage = 'USAGE',
23
+ Marketplace = 'MARKETPLACE',
24
+ Contract = 'CONTRACT'
25
+ }
27
26
 
28
27
 
29
28
  export function CustomerTypeFromJSON(json: any): CustomerType {
@@ -12,16 +12,15 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  *
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const DatasetType = {
21
- Upload: 'UPLOAD',
22
- Public: 'PUBLIC'
23
- } as const;
24
- export type DatasetType = typeof DatasetType[keyof typeof DatasetType];
20
+ export enum DatasetType {
21
+ Upload = 'UPLOAD',
22
+ Public = 'PUBLIC'
23
+ }
25
24
 
26
25
 
27
26
  export function DatasetTypeFromJSON(json: any): DatasetType {
@@ -12,17 +12,16 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  * Process executor
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const Executor = {
21
- Ingest: 'INGEST',
22
- Nextflow: 'NEXTFLOW',
23
- Cromwell: 'CROMWELL'
24
- } as const;
25
- export type Executor = typeof Executor[keyof typeof Executor];
20
+ export enum Executor {
21
+ Ingest = 'INGEST',
22
+ Nextflow = 'NEXTFLOW',
23
+ Cromwell = 'CROMWELL'
24
+ }
26
25
 
27
26
 
28
27
  export function ExecutorFromJSON(json: any): Executor {
@@ -12,18 +12,17 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  /**
17
16
  *
18
17
  * @export
18
+ * @enum {string}
19
19
  */
20
- export const ProjectRole = {
21
- Admin: 'ADMIN',
22
- Contributor: 'CONTRIBUTOR',
23
- Collaborator: 'COLLABORATOR',
24
- None: 'NONE'
25
- } as const;
26
- export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
20
+ export enum ProjectRole {
21
+ Admin = 'ADMIN',
22
+ Contributor = 'CONTRIBUTOR',
23
+ Collaborator = 'COLLABORATOR',
24
+ None = 'NONE'
25
+ }
27
26
 
28
27
 
29
28
  export function ProjectRoleFromJSON(json: any): ProjectRole {