@planqk/planqk-api-sdk 1.9.2 → 1.9.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 (167) hide show
  1. package/README-node.md +17 -0
  2. package/README-python.md +17 -0
  3. package/README.md +66 -6
  4. package/package.json +1 -1
  5. package/planqk/api/_version.py +1 -1
  6. package/pyproject.toml +1 -1
  7. package/requirements.txt +264 -199
  8. package/uv.lock +774 -467
  9. package/.gitlab-ci.yml +0 -110
  10. package/dist/index.d.ts +0 -1
  11. package/dist/index.js +0 -17
  12. package/dist/sdk/Client.d.ts +0 -44
  13. package/dist/sdk/Client.js +0 -71
  14. package/dist/sdk/api/errors/BadRequestError.d.ts +0 -8
  15. package/dist/sdk/api/errors/BadRequestError.js +0 -52
  16. package/dist/sdk/api/errors/ForbiddenError.d.ts +0 -8
  17. package/dist/sdk/api/errors/ForbiddenError.js +0 -52
  18. package/dist/sdk/api/errors/InternalServerError.d.ts +0 -8
  19. package/dist/sdk/api/errors/InternalServerError.js +0 -52
  20. package/dist/sdk/api/errors/NotFoundError.d.ts +0 -8
  21. package/dist/sdk/api/errors/NotFoundError.js +0 -52
  22. package/dist/sdk/api/errors/UnauthorizedError.d.ts +0 -8
  23. package/dist/sdk/api/errors/UnauthorizedError.js +0 -52
  24. package/dist/sdk/api/errors/index.d.ts +0 -5
  25. package/dist/sdk/api/errors/index.js +0 -21
  26. package/dist/sdk/api/index.d.ts +0 -3
  27. package/dist/sdk/api/index.js +0 -19
  28. package/dist/sdk/api/resources/dataPools/client/Client.d.ts +0 -187
  29. package/dist/sdk/api/resources/dataPools/client/Client.js +0 -722
  30. package/dist/sdk/api/resources/dataPools/client/index.d.ts +0 -2
  31. package/dist/sdk/api/resources/dataPools/client/index.js +0 -17
  32. package/dist/sdk/api/resources/dataPools/client/requests/AddDataPoolFileRequest.d.ts +0 -14
  33. package/dist/sdk/api/resources/dataPools/client/requests/AddDataPoolFileRequest.js +0 -5
  34. package/dist/sdk/api/resources/dataPools/client/requests/CreateDataPoolRequest.d.ts +0 -11
  35. package/dist/sdk/api/resources/dataPools/client/requests/CreateDataPoolRequest.js +0 -5
  36. package/dist/sdk/api/resources/dataPools/client/requests/UpdateDataPoolRequest.d.ts +0 -15
  37. package/dist/sdk/api/resources/dataPools/client/requests/UpdateDataPoolRequest.js +0 -5
  38. package/dist/sdk/api/resources/dataPools/client/requests/index.d.ts +0 -3
  39. package/dist/sdk/api/resources/dataPools/client/requests/index.js +0 -2
  40. package/dist/sdk/api/resources/dataPools/index.d.ts +0 -1
  41. package/dist/sdk/api/resources/dataPools/index.js +0 -17
  42. package/dist/sdk/api/resources/index.d.ts +0 -5
  43. package/dist/sdk/api/resources/index.js +0 -44
  44. package/dist/sdk/api/resources/serviceExecutions/client/Client.d.ts +0 -90
  45. package/dist/sdk/api/resources/serviceExecutions/client/Client.js +0 -271
  46. package/dist/sdk/api/resources/serviceExecutions/client/index.d.ts +0 -1
  47. package/dist/sdk/api/resources/serviceExecutions/client/index.js +0 -2
  48. package/dist/sdk/api/resources/serviceExecutions/index.d.ts +0 -1
  49. package/dist/sdk/api/resources/serviceExecutions/index.js +0 -17
  50. package/dist/sdk/api/resources/serviceJobs/client/Client.d.ts +0 -138
  51. package/dist/sdk/api/resources/serviceJobs/client/Client.js +0 -489
  52. package/dist/sdk/api/resources/serviceJobs/client/index.d.ts +0 -2
  53. package/dist/sdk/api/resources/serviceJobs/client/index.js +0 -17
  54. package/dist/sdk/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.d.ts +0 -15
  55. package/dist/sdk/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.js +0 -5
  56. package/dist/sdk/api/resources/serviceJobs/client/requests/index.d.ts +0 -1
  57. package/dist/sdk/api/resources/serviceJobs/client/requests/index.js +0 -2
  58. package/dist/sdk/api/resources/serviceJobs/index.d.ts +0 -1
  59. package/dist/sdk/api/resources/serviceJobs/index.js +0 -17
  60. package/dist/sdk/api/types/ActivityInstance.d.ts +0 -20
  61. package/dist/sdk/api/types/ActivityInstance.js +0 -14
  62. package/dist/sdk/api/types/DataPoolDto.d.ts +0 -28
  63. package/dist/sdk/api/types/DataPoolDto.js +0 -14
  64. package/dist/sdk/api/types/DataPoolFileDto.d.ts +0 -19
  65. package/dist/sdk/api/types/DataPoolFileDto.js +0 -5
  66. package/dist/sdk/api/types/LogEntry.d.ts +0 -24
  67. package/dist/sdk/api/types/LogEntry.js +0 -16
  68. package/dist/sdk/api/types/MetricDataPoint.d.ts +0 -12
  69. package/dist/sdk/api/types/MetricDataPoint.js +0 -5
  70. package/dist/sdk/api/types/OauthScope.d.ts +0 -9
  71. package/dist/sdk/api/types/OauthScope.js +0 -9
  72. package/dist/sdk/api/types/ServiceExecutionDto.d.ts +0 -21
  73. package/dist/sdk/api/types/ServiceExecutionDto.js +0 -17
  74. package/dist/sdk/api/types/ServiceExecutionLogs.d.ts +0 -5
  75. package/dist/sdk/api/types/ServiceExecutionLogs.js +0 -5
  76. package/dist/sdk/api/types/ServiceExecutionMetrics.d.ts +0 -23
  77. package/dist/sdk/api/types/ServiceExecutionMetrics.js +0 -5
  78. package/dist/sdk/api/types/ServiceJobDto.d.ts +0 -46
  79. package/dist/sdk/api/types/ServiceJobDto.js +0 -22
  80. package/dist/sdk/api/types/VariableInstance.d.ts +0 -9
  81. package/dist/sdk/api/types/VariableInstance.js +0 -5
  82. package/dist/sdk/api/types/WorkflowInstance.d.ts +0 -23
  83. package/dist/sdk/api/types/WorkflowInstance.js +0 -17
  84. package/dist/sdk/api/types/WorkflowServiceExecutionDto.d.ts +0 -8
  85. package/dist/sdk/api/types/WorkflowServiceExecutionDto.js +0 -5
  86. package/dist/sdk/api/types/index.d.ts +0 -13
  87. package/dist/sdk/api/types/index.js +0 -29
  88. package/dist/sdk/core/exports.d.ts +0 -1
  89. package/dist/sdk/core/exports.js +0 -17
  90. package/dist/sdk/core/fetcher/APIResponse.d.ts +0 -20
  91. package/dist/sdk/core/fetcher/APIResponse.js +0 -2
  92. package/dist/sdk/core/fetcher/BinaryResponse.d.ts +0 -20
  93. package/dist/sdk/core/fetcher/BinaryResponse.js +0 -17
  94. package/dist/sdk/core/fetcher/Fetcher.d.ts +0 -40
  95. package/dist/sdk/core/fetcher/Fetcher.js +0 -105
  96. package/dist/sdk/core/fetcher/Headers.d.ts +0 -2
  97. package/dist/sdk/core/fetcher/Headers.js +0 -85
  98. package/dist/sdk/core/fetcher/HttpResponsePromise.d.ts +0 -58
  99. package/dist/sdk/core/fetcher/HttpResponsePromise.js +0 -94
  100. package/dist/sdk/core/fetcher/RawResponse.d.ts +0 -29
  101. package/dist/sdk/core/fetcher/RawResponse.js +0 -44
  102. package/dist/sdk/core/fetcher/ResponseWithBody.d.ts +0 -4
  103. package/dist/sdk/core/fetcher/ResponseWithBody.js +0 -6
  104. package/dist/sdk/core/fetcher/Supplier.d.ts +0 -4
  105. package/dist/sdk/core/fetcher/Supplier.js +0 -13
  106. package/dist/sdk/core/fetcher/createRequestUrl.d.ts +0 -1
  107. package/dist/sdk/core/fetcher/createRequestUrl.js +0 -8
  108. package/dist/sdk/core/fetcher/getErrorResponseBody.d.ts +0 -1
  109. package/dist/sdk/core/fetcher/getErrorResponseBody.js +0 -32
  110. package/dist/sdk/core/fetcher/getFetchFn.d.ts +0 -1
  111. package/dist/sdk/core/fetcher/getFetchFn.js +0 -6
  112. package/dist/sdk/core/fetcher/getHeader.d.ts +0 -1
  113. package/dist/sdk/core/fetcher/getHeader.js +0 -11
  114. package/dist/sdk/core/fetcher/getRequestBody.d.ts +0 -7
  115. package/dist/sdk/core/fetcher/getRequestBody.js +0 -12
  116. package/dist/sdk/core/fetcher/getResponseBody.d.ts +0 -1
  117. package/dist/sdk/core/fetcher/getResponseBody.js +0 -44
  118. package/dist/sdk/core/fetcher/index.d.ts +0 -9
  119. package/dist/sdk/core/fetcher/index.js +0 -15
  120. package/dist/sdk/core/fetcher/makeRequest.d.ts +0 -1
  121. package/dist/sdk/core/fetcher/makeRequest.js +0 -33
  122. package/dist/sdk/core/fetcher/requestWithRetries.d.ts +0 -1
  123. package/dist/sdk/core/fetcher/requestWithRetries.js +0 -29
  124. package/dist/sdk/core/fetcher/signals.d.ts +0 -11
  125. package/dist/sdk/core/fetcher/signals.js +0 -36
  126. package/dist/sdk/core/file/exports.d.ts +0 -1
  127. package/dist/sdk/core/file/exports.js +0 -2
  128. package/dist/sdk/core/file/file.d.ts +0 -5
  129. package/dist/sdk/core/file/file.js +0 -185
  130. package/dist/sdk/core/file/index.d.ts +0 -2
  131. package/dist/sdk/core/file/index.js +0 -18
  132. package/dist/sdk/core/file/types.d.ts +0 -66
  133. package/dist/sdk/core/file/types.js +0 -2
  134. package/dist/sdk/core/form-data-utils/FormDataWrapper.d.ts +0 -16
  135. package/dist/sdk/core/form-data-utils/FormDataWrapper.js +0 -175
  136. package/dist/sdk/core/form-data-utils/encodeAsFormParameter.d.ts +0 -1
  137. package/dist/sdk/core/form-data-utils/encodeAsFormParameter.js +0 -12
  138. package/dist/sdk/core/form-data-utils/index.d.ts +0 -2
  139. package/dist/sdk/core/form-data-utils/index.js +0 -20
  140. package/dist/sdk/core/headers.d.ts +0 -3
  141. package/dist/sdk/core/headers.js +0 -29
  142. package/dist/sdk/core/index.d.ts +0 -5
  143. package/dist/sdk/core/index.js +0 -44
  144. package/dist/sdk/core/json.d.ts +0 -15
  145. package/dist/sdk/core/json.js +0 -24
  146. package/dist/sdk/core/runtime/index.d.ts +0 -1
  147. package/dist/sdk/core/runtime/index.js +0 -5
  148. package/dist/sdk/core/runtime/runtime.d.ts +0 -9
  149. package/dist/sdk/core/runtime/runtime.js +0 -101
  150. package/dist/sdk/core/url/index.d.ts +0 -2
  151. package/dist/sdk/core/url/index.js +0 -7
  152. package/dist/sdk/core/url/join.d.ts +0 -1
  153. package/dist/sdk/core/url/join.js +0 -69
  154. package/dist/sdk/core/url/qs.d.ts +0 -6
  155. package/dist/sdk/core/url/qs.js +0 -67
  156. package/dist/sdk/environments.d.ts +0 -7
  157. package/dist/sdk/environments.js +0 -9
  158. package/dist/sdk/errors/PlanqkApiError.d.ts +0 -15
  159. package/dist/sdk/errors/PlanqkApiError.js +0 -33
  160. package/dist/sdk/errors/PlanqkApiTimeoutError.d.ts +0 -6
  161. package/dist/sdk/errors/PlanqkApiTimeoutError.js +0 -13
  162. package/dist/sdk/errors/index.d.ts +0 -2
  163. package/dist/sdk/errors/index.js +0 -7
  164. package/dist/sdk/exports.d.ts +0 -1
  165. package/dist/sdk/exports.js +0 -17
  166. package/dist/sdk/index.d.ts +0 -5
  167. package/dist/sdk/index.js +0 -48
