@cirrobio/api-client 0.2.15 → 0.2.16

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.2.15 --save
39
+ npm install @cirrobio/api-client@0.2.16 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -33,6 +33,12 @@ export interface CreateNotebookInstanceRequest {
33
33
  * @memberof CreateNotebookInstanceRequest
34
34
  */
35
35
  acceleratorTypes: Array<string>;
36
+ /**
37
+ * List of public git repositories to clone into the notebook instance.
38
+ * @type {Array<string>}
39
+ * @memberof CreateNotebookInstanceRequest
40
+ */
41
+ gitRepositories?: Array<string> | null;
36
42
  /**
37
43
  *
38
44
  * @type {number}
@@ -39,6 +39,7 @@ function CreateNotebookInstanceRequestFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'name': json['name'],
40
40
  'instanceType': json['instanceType'],
41
41
  'acceleratorTypes': json['acceleratorTypes'],
42
+ 'gitRepositories': !(0, runtime_1.exists)(json, 'gitRepositories') ? undefined : json['gitRepositories'],
42
43
  'volumeSizeGB': json['volumeSizeGB'],
43
44
  'isSharedWithProject': !(0, runtime_1.exists)(json, 'isSharedWithProject') ? undefined : json['isSharedWithProject'],
44
45
  };
@@ -55,6 +56,7 @@ function CreateNotebookInstanceRequestToJSON(value) {
55
56
  'name': value.name,
56
57
  'instanceType': value.instanceType,
57
58
  'acceleratorTypes': value.acceleratorTypes,
59
+ 'gitRepositories': value.gitRepositories,
58
60
  'volumeSizeGB': value.volumeSizeGB,
59
61
  'isSharedWithProject': value.isSharedWithProject,
60
62
  };
@@ -52,6 +52,12 @@ export interface NotebookInstance {
52
52
  * @memberof NotebookInstance
53
53
  */
54
54
  acceleratorTypes: Array<string>;
55
+ /**
56
+ *
57
+ * @type {Array<string>}
58
+ * @memberof NotebookInstance
59
+ */
60
+ gitRepositories: Array<string>;
55
61
  /**
56
62
  *
57
63
  * @type {number}
@@ -26,6 +26,7 @@ function instanceOfNotebookInstance(value) {
26
26
  isInstance = isInstance && "statusMessage" in value;
27
27
  isInstance = isInstance && "instanceType" in value;
28
28
  isInstance = isInstance && "acceleratorTypes" in value;
29
+ isInstance = isInstance && "gitRepositories" in value;
29
30
  isInstance = isInstance && "volumeSizeGB" in value;
30
31
  isInstance = isInstance && "isSharedWithProject" in value;
31
32
  isInstance = isInstance && "createdBy" in value;
@@ -49,6 +50,7 @@ function NotebookInstanceFromJSONTyped(json, ignoreDiscriminator) {
49
50
  'statusMessage': json['statusMessage'],
50
51
  'instanceType': json['instanceType'],
51
52
  'acceleratorTypes': json['acceleratorTypes'],
53
+ 'gitRepositories': json['gitRepositories'],
52
54
  'volumeSizeGB': json['volumeSizeGB'],
53
55
  'isSharedWithProject': json['isSharedWithProject'],
54
56
  'createdBy': json['createdBy'],
@@ -71,6 +73,7 @@ function NotebookInstanceToJSON(value) {
71
73
  'statusMessage': value.statusMessage,
72
74
  'instanceType': value.instanceType,
73
75
  'acceleratorTypes': value.acceleratorTypes,
76
+ 'gitRepositories': value.gitRepositories,
74
77
  'volumeSizeGB': value.volumeSizeGB,
75
78
  'isSharedWithProject': value.isSharedWithProject,
76
79
  'createdBy': value.createdBy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -37,6 +37,12 @@ export interface CreateNotebookInstanceRequest {
37
37
  * @memberof CreateNotebookInstanceRequest
38
38
  */
39
39
  acceleratorTypes: Array<string>;
40
+ /**
41
+ * List of public git repositories to clone into the notebook instance.
42
+ * @type {Array<string>}
43
+ * @memberof CreateNotebookInstanceRequest
44
+ */
45
+ gitRepositories?: Array<string> | null;
40
46
  /**
41
47
  *
42
48
  * @type {number}
@@ -77,6 +83,7 @@ export function CreateNotebookInstanceRequestFromJSONTyped(json: any, ignoreDisc
77
83
  'name': json['name'],
78
84
  'instanceType': json['instanceType'],
79
85
  'acceleratorTypes': json['acceleratorTypes'],
86
+ 'gitRepositories': !exists(json, 'gitRepositories') ? undefined : json['gitRepositories'],
80
87
  'volumeSizeGB': json['volumeSizeGB'],
81
88
  'isSharedWithProject': !exists(json, 'isSharedWithProject') ? undefined : json['isSharedWithProject'],
82
89
  };
@@ -94,6 +101,7 @@ export function CreateNotebookInstanceRequestToJSON(value?: CreateNotebookInstan
94
101
  'name': value.name,
95
102
  'instanceType': value.instanceType,
96
103
  'acceleratorTypes': value.acceleratorTypes,
104
+ 'gitRepositories': value.gitRepositories,
97
105
  'volumeSizeGB': value.volumeSizeGB,
98
106
  'isSharedWithProject': value.isSharedWithProject,
99
107
  };
@@ -62,6 +62,12 @@ export interface NotebookInstance {
62
62
  * @memberof NotebookInstance
63
63
  */
64
64
  acceleratorTypes: Array<string>;
65
+ /**
66
+ *
67
+ * @type {Array<string>}
68
+ * @memberof NotebookInstance
69
+ */
70
+ gitRepositories: Array<string>;
65
71
  /**
66
72
  *
67
73
  * @type {number}
@@ -105,6 +111,7 @@ export function instanceOfNotebookInstance(value: object): boolean {
105
111
  isInstance = isInstance && "statusMessage" in value;
106
112
  isInstance = isInstance && "instanceType" in value;
107
113
  isInstance = isInstance && "acceleratorTypes" in value;
114
+ isInstance = isInstance && "gitRepositories" in value;
108
115
  isInstance = isInstance && "volumeSizeGB" in value;
109
116
  isInstance = isInstance && "isSharedWithProject" in value;
110
117
  isInstance = isInstance && "createdBy" in value;
@@ -130,6 +137,7 @@ export function NotebookInstanceFromJSONTyped(json: any, ignoreDiscriminator: bo
130
137
  'statusMessage': json['statusMessage'],
131
138
  'instanceType': json['instanceType'],
132
139
  'acceleratorTypes': json['acceleratorTypes'],
140
+ 'gitRepositories': json['gitRepositories'],
133
141
  'volumeSizeGB': json['volumeSizeGB'],
134
142
  'isSharedWithProject': json['isSharedWithProject'],
135
143
  'createdBy': json['createdBy'],
@@ -153,6 +161,7 @@ export function NotebookInstanceToJSON(value?: NotebookInstance | null): any {
153
161
  'statusMessage': value.statusMessage,
154
162
  'instanceType': value.instanceType,
155
163
  'acceleratorTypes': value.acceleratorTypes,
164
+ 'gitRepositories': value.gitRepositories,
156
165
  'volumeSizeGB': value.volumeSizeGB,
157
166
  'isSharedWithProject': value.isSharedWithProject,
158
167
  'createdBy': value.createdBy,