@planqk/planqk-service-sdk 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk/BaseClient.d.ts +26 -0
- package/dist/sdk/{api/resources/serviceApi/types/GetResultResponse.js → BaseClient.js} +1 -3
- package/dist/sdk/Client.d.ts +3 -21
- package/dist/sdk/Client.js +1 -3
- package/dist/sdk/api/index.d.ts +1 -1
- package/dist/sdk/api/index.js +1 -1
- package/dist/sdk/api/resources/index.d.ts +0 -1
- package/dist/sdk/api/resources/index.js +0 -4
- package/dist/sdk/api/resources/serviceApi/client/Client.d.ts +6 -23
- package/dist/sdk/api/resources/serviceApi/client/Client.js +37 -25
- package/dist/sdk/api/resources/serviceApi/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceApi/index.js +0 -1
- package/dist/sdk/api/types/HalLink.d.ts +0 -3
- package/dist/sdk/api/types/HalLink.js +1 -3
- package/dist/sdk/api/types/LogEntry.d.ts +15 -4
- package/dist/sdk/api/types/LogEntry.js +13 -3
- package/dist/sdk/api/types/RequestBody.d.ts +1 -0
- package/dist/sdk/api/types/RequestBody.js +3 -0
- package/dist/sdk/api/types/ResultResponse.d.ts +15 -0
- package/dist/sdk/api/types/ResultResponse.js +3 -0
- package/dist/sdk/api/types/ServiceExecution.d.ts +22 -5
- package/dist/sdk/api/types/ServiceExecution.js +7 -3
- package/dist/sdk/api/types/index.d.ts +2 -0
- package/dist/sdk/api/types/index.js +2 -0
- package/dist/sdk/core/auth/AuthProvider.d.ts +4 -0
- package/dist/sdk/core/auth/AuthProvider.js +2 -0
- package/dist/sdk/core/auth/AuthRequest.d.ts +9 -0
- package/dist/sdk/core/auth/AuthRequest.js +2 -0
- package/dist/sdk/core/auth/BasicAuth.js +2 -1
- package/dist/sdk/core/auth/index.d.ts +2 -0
- package/dist/sdk/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/sdk/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/sdk/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/sdk/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/sdk/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/sdk/core/fetcher/EndpointSupplier.js +13 -0
- package/dist/sdk/core/fetcher/Fetcher.d.ts +6 -4
- package/dist/sdk/core/fetcher/Fetcher.js +3 -3
- package/dist/sdk/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/sdk/core/fetcher/index.d.ts +7 -5
- package/dist/sdk/core/fetcher/index.js +7 -5
- package/dist/sdk/core/fetcher/requestWithRetries.js +44 -8
- package/dist/sdk/core/headers.d.ts +2 -3
- package/dist/sdk/core/url/join.js +23 -3
- package/dist/sdk/environments.d.ts +0 -3
- package/dist/sdk/environments.js +1 -3
- package/dist/sdk/errors/PlanqkServiceApiError.d.ts +0 -3
- package/dist/sdk/errors/PlanqkServiceApiError.js +1 -3
- package/dist/sdk/errors/PlanqkServiceApiTimeoutError.d.ts +0 -3
- package/dist/sdk/errors/PlanqkServiceApiTimeoutError.js +1 -3
- package/dist/sdk/index.d.ts +1 -0
- package/fern/fern.config.json +1 -1
- package/fern/openapi/openapi.yml +46 -6
- package/package.json +1 -1
- package/planqk/service/_version.py +1 -1
- package/planqk/service/sdk/__init__.py +6 -0
- package/planqk/service/sdk/types/__init__.py +6 -0
- package/planqk/service/sdk/types/log_entry.py +15 -3
- package/planqk/service/sdk/types/log_entry_severity.py +5 -0
- package/planqk/service/sdk/types/service_execution.py +57 -5
- package/planqk/service/sdk/types/service_execution_type.py +5 -0
- package/pyproject.toml +1 -1
- package/requirements-dev.txt +117 -83
- package/requirements.txt +58 -58
- package/src/index.test.ts +10 -0
- package/src/sdk/BaseClient.ts +30 -0
- package/src/sdk/Client.ts +5 -22
- package/src/sdk/api/index.ts +1 -1
- package/src/sdk/api/resources/index.ts +0 -1
- package/src/sdk/api/resources/serviceApi/client/Client.ts +73 -76
- package/src/sdk/api/resources/serviceApi/index.ts +0 -1
- package/src/sdk/api/types/HalLink.ts +1 -3
- package/src/sdk/api/types/LogEntry.ts +17 -4
- package/src/sdk/api/types/RequestBody.ts +3 -0
- package/src/sdk/api/types/ResultResponse.ts +20 -0
- package/src/sdk/api/types/ServiceExecution.ts +23 -5
- package/src/sdk/api/types/index.ts +2 -0
- package/src/sdk/core/auth/AuthProvider.ts +5 -0
- package/src/sdk/core/auth/AuthRequest.ts +9 -0
- package/src/sdk/core/auth/BasicAuth.ts +2 -1
- package/src/sdk/core/auth/index.ts +2 -0
- package/src/sdk/core/fetcher/APIResponse.ts +1 -1
- package/src/sdk/core/fetcher/BinaryResponse.ts +1 -1
- package/src/sdk/core/fetcher/EndpointMetadata.ts +13 -0
- package/src/sdk/core/fetcher/EndpointSupplier.ts +14 -0
- package/src/sdk/core/fetcher/Fetcher.ts +8 -6
- package/src/sdk/core/fetcher/HttpResponsePromise.ts +1 -1
- package/src/sdk/core/fetcher/index.ts +7 -5
- package/src/sdk/core/fetcher/requestWithRetries.ts +49 -9
- package/src/sdk/core/headers.ts +8 -10
- package/src/sdk/core/url/join.ts +28 -3
- package/src/sdk/environments.ts +1 -3
- package/src/sdk/errors/PlanqkServiceApiError.ts +1 -3
- package/src/sdk/errors/PlanqkServiceApiTimeoutError.ts +1 -3
- package/src/sdk/index.ts +1 -0
- package/uv.lock +260 -109
- package/dist/sdk/api/resources/serviceApi/types/GetResultResponse.d.ts +0 -18
- package/dist/sdk/api/resources/serviceApi/types/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceApi/types/index.js +0 -17
- package/src/sdk/api/resources/serviceApi/types/GetResultResponse.ts +0 -22
- package/src/sdk/api/resources/serviceApi/types/index.ts +0 -1
package/requirements-dev.txt
CHANGED
|
@@ -12,10 +12,14 @@ appnope==0.1.4 ; sys_platform == 'darwin' \
|
|
|
12
12
|
--hash=sha256:1de3860566df9caf38f01f86f65e0e13e379af54f9e4bee1e66b48f2efffd1ee \
|
|
13
13
|
--hash=sha256:502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c
|
|
14
14
|
# via ipykernel
|
|
15
|
-
astroid==3.3.11 \
|
|
15
|
+
astroid==3.3.11 ; python_full_version < '3.10' \
|
|
16
16
|
--hash=sha256:1e5a5011af2920c7c67a53f65d536d65bfa7116feeaf2354d8b94f29573bb0ce \
|
|
17
17
|
--hash=sha256:54c760ae8322ece1abd213057c4b5bba7c49818853fc901ef09719a60dbf9dec
|
|
18
18
|
# via pylint
|
|
19
|
+
astroid==4.0.1 ; python_full_version >= '3.10' \
|
|
20
|
+
--hash=sha256:0d778ec0def05b935e198412e62f9bcca8b3b5c39fdbe50b0ba074005e477aab \
|
|
21
|
+
--hash=sha256:37ab2f107d14dc173412327febf6c78d39590fdafcb44868f03b6c03452e3db0
|
|
22
|
+
# via pylint
|
|
19
23
|
asttokens==3.0.0 \
|
|
20
24
|
--hash=sha256:0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7 \
|
|
21
25
|
--hash=sha256:e3078351a059199dd5138cb1c706e6430c05eff2ff136af5eb4790f9d28932e2
|
|
@@ -129,61 +133,61 @@ comm==0.2.3 \
|
|
|
129
133
|
--hash=sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971 \
|
|
130
134
|
--hash=sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417
|
|
131
135
|
# via ipykernel
|
|
132
|
-
cryptography==46.0.
|
|
133
|
-
--hash=sha256:
|
|
134
|
-
--hash=sha256:
|
|
135
|
-
--hash=sha256:
|
|
136
|
-
--hash=sha256:
|
|
137
|
-
--hash=sha256:
|
|
138
|
-
--hash=sha256:
|
|
139
|
-
--hash=sha256:
|
|
140
|
-
--hash=sha256:
|
|
141
|
-
--hash=sha256:
|
|
142
|
-
--hash=sha256:
|
|
143
|
-
--hash=sha256:
|
|
144
|
-
--hash=sha256:
|
|
145
|
-
--hash=sha256:
|
|
146
|
-
--hash=sha256:
|
|
147
|
-
--hash=sha256:
|
|
148
|
-
--hash=sha256:
|
|
149
|
-
--hash=sha256:
|
|
150
|
-
--hash=sha256:
|
|
151
|
-
--hash=sha256:
|
|
152
|
-
--hash=sha256:
|
|
153
|
-
--hash=sha256:
|
|
154
|
-
--hash=sha256:
|
|
155
|
-
--hash=sha256:
|
|
156
|
-
--hash=sha256:
|
|
157
|
-
--hash=sha256:
|
|
158
|
-
--hash=sha256:
|
|
159
|
-
--hash=sha256:
|
|
160
|
-
--hash=sha256:
|
|
161
|
-
--hash=sha256:
|
|
162
|
-
--hash=sha256:
|
|
163
|
-
--hash=sha256:
|
|
164
|
-
--hash=sha256:
|
|
165
|
-
--hash=sha256:
|
|
166
|
-
--hash=sha256:
|
|
167
|
-
--hash=sha256:
|
|
168
|
-
--hash=sha256:
|
|
169
|
-
--hash=sha256:
|
|
170
|
-
--hash=sha256:
|
|
171
|
-
--hash=sha256:
|
|
172
|
-
--hash=sha256:
|
|
173
|
-
--hash=sha256:
|
|
174
|
-
--hash=sha256:
|
|
175
|
-
--hash=sha256:
|
|
176
|
-
--hash=sha256:
|
|
177
|
-
--hash=sha256:
|
|
178
|
-
--hash=sha256:
|
|
179
|
-
--hash=sha256:
|
|
180
|
-
--hash=sha256:
|
|
181
|
-
--hash=sha256:
|
|
182
|
-
--hash=sha256:
|
|
183
|
-
--hash=sha256:
|
|
184
|
-
--hash=sha256:
|
|
185
|
-
--hash=sha256:
|
|
186
|
-
--hash=sha256:
|
|
136
|
+
cryptography==46.0.3 \
|
|
137
|
+
--hash=sha256:00a5e7e87938e5ff9ff5447ab086a5706a957137e6e433841e9d24f38a065217 \
|
|
138
|
+
--hash=sha256:01ca9ff2885f3acc98c29f1860552e37f6d7c7d013d7334ff2a9de43a449315d \
|
|
139
|
+
--hash=sha256:09859af8466b69bc3c27bdf4f5d84a665e0f7ab5088412e9e2ec49758eca5cbc \
|
|
140
|
+
--hash=sha256:0abf1ffd6e57c67e92af68330d05760b7b7efb243aab8377e583284dbab72c71 \
|
|
141
|
+
--hash=sha256:1000713389b75c449a6e979ffc7dcc8ac90b437048766cef052d4d30b8220971 \
|
|
142
|
+
--hash=sha256:109d4ddfadf17e8e7779c39f9b18111a09efb969a301a31e987416a0191ed93a \
|
|
143
|
+
--hash=sha256:10b01676fc208c3e6feeb25a8b83d81767e8059e1fe86e1dc62d10a3018fa926 \
|
|
144
|
+
--hash=sha256:10ca84c4668d066a9878890047f03546f3ae0a6b8b39b697457b7757aaf18dbc \
|
|
145
|
+
--hash=sha256:15ab9b093e8f09daab0f2159bb7e47532596075139dd74365da52ecc9cb46c5d \
|
|
146
|
+
--hash=sha256:191bb60a7be5e6f54e30ba16fdfae78ad3a342a0599eb4193ba88e3f3d6e185b \
|
|
147
|
+
--hash=sha256:22d7e97932f511d6b0b04f2bfd818d73dcd5928db509460aaf48384778eb6d20 \
|
|
148
|
+
--hash=sha256:23b1a8f26e43f47ceb6d6a43115f33a5a37d57df4ea0ca295b780ae8546e8044 \
|
|
149
|
+
--hash=sha256:36e627112085bb3b81b19fed209c05ce2a52ee8b15d161b7c643a7d5a88491f3 \
|
|
150
|
+
--hash=sha256:39b6755623145ad5eff1dab323f4eae2a32a77a7abef2c5089a04a3d04366715 \
|
|
151
|
+
--hash=sha256:3b51b8ca4f1c6453d8829e1eb7299499ca7f313900dd4d89a24b8b87c0a780d4 \
|
|
152
|
+
--hash=sha256:402b58fc32614f00980b66d6e56a5b4118e6cb362ae8f3fda141ba4689bd4506 \
|
|
153
|
+
--hash=sha256:416260257577718c05135c55958b674000baef9a1c7d9e8f306ec60d71db850f \
|
|
154
|
+
--hash=sha256:46acf53b40ea38f9c6c229599a4a13f0d46a6c3fa9ef19fc1a124d62e338dfa0 \
|
|
155
|
+
--hash=sha256:4b7387121ac7d15e550f5cb4a43aef2559ed759c35df7336c402bb8275ac9683 \
|
|
156
|
+
--hash=sha256:50fc3343ac490c6b08c0cf0d704e881d0d660be923fd3076db3e932007e726e3 \
|
|
157
|
+
--hash=sha256:516ea134e703e9fe26bcd1277a4b59ad30586ea90c365a87781d7887a646fe21 \
|
|
158
|
+
--hash=sha256:549e234ff32571b1f4076ac269fcce7a808d3bf98b76c8dd560e42dbc66d7d91 \
|
|
159
|
+
--hash=sha256:5d7f93296ee28f68447397bf5198428c9aeeab45705a55d53a6343455dcb2c3c \
|
|
160
|
+
--hash=sha256:5ecfccd2329e37e9b7112a888e76d9feca2347f12f37918facbb893d7bb88ee8 \
|
|
161
|
+
--hash=sha256:6276eb85ef938dc035d59b87c8a7dc559a232f954962520137529d77b18ff1df \
|
|
162
|
+
--hash=sha256:6b5063083824e5509fdba180721d55909ffacccc8adbec85268b48439423d78c \
|
|
163
|
+
--hash=sha256:6eae65d4c3d33da080cff9c4ab1f711b15c1d9760809dad6ea763f3812d254cb \
|
|
164
|
+
--hash=sha256:6f61efb26e76c45c4a227835ddeae96d83624fb0d29eb5df5b96e14ed1a0afb7 \
|
|
165
|
+
--hash=sha256:71e842ec9bc7abf543b47cf86b9a743baa95f4677d22baa4c7d5c69e49e9bc04 \
|
|
166
|
+
--hash=sha256:760f83faa07f8b64e9c33fc963d790a2edb24efb479e3520c14a45741cd9b2db \
|
|
167
|
+
--hash=sha256:78a97cf6a8839a48c49271cdcbd5cf37ca2c1d6b7fdd86cc864f302b5e9bf459 \
|
|
168
|
+
--hash=sha256:7ce938a99998ed3c8aa7e7272dca1a610401ede816d36d0693907d863b10d9ea \
|
|
169
|
+
--hash=sha256:8a6e050cb6164d3f830453754094c086ff2d0b2f3a897a1d9820f6139a1f0914 \
|
|
170
|
+
--hash=sha256:9394673a9f4de09e28b5356e7fff97d778f8abad85c9d5ac4a4b7e25a0de7717 \
|
|
171
|
+
--hash=sha256:94cd0549accc38d1494e1f8de71eca837d0509d0d44bf11d158524b0e12cebf9 \
|
|
172
|
+
--hash=sha256:a04bee9ab6a4da801eb9b51f1b708a1b5b5c9eb48c03f74198464c66f0d344ac \
|
|
173
|
+
--hash=sha256:a23582810fedb8c0bc47524558fb6c56aac3fc252cb306072fd2815da2a47c32 \
|
|
174
|
+
--hash=sha256:a2c0cd47381a3229c403062f764160d57d4d175e022c1df84e168c6251a22eec \
|
|
175
|
+
--hash=sha256:a8b17438104fed022ce745b362294d9ce35b4c2e45c1d958ad4a4b019285f4a1 \
|
|
176
|
+
--hash=sha256:a9a3008438615669153eb86b26b61e09993921ebdd75385ddd748702c5adfddb \
|
|
177
|
+
--hash=sha256:b02cf04496f6576afffef5ddd04a0cb7d49cf6be16a9059d793a30b035f6b6ac \
|
|
178
|
+
--hash=sha256:b419ae593c86b87014b9be7396b385491ad7f320bde96826d0dd174459e54665 \
|
|
179
|
+
--hash=sha256:c0a7bb1a68a5d3471880e264621346c48665b3bf1c3759d682fc0864c540bd9e \
|
|
180
|
+
--hash=sha256:c70cc23f12726be8f8bc72e41d5065d77e4515efae3690326764ea1b07845cfb \
|
|
181
|
+
--hash=sha256:c8daeb2d2174beb4575b77482320303f3d39b8e81153da4f0fb08eb5fe86a6c5 \
|
|
182
|
+
--hash=sha256:cb3d760a6117f621261d662bccc8ef5bc32ca673e037c83fbe565324f5c46936 \
|
|
183
|
+
--hash=sha256:d55f3dffadd674514ad19451161118fd010988540cee43d8bc20675e775925de \
|
|
184
|
+
--hash=sha256:d89c3468de4cdc4f08a57e214384d0471911a3830fcdaf7a8cc587e42a866372 \
|
|
185
|
+
--hash=sha256:db391fa7c66df6762ee3f00c95a89e6d428f4d60e7abc8328f4fe155b5ac6e54 \
|
|
186
|
+
--hash=sha256:dfb781ff7eaa91a6f7fd41776ec37c5853c795d3b358d4896fdbb5df168af422 \
|
|
187
|
+
--hash=sha256:e5bf0ed4490068a2e72ac03d786693adeb909981cc596425d09032d372bcc849 \
|
|
188
|
+
--hash=sha256:e7aec276d68421f9574040c26e2a7c3771060bc0cff408bae1dcb19d3ab1e63c \
|
|
189
|
+
--hash=sha256:ef639cb3372f69ec44915fafcd6698b6cc78fbe0c2ea41be867f6ed612811963 \
|
|
190
|
+
--hash=sha256:f260d0d41e9b4da1ed1e0f1ce571f97fe370b152ab18778e9e8f67d6af432018
|
|
187
191
|
# via authlib
|
|
188
192
|
debugpy==1.8.17 \
|
|
189
193
|
--hash=sha256:045290c010bcd2d82bc97aa2daf6837443cd52f6328592698809b4549babcee1 \
|
|
@@ -244,9 +248,9 @@ httpx==0.28.1 \
|
|
|
244
248
|
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
|
|
245
249
|
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
|
|
246
250
|
# via planqk-service-sdk
|
|
247
|
-
idna==3.
|
|
248
|
-
--hash=sha256:
|
|
249
|
-
--hash=sha256:
|
|
251
|
+
idna==3.11 \
|
|
252
|
+
--hash=sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea \
|
|
253
|
+
--hash=sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902
|
|
250
254
|
# via
|
|
251
255
|
# anyio
|
|
252
256
|
# httpx
|
|
@@ -256,13 +260,20 @@ importlib-metadata==8.7.0 ; python_full_version < '3.10' \
|
|
|
256
260
|
# via
|
|
257
261
|
# isort
|
|
258
262
|
# jupyter-client
|
|
259
|
-
iniconfig==2.1.0 \
|
|
263
|
+
iniconfig==2.1.0 ; python_full_version < '3.10' \
|
|
260
264
|
--hash=sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7 \
|
|
261
265
|
--hash=sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760
|
|
262
266
|
# via pytest
|
|
263
|
-
|
|
264
|
-
--hash=sha256:
|
|
265
|
-
--hash=sha256:
|
|
267
|
+
iniconfig==2.3.0 ; python_full_version >= '3.10' \
|
|
268
|
+
--hash=sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 \
|
|
269
|
+
--hash=sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12
|
|
270
|
+
# via pytest
|
|
271
|
+
ipykernel==6.31.0 ; python_full_version < '3.10' \
|
|
272
|
+
--hash=sha256:2372ce8bc1ff4f34e58cafed3a0feb2194b91fc7cad0fc72e79e47b45ee9e8f6 \
|
|
273
|
+
--hash=sha256:abe5386f6ced727a70e0eb0cf1da801fa7c5fa6ff82147747d5a0406cd8c94af
|
|
274
|
+
ipykernel==7.1.0 ; python_full_version >= '3.10' \
|
|
275
|
+
--hash=sha256:58a3fc88533d5930c3546dc7eac66c6d288acde4f801e2001e65edc5dc9cf0db \
|
|
276
|
+
--hash=sha256:763b5ec6c5b7776f6a8d7ce09b267693b4e5ce75cb50ae696aaefb3c85e1ea4c
|
|
266
277
|
ipython==8.18.1 ; python_full_version < '3.10' \
|
|
267
278
|
--hash=sha256:ca6f079bb33457c66e233e4580ebfc4128855b4cf6370dddd73842a9563e8a27 \
|
|
268
279
|
--hash=sha256:e8267419d72d81955ec1177f8a29aaa90ac80ad647499201119e2f05e99aa397
|
|
@@ -279,10 +290,14 @@ ipython-pygments-lexers==1.1.1 ; python_full_version >= '3.11' \
|
|
|
279
290
|
--hash=sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81 \
|
|
280
291
|
--hash=sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c
|
|
281
292
|
# via ipython
|
|
282
|
-
isort==6.1.0 \
|
|
293
|
+
isort==6.1.0 ; python_full_version < '3.10' \
|
|
283
294
|
--hash=sha256:58d8927ecce74e5087aef019f778d4081a3b6c98f15a80ba35782ca8a2097784 \
|
|
284
295
|
--hash=sha256:9b8f96a14cfee0677e78e941ff62f03769a06d412aabb9e2a90487b3b7e8d481
|
|
285
296
|
# via pylint
|
|
297
|
+
isort==7.0.0 ; python_full_version >= '3.10' \
|
|
298
|
+
--hash=sha256:1bcabac8bc3c36c7fb7b98a76c8abb18e0f841a3ba81decac7691008592499c1 \
|
|
299
|
+
--hash=sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187
|
|
300
|
+
# via pylint
|
|
286
301
|
jedi==0.19.2 \
|
|
287
302
|
--hash=sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0 \
|
|
288
303
|
--hash=sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9
|
|
@@ -291,15 +306,21 @@ jupyter-client==8.6.3 \
|
|
|
291
306
|
--hash=sha256:35b3a0947c4a6e9d589eb97d7d4cd5e90f910ee73101611f01283732bd6d9419 \
|
|
292
307
|
--hash=sha256:e8a19cc986cc45905ac3362915f410f3af85424b4c0905e94fa5f2cb08e8f23f
|
|
293
308
|
# via ipykernel
|
|
294
|
-
jupyter-core==5.8.1 \
|
|
309
|
+
jupyter-core==5.8.1 ; python_full_version < '3.10' \
|
|
295
310
|
--hash=sha256:0a5f9706f70e64786b75acba995988915ebd4601c8a52e534a40b51c95f59941 \
|
|
296
311
|
--hash=sha256:c28d268fc90fb53f1338ded2eb410704c5449a358406e8a948b75706e24863d0
|
|
297
312
|
# via
|
|
298
313
|
# ipykernel
|
|
299
314
|
# jupyter-client
|
|
300
|
-
|
|
301
|
-
--hash=sha256:
|
|
302
|
-
--hash=sha256:
|
|
315
|
+
jupyter-core==5.9.1 ; python_full_version >= '3.10' \
|
|
316
|
+
--hash=sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508 \
|
|
317
|
+
--hash=sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407
|
|
318
|
+
# via
|
|
319
|
+
# ipykernel
|
|
320
|
+
# jupyter-client
|
|
321
|
+
matplotlib-inline==0.2.1 \
|
|
322
|
+
--hash=sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76 \
|
|
323
|
+
--hash=sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe
|
|
303
324
|
# via
|
|
304
325
|
# ipykernel
|
|
305
326
|
# ipython
|
|
@@ -345,16 +366,26 @@ prompt-toolkit==3.0.52 \
|
|
|
345
366
|
--hash=sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855 \
|
|
346
367
|
--hash=sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955
|
|
347
368
|
# via ipython
|
|
348
|
-
psutil==7.1.
|
|
349
|
-
--hash=sha256:
|
|
350
|
-
--hash=sha256:
|
|
351
|
-
--hash=sha256:
|
|
352
|
-
--hash=sha256:
|
|
353
|
-
--hash=sha256:
|
|
354
|
-
--hash=sha256:
|
|
355
|
-
--hash=sha256:
|
|
356
|
-
--hash=sha256:
|
|
357
|
-
--hash=sha256:
|
|
369
|
+
psutil==7.1.2 \
|
|
370
|
+
--hash=sha256:0cc5c6889b9871f231ed5455a9a02149e388fffcb30b607fb7a8896a6d95f22e \
|
|
371
|
+
--hash=sha256:20c00824048a95de67f00afedc7b08b282aa08638585b0206a9fb51f28f1a165 \
|
|
372
|
+
--hash=sha256:2a486030d2fe81bec023f703d3d155f4823a10a47c36784c84f1cc7f8d39bedb \
|
|
373
|
+
--hash=sha256:329f05610da6380982e6078b9d0881d9ab1e9a7eb7c02d833bfb7340aa634e31 \
|
|
374
|
+
--hash=sha256:364b1c10fe4ed59c89ec49e5f1a70da353b27986fa8233b4b999df4742a5ee2f \
|
|
375
|
+
--hash=sha256:3e988455e61c240cc879cb62a008c2699231bf3e3d061d7fce4234463fd2abb4 \
|
|
376
|
+
--hash=sha256:3efd8fc791492e7808a51cb2b94889db7578bfaea22df931424f874468e389e3 \
|
|
377
|
+
--hash=sha256:4a24bcd7b7f2918d934af0fb91859f621b873d6aa81267575e3655cd387572a7 \
|
|
378
|
+
--hash=sha256:625977443498ee7d6c1e63e93bacca893fd759a66c5f635d05e05811d23fb5ee \
|
|
379
|
+
--hash=sha256:7b04c29e3c0c888e83ed4762b70f31e65c42673ea956cefa8ced0e31e185f582 \
|
|
380
|
+
--hash=sha256:7d9623a5e4164d2220ecceb071f4b333b3c78866141e8887c072129185f41278 \
|
|
381
|
+
--hash=sha256:8e17852114c4e7996fe9da4745c2bdef001ebbf2f260dec406290e66628bdb91 \
|
|
382
|
+
--hash=sha256:8e9e77a977208d84aa363a4a12e0f72189d58bbf4e46b49aae29a2c6e93ef206 \
|
|
383
|
+
--hash=sha256:aa225cdde1335ff9684708ee8c72650f6598d5ed2114b9a7c5802030b1785018 \
|
|
384
|
+
--hash=sha256:c9ba5c19f2d46203ee8c152c7b01df6eec87d883cfd8ee1af2ef2727f6b0f814 \
|
|
385
|
+
--hash=sha256:e09cfe92aa8e22b1ec5e2d394820cf86c5dff6367ac3242366485dfa874d43bc \
|
|
386
|
+
--hash=sha256:e2aeb9b64f481b8eabfc633bd39e0016d4d8bbcd590d984af764d80bf0851b8a \
|
|
387
|
+
--hash=sha256:f101ef84de7e05d41310e3ccbdd65a6dd1d9eed85e8aaf0758405d022308e204 \
|
|
388
|
+
--hash=sha256:fa6342cf859c48b19df3e4aa170e4cfb64aadc50b11e06bb569c6c777b089c9e
|
|
358
389
|
# via ipykernel
|
|
359
390
|
ptyprocess==0.7.0 ; (python_full_version < '3.10' and sys_platform == 'emscripten') or (sys_platform != 'emscripten' and sys_platform != 'win32') \
|
|
360
391
|
--hash=sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35 \
|
|
@@ -458,9 +489,12 @@ pygments==2.19.2 \
|
|
|
458
489
|
# ipython
|
|
459
490
|
# ipython-pygments-lexers
|
|
460
491
|
# pytest
|
|
461
|
-
pylint==3.3.9 \
|
|
492
|
+
pylint==3.3.9 ; python_full_version < '3.10' \
|
|
462
493
|
--hash=sha256:01f9b0462c7730f94786c283f3e52a1fbdf0494bbe0971a78d7277ef46a751e7 \
|
|
463
494
|
--hash=sha256:d312737d7b25ccf6b01cc4ac629b5dcd14a0fcf3ec392735ac70f137a9d5f83a
|
|
495
|
+
pylint==4.0.2 ; python_full_version >= '3.10' \
|
|
496
|
+
--hash=sha256:9627ccd129893fb8ee8e8010261cb13485daca83e61a6f854a85528ee579502d \
|
|
497
|
+
--hash=sha256:9c22dfa52781d3b79ce86ab2463940f874921a3e5707bcfc98dd0c019945014e
|
|
464
498
|
pytest==8.4.2 \
|
|
465
499
|
--hash=sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01 \
|
|
466
500
|
--hash=sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79
|
|
@@ -472,11 +506,11 @@ python-dateutil==2.9.0.post0 \
|
|
|
472
506
|
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
|
|
473
507
|
--hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
|
|
474
508
|
# via jupyter-client
|
|
475
|
-
python-dotenv==1.
|
|
476
|
-
--hash=sha256:
|
|
477
|
-
--hash=sha256:
|
|
509
|
+
python-dotenv==1.2.1 \
|
|
510
|
+
--hash=sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6 \
|
|
511
|
+
--hash=sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61
|
|
478
512
|
# via pytest-dotenv
|
|
479
|
-
pywin32==311 ; platform_python_implementation != 'PyPy' and sys_platform == 'win32' \
|
|
513
|
+
pywin32==311 ; python_full_version < '3.10' and platform_python_implementation != 'PyPy' and sys_platform == 'win32' \
|
|
480
514
|
--hash=sha256:0502d1facf1fed4839a9a51ccbcc63d952cf318f78ffc00a7e78528ac27d7a2b \
|
|
481
515
|
--hash=sha256:184eb5e436dea364dcd3d2316d577d625c0351bf237c4e9a5fabbcfa5a58b151 \
|
|
482
516
|
--hash=sha256:3aca44c046bd2ed8c90de9cb8427f581c479e594e99b5c0bb19b29c10fd6cb87 \
|
package/requirements.txt
CHANGED
|
@@ -104,61 +104,61 @@ cffi==2.0.0 ; platform_python_implementation != 'PyPy' \
|
|
|
104
104
|
--hash=sha256:fc7de24befaeae77ba923797c7c87834c73648a05a4bde34b3b7e5588973a453 \
|
|
105
105
|
--hash=sha256:fe562eb1a64e67dd297ccc4f5addea2501664954f2692b69a76449ec7913ecbf
|
|
106
106
|
# via cryptography
|
|
107
|
-
cryptography==46.0.
|
|
108
|
-
--hash=sha256:
|
|
109
|
-
--hash=sha256:
|
|
110
|
-
--hash=sha256:
|
|
111
|
-
--hash=sha256:
|
|
112
|
-
--hash=sha256:
|
|
113
|
-
--hash=sha256:
|
|
114
|
-
--hash=sha256:
|
|
115
|
-
--hash=sha256:
|
|
116
|
-
--hash=sha256:
|
|
117
|
-
--hash=sha256:
|
|
118
|
-
--hash=sha256:
|
|
119
|
-
--hash=sha256:
|
|
120
|
-
--hash=sha256:
|
|
121
|
-
--hash=sha256:
|
|
122
|
-
--hash=sha256:
|
|
123
|
-
--hash=sha256:
|
|
124
|
-
--hash=sha256:
|
|
125
|
-
--hash=sha256:
|
|
126
|
-
--hash=sha256:
|
|
127
|
-
--hash=sha256:
|
|
128
|
-
--hash=sha256:
|
|
129
|
-
--hash=sha256:
|
|
130
|
-
--hash=sha256:
|
|
131
|
-
--hash=sha256:
|
|
132
|
-
--hash=sha256:
|
|
133
|
-
--hash=sha256:
|
|
134
|
-
--hash=sha256:
|
|
135
|
-
--hash=sha256:
|
|
136
|
-
--hash=sha256:
|
|
137
|
-
--hash=sha256:
|
|
138
|
-
--hash=sha256:
|
|
139
|
-
--hash=sha256:
|
|
140
|
-
--hash=sha256:
|
|
141
|
-
--hash=sha256:
|
|
142
|
-
--hash=sha256:
|
|
143
|
-
--hash=sha256:
|
|
144
|
-
--hash=sha256:
|
|
145
|
-
--hash=sha256:
|
|
146
|
-
--hash=sha256:
|
|
147
|
-
--hash=sha256:
|
|
148
|
-
--hash=sha256:
|
|
149
|
-
--hash=sha256:
|
|
150
|
-
--hash=sha256:
|
|
151
|
-
--hash=sha256:
|
|
152
|
-
--hash=sha256:
|
|
153
|
-
--hash=sha256:
|
|
154
|
-
--hash=sha256:
|
|
155
|
-
--hash=sha256:
|
|
156
|
-
--hash=sha256:
|
|
157
|
-
--hash=sha256:
|
|
158
|
-
--hash=sha256:
|
|
159
|
-
--hash=sha256:
|
|
160
|
-
--hash=sha256:
|
|
161
|
-
--hash=sha256:
|
|
107
|
+
cryptography==46.0.3 \
|
|
108
|
+
--hash=sha256:00a5e7e87938e5ff9ff5447ab086a5706a957137e6e433841e9d24f38a065217 \
|
|
109
|
+
--hash=sha256:01ca9ff2885f3acc98c29f1860552e37f6d7c7d013d7334ff2a9de43a449315d \
|
|
110
|
+
--hash=sha256:09859af8466b69bc3c27bdf4f5d84a665e0f7ab5088412e9e2ec49758eca5cbc \
|
|
111
|
+
--hash=sha256:0abf1ffd6e57c67e92af68330d05760b7b7efb243aab8377e583284dbab72c71 \
|
|
112
|
+
--hash=sha256:1000713389b75c449a6e979ffc7dcc8ac90b437048766cef052d4d30b8220971 \
|
|
113
|
+
--hash=sha256:109d4ddfadf17e8e7779c39f9b18111a09efb969a301a31e987416a0191ed93a \
|
|
114
|
+
--hash=sha256:10b01676fc208c3e6feeb25a8b83d81767e8059e1fe86e1dc62d10a3018fa926 \
|
|
115
|
+
--hash=sha256:10ca84c4668d066a9878890047f03546f3ae0a6b8b39b697457b7757aaf18dbc \
|
|
116
|
+
--hash=sha256:15ab9b093e8f09daab0f2159bb7e47532596075139dd74365da52ecc9cb46c5d \
|
|
117
|
+
--hash=sha256:191bb60a7be5e6f54e30ba16fdfae78ad3a342a0599eb4193ba88e3f3d6e185b \
|
|
118
|
+
--hash=sha256:22d7e97932f511d6b0b04f2bfd818d73dcd5928db509460aaf48384778eb6d20 \
|
|
119
|
+
--hash=sha256:23b1a8f26e43f47ceb6d6a43115f33a5a37d57df4ea0ca295b780ae8546e8044 \
|
|
120
|
+
--hash=sha256:36e627112085bb3b81b19fed209c05ce2a52ee8b15d161b7c643a7d5a88491f3 \
|
|
121
|
+
--hash=sha256:39b6755623145ad5eff1dab323f4eae2a32a77a7abef2c5089a04a3d04366715 \
|
|
122
|
+
--hash=sha256:3b51b8ca4f1c6453d8829e1eb7299499ca7f313900dd4d89a24b8b87c0a780d4 \
|
|
123
|
+
--hash=sha256:402b58fc32614f00980b66d6e56a5b4118e6cb362ae8f3fda141ba4689bd4506 \
|
|
124
|
+
--hash=sha256:416260257577718c05135c55958b674000baef9a1c7d9e8f306ec60d71db850f \
|
|
125
|
+
--hash=sha256:46acf53b40ea38f9c6c229599a4a13f0d46a6c3fa9ef19fc1a124d62e338dfa0 \
|
|
126
|
+
--hash=sha256:4b7387121ac7d15e550f5cb4a43aef2559ed759c35df7336c402bb8275ac9683 \
|
|
127
|
+
--hash=sha256:50fc3343ac490c6b08c0cf0d704e881d0d660be923fd3076db3e932007e726e3 \
|
|
128
|
+
--hash=sha256:516ea134e703e9fe26bcd1277a4b59ad30586ea90c365a87781d7887a646fe21 \
|
|
129
|
+
--hash=sha256:549e234ff32571b1f4076ac269fcce7a808d3bf98b76c8dd560e42dbc66d7d91 \
|
|
130
|
+
--hash=sha256:5d7f93296ee28f68447397bf5198428c9aeeab45705a55d53a6343455dcb2c3c \
|
|
131
|
+
--hash=sha256:5ecfccd2329e37e9b7112a888e76d9feca2347f12f37918facbb893d7bb88ee8 \
|
|
132
|
+
--hash=sha256:6276eb85ef938dc035d59b87c8a7dc559a232f954962520137529d77b18ff1df \
|
|
133
|
+
--hash=sha256:6b5063083824e5509fdba180721d55909ffacccc8adbec85268b48439423d78c \
|
|
134
|
+
--hash=sha256:6eae65d4c3d33da080cff9c4ab1f711b15c1d9760809dad6ea763f3812d254cb \
|
|
135
|
+
--hash=sha256:6f61efb26e76c45c4a227835ddeae96d83624fb0d29eb5df5b96e14ed1a0afb7 \
|
|
136
|
+
--hash=sha256:71e842ec9bc7abf543b47cf86b9a743baa95f4677d22baa4c7d5c69e49e9bc04 \
|
|
137
|
+
--hash=sha256:760f83faa07f8b64e9c33fc963d790a2edb24efb479e3520c14a45741cd9b2db \
|
|
138
|
+
--hash=sha256:78a97cf6a8839a48c49271cdcbd5cf37ca2c1d6b7fdd86cc864f302b5e9bf459 \
|
|
139
|
+
--hash=sha256:7ce938a99998ed3c8aa7e7272dca1a610401ede816d36d0693907d863b10d9ea \
|
|
140
|
+
--hash=sha256:8a6e050cb6164d3f830453754094c086ff2d0b2f3a897a1d9820f6139a1f0914 \
|
|
141
|
+
--hash=sha256:9394673a9f4de09e28b5356e7fff97d778f8abad85c9d5ac4a4b7e25a0de7717 \
|
|
142
|
+
--hash=sha256:94cd0549accc38d1494e1f8de71eca837d0509d0d44bf11d158524b0e12cebf9 \
|
|
143
|
+
--hash=sha256:a04bee9ab6a4da801eb9b51f1b708a1b5b5c9eb48c03f74198464c66f0d344ac \
|
|
144
|
+
--hash=sha256:a23582810fedb8c0bc47524558fb6c56aac3fc252cb306072fd2815da2a47c32 \
|
|
145
|
+
--hash=sha256:a2c0cd47381a3229c403062f764160d57d4d175e022c1df84e168c6251a22eec \
|
|
146
|
+
--hash=sha256:a8b17438104fed022ce745b362294d9ce35b4c2e45c1d958ad4a4b019285f4a1 \
|
|
147
|
+
--hash=sha256:a9a3008438615669153eb86b26b61e09993921ebdd75385ddd748702c5adfddb \
|
|
148
|
+
--hash=sha256:b02cf04496f6576afffef5ddd04a0cb7d49cf6be16a9059d793a30b035f6b6ac \
|
|
149
|
+
--hash=sha256:b419ae593c86b87014b9be7396b385491ad7f320bde96826d0dd174459e54665 \
|
|
150
|
+
--hash=sha256:c0a7bb1a68a5d3471880e264621346c48665b3bf1c3759d682fc0864c540bd9e \
|
|
151
|
+
--hash=sha256:c70cc23f12726be8f8bc72e41d5065d77e4515efae3690326764ea1b07845cfb \
|
|
152
|
+
--hash=sha256:c8daeb2d2174beb4575b77482320303f3d39b8e81153da4f0fb08eb5fe86a6c5 \
|
|
153
|
+
--hash=sha256:cb3d760a6117f621261d662bccc8ef5bc32ca673e037c83fbe565324f5c46936 \
|
|
154
|
+
--hash=sha256:d55f3dffadd674514ad19451161118fd010988540cee43d8bc20675e775925de \
|
|
155
|
+
--hash=sha256:d89c3468de4cdc4f08a57e214384d0471911a3830fcdaf7a8cc587e42a866372 \
|
|
156
|
+
--hash=sha256:db391fa7c66df6762ee3f00c95a89e6d428f4d60e7abc8328f4fe155b5ac6e54 \
|
|
157
|
+
--hash=sha256:dfb781ff7eaa91a6f7fd41776ec37c5853c795d3b358d4896fdbb5df168af422 \
|
|
158
|
+
--hash=sha256:e5bf0ed4490068a2e72ac03d786693adeb909981cc596425d09032d372bcc849 \
|
|
159
|
+
--hash=sha256:e7aec276d68421f9574040c26e2a7c3771060bc0cff408bae1dcb19d3ab1e63c \
|
|
160
|
+
--hash=sha256:ef639cb3372f69ec44915fafcd6698b6cc78fbe0c2ea41be867f6ed612811963 \
|
|
161
|
+
--hash=sha256:f260d0d41e9b4da1ed1e0f1ce571f97fe370b152ab18778e9e8f67d6af432018
|
|
162
162
|
# via authlib
|
|
163
163
|
exceptiongroup==1.3.0 ; python_full_version < '3.11' \
|
|
164
164
|
--hash=sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10 \
|
|
@@ -176,9 +176,9 @@ httpx==0.28.1 \
|
|
|
176
176
|
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
|
|
177
177
|
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
|
|
178
178
|
# via planqk-service-sdk
|
|
179
|
-
idna==3.
|
|
180
|
-
--hash=sha256:
|
|
181
|
-
--hash=sha256:
|
|
179
|
+
idna==3.11 \
|
|
180
|
+
--hash=sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea \
|
|
181
|
+
--hash=sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902
|
|
182
182
|
# via
|
|
183
183
|
# anyio
|
|
184
184
|
# httpx
|
package/src/index.test.ts
CHANGED
|
@@ -14,6 +14,16 @@ console.log(`Service endpoint: ${serviceEndpoint}`)
|
|
|
14
14
|
console.log(`Consumer key: ${consumerKey}`)
|
|
15
15
|
console.log(`Consumer secret: ${consumerSecret}`)
|
|
16
16
|
|
|
17
|
+
test.skip('integration test: retrieve logs', {timeout: 5 * 60 * 1000}, async () => {
|
|
18
|
+
const client = new PlanqkServiceClient(serviceEndpoint!, consumerKey, consumerSecret, tokenEndpoint);
|
|
19
|
+
|
|
20
|
+
const serviceExecutions = await client.api().getServiceExecutions()
|
|
21
|
+
console.log(serviceExecutions)
|
|
22
|
+
|
|
23
|
+
const logs = await client.api().getLogs(serviceExecutions[0].id!)
|
|
24
|
+
console.log(logs)
|
|
25
|
+
})
|
|
26
|
+
|
|
17
27
|
test.skip('integration test: coin toss', {timeout: 5 * 60 * 1000}, async () => {
|
|
18
28
|
const client = new PlanqkServiceClient(serviceEndpoint!, consumerKey, consumerSecret, tokenEndpoint);
|
|
19
29
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import * as environments from "./environments.js";
|
|
4
|
+
import * as core from "./core/index.js";
|
|
5
|
+
|
|
6
|
+
export interface BaseClientOptions {
|
|
7
|
+
environment?: core.Supplier<environments.PlanqkServiceApiEnvironment | string>;
|
|
8
|
+
/** Specify a custom URL to connect the client to. */
|
|
9
|
+
baseUrl?: core.Supplier<string>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
/** Additional headers to include in requests. */
|
|
12
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
13
|
+
/** The default maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The default number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface BaseRequestOptions {
|
|
20
|
+
/** The maximum time to wait for a response in seconds. */
|
|
21
|
+
timeoutInSeconds?: number;
|
|
22
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
23
|
+
maxRetries?: number;
|
|
24
|
+
/** A hook to abort the request. */
|
|
25
|
+
abortSignal?: AbortSignal;
|
|
26
|
+
/** Additional query string parameters to include in the request. */
|
|
27
|
+
queryParams?: Record<string, unknown>;
|
|
28
|
+
/** Additional headers to include in the request. */
|
|
29
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
30
|
+
}
|
package/src/sdk/Client.ts
CHANGED
|
@@ -1,32 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
4
2
|
|
|
5
|
-
import
|
|
3
|
+
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
6
4
|
import * as core from "./core/index.js";
|
|
7
5
|
import { mergeHeaders } from "./core/headers.js";
|
|
6
|
+
import * as environments from "./environments.js";
|
|
8
7
|
import { ServiceApi } from "./api/resources/serviceApi/client/Client.js";
|
|
9
8
|
|
|
10
9
|
export declare namespace PlanqkServiceApiClient {
|
|
11
|
-
export interface Options {
|
|
12
|
-
environment?: core.Supplier<environments.PlanqkServiceApiEnvironment | string>;
|
|
13
|
-
/** Specify a custom URL to connect the client to. */
|
|
14
|
-
baseUrl?: core.Supplier<string>;
|
|
15
|
-
token?: core.Supplier<core.BearerToken | undefined>;
|
|
16
|
-
/** Additional headers to include in requests. */
|
|
17
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
18
|
-
}
|
|
10
|
+
export interface Options extends BaseClientOptions {}
|
|
19
11
|
|
|
20
|
-
export interface RequestOptions {
|
|
21
|
-
/** The maximum time to wait for a response in seconds. */
|
|
22
|
-
timeoutInSeconds?: number;
|
|
23
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
24
|
-
maxRetries?: number;
|
|
25
|
-
/** A hook to abort the request. */
|
|
26
|
-
abortSignal?: AbortSignal;
|
|
27
|
-
/** Additional headers to include in the request. */
|
|
28
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
29
|
-
}
|
|
12
|
+
export interface RequestOptions extends BaseRequestOptions {}
|
|
30
13
|
}
|
|
31
14
|
|
|
32
15
|
export class PlanqkServiceApiClient {
|
package/src/sdk/api/index.ts
CHANGED