@cirrobio/api-client 0.0.24-alpha → 0.0.25-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.
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface InviteUserResponse
20
+ */
21
+ export interface InviteUserResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof InviteUserResponse
26
+ */
27
+ message: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the InviteUserResponse interface.
32
+ */
33
+ export function instanceOfInviteUserResponse(value: object): boolean {
34
+ let isInstance = true;
35
+ isInstance = isInstance && "message" in value;
36
+
37
+ return isInstance;
38
+ }
39
+
40
+ export function InviteUserResponseFromJSON(json: any): InviteUserResponse {
41
+ return InviteUserResponseFromJSONTyped(json, false);
42
+ }
43
+
44
+ export function InviteUserResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteUserResponse {
45
+ if ((json === undefined) || (json === null)) {
46
+ return json;
47
+ }
48
+ return {
49
+
50
+ 'message': json['message'],
51
+ };
52
+ }
53
+
54
+ export function InviteUserResponseToJSON(value?: InviteUserResponse | null): any {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+
63
+ 'message': value.message,
64
+ };
65
+ }
66
+
@@ -0,0 +1,102 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface S3Credentials
20
+ */
21
+ export interface S3Credentials {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof S3Credentials
26
+ */
27
+ accessKeyId: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof S3Credentials
32
+ */
33
+ expiration: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof S3Credentials
38
+ */
39
+ secretAccessKey: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof S3Credentials
44
+ */
45
+ sessionToken: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof S3Credentials
50
+ */
51
+ region: string;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the S3Credentials interface.
56
+ */
57
+ export function instanceOfS3Credentials(value: object): boolean {
58
+ let isInstance = true;
59
+ isInstance = isInstance && "accessKeyId" in value;
60
+ isInstance = isInstance && "expiration" in value;
61
+ isInstance = isInstance && "secretAccessKey" in value;
62
+ isInstance = isInstance && "sessionToken" in value;
63
+ isInstance = isInstance && "region" in value;
64
+
65
+ return isInstance;
66
+ }
67
+
68
+ export function S3CredentialsFromJSON(json: any): S3Credentials {
69
+ return S3CredentialsFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function S3CredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Credentials {
73
+ if ((json === undefined) || (json === null)) {
74
+ return json;
75
+ }
76
+ return {
77
+
78
+ 'accessKeyId': json['accessKeyId'],
79
+ 'expiration': json['expiration'],
80
+ 'secretAccessKey': json['secretAccessKey'],
81
+ 'sessionToken': json['sessionToken'],
82
+ 'region': json['region'],
83
+ };
84
+ }
85
+
86
+ export function S3CredentialsToJSON(value?: S3Credentials | null): any {
87
+ if (value === undefined) {
88
+ return undefined;
89
+ }
90
+ if (value === null) {
91
+ return null;
92
+ }
93
+ return {
94
+
95
+ 'accessKeyId': value.accessKeyId,
96
+ 'expiration': value.expiration,
97
+ 'secretAccessKey': value.secretAccessKey,
98
+ 'sessionToken': value.sessionToken,
99
+ 'region': value.region,
100
+ };
101
+ }
102
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SftpCredentials
20
+ */
21
+ export interface SftpCredentials {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof SftpCredentials
26
+ */
27
+ username: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SftpCredentials
32
+ */
33
+ password: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SftpCredentials
38
+ */
39
+ projectId: string;
40
+ /**
41
+ *
42
+ * @type {Date}
43
+ * @memberof SftpCredentials
44
+ */
45
+ expiresAt: Date;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SftpCredentials interface.
50
+ */
51
+ export function instanceOfSftpCredentials(value: object): boolean {
52
+ let isInstance = true;
53
+ isInstance = isInstance && "username" in value;
54
+ isInstance = isInstance && "password" in value;
55
+ isInstance = isInstance && "projectId" in value;
56
+ isInstance = isInstance && "expiresAt" in value;
57
+
58
+ return isInstance;
59
+ }
60
+
61
+ export function SftpCredentialsFromJSON(json: any): SftpCredentials {
62
+ return SftpCredentialsFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function SftpCredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SftpCredentials {
66
+ if ((json === undefined) || (json === null)) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'username': json['username'],
72
+ 'password': json['password'],
73
+ 'projectId': json['projectId'],
74
+ 'expiresAt': (new Date(json['expiresAt'])),
75
+ };
76
+ }
77
+
78
+ export function SftpCredentialsToJSON(value?: SftpCredentials | null): any {
79
+ if (value === undefined) {
80
+ return undefined;
81
+ }
82
+ if (value === null) {
83
+ return null;
84
+ }
85
+ return {
86
+
87
+ 'username': value.username,
88
+ 'password': value.password,
89
+ 'projectId': value.projectId,
90
+ 'expiresAt': (value.expiresAt.toISOString()),
91
+ };
92
+ }
93
+
@@ -19,8 +19,11 @@ export * from './DatasetFile';
19
19
  export * from './DatasetViz';
20
20
  export * from './Executor';
21
21
  export * from './FormSchema';
22
+ export * from './GenerateSftpCredentialsRequest';
22
23
  export * from './GetExecutionLogsResponse';
23
24
  export * from './ImportDataRequest';
25
+ export * from './InviteUserRequest';
26
+ export * from './InviteUserResponse';
24
27
  export * from './LogEntry';
25
28
  export * from './MetricRecord';
26
29
  export * from './NotebookInstance';
@@ -40,10 +43,12 @@ export * from './ProjectUser';
40
43
  export * from './Reference';
41
44
  export * from './ReferenceType';
42
45
  export * from './RunAnalysisRequest';
46
+ export * from './S3Credentials';
43
47
  export * from './Sample';
44
48
  export * from './SampleRequest';
45
49
  export * from './ServiceConnection';
46
50
  export * from './SetUserProjectRoleRequest';
51
+ export * from './SftpCredentials';
47
52
  export * from './Status';
48
53
  export * from './StopExecutionResponse';
49
54
  export * from './SystemInfoResponse';