@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.
- package/CHANGELOG.md +2 -2
- package/LICENSE +3 -3
- package/README.md +23 -14
- package/dist/browser/api/branches/index.d.ts +3 -0
- package/dist/browser/api/branches/index.d.ts.map +1 -0
- package/dist/browser/api/branches/index.js +4 -0
- package/dist/browser/api/branches/index.js.map +1 -0
- package/dist/browser/api/branches/operations.d.ts +32 -0
- package/dist/browser/api/branches/operations.d.ts.map +1 -0
- package/dist/browser/api/branches/operations.js +159 -0
- package/dist/browser/api/branches/operations.js.map +1 -0
- package/dist/browser/api/branches/options.d.ts +21 -0
- package/dist/browser/api/branches/options.d.ts.map +1 -0
- package/dist/browser/api/branches/options.js.map +1 -0
- package/dist/browser/api/computes/index.d.ts +3 -0
- package/dist/browser/api/computes/index.d.ts.map +1 -0
- package/dist/browser/api/computes/index.js +4 -0
- package/dist/browser/api/computes/index.js.map +1 -0
- package/dist/browser/api/computes/operations.d.ts +32 -0
- package/dist/browser/api/computes/operations.d.ts.map +1 -0
- package/dist/browser/api/computes/operations.js +164 -0
- package/dist/browser/api/computes/operations.js.map +1 -0
- package/dist/browser/api/computes/options.d.ts +21 -0
- package/dist/browser/api/computes/options.d.ts.map +1 -0
- package/dist/browser/api/computes/options.js.map +1 -0
- package/dist/browser/api/endpoints/index.d.ts +3 -0
- package/dist/browser/api/endpoints/index.d.ts.map +1 -0
- package/dist/browser/api/endpoints/index.js +4 -0
- package/dist/browser/api/endpoints/index.js.map +1 -0
- package/dist/browser/api/endpoints/operations.d.ts +32 -0
- package/dist/browser/api/endpoints/operations.d.ts.map +1 -0
- package/dist/browser/api/endpoints/operations.js +164 -0
- package/dist/browser/api/endpoints/operations.js.map +1 -0
- package/dist/browser/api/endpoints/options.d.ts +21 -0
- package/dist/browser/api/endpoints/options.d.ts.map +1 -0
- package/dist/browser/api/endpoints/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +0 -3
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +0 -2
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/neonDatabases/index.d.ts +3 -0
- package/dist/browser/api/neonDatabases/index.d.ts.map +1 -0
- package/dist/browser/api/neonDatabases/index.js +4 -0
- package/dist/browser/api/neonDatabases/index.js.map +1 -0
- package/dist/browser/api/neonDatabases/operations.d.ts +32 -0
- package/dist/browser/api/neonDatabases/operations.d.ts.map +1 -0
- package/dist/browser/api/neonDatabases/operations.js +164 -0
- package/dist/browser/api/neonDatabases/operations.js.map +1 -0
- package/dist/browser/api/neonDatabases/options.d.ts +21 -0
- package/dist/browser/api/neonDatabases/options.d.ts.map +1 -0
- package/dist/browser/api/neonDatabases/options.js +4 -0
- package/dist/browser/api/neonDatabases/options.js.map +1 -0
- package/dist/browser/api/neonRoles/index.d.ts +3 -0
- package/dist/browser/api/neonRoles/index.d.ts.map +1 -0
- package/dist/browser/api/neonRoles/index.js +4 -0
- package/dist/browser/api/neonRoles/index.js.map +1 -0
- package/dist/browser/api/neonRoles/operations.d.ts +32 -0
- package/dist/browser/api/neonRoles/operations.d.ts.map +1 -0
- package/dist/browser/api/neonRoles/operations.js +164 -0
- package/dist/browser/api/neonRoles/operations.js.map +1 -0
- package/dist/browser/api/neonRoles/options.d.ts +21 -0
- package/dist/browser/api/neonRoles/options.d.ts.map +1 -0
- package/dist/browser/api/neonRoles/options.js +4 -0
- package/dist/browser/api/neonRoles/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +2 -8
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +1 -19
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/organizations/index.d.ts +2 -29
- package/dist/browser/api/organizations/index.d.ts.map +1 -1
- package/dist/browser/api/organizations/index.js +1 -124
- package/dist/browser/api/organizations/index.js.map +1 -1
- package/dist/browser/api/organizations/operations.d.ts +41 -0
- package/dist/browser/api/organizations/operations.d.ts.map +1 -0
- package/dist/browser/api/organizations/operations.js +216 -0
- package/dist/browser/api/organizations/operations.js.map +1 -0
- package/dist/browser/api/{options.d.ts → organizations/options.d.ts} +11 -8
- package/dist/browser/api/organizations/options.d.ts.map +1 -0
- package/dist/browser/api/organizations/options.js +4 -0
- package/dist/browser/api/organizations/options.js.map +1 -0
- package/dist/browser/api/postgresContext.d.ts +6 -1
- package/dist/browser/api/postgresContext.d.ts.map +1 -1
- package/dist/browser/api/postgresContext.js +5 -5
- package/dist/browser/api/postgresContext.js.map +1 -1
- package/dist/browser/api/projects/index.d.ts +3 -0
- package/dist/browser/api/projects/index.d.ts.map +1 -0
- package/dist/browser/api/projects/index.js +4 -0
- package/dist/browser/api/projects/index.js.map +1 -0
- package/dist/browser/api/projects/operations.d.ts +37 -0
- package/dist/browser/api/projects/operations.d.ts.map +1 -0
- package/dist/browser/api/projects/operations.js +182 -0
- package/dist/browser/api/projects/operations.js.map +1 -0
- package/dist/browser/api/projects/options.d.ts +24 -0
- package/dist/browser/api/projects/options.d.ts.map +1 -0
- package/dist/browser/api/projects/options.js +4 -0
- package/dist/browser/api/projects/options.js.map +1 -0
- package/dist/browser/classic/branches/index.d.ts +25 -0
- package/dist/browser/classic/branches/index.d.ts.map +1 -0
- package/dist/browser/classic/branches/index.js +16 -0
- package/dist/browser/classic/branches/index.js.map +1 -0
- package/dist/browser/classic/computes/index.d.ts +25 -0
- package/dist/browser/classic/computes/index.d.ts.map +1 -0
- package/dist/browser/classic/computes/index.js +16 -0
- package/dist/browser/classic/computes/index.js.map +1 -0
- package/dist/browser/classic/endpoints/index.d.ts +25 -0
- package/dist/browser/classic/endpoints/index.d.ts.map +1 -0
- package/dist/browser/classic/endpoints/index.js +16 -0
- package/dist/browser/classic/endpoints/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +6 -0
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/neonDatabases/index.d.ts +25 -0
- package/dist/browser/classic/neonDatabases/index.d.ts.map +1 -0
- package/dist/browser/classic/neonDatabases/index.js +16 -0
- package/dist/browser/classic/neonDatabases/index.js.map +1 -0
- package/dist/browser/classic/neonRoles/index.d.ts +25 -0
- package/dist/browser/classic/neonRoles/index.d.ts.map +1 -0
- package/dist/browser/classic/neonRoles/index.js +16 -0
- package/dist/browser/classic/neonRoles/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +2 -5
- package/dist/browser/classic/operations/index.d.ts.map +1 -1
- package/dist/browser/classic/operations/index.js +5 -5
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/organizations/index.d.ts +20 -20
- package/dist/browser/classic/organizations/index.d.ts.map +1 -1
- package/dist/browser/classic/organizations/index.js +11 -10
- package/dist/browser/classic/organizations/index.js.map +1 -1
- package/dist/browser/classic/projects/index.d.ts +28 -0
- package/dist/browser/classic/projects/index.d.ts.map +1 -0
- package/dist/browser/classic/projects/index.js +17 -0
- package/dist/browser/classic/projects/index.js.map +1 -0
- package/dist/browser/index.d.ts +12 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models/index.d.ts +2 -0
- package/dist/browser/models/models/index.d.ts.map +1 -0
- package/dist/browser/models/models/index.js +4 -0
- package/dist/browser/models/models/index.js.map +1 -0
- package/dist/browser/models/models/models.d.ts +224 -0
- package/dist/browser/models/models/models.d.ts.map +1 -0
- package/dist/browser/models/models/models.js +314 -0
- package/dist/browser/models/models/models.js.map +1 -0
- package/dist/browser/models/models.d.ts +207 -63
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +302 -31
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/postgresClient.d.ts +23 -5
- package/dist/browser/postgresClient.d.ts.map +1 -1
- package/dist/browser/postgresClient.js +17 -5
- package/dist/browser/postgresClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -1
- package/dist/browser/restorePollerHelpers.js +57 -6
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/branches/index.d.ts +3 -0
- package/dist/commonjs/api/branches/index.d.ts.map +1 -0
- package/dist/commonjs/api/branches/index.js +12 -0
- package/dist/commonjs/api/branches/index.js.map +1 -0
- package/dist/commonjs/api/branches/operations.d.ts +32 -0
- package/dist/commonjs/api/branches/operations.d.ts.map +1 -0
- package/dist/commonjs/api/branches/operations.js +176 -0
- package/dist/commonjs/api/branches/operations.js.map +1 -0
- package/dist/commonjs/api/branches/options.d.ts +21 -0
- package/dist/commonjs/api/branches/options.d.ts.map +1 -0
- package/dist/commonjs/api/branches/options.js.map +1 -0
- package/dist/commonjs/api/computes/index.d.ts +3 -0
- package/dist/commonjs/api/computes/index.d.ts.map +1 -0
- package/dist/commonjs/api/computes/index.js +12 -0
- package/dist/commonjs/api/computes/index.js.map +1 -0
- package/dist/commonjs/api/computes/operations.d.ts +32 -0
- package/dist/commonjs/api/computes/operations.d.ts.map +1 -0
- package/dist/commonjs/api/computes/operations.js +181 -0
- package/dist/commonjs/api/computes/operations.js.map +1 -0
- package/dist/commonjs/api/computes/options.d.ts +21 -0
- package/dist/commonjs/api/computes/options.d.ts.map +1 -0
- package/dist/commonjs/api/computes/options.js +5 -0
- package/dist/commonjs/api/computes/options.js.map +1 -0
- package/dist/commonjs/api/endpoints/index.d.ts +3 -0
- package/dist/commonjs/api/endpoints/index.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/index.js +12 -0
- package/dist/commonjs/api/endpoints/index.js.map +1 -0
- package/dist/commonjs/api/endpoints/operations.d.ts +32 -0
- package/dist/commonjs/api/endpoints/operations.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/operations.js +181 -0
- package/dist/commonjs/api/endpoints/operations.js.map +1 -0
- package/dist/commonjs/api/endpoints/options.d.ts +21 -0
- package/dist/commonjs/api/endpoints/options.d.ts.map +1 -0
- package/dist/commonjs/api/endpoints/options.js +5 -0
- package/dist/commonjs/api/endpoints/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +0 -3
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -10
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/neonDatabases/index.d.ts +3 -0
- package/dist/commonjs/api/neonDatabases/index.d.ts.map +1 -0
- package/dist/commonjs/api/neonDatabases/index.js +12 -0
- package/dist/commonjs/api/neonDatabases/index.js.map +1 -0
- package/dist/commonjs/api/neonDatabases/operations.d.ts +32 -0
- package/dist/commonjs/api/neonDatabases/operations.d.ts.map +1 -0
- package/dist/commonjs/api/neonDatabases/operations.js +181 -0
- package/dist/commonjs/api/neonDatabases/operations.js.map +1 -0
- package/dist/commonjs/api/neonDatabases/options.d.ts +21 -0
- package/dist/commonjs/api/neonDatabases/options.d.ts.map +1 -0
- package/dist/commonjs/api/neonDatabases/options.js +5 -0
- package/dist/commonjs/api/neonDatabases/options.js.map +1 -0
- package/dist/commonjs/api/neonRoles/index.d.ts +3 -0
- package/dist/commonjs/api/neonRoles/index.d.ts.map +1 -0
- package/dist/commonjs/api/neonRoles/index.js +12 -0
- package/dist/commonjs/api/neonRoles/index.js.map +1 -0
- package/dist/commonjs/api/neonRoles/operations.d.ts +32 -0
- package/dist/commonjs/api/neonRoles/operations.d.ts.map +1 -0
- package/dist/commonjs/api/neonRoles/operations.js +181 -0
- package/dist/commonjs/api/neonRoles/operations.js.map +1 -0
- package/dist/commonjs/api/neonRoles/options.d.ts +21 -0
- package/dist/commonjs/api/neonRoles/options.d.ts.map +1 -0
- package/dist/commonjs/api/neonRoles/options.js +5 -0
- package/dist/commonjs/api/neonRoles/options.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +2 -8
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +3 -22
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/organizations/index.d.ts +2 -29
- package/dist/commonjs/api/organizations/index.d.ts.map +1 -1
- package/dist/commonjs/api/organizations/index.js +9 -142
- package/dist/commonjs/api/organizations/index.js.map +1 -1
- package/dist/commonjs/api/organizations/operations.d.ts +41 -0
- package/dist/commonjs/api/organizations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/organizations/operations.js +239 -0
- package/dist/commonjs/api/organizations/operations.js.map +1 -0
- package/dist/{esm/api → commonjs/api/organizations}/options.d.ts +11 -8
- package/dist/commonjs/api/organizations/options.d.ts.map +1 -0
- package/dist/commonjs/api/organizations/options.js +5 -0
- package/dist/commonjs/api/organizations/options.js.map +1 -0
- package/dist/commonjs/api/postgresContext.d.ts +6 -1
- package/dist/commonjs/api/postgresContext.d.ts.map +1 -1
- package/dist/commonjs/api/postgresContext.js +5 -5
- package/dist/commonjs/api/postgresContext.js.map +1 -1
- package/dist/commonjs/api/projects/index.d.ts +3 -0
- package/dist/commonjs/api/projects/index.d.ts.map +1 -0
- package/dist/commonjs/api/projects/index.js +13 -0
- package/dist/commonjs/api/projects/index.js.map +1 -0
- package/dist/commonjs/api/projects/operations.d.ts +37 -0
- package/dist/commonjs/api/projects/operations.d.ts.map +1 -0
- package/dist/commonjs/api/projects/operations.js +202 -0
- package/dist/commonjs/api/projects/operations.js.map +1 -0
- package/dist/commonjs/api/projects/options.d.ts +24 -0
- package/dist/commonjs/api/projects/options.d.ts.map +1 -0
- package/dist/commonjs/api/projects/options.js +5 -0
- package/dist/commonjs/api/projects/options.js.map +1 -0
- package/dist/commonjs/classic/branches/index.d.ts +25 -0
- package/dist/commonjs/classic/branches/index.d.ts.map +1 -0
- package/dist/commonjs/classic/branches/index.js +19 -0
- package/dist/commonjs/classic/branches/index.js.map +1 -0
- package/dist/commonjs/classic/computes/index.d.ts +25 -0
- package/dist/commonjs/classic/computes/index.d.ts.map +1 -0
- package/dist/commonjs/classic/computes/index.js +19 -0
- package/dist/commonjs/classic/computes/index.js.map +1 -0
- package/dist/commonjs/classic/endpoints/index.d.ts +25 -0
- package/dist/commonjs/classic/endpoints/index.d.ts.map +1 -0
- package/dist/commonjs/classic/endpoints/index.js +19 -0
- package/dist/commonjs/classic/endpoints/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +6 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/neonDatabases/index.d.ts +25 -0
- package/dist/commonjs/classic/neonDatabases/index.d.ts.map +1 -0
- package/dist/commonjs/classic/neonDatabases/index.js +19 -0
- package/dist/commonjs/classic/neonDatabases/index.js.map +1 -0
- package/dist/commonjs/classic/neonRoles/index.d.ts +25 -0
- package/dist/commonjs/classic/neonRoles/index.d.ts.map +1 -0
- package/dist/commonjs/classic/neonRoles/index.js +19 -0
- package/dist/commonjs/classic/neonRoles/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +2 -5
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/operations/index.js +6 -7
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/organizations/index.d.ts +20 -20
- package/dist/commonjs/classic/organizations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/organizations/index.js +12 -12
- package/dist/commonjs/classic/organizations/index.js.map +1 -1
- package/dist/commonjs/classic/projects/index.d.ts +28 -0
- package/dist/commonjs/classic/projects/index.d.ts.map +1 -0
- package/dist/commonjs/classic/projects/index.js +20 -0
- package/dist/commonjs/classic/projects/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models/index.d.ts +2 -0
- package/dist/commonjs/models/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/models/index.js +8 -0
- package/dist/commonjs/models/models/index.js.map +1 -0
- package/dist/commonjs/models/models/models.d.ts +224 -0
- package/dist/commonjs/models/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models/models.js +348 -0
- package/dist/commonjs/models/models/models.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +207 -63
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +345 -36
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/postgresClient.d.ts +23 -5
- package/dist/commonjs/postgresClient.d.ts.map +1 -1
- package/dist/commonjs/postgresClient.js +18 -6
- package/dist/commonjs/postgresClient.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +57 -6
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/branches/index.d.ts +3 -0
- package/dist/esm/api/branches/index.d.ts.map +1 -0
- package/dist/esm/api/branches/index.js +4 -0
- package/dist/esm/api/branches/index.js.map +1 -0
- package/dist/esm/api/branches/operations.d.ts +32 -0
- package/dist/esm/api/branches/operations.d.ts.map +1 -0
- package/dist/esm/api/branches/operations.js +159 -0
- package/dist/esm/api/branches/operations.js.map +1 -0
- package/dist/esm/api/branches/options.d.ts +21 -0
- package/dist/esm/api/branches/options.d.ts.map +1 -0
- package/dist/esm/api/branches/options.js +4 -0
- package/dist/esm/api/branches/options.js.map +1 -0
- package/dist/esm/api/computes/index.d.ts +3 -0
- package/dist/esm/api/computes/index.d.ts.map +1 -0
- package/dist/esm/api/computes/index.js +4 -0
- package/dist/esm/api/computes/index.js.map +1 -0
- package/dist/esm/api/computes/operations.d.ts +32 -0
- package/dist/esm/api/computes/operations.d.ts.map +1 -0
- package/dist/esm/api/computes/operations.js +164 -0
- package/dist/esm/api/computes/operations.js.map +1 -0
- package/dist/esm/api/computes/options.d.ts +21 -0
- package/dist/esm/api/computes/options.d.ts.map +1 -0
- package/dist/esm/api/computes/options.js +4 -0
- package/dist/esm/api/computes/options.js.map +1 -0
- package/dist/esm/api/endpoints/index.d.ts +3 -0
- package/dist/esm/api/endpoints/index.d.ts.map +1 -0
- package/dist/esm/api/endpoints/index.js +4 -0
- package/dist/esm/api/endpoints/index.js.map +1 -0
- package/dist/esm/api/endpoints/operations.d.ts +32 -0
- package/dist/esm/api/endpoints/operations.d.ts.map +1 -0
- package/dist/esm/api/endpoints/operations.js +164 -0
- package/dist/esm/api/endpoints/operations.js.map +1 -0
- package/dist/esm/api/endpoints/options.d.ts +21 -0
- package/dist/esm/api/endpoints/options.d.ts.map +1 -0
- package/dist/esm/api/endpoints/options.js +4 -0
- package/dist/esm/api/endpoints/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +0 -3
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +0 -2
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/neonDatabases/index.d.ts +3 -0
- package/dist/esm/api/neonDatabases/index.d.ts.map +1 -0
- package/dist/esm/api/neonDatabases/index.js +4 -0
- package/dist/esm/api/neonDatabases/index.js.map +1 -0
- package/dist/esm/api/neonDatabases/operations.d.ts +32 -0
- package/dist/esm/api/neonDatabases/operations.d.ts.map +1 -0
- package/dist/esm/api/neonDatabases/operations.js +164 -0
- package/dist/esm/api/neonDatabases/operations.js.map +1 -0
- package/dist/esm/api/neonDatabases/options.d.ts +21 -0
- package/dist/esm/api/neonDatabases/options.d.ts.map +1 -0
- package/dist/esm/api/neonDatabases/options.js +4 -0
- package/dist/esm/api/neonDatabases/options.js.map +1 -0
- package/dist/esm/api/neonRoles/index.d.ts +3 -0
- package/dist/esm/api/neonRoles/index.d.ts.map +1 -0
- package/dist/esm/api/neonRoles/index.js +4 -0
- package/dist/esm/api/neonRoles/index.js.map +1 -0
- package/dist/esm/api/neonRoles/operations.d.ts +32 -0
- package/dist/esm/api/neonRoles/operations.d.ts.map +1 -0
- package/dist/esm/api/neonRoles/operations.js +164 -0
- package/dist/esm/api/neonRoles/operations.js.map +1 -0
- package/dist/esm/api/neonRoles/options.d.ts +21 -0
- package/dist/esm/api/neonRoles/options.d.ts.map +1 -0
- package/dist/esm/api/neonRoles/options.js +4 -0
- package/dist/esm/api/neonRoles/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +2 -8
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +1 -19
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/organizations/index.d.ts +2 -29
- package/dist/esm/api/organizations/index.d.ts.map +1 -1
- package/dist/esm/api/organizations/index.js +1 -124
- package/dist/esm/api/organizations/index.js.map +1 -1
- package/dist/esm/api/organizations/operations.d.ts +41 -0
- package/dist/esm/api/organizations/operations.d.ts.map +1 -0
- package/dist/esm/api/organizations/operations.js +216 -0
- package/dist/esm/api/organizations/operations.js.map +1 -0
- package/dist/{commonjs/api → esm/api/organizations}/options.d.ts +11 -8
- package/dist/esm/api/organizations/options.d.ts.map +1 -0
- package/dist/esm/api/organizations/options.js +4 -0
- package/dist/esm/api/organizations/options.js.map +1 -0
- package/dist/esm/api/postgresContext.d.ts +6 -1
- package/dist/esm/api/postgresContext.d.ts.map +1 -1
- package/dist/esm/api/postgresContext.js +5 -5
- package/dist/esm/api/postgresContext.js.map +1 -1
- package/dist/esm/api/projects/index.d.ts +3 -0
- package/dist/esm/api/projects/index.d.ts.map +1 -0
- package/dist/esm/api/projects/index.js +4 -0
- package/dist/esm/api/projects/index.js.map +1 -0
- package/dist/esm/api/projects/operations.d.ts +37 -0
- package/dist/esm/api/projects/operations.d.ts.map +1 -0
- package/dist/esm/api/projects/operations.js +182 -0
- package/dist/esm/api/projects/operations.js.map +1 -0
- package/dist/esm/api/projects/options.d.ts +24 -0
- package/dist/esm/api/projects/options.d.ts.map +1 -0
- package/dist/esm/api/projects/options.js +4 -0
- package/dist/esm/api/projects/options.js.map +1 -0
- package/dist/esm/classic/branches/index.d.ts +25 -0
- package/dist/esm/classic/branches/index.d.ts.map +1 -0
- package/dist/esm/classic/branches/index.js +16 -0
- package/dist/esm/classic/branches/index.js.map +1 -0
- package/dist/esm/classic/computes/index.d.ts +25 -0
- package/dist/esm/classic/computes/index.d.ts.map +1 -0
- package/dist/esm/classic/computes/index.js +16 -0
- package/dist/esm/classic/computes/index.js.map +1 -0
- package/dist/esm/classic/endpoints/index.d.ts +25 -0
- package/dist/esm/classic/endpoints/index.d.ts.map +1 -0
- package/dist/esm/classic/endpoints/index.js +16 -0
- package/dist/esm/classic/endpoints/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +6 -0
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/neonDatabases/index.d.ts +25 -0
- package/dist/esm/classic/neonDatabases/index.d.ts.map +1 -0
- package/dist/esm/classic/neonDatabases/index.js +16 -0
- package/dist/esm/classic/neonDatabases/index.js.map +1 -0
- package/dist/esm/classic/neonRoles/index.d.ts +25 -0
- package/dist/esm/classic/neonRoles/index.d.ts.map +1 -0
- package/dist/esm/classic/neonRoles/index.js +16 -0
- package/dist/esm/classic/neonRoles/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +2 -5
- package/dist/esm/classic/operations/index.d.ts.map +1 -1
- package/dist/esm/classic/operations/index.js +5 -5
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/organizations/index.d.ts +20 -20
- package/dist/esm/classic/organizations/index.d.ts.map +1 -1
- package/dist/esm/classic/organizations/index.js +11 -10
- package/dist/esm/classic/organizations/index.js.map +1 -1
- package/dist/esm/classic/projects/index.d.ts +28 -0
- package/dist/esm/classic/projects/index.d.ts.map +1 -0
- package/dist/esm/classic/projects/index.js +17 -0
- package/dist/esm/classic/projects/index.js.map +1 -0
- package/dist/esm/index.d.ts +12 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models/index.d.ts +2 -0
- package/dist/esm/models/models/index.d.ts.map +1 -0
- package/dist/esm/models/models/index.js +4 -0
- package/dist/esm/models/models/index.js.map +1 -0
- package/dist/esm/models/models/models.d.ts +224 -0
- package/dist/esm/models/models/models.d.ts.map +1 -0
- package/dist/esm/models/models/models.js +314 -0
- package/dist/esm/models/models/models.js.map +1 -0
- package/dist/esm/models/models.d.ts +207 -63
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +302 -31
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/postgresClient.d.ts +23 -5
- package/dist/esm/postgresClient.d.ts.map +1 -1
- package/dist/esm/postgresClient.js +17 -5
- package/dist/esm/postgresClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -1
- package/dist/esm/restorePollerHelpers.js +57 -6
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/branches/index.d.ts +3 -0
- package/dist/react-native/api/branches/index.d.ts.map +1 -0
- package/dist/react-native/api/branches/index.js +4 -0
- package/dist/react-native/api/branches/index.js.map +1 -0
- package/dist/react-native/api/branches/operations.d.ts +32 -0
- package/dist/react-native/api/branches/operations.d.ts.map +1 -0
- package/dist/react-native/api/branches/operations.js +159 -0
- package/dist/react-native/api/branches/operations.js.map +1 -0
- package/dist/react-native/api/branches/options.d.ts +21 -0
- package/dist/react-native/api/branches/options.d.ts.map +1 -0
- package/dist/react-native/api/branches/options.js +4 -0
- package/dist/react-native/api/branches/options.js.map +1 -0
- package/dist/react-native/api/computes/index.d.ts +3 -0
- package/dist/react-native/api/computes/index.d.ts.map +1 -0
- package/dist/react-native/api/computes/index.js +4 -0
- package/dist/react-native/api/computes/index.js.map +1 -0
- package/dist/react-native/api/computes/operations.d.ts +32 -0
- package/dist/react-native/api/computes/operations.d.ts.map +1 -0
- package/dist/react-native/api/computes/operations.js +164 -0
- package/dist/react-native/api/computes/operations.js.map +1 -0
- package/dist/react-native/api/computes/options.d.ts +21 -0
- package/dist/react-native/api/computes/options.d.ts.map +1 -0
- package/dist/react-native/api/computes/options.js +4 -0
- package/dist/react-native/api/computes/options.js.map +1 -0
- package/dist/react-native/api/endpoints/index.d.ts +3 -0
- package/dist/react-native/api/endpoints/index.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/index.js +4 -0
- package/dist/react-native/api/endpoints/index.js.map +1 -0
- package/dist/react-native/api/endpoints/operations.d.ts +32 -0
- package/dist/react-native/api/endpoints/operations.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/operations.js +164 -0
- package/dist/react-native/api/endpoints/operations.js.map +1 -0
- package/dist/react-native/api/endpoints/options.d.ts +21 -0
- package/dist/react-native/api/endpoints/options.d.ts.map +1 -0
- package/dist/react-native/api/endpoints/options.js +4 -0
- package/dist/react-native/api/endpoints/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +0 -2
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/neonDatabases/index.d.ts +3 -0
- package/dist/react-native/api/neonDatabases/index.d.ts.map +1 -0
- package/dist/react-native/api/neonDatabases/index.js +4 -0
- package/dist/react-native/api/neonDatabases/index.js.map +1 -0
- package/dist/react-native/api/neonDatabases/operations.d.ts +32 -0
- package/dist/react-native/api/neonDatabases/operations.d.ts.map +1 -0
- package/dist/react-native/api/neonDatabases/operations.js +164 -0
- package/dist/react-native/api/neonDatabases/operations.js.map +1 -0
- package/dist/react-native/api/neonDatabases/options.d.ts +21 -0
- package/dist/react-native/api/neonDatabases/options.d.ts.map +1 -0
- package/dist/react-native/api/neonDatabases/options.js +4 -0
- package/dist/react-native/api/neonDatabases/options.js.map +1 -0
- package/dist/react-native/api/neonRoles/index.d.ts +3 -0
- package/dist/react-native/api/neonRoles/index.d.ts.map +1 -0
- package/dist/react-native/api/neonRoles/index.js +4 -0
- package/dist/react-native/api/neonRoles/index.js.map +1 -0
- package/dist/react-native/api/neonRoles/operations.d.ts +32 -0
- package/dist/react-native/api/neonRoles/operations.d.ts.map +1 -0
- package/dist/react-native/api/neonRoles/operations.js +164 -0
- package/dist/react-native/api/neonRoles/operations.js.map +1 -0
- package/dist/react-native/api/neonRoles/options.d.ts +21 -0
- package/dist/react-native/api/neonRoles/options.d.ts.map +1 -0
- package/dist/react-native/api/neonRoles/options.js +4 -0
- package/dist/react-native/api/neonRoles/options.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +2 -8
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +1 -19
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/organizations/index.d.ts +2 -29
- package/dist/react-native/api/organizations/index.d.ts.map +1 -1
- package/dist/react-native/api/organizations/index.js +1 -124
- package/dist/react-native/api/organizations/index.js.map +1 -1
- package/dist/react-native/api/organizations/operations.d.ts +41 -0
- package/dist/react-native/api/organizations/operations.d.ts.map +1 -0
- package/dist/react-native/api/organizations/operations.js +216 -0
- package/dist/react-native/api/organizations/operations.js.map +1 -0
- package/dist/react-native/api/{options.d.ts → organizations/options.d.ts} +11 -8
- package/dist/react-native/api/organizations/options.d.ts.map +1 -0
- package/dist/react-native/api/organizations/options.js +4 -0
- package/dist/react-native/api/organizations/options.js.map +1 -0
- package/dist/react-native/api/postgresContext.d.ts +6 -1
- package/dist/react-native/api/postgresContext.d.ts.map +1 -1
- package/dist/react-native/api/postgresContext.js +5 -5
- package/dist/react-native/api/postgresContext.js.map +1 -1
- package/dist/react-native/api/projects/index.d.ts +3 -0
- package/dist/react-native/api/projects/index.d.ts.map +1 -0
- package/dist/react-native/api/projects/index.js +4 -0
- package/dist/react-native/api/projects/index.js.map +1 -0
- package/dist/react-native/api/projects/operations.d.ts +37 -0
- package/dist/react-native/api/projects/operations.d.ts.map +1 -0
- package/dist/react-native/api/projects/operations.js +182 -0
- package/dist/react-native/api/projects/operations.js.map +1 -0
- package/dist/react-native/api/projects/options.d.ts +24 -0
- package/dist/react-native/api/projects/options.d.ts.map +1 -0
- package/dist/react-native/api/projects/options.js +4 -0
- package/dist/react-native/api/projects/options.js.map +1 -0
- package/dist/react-native/classic/branches/index.d.ts +25 -0
- package/dist/react-native/classic/branches/index.d.ts.map +1 -0
- package/dist/react-native/classic/branches/index.js +16 -0
- package/dist/react-native/classic/branches/index.js.map +1 -0
- package/dist/react-native/classic/computes/index.d.ts +25 -0
- package/dist/react-native/classic/computes/index.d.ts.map +1 -0
- package/dist/react-native/classic/computes/index.js +16 -0
- package/dist/react-native/classic/computes/index.js.map +1 -0
- package/dist/react-native/classic/endpoints/index.d.ts +25 -0
- package/dist/react-native/classic/endpoints/index.d.ts.map +1 -0
- package/dist/react-native/classic/endpoints/index.js +16 -0
- package/dist/react-native/classic/endpoints/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +6 -0
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/neonDatabases/index.d.ts +25 -0
- package/dist/react-native/classic/neonDatabases/index.d.ts.map +1 -0
- package/dist/react-native/classic/neonDatabases/index.js +16 -0
- package/dist/react-native/classic/neonDatabases/index.js.map +1 -0
- package/dist/react-native/classic/neonRoles/index.d.ts +25 -0
- package/dist/react-native/classic/neonRoles/index.d.ts.map +1 -0
- package/dist/react-native/classic/neonRoles/index.js +16 -0
- package/dist/react-native/classic/neonRoles/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +2 -5
- package/dist/react-native/classic/operations/index.d.ts.map +1 -1
- package/dist/react-native/classic/operations/index.js +5 -5
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/organizations/index.d.ts +20 -20
- package/dist/react-native/classic/organizations/index.d.ts.map +1 -1
- package/dist/react-native/classic/organizations/index.js +11 -10
- package/dist/react-native/classic/organizations/index.js.map +1 -1
- package/dist/react-native/classic/projects/index.d.ts +28 -0
- package/dist/react-native/classic/projects/index.d.ts.map +1 -0
- package/dist/react-native/classic/projects/index.js +17 -0
- package/dist/react-native/classic/projects/index.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models/index.d.ts +2 -0
- package/dist/react-native/models/models/index.d.ts.map +1 -0
- package/dist/react-native/models/models/index.js +4 -0
- package/dist/react-native/models/models/index.js.map +1 -0
- package/dist/react-native/models/models/models.d.ts +224 -0
- package/dist/react-native/models/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models/models.js +314 -0
- package/dist/react-native/models/models/models.js.map +1 -0
- package/dist/react-native/models/models.d.ts +207 -63
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +302 -31
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/postgresClient.d.ts +23 -5
- package/dist/react-native/postgresClient.d.ts.map +1 -1
- package/dist/react-native/postgresClient.js +17 -5
- package/dist/react-native/postgresClient.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +57 -6
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +234 -42
- package/review/arm-neonpostgres-api-branches.api.md +51 -0
- package/review/arm-neonpostgres-api-computes.api.md +51 -0
- package/review/arm-neonpostgres-api-endpoints.api.md +51 -0
- package/review/arm-neonpostgres-api-neonDatabases.api.md +51 -0
- package/review/arm-neonpostgres-api-neonRoles.api.md +51 -0
- package/review/arm-neonpostgres-api-operations.api.md +19 -0
- package/review/arm-neonpostgres-api-organizations.api.md +67 -0
- package/review/arm-neonpostgres-api-projects.api.md +58 -0
- package/review/arm-neonpostgres-api.api.md +27 -0
- package/review/arm-neonpostgres-models-models.api.md +133 -0
- package/review/arm-neonpostgres-models.api.md +58 -3
- package/review/arm-neonpostgres.api.md +385 -3
- package/dist/browser/api/options.d.ts.map +0 -1
- package/dist/browser/api/options.js.map +0 -1
- package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
- package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.js +0 -24
- package/dist/browser/helpers/serializerHelpers.js.map +0 -1
- package/dist/commonjs/api/options.d.ts.map +0 -1
- package/dist/commonjs/api/options.js.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.js +0 -27
- package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
- package/dist/esm/api/options.d.ts.map +0 -1
- package/dist/esm/api/options.js.map +0 -1
- package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
- package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.js +0 -24
- package/dist/esm/helpers/serializerHelpers.js.map +0 -1
- package/dist/react-native/api/options.d.ts.map +0 -1
- package/dist/react-native/api/options.js.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.js +0 -24
- package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
- /package/dist/browser/api/{options.js → branches/options.js} +0 -0
- /package/dist/{esm/api → browser/api/computes}/options.js +0 -0
- /package/dist/{react-native/api → browser/api/endpoints}/options.js +0 -0
- /package/dist/commonjs/api/{options.js → branches/options.js} +0 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.KnownEndpointType = void 0;
|
|
6
|
+
exports.projectPropertiesSerializer = projectPropertiesSerializer;
|
|
7
|
+
exports.projectPropertiesDeserializer = projectPropertiesDeserializer;
|
|
8
|
+
exports.attributesArraySerializer = attributesArraySerializer;
|
|
9
|
+
exports.attributesArrayDeserializer = attributesArrayDeserializer;
|
|
10
|
+
exports.attributesSerializer = attributesSerializer;
|
|
11
|
+
exports.attributesDeserializer = attributesDeserializer;
|
|
12
|
+
exports.defaultEndpointSettingsSerializer = defaultEndpointSettingsSerializer;
|
|
13
|
+
exports.defaultEndpointSettingsDeserializer = defaultEndpointSettingsDeserializer;
|
|
14
|
+
exports.branchPropertiesSerializer = branchPropertiesSerializer;
|
|
15
|
+
exports.branchPropertiesDeserializer = branchPropertiesDeserializer;
|
|
16
|
+
exports.neonRolePropertiesArraySerializer = neonRolePropertiesArraySerializer;
|
|
17
|
+
exports.neonRolePropertiesArrayDeserializer = neonRolePropertiesArrayDeserializer;
|
|
18
|
+
exports.neonRolePropertiesSerializer = neonRolePropertiesSerializer;
|
|
19
|
+
exports.neonRolePropertiesDeserializer = neonRolePropertiesDeserializer;
|
|
20
|
+
exports.neonDatabasePropertiesArraySerializer = neonDatabasePropertiesArraySerializer;
|
|
21
|
+
exports.neonDatabasePropertiesArrayDeserializer = neonDatabasePropertiesArrayDeserializer;
|
|
22
|
+
exports.neonDatabasePropertiesSerializer = neonDatabasePropertiesSerializer;
|
|
23
|
+
exports.neonDatabasePropertiesDeserializer = neonDatabasePropertiesDeserializer;
|
|
24
|
+
exports.endpointPropertiesArraySerializer = endpointPropertiesArraySerializer;
|
|
25
|
+
exports.endpointPropertiesArrayDeserializer = endpointPropertiesArrayDeserializer;
|
|
26
|
+
exports.endpointPropertiesSerializer = endpointPropertiesSerializer;
|
|
27
|
+
exports.endpointPropertiesDeserializer = endpointPropertiesDeserializer;
|
|
28
|
+
exports.pgVersionSerializer = pgVersionSerializer;
|
|
29
|
+
exports.pgVersionDeserializer = pgVersionDeserializer;
|
|
30
|
+
exports.pgVersionsResultDeserializer = pgVersionsResultDeserializer;
|
|
31
|
+
exports.pgVersionArraySerializer = pgVersionArraySerializer;
|
|
32
|
+
exports.pgVersionArrayDeserializer = pgVersionArrayDeserializer;
|
|
33
|
+
exports.connectionUriPropertiesSerializer = connectionUriPropertiesSerializer;
|
|
34
|
+
exports.connectionUriPropertiesDeserializer = connectionUriPropertiesDeserializer;
|
|
35
|
+
exports.computePropertiesSerializer = computePropertiesSerializer;
|
|
36
|
+
exports.computePropertiesDeserializer = computePropertiesDeserializer;
|
|
37
|
+
function projectPropertiesSerializer(item) {
|
|
38
|
+
return {
|
|
39
|
+
entityName: item["entityName"],
|
|
40
|
+
attributes: !item["attributes"]
|
|
41
|
+
? item["attributes"]
|
|
42
|
+
: attributesArraySerializer(item["attributes"]),
|
|
43
|
+
regionId: item["regionId"],
|
|
44
|
+
storage: item["storage"],
|
|
45
|
+
pgVersion: item["pgVersion"],
|
|
46
|
+
historyRetention: item["historyRetention"],
|
|
47
|
+
defaultEndpointSettings: !item["defaultEndpointSettings"]
|
|
48
|
+
? item["defaultEndpointSettings"]
|
|
49
|
+
: defaultEndpointSettingsSerializer(item["defaultEndpointSettings"]),
|
|
50
|
+
branch: !item["branch"] ? item["branch"] : branchPropertiesSerializer(item["branch"]),
|
|
51
|
+
roles: !item["roles"] ? item["roles"] : neonRolePropertiesArraySerializer(item["roles"]),
|
|
52
|
+
databases: !item["databases"]
|
|
53
|
+
? item["databases"]
|
|
54
|
+
: neonDatabasePropertiesArraySerializer(item["databases"]),
|
|
55
|
+
endpoints: !item["endpoints"]
|
|
56
|
+
? item["endpoints"]
|
|
57
|
+
: endpointPropertiesArraySerializer(item["endpoints"]),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function projectPropertiesDeserializer(item) {
|
|
61
|
+
return {
|
|
62
|
+
entityId: item["entityId"],
|
|
63
|
+
entityName: item["entityName"],
|
|
64
|
+
createdAt: item["createdAt"],
|
|
65
|
+
provisioningState: item["provisioningState"],
|
|
66
|
+
attributes: !item["attributes"]
|
|
67
|
+
? item["attributes"]
|
|
68
|
+
: attributesArrayDeserializer(item["attributes"]),
|
|
69
|
+
regionId: item["regionId"],
|
|
70
|
+
storage: item["storage"],
|
|
71
|
+
pgVersion: item["pgVersion"],
|
|
72
|
+
historyRetention: item["historyRetention"],
|
|
73
|
+
defaultEndpointSettings: !item["defaultEndpointSettings"]
|
|
74
|
+
? item["defaultEndpointSettings"]
|
|
75
|
+
: defaultEndpointSettingsDeserializer(item["defaultEndpointSettings"]),
|
|
76
|
+
branch: !item["branch"] ? item["branch"] : branchPropertiesDeserializer(item["branch"]),
|
|
77
|
+
roles: !item["roles"] ? item["roles"] : neonRolePropertiesArrayDeserializer(item["roles"]),
|
|
78
|
+
databases: !item["databases"]
|
|
79
|
+
? item["databases"]
|
|
80
|
+
: neonDatabasePropertiesArrayDeserializer(item["databases"]),
|
|
81
|
+
endpoints: !item["endpoints"]
|
|
82
|
+
? item["endpoints"]
|
|
83
|
+
: endpointPropertiesArrayDeserializer(item["endpoints"]),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function attributesArraySerializer(result) {
|
|
87
|
+
return result.map((item) => {
|
|
88
|
+
return attributesSerializer(item);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function attributesArrayDeserializer(result) {
|
|
92
|
+
return result.map((item) => {
|
|
93
|
+
return attributesDeserializer(item);
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function attributesSerializer(item) {
|
|
97
|
+
return { name: item["name"], value: item["value"] };
|
|
98
|
+
}
|
|
99
|
+
function attributesDeserializer(item) {
|
|
100
|
+
return {
|
|
101
|
+
name: item["name"],
|
|
102
|
+
value: item["value"],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function defaultEndpointSettingsSerializer(item) {
|
|
106
|
+
return {
|
|
107
|
+
autoscalingLimitMinCu: item["autoscalingLimitMinCu"],
|
|
108
|
+
autoscalingLimitMaxCu: item["autoscalingLimitMaxCu"],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function defaultEndpointSettingsDeserializer(item) {
|
|
112
|
+
return {
|
|
113
|
+
autoscalingLimitMinCu: item["autoscalingLimitMinCu"],
|
|
114
|
+
autoscalingLimitMaxCu: item["autoscalingLimitMaxCu"],
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function branchPropertiesSerializer(item) {
|
|
118
|
+
return {
|
|
119
|
+
entityName: item["entityName"],
|
|
120
|
+
attributes: !item["attributes"]
|
|
121
|
+
? item["attributes"]
|
|
122
|
+
: attributesArraySerializer(item["attributes"]),
|
|
123
|
+
projectId: item["projectId"],
|
|
124
|
+
parentId: item["parentId"],
|
|
125
|
+
roleName: item["roleName"],
|
|
126
|
+
databaseName: item["databaseName"],
|
|
127
|
+
roles: !item["roles"] ? item["roles"] : neonRolePropertiesArraySerializer(item["roles"]),
|
|
128
|
+
databases: !item["databases"]
|
|
129
|
+
? item["databases"]
|
|
130
|
+
: neonDatabasePropertiesArraySerializer(item["databases"]),
|
|
131
|
+
endpoints: !item["endpoints"]
|
|
132
|
+
? item["endpoints"]
|
|
133
|
+
: endpointPropertiesArraySerializer(item["endpoints"]),
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function branchPropertiesDeserializer(item) {
|
|
137
|
+
return {
|
|
138
|
+
entityId: item["entityId"],
|
|
139
|
+
entityName: item["entityName"],
|
|
140
|
+
createdAt: item["createdAt"],
|
|
141
|
+
provisioningState: item["provisioningState"],
|
|
142
|
+
attributes: !item["attributes"]
|
|
143
|
+
? item["attributes"]
|
|
144
|
+
: attributesArrayDeserializer(item["attributes"]),
|
|
145
|
+
projectId: item["projectId"],
|
|
146
|
+
parentId: item["parentId"],
|
|
147
|
+
roleName: item["roleName"],
|
|
148
|
+
databaseName: item["databaseName"],
|
|
149
|
+
roles: !item["roles"] ? item["roles"] : neonRolePropertiesArrayDeserializer(item["roles"]),
|
|
150
|
+
databases: !item["databases"]
|
|
151
|
+
? item["databases"]
|
|
152
|
+
: neonDatabasePropertiesArrayDeserializer(item["databases"]),
|
|
153
|
+
endpoints: !item["endpoints"]
|
|
154
|
+
? item["endpoints"]
|
|
155
|
+
: endpointPropertiesArrayDeserializer(item["endpoints"]),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function neonRolePropertiesArraySerializer(result) {
|
|
159
|
+
return result.map((item) => {
|
|
160
|
+
return neonRolePropertiesSerializer(item);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
function neonRolePropertiesArrayDeserializer(result) {
|
|
164
|
+
return result.map((item) => {
|
|
165
|
+
return neonRolePropertiesDeserializer(item);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
function neonRolePropertiesSerializer(item) {
|
|
169
|
+
return {
|
|
170
|
+
entityName: item["entityName"],
|
|
171
|
+
attributes: !item["attributes"]
|
|
172
|
+
? item["attributes"]
|
|
173
|
+
: attributesArraySerializer(item["attributes"]),
|
|
174
|
+
branchId: item["branchId"],
|
|
175
|
+
permissions: !item["permissions"]
|
|
176
|
+
? item["permissions"]
|
|
177
|
+
: item["permissions"].map((p) => {
|
|
178
|
+
return p;
|
|
179
|
+
}),
|
|
180
|
+
isSuperUser: item["isSuperUser"],
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
function neonRolePropertiesDeserializer(item) {
|
|
184
|
+
return {
|
|
185
|
+
entityId: item["entityId"],
|
|
186
|
+
entityName: item["entityName"],
|
|
187
|
+
createdAt: item["createdAt"],
|
|
188
|
+
provisioningState: item["provisioningState"],
|
|
189
|
+
attributes: !item["attributes"]
|
|
190
|
+
? item["attributes"]
|
|
191
|
+
: attributesArrayDeserializer(item["attributes"]),
|
|
192
|
+
branchId: item["branchId"],
|
|
193
|
+
permissions: !item["permissions"]
|
|
194
|
+
? item["permissions"]
|
|
195
|
+
: item["permissions"].map((p) => {
|
|
196
|
+
return p;
|
|
197
|
+
}),
|
|
198
|
+
isSuperUser: item["isSuperUser"],
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
function neonDatabasePropertiesArraySerializer(result) {
|
|
202
|
+
return result.map((item) => {
|
|
203
|
+
return neonDatabasePropertiesSerializer(item);
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
function neonDatabasePropertiesArrayDeserializer(result) {
|
|
207
|
+
return result.map((item) => {
|
|
208
|
+
return neonDatabasePropertiesDeserializer(item);
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
function neonDatabasePropertiesSerializer(item) {
|
|
212
|
+
return {
|
|
213
|
+
entityName: item["entityName"],
|
|
214
|
+
attributes: !item["attributes"]
|
|
215
|
+
? item["attributes"]
|
|
216
|
+
: attributesArraySerializer(item["attributes"]),
|
|
217
|
+
branchId: item["branchId"],
|
|
218
|
+
ownerName: item["ownerName"],
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
function neonDatabasePropertiesDeserializer(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
|
+
branchId: item["branchId"],
|
|
231
|
+
ownerName: item["ownerName"],
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function endpointPropertiesArraySerializer(result) {
|
|
235
|
+
return result.map((item) => {
|
|
236
|
+
return endpointPropertiesSerializer(item);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
function endpointPropertiesArrayDeserializer(result) {
|
|
240
|
+
return result.map((item) => {
|
|
241
|
+
return endpointPropertiesDeserializer(item);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
function endpointPropertiesSerializer(item) {
|
|
245
|
+
return {
|
|
246
|
+
entityName: item["entityName"],
|
|
247
|
+
attributes: !item["attributes"]
|
|
248
|
+
? item["attributes"]
|
|
249
|
+
: attributesArraySerializer(item["attributes"]),
|
|
250
|
+
projectId: item["projectId"],
|
|
251
|
+
branchId: item["branchId"],
|
|
252
|
+
endpointType: item["endpointType"],
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function endpointPropertiesDeserializer(item) {
|
|
256
|
+
return {
|
|
257
|
+
entityId: item["entityId"],
|
|
258
|
+
entityName: item["entityName"],
|
|
259
|
+
createdAt: item["createdAt"],
|
|
260
|
+
provisioningState: item["provisioningState"],
|
|
261
|
+
attributes: !item["attributes"]
|
|
262
|
+
? item["attributes"]
|
|
263
|
+
: attributesArrayDeserializer(item["attributes"]),
|
|
264
|
+
projectId: item["projectId"],
|
|
265
|
+
branchId: item["branchId"],
|
|
266
|
+
endpointType: item["endpointType"],
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
/** The compute endpoint type. Either read_write or read_only. */
|
|
270
|
+
var KnownEndpointType;
|
|
271
|
+
(function (KnownEndpointType) {
|
|
272
|
+
/** ReadOnly compute endpoint type */
|
|
273
|
+
KnownEndpointType["ReadOnly"] = "read_only";
|
|
274
|
+
/** ReadWrite compute endpoint type */
|
|
275
|
+
KnownEndpointType["ReadWrite"] = "read_write";
|
|
276
|
+
})(KnownEndpointType || (exports.KnownEndpointType = KnownEndpointType = {}));
|
|
277
|
+
function pgVersionSerializer(item) {
|
|
278
|
+
return { version: item["version"] };
|
|
279
|
+
}
|
|
280
|
+
function pgVersionDeserializer(item) {
|
|
281
|
+
return {
|
|
282
|
+
version: item["version"],
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
function pgVersionsResultDeserializer(item) {
|
|
286
|
+
return {
|
|
287
|
+
versions: pgVersionArrayDeserializer(item["versions"]),
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
function pgVersionArraySerializer(result) {
|
|
291
|
+
return result.map((item) => {
|
|
292
|
+
return pgVersionSerializer(item);
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
function pgVersionArrayDeserializer(result) {
|
|
296
|
+
return result.map((item) => {
|
|
297
|
+
return pgVersionDeserializer(item);
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
function connectionUriPropertiesSerializer(item) {
|
|
301
|
+
return {
|
|
302
|
+
projectId: item["projectId"],
|
|
303
|
+
branchId: item["branchId"],
|
|
304
|
+
databaseName: item["databaseName"],
|
|
305
|
+
roleName: item["roleName"],
|
|
306
|
+
endpointId: item["endpointId"],
|
|
307
|
+
isPooled: item["isPooled"],
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
function connectionUriPropertiesDeserializer(item) {
|
|
311
|
+
return {
|
|
312
|
+
projectId: item["projectId"],
|
|
313
|
+
branchId: item["branchId"],
|
|
314
|
+
databaseName: item["databaseName"],
|
|
315
|
+
roleName: item["roleName"],
|
|
316
|
+
endpointId: item["endpointId"],
|
|
317
|
+
isPooled: item["isPooled"],
|
|
318
|
+
connectionStringUri: item["connectionStringUri"],
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
function computePropertiesSerializer(item) {
|
|
322
|
+
return {
|
|
323
|
+
entityName: item["entityName"],
|
|
324
|
+
attributes: !item["attributes"]
|
|
325
|
+
? item["attributes"]
|
|
326
|
+
: attributesArraySerializer(item["attributes"]),
|
|
327
|
+
region: item["region"],
|
|
328
|
+
cpuCores: item["cpuCores"],
|
|
329
|
+
memory: item["memory"],
|
|
330
|
+
status: item["status"],
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
function computePropertiesDeserializer(item) {
|
|
334
|
+
return {
|
|
335
|
+
entityId: item["entityId"],
|
|
336
|
+
entityName: item["entityName"],
|
|
337
|
+
createdAt: item["createdAt"],
|
|
338
|
+
provisioningState: item["provisioningState"],
|
|
339
|
+
attributes: !item["attributes"]
|
|
340
|
+
? item["attributes"]
|
|
341
|
+
: attributesArrayDeserializer(item["attributes"]),
|
|
342
|
+
region: item["region"],
|
|
343
|
+
cpuCores: item["cpuCores"],
|
|
344
|
+
memory: item["memory"],
|
|
345
|
+
status: item["status"],
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
//# 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,kEAsBC;AAED,sEAyBC;AAED,8DAIC;AAED,kEAIC;AAUD,oDAEC;AAED,wDAKC;AAUD,8EAKC;AAED,kFAKC;AA8BD,gEAkBC;AAED,oEAqBC;AAED,8EAIC;AAED,kFAIC;AAsBD,oEAcC;AAED,wEAiBC;AAED,sFAMC;AAED,0FAMC;AAoBD,4EASC;AAED,gFAYC;AAED,8EAIC;AAED,kFAIC;AAsBD,oEAUC;A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;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"]}
|