oci-psql 2.74.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +391 -0
- package/lib/client.js +2323 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/backup-collection.d.ts +26 -0
- package/lib/model/backup-collection.js +61 -0
- package/lib/model/backup-collection.js.map +1 -0
- package/lib/model/backup-policy.d.ts +26 -0
- package/lib/model/backup-policy.js +80 -0
- package/lib/model/backup-policy.js.map +1 -0
- package/lib/model/backup-source-details.d.ts +33 -0
- package/lib/model/backup-source-details.js +52 -0
- package/lib/model/backup-source-details.js.map +1 -0
- package/lib/model/backup-summary.d.ts +93 -0
- package/lib/model/backup-summary.js +29 -0
- package/lib/model/backup-summary.js.map +1 -0
- package/lib/model/backup.d.ts +128 -0
- package/lib/model/backup.js +80 -0
- package/lib/model/backup.js.map +1 -0
- package/lib/model/change-backup-compartment-details.d.ts +27 -0
- package/lib/model/change-backup-compartment-details.js +29 -0
- package/lib/model/change-backup-compartment-details.js.map +1 -0
- package/lib/model/change-configuration-compartment-details.d.ts +27 -0
- package/lib/model/change-configuration-compartment-details.js +29 -0
- package/lib/model/change-configuration-compartment-details.js.map +1 -0
- package/lib/model/change-db-system-compartment-details.d.ts +27 -0
- package/lib/model/change-db-system-compartment-details.js +29 -0
- package/lib/model/change-db-system-compartment-details.js.map +1 -0
- package/lib/model/config-overrides.d.ts +29 -0
- package/lib/model/config-overrides.js +29 -0
- package/lib/model/config-overrides.js.map +1 -0
- package/lib/model/config-params.d.ts +53 -0
- package/lib/model/config-params.js +29 -0
- package/lib/model/config-params.js.map +1 -0
- package/lib/model/configuration-collection.d.ts +26 -0
- package/lib/model/configuration-collection.js +61 -0
- package/lib/model/configuration-collection.js.map +1 -0
- package/lib/model/configuration-details.d.ts +26 -0
- package/lib/model/configuration-details.js +61 -0
- package/lib/model/configuration-details.js.map +1 -0
- package/lib/model/configuration-summary.d.ts +91 -0
- package/lib/model/configuration-summary.js +29 -0
- package/lib/model/configuration-summary.js.map +1 -0
- package/lib/model/configuration.d.ts +108 -0
- package/lib/model/configuration.js +69 -0
- package/lib/model/configuration.js.map +1 -0
- package/lib/model/connection-details.d.ts +35 -0
- package/lib/model/connection-details.js +67 -0
- package/lib/model/connection-details.js.map +1 -0
- package/lib/model/create-backup-details.d.ts +59 -0
- package/lib/model/create-backup-details.js +29 -0
- package/lib/model/create-backup-details.js.map +1 -0
- package/lib/model/create-configuration-details.d.ts +81 -0
- package/lib/model/create-configuration-details.js +57 -0
- package/lib/model/create-configuration-details.js.map +1 -0
- package/lib/model/create-db-instance-details.d.ts +35 -0
- package/lib/model/create-db-instance-details.js +29 -0
- package/lib/model/create-db-instance-details.js.map +1 -0
- package/lib/model/create-db-system-details.d.ts +92 -0
- package/lib/model/create-db-system-details.js +85 -0
- package/lib/model/create-db-system-details.js.map +1 -0
- package/lib/model/credentials.d.ts +29 -0
- package/lib/model/credentials.js +57 -0
- package/lib/model/credentials.js.map +1 -0
- package/lib/model/daily-backup-policy.d.ts +28 -0
- package/lib/model/daily-backup-policy.js +52 -0
- package/lib/model/daily-backup-policy.js.map +1 -0
- package/lib/model/db-configuration-override-collection.d.ts +26 -0
- package/lib/model/db-configuration-override-collection.js +61 -0
- package/lib/model/db-configuration-override-collection.js.map +1 -0
- package/lib/model/db-instance-endpoint.d.ts +27 -0
- package/lib/model/db-instance-endpoint.js +53 -0
- package/lib/model/db-instance-endpoint.js.map +1 -0
- package/lib/model/db-instance.d.ts +67 -0
- package/lib/model/db-instance.js +44 -0
- package/lib/model/db-instance.js.map +1 -0
- package/lib/model/db-system-collection.d.ts +26 -0
- package/lib/model/db-system-collection.js +61 -0
- package/lib/model/db-system-collection.js.map +1 -0
- package/lib/model/db-system-details.d.ts +29 -0
- package/lib/model/db-system-details.js +29 -0
- package/lib/model/db-system-details.js.map +1 -0
- package/lib/model/db-system-summary.d.ts +105 -0
- package/lib/model/db-system-summary.js +29 -0
- package/lib/model/db-system-summary.js.map +1 -0
- package/lib/model/db-system.d.ts +145 -0
- package/lib/model/db-system.js +106 -0
- package/lib/model/db-system.js.map +1 -0
- package/lib/model/default-config-params.d.ts +49 -0
- package/lib/model/default-config-params.js +29 -0
- package/lib/model/default-config-params.js.map +1 -0
- package/lib/model/default-configuration-collection.d.ts +26 -0
- package/lib/model/default-configuration-collection.js +61 -0
- package/lib/model/default-configuration-collection.js.map +1 -0
- package/lib/model/default-configuration-details.d.ts +26 -0
- package/lib/model/default-configuration-details.js +61 -0
- package/lib/model/default-configuration-details.js.map +1 -0
- package/lib/model/default-configuration-summary.d.ts +59 -0
- package/lib/model/default-configuration-summary.js +29 -0
- package/lib/model/default-configuration-summary.js.map +1 -0
- package/lib/model/default-configuration.d.ts +77 -0
- package/lib/model/default-configuration.js +70 -0
- package/lib/model/default-configuration.js.map +1 -0
- package/lib/model/endpoint.d.ts +33 -0
- package/lib/model/endpoint.js +29 -0
- package/lib/model/endpoint.js.map +1 -0
- package/lib/model/failover-db-system-details.d.ts +33 -0
- package/lib/model/failover-db-system-details.js +29 -0
- package/lib/model/failover-db-system-details.js.map +1 -0
- package/lib/model/index.d.ts +176 -0
- package/lib/model/index.js +200 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/management-policy-details.d.ts +28 -0
- package/lib/model/management-policy-details.js +57 -0
- package/lib/model/management-policy-details.js.map +1 -0
- package/lib/model/management-policy.d.ts +28 -0
- package/lib/model/management-policy.js +57 -0
- package/lib/model/management-policy.js.map +1 -0
- package/lib/model/monthly-backup-policy.d.ts +34 -0
- package/lib/model/monthly-backup-policy.js +52 -0
- package/lib/model/monthly-backup-policy.js.map +1 -0
- package/lib/model/network-details.d.ts +35 -0
- package/lib/model/network-details.js +29 -0
- package/lib/model/network-details.js.map +1 -0
- package/lib/model/none-backup-policy.d.ts +24 -0
- package/lib/model/none-backup-policy.js +52 -0
- package/lib/model/none-backup-policy.js.map +1 -0
- package/lib/model/none-source-details.d.ts +25 -0
- package/lib/model/none-source-details.js +52 -0
- package/lib/model/none-source-details.js.map +1 -0
- package/lib/model/oci-optimized-storage-details.d.ts +28 -0
- package/lib/model/oci-optimized-storage-details.js +54 -0
- package/lib/model/oci-optimized-storage-details.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +34 -0
- package/lib/model/operation-type.js +45 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/password-details.d.ts +24 -0
- package/lib/model/password-details.js +72 -0
- package/lib/model/password-details.js.map +1 -0
- package/lib/model/patch-db-system-details.d.ts +29 -0
- package/lib/model/patch-db-system-details.js +61 -0
- package/lib/model/patch-db-system-details.js.map +1 -0
- package/lib/model/patch-insert-instruction.d.ts +44 -0
- package/lib/model/patch-insert-instruction.js +59 -0
- package/lib/model/patch-insert-instruction.js.map +1 -0
- package/lib/model/patch-instruction.d.ts +29 -0
- package/lib/model/patch-instruction.js +92 -0
- package/lib/model/patch-instruction.js.map +1 -0
- package/lib/model/patch-merge-instruction.d.ts +35 -0
- package/lib/model/patch-merge-instruction.js +54 -0
- package/lib/model/patch-merge-instruction.js.map +1 -0
- package/lib/model/patch-move-instruction.d.ts +44 -0
- package/lib/model/patch-move-instruction.js +58 -0
- package/lib/model/patch-move-instruction.js.map +1 -0
- package/lib/model/patch-prohibit-instruction.d.ts +35 -0
- package/lib/model/patch-prohibit-instruction.js +54 -0
- package/lib/model/patch-prohibit-instruction.js.map +1 -0
- package/lib/model/patch-remove-instruction.d.ts +26 -0
- package/lib/model/patch-remove-instruction.js +54 -0
- package/lib/model/patch-remove-instruction.js.map +1 -0
- package/lib/model/patch-replace-instruction.d.ts +32 -0
- package/lib/model/patch-replace-instruction.js +54 -0
- package/lib/model/patch-replace-instruction.js.map +1 -0
- package/lib/model/patch-require-instruction.d.ts +34 -0
- package/lib/model/patch-require-instruction.js +54 -0
- package/lib/model/patch-require-instruction.js.map +1 -0
- package/lib/model/plain-text-password-details.d.ts +28 -0
- package/lib/model/plain-text-password-details.js +54 -0
- package/lib/model/plain-text-password-details.js.map +1 -0
- package/lib/model/primary-db-instance-details.d.ts +25 -0
- package/lib/model/primary-db-instance-details.js +29 -0
- package/lib/model/primary-db-instance-details.js.map +1 -0
- package/lib/model/reset-master-user-password-details.d.ts +25 -0
- package/lib/model/reset-master-user-password-details.js +57 -0
- package/lib/model/reset-master-user-password-details.js.map +1 -0
- package/lib/model/restart-db-instance-in-db-system-details.d.ts +33 -0
- package/lib/model/restart-db-instance-in-db-system-details.js +34 -0
- package/lib/model/restart-db-instance-in-db-system-details.js.map +1 -0
- package/lib/model/restore-db-system-details.d.ts +31 -0
- package/lib/model/restore-db-system-details.js +29 -0
- package/lib/model/restore-db-system-details.js.map +1 -0
- package/lib/model/shape-collection.d.ts +26 -0
- package/lib/model/shape-collection.js +61 -0
- package/lib/model/shape-collection.js.map +1 -0
- package/lib/model/shape-summary.d.ts +37 -0
- package/lib/model/shape-summary.js +29 -0
- package/lib/model/shape-summary.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/source-details.d.ts +22 -0
- package/lib/model/source-details.js +72 -0
- package/lib/model/source-details.js.map +1 -0
- package/lib/model/storage-details.d.ts +37 -0
- package/lib/model/storage-details.js +68 -0
- package/lib/model/storage-details.js.map +1 -0
- package/lib/model/update-backup-details.d.ts +51 -0
- package/lib/model/update-backup-details.js +29 -0
- package/lib/model/update-backup-details.js.map +1 -0
- package/lib/model/update-configuration-details.d.ts +29 -0
- package/lib/model/update-configuration-details.js +29 -0
- package/lib/model/update-configuration-details.js.map +1 -0
- package/lib/model/update-db-config-params.d.ts +35 -0
- package/lib/model/update-db-config-params.js +34 -0
- package/lib/model/update-db-config-params.js.map +1 -0
- package/lib/model/update-db-system-db-instance-details.d.ts +29 -0
- package/lib/model/update-db-system-db-instance-details.js +29 -0
- package/lib/model/update-db-system-db-instance-details.js.map +1 -0
- package/lib/model/update-db-system-details.d.ts +51 -0
- package/lib/model/update-db-system-details.js +69 -0
- package/lib/model/update-db-system-details.js.map +1 -0
- package/lib/model/update-storage-details-params.d.ts +27 -0
- package/lib/model/update-storage-details-params.js +29 -0
- package/lib/model/update-storage-details-params.js.map +1 -0
- package/lib/model/vault-secret-password-details.d.ts +32 -0
- package/lib/model/vault-secret-password-details.js +54 -0
- package/lib/model/vault-secret-password-details.js.map +1 -0
- package/lib/model/weekly-backup-policy.d.ts +46 -0
- package/lib/model/weekly-backup-policy.js +67 -0
- package/lib/model/weekly-backup-policy.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +45 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +64 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +64 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/postgresql-waiter.d.ts +60 -0
- package/lib/postgresql-waiter.js +112 -0
- package/lib/postgresql-waiter.js.map +1 -0
- package/lib/request/change-backup-compartment-request.d.ts +41 -0
- package/lib/request/change-backup-compartment-request.js +15 -0
- package/lib/request/change-backup-compartment-request.js.map +1 -0
- package/lib/request/change-configuration-compartment-request.d.ts +41 -0
- package/lib/request/change-configuration-compartment-request.js +15 -0
- package/lib/request/change-configuration-compartment-request.js.map +1 -0
- package/lib/request/change-db-system-compartment-request.d.ts +41 -0
- package/lib/request/change-db-system-compartment-request.js +15 -0
- package/lib/request/change-db-system-compartment-request.js.map +1 -0
- package/lib/request/create-backup-request.d.ts +32 -0
- package/lib/request/create-backup-request.js +15 -0
- package/lib/request/create-backup-request.js.map +1 -0
- package/lib/request/create-configuration-request.d.ts +32 -0
- package/lib/request/create-configuration-request.js +15 -0
- package/lib/request/create-configuration-request.js.map +1 -0
- package/lib/request/create-db-system-request.d.ts +32 -0
- package/lib/request/create-db-system-request.js +15 -0
- package/lib/request/create-db-system-request.js.map +1 -0
- package/lib/request/delete-backup-request.d.ts +31 -0
- package/lib/request/delete-backup-request.js +15 -0
- package/lib/request/delete-backup-request.js.map +1 -0
- package/lib/request/delete-configuration-request.d.ts +31 -0
- package/lib/request/delete-configuration-request.js +15 -0
- package/lib/request/delete-configuration-request.js.map +1 -0
- package/lib/request/delete-db-system-request.d.ts +31 -0
- package/lib/request/delete-db-system-request.js +15 -0
- package/lib/request/delete-db-system-request.js.map +1 -0
- package/lib/request/failover-db-system-request.d.ts +41 -0
- package/lib/request/failover-db-system-request.js +15 -0
- package/lib/request/failover-db-system-request.js.map +1 -0
- package/lib/request/get-backup-request.d.ts +26 -0
- package/lib/request/get-backup-request.js +15 -0
- package/lib/request/get-backup-request.js.map +1 -0
- package/lib/request/get-configuration-request.d.ts +26 -0
- package/lib/request/get-configuration-request.js +15 -0
- package/lib/request/get-configuration-request.js.map +1 -0
- package/lib/request/get-connection-details-request.d.ts +26 -0
- package/lib/request/get-connection-details-request.js +15 -0
- package/lib/request/get-connection-details-request.js.map +1 -0
- package/lib/request/get-db-system-request.d.ts +35 -0
- package/lib/request/get-db-system-request.js +23 -0
- package/lib/request/get-db-system-request.js.map +1 -0
- package/lib/request/get-default-configuration-request.d.ts +26 -0
- package/lib/request/get-default-configuration-request.js +15 -0
- package/lib/request/get-default-configuration-request.js.map +1 -0
- package/lib/request/get-primary-db-instance-request.d.ts +26 -0
- package/lib/request/get-primary-db-instance-request.js +15 -0
- package/lib/request/get-primary-db-instance-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +78 -0
- package/lib/request/index.js +53 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-backups-request.d.ts +74 -0
- package/lib/request/list-backups-request.js +24 -0
- package/lib/request/list-backups-request.js.map +1 -0
- package/lib/request/list-configurations-request.d.ts +70 -0
- package/lib/request/list-configurations-request.js +24 -0
- package/lib/request/list-configurations-request.js.map +1 -0
- package/lib/request/list-db-systems-request.d.ts +62 -0
- package/lib/request/list-db-systems-request.js +24 -0
- package/lib/request/list-db-systems-request.js.map +1 -0
- package/lib/request/list-default-configurations-request.d.ts +66 -0
- package/lib/request/list-default-configurations-request.js +24 -0
- package/lib/request/list-default-configurations-request.js.map +1 -0
- package/lib/request/list-shapes-request.d.ts +54 -0
- package/lib/request/list-shapes-request.js +24 -0
- package/lib/request/list-shapes-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/patch-db-system-request.d.ts +36 -0
- package/lib/request/patch-db-system-request.js +15 -0
- package/lib/request/patch-db-system-request.js.map +1 -0
- package/lib/request/reset-master-user-password-request.d.ts +41 -0
- package/lib/request/reset-master-user-password-request.js +15 -0
- package/lib/request/reset-master-user-password-request.js.map +1 -0
- package/lib/request/restart-db-instance-in-db-system-request.d.ts +41 -0
- package/lib/request/restart-db-instance-in-db-system-request.js +15 -0
- package/lib/request/restart-db-instance-in-db-system-request.js.map +1 -0
- package/lib/request/restore-db-system-request.d.ts +41 -0
- package/lib/request/restore-db-system-request.js +15 -0
- package/lib/request/restore-db-system-request.js.map +1 -0
- package/lib/request/update-backup-request.d.ts +36 -0
- package/lib/request/update-backup-request.js +15 -0
- package/lib/request/update-backup-request.js.map +1 -0
- package/lib/request/update-configuration-request.d.ts +41 -0
- package/lib/request/update-configuration-request.js +15 -0
- package/lib/request/update-configuration-request.js.map +1 -0
- package/lib/request/update-db-system-db-instance-request.d.ts +45 -0
- package/lib/request/update-db-system-db-instance-request.js +15 -0
- package/lib/request/update-db-system-db-instance-request.js.map +1 -0
- package/lib/request/update-db-system-request.d.ts +41 -0
- package/lib/request/update-db-system-request.js +15 -0
- package/lib/request/update-db-system-request.js.map +1 -0
- package/lib/response/change-backup-compartment-response.d.ts +25 -0
- package/lib/response/change-backup-compartment-response.js +15 -0
- package/lib/response/change-backup-compartment-response.js.map +1 -0
- package/lib/response/change-configuration-compartment-response.d.ts +30 -0
- package/lib/response/change-configuration-compartment-response.js +15 -0
- package/lib/response/change-configuration-compartment-response.js.map +1 -0
- package/lib/response/change-db-system-compartment-response.d.ts +25 -0
- package/lib/response/change-db-system-compartment-response.js +15 -0
- package/lib/response/change-db-system-compartment-response.js.map +1 -0
- package/lib/response/create-backup-response.d.ts +25 -0
- package/lib/response/create-backup-response.js +15 -0
- package/lib/response/create-backup-response.js.map +1 -0
- package/lib/response/create-configuration-response.d.ts +30 -0
- package/lib/response/create-configuration-response.js +15 -0
- package/lib/response/create-configuration-response.js.map +1 -0
- package/lib/response/create-db-system-response.d.ts +35 -0
- package/lib/response/create-db-system-response.js +15 -0
- package/lib/response/create-db-system-response.js.map +1 -0
- package/lib/response/delete-backup-response.d.ts +25 -0
- package/lib/response/delete-backup-response.js +15 -0
- package/lib/response/delete-backup-response.js.map +1 -0
- package/lib/response/delete-configuration-response.d.ts +20 -0
- package/lib/response/delete-configuration-response.js +15 -0
- package/lib/response/delete-configuration-response.js.map +1 -0
- package/lib/response/delete-db-system-response.d.ts +25 -0
- package/lib/response/delete-db-system-response.js +15 -0
- package/lib/response/delete-db-system-response.js.map +1 -0
- package/lib/response/failover-db-system-response.d.ts +25 -0
- package/lib/response/failover-db-system-response.js +15 -0
- package/lib/response/failover-db-system-response.js.map +1 -0
- package/lib/response/get-backup-response.d.ts +30 -0
- package/lib/response/get-backup-response.js +15 -0
- package/lib/response/get-backup-response.js.map +1 -0
- package/lib/response/get-configuration-response.d.ts +30 -0
- package/lib/response/get-configuration-response.js +15 -0
- package/lib/response/get-configuration-response.js.map +1 -0
- package/lib/response/get-connection-details-response.d.ts +30 -0
- package/lib/response/get-connection-details-response.js +15 -0
- package/lib/response/get-connection-details-response.js.map +1 -0
- package/lib/response/get-db-system-response.d.ts +30 -0
- package/lib/response/get-db-system-response.js +15 -0
- package/lib/response/get-db-system-response.js.map +1 -0
- package/lib/response/get-default-configuration-response.d.ts +30 -0
- package/lib/response/get-default-configuration-response.js +15 -0
- package/lib/response/get-default-configuration-response.js.map +1 -0
- package/lib/response/get-primary-db-instance-response.d.ts +30 -0
- package/lib/response/get-primary-db-instance-response.js +15 -0
- package/lib/response/get-primary-db-instance-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +78 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-backups-response.d.ts +30 -0
- package/lib/response/list-backups-response.js +15 -0
- package/lib/response/list-backups-response.js.map +1 -0
- package/lib/response/list-configurations-response.d.ts +30 -0
- package/lib/response/list-configurations-response.js +15 -0
- package/lib/response/list-configurations-response.js.map +1 -0
- package/lib/response/list-db-systems-response.d.ts +30 -0
- package/lib/response/list-db-systems-response.js +15 -0
- package/lib/response/list-db-systems-response.js.map +1 -0
- package/lib/response/list-default-configurations-response.d.ts +30 -0
- package/lib/response/list-default-configurations-response.js +15 -0
- package/lib/response/list-default-configurations-response.js.map +1 -0
- package/lib/response/list-shapes-response.d.ts +30 -0
- package/lib/response/list-shapes-response.js +15 -0
- package/lib/response/list-shapes-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +30 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +30 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +30 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/patch-db-system-response.d.ts +25 -0
- package/lib/response/patch-db-system-response.js +15 -0
- package/lib/response/patch-db-system-response.js.map +1 -0
- package/lib/response/reset-master-user-password-response.d.ts +25 -0
- package/lib/response/reset-master-user-password-response.js +15 -0
- package/lib/response/reset-master-user-password-response.js.map +1 -0
- package/lib/response/restart-db-instance-in-db-system-response.d.ts +25 -0
- package/lib/response/restart-db-instance-in-db-system-response.js +15 -0
- package/lib/response/restart-db-instance-in-db-system-response.js.map +1 -0
- package/lib/response/restore-db-system-response.d.ts +25 -0
- package/lib/response/restore-db-system-response.js +15 -0
- package/lib/response/restore-db-system-response.js.map +1 -0
- package/lib/response/update-backup-response.d.ts +30 -0
- package/lib/response/update-backup-response.js +15 -0
- package/lib/response/update-backup-response.js.map +1 -0
- package/lib/response/update-configuration-response.d.ts +30 -0
- package/lib/response/update-configuration-response.js +15 -0
- package/lib/response/update-configuration-response.js.map +1 -0
- package/lib/response/update-db-system-db-instance-response.d.ts +25 -0
- package/lib/response/update-db-system-db-instance-response.js +15 -0
- package/lib/response/update-db-system-db-instance-response.js.map +1 -0
- package/lib/response/update-db-system-response.d.ts +25 -0
- package/lib/response/update-db-system-response.js +15 -0
- package/lib/response/update-db-system-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Details for the DbSystem password.
|
|
15
|
+
* Password can be passed as `VaultSecretPasswordDetails`(Vault) or `PlainTextPasswordDetails`.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface PasswordDetails {
|
|
19
|
+
"passwordType": string;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace PasswordDetails {
|
|
22
|
+
function getJsonObj(obj: PasswordDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: PasswordDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PasswordDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var PasswordDetails;
|
|
38
|
+
(function (PasswordDetails) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "passwordType" in obj && obj.passwordType) {
|
|
42
|
+
switch (obj.passwordType) {
|
|
43
|
+
case "PLAIN_TEXT":
|
|
44
|
+
return model.PlainTextPasswordDetails.getJsonObj(jsonObj, true);
|
|
45
|
+
case "VAULT_SECRET":
|
|
46
|
+
return model.VaultSecretPasswordDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
default:
|
|
48
|
+
if (common.LOG.logger)
|
|
49
|
+
common.LOG.logger.info(`Unknown value for: ${obj.passwordType}`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PasswordDetails.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
57
|
+
if (obj && "passwordType" in obj && obj.passwordType) {
|
|
58
|
+
switch (obj.passwordType) {
|
|
59
|
+
case "PLAIN_TEXT":
|
|
60
|
+
return model.PlainTextPasswordDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "VAULT_SECRET":
|
|
62
|
+
return model.VaultSecretPasswordDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
default:
|
|
64
|
+
if (common.LOG.logger)
|
|
65
|
+
common.LOG.logger.info(`Unknown value for: ${obj.passwordType}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
PasswordDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(PasswordDetails = exports.PasswordDetails || (exports.PasswordDetails = {}));
|
|
72
|
+
//# sourceMappingURL=password-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-details.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/password-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAWtC,IAAiB,eAAe,CA2C/B;AA3CD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA2C/B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* For Adding Read Replica DB Instance, Operation is INSERT and Value object to specify is
|
|
16
|
+
* #/definitions/CreateDbInstanceDetails.
|
|
17
|
+
* For Removing Read Replica DB Instance, Operation is REMOVE and Value object needs to be Array of dbInstanceId's
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface PatchDbSystemDetails {
|
|
21
|
+
/**
|
|
22
|
+
* List of patch instructions.
|
|
23
|
+
*/
|
|
24
|
+
"items"?: Array<model.PatchInstruction>;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace PatchDbSystemDetails {
|
|
27
|
+
function getJsonObj(obj: PatchDbSystemDetails): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: PatchDbSystemDetails): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchDbSystemDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PatchDbSystemDetails;
|
|
37
|
+
(function (PatchDbSystemDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.PatchInstruction.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
PatchDbSystemDetails.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.PatchInstruction.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
PatchDbSystemDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(PatchDbSystemDetails = exports.PatchDbSystemDetails || (exports.PatchDbSystemDetails = {}));
|
|
61
|
+
//# sourceMappingURL=patch-db-system-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-db-system-details.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/patch-db-system-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* An operation that inserts a value into an array, shifting array items as necessary and handling NOT_FOUND exceptions by creating the implied containing structure.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchInsertInstruction extends model.PatchInstruction {
|
|
19
|
+
/**
|
|
20
|
+
* A value to be inserted into the target.
|
|
21
|
+
*/
|
|
22
|
+
"value": any;
|
|
23
|
+
/**
|
|
24
|
+
* A selection to be evaluated against the array for identifying a particular reference item within it, with the same format and semantics as `selection`.
|
|
25
|
+
*/
|
|
26
|
+
"selectedItem"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Where to insert the value, relative to the first item matched by `selectedItem`.
|
|
29
|
+
* If `selectedItem` is unspecified, then \"BEFORE\" specifies insertion at the first position in an array and \"AFTER\" specifies insertion at the last position.
|
|
30
|
+
* If `selectedItem` is specified but results in an empty selection, then both values specify insertion at the last position.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"position"?: PatchInsertInstruction.Position;
|
|
34
|
+
"operation": string;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace PatchInsertInstruction {
|
|
37
|
+
enum Position {
|
|
38
|
+
Before = "BEFORE",
|
|
39
|
+
After = "AFTER"
|
|
40
|
+
}
|
|
41
|
+
function getJsonObj(obj: PatchInsertInstruction, isParentJsonObj?: boolean): object;
|
|
42
|
+
const operation = "INSERT";
|
|
43
|
+
function getDeserializedJsonObj(obj: PatchInsertInstruction, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchInsertInstruction = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PatchInsertInstruction;
|
|
37
|
+
(function (PatchInsertInstruction) {
|
|
38
|
+
let Position;
|
|
39
|
+
(function (Position) {
|
|
40
|
+
Position["Before"] = "BEFORE";
|
|
41
|
+
Position["After"] = "AFTER";
|
|
42
|
+
})(Position = PatchInsertInstruction.Position || (PatchInsertInstruction.Position = {}));
|
|
43
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
44
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
45
|
+
? obj
|
|
46
|
+
: model.PatchInstruction.getJsonObj(obj))), {});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
PatchInsertInstruction.getJsonObj = getJsonObj;
|
|
50
|
+
PatchInsertInstruction.operation = "INSERT";
|
|
51
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
53
|
+
? obj
|
|
54
|
+
: model.PatchInstruction.getDeserializedJsonObj(obj))), {});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
PatchInsertInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
58
|
+
})(PatchInsertInstruction = exports.PatchInsertInstruction || (exports.PatchInsertInstruction = {}));
|
|
59
|
+
//# sourceMappingURL=patch-insert-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-insert-instruction.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/patch-insert-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,sBAAsB,CA8BtC;AA9BD,WAAiB,sBAAsB;IACrC,IAAY,QAGX;IAHD,WAAY,QAAQ;QAClB,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACjB,CAAC,EAHW,QAAQ,GAAR,+BAAQ,KAAR,+BAAQ,QAGnB;IAED,SAAgB,UAAU,CAAC,GAA2B,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA4B,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,iCAAU,aASzB,CAAA;IACY,gCAAS,GAAG,QAAQ,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAA2B,EAC3B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA4B,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,6CAAsB,yBAYrC,CAAA;AACH,CAAC,EA9BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA8BtC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A single instruction to be included as part of Patch request content.
|
|
15
|
+
*/
|
|
16
|
+
export interface PatchInstruction {
|
|
17
|
+
/**
|
|
18
|
+
* The set of values to which the operation applies as a [JMESPath expression](https://jmespath.org/specification.html) for evaluation against the context resource.
|
|
19
|
+
* An operation fails if the selection yields an exception, except as otherwise specified.
|
|
20
|
+
* Note that comparisons involving non-primitive values (objects or arrays) are not supported and will always evaluate to false.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
"selection": string;
|
|
24
|
+
"operation": string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace PatchInstruction {
|
|
27
|
+
function getJsonObj(obj: PatchInstruction): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: PatchInstruction): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchInstruction = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var PatchInstruction;
|
|
38
|
+
(function (PatchInstruction) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "operation" in obj && obj.operation) {
|
|
42
|
+
switch (obj.operation) {
|
|
43
|
+
case "MOVE":
|
|
44
|
+
return model.PatchMoveInstruction.getJsonObj(jsonObj, true);
|
|
45
|
+
case "REMOVE":
|
|
46
|
+
return model.PatchRemoveInstruction.getJsonObj(jsonObj, true);
|
|
47
|
+
case "REPLACE":
|
|
48
|
+
return model.PatchReplaceInstruction.getJsonObj(jsonObj, true);
|
|
49
|
+
case "INSERT":
|
|
50
|
+
return model.PatchInsertInstruction.getJsonObj(jsonObj, true);
|
|
51
|
+
case "REQUIRE":
|
|
52
|
+
return model.PatchRequireInstruction.getJsonObj(jsonObj, true);
|
|
53
|
+
case "MERGE":
|
|
54
|
+
return model.PatchMergeInstruction.getJsonObj(jsonObj, true);
|
|
55
|
+
case "PROHIBIT":
|
|
56
|
+
return model.PatchProhibitInstruction.getJsonObj(jsonObj, true);
|
|
57
|
+
default:
|
|
58
|
+
if (common.LOG.logger)
|
|
59
|
+
common.LOG.logger.info(`Unknown value for: ${obj.operation}`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
PatchInstruction.getJsonObj = getJsonObj;
|
|
65
|
+
function getDeserializedJsonObj(obj) {
|
|
66
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
67
|
+
if (obj && "operation" in obj && obj.operation) {
|
|
68
|
+
switch (obj.operation) {
|
|
69
|
+
case "MOVE":
|
|
70
|
+
return model.PatchMoveInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
case "REMOVE":
|
|
72
|
+
return model.PatchRemoveInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
73
|
+
case "REPLACE":
|
|
74
|
+
return model.PatchReplaceInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
75
|
+
case "INSERT":
|
|
76
|
+
return model.PatchInsertInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
77
|
+
case "REQUIRE":
|
|
78
|
+
return model.PatchRequireInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
79
|
+
case "MERGE":
|
|
80
|
+
return model.PatchMergeInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
81
|
+
case "PROHIBIT":
|
|
82
|
+
return model.PatchProhibitInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
83
|
+
default:
|
|
84
|
+
if (common.LOG.logger)
|
|
85
|
+
common.LOG.logger.info(`Unknown value for: ${obj.operation}`);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return jsonObj;
|
|
89
|
+
}
|
|
90
|
+
PatchInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
91
|
+
})(PatchInstruction = exports.PatchInstruction || (exports.PatchInstruction = {}));
|
|
92
|
+
//# sourceMappingURL=patch-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-instruction.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/patch-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiBtC,IAAiB,gBAAgB,CA6FhC;AA7FD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA7Ce,2BAAU,aA6CzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CACjB,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ,KAAK,UAAU;oBACb,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA7Ce,uCAAsB,yBA6CrC,CAAA;AACH,CAAC,EA7FgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6FhC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* An operation that recursively updates items of the selection, or adding the value if the selection is empty.
|
|
16
|
+
* If the value is not an object, it is used directly, otherwise each key-value member is used
|
|
17
|
+
* to create or update a member of the same name in the target and the same process is applied recursively for each object-typed value
|
|
18
|
+
* (similar to [RFC 7396](https://tools.ietf.org/html/rfc7396#section-2) JSON Merge Patch, except that null values are copied
|
|
19
|
+
* rather than transformed into deletions).
|
|
20
|
+
* NOT_FOUND exceptions are handled by creating the implied containing structure.
|
|
21
|
+
* To avoid referential errors if an item's descendant is also in the selection, items of the selection are processed in order of decreasing depth.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface PatchMergeInstruction extends model.PatchInstruction {
|
|
25
|
+
/**
|
|
26
|
+
* A value to be merged into the target.
|
|
27
|
+
*/
|
|
28
|
+
"value"?: any;
|
|
29
|
+
"operation": string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace PatchMergeInstruction {
|
|
32
|
+
function getJsonObj(obj: PatchMergeInstruction, isParentJsonObj?: boolean): object;
|
|
33
|
+
const operation = "MERGE";
|
|
34
|
+
function getDeserializedJsonObj(obj: PatchMergeInstruction, isParentJsonObj?: boolean): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchMergeInstruction = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PatchMergeInstruction;
|
|
37
|
+
(function (PatchMergeInstruction) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.PatchInstruction.getJsonObj(obj))), {});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
PatchMergeInstruction.getJsonObj = getJsonObj;
|
|
45
|
+
PatchMergeInstruction.operation = "MERGE";
|
|
46
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
48
|
+
? obj
|
|
49
|
+
: model.PatchInstruction.getDeserializedJsonObj(obj))), {});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
PatchMergeInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
53
|
+
})(PatchMergeInstruction = exports.PatchMergeInstruction || (exports.PatchMergeInstruction = {}));
|
|
54
|
+
//# sourceMappingURL=patch-merge-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-merge-instruction.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/patch-merge-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsBlC,IAAiB,qBAAqB,CAyBrC;AAzBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GACnE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,gCAAU,aASzB,CAAA;IACY,+BAAS,GAAG,OAAO,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GAC/E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAyBrC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PGSQL Control Plane API
|
|
3
|
+
* A description of the PGSQL Control Plane API
|
|
4
|
+
* OpenAPI spec version: 20220915
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* An operation that \"puts\" values from elsewhere in the target, functionally equivalent to a single add and then a remove.
|
|
16
|
+
* The first item of the selection is replaced, or created if the selection is empty.
|
|
17
|
+
* NOT_FOUND exceptions in the selection are handled by creating the implied containing structure.
|
|
18
|
+
* This operation fails if the `from` selection yields any exceptions, or if an item is moved to any of its descendants.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchMoveInstruction extends model.PatchInstruction {
|
|
22
|
+
/**
|
|
23
|
+
* The selection that is to be moved, with the same format and semantics as `selection`.
|
|
24
|
+
*/
|
|
25
|
+
"from": string;
|
|
26
|
+
/**
|
|
27
|
+
* Where to insert the value in an array, relative to the first item in the selection.
|
|
28
|
+
* If there is no such item, then \"BEFORE\" specifies insertion at the first position in an array and \"AFTER\" specifies insertion at the last position.
|
|
29
|
+
* If the first item in the selection is not the child of an array, then this field has no effect.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"position"?: PatchMoveInstruction.Position;
|
|
33
|
+
"operation": string;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace PatchMoveInstruction {
|
|
36
|
+
enum Position {
|
|
37
|
+
At = "AT",
|
|
38
|
+
Before = "BEFORE",
|
|
39
|
+
After = "AFTER"
|
|
40
|
+
}
|
|
41
|
+
function getJsonObj(obj: PatchMoveInstruction, isParentJsonObj?: boolean): object;
|
|
42
|
+
const operation = "MOVE";
|
|
43
|
+
function getDeserializedJsonObj(obj: PatchMoveInstruction, isParentJsonObj?: boolean): object;
|
|
44
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* PGSQL Control Plane API
|
|
4
|
+
* A description of the PGSQL Control Plane API
|
|
5
|
+
* OpenAPI spec version: 20220915
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PatchMoveInstruction = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PatchMoveInstruction;
|
|
37
|
+
(function (PatchMoveInstruction) {
|
|
38
|
+
let Position;
|
|
39
|
+
(function (Position) {
|
|
40
|
+
Position["At"] = "AT";
|
|
41
|
+
Position["Before"] = "BEFORE";
|
|
42
|
+
Position["After"] = "AFTER";
|
|
43
|
+
})(Position = PatchMoveInstruction.Position || (PatchMoveInstruction.Position = {}));
|
|
44
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.PatchInstruction.getJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
PatchMoveInstruction.getJsonObj = getJsonObj;
|
|
49
|
+
PatchMoveInstruction.operation = "MOVE";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.PatchInstruction.getDeserializedJsonObj(obj))), {});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
PatchMoveInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(PatchMoveInstruction = exports.PatchMoveInstruction || (exports.PatchMoveInstruction = {}));
|
|
58
|
+
//# sourceMappingURL=patch-move-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-move-instruction.js","sourceRoot":"","sources":["../../../../../lib/psql/lib/model/patch-move-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0BlC,IAAiB,oBAAoB,CA6BpC;AA7BD,WAAiB,oBAAoB;IACnC,IAAY,QAIX;IAJD,WAAY,QAAQ;QAClB,qBAAS,CAAA;QACT,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,6BAAQ,KAAR,6BAAQ,QAInB;IAED,SAAgB,UAAU,CAAC,GAAyB,EAAE,eAAyB;QAC7E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAA0B,CAAC,GAC1F,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,+BAAU,aAOzB,CAAA;IACY,8BAAS,GAAG,MAAM,CAAC;IAChC,SAAgB,sBAAsB,CACpC,GAAyB,EACzB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAA0B,CAAC,GAC9E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAsB,yBAYrC,CAAA;AACH,CAAC,EA7BgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6BpC"}
|