@nikolaymatrosov/sourcecraft-sdk 0.0.2 → 0.1.4

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 (235) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -0
  3. package/dist/apis/CIApi.d.ts +25 -11
  4. package/dist/apis/CIApi.d.ts.map +1 -1
  5. package/dist/apis/CIApi.js +10 -12
  6. package/dist/apis/CIApi.js.map +1 -1
  7. package/dist/apis/CICDApi.d.ts +267 -0
  8. package/dist/apis/CICDApi.d.ts.map +1 -0
  9. package/dist/apis/CICDApi.js +415 -0
  10. package/dist/apis/CICDApi.js.map +1 -0
  11. package/dist/apis/OrganizationInvitesApi.d.ts +145 -0
  12. package/dist/apis/OrganizationInvitesApi.d.ts.map +1 -0
  13. package/dist/apis/OrganizationInvitesApi.js +222 -0
  14. package/dist/apis/OrganizationInvitesApi.js.map +1 -0
  15. package/dist/apis/OrganizationOperationApi.d.ts +81 -0
  16. package/dist/apis/OrganizationOperationApi.d.ts.map +1 -0
  17. package/dist/apis/OrganizationOperationApi.js +135 -0
  18. package/dist/apis/OrganizationOperationApi.js.map +1 -0
  19. package/dist/apis/ReleaseAttachmentsApi.d.ts +91 -0
  20. package/dist/apis/ReleaseAttachmentsApi.d.ts.map +1 -0
  21. package/dist/apis/ReleaseAttachmentsApi.js +182 -0
  22. package/dist/apis/ReleaseAttachmentsApi.js.map +1 -0
  23. package/dist/apis/RepositoryReleasesApi.d.ts +379 -0
  24. package/dist/apis/RepositoryReleasesApi.d.ts.map +1 -0
  25. package/dist/apis/RepositoryReleasesApi.js +548 -0
  26. package/dist/apis/RepositoryReleasesApi.js.map +1 -0
  27. package/dist/apis/UserApi.d.ts +71 -0
  28. package/dist/apis/UserApi.d.ts.map +1 -0
  29. package/dist/apis/UserApi.js +126 -0
  30. package/dist/apis/UserApi.js.map +1 -0
  31. package/dist/models/Artifact.d.ts +61 -0
  32. package/dist/models/Artifact.d.ts.map +1 -0
  33. package/dist/models/Artifact.js +59 -0
  34. package/dist/models/Artifact.js.map +1 -0
  35. package/dist/models/ArtifactDates.d.ts +45 -0
  36. package/dist/models/ArtifactDates.d.ts.map +1 -0
  37. package/dist/models/ArtifactDates.js +55 -0
  38. package/dist/models/ArtifactDates.js.map +1 -0
  39. package/dist/models/ArtifactStatus.d.ts +28 -0
  40. package/dist/models/ArtifactStatus.d.ts.map +1 -0
  41. package/dist/models/ArtifactStatus.js +54 -0
  42. package/dist/models/ArtifactStatus.js.map +1 -0
  43. package/dist/models/Commit.d.ts +31 -0
  44. package/dist/models/Commit.d.ts.map +1 -1
  45. package/dist/models/Commit.js +11 -0
  46. package/dist/models/Commit.js.map +1 -1
  47. package/dist/models/CreateInvitesOperation.d.ts +66 -0
  48. package/dist/models/CreateInvitesOperation.d.ts.map +1 -0
  49. package/dist/models/CreateInvitesOperation.js +64 -0
  50. package/dist/models/CreateInvitesOperation.js.map +1 -0
  51. package/dist/models/CreateInvitesOperationResult.d.ts +41 -0
  52. package/dist/models/CreateInvitesOperationResult.d.ts.map +1 -0
  53. package/dist/models/CreateInvitesOperationResult.js +61 -0
  54. package/dist/models/CreateInvitesOperationResult.js.map +1 -0
  55. package/dist/models/CreateOrganizationInvitesBody.d.ts +40 -0
  56. package/dist/models/CreateOrganizationInvitesBody.d.ts.map +1 -0
  57. package/dist/models/CreateOrganizationInvitesBody.js +56 -0
  58. package/dist/models/CreateOrganizationInvitesBody.js.map +1 -0
  59. package/dist/models/CreateOrganizationInvitesResponse.d.ts +39 -0
  60. package/dist/models/CreateOrganizationInvitesResponse.d.ts.map +1 -0
  61. package/dist/models/CreateOrganizationInvitesResponse.js +51 -0
  62. package/dist/models/CreateOrganizationInvitesResponse.js.map +1 -0
  63. package/dist/models/CreateReleaseBody.d.ts +57 -0
  64. package/dist/models/CreateReleaseBody.d.ts.map +1 -0
  65. package/dist/models/CreateReleaseBody.js +57 -0
  66. package/dist/models/CreateReleaseBody.js.map +1 -0
  67. package/dist/models/Cube.d.ts +67 -0
  68. package/dist/models/Cube.d.ts.map +1 -0
  69. package/dist/models/Cube.js +67 -0
  70. package/dist/models/Cube.js.map +1 -0
  71. package/dist/models/DatesByStage.d.ts +51 -0
  72. package/dist/models/DatesByStage.d.ts.map +1 -0
  73. package/dist/models/DatesByStage.js +55 -0
  74. package/dist/models/DatesByStage.js.map +1 -0
  75. package/dist/models/Dependency.d.ts +33 -0
  76. package/dist/models/Dependency.d.ts.map +1 -0
  77. package/dist/models/Dependency.js +49 -0
  78. package/dist/models/Dependency.js.map +1 -0
  79. package/dist/models/EventHeader.d.ts +71 -0
  80. package/dist/models/EventHeader.d.ts.map +1 -0
  81. package/dist/models/EventHeader.js +61 -0
  82. package/dist/models/EventHeader.js.map +1 -0
  83. package/dist/models/EventType.d.ts +28 -0
  84. package/dist/models/EventType.d.ts.map +1 -0
  85. package/dist/models/EventType.js +54 -0
  86. package/dist/models/EventType.js.map +1 -0
  87. package/dist/models/GetCubeArtifactsResponse.d.ts +35 -0
  88. package/dist/models/GetCubeArtifactsResponse.d.ts.map +1 -0
  89. package/dist/models/GetCubeArtifactsResponse.js +54 -0
  90. package/dist/models/GetCubeArtifactsResponse.js.map +1 -0
  91. package/dist/models/GetCubeLogsResponse.d.ts +46 -0
  92. package/dist/models/GetCubeLogsResponse.d.ts.map +1 -0
  93. package/dist/models/GetCubeLogsResponse.js +53 -0
  94. package/dist/models/GetCubeLogsResponse.js.map +1 -0
  95. package/dist/models/GitRevision.d.ts +45 -0
  96. package/dist/models/GitRevision.d.ts.map +1 -0
  97. package/dist/models/GitRevision.js +53 -0
  98. package/dist/models/GitRevision.js.map +1 -0
  99. package/dist/models/Invite.d.ts +65 -0
  100. package/dist/models/Invite.d.ts.map +1 -0
  101. package/dist/models/Invite.js +61 -0
  102. package/dist/models/Invite.js.map +1 -0
  103. package/dist/models/InviteError.d.ts +46 -0
  104. package/dist/models/InviteError.d.ts.map +1 -0
  105. package/dist/models/InviteError.js +54 -0
  106. package/dist/models/InviteError.js.map +1 -0
  107. package/dist/models/InviteStatus.d.ts +28 -0
  108. package/dist/models/InviteStatus.d.ts.map +1 -0
  109. package/dist/models/InviteStatus.js +54 -0
  110. package/dist/models/InviteStatus.js.map +1 -0
  111. package/dist/models/InviteeInput.d.ts +39 -0
  112. package/dist/models/InviteeInput.d.ts.map +1 -0
  113. package/dist/models/InviteeInput.js +51 -0
  114. package/dist/models/InviteeInput.js.map +1 -0
  115. package/dist/models/ListOrganizationInvitesResponse.d.ts +41 -0
  116. package/dist/models/ListOrganizationInvitesResponse.d.ts.map +1 -0
  117. package/dist/models/ListOrganizationInvitesResponse.js +56 -0
  118. package/dist/models/ListOrganizationInvitesResponse.js.map +1 -0
  119. package/dist/models/ListReleasesResponse.d.ts +41 -0
  120. package/dist/models/ListReleasesResponse.d.ts.map +1 -0
  121. package/dist/models/ListReleasesResponse.js +56 -0
  122. package/dist/models/ListReleasesResponse.js.map +1 -0
  123. package/dist/models/ListRunsResponse.d.ts +41 -0
  124. package/dist/models/ListRunsResponse.d.ts.map +1 -0
  125. package/dist/models/ListRunsResponse.js +52 -0
  126. package/dist/models/ListRunsResponse.js.map +1 -0
  127. package/dist/models/OperationError.d.ts +47 -0
  128. package/dist/models/OperationError.d.ts.map +1 -0
  129. package/dist/models/OperationError.js +53 -0
  130. package/dist/models/OperationError.js.map +1 -0
  131. package/dist/models/OperationStatus.d.ts +29 -0
  132. package/dist/models/OperationStatus.d.ts.map +1 -0
  133. package/dist/models/OperationStatus.js +55 -0
  134. package/dist/models/OperationStatus.js.map +1 -0
  135. package/dist/models/Ping.d.ts +53 -0
  136. package/dist/models/Ping.d.ts.map +1 -0
  137. package/dist/models/Ping.js +57 -0
  138. package/dist/models/Ping.js.map +1 -0
  139. package/dist/models/ProfileStatus.d.ts +39 -0
  140. package/dist/models/ProfileStatus.d.ts.map +1 -0
  141. package/dist/models/ProfileStatus.js +51 -0
  142. package/dist/models/ProfileStatus.js.map +1 -0
  143. package/dist/models/ProfileVisibility.d.ts +26 -0
  144. package/dist/models/ProfileVisibility.d.ts.map +1 -0
  145. package/dist/models/ProfileVisibility.js +52 -0
  146. package/dist/models/ProfileVisibility.js.map +1 -0
  147. package/dist/models/Progress.d.ts +40 -0
  148. package/dist/models/Progress.d.ts.map +1 -0
  149. package/dist/models/Progress.js +52 -0
  150. package/dist/models/Progress.js.map +1 -0
  151. package/dist/models/Push.d.ts +88 -0
  152. package/dist/models/Push.d.ts.map +1 -0
  153. package/dist/models/Push.js +76 -0
  154. package/dist/models/Push.js.map +1 -0
  155. package/dist/models/RefUpdate.d.ts +58 -0
  156. package/dist/models/RefUpdate.d.ts.map +1 -0
  157. package/dist/models/RefUpdate.js +58 -0
  158. package/dist/models/RefUpdate.js.map +1 -0
  159. package/dist/models/RefUpdateOperation.d.ts +27 -0
  160. package/dist/models/RefUpdateOperation.d.ts.map +1 -0
  161. package/dist/models/RefUpdateOperation.js +53 -0
  162. package/dist/models/RefUpdateOperation.js.map +1 -0
  163. package/dist/models/RefsUpdate.d.ts +73 -0
  164. package/dist/models/RefsUpdate.d.ts.map +1 -0
  165. package/dist/models/RefsUpdate.js +71 -0
  166. package/dist/models/RefsUpdate.js.map +1 -0
  167. package/dist/models/Relations.d.ts +34 -0
  168. package/dist/models/Relations.d.ts.map +1 -0
  169. package/dist/models/Relations.js +54 -0
  170. package/dist/models/Relations.js.map +1 -0
  171. package/dist/models/Release.d.ts +114 -0
  172. package/dist/models/Release.d.ts.map +1 -0
  173. package/dist/models/Release.js +82 -0
  174. package/dist/models/Release.js.map +1 -0
  175. package/dist/models/ReleaseAsset.d.ts +52 -0
  176. package/dist/models/ReleaseAsset.d.ts.map +1 -0
  177. package/dist/models/ReleaseAsset.js +56 -0
  178. package/dist/models/ReleaseAsset.js.map +1 -0
  179. package/dist/models/ReleaseStatus.d.ts +27 -0
  180. package/dist/models/ReleaseStatus.d.ts.map +1 -0
  181. package/dist/models/ReleaseStatus.js +53 -0
  182. package/dist/models/ReleaseStatus.js.map +1 -0
  183. package/dist/models/Run.d.ts +94 -0
  184. package/dist/models/Run.d.ts.map +1 -0
  185. package/dist/models/Run.js +75 -0
  186. package/dist/models/Run.js.map +1 -0
  187. package/dist/models/RunCIWorkflowResponse.d.ts +6 -0
  188. package/dist/models/RunCIWorkflowResponse.d.ts.map +1 -1
  189. package/dist/models/RunCIWorkflowResponse.js +2 -0
  190. package/dist/models/RunCIWorkflowResponse.js.map +1 -1
  191. package/dist/models/RunStatus.d.ts +32 -0
  192. package/dist/models/RunStatus.d.ts.map +1 -0
  193. package/dist/models/RunStatus.js +58 -0
  194. package/dist/models/RunStatus.js.map +1 -0
  195. package/dist/models/RunWorkflowsBody.d.ts +54 -0
  196. package/dist/models/RunWorkflowsBody.d.ts.map +1 -0
  197. package/dist/models/RunWorkflowsBody.js +63 -0
  198. package/dist/models/RunWorkflowsBody.js.map +1 -0
  199. package/dist/models/Signature.d.ts +45 -0
  200. package/dist/models/Signature.d.ts.map +1 -0
  201. package/dist/models/Signature.js +53 -0
  202. package/dist/models/Signature.js.map +1 -0
  203. package/dist/models/Task.d.ts +80 -0
  204. package/dist/models/Task.d.ts.map +1 -0
  205. package/dist/models/Task.js +68 -0
  206. package/dist/models/Task.js.map +1 -0
  207. package/dist/models/Timezone.d.ts +33 -0
  208. package/dist/models/Timezone.d.ts.map +1 -0
  209. package/dist/models/Timezone.js +49 -0
  210. package/dist/models/Timezone.js.map +1 -0
  211. package/dist/models/UserProfile.d.ts +106 -0
  212. package/dist/models/UserProfile.d.ts.map +1 -0
  213. package/dist/models/UserProfile.js +78 -0
  214. package/dist/models/UserProfile.js.map +1 -0
  215. package/dist/models/V1Location.d.ts +39 -0
  216. package/dist/models/V1Location.d.ts.map +1 -0
  217. package/dist/models/V1Location.js +51 -0
  218. package/dist/models/V1Location.js.map +1 -0
  219. package/dist/models/Workflow.d.ts +73 -0
  220. package/dist/models/Workflow.d.ts.map +1 -0
  221. package/dist/models/Workflow.js +65 -0
  222. package/dist/models/Workflow.js.map +1 -0
  223. package/dist/models/WorkflowData.d.ts +40 -0
  224. package/dist/models/WorkflowData.d.ts.map +1 -0
  225. package/dist/models/WorkflowData.js +56 -0
  226. package/dist/models/WorkflowData.js.map +1 -0
  227. package/dist/models/Workplace.d.ts +39 -0
  228. package/dist/models/Workplace.d.ts.map +1 -0
  229. package/dist/models/Workplace.js +51 -0
  230. package/dist/models/Workplace.js.map +1 -0
  231. package/dist/models/index.d.ts +48 -0
  232. package/dist/models/index.d.ts.map +1 -1
  233. package/dist/models/index.js +48 -0
  234. package/dist/models/index.js.map +1 -1
  235. package/package.json +5 -3
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCreateInvitesOperation = instanceOfCreateInvitesOperation;
17
+ exports.CreateInvitesOperationFromJSON = CreateInvitesOperationFromJSON;
18
+ exports.CreateInvitesOperationFromJSONTyped = CreateInvitesOperationFromJSONTyped;
19
+ exports.CreateInvitesOperationToJSON = CreateInvitesOperationToJSON;
20
+ exports.CreateInvitesOperationToJSONTyped = CreateInvitesOperationToJSONTyped;
21
+ const OperationStatus_1 = require("./OperationStatus");
22
+ const CreateInvitesOperationResult_1 = require("./CreateInvitesOperationResult");
23
+ const OperationError_1 = require("./OperationError");
24
+ /**
25
+ * Check if a given object implements the CreateInvitesOperation interface.
26
+ */
27
+ function instanceOfCreateInvitesOperation(value) {
28
+ return true;
29
+ }
30
+ function CreateInvitesOperationFromJSON(json) {
31
+ return CreateInvitesOperationFromJSONTyped(json, false);
32
+ }
33
+ function CreateInvitesOperationFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ createdAt: json["created_at"] == null ? undefined : new Date(json["created_at"]),
39
+ error: json["error"] == null ? undefined : (0, OperationError_1.OperationErrorFromJSON)(json["error"]),
40
+ id: json["id"] == null ? undefined : json["id"],
41
+ modifiedAt: json["modified_at"] == null ? undefined : new Date(json["modified_at"]),
42
+ response: json["response"] == null
43
+ ? undefined
44
+ : (0, CreateInvitesOperationResult_1.CreateInvitesOperationResultFromJSON)(json["response"]),
45
+ status: json["status"] == null ? undefined : (0, OperationStatus_1.OperationStatusFromJSON)(json["status"]),
46
+ };
47
+ }
48
+ function CreateInvitesOperationToJSON(json) {
49
+ return CreateInvitesOperationToJSONTyped(json, false);
50
+ }
51
+ function CreateInvitesOperationToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ created_at: value["createdAt"] == null ? value["createdAt"] : value["createdAt"].toISOString(),
57
+ error: (0, OperationError_1.OperationErrorToJSON)(value["error"]),
58
+ id: value["id"],
59
+ modified_at: value["modifiedAt"] == null ? value["modifiedAt"] : value["modifiedAt"].toISOString(),
60
+ response: (0, CreateInvitesOperationResult_1.CreateInvitesOperationResultToJSON)(value["response"]),
61
+ status: (0, OperationStatus_1.OperationStatusToJSON)(value["status"]),
62
+ };
63
+ }
64
+ //# sourceMappingURL=CreateInvitesOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInvitesOperation.js","sourceRoot":"","sources":["../../src/models/CreateInvitesOperation.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAwEH,4EAEC;AAED,wEAEC;AAED,kFAkBC;AAED,oEAEC;AAED,8EAkBC;AAtHD,uDAK2B;AAE3B,iFAKwC;AAExC,qDAK0B;AA8C1B;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAC/C,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAChF,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,uCAAsB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChF,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC/C,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACnF,QAAQ,EACJ,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI;YACpB,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,IAAA,mEAAoC,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAChE,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,yCAAuB,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAC7C,KAAqC,EACrC,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,UAAU,EACN,KAAK,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE;QACtF,KAAK,EAAE,IAAA,qCAAoB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC3C,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC;QACf,WAAW,EACP,KAAK,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QACzF,QAAQ,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC/D,MAAM,EAAE,IAAA,uCAAqB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACjD,CAAC;AACN,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * SourceCraft API
3
+ * Bleeding edge of Public REST API of SourceCraft
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: info@sourcecraft.dev
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 { InviteError } from "./InviteError";
13
+ import type { Invite } from "./Invite";
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateInvitesOperationResult
18
+ */
19
+ export interface CreateInvitesOperationResult {
20
+ /**
21
+ * Per-invite errors. Each error identifies which invitee failed and why.
22
+ * @type {Array<InviteError>}
23
+ * @memberof CreateInvitesOperationResult
24
+ */
25
+ errors?: Array<InviteError>;
26
+ /**
27
+ * Invites that were successfully created and are waiting for acceptance.
28
+ * @type {Array<Invite>}
29
+ * @memberof CreateInvitesOperationResult
30
+ */
31
+ invites?: Array<Invite>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the CreateInvitesOperationResult interface.
35
+ */
36
+ export declare function instanceOfCreateInvitesOperationResult(value: object): value is CreateInvitesOperationResult;
37
+ export declare function CreateInvitesOperationResultFromJSON(json: any): CreateInvitesOperationResult;
38
+ export declare function CreateInvitesOperationResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateInvitesOperationResult;
39
+ export declare function CreateInvitesOperationResultToJSON(json: any): CreateInvitesOperationResult;
40
+ export declare function CreateInvitesOperationResultToJSONTyped(value?: CreateInvitesOperationResult | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=CreateInvitesOperationResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInvitesOperationResult.d.ts","sourceRoot":"","sources":["../../src/models/CreateInvitesOperationResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAClD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,4BAA4B,CAEvC;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CACrD,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,4BAA4B,CAc9B;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CACnD,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAC3C,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAeL"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCreateInvitesOperationResult = instanceOfCreateInvitesOperationResult;
17
+ exports.CreateInvitesOperationResultFromJSON = CreateInvitesOperationResultFromJSON;
18
+ exports.CreateInvitesOperationResultFromJSONTyped = CreateInvitesOperationResultFromJSONTyped;
19
+ exports.CreateInvitesOperationResultToJSON = CreateInvitesOperationResultToJSON;
20
+ exports.CreateInvitesOperationResultToJSONTyped = CreateInvitesOperationResultToJSONTyped;
21
+ const InviteError_1 = require("./InviteError");
22
+ const Invite_1 = require("./Invite");
23
+ /**
24
+ * Check if a given object implements the CreateInvitesOperationResult interface.
25
+ */
26
+ function instanceOfCreateInvitesOperationResult(value) {
27
+ return true;
28
+ }
29
+ function CreateInvitesOperationResultFromJSON(json) {
30
+ return CreateInvitesOperationResultFromJSONTyped(json, false);
31
+ }
32
+ function CreateInvitesOperationResultFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ errors: json["errors"] == null
38
+ ? undefined
39
+ : json["errors"].map(InviteError_1.InviteErrorFromJSON),
40
+ invites: json["invites"] == null
41
+ ? undefined
42
+ : json["invites"].map(Invite_1.InviteFromJSON),
43
+ };
44
+ }
45
+ function CreateInvitesOperationResultToJSON(json) {
46
+ return CreateInvitesOperationResultToJSONTyped(json, false);
47
+ }
48
+ function CreateInvitesOperationResultToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ errors: value["errors"] == null
54
+ ? undefined
55
+ : value["errors"].map(InviteError_1.InviteErrorToJSON),
56
+ invites: value["invites"] == null
57
+ ? undefined
58
+ : value["invites"].map(Invite_1.InviteToJSON),
59
+ };
60
+ }
61
+ //# sourceMappingURL=CreateInvitesOperationResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateInvitesOperationResult.js","sourceRoot":"","sources":["../../src/models/CreateInvitesOperationResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoCH,wFAIC;AAED,oFAEC;AAED,8FAiBC;AAED,gFAEC;AAED,0FAkBC;AAnFD,+CAKuB;AAEvB,qCAAgG;AAsBhG;;GAEG;AACH,SAAgB,sCAAsC,CAClD,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CACrD,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,MAAM,EACF,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI;YAClB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,IAAI,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,iCAAmB,CAAC;QACjE,OAAO,EACH,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI;YACnB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,uBAAc,CAAC;KAChE,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CACnD,KAA2C,EAC3C,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,MAAM,EACF,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI;YACnB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAgB,CAAC,GAAG,CAAC,+BAAiB,CAAC;QAChE,OAAO,EACH,KAAK,CAAC,SAAS,CAAC,IAAI,IAAI;YACpB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,KAAK,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,qBAAY,CAAC;KAC/D,CAAC;AACN,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * SourceCraft API
3
+ * Bleeding edge of Public REST API of SourceCraft
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: info@sourcecraft.dev
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 { InviteeInput } from "./InviteeInput";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateOrganizationInvitesBody
17
+ */
18
+ export interface CreateOrganizationInvitesBody {
19
+ /**
20
+ *
21
+ * @type {Array<InviteeInput>}
22
+ * @memberof CreateOrganizationInvitesBody
23
+ */
24
+ invitees?: Array<InviteeInput>;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof CreateOrganizationInvitesBody
29
+ */
30
+ ttlInDays?: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the CreateOrganizationInvitesBody interface.
34
+ */
35
+ export declare function instanceOfCreateOrganizationInvitesBody(value: object): value is CreateOrganizationInvitesBody;
36
+ export declare function CreateOrganizationInvitesBodyFromJSON(json: any): CreateOrganizationInvitesBody;
37
+ export declare function CreateOrganizationInvitesBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrganizationInvitesBody;
38
+ export declare function CreateOrganizationInvitesBodyToJSON(json: any): CreateOrganizationInvitesBody;
39
+ export declare function CreateOrganizationInvitesBodyToJSONTyped(value?: CreateOrganizationInvitesBody | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=CreateOrganizationInvitesBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateOrganizationInvitesBody.d.ts","sourceRoot":"","sources":["../../src/models/CreateOrganizationInvitesBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQnD;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC/B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CACnD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,6BAA6B,CAExC;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CACtD,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,6BAA6B,CAW/B;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CACpD,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAC5C,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAYL"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCreateOrganizationInvitesBody = instanceOfCreateOrganizationInvitesBody;
17
+ exports.CreateOrganizationInvitesBodyFromJSON = CreateOrganizationInvitesBodyFromJSON;
18
+ exports.CreateOrganizationInvitesBodyFromJSONTyped = CreateOrganizationInvitesBodyFromJSONTyped;
19
+ exports.CreateOrganizationInvitesBodyToJSON = CreateOrganizationInvitesBodyToJSON;
20
+ exports.CreateOrganizationInvitesBodyToJSONTyped = CreateOrganizationInvitesBodyToJSONTyped;
21
+ const InviteeInput_1 = require("./InviteeInput");
22
+ /**
23
+ * Check if a given object implements the CreateOrganizationInvitesBody interface.
24
+ */
25
+ function instanceOfCreateOrganizationInvitesBody(value) {
26
+ return true;
27
+ }
28
+ function CreateOrganizationInvitesBodyFromJSON(json) {
29
+ return CreateOrganizationInvitesBodyFromJSONTyped(json, false);
30
+ }
31
+ function CreateOrganizationInvitesBodyFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ invitees: json["invitees"] == null
37
+ ? undefined
38
+ : json["invitees"].map(InviteeInput_1.InviteeInputFromJSON),
39
+ ttlInDays: json["ttl_in_days"] == null ? undefined : json["ttl_in_days"],
40
+ };
41
+ }
42
+ function CreateOrganizationInvitesBodyToJSON(json) {
43
+ return CreateOrganizationInvitesBodyToJSONTyped(json, false);
44
+ }
45
+ function CreateOrganizationInvitesBodyToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ invitees: value["invitees"] == null
51
+ ? undefined
52
+ : value["invitees"].map(InviteeInput_1.InviteeInputToJSON),
53
+ ttl_in_days: value["ttlInDays"],
54
+ };
55
+ }
56
+ //# sourceMappingURL=CreateOrganizationInvitesBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateOrganizationInvitesBody.js","sourceRoot":"","sources":["../../src/models/CreateOrganizationInvitesBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkCH,0FAIC;AAED,sFAEC;AAED,gGAcC;AAED,kFAEC;AAED,4FAeC;AA3ED,iDAKwB;AAsBxB;;GAEG;AACH,SAAgB,uCAAuC,CACnD,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0CAA0C,CACtD,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,QAAQ,EACJ,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI;YACpB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,mCAAoB,CAAC;QACpE,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;KAC3E,CAAC;AACN,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CACpD,KAA4C,EAC5C,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,QAAQ,EACJ,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI;YACrB,CAAC,CAAC,SAAS;YACX,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,iCAAkB,CAAC;QACnE,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * SourceCraft API
3
+ * Bleeding edge of Public REST API of SourceCraft
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: info@sourcecraft.dev
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
+ * @interface CreateOrganizationInvitesResponse
16
+ */
17
+ export interface CreateOrganizationInvitesResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateOrganizationInvitesResponse
22
+ */
23
+ operationId?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateOrganizationInvitesResponse
28
+ */
29
+ statusUrl?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the CreateOrganizationInvitesResponse interface.
33
+ */
34
+ export declare function instanceOfCreateOrganizationInvitesResponse(value: object): value is CreateOrganizationInvitesResponse;
35
+ export declare function CreateOrganizationInvitesResponseFromJSON(json: any): CreateOrganizationInvitesResponse;
36
+ export declare function CreateOrganizationInvitesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrganizationInvitesResponse;
37
+ export declare function CreateOrganizationInvitesResponseToJSON(json: any): CreateOrganizationInvitesResponse;
38
+ export declare function CreateOrganizationInvitesResponseToJSONTyped(value?: CreateOrganizationInvitesResponse | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=CreateOrganizationInvitesResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateOrganizationInvitesResponse.d.ts","sourceRoot":"","sources":["../../src/models/CreateOrganizationInvitesResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2CAA2C,CACvD,KAAK,EAAE,MAAM,GACd,KAAK,IAAI,iCAAiC,CAE5C;AAED,wBAAgB,yCAAyC,CACrD,IAAI,EAAE,GAAG,GACV,iCAAiC,CAEnC;AAED,wBAAgB,8CAA8C,CAC1D,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,iCAAiC,CAQnC;AAED,wBAAgB,uCAAuC,CACnD,IAAI,EAAE,GAAG,GACV,iCAAiC,CAEnC;AAED,wBAAgB,4CAA4C,CACxD,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAChD,mBAAmB,GAAE,OAAe,GACrC,GAAG,CASL"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCreateOrganizationInvitesResponse = instanceOfCreateOrganizationInvitesResponse;
17
+ exports.CreateOrganizationInvitesResponseFromJSON = CreateOrganizationInvitesResponseFromJSON;
18
+ exports.CreateOrganizationInvitesResponseFromJSONTyped = CreateOrganizationInvitesResponseFromJSONTyped;
19
+ exports.CreateOrganizationInvitesResponseToJSON = CreateOrganizationInvitesResponseToJSON;
20
+ exports.CreateOrganizationInvitesResponseToJSONTyped = CreateOrganizationInvitesResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateOrganizationInvitesResponse interface.
23
+ */
24
+ function instanceOfCreateOrganizationInvitesResponse(value) {
25
+ return true;
26
+ }
27
+ function CreateOrganizationInvitesResponseFromJSON(json) {
28
+ return CreateOrganizationInvitesResponseFromJSONTyped(json, false);
29
+ }
30
+ function CreateOrganizationInvitesResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ operationId: json["operation_id"] == null ? undefined : json["operation_id"],
36
+ statusUrl: json["status_url"] == null ? undefined : json["status_url"],
37
+ };
38
+ }
39
+ function CreateOrganizationInvitesResponseToJSON(json) {
40
+ return CreateOrganizationInvitesResponseToJSONTyped(json, false);
41
+ }
42
+ function CreateOrganizationInvitesResponseToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ operation_id: value["operationId"],
48
+ status_url: value["statusUrl"],
49
+ };
50
+ }
51
+ //# sourceMappingURL=CreateOrganizationInvitesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateOrganizationInvitesResponse.js","sourceRoot":"","sources":["../../src/models/CreateOrganizationInvitesResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,kGAIC;AAED,8FAIC;AAED,wGAWC;AAED,0FAIC;AAED,oGAYC;AA9CD;;GAEG;AACH,SAAgB,2CAA2C,CACvD,KAAa;IAEb,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yCAAyC,CACrD,IAAS;IAET,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAC1D,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC5E,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;KACzE,CAAC;AACN,CAAC;AAED,SAAgB,uCAAuC,CACnD,IAAS;IAET,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,4CAA4C,CACxD,KAAgD,EAChD,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC;QAClC,UAAU,EAAE,KAAK,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * SourceCraft API
3
+ * Bleeding edge of Public REST API of SourceCraft
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: info@sourcecraft.dev
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
+ * @interface CreateReleaseBody
16
+ */
17
+ export interface CreateReleaseBody {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof CreateReleaseBody
22
+ */
23
+ publish?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateReleaseBody
28
+ */
29
+ releaseNotes?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateReleaseBody
34
+ */
35
+ tag?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateReleaseBody
40
+ */
41
+ targetBranch?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CreateReleaseBody
46
+ */
47
+ title?: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the CreateReleaseBody interface.
51
+ */
52
+ export declare function instanceOfCreateReleaseBody(value: object): value is CreateReleaseBody;
53
+ export declare function CreateReleaseBodyFromJSON(json: any): CreateReleaseBody;
54
+ export declare function CreateReleaseBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateReleaseBody;
55
+ export declare function CreateReleaseBodyToJSON(json: any): CreateReleaseBody;
56
+ export declare function CreateReleaseBodyToJSONTyped(value?: CreateReleaseBody | null, ignoreDiscriminator?: boolean): any;
57
+ //# sourceMappingURL=CreateReleaseBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateReleaseBody.d.ts","sourceRoot":"","sources":["../../src/models/CreateReleaseBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAErF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAC1C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC7B,iBAAiB,CAWnB;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CACxC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAChC,mBAAmB,GAAE,OAAe,GACrC,GAAG,CAYL"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCreateReleaseBody = instanceOfCreateReleaseBody;
17
+ exports.CreateReleaseBodyFromJSON = CreateReleaseBodyFromJSON;
18
+ exports.CreateReleaseBodyFromJSONTyped = CreateReleaseBodyFromJSONTyped;
19
+ exports.CreateReleaseBodyToJSON = CreateReleaseBodyToJSON;
20
+ exports.CreateReleaseBodyToJSONTyped = CreateReleaseBodyToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateReleaseBody interface.
23
+ */
24
+ function instanceOfCreateReleaseBody(value) {
25
+ return true;
26
+ }
27
+ function CreateReleaseBodyFromJSON(json) {
28
+ return CreateReleaseBodyFromJSONTyped(json, false);
29
+ }
30
+ function CreateReleaseBodyFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ publish: json["publish"] == null ? undefined : json["publish"],
36
+ releaseNotes: json["release_notes"] == null ? undefined : json["release_notes"],
37
+ tag: json["tag"] == null ? undefined : json["tag"],
38
+ targetBranch: json["target_branch"] == null ? undefined : json["target_branch"],
39
+ title: json["title"] == null ? undefined : json["title"],
40
+ };
41
+ }
42
+ function CreateReleaseBodyToJSON(json) {
43
+ return CreateReleaseBodyToJSONTyped(json, false);
44
+ }
45
+ function CreateReleaseBodyToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ publish: value["publish"],
51
+ release_notes: value["releaseNotes"],
52
+ tag: value["tag"],
53
+ target_branch: value["targetBranch"],
54
+ title: value["title"],
55
+ };
56
+ }
57
+ //# sourceMappingURL=CreateReleaseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateReleaseBody.js","sourceRoot":"","sources":["../../src/models/CreateReleaseBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,kEAEC;AAED,8DAEC;AAED,wEAcC;AAED,0DAEC;AAED,oEAeC;AA9CD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAC1C,IAAS,EACT,mBAA4B;IAE5B,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QACH,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAC9D,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAC/E,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QAClD,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAC/E,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC3D,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CACxC,KAAgC,EAChC,sBAA+B,KAAK;IAEpC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QACH,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;QACzB,aAAa,EAAE,KAAK,CAAC,cAAc,CAAC;QACpC,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC;QACjB,aAAa,EAAE,KAAK,CAAC,cAAc,CAAC;QACpC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC;KACxB,CAAC;AACN,CAAC"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * SourceCraft API
3
+ * Bleeding edge of Public REST API of SourceCraft
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ * Contact: info@sourcecraft.dev
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 { DatesByStage } from "./DatesByStage";
13
+ import type { RunStatus } from "./RunStatus";
14
+ import type { Relations } from "./Relations";
15
+ import type { Artifact } from "./Artifact";
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface Cube
20
+ */
21
+ export interface Cube {
22
+ /**
23
+ *
24
+ * @type {Array<Artifact>}
25
+ * @memberof Cube
26
+ */
27
+ artifacts?: Array<Artifact>;
28
+ /**
29
+ *
30
+ * @type {DatesByStage}
31
+ * @memberof Cube
32
+ */
33
+ dates?: DatesByStage;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Cube
38
+ */
39
+ id?: string;
40
+ /**
41
+ *
42
+ * @type {Relations}
43
+ * @memberof Cube
44
+ */
45
+ relations?: Relations;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Cube
50
+ */
51
+ slug?: string;
52
+ /**
53
+ *
54
+ * @type {RunStatus}
55
+ * @memberof Cube
56
+ */
57
+ status?: RunStatus;
58
+ }
59
+ /**
60
+ * Check if a given object implements the Cube interface.
61
+ */
62
+ export declare function instanceOfCube(value: object): value is Cube;
63
+ export declare function CubeFromJSON(json: any): Cube;
64
+ export declare function CubeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cube;
65
+ export declare function CubeToJSON(json: any): Cube;
66
+ export declare function CubeToJSONTyped(value?: Cube | null, ignoreDiscriminator?: boolean): any;
67
+ //# sourceMappingURL=Cube.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cube.d.ts","sourceRoot":"","sources":["../../src/models/Cube.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAO7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAE3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAe/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgB9F"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SourceCraft API
6
+ * Bleeding edge of Public REST API of SourceCraft
7
+ *
8
+ * The version of the OpenAPI document: 0.0.1
9
+ * Contact: info@sourcecraft.dev
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.instanceOfCube = instanceOfCube;
17
+ exports.CubeFromJSON = CubeFromJSON;
18
+ exports.CubeFromJSONTyped = CubeFromJSONTyped;
19
+ exports.CubeToJSON = CubeToJSON;
20
+ exports.CubeToJSONTyped = CubeToJSONTyped;
21
+ const DatesByStage_1 = require("./DatesByStage");
22
+ const RunStatus_1 = require("./RunStatus");
23
+ const Relations_1 = require("./Relations");
24
+ const Artifact_1 = require("./Artifact");
25
+ /**
26
+ * Check if a given object implements the Cube interface.
27
+ */
28
+ function instanceOfCube(value) {
29
+ return true;
30
+ }
31
+ function CubeFromJSON(json) {
32
+ return CubeFromJSONTyped(json, false);
33
+ }
34
+ function CubeFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ artifacts: json["artifacts"] == null
40
+ ? undefined
41
+ : json["artifacts"].map(Artifact_1.ArtifactFromJSON),
42
+ dates: json["dates"] == null ? undefined : (0, DatesByStage_1.DatesByStageFromJSON)(json["dates"]),
43
+ id: json["id"] == null ? undefined : json["id"],
44
+ relations: json["relations"] == null ? undefined : (0, Relations_1.RelationsFromJSON)(json["relations"]),
45
+ slug: json["slug"] == null ? undefined : json["slug"],
46
+ status: json["status"] == null ? undefined : (0, RunStatus_1.RunStatusFromJSON)(json["status"]),
47
+ };
48
+ }
49
+ function CubeToJSON(json) {
50
+ return CubeToJSONTyped(json, false);
51
+ }
52
+ function CubeToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ artifacts: value["artifacts"] == null
58
+ ? undefined
59
+ : value["artifacts"].map(Artifact_1.ArtifactToJSON),
60
+ dates: (0, DatesByStage_1.DatesByStageToJSON)(value["dates"]),
61
+ id: value["id"],
62
+ relations: (0, Relations_1.RelationsToJSON)(value["relations"]),
63
+ slug: value["slug"],
64
+ status: (0, RunStatus_1.RunStatusToJSON)(value["status"]),
65
+ };
66
+ }
67
+ //# sourceMappingURL=Cube.js.map