@azure/arm-neonpostgres 1.0.0-beta.1 → 1.0.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.
Files changed (721) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +3 -3
  3. package/README.md +23 -14
  4. package/dist/browser/api/branches/index.d.ts +3 -0
  5. package/dist/browser/api/branches/index.d.ts.map +1 -0
  6. package/dist/browser/api/branches/index.js +4 -0
  7. package/dist/browser/api/branches/index.js.map +1 -0
  8. package/dist/browser/api/branches/operations.d.ts +32 -0
  9. package/dist/browser/api/branches/operations.d.ts.map +1 -0
  10. package/dist/browser/api/branches/operations.js +159 -0
  11. package/dist/browser/api/branches/operations.js.map +1 -0
  12. package/dist/browser/api/branches/options.d.ts +21 -0
  13. package/dist/browser/api/branches/options.d.ts.map +1 -0
  14. package/dist/browser/api/branches/options.js.map +1 -0
  15. package/dist/browser/api/computes/index.d.ts +3 -0
  16. package/dist/browser/api/computes/index.d.ts.map +1 -0
  17. package/dist/browser/api/computes/index.js +4 -0
  18. package/dist/browser/api/computes/index.js.map +1 -0
  19. package/dist/browser/api/computes/operations.d.ts +32 -0
  20. package/dist/browser/api/computes/operations.d.ts.map +1 -0
  21. package/dist/browser/api/computes/operations.js +164 -0
  22. package/dist/browser/api/computes/operations.js.map +1 -0
  23. package/dist/browser/api/computes/options.d.ts +21 -0
  24. package/dist/browser/api/computes/options.d.ts.map +1 -0
  25. package/dist/browser/api/computes/options.js.map +1 -0
  26. package/dist/browser/api/endpoints/index.d.ts +3 -0
  27. package/dist/browser/api/endpoints/index.d.ts.map +1 -0
  28. package/dist/browser/api/endpoints/index.js +4 -0
  29. package/dist/browser/api/endpoints/index.js.map +1 -0
  30. package/dist/browser/api/endpoints/operations.d.ts +32 -0
  31. package/dist/browser/api/endpoints/operations.d.ts.map +1 -0
  32. package/dist/browser/api/endpoints/operations.js +164 -0
  33. package/dist/browser/api/endpoints/operations.js.map +1 -0
  34. package/dist/browser/api/endpoints/options.d.ts +21 -0
  35. package/dist/browser/api/endpoints/options.d.ts.map +1 -0
  36. package/dist/browser/api/endpoints/options.js.map +1 -0
  37. package/dist/browser/api/index.d.ts +0 -3
  38. package/dist/browser/api/index.d.ts.map +1 -1
  39. package/dist/browser/api/index.js +0 -2
  40. package/dist/browser/api/index.js.map +1 -1
  41. package/dist/browser/api/neonDatabases/index.d.ts +3 -0
  42. package/dist/browser/api/neonDatabases/index.d.ts.map +1 -0
  43. package/dist/browser/api/neonDatabases/index.js +4 -0
  44. package/dist/browser/api/neonDatabases/index.js.map +1 -0
  45. package/dist/browser/api/neonDatabases/operations.d.ts +32 -0
  46. package/dist/browser/api/neonDatabases/operations.d.ts.map +1 -0
  47. package/dist/browser/api/neonDatabases/operations.js +164 -0
  48. package/dist/browser/api/neonDatabases/operations.js.map +1 -0
  49. package/dist/browser/api/neonDatabases/options.d.ts +21 -0
  50. package/dist/browser/api/neonDatabases/options.d.ts.map +1 -0
  51. package/dist/browser/api/neonDatabases/options.js +4 -0
  52. package/dist/browser/api/neonDatabases/options.js.map +1 -0
  53. package/dist/browser/api/neonRoles/index.d.ts +3 -0
  54. package/dist/browser/api/neonRoles/index.d.ts.map +1 -0
  55. package/dist/browser/api/neonRoles/index.js +4 -0
  56. package/dist/browser/api/neonRoles/index.js.map +1 -0
  57. package/dist/browser/api/neonRoles/operations.d.ts +32 -0
  58. package/dist/browser/api/neonRoles/operations.d.ts.map +1 -0
  59. package/dist/browser/api/neonRoles/operations.js +164 -0
  60. package/dist/browser/api/neonRoles/operations.js.map +1 -0
  61. package/dist/browser/api/neonRoles/options.d.ts +21 -0
  62. package/dist/browser/api/neonRoles/options.d.ts.map +1 -0
  63. package/dist/browser/api/neonRoles/options.js +4 -0
  64. package/dist/browser/api/neonRoles/options.js.map +1 -0
  65. package/dist/browser/api/operations/index.d.ts +2 -8
  66. package/dist/browser/api/operations/index.d.ts.map +1 -1
  67. package/dist/browser/api/operations/index.js +1 -19
  68. package/dist/browser/api/operations/index.js.map +1 -1
  69. package/dist/browser/api/operations/operations.d.ts +10 -0
  70. package/dist/browser/api/operations/operations.d.ts.map +1 -0
  71. package/dist/browser/api/operations/operations.js +29 -0
  72. package/dist/browser/api/operations/operations.js.map +1 -0
  73. package/dist/browser/api/operations/options.d.ts +5 -0
  74. package/dist/browser/api/operations/options.d.ts.map +1 -0
  75. package/dist/browser/api/operations/options.js +4 -0
  76. package/dist/browser/api/operations/options.js.map +1 -0
  77. package/dist/browser/api/organizations/index.d.ts +2 -29
  78. package/dist/browser/api/organizations/index.d.ts.map +1 -1
  79. package/dist/browser/api/organizations/index.js +1 -124
  80. package/dist/browser/api/organizations/index.js.map +1 -1
  81. package/dist/browser/api/organizations/operations.d.ts +41 -0
  82. package/dist/browser/api/organizations/operations.d.ts.map +1 -0
  83. package/dist/browser/api/organizations/operations.js +216 -0
  84. package/dist/browser/api/organizations/operations.js.map +1 -0
  85. package/dist/browser/api/{options.d.ts → organizations/options.d.ts} +11 -8
  86. package/dist/browser/api/organizations/options.d.ts.map +1 -0
  87. package/dist/browser/api/organizations/options.js +4 -0
  88. package/dist/browser/api/organizations/options.js.map +1 -0
  89. package/dist/browser/api/postgresContext.d.ts +6 -1
  90. package/dist/browser/api/postgresContext.d.ts.map +1 -1
  91. package/dist/browser/api/postgresContext.js +5 -5
  92. package/dist/browser/api/postgresContext.js.map +1 -1
  93. package/dist/browser/api/projects/index.d.ts +3 -0
  94. package/dist/browser/api/projects/index.d.ts.map +1 -0
  95. package/dist/browser/api/projects/index.js +4 -0
  96. package/dist/browser/api/projects/index.js.map +1 -0
  97. package/dist/browser/api/projects/operations.d.ts +37 -0
  98. package/dist/browser/api/projects/operations.d.ts.map +1 -0
  99. package/dist/browser/api/projects/operations.js +182 -0
  100. package/dist/browser/api/projects/operations.js.map +1 -0
  101. package/dist/browser/api/projects/options.d.ts +24 -0
  102. package/dist/browser/api/projects/options.d.ts.map +1 -0
  103. package/dist/browser/api/projects/options.js +4 -0
  104. package/dist/browser/api/projects/options.js.map +1 -0
  105. package/dist/browser/classic/branches/index.d.ts +25 -0
  106. package/dist/browser/classic/branches/index.d.ts.map +1 -0
  107. package/dist/browser/classic/branches/index.js +16 -0
  108. package/dist/browser/classic/branches/index.js.map +1 -0
  109. package/dist/browser/classic/computes/index.d.ts +25 -0
  110. package/dist/browser/classic/computes/index.d.ts.map +1 -0
  111. package/dist/browser/classic/computes/index.js +16 -0
  112. package/dist/browser/classic/computes/index.js.map +1 -0
  113. package/dist/browser/classic/endpoints/index.d.ts +25 -0
  114. package/dist/browser/classic/endpoints/index.d.ts.map +1 -0
  115. package/dist/browser/classic/endpoints/index.js +16 -0
  116. package/dist/browser/classic/endpoints/index.js.map +1 -0
  117. package/dist/browser/classic/index.d.ts +6 -0
  118. package/dist/browser/classic/index.d.ts.map +1 -1
  119. package/dist/browser/classic/index.js.map +1 -1
  120. package/dist/browser/classic/neonDatabases/index.d.ts +25 -0
  121. package/dist/browser/classic/neonDatabases/index.d.ts.map +1 -0
  122. package/dist/browser/classic/neonDatabases/index.js +16 -0
  123. package/dist/browser/classic/neonDatabases/index.js.map +1 -0
  124. package/dist/browser/classic/neonRoles/index.d.ts +25 -0
  125. package/dist/browser/classic/neonRoles/index.d.ts.map +1 -0
  126. package/dist/browser/classic/neonRoles/index.js +16 -0
  127. package/dist/browser/classic/neonRoles/index.js.map +1 -0
  128. package/dist/browser/classic/operations/index.d.ts +2 -5
  129. package/dist/browser/classic/operations/index.d.ts.map +1 -1
  130. package/dist/browser/classic/operations/index.js +5 -5
  131. package/dist/browser/classic/operations/index.js.map +1 -1
  132. package/dist/browser/classic/organizations/index.d.ts +20 -20
  133. package/dist/browser/classic/organizations/index.d.ts.map +1 -1
  134. package/dist/browser/classic/organizations/index.js +11 -10
  135. package/dist/browser/classic/organizations/index.js.map +1 -1
  136. package/dist/browser/classic/projects/index.d.ts +28 -0
  137. package/dist/browser/classic/projects/index.d.ts.map +1 -0
  138. package/dist/browser/classic/projects/index.js +17 -0
  139. package/dist/browser/classic/projects/index.js.map +1 -0
  140. package/dist/browser/index.d.ts +12 -3
  141. package/dist/browser/index.d.ts.map +1 -1
  142. package/dist/browser/index.js +2 -1
  143. package/dist/browser/index.js.map +1 -1
  144. package/dist/browser/models/index.d.ts +1 -1
  145. package/dist/browser/models/index.d.ts.map +1 -1
  146. package/dist/browser/models/index.js +1 -1
  147. package/dist/browser/models/index.js.map +1 -1
  148. package/dist/browser/models/models/index.d.ts +2 -0
  149. package/dist/browser/models/models/index.d.ts.map +1 -0
  150. package/dist/browser/models/models/index.js +4 -0
  151. package/dist/browser/models/models/index.js.map +1 -0
  152. package/dist/browser/models/models/models.d.ts +224 -0
  153. package/dist/browser/models/models/models.d.ts.map +1 -0
  154. package/dist/browser/models/models/models.js +314 -0
  155. package/dist/browser/models/models/models.js.map +1 -0
  156. package/dist/browser/models/models.d.ts +207 -63
  157. package/dist/browser/models/models.d.ts.map +1 -1
  158. package/dist/browser/models/models.js +302 -31
  159. package/dist/browser/models/models.js.map +1 -1
  160. package/dist/browser/postgresClient.d.ts +23 -5
  161. package/dist/browser/postgresClient.d.ts.map +1 -1
  162. package/dist/browser/postgresClient.js +17 -5
  163. package/dist/browser/postgresClient.js.map +1 -1
  164. package/dist/browser/restorePollerHelpers.d.ts.map +1 -1
  165. package/dist/browser/restorePollerHelpers.js +57 -6
  166. package/dist/browser/restorePollerHelpers.js.map +1 -1
  167. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  168. package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
  169. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  170. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  171. package/dist/commonjs/api/branches/index.d.ts +3 -0
  172. package/dist/commonjs/api/branches/index.d.ts.map +1 -0
  173. package/dist/commonjs/api/branches/index.js +12 -0
  174. package/dist/commonjs/api/branches/index.js.map +1 -0
  175. package/dist/commonjs/api/branches/operations.d.ts +32 -0
  176. package/dist/commonjs/api/branches/operations.d.ts.map +1 -0
  177. package/dist/commonjs/api/branches/operations.js +176 -0
  178. package/dist/commonjs/api/branches/operations.js.map +1 -0
  179. package/dist/commonjs/api/branches/options.d.ts +21 -0
  180. package/dist/commonjs/api/branches/options.d.ts.map +1 -0
  181. package/dist/commonjs/api/branches/options.js.map +1 -0
  182. package/dist/commonjs/api/computes/index.d.ts +3 -0
  183. package/dist/commonjs/api/computes/index.d.ts.map +1 -0
  184. package/dist/commonjs/api/computes/index.js +12 -0
  185. package/dist/commonjs/api/computes/index.js.map +1 -0
  186. package/dist/commonjs/api/computes/operations.d.ts +32 -0
  187. package/dist/commonjs/api/computes/operations.d.ts.map +1 -0
  188. package/dist/commonjs/api/computes/operations.js +181 -0
  189. package/dist/commonjs/api/computes/operations.js.map +1 -0
  190. package/dist/commonjs/api/computes/options.d.ts +21 -0
  191. package/dist/commonjs/api/computes/options.d.ts.map +1 -0
  192. package/dist/commonjs/api/computes/options.js +5 -0
  193. package/dist/commonjs/api/computes/options.js.map +1 -0
  194. package/dist/commonjs/api/endpoints/index.d.ts +3 -0
  195. package/dist/commonjs/api/endpoints/index.d.ts.map +1 -0
  196. package/dist/commonjs/api/endpoints/index.js +12 -0
  197. package/dist/commonjs/api/endpoints/index.js.map +1 -0
  198. package/dist/commonjs/api/endpoints/operations.d.ts +32 -0
  199. package/dist/commonjs/api/endpoints/operations.d.ts.map +1 -0
  200. package/dist/commonjs/api/endpoints/operations.js +181 -0
  201. package/dist/commonjs/api/endpoints/operations.js.map +1 -0
  202. package/dist/commonjs/api/endpoints/options.d.ts +21 -0
  203. package/dist/commonjs/api/endpoints/options.d.ts.map +1 -0
  204. package/dist/commonjs/api/endpoints/options.js +5 -0
  205. package/dist/commonjs/api/endpoints/options.js.map +1 -0
  206. package/dist/commonjs/api/index.d.ts +0 -3
  207. package/dist/commonjs/api/index.d.ts.map +1 -1
  208. package/dist/commonjs/api/index.js +1 -10
  209. package/dist/commonjs/api/index.js.map +1 -1
  210. package/dist/commonjs/api/neonDatabases/index.d.ts +3 -0
  211. package/dist/commonjs/api/neonDatabases/index.d.ts.map +1 -0
  212. package/dist/commonjs/api/neonDatabases/index.js +12 -0
  213. package/dist/commonjs/api/neonDatabases/index.js.map +1 -0
  214. package/dist/commonjs/api/neonDatabases/operations.d.ts +32 -0
  215. package/dist/commonjs/api/neonDatabases/operations.d.ts.map +1 -0
  216. package/dist/commonjs/api/neonDatabases/operations.js +181 -0
  217. package/dist/commonjs/api/neonDatabases/operations.js.map +1 -0
  218. package/dist/commonjs/api/neonDatabases/options.d.ts +21 -0
  219. package/dist/commonjs/api/neonDatabases/options.d.ts.map +1 -0
  220. package/dist/commonjs/api/neonDatabases/options.js +5 -0
  221. package/dist/commonjs/api/neonDatabases/options.js.map +1 -0
  222. package/dist/commonjs/api/neonRoles/index.d.ts +3 -0
  223. package/dist/commonjs/api/neonRoles/index.d.ts.map +1 -0
  224. package/dist/commonjs/api/neonRoles/index.js +12 -0
  225. package/dist/commonjs/api/neonRoles/index.js.map +1 -0
  226. package/dist/commonjs/api/neonRoles/operations.d.ts +32 -0
  227. package/dist/commonjs/api/neonRoles/operations.d.ts.map +1 -0
  228. package/dist/commonjs/api/neonRoles/operations.js +181 -0
  229. package/dist/commonjs/api/neonRoles/operations.js.map +1 -0
  230. package/dist/commonjs/api/neonRoles/options.d.ts +21 -0
  231. package/dist/commonjs/api/neonRoles/options.d.ts.map +1 -0
  232. package/dist/commonjs/api/neonRoles/options.js +5 -0
  233. package/dist/commonjs/api/neonRoles/options.js.map +1 -0
  234. package/dist/commonjs/api/operations/index.d.ts +2 -8
  235. package/dist/commonjs/api/operations/index.d.ts.map +1 -1
  236. package/dist/commonjs/api/operations/index.js +3 -22
  237. package/dist/commonjs/api/operations/index.js.map +1 -1
  238. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  239. package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
  240. package/dist/commonjs/api/operations/operations.js +34 -0
  241. package/dist/commonjs/api/operations/operations.js.map +1 -0
  242. package/dist/commonjs/api/operations/options.d.ts +5 -0
  243. package/dist/commonjs/api/operations/options.d.ts.map +1 -0
  244. package/dist/commonjs/api/operations/options.js +5 -0
  245. package/dist/commonjs/api/operations/options.js.map +1 -0
  246. package/dist/commonjs/api/organizations/index.d.ts +2 -29
  247. package/dist/commonjs/api/organizations/index.d.ts.map +1 -1
  248. package/dist/commonjs/api/organizations/index.js +9 -142
  249. package/dist/commonjs/api/organizations/index.js.map +1 -1
  250. package/dist/commonjs/api/organizations/operations.d.ts +41 -0
  251. package/dist/commonjs/api/organizations/operations.d.ts.map +1 -0
  252. package/dist/commonjs/api/organizations/operations.js +239 -0
  253. package/dist/commonjs/api/organizations/operations.js.map +1 -0
  254. package/dist/{esm/api → commonjs/api/organizations}/options.d.ts +11 -8
  255. package/dist/commonjs/api/organizations/options.d.ts.map +1 -0
  256. package/dist/commonjs/api/organizations/options.js +5 -0
  257. package/dist/commonjs/api/organizations/options.js.map +1 -0
  258. package/dist/commonjs/api/postgresContext.d.ts +6 -1
  259. package/dist/commonjs/api/postgresContext.d.ts.map +1 -1
  260. package/dist/commonjs/api/postgresContext.js +5 -5
  261. package/dist/commonjs/api/postgresContext.js.map +1 -1
  262. package/dist/commonjs/api/projects/index.d.ts +3 -0
  263. package/dist/commonjs/api/projects/index.d.ts.map +1 -0
  264. package/dist/commonjs/api/projects/index.js +13 -0
  265. package/dist/commonjs/api/projects/index.js.map +1 -0
  266. package/dist/commonjs/api/projects/operations.d.ts +37 -0
  267. package/dist/commonjs/api/projects/operations.d.ts.map +1 -0
  268. package/dist/commonjs/api/projects/operations.js +202 -0
  269. package/dist/commonjs/api/projects/operations.js.map +1 -0
  270. package/dist/commonjs/api/projects/options.d.ts +24 -0
  271. package/dist/commonjs/api/projects/options.d.ts.map +1 -0
  272. package/dist/commonjs/api/projects/options.js +5 -0
  273. package/dist/commonjs/api/projects/options.js.map +1 -0
  274. package/dist/commonjs/classic/branches/index.d.ts +25 -0
  275. package/dist/commonjs/classic/branches/index.d.ts.map +1 -0
  276. package/dist/commonjs/classic/branches/index.js +19 -0
  277. package/dist/commonjs/classic/branches/index.js.map +1 -0
  278. package/dist/commonjs/classic/computes/index.d.ts +25 -0
  279. package/dist/commonjs/classic/computes/index.d.ts.map +1 -0
  280. package/dist/commonjs/classic/computes/index.js +19 -0
  281. package/dist/commonjs/classic/computes/index.js.map +1 -0
  282. package/dist/commonjs/classic/endpoints/index.d.ts +25 -0
  283. package/dist/commonjs/classic/endpoints/index.d.ts.map +1 -0
  284. package/dist/commonjs/classic/endpoints/index.js +19 -0
  285. package/dist/commonjs/classic/endpoints/index.js.map +1 -0
  286. package/dist/commonjs/classic/index.d.ts +6 -0
  287. package/dist/commonjs/classic/index.d.ts.map +1 -1
  288. package/dist/commonjs/classic/index.js.map +1 -1
  289. package/dist/commonjs/classic/neonDatabases/index.d.ts +25 -0
  290. package/dist/commonjs/classic/neonDatabases/index.d.ts.map +1 -0
  291. package/dist/commonjs/classic/neonDatabases/index.js +19 -0
  292. package/dist/commonjs/classic/neonDatabases/index.js.map +1 -0
  293. package/dist/commonjs/classic/neonRoles/index.d.ts +25 -0
  294. package/dist/commonjs/classic/neonRoles/index.d.ts.map +1 -0
  295. package/dist/commonjs/classic/neonRoles/index.js +19 -0
  296. package/dist/commonjs/classic/neonRoles/index.js.map +1 -0
  297. package/dist/commonjs/classic/operations/index.d.ts +2 -5
  298. package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
  299. package/dist/commonjs/classic/operations/index.js +6 -7
  300. package/dist/commonjs/classic/operations/index.js.map +1 -1
  301. package/dist/commonjs/classic/organizations/index.d.ts +20 -20
  302. package/dist/commonjs/classic/organizations/index.d.ts.map +1 -1
  303. package/dist/commonjs/classic/organizations/index.js +12 -12
  304. package/dist/commonjs/classic/organizations/index.js.map +1 -1
  305. package/dist/commonjs/classic/projects/index.d.ts +28 -0
  306. package/dist/commonjs/classic/projects/index.d.ts.map +1 -0
  307. package/dist/commonjs/classic/projects/index.js +20 -0
  308. package/dist/commonjs/classic/projects/index.js.map +1 -0
  309. package/dist/commonjs/index.d.ts +12 -3
  310. package/dist/commonjs/index.d.ts.map +1 -1
  311. package/dist/commonjs/index.js +5 -3
  312. package/dist/commonjs/index.js.map +1 -1
  313. package/dist/commonjs/models/index.d.ts +1 -1
  314. package/dist/commonjs/models/index.d.ts.map +1 -1
  315. package/dist/commonjs/models/index.js +3 -3
  316. package/dist/commonjs/models/index.js.map +1 -1
  317. package/dist/commonjs/models/models/index.d.ts +2 -0
  318. package/dist/commonjs/models/models/index.d.ts.map +1 -0
  319. package/dist/commonjs/models/models/index.js +8 -0
  320. package/dist/commonjs/models/models/index.js.map +1 -0
  321. package/dist/commonjs/models/models/models.d.ts +224 -0
  322. package/dist/commonjs/models/models/models.d.ts.map +1 -0
  323. package/dist/commonjs/models/models/models.js +348 -0
  324. package/dist/commonjs/models/models/models.js.map +1 -0
  325. package/dist/commonjs/models/models.d.ts +207 -63
  326. package/dist/commonjs/models/models.d.ts.map +1 -1
  327. package/dist/commonjs/models/models.js +345 -36
  328. package/dist/commonjs/models/models.js.map +1 -1
  329. package/dist/commonjs/postgresClient.d.ts +23 -5
  330. package/dist/commonjs/postgresClient.d.ts.map +1 -1
  331. package/dist/commonjs/postgresClient.js +18 -6
  332. package/dist/commonjs/postgresClient.js.map +1 -1
  333. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -1
  334. package/dist/commonjs/restorePollerHelpers.js +57 -6
  335. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  336. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  337. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
  338. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  339. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  340. package/dist/commonjs/tsdoc-metadata.json +1 -1
  341. package/dist/esm/api/branches/index.d.ts +3 -0
  342. package/dist/esm/api/branches/index.d.ts.map +1 -0
  343. package/dist/esm/api/branches/index.js +4 -0
  344. package/dist/esm/api/branches/index.js.map +1 -0
  345. package/dist/esm/api/branches/operations.d.ts +32 -0
  346. package/dist/esm/api/branches/operations.d.ts.map +1 -0
  347. package/dist/esm/api/branches/operations.js +159 -0
  348. package/dist/esm/api/branches/operations.js.map +1 -0
  349. package/dist/esm/api/branches/options.d.ts +21 -0
  350. package/dist/esm/api/branches/options.d.ts.map +1 -0
  351. package/dist/esm/api/branches/options.js +4 -0
  352. package/dist/esm/api/branches/options.js.map +1 -0
  353. package/dist/esm/api/computes/index.d.ts +3 -0
  354. package/dist/esm/api/computes/index.d.ts.map +1 -0
  355. package/dist/esm/api/computes/index.js +4 -0
  356. package/dist/esm/api/computes/index.js.map +1 -0
  357. package/dist/esm/api/computes/operations.d.ts +32 -0
  358. package/dist/esm/api/computes/operations.d.ts.map +1 -0
  359. package/dist/esm/api/computes/operations.js +164 -0
  360. package/dist/esm/api/computes/operations.js.map +1 -0
  361. package/dist/esm/api/computes/options.d.ts +21 -0
  362. package/dist/esm/api/computes/options.d.ts.map +1 -0
  363. package/dist/esm/api/computes/options.js +4 -0
  364. package/dist/esm/api/computes/options.js.map +1 -0
  365. package/dist/esm/api/endpoints/index.d.ts +3 -0
  366. package/dist/esm/api/endpoints/index.d.ts.map +1 -0
  367. package/dist/esm/api/endpoints/index.js +4 -0
  368. package/dist/esm/api/endpoints/index.js.map +1 -0
  369. package/dist/esm/api/endpoints/operations.d.ts +32 -0
  370. package/dist/esm/api/endpoints/operations.d.ts.map +1 -0
  371. package/dist/esm/api/endpoints/operations.js +164 -0
  372. package/dist/esm/api/endpoints/operations.js.map +1 -0
  373. package/dist/esm/api/endpoints/options.d.ts +21 -0
  374. package/dist/esm/api/endpoints/options.d.ts.map +1 -0
  375. package/dist/esm/api/endpoints/options.js +4 -0
  376. package/dist/esm/api/endpoints/options.js.map +1 -0
  377. package/dist/esm/api/index.d.ts +0 -3
  378. package/dist/esm/api/index.d.ts.map +1 -1
  379. package/dist/esm/api/index.js +0 -2
  380. package/dist/esm/api/index.js.map +1 -1
  381. package/dist/esm/api/neonDatabases/index.d.ts +3 -0
  382. package/dist/esm/api/neonDatabases/index.d.ts.map +1 -0
  383. package/dist/esm/api/neonDatabases/index.js +4 -0
  384. package/dist/esm/api/neonDatabases/index.js.map +1 -0
  385. package/dist/esm/api/neonDatabases/operations.d.ts +32 -0
  386. package/dist/esm/api/neonDatabases/operations.d.ts.map +1 -0
  387. package/dist/esm/api/neonDatabases/operations.js +164 -0
  388. package/dist/esm/api/neonDatabases/operations.js.map +1 -0
  389. package/dist/esm/api/neonDatabases/options.d.ts +21 -0
  390. package/dist/esm/api/neonDatabases/options.d.ts.map +1 -0
  391. package/dist/esm/api/neonDatabases/options.js +4 -0
  392. package/dist/esm/api/neonDatabases/options.js.map +1 -0
  393. package/dist/esm/api/neonRoles/index.d.ts +3 -0
  394. package/dist/esm/api/neonRoles/index.d.ts.map +1 -0
  395. package/dist/esm/api/neonRoles/index.js +4 -0
  396. package/dist/esm/api/neonRoles/index.js.map +1 -0
  397. package/dist/esm/api/neonRoles/operations.d.ts +32 -0
  398. package/dist/esm/api/neonRoles/operations.d.ts.map +1 -0
  399. package/dist/esm/api/neonRoles/operations.js +164 -0
  400. package/dist/esm/api/neonRoles/operations.js.map +1 -0
  401. package/dist/esm/api/neonRoles/options.d.ts +21 -0
  402. package/dist/esm/api/neonRoles/options.d.ts.map +1 -0
  403. package/dist/esm/api/neonRoles/options.js +4 -0
  404. package/dist/esm/api/neonRoles/options.js.map +1 -0
  405. package/dist/esm/api/operations/index.d.ts +2 -8
  406. package/dist/esm/api/operations/index.d.ts.map +1 -1
  407. package/dist/esm/api/operations/index.js +1 -19
  408. package/dist/esm/api/operations/index.js.map +1 -1
  409. package/dist/esm/api/operations/operations.d.ts +10 -0
  410. package/dist/esm/api/operations/operations.d.ts.map +1 -0
  411. package/dist/esm/api/operations/operations.js +29 -0
  412. package/dist/esm/api/operations/operations.js.map +1 -0
  413. package/dist/esm/api/operations/options.d.ts +5 -0
  414. package/dist/esm/api/operations/options.d.ts.map +1 -0
  415. package/dist/esm/api/operations/options.js +4 -0
  416. package/dist/esm/api/operations/options.js.map +1 -0
  417. package/dist/esm/api/organizations/index.d.ts +2 -29
  418. package/dist/esm/api/organizations/index.d.ts.map +1 -1
  419. package/dist/esm/api/organizations/index.js +1 -124
  420. package/dist/esm/api/organizations/index.js.map +1 -1
  421. package/dist/esm/api/organizations/operations.d.ts +41 -0
  422. package/dist/esm/api/organizations/operations.d.ts.map +1 -0
  423. package/dist/esm/api/organizations/operations.js +216 -0
  424. package/dist/esm/api/organizations/operations.js.map +1 -0
  425. package/dist/{commonjs/api → esm/api/organizations}/options.d.ts +11 -8
  426. package/dist/esm/api/organizations/options.d.ts.map +1 -0
  427. package/dist/esm/api/organizations/options.js +4 -0
  428. package/dist/esm/api/organizations/options.js.map +1 -0
  429. package/dist/esm/api/postgresContext.d.ts +6 -1
  430. package/dist/esm/api/postgresContext.d.ts.map +1 -1
  431. package/dist/esm/api/postgresContext.js +5 -5
  432. package/dist/esm/api/postgresContext.js.map +1 -1
  433. package/dist/esm/api/projects/index.d.ts +3 -0
  434. package/dist/esm/api/projects/index.d.ts.map +1 -0
  435. package/dist/esm/api/projects/index.js +4 -0
  436. package/dist/esm/api/projects/index.js.map +1 -0
  437. package/dist/esm/api/projects/operations.d.ts +37 -0
  438. package/dist/esm/api/projects/operations.d.ts.map +1 -0
  439. package/dist/esm/api/projects/operations.js +182 -0
  440. package/dist/esm/api/projects/operations.js.map +1 -0
  441. package/dist/esm/api/projects/options.d.ts +24 -0
  442. package/dist/esm/api/projects/options.d.ts.map +1 -0
  443. package/dist/esm/api/projects/options.js +4 -0
  444. package/dist/esm/api/projects/options.js.map +1 -0
  445. package/dist/esm/classic/branches/index.d.ts +25 -0
  446. package/dist/esm/classic/branches/index.d.ts.map +1 -0
  447. package/dist/esm/classic/branches/index.js +16 -0
  448. package/dist/esm/classic/branches/index.js.map +1 -0
  449. package/dist/esm/classic/computes/index.d.ts +25 -0
  450. package/dist/esm/classic/computes/index.d.ts.map +1 -0
  451. package/dist/esm/classic/computes/index.js +16 -0
  452. package/dist/esm/classic/computes/index.js.map +1 -0
  453. package/dist/esm/classic/endpoints/index.d.ts +25 -0
  454. package/dist/esm/classic/endpoints/index.d.ts.map +1 -0
  455. package/dist/esm/classic/endpoints/index.js +16 -0
  456. package/dist/esm/classic/endpoints/index.js.map +1 -0
  457. package/dist/esm/classic/index.d.ts +6 -0
  458. package/dist/esm/classic/index.d.ts.map +1 -1
  459. package/dist/esm/classic/index.js.map +1 -1
  460. package/dist/esm/classic/neonDatabases/index.d.ts +25 -0
  461. package/dist/esm/classic/neonDatabases/index.d.ts.map +1 -0
  462. package/dist/esm/classic/neonDatabases/index.js +16 -0
  463. package/dist/esm/classic/neonDatabases/index.js.map +1 -0
  464. package/dist/esm/classic/neonRoles/index.d.ts +25 -0
  465. package/dist/esm/classic/neonRoles/index.d.ts.map +1 -0
  466. package/dist/esm/classic/neonRoles/index.js +16 -0
  467. package/dist/esm/classic/neonRoles/index.js.map +1 -0
  468. package/dist/esm/classic/operations/index.d.ts +2 -5
  469. package/dist/esm/classic/operations/index.d.ts.map +1 -1
  470. package/dist/esm/classic/operations/index.js +5 -5
  471. package/dist/esm/classic/operations/index.js.map +1 -1
  472. package/dist/esm/classic/organizations/index.d.ts +20 -20
  473. package/dist/esm/classic/organizations/index.d.ts.map +1 -1
  474. package/dist/esm/classic/organizations/index.js +11 -10
  475. package/dist/esm/classic/organizations/index.js.map +1 -1
  476. package/dist/esm/classic/projects/index.d.ts +28 -0
  477. package/dist/esm/classic/projects/index.d.ts.map +1 -0
  478. package/dist/esm/classic/projects/index.js +17 -0
  479. package/dist/esm/classic/projects/index.js.map +1 -0
  480. package/dist/esm/index.d.ts +12 -3
  481. package/dist/esm/index.d.ts.map +1 -1
  482. package/dist/esm/index.js +2 -1
  483. package/dist/esm/index.js.map +1 -1
  484. package/dist/esm/models/index.d.ts +1 -1
  485. package/dist/esm/models/index.d.ts.map +1 -1
  486. package/dist/esm/models/index.js +1 -1
  487. package/dist/esm/models/index.js.map +1 -1
  488. package/dist/esm/models/models/index.d.ts +2 -0
  489. package/dist/esm/models/models/index.d.ts.map +1 -0
  490. package/dist/esm/models/models/index.js +4 -0
  491. package/dist/esm/models/models/index.js.map +1 -0
  492. package/dist/esm/models/models/models.d.ts +224 -0
  493. package/dist/esm/models/models/models.d.ts.map +1 -0
  494. package/dist/esm/models/models/models.js +314 -0
  495. package/dist/esm/models/models/models.js.map +1 -0
  496. package/dist/esm/models/models.d.ts +207 -63
  497. package/dist/esm/models/models.d.ts.map +1 -1
  498. package/dist/esm/models/models.js +302 -31
  499. package/dist/esm/models/models.js.map +1 -1
  500. package/dist/esm/postgresClient.d.ts +23 -5
  501. package/dist/esm/postgresClient.d.ts.map +1 -1
  502. package/dist/esm/postgresClient.js +17 -5
  503. package/dist/esm/postgresClient.js.map +1 -1
  504. package/dist/esm/restorePollerHelpers.d.ts.map +1 -1
  505. package/dist/esm/restorePollerHelpers.js +57 -6
  506. package/dist/esm/restorePollerHelpers.js.map +1 -1
  507. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  508. package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
  509. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  510. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  511. package/dist/react-native/api/branches/index.d.ts +3 -0
  512. package/dist/react-native/api/branches/index.d.ts.map +1 -0
  513. package/dist/react-native/api/branches/index.js +4 -0
  514. package/dist/react-native/api/branches/index.js.map +1 -0
  515. package/dist/react-native/api/branches/operations.d.ts +32 -0
  516. package/dist/react-native/api/branches/operations.d.ts.map +1 -0
  517. package/dist/react-native/api/branches/operations.js +159 -0
  518. package/dist/react-native/api/branches/operations.js.map +1 -0
  519. package/dist/react-native/api/branches/options.d.ts +21 -0
  520. package/dist/react-native/api/branches/options.d.ts.map +1 -0
  521. package/dist/react-native/api/branches/options.js +4 -0
  522. package/dist/react-native/api/branches/options.js.map +1 -0
  523. package/dist/react-native/api/computes/index.d.ts +3 -0
  524. package/dist/react-native/api/computes/index.d.ts.map +1 -0
  525. package/dist/react-native/api/computes/index.js +4 -0
  526. package/dist/react-native/api/computes/index.js.map +1 -0
  527. package/dist/react-native/api/computes/operations.d.ts +32 -0
  528. package/dist/react-native/api/computes/operations.d.ts.map +1 -0
  529. package/dist/react-native/api/computes/operations.js +164 -0
  530. package/dist/react-native/api/computes/operations.js.map +1 -0
  531. package/dist/react-native/api/computes/options.d.ts +21 -0
  532. package/dist/react-native/api/computes/options.d.ts.map +1 -0
  533. package/dist/react-native/api/computes/options.js +4 -0
  534. package/dist/react-native/api/computes/options.js.map +1 -0
  535. package/dist/react-native/api/endpoints/index.d.ts +3 -0
  536. package/dist/react-native/api/endpoints/index.d.ts.map +1 -0
  537. package/dist/react-native/api/endpoints/index.js +4 -0
  538. package/dist/react-native/api/endpoints/index.js.map +1 -0
  539. package/dist/react-native/api/endpoints/operations.d.ts +32 -0
  540. package/dist/react-native/api/endpoints/operations.d.ts.map +1 -0
  541. package/dist/react-native/api/endpoints/operations.js +164 -0
  542. package/dist/react-native/api/endpoints/operations.js.map +1 -0
  543. package/dist/react-native/api/endpoints/options.d.ts +21 -0
  544. package/dist/react-native/api/endpoints/options.d.ts.map +1 -0
  545. package/dist/react-native/api/endpoints/options.js +4 -0
  546. package/dist/react-native/api/endpoints/options.js.map +1 -0
  547. package/dist/react-native/api/index.d.ts +0 -3
  548. package/dist/react-native/api/index.d.ts.map +1 -1
  549. package/dist/react-native/api/index.js +0 -2
  550. package/dist/react-native/api/index.js.map +1 -1
  551. package/dist/react-native/api/neonDatabases/index.d.ts +3 -0
  552. package/dist/react-native/api/neonDatabases/index.d.ts.map +1 -0
  553. package/dist/react-native/api/neonDatabases/index.js +4 -0
  554. package/dist/react-native/api/neonDatabases/index.js.map +1 -0
  555. package/dist/react-native/api/neonDatabases/operations.d.ts +32 -0
  556. package/dist/react-native/api/neonDatabases/operations.d.ts.map +1 -0
  557. package/dist/react-native/api/neonDatabases/operations.js +164 -0
  558. package/dist/react-native/api/neonDatabases/operations.js.map +1 -0
  559. package/dist/react-native/api/neonDatabases/options.d.ts +21 -0
  560. package/dist/react-native/api/neonDatabases/options.d.ts.map +1 -0
  561. package/dist/react-native/api/neonDatabases/options.js +4 -0
  562. package/dist/react-native/api/neonDatabases/options.js.map +1 -0
  563. package/dist/react-native/api/neonRoles/index.d.ts +3 -0
  564. package/dist/react-native/api/neonRoles/index.d.ts.map +1 -0
  565. package/dist/react-native/api/neonRoles/index.js +4 -0
  566. package/dist/react-native/api/neonRoles/index.js.map +1 -0
  567. package/dist/react-native/api/neonRoles/operations.d.ts +32 -0
  568. package/dist/react-native/api/neonRoles/operations.d.ts.map +1 -0
  569. package/dist/react-native/api/neonRoles/operations.js +164 -0
  570. package/dist/react-native/api/neonRoles/operations.js.map +1 -0
  571. package/dist/react-native/api/neonRoles/options.d.ts +21 -0
  572. package/dist/react-native/api/neonRoles/options.d.ts.map +1 -0
  573. package/dist/react-native/api/neonRoles/options.js +4 -0
  574. package/dist/react-native/api/neonRoles/options.js.map +1 -0
  575. package/dist/react-native/api/operations/index.d.ts +2 -8
  576. package/dist/react-native/api/operations/index.d.ts.map +1 -1
  577. package/dist/react-native/api/operations/index.js +1 -19
  578. package/dist/react-native/api/operations/index.js.map +1 -1
  579. package/dist/react-native/api/operations/operations.d.ts +10 -0
  580. package/dist/react-native/api/operations/operations.d.ts.map +1 -0
  581. package/dist/react-native/api/operations/operations.js +29 -0
  582. package/dist/react-native/api/operations/operations.js.map +1 -0
  583. package/dist/react-native/api/operations/options.d.ts +5 -0
  584. package/dist/react-native/api/operations/options.d.ts.map +1 -0
  585. package/dist/react-native/api/operations/options.js +4 -0
  586. package/dist/react-native/api/operations/options.js.map +1 -0
  587. package/dist/react-native/api/organizations/index.d.ts +2 -29
  588. package/dist/react-native/api/organizations/index.d.ts.map +1 -1
  589. package/dist/react-native/api/organizations/index.js +1 -124
  590. package/dist/react-native/api/organizations/index.js.map +1 -1
  591. package/dist/react-native/api/organizations/operations.d.ts +41 -0
  592. package/dist/react-native/api/organizations/operations.d.ts.map +1 -0
  593. package/dist/react-native/api/organizations/operations.js +216 -0
  594. package/dist/react-native/api/organizations/operations.js.map +1 -0
  595. package/dist/react-native/api/{options.d.ts → organizations/options.d.ts} +11 -8
  596. package/dist/react-native/api/organizations/options.d.ts.map +1 -0
  597. package/dist/react-native/api/organizations/options.js +4 -0
  598. package/dist/react-native/api/organizations/options.js.map +1 -0
  599. package/dist/react-native/api/postgresContext.d.ts +6 -1
  600. package/dist/react-native/api/postgresContext.d.ts.map +1 -1
  601. package/dist/react-native/api/postgresContext.js +5 -5
  602. package/dist/react-native/api/postgresContext.js.map +1 -1
  603. package/dist/react-native/api/projects/index.d.ts +3 -0
  604. package/dist/react-native/api/projects/index.d.ts.map +1 -0
  605. package/dist/react-native/api/projects/index.js +4 -0
  606. package/dist/react-native/api/projects/index.js.map +1 -0
  607. package/dist/react-native/api/projects/operations.d.ts +37 -0
  608. package/dist/react-native/api/projects/operations.d.ts.map +1 -0
  609. package/dist/react-native/api/projects/operations.js +182 -0
  610. package/dist/react-native/api/projects/operations.js.map +1 -0
  611. package/dist/react-native/api/projects/options.d.ts +24 -0
  612. package/dist/react-native/api/projects/options.d.ts.map +1 -0
  613. package/dist/react-native/api/projects/options.js +4 -0
  614. package/dist/react-native/api/projects/options.js.map +1 -0
  615. package/dist/react-native/classic/branches/index.d.ts +25 -0
  616. package/dist/react-native/classic/branches/index.d.ts.map +1 -0
  617. package/dist/react-native/classic/branches/index.js +16 -0
  618. package/dist/react-native/classic/branches/index.js.map +1 -0
  619. package/dist/react-native/classic/computes/index.d.ts +25 -0
  620. package/dist/react-native/classic/computes/index.d.ts.map +1 -0
  621. package/dist/react-native/classic/computes/index.js +16 -0
  622. package/dist/react-native/classic/computes/index.js.map +1 -0
  623. package/dist/react-native/classic/endpoints/index.d.ts +25 -0
  624. package/dist/react-native/classic/endpoints/index.d.ts.map +1 -0
  625. package/dist/react-native/classic/endpoints/index.js +16 -0
  626. package/dist/react-native/classic/endpoints/index.js.map +1 -0
  627. package/dist/react-native/classic/index.d.ts +6 -0
  628. package/dist/react-native/classic/index.d.ts.map +1 -1
  629. package/dist/react-native/classic/index.js.map +1 -1
  630. package/dist/react-native/classic/neonDatabases/index.d.ts +25 -0
  631. package/dist/react-native/classic/neonDatabases/index.d.ts.map +1 -0
  632. package/dist/react-native/classic/neonDatabases/index.js +16 -0
  633. package/dist/react-native/classic/neonDatabases/index.js.map +1 -0
  634. package/dist/react-native/classic/neonRoles/index.d.ts +25 -0
  635. package/dist/react-native/classic/neonRoles/index.d.ts.map +1 -0
  636. package/dist/react-native/classic/neonRoles/index.js +16 -0
  637. package/dist/react-native/classic/neonRoles/index.js.map +1 -0
  638. package/dist/react-native/classic/operations/index.d.ts +2 -5
  639. package/dist/react-native/classic/operations/index.d.ts.map +1 -1
  640. package/dist/react-native/classic/operations/index.js +5 -5
  641. package/dist/react-native/classic/operations/index.js.map +1 -1
  642. package/dist/react-native/classic/organizations/index.d.ts +20 -20
  643. package/dist/react-native/classic/organizations/index.d.ts.map +1 -1
  644. package/dist/react-native/classic/organizations/index.js +11 -10
  645. package/dist/react-native/classic/organizations/index.js.map +1 -1
  646. package/dist/react-native/classic/projects/index.d.ts +28 -0
  647. package/dist/react-native/classic/projects/index.d.ts.map +1 -0
  648. package/dist/react-native/classic/projects/index.js +17 -0
  649. package/dist/react-native/classic/projects/index.js.map +1 -0
  650. package/dist/react-native/index.d.ts +12 -3
  651. package/dist/react-native/index.d.ts.map +1 -1
  652. package/dist/react-native/index.js +2 -1
  653. package/dist/react-native/index.js.map +1 -1
  654. package/dist/react-native/models/index.d.ts +1 -1
  655. package/dist/react-native/models/index.d.ts.map +1 -1
  656. package/dist/react-native/models/index.js +1 -1
  657. package/dist/react-native/models/index.js.map +1 -1
  658. package/dist/react-native/models/models/index.d.ts +2 -0
  659. package/dist/react-native/models/models/index.d.ts.map +1 -0
  660. package/dist/react-native/models/models/index.js +4 -0
  661. package/dist/react-native/models/models/index.js.map +1 -0
  662. package/dist/react-native/models/models/models.d.ts +224 -0
  663. package/dist/react-native/models/models/models.d.ts.map +1 -0
  664. package/dist/react-native/models/models/models.js +314 -0
  665. package/dist/react-native/models/models/models.js.map +1 -0
  666. package/dist/react-native/models/models.d.ts +207 -63
  667. package/dist/react-native/models/models.d.ts.map +1 -1
  668. package/dist/react-native/models/models.js +302 -31
  669. package/dist/react-native/models/models.js.map +1 -1
  670. package/dist/react-native/postgresClient.d.ts +23 -5
  671. package/dist/react-native/postgresClient.d.ts.map +1 -1
  672. package/dist/react-native/postgresClient.js +17 -5
  673. package/dist/react-native/postgresClient.js.map +1 -1
  674. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -1
  675. package/dist/react-native/restorePollerHelpers.js +57 -6
  676. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  677. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  678. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
  679. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  680. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  681. package/package.json +234 -42
  682. package/review/arm-neonpostgres-api-branches.api.md +51 -0
  683. package/review/arm-neonpostgres-api-computes.api.md +51 -0
  684. package/review/arm-neonpostgres-api-endpoints.api.md +51 -0
  685. package/review/arm-neonpostgres-api-neonDatabases.api.md +51 -0
  686. package/review/arm-neonpostgres-api-neonRoles.api.md +51 -0
  687. package/review/arm-neonpostgres-api-operations.api.md +19 -0
  688. package/review/arm-neonpostgres-api-organizations.api.md +67 -0
  689. package/review/arm-neonpostgres-api-projects.api.md +58 -0
  690. package/review/arm-neonpostgres-api.api.md +27 -0
  691. package/review/arm-neonpostgres-models-models.api.md +133 -0
  692. package/review/arm-neonpostgres-models.api.md +58 -3
  693. package/review/arm-neonpostgres.api.md +385 -3
  694. package/dist/browser/api/options.d.ts.map +0 -1
  695. package/dist/browser/api/options.js.map +0 -1
  696. package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
  697. package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
  698. package/dist/browser/helpers/serializerHelpers.js +0 -24
  699. package/dist/browser/helpers/serializerHelpers.js.map +0 -1
  700. package/dist/commonjs/api/options.d.ts.map +0 -1
  701. package/dist/commonjs/api/options.js.map +0 -1
  702. package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
  703. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
  704. package/dist/commonjs/helpers/serializerHelpers.js +0 -27
  705. package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
  706. package/dist/esm/api/options.d.ts.map +0 -1
  707. package/dist/esm/api/options.js.map +0 -1
  708. package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
  709. package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
  710. package/dist/esm/helpers/serializerHelpers.js +0 -24
  711. package/dist/esm/helpers/serializerHelpers.js.map +0 -1
  712. package/dist/react-native/api/options.d.ts.map +0 -1
  713. package/dist/react-native/api/options.js.map +0 -1
  714. package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
  715. package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
  716. package/dist/react-native/helpers/serializerHelpers.js +0 -24
  717. package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
  718. /package/dist/browser/api/{options.js → branches/options.js} +0 -0
  719. /package/dist/{esm/api → browser/api/computes}/options.js +0 -0
  720. /package/dist/{react-native/api → browser/api/endpoints}/options.js +0 -0
  721. /package/dist/commonjs/api/{options.js → branches/options.js} +0 -0
