@distilled.cloud/stackit 1.0.0-rc.15 → 1.0.0-rc.16

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 (285) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +32 -28
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts +13 -13
  6. package/lib/errors.d.ts.map +1 -1
  7. package/lib/errors.js +16 -16
  8. package/lib/errors.js.map +1 -1
  9. package/lib/index.d.ts +2 -2
  10. package/lib/index.js +22 -22
  11. package/lib/pagination.d.ts +1 -1
  12. package/lib/pagination.js +15 -15
  13. package/lib/protocol.d.ts +3 -3
  14. package/lib/protocol.d.ts.map +1 -1
  15. package/lib/protocol.js +31 -29
  16. package/lib/protocol.js.map +1 -1
  17. package/lib/retry.d.ts +1 -1
  18. package/lib/retry.d.ts.map +1 -1
  19. package/lib/retry.js +24 -23
  20. package/lib/retry.js.map +1 -1
  21. package/lib/services/alb.d.ts +10 -87
  22. package/lib/services/alb.d.ts.map +1 -1
  23. package/lib/services/alb.js +73 -502
  24. package/lib/services/alb_waf.d.ts +9 -82
  25. package/lib/services/alb_waf.d.ts.map +1 -1
  26. package/lib/services/alb_waf.js +84 -510
  27. package/lib/services/authorization.d.ts +5 -47
  28. package/lib/services/authorization.d.ts.map +1 -1
  29. package/lib/services/authorization.js +67 -314
  30. package/lib/services/automation.d.ts +7 -47
  31. package/lib/services/automation.d.ts.map +1 -1
  32. package/lib/services/automation.js +58 -353
  33. package/lib/services/cdn.d.ts +8 -220
  34. package/lib/services/cdn.d.ts.map +1 -1
  35. package/lib/services/cdn.js +81 -896
  36. package/lib/services/certificates.d.ts +8 -27
  37. package/lib/services/certificates.d.ts.map +1 -1
  38. package/lib/services/certificates.js +45 -171
  39. package/lib/services/cost.d.ts +10 -37
  40. package/lib/services/cost.d.ts.map +1 -1
  41. package/lib/services/cost.js +39 -169
  42. package/lib/services/dns.d.ts +9 -104
  43. package/lib/services/dns.d.ts.map +1 -1
  44. package/lib/services/dns.js +98 -714
  45. package/lib/services/dremio.d.ts +8 -50
  46. package/lib/services/dremio.d.ts.map +1 -1
  47. package/lib/services/dremio.js +56 -307
  48. package/lib/services/edge.d.ts +7 -40
  49. package/lib/services/edge.d.ts.map +1 -1
  50. package/lib/services/edge.js +66 -347
  51. package/lib/services/functions.d.ts +1 -48
  52. package/lib/services/functions.d.ts.map +1 -1
  53. package/lib/services/functions.js +64 -393
  54. package/lib/services/git.d.ts +8 -61
  55. package/lib/services/git.d.ts.map +1 -1
  56. package/lib/services/git.js +87 -510
  57. package/lib/services/iaas.d.ts +9 -337
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +409 -3532
  60. package/lib/services/intake.d.ts +8 -75
  61. package/lib/services/intake.d.ts.map +1 -1
  62. package/lib/services/intake.js +74 -465
  63. package/lib/services/kms.d.ts +9 -92
  64. package/lib/services/kms.d.ts.map +1 -1
  65. package/lib/services/kms.js +95 -650
  66. package/lib/services/lb_ip_lists.d.ts +9 -25
  67. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  68. package/lib/services/lb_ip_lists.js +45 -146
  69. package/lib/services/load_balancer.d.ts +10 -81
  70. package/lib/services/load_balancer.d.ts.map +1 -1
  71. package/lib/services/load_balancer.js +76 -486
  72. package/lib/services/logme.d.ts +8 -69
  73. package/lib/services/logme.d.ts.map +1 -1
  74. package/lib/services/logme.js +82 -564
  75. package/lib/services/logs.d.ts +8 -64
  76. package/lib/services/logs.d.ts.map +1 -1
  77. package/lib/services/logs.js +84 -465
  78. package/lib/services/mariadb.d.ts +8 -65
  79. package/lib/services/mariadb.d.ts.map +1 -1
  80. package/lib/services/mariadb.js +84 -541
  81. package/lib/services/model_experiments.d.ts +9 -48
  82. package/lib/services/model_experiments.d.ts.map +1 -1
  83. package/lib/services/model_experiments.js +66 -325
  84. package/lib/services/model_serving.d.ts +7 -47
  85. package/lib/services/model_serving.d.ts.map +1 -1
  86. package/lib/services/model_serving.js +55 -277
  87. package/lib/services/mongodb_flex.d.ts +8 -137
  88. package/lib/services/mongodb_flex.d.ts.map +1 -1
  89. package/lib/services/mongodb_flex.js +102 -793
  90. package/lib/services/object_storage.d.ts +12 -59
  91. package/lib/services/object_storage.d.ts.map +1 -1
  92. package/lib/services/object_storage.js +93 -528
  93. package/lib/services/observability.d.ts +8 -407
  94. package/lib/services/observability.d.ts.map +1 -1
  95. package/lib/services/observability.js +375 -3148
  96. package/lib/services/opensearch.d.ts +8 -71
  97. package/lib/services/opensearch.d.ts.map +1 -1
  98. package/lib/services/opensearch.js +85 -553
  99. package/lib/services/pim.d.ts +12 -108
  100. package/lib/services/pim.d.ts.map +1 -1
  101. package/lib/services/pim.js +81 -726
  102. package/lib/services/postgres_flex.d.ts +14 -136
  103. package/lib/services/postgres_flex.d.ts.map +1 -1
  104. package/lib/services/postgres_flex.js +114 -841
  105. package/lib/services/pubsub.d.ts +11 -73
  106. package/lib/services/pubsub.d.ts.map +1 -1
  107. package/lib/services/pubsub.js +92 -507
  108. package/lib/services/rabbitmq.d.ts +8 -76
  109. package/lib/services/rabbitmq.d.ts.map +1 -1
  110. package/lib/services/rabbitmq.js +88 -564
  111. package/lib/services/registry.d.ts +10 -28
  112. package/lib/services/registry.d.ts.map +1 -1
  113. package/lib/services/registry.js +49 -189
  114. package/lib/services/resource_manager.d.ts +9 -61
  115. package/lib/services/resource_manager.d.ts.map +1 -1
  116. package/lib/services/resource_manager.js +92 -462
  117. package/lib/services/run_command.d.ts +5 -28
  118. package/lib/services/run_command.d.ts.map +1 -1
  119. package/lib/services/run_command.js +38 -176
  120. package/lib/services/sca.d.ts +8 -79
  121. package/lib/services/sca.d.ts.map +1 -1
  122. package/lib/services/sca.js +63 -435
  123. package/lib/services/scf.d.ts +8 -64
  124. package/lib/services/scf.d.ts.map +1 -1
  125. package/lib/services/scf.js +99 -660
  126. package/lib/services/secrets_manager.d.ts +8 -61
  127. package/lib/services/secrets_manager.d.ts.map +1 -1
  128. package/lib/services/secrets_manager.js +99 -601
  129. package/lib/services/server_backup.d.ts +7 -50
  130. package/lib/services/server_backup.d.ts.map +1 -1
  131. package/lib/services/server_backup.js +70 -444
  132. package/lib/services/server_update.d.ts +7 -35
  133. package/lib/services/server_update.d.ts.map +1 -1
  134. package/lib/services/server_update.js +58 -342
  135. package/lib/services/service_account.d.ts +10 -68
  136. package/lib/services/service_account.d.ts.map +1 -1
  137. package/lib/services/service_account.js +75 -495
  138. package/lib/services/service_enablement.d.ts +7 -29
  139. package/lib/services/service_enablement.d.ts.map +1 -1
  140. package/lib/services/service_enablement.js +40 -147
  141. package/lib/services/sfs.d.ts +4 -96
  142. package/lib/services/sfs.d.ts.map +1 -1
  143. package/lib/services/sfs.js +117 -782
  144. package/lib/services/ske.d.ts +9 -108
  145. package/lib/services/ske.d.ts.map +1 -1
  146. package/lib/services/ske.js +67 -549
  147. package/lib/services/sqlserverflex.d.ts +11 -152
  148. package/lib/services/sqlserverflex.d.ts.map +1 -1
  149. package/lib/services/sqlserverflex.js +112 -925
  150. package/lib/services/stackit_marketplace.d.ts +9 -38
  151. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  152. package/lib/services/stackit_marketplace.js +64 -369
  153. package/lib/services/telemetry_link.d.ts +8 -61
  154. package/lib/services/telemetry_link.d.ts.map +1 -1
  155. package/lib/services/telemetry_link.js +81 -522
  156. package/lib/services/telemetry_router.d.ts +8 -72
  157. package/lib/services/telemetry_router.d.ts.map +1 -1
  158. package/lib/services/telemetry_router.js +73 -474
  159. package/lib/services/ufw.d.ts +7 -42
  160. package/lib/services/ufw.d.ts.map +1 -1
  161. package/lib/services/ufw.js +55 -269
  162. package/lib/services/valkey.d.ts +8 -68
  163. package/lib/services/valkey.d.ts.map +1 -1
  164. package/lib/services/valkey.js +85 -557
  165. package/lib/services/vpn.d.ts +21 -186
  166. package/lib/services/vpn.d.ts.map +1 -1
  167. package/lib/services/vpn.js +105 -920
  168. package/lib/services/workflows.d.ts +15 -84
  169. package/lib/services/workflows.d.ts.map +1 -1
  170. package/lib/services/workflows.js +67 -497
  171. package/lib/traits.d.ts +1 -1
  172. package/lib/traits.js +10 -10
  173. package/package.json +13 -9
  174. package/src/credentials.ts +21 -18
  175. package/src/errors.ts +10 -14
  176. package/src/index.ts +2 -2
  177. package/src/pagination.ts +2 -2
  178. package/src/protocol.ts +12 -9
  179. package/src/retry.ts +6 -4
  180. package/src/services/alb.ts +599 -655
  181. package/src/services/alb_waf.ts +597 -637
  182. package/src/services/authorization.ts +400 -383
  183. package/src/services/automation.ts +422 -405
  184. package/src/services/cdn.ts +817 -1375
  185. package/src/services/certificates.ts +209 -190
  186. package/src/services/cost.ts +100 -207
  187. package/src/services/dns.ts +793 -833
  188. package/src/services/dremio.ts +356 -349
  189. package/src/services/edge.ts +406 -366
  190. package/src/services/functions.ts +465 -463
  191. package/src/services/git.ts +602 -547
  192. package/src/services/iaas.ts +3931 -3821
  193. package/src/services/intake.ts +521 -549
  194. package/src/services/kms.ts +715 -692
  195. package/src/services/lb_ip_lists.ts +173 -152
  196. package/src/services/load_balancer.ts +576 -619
  197. package/src/services/logme.ts +696 -641
  198. package/src/services/logs.ts +510 -493
  199. package/src/services/mariadb.ts +671 -604
  200. package/src/services/model_experiments.ts +343 -356
  201. package/src/services/model_serving.ts +337 -328
  202. package/src/services/mongodb_flex.ts +955 -1007
  203. package/src/services/object_storage.ts +614 -557
  204. package/src/services/observability.ts +3469 -3866
  205. package/src/services/opensearch.ts +679 -628
  206. package/src/services/pim.ts +672 -909
  207. package/src/services/postgres_flex.ts +966 -986
  208. package/src/services/pubsub.ts +524 -546
  209. package/src/services/rabbitmq.ts +693 -654
  210. package/src/services/registry.ts +227 -194
  211. package/src/services/resource_manager.ts +520 -517
  212. package/src/services/run_command.ts +219 -211
  213. package/src/services/sca.ts +543 -570
  214. package/src/services/scf.ts +790 -716
  215. package/src/services/secrets_manager.ts +707 -622
  216. package/src/services/server_backup.ts +490 -475
  217. package/src/services/server_update.ts +353 -356
  218. package/src/services/service_account.ts +515 -553
  219. package/src/services/service_enablement.ts +162 -166
  220. package/src/services/sfs.ts +879 -958
  221. package/src/services/ske.ts +694 -769
  222. package/src/services/sqlserverflex.ts +1042 -1117
  223. package/src/services/stackit_marketplace.ts +377 -372
  224. package/src/services/telemetry_link.ts +530 -531
  225. package/src/services/telemetry_router.ts +509 -534
  226. package/src/services/ufw.ts +305 -307
  227. package/src/services/valkey.ts +684 -629
  228. package/src/services/vpn.ts +935 -1195
  229. package/src/services/workflows.ts +426 -586
  230. package/src/traits.ts +1 -1
  231. package/lib/protocol.test.d.ts +0 -2
  232. package/lib/protocol.test.d.ts.map +0 -1
  233. package/lib/protocol.test.js +0 -181
  234. package/lib/protocol.test.js.map +0 -1
  235. package/lib/services/alb.js.map +0 -1
  236. package/lib/services/alb_waf.js.map +0 -1
  237. package/lib/services/authorization.js.map +0 -1
  238. package/lib/services/automation.js.map +0 -1
  239. package/lib/services/cdn.js.map +0 -1
  240. package/lib/services/certificates.js.map +0 -1
  241. package/lib/services/cost.js.map +0 -1
  242. package/lib/services/dns.js.map +0 -1
  243. package/lib/services/dremio.js.map +0 -1
  244. package/lib/services/edge.js.map +0 -1
  245. package/lib/services/functions.js.map +0 -1
  246. package/lib/services/git.js.map +0 -1
  247. package/lib/services/iaas.js.map +0 -1
  248. package/lib/services/intake.js.map +0 -1
  249. package/lib/services/kms.js.map +0 -1
  250. package/lib/services/lb_ip_lists.js.map +0 -1
  251. package/lib/services/load_balancer.js.map +0 -1
  252. package/lib/services/logme.js.map +0 -1
  253. package/lib/services/logs.js.map +0 -1
  254. package/lib/services/mariadb.js.map +0 -1
  255. package/lib/services/model_experiments.js.map +0 -1
  256. package/lib/services/model_serving.js.map +0 -1
  257. package/lib/services/mongodb_flex.js.map +0 -1
  258. package/lib/services/object_storage.js.map +0 -1
  259. package/lib/services/observability.js.map +0 -1
  260. package/lib/services/opensearch.js.map +0 -1
  261. package/lib/services/pim.js.map +0 -1
  262. package/lib/services/postgres_flex.js.map +0 -1
  263. package/lib/services/pubsub.js.map +0 -1
  264. package/lib/services/rabbitmq.js.map +0 -1
  265. package/lib/services/registry.js.map +0 -1
  266. package/lib/services/resource_manager.js.map +0 -1
  267. package/lib/services/run_command.js.map +0 -1
  268. package/lib/services/sca.js.map +0 -1
  269. package/lib/services/scf.js.map +0 -1
  270. package/lib/services/secrets_manager.js.map +0 -1
  271. package/lib/services/server_backup.js.map +0 -1
  272. package/lib/services/server_update.js.map +0 -1
  273. package/lib/services/service_account.js.map +0 -1
  274. package/lib/services/service_enablement.js.map +0 -1
  275. package/lib/services/sfs.js.map +0 -1
  276. package/lib/services/ske.js.map +0 -1
  277. package/lib/services/sqlserverflex.js.map +0 -1
  278. package/lib/services/stackit_marketplace.js.map +0 -1
  279. package/lib/services/telemetry_link.js.map +0 -1
  280. package/lib/services/telemetry_router.js.map +0 -1
  281. package/lib/services/ufw.js.map +0 -1
  282. package/lib/services/valkey.js.map +0 -1
  283. package/lib/services/vpn.js.map +0 -1
  284. package/lib/services/workflows.js.map +0 -1
  285. package/src/protocol.test.ts +0 -304