package/README-node.md CHANGED
@@ -1,3 +1,20 @@
1
+ > **⚠️ DEPRECATED ⚠️**
2
+ >
3
+ > **This package has been deprecated and is no longer maintained.**
4
+ >
5
+ > Please migrate to the new package:
6
+ > - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
7
+ > - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
8
+ >
9
+ > Install the new package:
10
+ > ```bash
11
+ > pip install qhub-api
12
+ > # or
13
+ > npm install @quantum-hub/qhub-api
14
+ > ```
15
+
16
+ ---
17
+
1
18
  # PLANQK API SDK
2
19
 
3
20
  ## Installation
package/README-python.md CHANGED
@@ -1,3 +1,20 @@
1
+ > **⚠️ DEPRECATED ⚠️**
2
+ >
3
+ > **This package has been deprecated and is no longer maintained.**
4
+ >
5
+ > Please migrate to the new package:
6
+ > - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
7
+ > - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
8
+ >
9
+ > Install the new package:
10
+ > ```bash
11
+ > pip install qhub-api
12
+ > # or
13
+ > npm install @quantum-hub/qhub-api
14
+ > ```
15
+
16
+ ---
17
+
1
18
  # PLANQK API SDK
2
19
 
3
20
  ## Installation
package/README.md CHANGED
@@ -1,13 +1,73 @@
1
- # PLANQK API SDK
1
+ > **⚠️ DEPRECATED ⚠️**
2
+ >
3
+ > **This package has been deprecated and is no longer maintained.**
4
+ >
5
+ > Please migrate to the new package:
6
+ > - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
7
+ > - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
8
+ >
9
+ > Install the new package:
10
+ > ```bash
11
+ > pip install qhub-api
12
+ > # or
13
+ > npm install @quantum-hub/qhub-api
14
+ > ```
2
15
 