@@ -0,0 +1,224 @@
1
+ import { ResourceProvisioningState } from "../models.js";
2
+ /** Properties specific to Project */
3
+ export interface ProjectProperties {
4
+ /** Unique identifier for the entity */
5
+ readonly entityId?: string;
6
+ /** Name of the resource */
7
+ entityName?: string;
8
+ /** Timestamp indicating when the entity was created */
9
+ readonly createdAt?: string;
10
+ /** Provisioning state of the resource. */
11
+ readonly provisioningState?: ResourceProvisioningState;
12
+ /** Additional attributes for the entity */
13
+ attributes?: Attributes[];
14
+ /** Region where the project is created */
15
+ regionId?: string;
16
+ /** Data Storage bytes per hour for the project */
17
+ storage?: number;
18
+ /** Postgres version for the project */
19
+ pgVersion?: number;
20
+ /** The retention period for project history in seconds. */
21
+ historyRetention?: number;
22
+ /** Default endpoint settings for the project. */
23
+ defaultEndpointSettings?: DefaultEndpointSettings;
24
+ /** The Branch properties of the project. This is optional */
25
+ branch?: BranchProperties;
26
+ /** Roles associated with the project */
27
+ roles?: NeonRoleProperties[];
28
+ /** Neon Databases associated with the project */
29
+ databases?: NeonDatabaseProperties[];
30
+ /** Endpoints associated with the project */
31
+ endpoints?: EndpointProperties[];
32
+ }
33
+ export declare function projectPropertiesSerializer(item: ProjectProperties): any;
34
+ export declare function projectPropertiesDeserializer(item: any): ProjectProperties;
35
+ export declare function attributesArraySerializer(result: Array<Attributes>): any[];
36
+ export declare function attributesArrayDeserializer(result: Array<Attributes>): any[];
37
+ /** Additional attributes specific to Neon Resources */
38
+ export interface Attributes {
39
+ /** Name of the attribute */
40
+ name: string;
41
+ /** Value of the attribute */
42
+ value: string;
43
+ }
44
+ export declare function attributesSerializer(item: Attributes): any;
45
+ export declare function attributesDeserializer(item: any): Attributes;
46
+ /** Default Endpoint Settings for the project. */
47
+ export interface DefaultEndpointSettings {
48
+ /** Minimum compute units for autoscaling. */
49
+ autoscalingLimitMinCu: number;
50
+ /** Maximum compute units for autoscaling. */
51
+ autoscalingLimitMaxCu: number;
52
+ }
53
+ export declare function defaultEndpointSettingsSerializer(item: DefaultEndpointSettings): any;
54
+ export declare function defaultEndpointSettingsDeserializer(item: any): DefaultEndpointSettings;
55
+ /** Properties specific to Branch */
56
+ export interface BranchProperties {
57
+ /** Unique identifier for the entity */
58
+ readonly entityId?: string;
59
+ /** Name of the resource */
60
+ entityName?: string;
61
+ /** Timestamp indicating when the entity was created */
62
+ readonly createdAt?: string;
63
+ /** Provisioning state of the resource. */
64
+ readonly provisioningState?: ResourceProvisioningState;
65
+ /** Additional attributes for the entity */
66
+ attributes?: Attributes[];
67
+ /** The ID of the project this branch belongs to */
68
+ projectId?: string;
69
+ /** The ID of the parent branch */
70
+ parentId?: string;
71
+ /** Role name associated with the branch */
72
+ roleName?: string;
73
+ /** Database name associated with the branch */
74
+ databaseName?: string;
75
+ /** Roles associated with the branch */
76
+ roles?: NeonRoleProperties[];
77
+ /** Neon Databases associated with the branch */
78
+ databases?: NeonDatabaseProperties[];
79
+ /** Endpoints associated with the branch */
80
+ endpoints?: EndpointProperties[];
81
+ }
82
+ export declare function branchPropertiesSerializer(item: BranchProperties): any;
83
+ export declare function branchPropertiesDeserializer(item: any): BranchProperties;
84
+ export declare function neonRolePropertiesArraySerializer(result: Array<NeonRoleProperties>): any[];
85
+ export declare function neonRolePropertiesArrayDeserializer(result: Array<NeonRoleProperties>): any[];
86
+ /** Properties specific to Roles */
87
+ export interface NeonRoleProperties {
88
+ /** Unique identifier for the entity */
89
+ readonly entityId?: string;
90
+ /** Name of the resource */
91
+ entityName?: string;
92
+ /** Timestamp indicating when the entity was created */
93
+ readonly createdAt?: string;
94
+ /** Provisioning state of the resource. */
95
+ readonly provisioningState?: ResourceProvisioningState;
96
+ /** Additional attributes for the entity */
97
+ attributes?: Attributes[];
98
+ /** The ID of the branch this role belongs to */
99
+ branchId?: string;
100
+ /** Permissions assigned to the role */
101
+ permissions?: string[];
102
+ /** Indicates whether the role has superuser privileges */
103
+ isSuperUser?: boolean;
104
+ }
105
+ export declare function neonRolePropertiesSerializer(item: NeonRoleProperties): any;
106
+ export declare function neonRolePropertiesDeserializer(item: any): NeonRoleProperties;
107
+ export declare function neonDatabasePropertiesArraySerializer(result: Array<NeonDatabaseProperties>): any[];
108
+ export declare function neonDatabasePropertiesArrayDeserializer(result: Array<NeonDatabaseProperties>): any[];
109
+ /** Properties specific to Databases */
110
+ export interface NeonDatabaseProperties {
111
+ /** Unique identifier for the entity */
112
+ readonly entityId?: string;
113
+ /** Name of the resource */
114
+ entityName?: string;
115
+ /** Timestamp indicating when the entity was created */
116
+ readonly createdAt?: string;
117
+ /** Provisioning state of the resource. */
118
+ readonly provisioningState?: ResourceProvisioningState;
119
+ /** Additional attributes for the entity */
120
+ attributes?: Attributes[];
121
+ /** The ID of the branch this database belongs to */
122
+ branchId?: string;
123
+ /** The name of the role that owns the database */
124
+ ownerName?: string;
125
+ }
126
+ export declare function neonDatabasePropertiesSerializer(item: NeonDatabaseProperties): any;
127
+ export declare function neonDatabasePropertiesDeserializer(item: any): NeonDatabaseProperties;
128
+ export declare function endpointPropertiesArraySerializer(result: Array<EndpointProperties>): any[];
129
+ export declare function endpointPropertiesArrayDeserializer(result: Array<EndpointProperties>): any[];
130
+ /** Properties specific to Endpoints */
131
+ export interface EndpointProperties {
132
+ /** Unique identifier for the entity */
133
+ readonly entityId?: string;
134
+ /** Name of the resource */
135
+ entityName?: string;
136
+ /** Timestamp indicating when the entity was created */
137
+ readonly createdAt?: string;
138
+ /** Provisioning state of the resource. */
139
+ readonly provisioningState?: ResourceProvisioningState;
140
+ /** Additional attributes for the entity */
141
+ attributes?: Attributes[];
142
+ /** The ID of the project this endpoint belongs to */
143
+ projectId?: string;
144
+ /** The ID of the branch this endpoint belongs to */
145
+ branchId?: string;
146
+ /** The type of the endpoint */
147
+ endpointType?: EndpointType;
148
+ }
149
+ export declare function endpointPropertiesSerializer(item: EndpointProperties): any;
150
+ export declare function endpointPropertiesDeserializer(item: any): EndpointProperties;
151
+ /** The compute endpoint type. Either read_write or read_only. */
152
+ export declare enum KnownEndpointType {
153
+ /** ReadOnly compute endpoint type */
154
+ ReadOnly = "read_only",
155
+ /** ReadWrite compute endpoint type */
156
+ ReadWrite = "read_write"
157
+ }
158
+ /**
159
+ * The compute endpoint type. Either read_write or read_only. \
160
+ * {@link KnownEndpointType} can be used interchangeably with EndpointType,
161
+ * this enum contains the known values that the service supports.
162
+ * ### Known values supported by the service
163
+ * **read_only**: ReadOnly compute endpoint type \
164
+ * **read_write**: ReadWrite compute endpoint type
165
+ */
166
+ export type EndpointType = string;
167
+ /** PostgreSQL Version model */
168
+ export interface PgVersion {
169
+ /** The major PostgreSQL version number */
170
+ version?: number;
171
+ }
172
+ export declare function pgVersionSerializer(item: PgVersion): any;
173
+ export declare function pgVersionDeserializer(item: any): PgVersion;
174
+ /** Response model for PostgreSQL versions */
175
+ export interface PgVersionsResult {
176
+ /** List of PostgreSQL versions */
177
+ versions: PgVersion[];
178
+ }
179
+ export declare function pgVersionsResultDeserializer(item: any): PgVersionsResult;
180
+ export declare function pgVersionArraySerializer(result: Array<PgVersion>): any[];
181
+ export declare function pgVersionArrayDeserializer(result: Array<PgVersion>): any[];
182
+ /** Connection uri parameters for the associated database */
183
+ export interface ConnectionUriProperties {
184
+ /** Project Id associated with this connection */
185
+ projectId?: string;
186
+ /** Branch Id associated with this connection */
187
+ branchId?: string;
188
+ /** Database name associated with this connection */
189
+ databaseName?: string;
190
+ /** The role name used for authentication */
191
+ roleName?: string;
192
+ /** the endpoint Id with this connection */
193
+ endpointId?: string;
194
+ /** Indicates if the connection is pooled */
195
+ isPooled?: boolean;
196
+ /** connection uri returned for the database */
197
+ readonly connectionStringUri?: string;
198
+ }
199
+ export declare function connectionUriPropertiesSerializer(item: ConnectionUriProperties): any;
200
+ export declare function connectionUriPropertiesDeserializer(item: any): ConnectionUriProperties;
201
+ /** Properties specific to Compute */
202
+ export interface ComputeProperties {
203
+ /** Unique identifier for the entity */
204
+ readonly entityId?: string;
205
+ /** Name of the resource */
206
+ entityName?: string;
207
+ /** Timestamp indicating when the entity was created */
208
+ readonly createdAt?: string;
209
+ /** Provisioning state of the resource. */
210
+ readonly provisioningState?: ResourceProvisioningState;
211
+ /** Additional attributes for the entity */
212
+ attributes?: Attributes[];
213
+ /** Region where the compute instance is located */
214
+ region?: string;
215
+ /** Number of allocated CPU cores */
216
+ cpuCores?: number;
217
+ /** Memory allocated in GB */
218
+ memory?: number;
219
+ /** Current status of the compute instance */
220
+ status?: string;
221
+ }
222
+ export declare function computePropertiesSerializer(item: ComputeProperties): any;
223
+ export declare function computePropertiesDeserializer(item: any): ComputeProperties;
224
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/models/models/models.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,qCAAqC;AACrC,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,0CAA0C;IAC1C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IACvD,2CAA2C;IAC3C,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iDAAiD;IACjD,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,6DAA6D;IAC7D,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,wCAAwC;IACxC,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC7B,iDAAiD;IACjD,SAAS,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACrC,4CAA4C;IAC5C,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,iBAAiB,GAA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soft Corporation.
2
+ // Licensed under the MIT License.
3
+ export function projectPropertiesSerializer(item) {
4
+ return {
5
+ entityName: item["entityName"],
6
+ attributes: !item["attributes"]
7
+ ? item["attributes"]
8
+ : attributesArraySerializer(item["attributes"]),
9
+ regionId: item["regionId"],
10
+ storage: item["storage"],
11
+ pgVersion: item["pgVersion"],
12
+ historyRetention: item["historyRetention"],
13
+ defaultEndpointSettings: !item["defaultEndpointSettings"]
14
+ ? item["defaultEndpointSettings"]
15
+ : defaultEndpointSettingsSerializer(item["defaultEndpointSettings"]),
16
+ branch: !item["branch"] ? item["branch"] : branchPropertiesSerializer(item["branch"]),
17
+ roles: !item["roles"] ? item["roles"] : neonRolePropertiesArraySerializer(item["roles"]),
18
+ databases: !item["databases"]
19
+ ? item["databases"]
20
+ : neonDatabasePropertiesArraySerializer(item["databases"]),
21
+ endpoints: !item["endpoints"]
22
+ ? item["endpoints"]
23
+ : endpointPropertiesArraySerializer(item["endpoints"]),
24
+ };
25
+ }
26
+ export function projectPropertiesDeserializer(item) {
27
+ return {
28
+ entityId: item["entityId"],
29
+ entityName: item["entityName"],
30
+ createdAt: item["createdAt"],
31
+ provisioningState: item["provisioningState"],
32
+ attributes: !item["attributes"]
33
+ ? item["attributes"]
34
+ : attributesArrayDeserializer(item["attributes"]),
35
+ regionId: item["regionId"],
36
+ storage: item["storage"],
37
+ pgVersion: item["pgVersion"],
38
+ historyRetention: item["historyRetention"],
39
+ defaultEndpointSettings: !item["defaultEndpointSettings"]
40
+ ? item["defaultEndpointSettings"]
41
+ : defaultEndpointSettingsDeserializer(item["defaultEndpointSettings"]),
42
+ branch: !item["branch"] ? item["branch"] : branchPropertiesDeserializer(item["branch"]),
43
+ roles: !item["roles"] ? item["roles"] : neonRolePropertiesArrayDeserializer(item["roles"]),
44
+ databases: !item["databases"]
45
+ ? item["databases"]
46
+ : neonDatabasePropertiesArrayDeserializer(item["databases"]),
47
+ endpoints: !item["endpoints"]
48
+ ? item["endpoints"]
49
+ : endpointPropertiesArrayDeserializer(item["endpoints"]),
50
+ };
51
+ }
52
+ export function attributesArraySerializer(result) {
53
+ return result.map((item) => {
54
+ return attributesSerializer(item);
55
+ });
56
+ }
57
+ export function attributesArrayDeserializer(result) {
58
+ return result.map((item) => {
59
+ return attributesDeserializer(item);
60
+ });
61
+ }
62
+ export function attributesSerializer(item) {
63
+ return { name: item["name"], value: item["value"] };
64
+ }
65
+ export function attributesDeserializer(item) {
66
+ return {
67
+ name: item["name"],
68
+ value: item["value"],
69
+ };
70
+ }
71
+ export function defaultEndpointSettingsSerializer(item) {
72
+ return {
73
+ autoscalingLimitMinCu: item["autoscalingLimitMinCu"],
74
+ autoscalingLimitMaxCu: item["autoscalingLimitMaxCu"],
75
+ };
76
+ }
77
+ export function defaultEndpointSettingsDeserializer(item) {
78
+ return {
79
+ autoscalingLimitMinCu: item["autoscalingLimitMinCu"],
80
+ autoscalingLimitMaxCu: item["autoscalingLimitMaxCu"],
81
+ };
82
+ }
83
+ export function branchPropertiesSerializer(item) {
84
+ return {
85
+ entityName: item["entityName"],
86
+ attributes: !item["attributes"]
87
+ ? item["attributes"]
88
+ : attributesArraySerializer(item["attributes"]),
89
+ projectId: item["projectId"],
90
+ parentId: item["parentId"],
91
+ roleName: item["roleName"],
92
+ databaseName: item["databaseName"],
93
+ roles: !item["roles"] ? item["roles"] : neonRolePropertiesArraySerializer(item["roles"]),
94
+ databases: !item["databases"]
95
+ ? item["databases"]
96
+ : neonDatabasePropertiesArraySerializer(item["databases"]),
97
+ endpoints: !item["endpoints"]
98
+ ? item["endpoints"]
99
+ : endpointPropertiesArraySerializer(item["endpoints"]),
100
+ };
101
+ }
102
+ export function branchPropertiesDeserializer(item) {
103
+ return {
104
+ entityId: item["entityId"],
105
+ entityName: item["entityName"],
106
+ createdAt: item["createdAt"],
107
+ provisioningState: item["provisioningState"],
108
+ attributes: !item["attributes"]
109
+ ? item["attributes"]
110
+ : attributesArrayDeserializer(item["attributes"]),
111
+ projectId: item["projectId"],
112
+ parentId: item["parentId"],
113
+ roleName: item["roleName"],
114
+ databaseName: item["databaseName"],
115
+ roles: !item["roles"] ? item["roles"] : neonRolePropertiesArrayDeserializer(item["roles"]),
116
+ databases: !item["databases"]
117
+ ? item["databases"]
118
+ : neonDatabasePropertiesArrayDeserializer(item["databases"]),
119
+ endpoints: !item["endpoints"]
120
+ ? item["endpoints"]
121
+ : endpointPropertiesArrayDeserializer(item["endpoints"]),
122
+ };
123
+ }
124
+ export function neonRolePropertiesArraySerializer(result) {
125
+ return result.map((item) => {
126
+ return neonRolePropertiesSerializer(item);
127
+ });
128
+ }
129
+ export function neonRolePropertiesArrayDeserializer(result) {
130
+ return result.map((item) => {
131
+ return neonRolePropertiesDeserializer(item);
132
+ });
133
+ }
134
+ export function neonRolePropertiesSerializer(item) {
135
+ return {
136
+ entityName: item["entityName"],
137
+ attributes: !item["attributes"]
138
+ ? item["attributes"]
139
+ : attributesArraySerializer(item["attributes"]),
140
+ branchId: item["branchId"],
141
+ permissions: !item["permissions"]
142
+ ? item["permissions"]
143
+ : item["permissions"].map((p) => {
144
+ return p;
145
+ }),
146
+ isSuperUser: item["isSuperUser"],
147
+ };
148
+ }
149
+ export function neonRolePropertiesDeserializer(item) {
150
+ return {
151
+ entityId: item["entityId"],
152
+ entityName: item["entityName"],
153
+ createdAt: item["createdAt"],
154
+ provisioningState: item["provisioningState"],
155
+ attributes: !item["attributes"]
156
+ ? item["attributes"]
157
+ : attributesArrayDeserializer(item["attributes"]),
158
+ branchId: item["branchId"],
159
+ permissions: !item["permissions"]
160
+ ? item["permissions"]
161
+ : item["permissions"].map((p) => {
162
+ return p;
163
+ }),
164
+ isSuperUser: item["isSuperUser"],
165
+ };
166
+ }
167
+ export function neonDatabasePropertiesArraySerializer(result) {
168
+ return result.map((item) => {
169
+ return neonDatabasePropertiesSerializer(item);
170
+ });
171
+ }
172
+ export function neonDatabasePropertiesArrayDeserializer(result) {
173
+ return result.map((item) => {
174
+ return neonDatabasePropertiesDeserializer(item);
175
+ });
176
+ }
177
+ export function neonDatabasePropertiesSerializer(item) {
178
+ return {
179
+ entityName: item["entityName"],
180
+ attributes: !item["attributes"]
181
+ ? item["attributes"]
182
+ : attributesArraySerializer(item["attributes"]),
183
+ branchId: item["branchId"],
184
+ ownerName: item["ownerName"],
185
+ };
186
+ }
187
+ export function neonDatabasePropertiesDeserializer(item) {
188
+ return {
189
+ entityId: item["entityId"],
190
+ entityName: item["entityName"],
191
+ createdAt: item["createdAt"],
192
+ provisioningState: item["provisioningState"],
193
+ attributes: !item["attributes"]
194
+ ? item["attributes"]
195
+ : attributesArrayDeserializer(item["attributes"]),
196
+ branchId: item["branchId"],
197
+ ownerName: item["ownerName"],
198
+ };
199
+ }
200
+ export function endpointPropertiesArraySerializer(result) {
201
+ return result.map((item) => {
202
+ return endpointPropertiesSerializer(item);
203
+ });
204
+ }
205
+ export function endpointPropertiesArrayDeserializer(result) {
206
+ return result.map((item) => {
207
+ return endpointPropertiesDeserializer(item);
208
+ });
209
+ }
210
+ export function endpointPropertiesSerializer(item) {
211
+ return {
212
+ entityName: item["entityName"],
213
+ attributes: !item["attributes"]
214
+ ? item["attributes"]
215
+ : attributesArraySerializer(item["attributes"]),
216
+ projectId: item["projectId"],
217
+ branchId: item["branchId"],
218
+ endpointType: item["endpointType"],
219
+ };
220
+ }
221
+ export function endpointPropertiesDeserializer(item) {
222
+ return {
223
+ entityId: item["entityId"],
224
+ entityName: item["entityName"],
225
+ createdAt: item["createdAt"],
226
+ provisioningState: item["provisioningState"],
227
+ attributes: !item["attributes"]
228
+ ? item["attributes"]
229
+ : attributesArrayDeserializer(item["attributes"]),
230
+ projectId: item["projectId"],
231
+ branchId: item["branchId"],
232
+ endpointType: item["endpointType"],
233
+ };
234
+ }
235
+ /** The compute endpoint type. Either read_write or read_only. */
236
+ export var KnownEndpointType;
237
+ (function (KnownEndpointType) {
238
+ /** ReadOnly compute endpoint type */
239
+ KnownEndpointType["ReadOnly"] = "read_only";
240
+ /** ReadWrite compute endpoint type */
241
+ KnownEndpointType["ReadWrite"] = "read_write";
242
+ })(KnownEndpointType || (KnownEndpointType = {}));
243
+ export function pgVersionSerializer(item) {
244
+ return { version: item["version"] };
245
+ }
246
+ export function pgVersionDeserializer(item) {
247
+ return {
248
+ version: item["version"],
249
+ };
250
+ }
251
+ export function pgVersionsResultDeserializer(item) {
252
+ return {
253
+ versions: pgVersionArrayDeserializer(item["versions"]),
254
+ };
255
+ }
256
+ export function pgVersionArraySerializer(result) {
257
+ return result.map((item) => {
258
+ return pgVersionSerializer(item);
259
+ });
260
+ }
261
+ export function pgVersionArrayDeserializer(result) {
262
+ return result.map((item) => {
263
+ return pgVersionDeserializer(item);
264
+ });
265
+ }
266
+ export function connectionUriPropertiesSerializer(item) {
267
+ return {
268
+ projectId: item["projectId"],
269
+ branchId: item["branchId"],
270
+ databaseName: item["databaseName"],
271
+ roleName: item["roleName"],
272
+ endpointId: item["endpointId"],
273
+ isPooled: item["isPooled"],
274
+ };
275
+ }
276
+ export function connectionUriPropertiesDeserializer(item) {
277
+ return {
278
+ projectId: item["projectId"],
279
+ branchId: item["branchId"],
280
+ databaseName: item["databaseName"],
281
+ roleName: item["roleName"],
282
+ endpointId: item["endpointId"],
283
+ isPooled: item["isPooled"],
284
+ connectionStringUri: item["connectionStringUri"],
285
+ };
286
+ }
287
+ export function computePropertiesSerializer(item) {
288
+ return {
289
+ entityName: item["entityName"],
290
+ attributes: !item["attributes"]
291
+ ? item["attributes"]
292
+ : attributesArraySerializer(item["attributes"]),
293
+ region: item["region"],
294
+ cpuCores: item["cpuCores"],
295
+ memory: item["memory"],
296
+ status: item["status"],
297
+ };
298
+ }
299
+ export function computePropertiesDeserializer(item) {
300
+ return {
301
+ entityId: item["entityId"],
302
+ entityName: item["entityName"],
303
+ createdAt: item["createdAt"],
304
+ provisioningState: item["provisioningState"],
305
+ attributes: !item["attributes"]
306
+ ? item["attributes"]
307
+ : attributesArrayDeserializer(item["attributes"]),
308
+ region: item["region"],
309
+ cpuCores: item["cpuCores"],
310
+ memory: item["memory"],
311
+ status: item["status"],
312
+ };
313
+ }
314
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/models/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAoClC,MAAM,UAAU,2BAA2B,CAAC,IAAuB;IACjE,OAAO;QACL,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;QAC9B,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACjD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,gBAAgB,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAC1C,uBAAuB,EAAE,CAAC,IAAI,CAAC,yBAAyB,CAAC;YACvD,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC;YACjC,CAAC,CAAC,iCAAiC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;QACtE,MAAM,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrF,KAAK,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,iCAAiC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxF,SAAS,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;YAC3B,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;YACnB,CAAC,CAAC,qCAAqC,CAAC,IAAI,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;YACpB,CAAC,CAAC,2BAA2B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACnD,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;KACvB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ResourceProvisioningState } from \"../models.js\";\n\n/** Properties specific to Project */\nexport interface ProjectProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** Region where the project is created */\n regionId?: string;\n /** Data Storage bytes per hour for the project */\n storage?: number;\n /** Postgres version for the project */\n pgVersion?: number;\n /** The retention period for project history in seconds. */\n historyRetention?: number;\n /** Default endpoint settings for the project. */\n defaultEndpointSettings?: DefaultEndpointSettings;\n /** The Branch properties of the project. This is optional */\n branch?: BranchProperties;\n /** Roles associated with the project */\n roles?: NeonRoleProperties[];\n /** Neon Databases associated with the project */\n databases?: NeonDatabaseProperties[];\n /** Endpoints associated with the project */\n endpoints?: EndpointProperties[];\n}\n\nexport function projectPropertiesSerializer(item: ProjectProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n regionId: item[\"regionId\"],\n storage: item[\"storage\"],\n pgVersion: item[\"pgVersion\"],\n historyRetention: item[\"historyRetention\"],\n defaultEndpointSettings: !item[\"defaultEndpointSettings\"]\n ? item[\"defaultEndpointSettings\"]\n : defaultEndpointSettingsSerializer(item[\"defaultEndpointSettings\"]),\n branch: !item[\"branch\"] ? item[\"branch\"] : branchPropertiesSerializer(item[\"branch\"]),\n roles: !item[\"roles\"] ? item[\"roles\"] : neonRolePropertiesArraySerializer(item[\"roles\"]),\n databases: !item[\"databases\"]\n ? item[\"databases\"]\n : neonDatabasePropertiesArraySerializer(item[\"databases\"]),\n endpoints: !item[\"endpoints\"]\n ? item[\"endpoints\"]\n : endpointPropertiesArraySerializer(item[\"endpoints\"]),\n };\n}\n\nexport function projectPropertiesDeserializer(item: any): ProjectProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n regionId: item[\"regionId\"],\n storage: item[\"storage\"],\n pgVersion: item[\"pgVersion\"],\n historyRetention: item[\"historyRetention\"],\n defaultEndpointSettings: !item[\"defaultEndpointSettings\"]\n ? item[\"defaultEndpointSettings\"]\n : defaultEndpointSettingsDeserializer(item[\"defaultEndpointSettings\"]),\n branch: !item[\"branch\"] ? item[\"branch\"] : branchPropertiesDeserializer(item[\"branch\"]),\n roles: !item[\"roles\"] ? item[\"roles\"] : neonRolePropertiesArrayDeserializer(item[\"roles\"]),\n databases: !item[\"databases\"]\n ? item[\"databases\"]\n : neonDatabasePropertiesArrayDeserializer(item[\"databases\"]),\n endpoints: !item[\"endpoints\"]\n ? item[\"endpoints\"]\n : endpointPropertiesArrayDeserializer(item[\"endpoints\"]),\n };\n}\n\nexport function attributesArraySerializer(result: Array<Attributes>): any[] {\n return result.map((item) => {\n return attributesSerializer(item);\n });\n}\n\nexport function attributesArrayDeserializer(result: Array<Attributes>): any[] {\n return result.map((item) => {\n return attributesDeserializer(item);\n });\n}\n\n/** Additional attributes specific to Neon Resources */\nexport interface Attributes {\n /** Name of the attribute */\n name: string;\n /** Value of the attribute */\n value: string;\n}\n\nexport function attributesSerializer(item: Attributes): any {\n return { name: item[\"name\"], value: item[\"value\"] };\n}\n\nexport function attributesDeserializer(item: any): Attributes {\n return {\n name: item[\"name\"],\n value: item[\"value\"],\n };\n}\n\n/** Default Endpoint Settings for the project. */\nexport interface DefaultEndpointSettings {\n /** Minimum compute units for autoscaling. */\n autoscalingLimitMinCu: number;\n /** Maximum compute units for autoscaling. */\n autoscalingLimitMaxCu: number;\n}\n\nexport function defaultEndpointSettingsSerializer(item: DefaultEndpointSettings): any {\n return {\n autoscalingLimitMinCu: item[\"autoscalingLimitMinCu\"],\n autoscalingLimitMaxCu: item[\"autoscalingLimitMaxCu\"],\n };\n}\n\nexport function defaultEndpointSettingsDeserializer(item: any): DefaultEndpointSettings {\n return {\n autoscalingLimitMinCu: item[\"autoscalingLimitMinCu\"],\n autoscalingLimitMaxCu: item[\"autoscalingLimitMaxCu\"],\n };\n}\n\n/** Properties specific to Branch */\nexport interface BranchProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** The ID of the project this branch belongs to */\n projectId?: string;\n /** The ID of the parent branch */\n parentId?: string;\n /** Role name associated with the branch */\n roleName?: string;\n /** Database name associated with the branch */\n databaseName?: string;\n /** Roles associated with the branch */\n roles?: NeonRoleProperties[];\n /** Neon Databases associated with the branch */\n databases?: NeonDatabaseProperties[];\n /** Endpoints associated with the branch */\n endpoints?: EndpointProperties[];\n}\n\nexport function branchPropertiesSerializer(item: BranchProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n projectId: item[\"projectId\"],\n parentId: item[\"parentId\"],\n roleName: item[\"roleName\"],\n databaseName: item[\"databaseName\"],\n roles: !item[\"roles\"] ? item[\"roles\"] : neonRolePropertiesArraySerializer(item[\"roles\"]),\n databases: !item[\"databases\"]\n ? item[\"databases\"]\n : neonDatabasePropertiesArraySerializer(item[\"databases\"]),\n endpoints: !item[\"endpoints\"]\n ? item[\"endpoints\"]\n : endpointPropertiesArraySerializer(item[\"endpoints\"]),\n };\n}\n\nexport function branchPropertiesDeserializer(item: any): BranchProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n projectId: item[\"projectId\"],\n parentId: item[\"parentId\"],\n roleName: item[\"roleName\"],\n databaseName: item[\"databaseName\"],\n roles: !item[\"roles\"] ? item[\"roles\"] : neonRolePropertiesArrayDeserializer(item[\"roles\"]),\n databases: !item[\"databases\"]\n ? item[\"databases\"]\n : neonDatabasePropertiesArrayDeserializer(item[\"databases\"]),\n endpoints: !item[\"endpoints\"]\n ? item[\"endpoints\"]\n : endpointPropertiesArrayDeserializer(item[\"endpoints\"]),\n };\n}\n\nexport function neonRolePropertiesArraySerializer(result: Array<NeonRoleProperties>): any[] {\n return result.map((item) => {\n return neonRolePropertiesSerializer(item);\n });\n}\n\nexport function neonRolePropertiesArrayDeserializer(result: Array<NeonRoleProperties>): any[] {\n return result.map((item) => {\n return neonRolePropertiesDeserializer(item);\n });\n}\n\n/** Properties specific to Roles */\nexport interface NeonRoleProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** The ID of the branch this role belongs to */\n branchId?: string;\n /** Permissions assigned to the role */\n permissions?: string[];\n /** Indicates whether the role has superuser privileges */\n isSuperUser?: boolean;\n}\n\nexport function neonRolePropertiesSerializer(item: NeonRoleProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n branchId: item[\"branchId\"],\n permissions: !item[\"permissions\"]\n ? item[\"permissions\"]\n : item[\"permissions\"].map((p: any) => {\n return p;\n }),\n isSuperUser: item[\"isSuperUser\"],\n };\n}\n\nexport function neonRolePropertiesDeserializer(item: any): NeonRoleProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n branchId: item[\"branchId\"],\n permissions: !item[\"permissions\"]\n ? item[\"permissions\"]\n : item[\"permissions\"].map((p: any) => {\n return p;\n }),\n isSuperUser: item[\"isSuperUser\"],\n };\n}\n\nexport function neonDatabasePropertiesArraySerializer(\n result: Array<NeonDatabaseProperties>,\n): any[] {\n return result.map((item) => {\n return neonDatabasePropertiesSerializer(item);\n });\n}\n\nexport function neonDatabasePropertiesArrayDeserializer(\n result: Array<NeonDatabaseProperties>,\n): any[] {\n return result.map((item) => {\n return neonDatabasePropertiesDeserializer(item);\n });\n}\n\n/** Properties specific to Databases */\nexport interface NeonDatabaseProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** The ID of the branch this database belongs to */\n branchId?: string;\n /** The name of the role that owns the database */\n ownerName?: string;\n}\n\nexport function neonDatabasePropertiesSerializer(item: NeonDatabaseProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n branchId: item[\"branchId\"],\n ownerName: item[\"ownerName\"],\n };\n}\n\nexport function neonDatabasePropertiesDeserializer(item: any): NeonDatabaseProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n branchId: item[\"branchId\"],\n ownerName: item[\"ownerName\"],\n };\n}\n\nexport function endpointPropertiesArraySerializer(result: Array<EndpointProperties>): any[] {\n return result.map((item) => {\n return endpointPropertiesSerializer(item);\n });\n}\n\nexport function endpointPropertiesArrayDeserializer(result: Array<EndpointProperties>): any[] {\n return result.map((item) => {\n return endpointPropertiesDeserializer(item);\n });\n}\n\n/** Properties specific to Endpoints */\nexport interface EndpointProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** The ID of the project this endpoint belongs to */\n projectId?: string;\n /** The ID of the branch this endpoint belongs to */\n branchId?: string;\n /** The type of the endpoint */\n endpointType?: EndpointType;\n}\n\nexport function endpointPropertiesSerializer(item: EndpointProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n projectId: item[\"projectId\"],\n branchId: item[\"branchId\"],\n endpointType: item[\"endpointType\"],\n };\n}\n\nexport function endpointPropertiesDeserializer(item: any): EndpointProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n projectId: item[\"projectId\"],\n branchId: item[\"branchId\"],\n endpointType: item[\"endpointType\"],\n };\n}\n\n/** The compute endpoint type. Either read_write or read_only. */\nexport enum KnownEndpointType {\n /** ReadOnly compute endpoint type */\n ReadOnly = \"read_only\",\n /** ReadWrite compute endpoint type */\n ReadWrite = \"read_write\",\n}\n\n/**\n * The compute endpoint type. Either read_write or read_only. \\\n * {@link KnownEndpointType} can be used interchangeably with EndpointType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **read_only**: ReadOnly compute endpoint type \\\n * **read_write**: ReadWrite compute endpoint type\n */\nexport type EndpointType = string;\n\n/** PostgreSQL Version model */\nexport interface PgVersion {\n /** The major PostgreSQL version number */\n version?: number;\n}\n\nexport function pgVersionSerializer(item: PgVersion): any {\n return { version: item[\"version\"] };\n}\n\nexport function pgVersionDeserializer(item: any): PgVersion {\n return {\n version: item[\"version\"],\n };\n}\n\n/** Response model for PostgreSQL versions */\nexport interface PgVersionsResult {\n /** List of PostgreSQL versions */\n versions: PgVersion[];\n}\n\nexport function pgVersionsResultDeserializer(item: any): PgVersionsResult {\n return {\n versions: pgVersionArrayDeserializer(item[\"versions\"]),\n };\n}\n\nexport function pgVersionArraySerializer(result: Array<PgVersion>): any[] {\n return result.map((item) => {\n return pgVersionSerializer(item);\n });\n}\n\nexport function pgVersionArrayDeserializer(result: Array<PgVersion>): any[] {\n return result.map((item) => {\n return pgVersionDeserializer(item);\n });\n}\n\n/** Connection uri parameters for the associated database */\nexport interface ConnectionUriProperties {\n /** Project Id associated with this connection */\n projectId?: string;\n /** Branch Id associated with this connection */\n branchId?: string;\n /** Database name associated with this connection */\n databaseName?: string;\n /** The role name used for authentication */\n roleName?: string;\n /** the endpoint Id with this connection */\n endpointId?: string;\n /** Indicates if the connection is pooled */\n isPooled?: boolean;\n /** connection uri returned for the database */\n readonly connectionStringUri?: string;\n}\n\nexport function connectionUriPropertiesSerializer(item: ConnectionUriProperties): any {\n return {\n projectId: item[\"projectId\"],\n branchId: item[\"branchId\"],\n databaseName: item[\"databaseName\"],\n roleName: item[\"roleName\"],\n endpointId: item[\"endpointId\"],\n isPooled: item[\"isPooled\"],\n };\n}\n\nexport function connectionUriPropertiesDeserializer(item: any): ConnectionUriProperties {\n return {\n projectId: item[\"projectId\"],\n branchId: item[\"branchId\"],\n databaseName: item[\"databaseName\"],\n roleName: item[\"roleName\"],\n endpointId: item[\"endpointId\"],\n isPooled: item[\"isPooled\"],\n connectionStringUri: item[\"connectionStringUri\"],\n };\n}\n\n/** Properties specific to Compute */\nexport interface ComputeProperties {\n /** Unique identifier for the entity */\n readonly entityId?: string;\n /** Name of the resource */\n entityName?: string;\n /** Timestamp indicating when the entity was created */\n readonly createdAt?: string;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n /** Additional attributes for the entity */\n attributes?: Attributes[];\n /** Region where the compute instance is located */\n region?: string;\n /** Number of allocated CPU cores */\n cpuCores?: number;\n /** Memory allocated in GB */\n memory?: number;\n /** Current status of the compute instance */\n status?: string;\n}\n\nexport function computePropertiesSerializer(item: ComputeProperties): any {\n return {\n entityName: item[\"entityName\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArraySerializer(item[\"attributes\"]),\n region: item[\"region\"],\n cpuCores: item[\"cpuCores\"],\n memory: item[\"memory\"],\n status: item[\"status\"],\n };\n}\n\nexport function computePropertiesDeserializer(item: any): ComputeProperties {\n return {\n entityId: item[\"entityId\"],\n entityName: item[\"entityName\"],\n createdAt: item[\"createdAt\"],\n provisioningState: item[\"provisioningState\"],\n attributes: !item[\"attributes\"]\n ? item[\"attributes\"]\n : attributesArrayDeserializer(item[\"attributes\"]),\n region: item[\"region\"],\n cpuCores: item[\"cpuCores\"],\n memory: item[\"memory\"],\n status: item[\"status\"],\n };\n}\n"]}