@@ -1,399 +1,70 @@
1
1
  import * as API from "@distilled.cloud/core/api";
2
2
  // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-stackit). Do not edit.
3
- import * as S from "@distilled.cloud/core/schema";
4
- import * as Redacted from "effect/Redacted";
3
+ import * as S from "@distilled.cloud/core/schema-lite";
4
+ import * as __L from "@distilled.cloud/core/schema-lite";
5
5
  import { UnknownStackitError } from "../errors.js";
6
6
  import { StackitProtocol } from "../protocol.js";
7
7
  import * as Retry from "../retry.js";
8
8
  import * as T from "../traits.js";
9
- export const CreateFunctionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
10
- export const CreateFunctionRequestState = S.String;
11
- export const CreateFunctionRequestUrlList = /*@__PURE__*/ S.Array(S.String);
12
- export const CreateFunctionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
13
- projectId: S.String.pipe(T.Label()),
14
- created_at: S.optional(S.String),
15
- current_revision: S.optional(S.String),
16
- id: S.optional(S.String),
17
- labels: S.optional(CreateFunctionRequestLabelsMap),
18
- name: S.String,
19
- state: S.optional(CreateFunctionRequestState),
20
- state_error: S.optional(S.String),
21
- updated_at: S.optional(S.String),
22
- url: S.optional(CreateFunctionRequestUrlList),
23
- }).pipe(T.Http({
24
- method: "POST",
25
- uri: "/v1alpha/projects/{projectId}/functions",
26
- code: 200,
27
- baseUrl: "https://functions.api.{region}stackit.cloud",
28
- }))).annotate({ identifier: "CreateFunctionRequest" });
29
- export const FunctionLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
30
- export const FunctionState = S.String;
31
- export const FunctionUrlList = /*@__PURE__*/ S.Array(S.String);
32
- export const Function = /*@__PURE__*/ S.suspend(() => S.Struct({
33
- created_at: S.optional(S.String),
34
- current_revision: S.optional(S.String),
35
- id: S.optional(S.String),
36
- labels: S.optional(FunctionLabelsMap),
37
- name: S.String,
38
- state: S.optional(FunctionState),
39
- state_error: S.optional(S.String),
40
- updated_at: S.optional(S.String),
41
- url: S.optional(FunctionUrlList),
42
- })).annotate({ identifier: "Function" });
43
- export const CreateFunctionRevisionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
44
- export const ResourceLimits = /*@__PURE__*/ S.suspend(() => S.Struct({
45
- concurrency: S.Number,
46
- plan: S.String,
47
- })).annotate({ identifier: "ResourceLimits" });
48
- export const CreateFunctionRevisionRequestState = S.String;
49
- export const RevisionVariable = /*@__PURE__*/ S.suspend(() => S.Struct({
50
- name: S.String,
51
- value: S.optional(S.NullOr(S.String)),
52
- vault_reference: S.optional(S.NullOr(S.String)),
53
- })).annotate({ identifier: "RevisionVariable" });
54
- export const CreateFunctionRevisionRequestVariablesList = /*@__PURE__*/ S.Array(RevisionVariable);
55
- export const CreateFunctionRevisionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
56
- projectId: S.String.pipe(T.Label()),
57
- functionId: S.String.pipe(T.Label()),
58
- created_at: S.optional(S.String),
59
- digest: S.optional(S.String),
60
- function_id: S.optional(S.String),
61
- id: S.optional(S.String),
62
- labels: S.optional(CreateFunctionRevisionRequestLabelsMap),
63
- limits: ResourceLimits,
64
- message: S.optional(S.String),
65
- name: S.optional(S.String),
66
- oci_pull_credential_id: S.optional(S.String),
67
- oci_reference: S.String,
68
- state: S.optional(CreateFunctionRevisionRequestState),
69
- state_error: S.optional(S.String),
70
- updated_at: S.optional(S.String),
71
- variables: S.optional(CreateFunctionRevisionRequestVariablesList),
72
- version: S.optional(S.Number),
73
- }).pipe(T.Http({
74
- method: "POST",
75
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
76
- code: 200,
77
- baseUrl: "https://functions.api.{region}stackit.cloud",
78
- }))).annotate({
79
- identifier: "CreateFunctionRevisionRequest",
80
- });
81
- export const RevisionLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
82
- export const RevisionState = S.String;
83
- export const RevisionVariablesList = /*@__PURE__*/ S.Array(RevisionVariable);
84
- export const Revision = /*@__PURE__*/ S.suspend(() => S.Struct({
85
- created_at: S.optional(S.String),
86
- digest: S.optional(S.String),
87
- function_id: S.optional(S.String),
88
- id: S.optional(S.String),
89
- labels: S.optional(RevisionLabelsMap),
90
- limits: ResourceLimits,
91
- message: S.optional(S.String),
92
- name: S.optional(S.String),
93
- oci_pull_credential_id: S.optional(S.String),
94
- oci_reference: S.String,
95
- state: S.optional(RevisionState),
96
- state_error: S.optional(S.String),
97
- updated_at: S.optional(S.String),
98
- variables: S.optional(RevisionVariablesList),
99
- version: S.optional(S.Number),
100
- })).annotate({ identifier: "Revision" });
101
- export const CreatePullCredentialRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
102
- export const CreatePullCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
103
- projectId: S.String.pipe(T.Label()),
104
- address: S.String,
105
- id: S.optional(S.String),
106
- labels: S.optional(CreatePullCredentialRequestLabelsMap),
107
- name: S.optional(S.String),
108
- password: S.String.pipe(T.SensitiveValue({})),
109
- username: S.String,
110
- }).pipe(T.Http({
111
- method: "POST",
112
- uri: "/v1alpha/projects/{projectId}/pull-credentials",
113
- code: 200,
114
- baseUrl: "https://functions.api.{region}stackit.cloud",
115
- }))).annotate({
116
- identifier: "CreatePullCredentialRequest",
117
- });
118
- export const PullCredentialLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
119
- export const PullCredential = /*@__PURE__*/ S.suspend(() => S.Struct({
120
- address: S.String,
121
- id: S.optional(S.String),
122
- labels: S.optional(PullCredentialLabelsMap),
123
- name: S.optional(S.String),
124
- password: S.String.pipe(T.SensitiveValue({})),
125
- username: S.String,
126
- })).annotate({ identifier: "PullCredential" });
127
- export const DeleteFunctionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
128
- projectId: S.String.pipe(T.Label()),
129
- functionId: S.String.pipe(T.Label()),
130
- }).pipe(T.Http({
131
- method: "DELETE",
132
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
133
- code: 200,
134
- baseUrl: "https://functions.api.{region}stackit.cloud",
135
- }))).annotate({ identifier: "DeleteFunctionRequest" });
136
- export const DeleteFunctionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
137
- identifier: "DeleteFunctionResponse",
138
- });
139
- export const DeletePullCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
140
- projectId: S.String.pipe(T.Label()),
141
- pullCredentialId: S.String.pipe(T.Label()),
142
- }).pipe(T.Http({
143
- method: "DELETE",
144
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
145
- code: 200,
146
- baseUrl: "https://functions.api.{region}stackit.cloud",
147
- }))).annotate({
148
- identifier: "DeletePullCredentialRequest",
149
- });
150
- export const DeletePullCredentialResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
151
- identifier: "DeletePullCredentialResponse",
152
- });
153
- export const DeleteRevisionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
154
- projectId: S.String.pipe(T.Label()),
155
- functionId: S.String.pipe(T.Label()),
156
- revisionId: S.String.pipe(T.Label()),
157
- }).pipe(T.Http({
158
- method: "DELETE",
159
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
160
- code: 200,
161
- baseUrl: "https://functions.api.{region}stackit.cloud",
162
- }))).annotate({ identifier: "DeleteRevisionRequest" });
163
- export const DeleteRevisionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
164
- identifier: "DeleteRevisionResponse",
165
- });
166
- export const GetFunctionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
167
- projectId: S.String.pipe(T.Label()),
168
- functionId: S.String.pipe(T.Label()),
169
- }).pipe(T.Http({
170
- method: "GET",
171
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
172
- code: 200,
173
- baseUrl: "https://functions.api.{region}stackit.cloud",
174
- }))).annotate({ identifier: "GetFunctionRequest" });
175
- export const GetPullCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
176
- projectId: S.String.pipe(T.Label()),
177
- pullCredentialId: S.String.pipe(T.Label()),
178
- }).pipe(T.Http({
179
- method: "GET",
180
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
181
- code: 200,
182
- baseUrl: "https://functions.api.{region}stackit.cloud",
183
- }))).annotate({ identifier: "GetPullCredentialRequest" });
184
- export const GetRevisionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
185
- projectId: S.String.pipe(T.Label()),
186
- functionId: S.String.pipe(T.Label()),
187
- revisionId: S.String.pipe(T.Label()),
188
- }).pipe(T.Http({
189
- method: "GET",
190
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
191
- code: 200,
192
- baseUrl: "https://functions.api.{region}stackit.cloud",
193
- }))).annotate({ identifier: "GetRevisionRequest" });
194
- export const ListFunctionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
195
- projectId: S.String.pipe(T.Label()),
196
- }).pipe(T.Http({
197
- method: "GET",
198
- uri: "/v1alpha/projects/{projectId}/functions",
199
- code: 200,
200
- baseUrl: "https://functions.api.{region}stackit.cloud",
201
- }))).annotate({ identifier: "ListFunctionsRequest" });
202
- export const ListFunctionsFunctionsList = /*@__PURE__*/ S.Array(Function);
203
- export const ListFunctions = /*@__PURE__*/ S.suspend(() => S.Struct({
204
- functions: S.optional(ListFunctionsFunctionsList),
205
- next_page_token: S.optional(S.String),
206
- })).annotate({ identifier: "ListFunctions" });
207
- export const ListPullCredentialsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
208
- projectId: S.String.pipe(T.Label()),
209
- }).pipe(T.Http({
210
- method: "GET",
211
- uri: "/v1alpha/projects/{projectId}/pull-credentials",
212
- code: 200,
213
- baseUrl: "https://functions.api.{region}stackit.cloud",
214
- }))).annotate({
215
- identifier: "ListPullCredentialsRequest",
216
- });
217
- export const ListPullCredentialsPullCredentialsList = /*@__PURE__*/ S.Array(PullCredential);
218
- export const ListPullCredentials = /*@__PURE__*/ S.suspend(() => S.Struct({
219
- next_page_token: S.optional(S.String),
220
- pull_credentials: S.optional(ListPullCredentialsPullCredentialsList),
221
- })).annotate({ identifier: "ListPullCredentials" });
222
- export const ListRevisionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
223
- projectId: S.String.pipe(T.Label()),
224
- functionId: S.String.pipe(T.Label()),
225
- }).pipe(T.Http({
226
- method: "GET",
227
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions",
228
- code: 200,
229
- baseUrl: "https://functions.api.{region}stackit.cloud",
230
- }))).annotate({ identifier: "ListRevisionsRequest" });
231
- export const ListRevisionsRevisionListList = /*@__PURE__*/ S.Array(Revision);
232
- export const ListRevisions = /*@__PURE__*/ S.suspend(() => S.Struct({
233
- maxItems: S.optional(S.Number),
234
- next_page_token: S.optional(S.String),
235
- revisionList: S.optional(ListRevisionsRevisionListList),
236
- })).annotate({ identifier: "ListRevisions" });
237
- export const UpdateFunctionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
238
- export const UpdateFunctionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
239
- projectId: S.String.pipe(T.Label()),
240
- functionId: S.String.pipe(T.Label()),
241
- labels: S.optional(UpdateFunctionRequestLabelsMap),
242
- name: S.optional(S.String),
243
- }).pipe(T.Http({
244
- method: "PATCH",
245
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}",
246
- code: 200,
247
- baseUrl: "https://functions.api.{region}stackit.cloud",
248
- }))).annotate({ identifier: "UpdateFunctionRequest" });
249
- export const UpdatePullCredentialRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
250
- export const UpdatePullCredentialRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
251
- projectId: S.String.pipe(T.Label()),
252
- pullCredentialId: S.String.pipe(T.Label()),
253
- address: S.optional(S.String),
254
- labels: S.optional(UpdatePullCredentialRequestLabelsMap),
255
- name: S.optional(S.String),
256
- password: S.optional(S.String.pipe(T.SensitiveValue({}))),
257
- username: S.optional(S.String),
258
- }).pipe(T.Http({
259
- method: "PATCH",
260
- uri: "/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",
261
- code: 200,
262
- baseUrl: "https://functions.api.{region}stackit.cloud",
263
- }))).annotate({
264
- identifier: "UpdatePullCredentialRequest",
265
- });
266
- export const UpdateRevisionRequestLabelsMap = /*@__PURE__*/ S.Record(S.String, S.String);
267
- export const UpdateRevisionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
268
- projectId: S.String.pipe(T.Label()),
269
- functionId: S.String.pipe(T.Label()),
270
- revisionId: S.String.pipe(T.Label()),
271
- labels: S.optional(UpdateRevisionRequestLabelsMap),
272
- name: S.optional(S.String),
273
- }).pipe(T.Http({
274
- method: "PATCH",
275
- uri: "/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",
276
- code: 200,
277
- baseUrl: "https://functions.api.{region}stackit.cloud",
278
- }))).annotate({ identifier: "UpdateRevisionRequest" });
279
- /** Creates a new function. */
280
- export const createFunction = /*@__PURE__*/ API.make(() => ({
281
- input: CreateFunctionRequest,
282
- output: Function,
283
- errors: [UnknownStackitError],
284
- protocol: StackitProtocol,
285
- retry: Retry.Retry,
286
- }));
287
- /** Create a new function revision */
288
- export const createFunctionRevision = /*@__PURE__*/ API.make(() => ({
289
- input: CreateFunctionRevisionRequest,
290
- output: Revision,
291
- errors: [UnknownStackitError],
292
- protocol: StackitProtocol,
293
- retry: Retry.Retry,
294
- }));
295
- /** Create OCI image registry pull credential definition Create a new OCI image registry pull credential configuration. */
296
- export const createPullCredential = /*@__PURE__*/ API.make(() => ({
297
- input: CreatePullCredentialRequest,
298
- output: PullCredential,
299
- errors: [UnknownStackitError],
300
- protocol: StackitProtocol,
301
- retry: Retry.Retry,
302
- }));
303
- /** Deletes a specific function. */
304
- export const deleteFunction = /*@__PURE__*/ API.make(() => ({
305
- input: DeleteFunctionRequest,
306
- output: DeleteFunctionResponse,
307
- errors: [UnknownStackitError],
308
- protocol: StackitProtocol,
309
- retry: Retry.Retry,
310
- }));
311
- /** Remove OCI image registry pull credential definition Removes the OCI image pull credential registry configuration. */
312
- export const deletePullCredential = /*@__PURE__*/ API.make(() => ({
313
- input: DeletePullCredentialRequest,
314
- output: DeletePullCredentialResponse,
315
- errors: [UnknownStackitError],
316
- protocol: StackitProtocol,
317
- retry: Retry.Retry,
318
- }));
319
- /** Deletes a specific revision. */
320
- export const deleteRevision = /*@__PURE__*/ API.make(() => ({
321
- input: DeleteRevisionRequest,
322
- output: DeleteRevisionResponse,
323
- errors: [UnknownStackitError],
324
- protocol: StackitProtocol,
325
- retry: Retry.Retry,
326
- }));
327
- /** Retrieves details of a specific function. */
328
- export const getFunction = /*@__PURE__*/ API.make(() => ({
329
- input: GetFunctionRequest,
330
- output: Function,
331
- errors: [UnknownStackitError],
332
- protocol: StackitProtocol,
333
- retry: Retry.Retry,
334
- }));
335
- /** Get OCI image registry pull credential definition Returns the current OCI image registry pull credential configuration. */
336
- export const getPullCredential = /*@__PURE__*/ API.make(() => ({
337
- input: GetPullCredentialRequest,
338
- output: PullCredential,
339
- errors: [UnknownStackitError],
340
- protocol: StackitProtocol,
341
- retry: Retry.Retry,
342
- }));
343
- /** Retrieves a specific revision. */
344
- export const getRevision = /*@__PURE__*/ API.make(() => ({
345
- input: GetRevisionRequest,
346
- output: Revision,
347
- errors: [UnknownStackitError],
348
- protocol: StackitProtocol,
349
- retry: Retry.Retry,
350
- }));
351
- /** Lists all functions. */
352
- export const listFunctions2 = /*@__PURE__*/ API.make(() => ({
353
- input: ListFunctionsRequest,
354
- output: ListFunctions,
355
- errors: [UnknownStackitError],
356
- protocol: StackitProtocol,
357
- retry: Retry.Retry,
358
- }));
359
- /** List OCI image registry pull credential definitions Returns all the current OCI image registry pull credential configurations for a project. */
360
- export const listPullCredentials2 = /*@__PURE__*/ API.make(() => ({
361
- input: ListPullCredentialsRequest,
362
- output: ListPullCredentials,
363
- errors: [UnknownStackitError],
364
- protocol: StackitProtocol,
365
- retry: Retry.Retry,
366
- }));
367
- /** Lists all revisions. */
368
- export const listRevisions2 = /*@__PURE__*/ API.make(() => ({
369
- input: ListRevisionsRequest,
370
- output: ListRevisions,
371
- errors: [UnknownStackitError],
372
- protocol: StackitProtocol,
373
- retry: Retry.Retry,
374
- }));
375
- /** Updates a specific function. */
376
- export const updateFunction = /*@__PURE__*/ API.make(() => ({
377
- input: UpdateFunctionRequest,
378
- output: Function,
379
- errors: [UnknownStackitError],
380
- protocol: StackitProtocol,
381
- retry: Retry.Retry,
382
- }));
383
- /** Update OCI image registry pull credential definition Updates the OCI image registry pull credential configuration. */
384
- export const updatePullCredential = /*@__PURE__*/ API.make(() => ({
385
- input: UpdatePullCredentialRequest,
386
- output: PullCredential,
387
- errors: [UnknownStackitError],
388
- protocol: StackitProtocol,
389
- retry: Retry.Retry,
390
- }));
391
- /** Updates a specific revision. */
392
- export const updateRevision = /*@__PURE__*/ API.make(() => ({
393
- input: UpdateRevisionRequest,
394
- output: Revision,
395
- errors: [UnknownStackitError],
396
- protocol: StackitProtocol,
397
- retry: Retry.Retry,
398
- }));
399
- //# sourceMappingURL=functions.js.map
9
+ const __0 = __L.at;
10
+ const __1 = T.Http;
11
+ const __2 = T.Label;
12
+ const __3 = S.String;
13
+ const __4 = S.optional;
14
+ const __5 = S.Struct;
15
+ const __6 = S.suspend;
16
+ const __7 = S.Record;
17
+ const __8 = S.Array;
18
+ const __9 = S.Number;
19
+ const __10 = S.NullOr;
20
+ const __11 = T.SensitiveValue;
21
+
22
+ export const createFunction = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$9],protocol:$10,retry:$11};$8(>2)@"CreateFunctionRequest";$7({projectId:$3.pipe($2()),created_at:$4($3),current_revision:$4($3),id:$4($3),labels:$4(#5:0),name:$3,state:$4($3),state_error:$4($3),updated_at:$4($3),url:$4(#6:0)}).pipe($1({method:"POST",uri:"/v1alpha/projects/{projectId}/functions",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __d0, __d1, __5, __6, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createFunction, i));
23
+
24
+ export const createFunctionRevision = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:3,errors:[$10],protocol:$11,retry:$12};$9(>2)@"CreateFunctionRevisionRequest";$8({projectId:$3.pipe($2()),functionId:$3.pipe($2()),created_at:$4($3),digest:$4($3),function_id:$4($3),id:$4($3),labels:$4(#5:0),limits:#6:0,message:$4($3),name:$4($3),oci_pull_credential_id:$4($3),oci_reference:$3,state:$4($3),state_error:$4($3),updated_at:$4($3),variables:$4(#6:2),version:$4($7)}).pipe($1({method:"POST",uri:"/v1alpha/projects/{projectId}/functions/{functionId}/revisions",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __d0, __d2, __9, __5, __6, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createFunctionRevision, i));
25
+
26
+ export const createPullCredential = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"CreatePullCredentialRequest";$7({projectId:$3.pipe($2()),address:$3,id:$4($3),labels:$4(#5:0),name:$4($3),password:$3.pipe($6({})),username:$3}).pipe($1({method:"POST",uri:"/v1alpha/projects/{projectId}/pull-credentials",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __d0, __11, __5, __6, __d3, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(createPullCredential, i));
27
+
28
+ export const deleteFunction = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteFunctionRequest";$4({projectId:$3.pipe($2()),functionId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/functions/{functionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d4, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteFunction, i));
29
+
30
+ export const deletePullCredential = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeletePullCredentialRequest";$4({projectId:$3.pipe($2()),pullCredentialId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d4, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deletePullCredential, i));
31
+
32
+ export const deleteRevision = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"DeleteRevisionRequest";$4({projectId:$3.pipe($2()),functionId:$3.pipe($2()),revisionId:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d4, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(deleteRevision, i));
33
+
34
+ export const getFunction = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:1,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetFunctionRequest";$4({projectId:$3.pipe($2()),functionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/functions/{functionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d1, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getFunction, i));
35
+
36
+ export const getPullCredential = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:0,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetPullCredentialRequest";$4({projectId:$3.pipe($2()),pullCredentialId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d3, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getPullCredential, i));
37
+
38
+ export const getRevision = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#6:3,errors:[$7],protocol:$8,retry:$9};$5(>2)@"GetRevisionRequest";$4({projectId:$3.pipe($2()),functionId:$3.pipe($2()),revisionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __5, __6, __d2, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(getRevision, i));
39
+
40
+ export const listFunctions2 = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListFunctions", '{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"%Request";$7(#6:1);$5(>5)@"%";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/functions",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}));$4({functions:$8(#2),next_page_token:$8($3)})', [__0, __1, __2, __3, __5, __6, __d1, __8, __4, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listFunctions2, i));
41
+
42
+ export const listPullCredentials2 = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListPullCredentials", '{input:#1,output:#3,errors:[$9],protocol:$10,retry:$11};$5(>4)@"%Request";$7(#6:0);$5(>5)@"%";$4({projectId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/pull-credentials",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}));$4({next_page_token:$8($3),pull_credentials:$8(#2)})', [__0, __1, __2, __3, __5, __6, __d3, __8, __4, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listPullCredentials2, i));
43
+
44
+ export const listRevisions2 = /*@__PURE__*/ API.op((i) => i === API.D ? API.named("ListRevisions", '{input:#1,output:#3,errors:[$10],protocol:$11,retry:$12};$5(>4)@"%Request";$7(#6:3);$5(>5)@"%";$4({projectId:$3.pipe($2()),functionId:$3.pipe($2())}).pipe($1({method:"GET",uri:"/v1alpha/projects/{projectId}/functions/{functionId}/revisions",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}));$4({maxItems:$9($8),next_page_token:$9($3),revisionList:$9(#2)})', [__0, __1, __2, __3, __5, __6, __d2, __8, __9, __4, UnknownStackitError, StackitProtocol, Retry.Retry]) : API.call(listRevisions2, i));
45
+
46
+ export const updateFunction = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:1,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateFunctionRequest";$6({projectId:$3.pipe($2()),functionId:$3.pipe($2()),labels:$5(#4:0),name:$5($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/functions/{functionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d0, __4, __5, __6, __d1, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateFunction, i));
47
+
48
+ export const updatePullCredential = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#9:0,errors:[$10],protocol:$11,retry:$12};$8(>2)@"UpdatePullCredentialRequest";$7({projectId:$3.pipe($2()),pullCredentialId:$3.pipe($2()),address:$4($3),labels:$4(#5:0),name:$4($3),password:$4($3.pipe($6({}))),username:$4($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/pull-credentials/{pullCredentialId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __4, __d0, __11, __5, __6, __d3, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updatePullCredential, i));
49
+
50
+ export const updateRevision = /*@__PURE__*/ API.op((i) => i === API.D ? ['{input:#1,output:#8:3,errors:[$9],protocol:$10,retry:$11};$7(>2)@"UpdateRevisionRequest";$6({projectId:$3.pipe($2()),functionId:$3.pipe($2()),revisionId:$3.pipe($2()),labels:$5(#4:0),name:$5($3)}).pipe($1({method:"PATCH",uri:"/v1alpha/projects/{projectId}/functions/{functionId}/revisions/{revisionId}",code:200,baseUrl:"https://functions.api.{region}stackit.cloud"}))', [__0, __1, __2, __3, __d0, __4, __5, __6, __d2, UnknownStackitError, StackitProtocol, Retry.Retry]] : API.call(updateRevision, i));
51
+ // Schema builders: each runs one schema initializer, on that schema's first use.
52
+ // Schema table: entry i is schema j of builder f, made on first reach.
53
+
54
+
55
+ // Shared schema data (see `op` in core/api).
56
+ function __d0() {
57
+ return ['$2($1,$1)', [__0, __3, __7]];
58
+ }
59
+ function __d1() {
60
+ return ['$2($1);$6(>2)@"Function";$5({created_at:$3($1),current_revision:$3($1),id:$3($1),labels:$3(#4:0),name:$1,state:$3($1),state_error:$3($1),updated_at:$3($1),url:$3(#0)})', [__0, __3, __8, __4, __d0, __5, __6]];
61
+ }
62
+ function __d2() {
63
+ return ['$4(>4)@"ResourceLimits";$4(>5)@"RevisionVariable";$7(#1);$4(>6)@"Revision";$3({concurrency:$1,plan:$2});$3({name:$2,value:$6($5($2)),vault_reference:$6($5($2))});$3({created_at:$6($2),digest:$6($2),function_id:$6($2),id:$6($2),labels:$6(#8:0),limits:#0,message:$6($2),name:$6($2),oci_pull_credential_id:$6($2),oci_reference:$2,state:$6($2),state_error:$6($2),updated_at:$6($2),variables:$6(#2),version:$6($1)})', [__0, __9, __3, __5, __6, __10, __4, __8, __d0]];
64
+ }
65
+ function __d3() {
66
+ return ['$6(>1)@"PullCredential";$5({address:$1,id:$2($1),labels:$2(#3:0),name:$2($1),password:$1.pipe($4({})),username:$1})', [__0, __3, __4, __d0, __11, __5, __6]];
67
+ }
68
+ function __d4() {
69
+ return ['$2(>1)@"DeleteFunctionResponse";$1({})', [__0, __5, __6]];
70
+ }