3
- ## Installation
16
+ ---
4
17
 
5
- The package can be installed using `npm`:
18
+ # planqk-api-sdk
19
+
20
+ This repository contains the SDK to interact with the official PLANQK API.
21
+ The clients are generated from a [OpenAPI](https://swagger.io/specification) description using [Fern](https://buildwithfern.com).
22
+ The generated clients are a baseline, and the idea is to adapt and extend them to our specific needs.
23
+
24
+ ## Generate the SDK clients with Fern
25
+
26
+ > <https://buildwithfern.com/docs/getting-started>
6
27
 
7
28
  ```bash
8
- npm install @planqk/planqk-api-sdk
29
+ npm install -g fern-api
30
+ fern upgrade
31
+ fern generate
9
32
  ```
10
33
 
11
- ## Usage
34
+ ## Python Setup
35
+
36
+ To create a new virtual environment and install the dependencies, run:
37
+
38
+ ```bash
39
+ uv venv
40
+ source .venv/bin/activate
41
+
42
+ uv sync
43
+ ```
44
+
45
+ Update dependencies and lock files:
46
+
47
+ ```bash
48
+ uv sync -U
49
+ ```
50
+
51
+ ## How to update the Python client?
52
+
53
+ After generating the SDK clients with Fern, the Python client needs to be copied manually.
54
+
55
+ Copy the content of `./generated/python` to `./planqk/api/sdk`.
56
+ Make sure you overwrite any existing files.
57
+ It is recommended to remove the old files first.
58
+
59
+ Next, check if the changes are compatible with our wrapper, e.g., by running the Jupyter notebook in the `notebooks` directory.
60
+
61
+ ## How to update the TypeScript client?
62
+
63
+ After generating the SDK clients with Fern, the TypeScript client needs to be copied manually.
64
+
65
+ Copy the content of `./generated/typescript` to `./typescript/src/sdk`.
66
+ Make sure you overwrite any existing files.
67
+ It is recommended to remove the old files first.
68
+
69
+ Next, check if the changes are compatible with our wrapper, e.g., by running the `index.test.ts` file.
70
+
71
+ ## License
12
72
 
13
- The usage docs are available at <https://docs.hub.kipu-quantum.com/sdk-api-reference.html>.
73
+ Apache-2.0 | Copyright 2025 Kipu Quantum GmbH
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planqk/planqk-api-sdk",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "SDK to interact with the official PLANQK API.",
5
5
  "author": "Kipu Quantum GmbH",
6
6
  "contributors": [
@@ -1 +1 @@
1
- __version__ = "1.9.2"
1
+ __version__ = "1.9.3"
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "planqk-api-sdk"
3
- version = "1.9.2"
3
+ version = "1.9.4"
4
4
  description = "SDK to interact with the official PLANQK API."
5
5
  authors = [
6
6
  { name = "Kipu Quantum GmbH", email = "info@kipu-quantum.com" },