@cirrobio/api-client 0.1.11 → 0.1.12

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.
Files changed (250) hide show
  1. package/.openapi-generator/FILES +110 -106
  2. package/dist/apis/AuditApi.d.ts +44 -44
  3. package/dist/apis/AuditApi.js +175 -175
  4. package/dist/apis/BillingApi.d.ts +81 -81
  5. package/dist/apis/BillingApi.js +354 -354
  6. package/dist/apis/DashboardsApi.d.ts +88 -88
  7. package/dist/apis/DashboardsApi.js +374 -374
  8. package/dist/apis/DatasetsApi.d.ts +162 -162
  9. package/dist/apis/DatasetsApi.js +670 -670
  10. package/dist/apis/ExecutionApi.d.ts +110 -110
  11. package/dist/apis/ExecutionApi.js +442 -442
  12. package/dist/apis/FileApi.d.ts +46 -46
  13. package/dist/apis/FileApi.js +200 -200
  14. package/dist/apis/MetadataApi.d.ts +71 -71
  15. package/dist/apis/MetadataApi.js +313 -313
  16. package/dist/apis/MetricsApi.d.ts +41 -41
  17. package/dist/apis/MetricsApi.js +187 -187
  18. package/dist/apis/NotebooksApi.d.ts +101 -101
  19. package/dist/apis/NotebooksApi.js +423 -423
  20. package/dist/apis/ProcessesApi.d.ts +138 -138
  21. package/dist/apis/ProcessesApi.js +589 -589
  22. package/dist/apis/ProjectsApi.d.ts +189 -122
  23. package/dist/apis/ProjectsApi.js +815 -528
  24. package/dist/apis/ReferencesApi.d.ts +91 -91
  25. package/dist/apis/ReferencesApi.js +405 -405
  26. package/dist/apis/SystemApi.d.ts +36 -36
  27. package/dist/apis/SystemApi.js +182 -182
  28. package/dist/apis/UsersApi.d.ts +84 -84
  29. package/dist/apis/UsersApi.js +363 -363
  30. package/dist/apis/index.d.ts +14 -14
  31. package/dist/apis/index.js +32 -32
  32. package/dist/index.d.ts +3 -3
  33. package/dist/index.js +21 -21
  34. package/dist/models/AWSCredentials.d.ts +55 -55
  35. package/dist/models/AWSCredentials.js +62 -62
  36. package/dist/models/AccessType.d.ts +25 -25
  37. package/dist/models/AccessType.js +40 -40
  38. package/dist/models/AllowedDataType.d.ts +44 -44
  39. package/dist/models/AllowedDataType.js +57 -57
  40. package/dist/models/ApproveAccessRequest.d.ts +32 -0
  41. package/dist/models/ApproveAccessRequest.js +51 -0
  42. package/dist/models/ApproveProjectAccessRequest.d.ts +32 -0
  43. package/dist/models/ApproveProjectAccessRequest.js +51 -0
  44. package/dist/models/AuditEvent.d.ts +89 -89
  45. package/dist/models/AuditEvent.js +68 -68
  46. package/dist/models/AuthInfo.d.ts +49 -49
  47. package/dist/models/AuthInfo.js +59 -59
  48. package/dist/models/BillingAccount.d.ts +88 -88
  49. package/dist/models/BillingAccount.js +80 -80
  50. package/dist/models/BillingAccountRequest.d.ts +70 -70
  51. package/dist/models/BillingAccountRequest.js +71 -71
  52. package/dist/models/BillingMethod.d.ts +24 -24
  53. package/dist/models/BillingMethod.js +39 -39
  54. package/dist/models/BudgetPeriod.d.ts +24 -24
  55. package/dist/models/BudgetPeriod.js +39 -39
  56. package/dist/models/CloudAccount.d.ts +50 -50
  57. package/dist/models/CloudAccount.js +58 -58
  58. package/dist/models/CloudAccountType.d.ts +23 -23
  59. package/dist/models/CloudAccountType.js +38 -38
  60. package/dist/models/ColumnDefinition.d.ts +43 -43
  61. package/dist/models/ColumnDefinition.js +54 -54
  62. package/dist/models/Contact.d.ts +49 -49
  63. package/dist/models/Contact.js +59 -59
  64. package/dist/models/CreateDashboardRequest.d.ts +31 -0
  65. package/dist/models/CreateDashboardRequest.js +50 -0
  66. package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
  67. package/dist/models/CreateNotebookInstanceRequest.js +59 -59
  68. package/dist/models/CreateProjectAccessRequest.d.ts +38 -0
  69. package/dist/models/CreateProjectAccessRequest.js +54 -0
  70. package/dist/models/CreateReferenceRequest.d.ts +49 -49
  71. package/dist/models/CreateReferenceRequest.js +59 -59
  72. package/dist/models/CreateResponse.d.ts +37 -37
  73. package/dist/models/CreateResponse.js +53 -53
  74. package/dist/models/CustomPipelineSettings.d.ts +62 -62
  75. package/dist/models/CustomPipelineSettings.js +62 -62
  76. package/dist/models/CustomPipelineSettingsDto1.d.ts +61 -0
  77. package/dist/models/CustomPipelineSettingsDto1.js +65 -0
  78. package/dist/models/CustomProcessRequest.d.ts +99 -0
  79. package/dist/models/CustomProcessRequest.js +83 -0
  80. package/dist/models/CustomProcessRequestPipelineCode.d.ts +50 -0
  81. package/dist/models/CustomProcessRequestPipelineCode.js +58 -0
  82. package/dist/models/CustomerType.d.ts +24 -24
  83. package/dist/models/CustomerType.js +39 -39
  84. package/dist/models/Dashboard.d.ts +83 -83
  85. package/dist/models/Dashboard.js +74 -74
  86. package/dist/models/DashboardRequest.d.ts +59 -59
  87. package/dist/models/DashboardRequest.js +62 -62
  88. package/dist/models/Dataset.d.ts +93 -93
  89. package/dist/models/Dataset.js +82 -82
  90. package/dist/models/DatasetAssetsManifest.d.ts +58 -58
  91. package/dist/models/DatasetAssetsManifest.js +61 -61
  92. package/dist/models/DatasetDetail.d.ts +121 -121
  93. package/dist/models/DatasetDetail.js +94 -94
  94. package/dist/models/DatasetFile.d.ts +45 -0
  95. package/dist/models/DatasetFile.js +54 -0
  96. package/dist/models/DatasetType.d.ts +23 -0
  97. package/dist/models/DatasetType.js +38 -0
  98. package/dist/models/DatasetViz.d.ts +49 -49
  99. package/dist/models/DatasetViz.js +56 -56
  100. package/dist/models/ErrorMessage.d.ts +31 -31
  101. package/dist/models/ErrorMessage.js +50 -50
  102. package/dist/models/Executor.d.ts +25 -25
  103. package/dist/models/Executor.js +40 -40
  104. package/dist/models/FileAccessRequest.d.ts +44 -44
  105. package/dist/models/FileAccessRequest.js +56 -56
  106. package/dist/models/FileEntry.d.ts +45 -45
  107. package/dist/models/FileEntry.js +54 -54
  108. package/dist/models/FileMappingRule.d.ts +56 -56
  109. package/dist/models/FileMappingRule.js +61 -61
  110. package/dist/models/FileNamePattern.d.ts +43 -43
  111. package/dist/models/FileNamePattern.js +56 -56
  112. package/dist/models/FileRequirements.d.ts +44 -44
  113. package/dist/models/FileRequirements.js +57 -57
  114. package/dist/models/FormSchema.d.ts +41 -41
  115. package/dist/models/FormSchema.js +52 -52
  116. package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
  117. package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
  118. package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
  119. package/dist/models/GetExecutionLogsResponse.js +51 -51
  120. package/dist/models/ImportDataRequest.d.ts +43 -43
  121. package/dist/models/ImportDataRequest.js +56 -56
  122. package/dist/models/InviteUserRequest.d.ts +43 -43
  123. package/dist/models/InviteUserRequest.js +56 -56
  124. package/dist/models/InviteUserResponse.d.ts +31 -31
  125. package/dist/models/InviteUserResponse.js +50 -50
  126. package/dist/models/LogEntry.d.ts +37 -37
  127. package/dist/models/LogEntry.js +53 -53
  128. package/dist/models/LoginProvider.d.ts +49 -49
  129. package/dist/models/LoginProvider.js +59 -59
  130. package/dist/models/MetricRecord.d.ts +45 -45
  131. package/dist/models/MetricRecord.js +55 -55
  132. package/dist/models/NotebookInstance.d.ts +86 -86
  133. package/dist/models/NotebookInstance.js +78 -78
  134. package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
  135. package/dist/models/NotebookInstanceStatusResponse.js +53 -53
  136. package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
  137. package/dist/models/OpenNotebookInstanceResponse.js +53 -53
  138. package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
  139. package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
  140. package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
  141. package/dist/models/PaginatedResponseSampleDto.js +54 -54
  142. package/dist/models/PipelineCode.d.ts +50 -50
  143. package/dist/models/PipelineCode.js +60 -60
  144. package/dist/models/PipelineCost.d.ts +43 -43
  145. package/dist/models/PipelineCost.js +54 -54
  146. package/dist/models/PortalErrorResponse.d.ts +50 -50
  147. package/dist/models/PortalErrorResponse.js +60 -60
  148. package/dist/models/Process.d.ts +104 -104
  149. package/dist/models/Process.js +78 -78
  150. package/dist/models/ProcessDetail.d.ts +125 -125
  151. package/dist/models/ProcessDetail.js +91 -91
  152. package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +50 -0
  153. package/dist/models/ProcessDetailAllOfPipelineCode.js +58 -0
  154. package/dist/models/Project.d.ts +63 -63
  155. package/dist/models/Project.js +67 -67
  156. package/dist/models/ProjectAccessRequest.d.ts +75 -0
  157. package/dist/models/ProjectAccessRequest.js +73 -0
  158. package/dist/models/ProjectDetail.d.ts +101 -101
  159. package/dist/models/ProjectDetail.js +87 -87
  160. package/dist/models/ProjectMetrics.d.ts +44 -44
  161. package/dist/models/ProjectMetrics.js +56 -56
  162. package/dist/models/ProjectRequest.d.ts +71 -71
  163. package/dist/models/ProjectRequest.js +71 -71
  164. package/dist/models/ProjectRole.d.ts +25 -25
  165. package/dist/models/ProjectRole.js +40 -40
  166. package/dist/models/ProjectSettings.d.ts +122 -116
  167. package/dist/models/ProjectSettings.js +83 -81
  168. package/dist/models/ProjectUser.d.ts +62 -62
  169. package/dist/models/ProjectUser.js +66 -66
  170. package/dist/models/Reference.d.ts +68 -68
  171. package/dist/models/Reference.js +69 -69
  172. package/dist/models/ReferenceType.d.ts +51 -51
  173. package/dist/models/ReferenceType.js +59 -59
  174. package/dist/models/Region.d.ts +31 -0
  175. package/dist/models/Region.js +50 -0
  176. package/dist/models/RegisterDatasetRequest.d.ts +49 -0
  177. package/dist/models/RegisterDatasetRequest.js +59 -0
  178. package/dist/models/RegisterPublicDataRequest.d.ts +43 -0
  179. package/dist/models/RegisterPublicDataRequest.js +56 -0
  180. package/dist/models/RepositoryType.d.ts +25 -25
  181. package/dist/models/RepositoryType.js +40 -40
  182. package/dist/models/RequestStatus.d.ts +24 -0
  183. package/dist/models/RequestStatus.js +39 -0
  184. package/dist/models/ResourcesInfo.d.ts +49 -49
  185. package/dist/models/ResourcesInfo.js +59 -59
  186. package/dist/models/RunAnalysisRequest.d.ts +69 -69
  187. package/dist/models/RunAnalysisRequest.js +67 -67
  188. package/dist/models/S3Credentials.d.ts +55 -0
  189. package/dist/models/S3Credentials.js +62 -0
  190. package/dist/models/Sample.d.ts +63 -63
  191. package/dist/models/Sample.js +62 -65
  192. package/dist/models/SampleRequest.d.ts +39 -39
  193. package/dist/models/SampleRequest.js +53 -53
  194. package/dist/models/ServiceConnection.d.ts +37 -37
  195. package/dist/models/ServiceConnection.js +53 -53
  196. package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
  197. package/dist/models/SetUserProjectRoleRequest.js +57 -57
  198. package/dist/models/SftpCredentials.d.ts +49 -49
  199. package/dist/models/SftpCredentials.js +59 -59
  200. package/dist/models/Status.d.ts +30 -30
  201. package/dist/models/Status.js +45 -45
  202. package/dist/models/StopExecutionResponse.d.ts +37 -37
  203. package/dist/models/StopExecutionResponse.js +52 -52
  204. package/dist/models/SyncStatus.d.ts +23 -23
  205. package/dist/models/SyncStatus.js +38 -38
  206. package/dist/models/SystemInfoResponse.d.ts +94 -94
  207. package/dist/models/SystemInfoResponse.js +83 -83
  208. package/dist/models/Table.d.ts +62 -62
  209. package/dist/models/Table.js +62 -62
  210. package/dist/models/Tag.d.ts +43 -43
  211. package/dist/models/Tag.js +56 -56
  212. package/dist/models/Task.d.ts +73 -73
  213. package/dist/models/Task.js +68 -68
  214. package/dist/models/TenantInfo.d.ts +80 -80
  215. package/dist/models/TenantInfo.js +75 -75
  216. package/dist/models/UpdateDatasetRequest.d.ts +50 -50
  217. package/dist/models/UpdateDatasetRequest.js +60 -60
  218. package/dist/models/UpdateUserRequest.d.ts +69 -69
  219. package/dist/models/UpdateUserRequest.js +64 -64
  220. package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
  221. package/dist/models/UploadDatasetCreateResponse.js +56 -56
  222. package/dist/models/UploadDatasetRequest.d.ts +49 -49
  223. package/dist/models/UploadDatasetRequest.js +59 -59
  224. package/dist/models/User.d.ts +49 -49
  225. package/dist/models/User.js +59 -59
  226. package/dist/models/UserDetail.d.ts +86 -86
  227. package/dist/models/UserDetail.js +78 -78
  228. package/dist/models/UserProjectAssignment.d.ts +50 -50
  229. package/dist/models/UserProjectAssignment.js +60 -60
  230. package/dist/models/ValidateDataInputsRequest.d.ts +37 -0
  231. package/dist/models/ValidateDataInputsRequest.js +53 -0
  232. package/dist/models/ValidateDataInputsResponse.d.ts +44 -0
  233. package/dist/models/ValidateDataInputsResponse.js +57 -0
  234. package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
  235. package/dist/models/ValidateFileRequirementsRequest.js +53 -53
  236. package/dist/models/index.d.ts +87 -83
  237. package/dist/models/index.js +105 -101
  238. package/dist/runtime.d.ts +182 -182
  239. package/dist/runtime.js +562 -562
  240. package/package.json +1 -1
  241. package/src/apis/ProjectsApi.ts +250 -0
  242. package/src/models/ApproveAccessRequest.ts +73 -0
  243. package/src/models/ApproveProjectAccessRequest.ts +73 -0
  244. package/src/models/CreateProjectAccessRequest.ts +82 -0
  245. package/src/models/PipelineCost.ts +1 -1
  246. package/src/models/ProjectAccessRequest.ts +142 -0
  247. package/src/models/ProjectSettings.ts +8 -0
  248. package/src/models/RequestStatus.ts +38 -0
  249. package/src/models/Sample.ts +10 -14
  250. package/src/models/index.ts +4 -0
@@ -1,70 +1,70 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BillingMethod } from './BillingMethod';
13
- import type { Contact } from './Contact';
14
- import type { CustomerType } from './CustomerType';
15
- /**
16
- *
17
- * @export
18
- * @interface BillingAccountRequest
19
- */
20
- export interface BillingAccountRequest {
21
- /**
22
- *
23
- * @type {string}
24
- * @memberof BillingAccountRequest
25
- */
26
- name: string;
27
- /**
28
- *
29
- * @type {Array<Contact>}
30
- * @memberof BillingAccountRequest
31
- */
32
- contacts: Array<Contact>;
33
- /**
34
- *
35
- * @type {CustomerType}
36
- * @memberof BillingAccountRequest
37
- */
38
- customerType: CustomerType;
39
- /**
40
- *
41
- * @type {BillingMethod}
42
- * @memberof BillingAccountRequest
43
- */
44
- billingMethod: BillingMethod;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof BillingAccountRequest
49
- */
50
- primaryBudgetNumber: string;
51
- /**
52
- *
53
- * @type {string}
54
- * @memberof BillingAccountRequest
55
- */
56
- owner: string;
57
- /**
58
- *
59
- * @type {Array<string>}
60
- * @memberof BillingAccountRequest
61
- */
62
- sharedWith: Array<string>;
63
- }
64
- /**
65
- * Check if a given object implements the BillingAccountRequest interface.
66
- */
67
- export declare function instanceOfBillingAccountRequest(value: object): boolean;
68
- export declare function BillingAccountRequestFromJSON(json: any): BillingAccountRequest;
69
- export declare function BillingAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingAccountRequest;
70
- export declare function BillingAccountRequestToJSON(value?: BillingAccountRequest | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { BillingMethod } from './BillingMethod';
13
+ import type { Contact } from './Contact';
14
+ import type { CustomerType } from './CustomerType';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface BillingAccountRequest
19
+ */
20
+ export interface BillingAccountRequest {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof BillingAccountRequest
25
+ */
26
+ name: string;
27
+ /**
28
+ *
29
+ * @type {Array<Contact>}
30
+ * @memberof BillingAccountRequest
31
+ */
32
+ contacts: Array<Contact>;
33
+ /**
34
+ *
35
+ * @type {CustomerType}
36
+ * @memberof BillingAccountRequest
37
+ */
38
+ customerType: CustomerType;
39
+ /**
40
+ *
41
+ * @type {BillingMethod}
42
+ * @memberof BillingAccountRequest
43
+ */
44
+ billingMethod: BillingMethod;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof BillingAccountRequest
49
+ */
50
+ primaryBudgetNumber: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof BillingAccountRequest
55
+ */
56
+ owner: string;
57
+ /**
58
+ *
59
+ * @type {Array<string>}
60
+ * @memberof BillingAccountRequest
61
+ */
62
+ sharedWith: Array<string>;
63
+ }
64
+ /**
65
+ * Check if a given object implements the BillingAccountRequest interface.
66
+ */
67
+ export declare function instanceOfBillingAccountRequest(value: object): boolean;
68
+ export declare function BillingAccountRequestFromJSON(json: any): BillingAccountRequest;
69
+ export declare function BillingAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingAccountRequest;
70
+ export declare function BillingAccountRequestToJSON(value?: BillingAccountRequest | null): any;
@@ -1,71 +1,71 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BillingAccountRequestToJSON = exports.BillingAccountRequestFromJSONTyped = exports.BillingAccountRequestFromJSON = exports.instanceOfBillingAccountRequest = void 0;
17
- var BillingMethod_1 = require("./BillingMethod");
18
- var Contact_1 = require("./Contact");
19
- var CustomerType_1 = require("./CustomerType");
20
- /**
21
- * Check if a given object implements the BillingAccountRequest interface.
22
- */
23
- function instanceOfBillingAccountRequest(value) {
24
- var isInstance = true;
25
- isInstance = isInstance && "name" in value;
26
- isInstance = isInstance && "contacts" in value;
27
- isInstance = isInstance && "customerType" in value;
28
- isInstance = isInstance && "billingMethod" in value;
29
- isInstance = isInstance && "primaryBudgetNumber" in value;
30
- isInstance = isInstance && "owner" in value;
31
- isInstance = isInstance && "sharedWith" in value;
32
- return isInstance;
33
- }
34
- exports.instanceOfBillingAccountRequest = instanceOfBillingAccountRequest;
35
- function BillingAccountRequestFromJSON(json) {
36
- return BillingAccountRequestFromJSONTyped(json, false);
37
- }
38
- exports.BillingAccountRequestFromJSON = BillingAccountRequestFromJSON;
39
- function BillingAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
40
- if ((json === undefined) || (json === null)) {
41
- return json;
42
- }
43
- return {
44
- 'name': json['name'],
45
- 'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
46
- 'customerType': (0, CustomerType_1.CustomerTypeFromJSON)(json['customerType']),
47
- 'billingMethod': (0, BillingMethod_1.BillingMethodFromJSON)(json['billingMethod']),
48
- 'primaryBudgetNumber': json['primaryBudgetNumber'],
49
- 'owner': json['owner'],
50
- 'sharedWith': json['sharedWith'],
51
- };
52
- }
53
- exports.BillingAccountRequestFromJSONTyped = BillingAccountRequestFromJSONTyped;
54
- function BillingAccountRequestToJSON(value) {
55
- if (value === undefined) {
56
- return undefined;
57
- }
58
- if (value === null) {
59
- return null;
60
- }
61
- return {
62
- 'name': value.name,
63
- 'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
64
- 'customerType': (0, CustomerType_1.CustomerTypeToJSON)(value.customerType),
65
- 'billingMethod': (0, BillingMethod_1.BillingMethodToJSON)(value.billingMethod),
66
- 'primaryBudgetNumber': value.primaryBudgetNumber,
67
- 'owner': value.owner,
68
- 'sharedWith': value.sharedWith,
69
- };
70
- }
71
- exports.BillingAccountRequestToJSON = BillingAccountRequestToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.BillingAccountRequestToJSON = exports.BillingAccountRequestFromJSONTyped = exports.BillingAccountRequestFromJSON = exports.instanceOfBillingAccountRequest = void 0;
17
+ var BillingMethod_1 = require("./BillingMethod");
18
+ var Contact_1 = require("./Contact");
19
+ var CustomerType_1 = require("./CustomerType");
20
+ /**
21
+ * Check if a given object implements the BillingAccountRequest interface.
22
+ */
23
+ function instanceOfBillingAccountRequest(value) {
24
+ var isInstance = true;
25
+ isInstance = isInstance && "name" in value;
26
+ isInstance = isInstance && "contacts" in value;
27
+ isInstance = isInstance && "customerType" in value;
28
+ isInstance = isInstance && "billingMethod" in value;
29
+ isInstance = isInstance && "primaryBudgetNumber" in value;
30
+ isInstance = isInstance && "owner" in value;
31
+ isInstance = isInstance && "sharedWith" in value;
32
+ return isInstance;
33
+ }
34
+ exports.instanceOfBillingAccountRequest = instanceOfBillingAccountRequest;
35
+ function BillingAccountRequestFromJSON(json) {
36
+ return BillingAccountRequestFromJSONTyped(json, false);
37
+ }
38
+ exports.BillingAccountRequestFromJSON = BillingAccountRequestFromJSON;
39
+ function BillingAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
40
+ if ((json === undefined) || (json === null)) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'name': json['name'],
45
+ 'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
46
+ 'customerType': (0, CustomerType_1.CustomerTypeFromJSON)(json['customerType']),
47
+ 'billingMethod': (0, BillingMethod_1.BillingMethodFromJSON)(json['billingMethod']),
48
+ 'primaryBudgetNumber': json['primaryBudgetNumber'],
49
+ 'owner': json['owner'],
50
+ 'sharedWith': json['sharedWith'],
51
+ };
52
+ }
53
+ exports.BillingAccountRequestFromJSONTyped = BillingAccountRequestFromJSONTyped;
54
+ function BillingAccountRequestToJSON(value) {
55
+ if (value === undefined) {
56
+ return undefined;
57
+ }
58
+ if (value === null) {
59
+ return null;
60
+ }
61
+ return {
62
+ 'name': value.name,
63
+ 'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
64
+ 'customerType': (0, CustomerType_1.CustomerTypeToJSON)(value.customerType),
65
+ 'billingMethod': (0, BillingMethod_1.BillingMethodToJSON)(value.billingMethod),
66
+ 'primaryBudgetNumber': value.primaryBudgetNumber,
67
+ 'owner': value.owner,
68
+ 'sharedWith': value.sharedWith,
69
+ };
70
+ }
71
+ exports.BillingAccountRequestToJSON = BillingAccountRequestToJSON;
@@ -1,24 +1,24 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare enum BillingMethod {
18
- BudgetNumber = "BUDGET_NUMBER",
19
- PurchaseOrder = "PURCHASE_ORDER",
20
- Credit = "CREDIT"
21
- }
22
- export declare function BillingMethodFromJSON(json: any): BillingMethod;
23
- export declare function BillingMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMethod;
24
- export declare function BillingMethodToJSON(value?: BillingMethod | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum BillingMethod {
18
+ BudgetNumber = "BUDGET_NUMBER",
19
+ PurchaseOrder = "PURCHASE_ORDER",
20
+ Credit = "CREDIT"
21
+ }
22
+ export declare function BillingMethodFromJSON(json: any): BillingMethod;
23
+ export declare function BillingMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMethod;
24
+ export declare function BillingMethodToJSON(value?: BillingMethod | null): any;
@@ -1,39 +1,39 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BillingMethodToJSON = exports.BillingMethodFromJSONTyped = exports.BillingMethodFromJSON = exports.BillingMethod = void 0;
17
- /**
18
- *
19
- * @export
20
- * @enum {string}
21
- */
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 = {}));
28
- function BillingMethodFromJSON(json) {
29
- return BillingMethodFromJSONTyped(json, false);
30
- }
31
- exports.BillingMethodFromJSON = BillingMethodFromJSON;
32
- function BillingMethodFromJSONTyped(json, ignoreDiscriminator) {
33
- return json;
34
- }
35
- exports.BillingMethodFromJSONTyped = BillingMethodFromJSONTyped;
36
- function BillingMethodToJSON(value) {
37
- return value;
38
- }
39
- exports.BillingMethodToJSON = BillingMethodToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.BillingMethodToJSON = exports.BillingMethodFromJSONTyped = exports.BillingMethodFromJSON = exports.BillingMethod = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
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 = {}));
28
+ function BillingMethodFromJSON(json) {
29
+ return BillingMethodFromJSONTyped(json, false);
30
+ }
31
+ exports.BillingMethodFromJSON = BillingMethodFromJSON;
32
+ function BillingMethodFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ exports.BillingMethodFromJSONTyped = BillingMethodFromJSONTyped;
36
+ function BillingMethodToJSON(value) {
37
+ return value;
38
+ }
39
+ exports.BillingMethodToJSON = BillingMethodToJSON;
@@ -1,24 +1,24 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Time period associated with the budget amount
14
- * @export
15
- * @enum {string}
16
- */
17
- export declare enum BudgetPeriod {
18
- Annually = "ANNUALLY",
19
- Quarterly = "QUARTERLY",
20
- Monthly = "MONTHLY"
21
- }
22
- export declare function BudgetPeriodFromJSON(json: any): BudgetPeriod;
23
- export declare function BudgetPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetPeriod;
24
- export declare function BudgetPeriodToJSON(value?: BudgetPeriod | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Time period associated with the budget amount
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum BudgetPeriod {
18
+ Annually = "ANNUALLY",
19
+ Quarterly = "QUARTERLY",
20
+ Monthly = "MONTHLY"
21
+ }
22
+ export declare function BudgetPeriodFromJSON(json: any): BudgetPeriod;
23
+ export declare function BudgetPeriodFromJSONTyped(json: any, ignoreDiscriminator: boolean): BudgetPeriod;
24
+ export declare function BudgetPeriodToJSON(value?: BudgetPeriod | null): any;
@@ -1,39 +1,39 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Cirro Data
6
- * Cirro Data Platform service API
7
- *
8
- * The version of the OpenAPI document: latest
9
- * Contact: support@cirro.bio
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BudgetPeriodToJSON = exports.BudgetPeriodFromJSONTyped = exports.BudgetPeriodFromJSON = exports.BudgetPeriod = void 0;
17
- /**
18
- * Time period associated with the budget amount
19
- * @export
20
- * @enum {string}
21
- */
22
- var BudgetPeriod;
23
- (function (BudgetPeriod) {
24
- BudgetPeriod["Annually"] = "ANNUALLY";
25
- BudgetPeriod["Quarterly"] = "QUARTERLY";
26
- BudgetPeriod["Monthly"] = "MONTHLY";
27
- })(BudgetPeriod = exports.BudgetPeriod || (exports.BudgetPeriod = {}));
28
- function BudgetPeriodFromJSON(json) {
29
- return BudgetPeriodFromJSONTyped(json, false);
30
- }
31
- exports.BudgetPeriodFromJSON = BudgetPeriodFromJSON;
32
- function BudgetPeriodFromJSONTyped(json, ignoreDiscriminator) {
33
- return json;
34
- }
35
- exports.BudgetPeriodFromJSONTyped = BudgetPeriodFromJSONTyped;
36
- function BudgetPeriodToJSON(value) {
37
- return value;
38
- }
39
- exports.BudgetPeriodToJSON = BudgetPeriodToJSON;
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Cirro Data
6
+ * Cirro Data Platform service API
7
+ *
8
+ * The version of the OpenAPI document: latest
9
+ * Contact: support@cirro.bio
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.BudgetPeriodToJSON = exports.BudgetPeriodFromJSONTyped = exports.BudgetPeriodFromJSON = exports.BudgetPeriod = void 0;
17
+ /**
18
+ * Time period associated with the budget amount
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var BudgetPeriod;
23
+ (function (BudgetPeriod) {
24
+ BudgetPeriod["Annually"] = "ANNUALLY";
25
+ BudgetPeriod["Quarterly"] = "QUARTERLY";
26
+ BudgetPeriod["Monthly"] = "MONTHLY";
27
+ })(BudgetPeriod = exports.BudgetPeriod || (exports.BudgetPeriod = {}));
28
+ function BudgetPeriodFromJSON(json) {
29
+ return BudgetPeriodFromJSONTyped(json, false);
30
+ }
31
+ exports.BudgetPeriodFromJSON = BudgetPeriodFromJSON;
32
+ function BudgetPeriodFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ exports.BudgetPeriodFromJSONTyped = BudgetPeriodFromJSONTyped;
36
+ function BudgetPeriodToJSON(value) {
37
+ return value;
38
+ }
39
+ exports.BudgetPeriodToJSON = BudgetPeriodToJSON;
@@ -1,50 +1,50 @@
1
- /**
2
- * Cirro Data
3
- * Cirro Data Platform service API
4
- *
5
- * The version of the OpenAPI document: latest
6
- * Contact: support@cirro.bio
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CloudAccountType } from './CloudAccountType';
13
- /**
14
- *
15
- * @export
16
- * @interface CloudAccount
17
- */
18
- export interface CloudAccount {
19
- /**
20
- * AWS Account ID
21
- * @type {string}
22
- * @memberof CloudAccount
23
- */
24
- accountId?: string;
25
- /**
26
- * Name used to describe the account, useful when the account hosts multiple projects
27
- * @type {string}
28
- * @memberof CloudAccount
29
- */
30
- accountName?: string;
31
- /**
32
- * AWS Region Code (defaults to region of Cirro app)
33
- * @type {string}
34
- * @memberof CloudAccount
35
- */
36
- regionName?: string;
37
- /**
38
- *
39
- * @type {CloudAccountType}
40
- * @memberof CloudAccount
41
- */
42
- accountType: CloudAccountType;
43
- }
44
- /**
45
- * Check if a given object implements the CloudAccount interface.
46
- */
47
- export declare function instanceOfCloudAccount(value: object): boolean;
48
- export declare function CloudAccountFromJSON(json: any): CloudAccount;
49
- export declare function CloudAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudAccount;
50
- export declare function CloudAccountToJSON(value?: CloudAccount | null): any;
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CloudAccountType } from './CloudAccountType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CloudAccount
17
+ */
18
+ export interface CloudAccount {
19
+ /**
20
+ * AWS Account ID
21
+ * @type {string}
22
+ * @memberof CloudAccount
23
+ */
24
+ accountId?: string;
25
+ /**
26
+ * Name used to describe the account, useful when the account hosts multiple projects
27
+ * @type {string}
28
+ * @memberof CloudAccount
29
+ */
30
+ accountName?: string;
31
+ /**
32
+ * AWS Region Code (defaults to region of Cirro app)
33
+ * @type {string}
34
+ * @memberof CloudAccount
35
+ */
36
+ regionName?: string;
37
+ /**
38
+ *
39
+ * @type {CloudAccountType}
40
+ * @memberof CloudAccount
41
+ */
42
+ accountType: CloudAccountType;
43
+ }
44
+ /**
45
+ * Check if a given object implements the CloudAccount interface.
46
+ */
47
+ export declare function instanceOfCloudAccount(value: object): boolean;
48
+ export declare function CloudAccountFromJSON(json: any): CloudAccount;
49
+ export declare function CloudAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudAccount;
50
+ export declare function CloudAccountToJSON(value?: CloudAccount | null): any;